Pull request #549 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of rcrtss for edgexfoundry/device-modbus-go Loading trusted files from base branch main at 78c106f1b1d485d6b9e2c5cc4debe4f465169507 rather than e715f9585823a2f61c57f68e6edd4d3151291ed5 Obtained Jenkinsfile from 78c106f1b1d485d6b9e2c5cc4debe4f465169507 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-ssh839632147872806967.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh6475757562256116010.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-549/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-549/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8227134792740312407.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh16373710593312872038.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-549/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-549/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10116333718199581757.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-3500 in /w/workspace/xfoundry_device-modbus-go_PR-549 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-549 # 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 78c106f1b1d485d6b9e2c5cc4debe4f465169507 into PR head commit e715f9585823a2f61c57f68e6edd4d3151291ed5 Merge succeeded, producing e715f9585823a2f61c57f68e6edd4d3151291ed5 Checking out Revision e715f9585823a2f61c57f68e6edd4d3151291ed5 (PR-549) > 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/549/head:refs/remotes/origin/PR-549 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e715f9585823a2f61c57f68e6edd4d3151291ed5 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 78c106f1b1d485d6b9e2c5cc4debe4f465169507 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e715f9585823a2f61c57f68e6edd4d3151291ed5 # timeout=10 Commit message: "Update internal/driver/deviceclient.go" > git rev-list --no-walk 074e778b67430273c7fc24f3ffd81deff0ecbf5c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:07:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:07:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:07:37 ========================================================= 10:07:37 EdgeX Global Pipelines Version Info 10:07:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:07:37 ------------------- 10:07:37 stable info: 10:07:37 ------------------- 10:07:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:07:37 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 10:07:37 Message: update stable to v1.0.258 10:07:38 ------------------- 10:07:38 experimental info: 10:07:38 ------------------- 10:07:38 Commited By: **** collab-it+edgex@linuxfoundation.org 10:07:38 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 10:07:38 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:07:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:07:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:07:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:07:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:07:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:07:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-549 [Pipeline] echo 10:07:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-549 [Pipeline] echo 10:07:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-549 [Pipeline] echo 10:07:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e715f9585823a2f61c57f68e6edd4d3151291ed5 [Pipeline] echo 10:07:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e715f95 [Pipeline] echo 10:07:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:07:39 provisioning config files... 10:07:39 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp/config14666544857950690557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:07:39 ---> ****-login.sh 10:07:39 nexus3.edgexfoundry.org:10001 10:07:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:07:39 Configure a credential helper to remove this warning. See 10:07:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:07:39 10:07:39 Login Succeeded 10:07:39 nexus3.edgexfoundry.org:10002 10:07:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:07:39 Configure a credential helper to remove this warning. See 10:07:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:07:39 10:07:39 Login Succeeded 10:07:39 nexus3.edgexfoundry.org:10003 10:07:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:07:40 Configure a credential helper to remove this warning. See 10:07:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:07:40 10:07:40 Login Succeeded 10:07:40 nexus3.edgexfoundry.org:10004 10:07:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:07:40 Configure a credential helper to remove this warning. See 10:07:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:07:40 10:07:40 Login Succeeded 10:07:40 ****.io 10:07:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:07:40 Configure a credential helper to remove this warning. See 10:07:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:07:40 10:07:40 Login Succeeded 10:07:40 ---> ****-login.sh ends [Pipeline] } 10:07:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:07:40 + git rev-list -1 --merges e715f9585823a2f61c57f68e6edd4d3151291ed5~1..e715f9585823a2f61c57f68e6edd4d3151291ed5 [Pipeline] echo 10:07:40 -----------> git rev-list -1 --merges e715f9585823a2f61c57f68e6edd4d3151291ed5~1..e715f9585823a2f61c57f68e6edd4d3151291ed5 e715f9585823a2f61c57f68e6edd4d3151291ed5 [false] [Pipeline] sh 10:07:41 + git log --format=format:%s -1 e715f9585823a2f61c57f68e6edd4d3151291ed5 [Pipeline] echo 10:07:41 ========================================================= 10:07:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:07:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:07:41 + git log --format=format:%s -1 e715f9585823a2f61c57f68e6edd4d3151291ed5 [Pipeline] echo 10:07:41 [semverPrep] GIT_COMMIT: e715f9585823a2f61c57f68e6edd4d3151291ed5, Commit Message: Update internal/driver/deviceclient.go [Pipeline] echo 10:07:41 [semverPrep] This is not a build commit. [Pipeline] sh 10:07:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:07:41 + grep -v github /etc/ssh/ssh_known_hosts 10:07:41 + [ -e /tmp/ssh_known_hosts ] 10:07:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:07:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:07:41 + sudo tee -a /etc/ssh/ssh_known_hosts 10:07:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:07:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:07:42 10:07:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:07:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:07:42 0.1.4: Pulling from edgex-devops/py-git-semver 10:07:42 b85a868b505f: Pulling fs layer 10:07:42 e2be974225ed: Pulling fs layer 10:07:42 339a4e72a1f5: Pulling fs layer 10:07:42 988bab9f4d93: Pulling fs layer 10:07:42 1469e6f7b9e6: Pulling fs layer 10:07:42 eaf3925da568: Pulling fs layer 10:07:42 bab4dde63d76: Pulling fs layer 10:07:42 bde34c3a00c8: Pulling fs layer 10:07:42 b352a97aabf1: Pulling fs layer 10:07:42 4872d77fe225: Pulling fs layer 10:07:42 5851b861e8e6: Pulling fs layer 10:07:42 bde34c3a00c8: Waiting 10:07:42 5851b861e8e6: Waiting 10:07:42 988bab9f4d93: Waiting 10:07:42 4872d77fe225: Waiting 10:07:42 1469e6f7b9e6: Waiting 10:07:42 b352a97aabf1: Waiting 10:07:42 e2be974225ed: Download complete 10:07:42 988bab9f4d93: Verifying Checksum 10:07:42 988bab9f4d93: Download complete 10:07:42 1469e6f7b9e6: Verifying Checksum 10:07:42 1469e6f7b9e6: Download complete 10:07:42 eaf3925da568: Verifying Checksum 10:07:42 eaf3925da568: Download complete 10:07:42 339a4e72a1f5: Verifying Checksum 10:07:42 339a4e72a1f5: Download complete 10:07:42 bde34c3a00c8: Verifying Checksum 10:07:42 bde34c3a00c8: Download complete 10:07:42 b352a97aabf1: Download complete 10:07:42 4872d77fe225: Verifying Checksum 10:07:42 4872d77fe225: Download complete 10:07:42 5851b861e8e6: Verifying Checksum 10:07:42 5851b861e8e6: Download complete 10:07:42 b85a868b505f: Verifying Checksum 10:07:42 b85a868b505f: Download complete 10:07:43 bab4dde63d76: Verifying Checksum 10:07:43 bab4dde63d76: Download complete 10:07:44 b85a868b505f: Pull complete 10:07:44 e2be974225ed: Pull complete 10:07:44 339a4e72a1f5: Pull complete 10:07:44 988bab9f4d93: Pull complete 10:07:44 1469e6f7b9e6: Pull complete 10:07:44 eaf3925da568: Pull complete 10:07:46 bab4dde63d76: Pull complete 10:07:46 bde34c3a00c8: Pull complete 10:07:46 b352a97aabf1: Pull complete 10:07:46 4872d77fe225: Pull complete 10:07:46 5851b861e8e6: Pull complete 10:07:46 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:07:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:07:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:07:46 prd-ubuntu20.04-docker-8c-8g-3500 does not seem to be running inside a container 10:07:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-549 -v /w/workspace/xfoundry_device-modbus-go_PR-549:/w/workspace/xfoundry_device-modbus-go_PR-549:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-549@tmp:/w/workspace/xfoundry_device-modbus-go_PR-549@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-devops/py-git-semver:0.1.4 cat 10:07:51 $ docker top b61eb0a898f1f9a2a9976c04ae9552d4c2c6376a8f368162e24c1b873210d03a -eo pid,comm 10:07:51 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). 10:07:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:07:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:07:51 [ssh-agent] Looking for ssh-agent implementation... 10:07:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:07:51 $ docker exec b61eb0a898f1f9a2a9976c04ae9552d4c2c6376a8f368162e24c1b873210d03a ssh-agent 10:07:51 SSH_AUTH_SOCK=/tmp/ssh-ZiLdywiWy2gB/agent.33 10:07:51 SSH_AGENT_PID=40 10:07:51 Running ssh-add (command line suppressed) 10:07:51 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-549@tmp/private_key_6512219878869578646.key (/w/workspace/xfoundry_device-modbus-go_PR-549@tmp/private_key_6512219878869578646.key) 10:07:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:07:52 + git tag --points-at HEAD [Pipeline] } 10:07:52 $ docker exec --env ******** --env ******** b61eb0a898f1f9a2a9976c04ae9552d4c2c6376a8f368162e24c1b873210d03a ssh-agent -k 10:07:52 unset SSH_AUTH_SOCK; 10:07:52 unset SSH_AGENT_PID; 10:07:52 echo Agent pid 40 killed; 10:07:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:07:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:07:52 [ssh-agent] Looking for ssh-agent implementation... 10:07:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:07:52 $ docker exec b61eb0a898f1f9a2a9976c04ae9552d4c2c6376a8f368162e24c1b873210d03a ssh-agent 10:07:52 SSH_AUTH_SOCK=/tmp/ssh-pU5vOnKfAQa1/agent.74 10:07:52 SSH_AGENT_PID=80 10:07:52 Running ssh-add (command line suppressed) 10:07:52 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-549@tmp/private_key_8429015887894819237.key (/w/workspace/xfoundry_device-modbus-go_PR-549@tmp/private_key_8429015887894819237.key) 10:07:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:07:52 + git semver init 10:07:53 2024-04-24 10:07:53,095 [run_init] DEBUG init version:0.0.0 force:False 10:07:53 2024-04-24 10:07:53,096 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-549/.semver 10:07:53 2024-04-24 10:07:53,097 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-549/.semver 10:07:53 2024-04-24 10:07:53,097 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-549/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-549, universal_newlines=False, shell=None, istream=None) 10:07:54 2024-04-24 10:07:54,196 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-549/.git/info/exclude 10:07:54 2024-04-24 10:07:54,196 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-549/.semver/PR-549 with force:False 10:07:54 2024-04-24 10:07:54,196 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-549/.semver/PR-549 10:07:54 2024-04-24 10:07:54,200 [execute] INFO git cat-file --batch-check 10:07:54 2024-04-24 10:07:54,201 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-549/.semver, universal_newlines=False, shell=None, istream=) 10:07:54 2024-04-24 10:07:54,206 [execute] INFO git cat-file --batch 10:07:54 2024-04-24 10:07:54,207 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-549/.semver, universal_newlines=False, shell=None, istream=) 10:07:54 2024-04-24 10:07:54,212 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-549/.semver/PR-549 10:07:54 0.0.0 [Pipeline] } 10:07:54 $ docker exec --env ******** --env ******** b61eb0a898f1f9a2a9976c04ae9552d4c2c6376a8f368162e24c1b873210d03a ssh-agent -k 10:07:54 unset SSH_AUTH_SOCK; 10:07:54 unset SSH_AGENT_PID; 10:07:54 echo Agent pid 80 killed; 10:07:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:07:54 + git semver [Pipeline] } 10:07:55 $ docker stop --time=1 b61eb0a898f1f9a2a9976c04ae9552d4c2c6376a8f368162e24c1b873210d03a 10:07:56 $ docker rm -f --volumes b61eb0a898f1f9a2a9976c04ae9552d4c2c6376a8f368162e24c1b873210d03a [Pipeline] // withDockerContainer [Pipeline] sh 10:07:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:07:57 Stashed 1 file(s) [Pipeline] echo 10:07:57 [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 10:07:57 provisioning config files... 10:07:57 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp/config15655162188759768984tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:07:57 ---> ****-login.sh 10:07:57 nexus3.edgexfoundry.org:10001 10:07:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:07:57 Configure a credential helper to remove this warning. See 10:07:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:07:57 10:07:57 Login Succeeded 10:07:57 nexus3.edgexfoundry.org:10002 10:07:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:07:57 Configure a credential helper to remove this warning. See 10:07:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:07:57 10:07:57 Login Succeeded 10:07:57 nexus3.edgexfoundry.org:10003 10:07:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:07:57 Configure a credential helper to remove this warning. See 10:07:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:07:57 10:07:57 Login Succeeded 10:07:57 nexus3.edgexfoundry.org:10004 10:07:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:07:57 Configure a credential helper to remove this warning. See 10:07:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:07:57 10:07:57 Login Succeeded 10:07:57 ****.io 10:07:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:07:58 Configure a credential helper to remove this warning. See 10:07:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:07:58 10:07:58 Login Succeeded 10:07:58 ---> ****-login.sh ends [Pipeline] } 10:07:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:07:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:07:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:07:58 ========================================================= 10:07:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 10:07:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:07:58 + 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 . 10:07:58 Sending build context to Docker daemon 17.38MB 10:07:58 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 10:07:58 Step 2/10 : FROM ${BASE} AS builder 10:07:58 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 10:07:58 619be1103602: Pulling fs layer 10:07:58 7862e08f4a3e: Pulling fs layer 10:07:58 5df492c9dc93: Pulling fs layer 10:07:58 7629e6793208: Pulling fs layer 10:07:58 4f4fb700ef54: Pulling fs layer 10:07:58 fb5054dd5b73: Pulling fs layer 10:07:58 eeca6798cff9: Pulling fs layer 10:07:58 aa269ceb94a6: Pulling fs layer 10:07:58 ada007ff1a6a: Pulling fs layer 10:07:58 fb5054dd5b73: Waiting 10:07:58 eeca6798cff9: Waiting 10:07:58 aa269ceb94a6: Waiting 10:07:58 7629e6793208: Waiting 10:07:58 4f4fb700ef54: Waiting 10:07:58 7862e08f4a3e: Download complete 10:07:58 7629e6793208: Download complete 10:07:58 4f4fb700ef54: Verifying Checksum 10:07:58 4f4fb700ef54: Download complete 10:07:58 fb5054dd5b73: Verifying Checksum 10:07:58 fb5054dd5b73: Download complete 10:07:58 619be1103602: Verifying Checksum 10:07:58 619be1103602: Download complete 10:07:58 eeca6798cff9: Verifying Checksum 10:07:58 619be1103602: Pull complete 10:07:59 7862e08f4a3e: Pull complete 10:07:59 ada007ff1a6a: Download complete 10:07:59 5df492c9dc93: Verifying Checksum 10:07:59 5df492c9dc93: Download complete 10:07:59 aa269ceb94a6: Verifying Checksum 10:07:59 aa269ceb94a6: Download complete 10:08:02 5df492c9dc93: Pull complete 10:08:02 7629e6793208: Pull complete 10:08:02 4f4fb700ef54: Pull complete 10:08:02 fb5054dd5b73: Pull complete 10:08:02 eeca6798cff9: Pull complete 10:08:04 aa269ceb94a6: Pull complete 10:08:05 ada007ff1a6a: Pull complete 10:08:05 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 10:08:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 10:08:05 ---> f489d0715acc 10:08:05 Step 3/10 : ARG ADD_BUILD_TAGS="" 10:08:11 ---> Running in 23e14027e0ab 10:08:11 Removing intermediate container 23e14027e0ab 10:08:11 ---> 7f22de94c935 10:08:11 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:08:11 ---> Running in ae1586fcfb21 10:08:11 Removing intermediate container ae1586fcfb21 10:08:11 ---> ed707f493879 10:08:11 Step 5/10 : RUN apk add --update --no-cache make git openssh 10:08:11 ---> Running in 74c71f2c142e 10:08:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 10:08:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 10:08:12 (1/8) Installing openssh-keygen (9.3_p2-r1) 10:08:12 (2/8) Installing libedit (20221030.3.1-r1) 10:08:12 (3/8) Installing openssh-client-common (9.3_p2-r1) 10:08:12 (4/8) Installing openssh-client-default (9.3_p2-r1) 10:08:12 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 10:08:12 (6/8) Installing openssh-server-common (9.3_p2-r1) 10:08:12 (7/8) Installing openssh-server (9.3_p2-r1) 10:08:12 (8/8) Installing openssh (9.3_p2-r1) 10:08:12 Executing busybox-1.36.1-r5.trigger 10:08:12 OK: 270 MiB in 60 packages 10:08:12 Still waiting to schedule task 10:08:12 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:08:12 Removing intermediate container 74c71f2c142e 10:08:12 ---> 8d21e517f734 10:08:12 Step 6/10 : WORKDIR /device-modbus-go 10:08:12 ---> Running in 7551eba71fba 10:08:13 Removing intermediate container 7551eba71fba 10:08:13 ---> 1f917cd1e53a 10:08:13 Step 7/10 : COPY go.mod vendor* ./ 10:08:13 ---> 93392569d167 10:08:13 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:08:13 ---> Running in 6b9f79cb907e 10:08:45 Removing intermediate container 6b9f79cb907e 10:08:45 ---> f80426b93f38 10:08:45 Step 9/10 : COPY . . 10:08:45 ---> 7e1f79b78611 10:08:45 Step 10/10 : RUN ${MAKE} 10:08:45 ---> Running in ce79a81ebee8 10:08:45 noop 10:08:45 Removing intermediate container ce79a81ebee8 10:08:45 ---> e2921590d7f3 10:08:45 Successfully built e2921590d7f3 10:08:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:45 + docker inspect -f . ci-base-image-x86_64 10:08:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:08:45 prd-ubuntu20.04-docker-8c-8g-3500 does not seem to be running inside a container 10:08:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-549 -v /w/workspace/xfoundry_device-modbus-go_PR-549:/w/workspace/xfoundry_device-modbus-go_PR-549:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-549@tmp:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:08:46 $ docker top 554d4bb97d375499db1789bf59aae4192c91a1546d2f4995f094959eb8ad15de -eo pid,comm [Pipeline] { [Pipeline] sh 10:08:46 + go version 10:08:46 go version go1.21.9 linux/amd64 [Pipeline] } 10:08:46 $ docker stop --time=1 554d4bb97d375499db1789bf59aae4192c91a1546d2f4995f094959eb8ad15de 10:08:48 $ docker rm -f --volumes 554d4bb97d375499db1789bf59aae4192c91a1546d2f4995f094959eb8ad15de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:48 + docker inspect -f . ci-base-image-x86_64 10:08:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:08:48 prd-ubuntu20.04-docker-8c-8g-3500 does not seem to be running inside a container 10:08:48 $ 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-549 -v /w/workspace/xfoundry_device-modbus-go_PR-549:/w/workspace/xfoundry_device-modbus-go_PR-549:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-549@tmp:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:08:49 $ docker top 07801d0e1b83fc58b4def8b85175552b3050c2d0fa2388fe59a0455a5519d1e3 -eo pid,comm [Pipeline] { [Pipeline] sh 10:08:50 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-549 [Pipeline] fileExists [Pipeline] sh 10:08:50 + make test 10:08:50 go test ./... -coverprofile=coverage.out 10:08:51 ? github.com/edgexfoundry/device-modbus-go [no test files] 10:09:01 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 10:09:01 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.9% of statements 10:09:08 go vet ./... 10:09:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:09:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:09:10 ./bin/test-attribution-txt.sh 10:09:11 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 10:09:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 10:09:11 $ docker stop --time=1 07801d0e1b83fc58b4def8b85175552b3050c2d0fa2388fe59a0455a5519d1e3 10:09:15 $ docker rm -f --volumes 07801d0e1b83fc58b4def8b85175552b3050c2d0fa2388fe59a0455a5519d1e3 [Pipeline] // withDockerContainer [Pipeline] sh 10:09:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:09:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:09:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:09:16 + ls -al . 10:09:16 total 196 10:09:16 drwxrwxr-x 9 jenkins jenkins 4096 Apr 24 10:08 . 10:09:16 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 10:07 .. 10:09:16 -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 10:07 .dockerignore 10:09:16 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 10:09 .git 10:09:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 10:07 .github 10:09:16 -rw-rw-r-- 1 jenkins jenkins 266 Apr 24 10:07 .gitignore 10:09:16 -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 10:07 .golangci.yml 10:09:16 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 10:07 .semver 10:09:16 -rw-rw-r-- 1 jenkins jenkins 11101 Apr 24 10:07 Attribution.txt 10:09:16 -rw-rw-r-- 1 jenkins jenkins 16388 Apr 24 10:07 CHANGELOG.md 10:09:16 -rw-rw-r-- 1 jenkins jenkins 1474 Apr 24 10:07 Dockerfile 10:09:16 -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 10:07 GOVERNANCE.md 10:09:16 -rw-rw-r-- 1 jenkins jenkins 658 Apr 24 10:07 Jenkinsfile 10:09:16 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 10:07 LICENSE 10:09:16 -rw-rw-r-- 1 jenkins jenkins 1942 Apr 24 10:07 Makefile 10:09:16 -rw-rw-r-- 1 jenkins jenkins 622 Apr 24 10:07 OWNERS.md 10:09:16 -rw-rw-r-- 1 jenkins jenkins 4463 Apr 24 10:07 README.md 10:09:16 -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 10:07 VERSION 10:09:16 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 10:07 bin 10:09:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 10:07 cmd 10:09:16 -rw-r--r-- 1 jenkins jenkins 24601 Apr 24 10:09 coverage.out 10:09:16 -rw-rw-r-- 1 jenkins jenkins 3987 Apr 24 10:07 go.mod 10:09:16 -rw-rw-r-- 1 jenkins jenkins 36558 Apr 24 10:07 go.sum 10:09:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 10:07 internal 10:09:16 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 10:07 simulator 10:09:16 -rw-rw-r-- 1 jenkins jenkins 229 Apr 24 10:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:16 + 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=e715f9585823a2f61c57f68e6edd4d3151291ed5 --label arch=amd64 --label version=0.0.0 . 10:09:16 Sending build context to Docker daemon 17.41MB 10:09:16 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 10:09:16 Step 2/23 : FROM ${BASE} AS builder 10:09:16 ---> e2921590d7f3 10:09:16 Step 3/23 : ARG ADD_BUILD_TAGS="" 10:09:17 ---> Running in b9ed8311dee4 10:09:17 Removing intermediate container b9ed8311dee4 10:09:17 ---> 0bd14712879f 10:09:17 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:09:17 ---> Running in b0642df61fc3 10:09:17 Removing intermediate container b0642df61fc3 10:09:17 ---> a594337feaaf 10:09:17 Step 5/23 : RUN apk add --update --no-cache make git openssh 10:09:17 ---> Running in 59d8c9010ade 10:09:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 10:09:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 10:09:18 OK: 270 MiB in 60 packages 10:09:18 Removing intermediate container 59d8c9010ade 10:09:18 ---> 94acb6421af0 10:09:18 Step 6/23 : WORKDIR /device-modbus-go 10:09:18 ---> Running in e0eabe91af4b 10:09:18 Removing intermediate container e0eabe91af4b 10:09:18 ---> ea47006bbbe2 10:09:18 Step 7/23 : COPY go.mod vendor* ./ 10:09:18 ---> 6029c05a26d6 10:09:18 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:09:18 ---> Running in 780442f91953 10:09:19 Removing intermediate container 780442f91953 10:09:19 ---> bc14c6bc20c6 10:09:19 Step 9/23 : COPY . . 10:09:19 ---> 0652fc63ac6d 10:09:19 Step 10/23 : RUN ${MAKE} 10:09:19 ---> Running in 21cda59cb493 10:09:20 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.11" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 10:09:42 Removing intermediate container 21cda59cb493 10:09:42 ---> ba525feed453 10:09:42 Step 11/23 : FROM alpine:3.18 10:09:42 3.18: Pulling from library/alpine 10:09:42 619be1103602: Already exists 10:09:42 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 10:09:42 Status: Downloaded newer image for alpine:3.18 10:09:42 ---> d3782b16ccc9 10:09:42 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 10:09:42 ---> Running in 4189d2f87b7a 10:09:42 Removing intermediate container 4189d2f87b7a 10:09:42 ---> 07fb41a8eb34 10:09:42 Step 13/23 : RUN apk add --update --no-cache dumb-init 10:09:42 ---> Running in 66e6ad170497 10:09:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 10:09:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 10:09:42 (1/1) Installing dumb-init (1.2.5-r2) 10:09:42 Executing busybox-1.36.1-r5.trigger 10:09:42 OK: 7 MiB in 16 packages 10:09:42 Removing intermediate container 66e6ad170497 10:09:42 ---> f04f75690280 10:09:42 Step 14/23 : RUN apk --no-cache upgrade 10:09:42 ---> Running in cddde1aaa891 10:09:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 10:09:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 10:09:42 Upgrading critical system libraries and apk-tools: 10:09:42 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 10:09:42 Executing busybox-1.36.1-r5.trigger 10:09:42 Continuing the upgrade transaction with new apk-tools: 10:09:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 10:09:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 10:09:42 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 10:09:42 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 10:09:42 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 10:09:42 OK: 7 MiB in 16 packages 10:09:43 Removing intermediate container cddde1aaa891 10:09:43 ---> 2894e4e95038 10:09:43 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 10:09:43 ---> cb1667918cfc 10:09:43 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 10:09:43 ---> ab4ed22057dc 10:09:43 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 10:09:43 ---> c91cbfce75ce 10:09:43 Step 18/23 : EXPOSE 59901 10:09:43 ---> Running in b51cad840130 10:09:44 Removing intermediate container b51cad840130 10:09:44 ---> 1fc2b55f2b47 10:09:44 Step 19/23 : ENTRYPOINT ["/device-modbus"] 10:09:44 ---> Running in c688ec1928ad 10:09:44 Removing intermediate container c688ec1928ad 10:09:44 ---> f1d5b405db7c 10:09:44 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 10:09:44 ---> Running in c37e0c6d7245 10:09:44 Removing intermediate container c37e0c6d7245 10:09:44 ---> 7de5faa977a2 10:09:44 Step 21/23 : LABEL arch=amd64 10:09:44 ---> Running in d33c351fd80b 10:09:44 Removing intermediate container d33c351fd80b 10:09:44 ---> 90a0f0d879ca 10:09:44 Step 22/23 : LABEL git_sha=e715f9585823a2f61c57f68e6edd4d3151291ed5 10:09:44 ---> Running in 7a64f316ede4 10:09:44 Removing intermediate container 7a64f316ede4 10:09:44 ---> d01169a91423 10:09:44 Step 23/23 : LABEL version=0.0.0 10:09:44 ---> Running in c226d5e53554 10:09:44 Removing intermediate container c226d5e53554 10:09:44 ---> a408ee556cfd 10:09:44 [Warning] One or more build-args [ARCH] were not consumed 10:09:44 Successfully built a408ee556cfd 10:09:44 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:09:44 10:09:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:09:45 latest: Pulling from edgex-lftools-log-publisher 10:09:45 5eb5b503b376: Pulling fs layer 10:09:45 5c69ac0246d0: Pulling fs layer 10:09:45 ec43610c2a17: Pulling fs layer 10:09:45 3a2ae6a8a46f: Pulling fs layer 10:09:45 33b1e0a273af: Pulling fs layer 10:09:45 5d3b04190fa2: Pulling fs layer 10:09:45 2f39f015ded8: Pulling fs layer 10:09:45 33b1e0a273af: Waiting 10:09:45 5d3b04190fa2: Waiting 10:09:45 2f39f015ded8: Waiting 10:09:45 3a2ae6a8a46f: Waiting 10:09:45 5c69ac0246d0: Download complete 10:09:45 3a2ae6a8a46f: Verifying Checksum 10:09:45 3a2ae6a8a46f: Download complete 10:09:45 33b1e0a273af: Verifying Checksum 10:09:45 33b1e0a273af: Download complete 10:09:45 5d3b04190fa2: Verifying Checksum 10:09:45 5d3b04190fa2: Download complete 10:09:45 ec43610c2a17: Verifying Checksum 10:09:45 ec43610c2a17: Download complete 10:09:45 5eb5b503b376: Verifying Checksum 10:09:45 5eb5b503b376: Download complete 10:09:46 2f39f015ded8: Download complete 10:09:46 5eb5b503b376: Pull complete 10:09:46 5c69ac0246d0: Pull complete 10:09:47 ec43610c2a17: Pull complete 10:09:47 3a2ae6a8a46f: Pull complete 10:09:47 33b1e0a273af: Pull complete 10:09:47 5d3b04190fa2: Pull complete 10:09:51 2f39f015ded8: Pull complete 10:09:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:09:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:09:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:09:51 prd-ubuntu20.04-docker-8c-8g-3500 does not seem to be running inside a container 10:09:51 $ 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-549 -v /w/workspace/xfoundry_device-modbus-go_PR-549:/w/workspace/xfoundry_device-modbus-go_PR-549:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-549@tmp:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:09:56 $ docker top 241757e8a97eeb0be9b0764e08179bf6852eedb30057004bca04013acf9b67b2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:09:57 ---> job-cost.sh 10:09:57 lf-activate-venv: SKIPPING 10:09:57 INFO: No Stack... 10:09:57 INFO: Retrieving Pricing Info for: v3-standard-8 10:09:57 INFO: Archiving Costs [Pipeline] sh 10:09:57 + cat /w/workspace/xfoundry_device-modbus-go_PR-549/archives/cost.csv 10:09:57 + cut -d, -f6 [Pipeline] lock 10:09:57 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-549-2-stack-cost] 10:09:57 Resource [jenkins-edgexfoundry-device-modbus-go-PR-549-2-stack-cost] did not exist. Created. 10:09:57 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-549-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:09:58 + echo total: 0.2199999988079071 [Pipeline] stash 10:09:58 Stashed 1 file(s) [Pipeline] } 10:09:58 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-549-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:09:58 $ docker stop --time=1 241757e8a97eeb0be9b0764e08179bf6852eedb30057004bca04013acf9b67b2 10:09:59 $ docker rm -f --volumes 241757e8a97eeb0be9b0764e08179bf6852eedb30057004bca04013acf9b67b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:09:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3501 in /w/workspace/xfoundry_device-modbus-go_PR-549 [Pipeline] { [Pipeline] ws 10:09:59 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 10:09:59 Selected Git installation does not exist. Using Default 10:09:59 The recommended git tool is: NONE 10:10:05 using credential edgex-jenkins-ssh 10:10:05 Cloning the remote Git repository 10:10:05 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 10:10:05 > git init /w/workspace/device-modbus-go/2 # timeout=10 10:10:05 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 10:10:05 > git --version # timeout=10 10:10:05 > git --version # 'git version 2.25.1' 10:10:05 using GIT_SSH to set credentials SSH Credentials for GitHub 10:10:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:10:07 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 10:10:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:10:08 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 10:10:08 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 10:10:08 using GIT_SSH to set credentials SSH Credentials for GitHub 10:10:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/549/head:refs/remotes/origin/PR-549 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:10:09 Merging remotes/origin/main commit 78c106f1b1d485d6b9e2c5cc4debe4f465169507 into PR head commit e715f9585823a2f61c57f68e6edd4d3151291ed5 10:10:09 Merge succeeded, producing e715f9585823a2f61c57f68e6edd4d3151291ed5 10:10:09 Checking out Revision e715f9585823a2f61c57f68e6edd4d3151291ed5 (PR-549) 10:10:09 > git config core.sparsecheckout # timeout=10 10:10:09 > git checkout -f e715f9585823a2f61c57f68e6edd4d3151291ed5 # timeout=10 10:10:09 > git remote # timeout=10 10:10:09 > git config --get remote.origin.url # timeout=10 10:10:09 using GIT_SSH to set credentials SSH Credentials for GitHub 10:10:09 > git merge 78c106f1b1d485d6b9e2c5cc4debe4f465169507 # timeout=10 10:10:09 > git rev-parse HEAD^{commit} # timeout=10 10:10:09 > git config core.sparsecheckout # timeout=10 10:10:09 > git checkout -f e715f9585823a2f61c57f68e6edd4d3151291ed5 # timeout=10 10:10:13 Commit message: "Update internal/driver/deviceclient.go" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:10:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:10:14 % Total % Received % Xferd Average Speed Time Time Time Current 10:10:14 Dload Upload Total Spent Left Speed 10:10:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 108k 0 --:--:-- --:--:-- --:--:-- 108k [Pipeline] sh 10:10:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:10:15 + sudo tee /etc/docker/daemon.new 10:10:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:10:15 { 10:10:15 "registry-mirrors": [ 10:10:15 "https://nexus3.edgexfoundry.org:10001" 10:10:15 ], 10:10:15 "bip": "10.250.0.254/24", 10:10:15 "hosts": [ 10:10:15 "tcp://0.0.0.0:5555", 10:10:15 "unix:///var/run/docker.sock" 10:10:15 ], 10:10:15 "mtu": 1458, 10:10:15 "selinux-enabled": true, 10:10:15 "seccomp-profile": "/etc/docker/seccomp.json" 10:10:15 } [Pipeline] sh 10:10:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:10:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:10:34 provisioning config files... 10:10:34 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config2977836013326346970tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:10:34 ---> ****-login.sh 10:10:34 nexus3.edgexfoundry.org:10001 10:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:10:35 Configure a credential helper to remove this warning. See 10:10:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:10:35 10:10:35 Login Succeeded 10:10:35 nexus3.edgexfoundry.org:10002 10:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:10:35 Configure a credential helper to remove this warning. See 10:10:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:10:35 10:10:35 Login Succeeded 10:10:35 nexus3.edgexfoundry.org:10003 10:10:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:10:36 Configure a credential helper to remove this warning. See 10:10:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:10:36 10:10:36 Login Succeeded 10:10:36 nexus3.edgexfoundry.org:10004 10:10:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:10:36 Configure a credential helper to remove this warning. See 10:10:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:10:36 10:10:36 Login Succeeded 10:10:36 ****.io 10:10:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:10:37 Configure a credential helper to remove this warning. See 10:10:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:10:37 10:10:37 Login Succeeded 10:10:37 ---> ****-login.sh ends [Pipeline] } 10:10:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:10:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:10:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:10:37 ========================================================= 10:10:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 10:10:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:38 + 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 . 10:10:38 Sending build context to Docker daemon 8.831MB 10:10:38 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 10:10:38 Step 2/10 : FROM ${BASE} AS builder 10:10:38 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:10:38 c6b39de5b339: Pulling fs layer 10:10:38 a69c41024577: Pulling fs layer 10:10:38 d6de4b400683: Pulling fs layer 10:10:38 35cb2a7552d0: Pulling fs layer 10:10:38 4f4fb700ef54: Pulling fs layer 10:10:38 464afbd9ba4c: Pulling fs layer 10:10:38 00f215d4a9da: Pulling fs layer 10:10:38 d496ad576159: Pulling fs layer 10:10:38 4f4fb700ef54: Waiting 10:10:38 464afbd9ba4c: Waiting 10:10:38 35cb2a7552d0: Waiting 10:10:38 00f215d4a9da: Waiting 10:10:38 d496ad576159: Waiting 10:10:38 a69c41024577: Verifying Checksum 10:10:38 a69c41024577: Download complete 10:10:38 35cb2a7552d0: Verifying Checksum 10:10:38 35cb2a7552d0: Download complete 10:10:38 4f4fb700ef54: Download complete 10:10:38 c6b39de5b339: Verifying Checksum 10:10:38 c6b39de5b339: Download complete 10:10:38 464afbd9ba4c: Verifying Checksum 10:10:38 464afbd9ba4c: Download complete 10:10:39 d496ad576159: Verifying Checksum 10:10:39 d496ad576159: Download complete 10:10:39 c6b39de5b339: Pull complete 10:10:40 a69c41024577: Pull complete 10:10:40 d6de4b400683: Verifying Checksum 10:10:40 d6de4b400683: Download complete 10:10:41 00f215d4a9da: Verifying Checksum 10:10:41 00f215d4a9da: Download complete 10:10:54 d6de4b400683: Pull complete 10:10:54 35cb2a7552d0: Pull complete 10:10:54 4f4fb700ef54: Pull complete 10:10:54 464afbd9ba4c: Pull complete 10:11:04 00f215d4a9da: Pull complete 10:11:04 d496ad576159: Pull complete 10:11:04 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 10:11:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 10:11:04 ---> f246e2811388 10:11:04 Step 3/10 : ARG ADD_BUILD_TAGS="" 10:11:06 ---> Running in ce623f681c34 10:11:06 Removing intermediate container ce623f681c34 10:11:06 ---> 3a7a81c76720 10:11:06 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:11:06 ---> Running in 041d34dc4730 10:11:07 Removing intermediate container 041d34dc4730 10:11:07 ---> 9b643529f37c 10:11:07 Step 5/10 : RUN apk add --update --no-cache make git openssh 10:11:07 ---> Running in f974db9c775d 10:11:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 10:11:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 10:11:09 (1/8) Installing openssh-keygen (9.3_p2-r1) 10:11:09 (2/8) Installing libedit (20221030.3.1-r1) 10:11:09 (3/8) Installing openssh-client-common (9.3_p2-r1) 10:11:09 (4/8) Installing openssh-client-default (9.3_p2-r1) 10:11:09 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 10:11:09 (6/8) Installing openssh-server-common (9.3_p2-r1) 10:11:09 (7/8) Installing openssh-server (9.3_p2-r1) 10:11:09 (8/8) Installing openssh (9.3_p2-r1) 10:11:09 Executing busybox-1.36.1-r5.trigger 10:11:09 OK: 272 MiB in 60 packages 10:11:11 Removing intermediate container f974db9c775d 10:11:11 ---> 1e28d04948ef 10:11:11 Step 6/10 : WORKDIR /device-modbus-go 10:11:11 ---> Running in 9fcc9b35c83e 10:11:11 Removing intermediate container 9fcc9b35c83e 10:11:11 ---> b2beba918f29 10:11:11 Step 7/10 : COPY go.mod vendor* ./ 10:11:11 ---> 77c17b18f3b2 10:11:11 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:11:11 ---> Running in dca225735ee7 10:12:08 Removing intermediate container dca225735ee7 10:12:08 ---> 630baf679289 10:12:08 Step 9/10 : COPY . . 10:12:09 ---> 150cd5231d6b 10:12:09 Step 10/10 : RUN ${MAKE} 10:12:09 ---> Running in 4a69f3c1e40e 10:12:10 noop 10:12:10 Removing intermediate container 4a69f3c1e40e 10:12:10 ---> 81ae6c8e1776 10:12:10 Successfully built 81ae6c8e1776 10:12:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:11 + docker inspect -f . ci-base-image-arm64 10:12:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:12:11 prd-ubuntu20.04-docker-arm64-4c-16g-3501 does not seem to be running inside a container 10:12:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:12:12 $ docker top 3d7987e1353064090fa0cbe54506623dab023de63a90eb3a22ac88ae35723d84 -eo pid,comm [Pipeline] { [Pipeline] sh 10:12:13 + go version 10:12:13 go version go1.21.9 linux/arm64 [Pipeline] } 10:12:13 $ docker stop --time=1 3d7987e1353064090fa0cbe54506623dab023de63a90eb3a22ac88ae35723d84 10:12:14 $ docker rm -f --volumes 3d7987e1353064090fa0cbe54506623dab023de63a90eb3a22ac88ae35723d84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:15 + docker inspect -f . ci-base-image-arm64 10:12:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:12:15 prd-ubuntu20.04-docker-arm64-4c-16g-3501 does not seem to be running inside a container 10:12:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:12:16 $ docker top aa7875bc1a21550737a98a3e826c79f0b9f2240bba5639ee33022d2596b6b6bf -eo pid,comm [Pipeline] { [Pipeline] sh 10:12:17 + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh 10:12:18 + make test 10:12:18 go test ./... -coverprofile=coverage.out 10:12:21 ? github.com/edgexfoundry/device-modbus-go [no test files] 10:14:28 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 10:14:28 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.079s coverage: 47.9% of statements 10:14:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:14:28 go vet ./... 10:14:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:14:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:14:43 ./bin/test-attribution-txt.sh 10:14:43 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 10:14:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 10:14:43 $ docker stop --time=1 aa7875bc1a21550737a98a3e826c79f0b9f2240bba5639ee33022d2596b6b6bf 10:14:45 $ docker rm -f --volumes aa7875bc1a21550737a98a3e826c79f0b9f2240bba5639ee33022d2596b6b6bf [Pipeline] // withDockerContainer [Pipeline] sh 10:14:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:14:46 Warning: overwriting stash ‘coverage-report’ 10:14:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:14:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:14:48 + ls -al . 10:14:48 total 192 10:14:48 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 10:12 . 10:14:48 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 10:10 .. 10:14:48 -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 10:10 .dockerignore 10:14:48 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 10:10 .git 10:14:48 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 10:10 .github 10:14:48 -rw-rw-r-- 1 jenkins jenkins 266 Apr 24 10:10 .gitignore 10:14:48 -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 10:10 .golangci.yml 10:14:48 -rw-rw-r-- 1 jenkins jenkins 11101 Apr 24 10:10 Attribution.txt 10:14:48 -rw-rw-r-- 1 jenkins jenkins 16388 Apr 24 10:10 CHANGELOG.md 10:14:48 -rw-rw-r-- 1 jenkins jenkins 1474 Apr 24 10:10 Dockerfile 10:14:48 -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 10:10 GOVERNANCE.md 10:14:48 -rw-rw-r-- 1 jenkins jenkins 658 Apr 24 10:10 Jenkinsfile 10:14:48 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 10:10 LICENSE 10:14:48 -rw-rw-r-- 1 jenkins jenkins 1942 Apr 24 10:10 Makefile 10:14:48 -rw-rw-r-- 1 jenkins jenkins 622 Apr 24 10:10 OWNERS.md 10:14:48 -rw-rw-r-- 1 jenkins jenkins 4463 Apr 24 10:10 README.md 10:14:48 -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 10:07 VERSION 10:14:48 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 10:10 bin 10:14:48 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 10:10 cmd 10:14:48 -rw-r--r-- 1 jenkins jenkins 24601 Apr 24 10:14 coverage.out 10:14:48 -rw-rw-r-- 1 jenkins jenkins 3987 Apr 24 10:10 go.mod 10:14:48 -rw-rw-r-- 1 jenkins jenkins 36558 Apr 24 10:10 go.sum 10:14:48 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 10:10 internal 10:14:48 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 10:10 simulator 10:14:48 -rw-rw-r-- 1 jenkins jenkins 229 Apr 24 10:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14: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=e715f9585823a2f61c57f68e6edd4d3151291ed5 --label arch=arm64 --label version=0.0.0 . 10:14:48 Sending build context to Docker daemon 8.857MB 10:14:48 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 10:14:48 Step 2/23 : FROM ${BASE} AS builder 10:14:48 ---> 81ae6c8e1776 10:14:48 Step 3/23 : ARG ADD_BUILD_TAGS="" 10:14:48 ---> Running in f5797a2244e2 10:14:49 Removing intermediate container f5797a2244e2 10:14:49 ---> cd61f0740ae9 10:14:49 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:14:49 ---> Running in 14903dafb4a8 10:14:49 Removing intermediate container 14903dafb4a8 10:14:49 ---> 920df465c03a 10:14:49 Step 5/23 : RUN apk add --update --no-cache make git openssh 10:14:49 ---> Running in d5b420acc215 10:14:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 10:14:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 10:14:51 OK: 272 MiB in 60 packages 10:14:52 Removing intermediate container d5b420acc215 10:14:52 ---> 9a0e246f5b89 10:14:52 Step 6/23 : WORKDIR /device-modbus-go 10:14:52 ---> Running in a19d91f84b83 10:14:53 Removing intermediate container a19d91f84b83 10:14:53 ---> 5d4ef4989816 10:14:53 Step 7/23 : COPY go.mod vendor* ./ 10:14:53 ---> 10a41926c2b9 10:14:53 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:14:53 ---> Running in ea4a4be97d5d 10:14:55 Removing intermediate container ea4a4be97d5d 10:14:55 ---> 01ad7dd722bb 10:14:55 Step 9/23 : COPY . . 10:14:56 ---> 0dfc1e204386 10:14:56 Step 10/23 : RUN ${MAKE} 10:14:56 ---> Running in 258d859a194d 10:14:57 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.11" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 10:17:05 Removing intermediate container 258d859a194d 10:17:05 ---> 5877fa4720c7 10:17:05 Step 11/23 : FROM alpine:3.18 10:17:05 3.18: Pulling from library/alpine 10:17:05 c6b39de5b339: Already exists 10:17:05 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 10:17:05 Status: Downloaded newer image for alpine:3.18 10:17:05 ---> 33abbf032149 10:17:05 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 10:17:05 ---> Running in 5e14c9944797 10:17:05 Removing intermediate container 5e14c9944797 10:17:05 ---> 0477a966e862 10:17:05 Step 13/23 : RUN apk add --update --no-cache dumb-init 10:17:05 ---> Running in ef4ea2ad9df3 10:17:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 10:17:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 10:17:07 (1/1) Installing dumb-init (1.2.5-r2) 10:17:07 Executing busybox-1.36.1-r5.trigger 10:17:07 OK: 8 MiB in 16 packages 10:17:08 Removing intermediate container ef4ea2ad9df3 10:17:08 ---> 764f7592a190 10:17:08 Step 14/23 : RUN apk --no-cache upgrade 10:17:08 ---> Running in 57ebb175e0d5 10:17:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 10:17:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 10:17:11 Upgrading critical system libraries and apk-tools: 10:17:11 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 10:17:11 Executing busybox-1.36.1-r5.trigger 10:17:11 Continuing the upgrade transaction with new apk-tools: 10:17:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 10:17:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 10:17:12 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 10:17:12 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 10:17:12 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 10:17:12 OK: 8 MiB in 16 packages 10:17:13 Removing intermediate container 57ebb175e0d5 10:17:13 ---> 1422f51aee0c 10:17:13 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 10:17:14 ---> 88c6e91bc10b 10:17:14 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 10:17:15 ---> c44032979d2d 10:17:15 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 10:17:15 ---> aa33aa81e32f 10:17:15 Step 18/23 : EXPOSE 59901 10:17:15 ---> Running in 0869b79e98a2 10:17:16 Removing intermediate container 0869b79e98a2 10:17:16 ---> 3a405ebce584 10:17:16 Step 19/23 : ENTRYPOINT ["/device-modbus"] 10:17:16 ---> Running in 3f909b0ca8f9 10:17:16 Removing intermediate container 3f909b0ca8f9 10:17:16 ---> 0bc704dd616e 10:17:16 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 10:17:16 ---> Running in 3971bfd7d6f3 10:17:16 Removing intermediate container 3971bfd7d6f3 10:17:16 ---> 97d21bb51abe 10:17:16 Step 21/23 : LABEL arch=arm64 10:17:16 ---> Running in c9ab3d24e9a5 10:17:17 Removing intermediate container c9ab3d24e9a5 10:17:17 ---> 2b0cefaaf5cf 10:17:17 Step 22/23 : LABEL git_sha=e715f9585823a2f61c57f68e6edd4d3151291ed5 10:17:17 ---> Running in 5a4070995960 10:17:17 Removing intermediate container 5a4070995960 10:17:17 ---> 163cde490753 10:17:17 Step 23/23 : LABEL version=0.0.0 10:17:17 ---> Running in 8ac88040e482 10:17:17 Removing intermediate container 8ac88040e482 10:17:17 ---> 9dc056ea674c 10:17:17 [Warning] One or more build-args [ARCH] were not consumed 10:17:17 Successfully built 9dc056ea674c 10:17:17 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:17:18 10:17:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:17:18 arm64: Pulling from edgex-lftools-log-publisher 10:17:18 8998bd30e6a1: Pulling fs layer 10:17:18 04944245beec: Pulling fs layer 10:17:18 699f458cf7ca: Pulling fs layer 10:17:18 765212b225bb: Pulling fs layer 10:17:18 f23df028b6ca: Pulling fs layer 10:17:18 d65c8cfc05b1: Pulling fs layer 10:17:18 2437ff75d9bd: Pulling fs layer 10:17:18 f23df028b6ca: Waiting 10:17:18 d65c8cfc05b1: Waiting 10:17:18 2437ff75d9bd: Waiting 10:17:18 765212b225bb: Waiting 10:17:18 04944245beec: Verifying Checksum 10:17:18 04944245beec: Download complete 10:17:18 765212b225bb: Download complete 10:17:18 f23df028b6ca: Verifying Checksum 10:17:18 f23df028b6ca: Download complete 10:17:18 d65c8cfc05b1: Verifying Checksum 10:17:18 d65c8cfc05b1: Download complete 10:17:19 699f458cf7ca: Verifying Checksum 10:17:19 699f458cf7ca: Download complete 10:17:19 8998bd30e6a1: Download complete 10:17:22 2437ff75d9bd: Verifying Checksum 10:17:22 2437ff75d9bd: Download complete 10:17:24 8998bd30e6a1: Pull complete 10:17:24 04944245beec: Pull complete 10:17:26 699f458cf7ca: Pull complete 10:17:26 765212b225bb: Pull complete 10:17:27 f23df028b6ca: Pull complete 10:17:27 d65c8cfc05b1: Pull complete 10:17:45 2437ff75d9bd: Pull complete 10:17:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:17:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:17:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:17:45 prd-ubuntu20.04-docker-arm64-4c-16g-3501 does not seem to be running inside a container 10:17:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:17:48 $ docker top d445b222e9db915a6202aac50938618250e7700c3ddbfaaf6d98143b7da9a244 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:17:49 ---> job-cost.sh 10:17:49 lf-activate-venv: SKIPPING 10:17:49 INFO: No Stack... 10:17:49 INFO: Retrieving Pricing Info for: v3-standard-4 10:17:50 INFO: Archiving Costs [Pipeline] sh 10:17:51 + + cut -d,cat -f6 /w/workspace/device-modbus-go/2/archives/cost.csv 10:17:51 [Pipeline] lock 10:17:51 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-549-2-stack-cost] 10:17:51 Resource [jenkins-edgexfoundry-device-modbus-go-PR-549-2-stack-cost] did not exist. Created. 10:17:51 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-549-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:17:51 /w/workspace/device-modbus-go/2@tmp/durable-38add8ea/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:17:51 + echo total: 0.10999999940395355 [Pipeline] stash 10:17:51 Warning: overwriting stash ‘stack-cost’ 10:17:52 Stashed 1 file(s) [Pipeline] } 10:17:52 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-549-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:17:52 $ docker stop --time=1 d445b222e9db915a6202aac50938618250e7700c3ddbfaaf6d98143b7da9a244 10:17:53 $ docker rm -f --volumes d445b222e9db915a6202aac50938618250e7700c3ddbfaaf6d98143b7da9a244 [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 10:17:53 provisioning config files... 10:17:53 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp/config8292538231900201204tmp [Pipeline] { [Pipeline] sh 10:17:54 + set +x 10:17:54 + bash -s -- 10:17:54 + curl -s https://codecov.io/bash 10:17:54 10:17:54 _____ _ 10:17:54 / ____| | | 10:17:54 | | ___ __| | ___ ___ _____ __ 10:17:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:17:54 | |___| (_) | (_| | __/ (_| (_) \ V / 10:17:54 \_____\___/ \__,_|\___|\___\___/ \_/ 10:17:54 Bash-1.0.6 10:17:54 10:17:54 10:17:54 ==> git version 2.25.1 found 10:17:54 ==> 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 10:17:54 Release-Date: 2020-01-08 10:17:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:17:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:17:54 ==> Jenkins CI detected. 10:17:54 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-549 10:17:54 project root: . 10:17:54 --> token set from env 10:17:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:17:54 ==> Running gcov in . (disable via -X gcov) 10:17:54 ==> Python coveragepy not found 10:17:54 ==> Searching for coverage reports in: 10:17:54 + . 10:17:54 -> Found 1 reports 10:17:54 ==> Detecting git/mercurial file structure 10:17:54 ==> Reading reports 10:17:54 + ./coverage.out bytes=24601 10:17:54 ==> Appending adjustments 10:17:54 https://docs.codecov.io/docs/fixing-reports 10:17:54 + Found adjustments 10:17:54 ==> Gzipping contents 10:17:54 4.0K /tmp/codecov.xl20ye.gz 10:17:54 ==> Uploading reports 10:17:54 url: https://codecov.io 10:17:54 query: branch=PR-549&commit=e715f9585823a2f61c57f68e6edd4d3151291ed5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-549%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=549&job=&cmd_args= 10:17:54 -> Pinging Codecov 10:17:54 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-549&commit=e715f9585823a2f61c57f68e6edd4d3151291ed5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-549%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=549&job=&cmd_args= 10:17:54 -> Uploading to 10:17:54 https://storage.googleapis.com/codecov/v4/raw/2024-04-24/55DBCA73C666E3227836607328DD7E49/e715f9585823a2f61c57f68e6edd4d3151291ed5/13dc238c-c58e-4896-ab03-41bdda00bc47.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240424%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240424T101754Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=df69ac51f52a355ebe4ed8358f3a8319a038a55c8235b0293b875e28e8125c79 10:17:54 % Total % Received % Xferd Average Speed Time Time Time Current 10:17:54 Dload Upload Total Spent Left Speed 10:17:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 15372 --:--:-- --:--:-- --:--:-- 15310 100 3843 0 0 100 3843 0 15310 --:--:-- --:--:-- --:--:-- 15250 10:17:55 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/e715f9585823a2f61c57f68e6edd4d3151291ed5 [Pipeline] } 10:17:55 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:17:55 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-549/archives ] 10:17:55 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-549/archives 10:17:55 total 16 10:17:55 drwxr-xr-x 3 root root 4096 Apr 24 10:09 . 10:17:55 drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 10:09 .. 10:17:55 drwxr-xr-x 2 root root 4096 Apr 24 10:09 cost 10:17:55 -rw-r--r-- 1 root root 88 Apr 24 10:09 cost.csv 10:17:55 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-549/archives 10:17:55 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-549/archives 10:17:55 total 16 10:17:55 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 10:09 . 10:17:55 drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 10:09 .. 10:17:55 drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 10:09 cost 10:17:55 -rw-r--r-- 1 jenkins jenkins 88 Apr 24 10:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:17:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:17:57 ---> package-listing.sh 10:17:57 ++ facter osfamily 10:17:57 ++ tr '[:upper:]' '[:lower:]' 10:17:57 + OS_FAMILY=debian 10:17:57 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-549 10:17:57 + START_PACKAGES=/tmp/packages_start.txt 10:17:57 + END_PACKAGES=/tmp/packages_end.txt 10:17:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:17:57 + PACKAGES=/tmp/packages_start.txt 10:17:57 + '[' /w/workspace/xfoundry_device-modbus-go_PR-549 ']' 10:17:57 + PACKAGES=/tmp/packages_end.txt 10:17:57 + case "${OS_FAMILY}" in 10:17:57 + dpkg -l 10:17:57 + grep '^ii' 10:17:57 + '[' -f /tmp/packages_start.txt ']' 10:17:57 + '[' -f /tmp/packages_end.txt ']' 10:17:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:17:57 + '[' /w/workspace/xfoundry_device-modbus-go_PR-549 ']' 10:17:57 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-549/archives/ 10:17:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-549/archives/ [Pipeline] echo 10:17:57 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-549/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:17:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:17:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:17:58 prd-ubuntu20.04-docker-8c-8g-3500 does not seem to be running inside a container 10:17:58 $ 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-549/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-549 -v /w/workspace/xfoundry_device-modbus-go_PR-549:/w/workspace/xfoundry_device-modbus-go_PR-549:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-549@tmp:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:17:58 $ docker top d22fc61a7f87c92cdc49e6ccf891dae14a00ac897098353cbc0c928522e0d15e -eo pid,comm [Pipeline] { [Pipeline] sh 10:17:58 + touch /tmp/pre-build-complete [Pipeline] sh 10:17:58 + mkdir -p /var/log/sysstat [Pipeline] sh 10:17:59 + ls /var/log/sa-host 10:17:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:17:59 provisioning config files... 10:17:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp/config12109670375971146377tmp [Pipeline] { [Pipeline] echo 10:17:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:17:59 ---> create-netrc.sh [Pipeline] } 10:17:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:17:59 ---> python-tools-install.sh [Pipeline] echo 10:17:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:18:00 ---> sudo-logs.sh 10:18:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:18:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:18:00 ---> job-cost.sh 10:18:00 lf-activate-venv: SKIPPING 10:18:00 DEBUG: total: 0.2199999988079071 10:18:00 INFO: Retrieving Stack Cost... 10:18:00 INFO: Retrieving Pricing Info for: v3-standard-8 10:18:01 INFO: Archiving Costs [Pipeline] echo 10:18:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:18:01 ---> logs-deploy.sh 10:18:01 lf-activate-venv: SKIPPING 10:18:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-549/2 10:18:01 INFO: archiving workspace using pattern(s): 10:18:02 Archives upload complete. 10:18:02 INFO: archiving logs to Nexus