Pull request #445 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 vli11 for edgexfoundry/device-modbus-go Loading trusted files from base branch main at 63f56b440389908500f57809a79af5893e194475 rather than 325a87336007c9cc853518d387d23ca49eb69bd5 Obtained Jenkinsfile from 63f56b440389908500f57809a79af5893e194475 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-ssh2028603935711040512.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh3909164313656522293.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-445/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-445/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2990118981553174691.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh8513883212471540022.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-445/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-445/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14325465491332964095.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, buildSnap:false] ========================================================= [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.20 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-6111 in /w/workspace/xfoundry_device-modbus-go_PR-445 [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-445 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 63f56b440389908500f57809a79af5893e194475 into PR head commit 325a87336007c9cc853518d387d23ca49eb69bd5 Merge succeeded, producing 325a87336007c9cc853518d387d23ca49eb69bd5 Checking out Revision 325a87336007c9cc853518d387d23ca49eb69bd5 (PR-445) > 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/445/head:refs/remotes/origin/PR-445 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 325a87336007c9cc853518d387d23ca49eb69bd5 # 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 63f56b440389908500f57809a79af5893e194475 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 325a87336007c9cc853518d387d23ca49eb69bd5 # timeout=10 Commit message: "fix: remove toml from Attribution.txt" > git rev-list --no-walk a31b1b91bb199ec4ca299285b44acdc762ad1fe6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:19:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:19:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:19:40 ========================================================= 20:19:40 EdgeX Global Pipelines Version Info 20:19:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:19:41 ------------------- 20:19:41 stable info: 20:19:41 ------------------- 20:19:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:19:41 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 20:19:41 Message: update stable to v1.0.245 20:19:41 ------------------- 20:19:41 experimental info: 20:19:41 ------------------- 20:19:41 Commited By: **** collab-it+edgex@linuxfoundation.org 20:19:41 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 20:19:41 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:19:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 20:19:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 20:19:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:19:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:19:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:19:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:19:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:19:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:19:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:19:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:19:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:19:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 20:19:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:19:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:19:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:19:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:19:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:19:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:19:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:19:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:19:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:19:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:19:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:19:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:19:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:19:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:19:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:19:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-445 [Pipeline] echo 20:19:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-445 [Pipeline] echo 20:19:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-445 [Pipeline] echo 20:19:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 325a87336007c9cc853518d387d23ca49eb69bd5 [Pipeline] echo 20:19:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 325a873 [Pipeline] echo 20:19:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:19:42 provisioning config files... 20:19:42 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp/config7517385604836810033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:19:42 ---> docker-login.sh 20:19:42 nexus3.edgexfoundry.org:10001 20:19:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:19:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:19:43 Configure a credential helper to remove this warning. See 20:19:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:19:43 20:19:43 Login Succeeded 20:19:43 nexus3.edgexfoundry.org:10002 20:19:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:19:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:19:43 Configure a credential helper to remove this warning. See 20:19:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:19:43 20:19:43 Login Succeeded 20:19:43 nexus3.edgexfoundry.org:10003 20:19:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:19:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:19:43 Configure a credential helper to remove this warning. See 20:19:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:19:43 20:19:43 Login Succeeded 20:19:43 nexus3.edgexfoundry.org:10004 20:19:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:19:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:19:43 Configure a credential helper to remove this warning. See 20:19:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:19:43 20:19:43 Login Succeeded 20:19:43 docker.io 20:19:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:19:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:19:44 Configure a credential helper to remove this warning. See 20:19:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:19:44 20:19:44 Login Succeeded 20:19:44 ---> docker-login.sh ends [Pipeline] } 20:19:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:19:44 + git rev-list -1 --merges 325a87336007c9cc853518d387d23ca49eb69bd5~1..325a87336007c9cc853518d387d23ca49eb69bd5 [Pipeline] echo 20:19:44 -----------> git rev-list -1 --merges 325a87336007c9cc853518d387d23ca49eb69bd5~1..325a87336007c9cc853518d387d23ca49eb69bd5 325a87336007c9cc853518d387d23ca49eb69bd5 [false] [Pipeline] sh 20:19:44 + git log --format=format:%s -1 325a87336007c9cc853518d387d23ca49eb69bd5 [Pipeline] echo 20:19:44 ========================================================= 20:19:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:19:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:19:45 + git log --format=format:%s -1 325a87336007c9cc853518d387d23ca49eb69bd5 [Pipeline] echo 20:19:45 [semverPrep] GIT_COMMIT: 325a87336007c9cc853518d387d23ca49eb69bd5, Commit Message: fix: remove toml from Attribution.txt [Pipeline] echo 20:19:45 [semverPrep] This is not a build commit. [Pipeline] sh 20:19:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:19:45 + grep -v github /etc/ssh/ssh_known_hosts 20:19:45 + [ -e /tmp/ssh_known_hosts ] 20:19:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:19:45 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:19:45 sudo tee -a /etc/ssh/ssh_known_hosts 20:19:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:19:45 20:19:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:19:46 0.1.4: Pulling from edgex-devops/py-git-semver 20:19:46 b85a868b505f: Pulling fs layer 20:19:46 e2be974225ed: Pulling fs layer 20:19:46 339a4e72a1f5: Pulling fs layer 20:19:46 988bab9f4d93: Pulling fs layer 20:19:46 1469e6f7b9e6: Pulling fs layer 20:19:46 eaf3925da568: Pulling fs layer 20:19:46 bab4dde63d76: Pulling fs layer 20:19:46 bde34c3a00c8: Pulling fs layer 20:19:46 988bab9f4d93: Waiting 20:19:46 1469e6f7b9e6: Waiting 20:19:46 eaf3925da568: Waiting 20:19:46 bab4dde63d76: Waiting 20:19:46 b352a97aabf1: Pulling fs layer 20:19:46 bde34c3a00c8: Waiting 20:19:46 4872d77fe225: Pulling fs layer 20:19:46 5851b861e8e6: Pulling fs layer 20:19:46 b352a97aabf1: Waiting 20:19:46 4872d77fe225: Waiting 20:19:46 e2be974225ed: Verifying Checksum 20:19:46 e2be974225ed: Download complete 20:19:46 988bab9f4d93: Verifying Checksum 20:19:46 988bab9f4d93: Download complete 20:19:46 1469e6f7b9e6: Verifying Checksum 20:19:46 1469e6f7b9e6: Download complete 20:19:46 eaf3925da568: Verifying Checksum 20:19:46 eaf3925da568: Download complete 20:19:46 339a4e72a1f5: Verifying Checksum 20:19:46 339a4e72a1f5: Download complete 20:19:46 bde34c3a00c8: Verifying Checksum 20:19:46 bde34c3a00c8: Download complete 20:19:46 b352a97aabf1: Verifying Checksum 20:19:46 b352a97aabf1: Download complete 20:19:46 4872d77fe225: Verifying Checksum 20:19:46 4872d77fe225: Download complete 20:19:46 5851b861e8e6: Verifying Checksum 20:19:46 5851b861e8e6: Download complete 20:19:46 b85a868b505f: Verifying Checksum 20:19:46 b85a868b505f: Download complete 20:19:47 bab4dde63d76: Verifying Checksum 20:19:47 bab4dde63d76: Download complete 20:19:48 b85a868b505f: Pull complete 20:19:48 e2be974225ed: Pull complete 20:19:49 339a4e72a1f5: Pull complete 20:19:49 988bab9f4d93: Pull complete 20:19:49 1469e6f7b9e6: Pull complete 20:19:50 eaf3925da568: Pull complete 20:19:52 bab4dde63d76: Pull complete 20:19:52 bde34c3a00c8: Pull complete 20:19:52 b352a97aabf1: Pull complete 20:19:52 4872d77fe225: Pull complete 20:19:52 5851b861e8e6: Pull complete 20:19:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:19:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:19:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:19:53 prd-ubuntu20.04-docker-8c-8g-6111 does not seem to be running inside a container 20:19:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-445 -v /w/workspace/xfoundry_device-modbus-go_PR-445:/w/workspace/xfoundry_device-modbus-go_PR-445:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-445@tmp:/w/workspace/xfoundry_device-modbus-go_PR-445@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-devops/py-git-semver:0.1.4 cat 20:19:58 $ docker top 687ab41ce539a5a6fee224ffd04aaf64110579451421b53919a1fb674b3f69ec -eo pid,comm 20:19:58 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:19:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:19:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:19:58 [ssh-agent] Looking for ssh-agent implementation... 20:19:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:19:59 $ docker exec 687ab41ce539a5a6fee224ffd04aaf64110579451421b53919a1fb674b3f69ec ssh-agent 20:19:59 SSH_AUTH_SOCK=/tmp/ssh-JjIBx050uPLV/agent.13 20:19:59 SSH_AGENT_PID=19 20:19:59 Running ssh-add (command line suppressed) 20:19:59 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-445@tmp/private_key_11753731674706873006.key (/w/workspace/xfoundry_device-modbus-go_PR-445@tmp/private_key_11753731674706873006.key) 20:19:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:19:59 + git tag --points-at HEAD [Pipeline] } 20:19:59 $ docker exec --env ******** --env ******** 687ab41ce539a5a6fee224ffd04aaf64110579451421b53919a1fb674b3f69ec ssh-agent -k 20:19:59 unset SSH_AUTH_SOCK; 20:19:59 unset SSH_AGENT_PID; 20:19:59 echo Agent pid 19 killed; 20:19:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:19:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:19:59 [ssh-agent] Looking for ssh-agent implementation... 20:19:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:19:59 $ docker exec 687ab41ce539a5a6fee224ffd04aaf64110579451421b53919a1fb674b3f69ec ssh-agent 20:19:59 SSH_AUTH_SOCK=/tmp/ssh-m26URqC05TVV/agent.69 20:19:59 SSH_AGENT_PID=75 20:19:59 Running ssh-add (command line suppressed) 20:19:59 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-445@tmp/private_key_8278922624695957461.key (/w/workspace/xfoundry_device-modbus-go_PR-445@tmp/private_key_8278922624695957461.key) 20:20:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:20:00 + git semver init 20:20:00 2023-03-28 20:20:00,673 [run_init] DEBUG init version:0.0.0 force:False 20:20:00 2023-03-28 20:20:00,675 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-445/.semver 20:20:00 2023-03-28 20:20:00,676 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-445/.semver 20:20:00 2023-03-28 20:20:00,676 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-445/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-445, universal_newlines=False, shell=None, istream=None) 20:20:01 2023-03-28 20:20:01,587 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-445/.git/info/exclude 20:20:01 2023-03-28 20:20:01,587 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-445/.semver/PR-445 with force:False 20:20:01 2023-03-28 20:20:01,587 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-445/.semver/PR-445 20:20:01 2023-03-28 20:20:01,590 [execute] INFO git cat-file --batch-check 20:20:01 2023-03-28 20:20:01,590 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-445/.semver, universal_newlines=False, shell=None, istream=) 20:20:01 2023-03-28 20:20:01,595 [execute] INFO git cat-file --batch 20:20:01 2023-03-28 20:20:01,596 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-445/.semver, universal_newlines=False, shell=None, istream=) 20:20:01 2023-03-28 20:20:01,599 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-445/.semver/PR-445 20:20:01 0.0.0 [Pipeline] } 20:20:01 $ docker exec --env ******** --env ******** 687ab41ce539a5a6fee224ffd04aaf64110579451421b53919a1fb674b3f69ec ssh-agent -k 20:20:01 unset SSH_AUTH_SOCK; 20:20:01 unset SSH_AGENT_PID; 20:20:01 echo Agent pid 75 killed; 20:20:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:20:02 + git semver [Pipeline] } 20:20:02 $ docker stop --time=1 687ab41ce539a5a6fee224ffd04aaf64110579451421b53919a1fb674b3f69ec 20:20:04 $ docker rm -f --volumes 687ab41ce539a5a6fee224ffd04aaf64110579451421b53919a1fb674b3f69ec [Pipeline] // withDockerContainer [Pipeline] sh 20:20:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:20:05 Stashed 1 file(s) [Pipeline] echo 20:20:05 [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 20:20:05 provisioning config files... 20:20:05 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp/config4653266408939443186tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:20:05 ---> docker-login.sh 20:20:05 nexus3.edgexfoundry.org:10001 20:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:05 Configure a credential helper to remove this warning. See 20:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:05 20:20:05 Login Succeeded 20:20:05 nexus3.edgexfoundry.org:10002 20:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:05 Configure a credential helper to remove this warning. See 20:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:05 20:20:05 Login Succeeded 20:20:05 nexus3.edgexfoundry.org:10003 20:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:05 Configure a credential helper to remove this warning. See 20:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:05 20:20:05 Login Succeeded 20:20:05 nexus3.edgexfoundry.org:10004 20:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:05 Configure a credential helper to remove this warning. See 20:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:05 20:20:05 Login Succeeded 20:20:05 docker.io 20:20:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:06 Configure a credential helper to remove this warning. See 20:20:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:06 20:20:06 Login Succeeded 20:20:06 ---> docker-login.sh ends [Pipeline] } 20:20:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:20:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:20:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:20:06 ========================================================= 20:20:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:20:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:20:06 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:20:06 Sending build context to Docker daemon 6.483MB 20:20:06 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 20:20:06 Step 2/10 : FROM ${BASE} AS builder 20:20:06 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:20:06 63b65145d645: Pulling fs layer 20:20:06 a2d21d5440eb: Pulling fs layer 20:20:06 935e6c44a52c: Pulling fs layer 20:20:06 94cc34f8dd06: Pulling fs layer 20:20:06 30dea6a524f1: Pulling fs layer 20:20:06 a2aff8979fd8: Pulling fs layer 20:20:06 6808be2612f2: Pulling fs layer 20:20:06 f25807f1079a: Pulling fs layer 20:20:06 94cc34f8dd06: Waiting 20:20:06 30dea6a524f1: Waiting 20:20:06 a2aff8979fd8: Waiting 20:20:06 6808be2612f2: Waiting 20:20:06 f25807f1079a: Waiting 20:20:06 a2d21d5440eb: Download complete 20:20:06 94cc34f8dd06: Download complete 20:20:06 30dea6a524f1: Verifying Checksum 20:20:06 30dea6a524f1: Download complete 20:20:06 63b65145d645: Verifying Checksum 20:20:06 63b65145d645: Download complete 20:20:06 a2aff8979fd8: Download complete 20:20:07 63b65145d645: Pull complete 20:20:07 a2d21d5440eb: Pull complete 20:20:07 f25807f1079a: Verifying Checksum 20:20:07 f25807f1079a: Download complete 20:20:07 935e6c44a52c: Verifying Checksum 20:20:07 935e6c44a52c: Download complete 20:20:07 6808be2612f2: Verifying Checksum 20:20:07 6808be2612f2: Download complete 20:20:10 935e6c44a52c: Pull complete 20:20:10 94cc34f8dd06: Pull complete 20:20:11 30dea6a524f1: Pull complete 20:20:11 a2aff8979fd8: Pull complete 20:20:15 6808be2612f2: Pull complete 20:20:15 f25807f1079a: Pull complete 20:20:15 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 20:20:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:20:15 ---> 3b553350e43f 20:20:15 Step 3/10 : ARG ADD_BUILD_TAGS="" 20:20:20 Still waiting to schedule task 20:20:20 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:20:25 ---> Running in 4a190b1cfb1b 20:20:26 Removing intermediate container 4a190b1cfb1b 20:20:26 ---> 0ed825cf690d 20:20:26 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:20:27 ---> Running in d0e16c7f2ffd 20:20:27 Removing intermediate container d0e16c7f2ffd 20:20:27 ---> 02ea702f9f9d 20:20:27 Step 5/10 : RUN apk add --update --no-cache make git openssh 20:20:28 ---> Running in 14f30a9e977a 20:20:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:20:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:20:29 (1/8) Installing openssh-keygen (9.1_p1-r2) 20:20:29 (2/8) Installing libedit (20221030.3.1-r0) 20:20:29 (3/8) Installing openssh-client-common (9.1_p1-r2) 20:20:29 (4/8) Installing openssh-client-default (9.1_p1-r2) 20:20:29 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 20:20:29 (6/8) Installing openssh-server-common (9.1_p1-r2) 20:20:29 (7/8) Installing openssh-server (9.1_p1-r2) 20:20:29 (8/8) Installing openssh (9.1_p1-r2) 20:20:29 Executing busybox-1.35.0-r29.trigger 20:20:29 OK: 270 MiB in 61 packages 20:20:31 Removing intermediate container 14f30a9e977a 20:20:31 ---> a1642c3e05f7 20:20:31 Step 6/10 : WORKDIR /device-modbus-go 20:20:31 ---> Running in bb191d4fe268 20:20:31 Removing intermediate container bb191d4fe268 20:20:31 ---> c96a8d706fa6 20:20:31 Step 7/10 : COPY go.mod vendor* ./ 20:20:32 ---> 98d4975e3217 20:20:32 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:20:33 ---> Running in 4a04e23be04c 20:21:11 Removing intermediate container 4a04e23be04c 20:21:11 ---> fd2578c68193 20:21:11 Step 9/10 : COPY . . 20:21:11 ---> bb5126892717 20:21:11 Step 10/10 : RUN ${MAKE} 20:21:11 ---> Running in 64aafd8e2310 20:21:11 noop 20:21:12 Removing intermediate container 64aafd8e2310 20:21:12 ---> e81de6ff8636 20:21:12 Successfully built e81de6ff8636 20:21:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:21:13 + docker inspect -f . ci-base-image-x86_64 20:21:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:21:13 prd-ubuntu20.04-docker-8c-8g-6111 does not seem to be running inside a container 20:21:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-445 -v /w/workspace/xfoundry_device-modbus-go_PR-445:/w/workspace/xfoundry_device-modbus-go_PR-445:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-445@tmp:/w/workspace/xfoundry_device-modbus-go_PR-445@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 ******** -e ******** ci-base-image-x86_64 cat 20:21:14 $ docker top ffe53bddfe8adefa44730f0163e01154d6a02300c03a9b85d0ad27a37d5384d7 -eo pid,comm [Pipeline] { [Pipeline] sh 20:21:14 + go version 20:21:14 go version go1.20.2 linux/amd64 [Pipeline] } 20:21:14 $ docker stop --time=1 ffe53bddfe8adefa44730f0163e01154d6a02300c03a9b85d0ad27a37d5384d7 20:21:16 $ docker rm -f --volumes ffe53bddfe8adefa44730f0163e01154d6a02300c03a9b85d0ad27a37d5384d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:21:16 + docker inspect -f . ci-base-image-x86_64 20:21:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:21:16 prd-ubuntu20.04-docker-8c-8g-6111 does not seem to be running inside a container 20:21:16 $ 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-445 -v /w/workspace/xfoundry_device-modbus-go_PR-445:/w/workspace/xfoundry_device-modbus-go_PR-445:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-445@tmp:/w/workspace/xfoundry_device-modbus-go_PR-445@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 ******** -e ******** ci-base-image-x86_64 cat 20:21:17 $ docker top 6125c27050d4eb57a4291b2f890cd182eebe152349b08ea00be6b8706acf4bb3 -eo pid,comm [Pipeline] { [Pipeline] sh 20:21:17 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-445 [Pipeline] fileExists [Pipeline] sh 20:21:18 + make test 20:21:18 go test ./... -coverprofile=coverage.out 20:21:22 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:21:32 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:21:32 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 48.0% of statements 20:21:39 go vet ./... 20:21:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:21:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:21:41 ./bin/test-attribution-txt.sh [Pipeline] echo 20:21:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:21:41 $ docker stop --time=1 6125c27050d4eb57a4291b2f890cd182eebe152349b08ea00be6b8706acf4bb3 20:21:46 $ docker rm -f --volumes 6125c27050d4eb57a4291b2f890cd182eebe152349b08ea00be6b8706acf4bb3 [Pipeline] // withDockerContainer [Pipeline] sh 20:21:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:21:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:21:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:21:47 + ls -al . 20:21:47 total 180 20:21:47 drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 20:21 . 20:21:47 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 20:19 .. 20:21:47 -rw-rw-r-- 1 jenkins jenkins 140 Mar 28 20:19 .dockerignore 20:21:47 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 20:20 .git 20:21:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:19 .github 20:21:47 -rw-rw-r-- 1 jenkins jenkins 331 Mar 28 20:19 .gitignore 20:21:47 -rw-rw-r-- 1 jenkins jenkins 41 Mar 28 20:19 .golangci.yml 20:21:47 drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 20:20 .semver 20:21:47 -rw-rw-r-- 1 jenkins jenkins 10004 Mar 28 20:19 Attribution.txt 20:21:47 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 28 20:19 CHANGELOG.md 20:21:47 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 28 20:19 Dockerfile 20:21:47 -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 20:19 GOVERNANCE.md 20:21:47 -rw-rw-r-- 1 jenkins jenkins 680 Mar 28 20:19 Jenkinsfile 20:21:47 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 28 20:19 LICENSE 20:21:47 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 28 20:19 Makefile 20:21:47 -rw-rw-r-- 1 jenkins jenkins 622 Mar 28 20:19 OWNERS.md 20:21:47 -rw-rw-r-- 1 jenkins jenkins 4045 Mar 28 20:19 README.md 20:21:47 -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 20:20 VERSION 20:21:47 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:19 bin 20:21:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:19 cmd 20:21:47 -rw-r--r-- 1 jenkins jenkins 23739 Mar 28 20:21 coverage.out 20:21:47 -rw-rw-r-- 1 jenkins jenkins 3450 Mar 28 20:19 go.mod 20:21:47 -rw-rw-r-- 1 jenkins jenkins 31495 Mar 28 20:19 go.sum 20:21:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:19 internal 20:21:47 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:19 simulator 20:21:47 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 20:19 snap 20:21:47 -rw-rw-r-- 1 jenkins jenkins 229 Mar 28 20:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:21:48 + 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=325a87336007c9cc853518d387d23ca49eb69bd5 --label arch=amd64 --label version=0.0.0 . 20:21:48 Sending build context to Docker daemon 6.508MB 20:21:48 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 20:21:48 Step 2/22 : FROM ${BASE} AS builder 20:21:48 ---> e81de6ff8636 20:21:48 Step 3/22 : ARG ADD_BUILD_TAGS="" 20:21:48 ---> Running in 44135897bb8b 20:21:48 Removing intermediate container 44135897bb8b 20:21:48 ---> 7812a3337d77 20:21:48 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:21:49 ---> Running in fa745bac8146 20:21:49 Removing intermediate container fa745bac8146 20:21:49 ---> 5ed4e32077d2 20:21:49 Step 5/22 : RUN apk add --update --no-cache make git openssh 20:21:49 ---> Running in 5d87ab335fd3 20:21:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:21:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:21:50 OK: 270 MiB in 61 packages 20:21:51 Removing intermediate container 5d87ab335fd3 20:21:51 ---> 20aa04fe4a9f 20:21:51 Step 6/22 : WORKDIR /device-modbus-go 20:21:51 ---> Running in 909485fc33b6 20:21:51 Removing intermediate container 909485fc33b6 20:21:51 ---> c66776d34d1a 20:21:51 Step 7/22 : COPY go.mod vendor* ./ 20:21:51 ---> 71bf74158da5 20:21:51 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:21:51 ---> Running in f18441c76376 20:21:52 Removing intermediate container f18441c76376 20:21:52 ---> 47f0c419ef0a 20:21:52 Step 9/22 : COPY . . 20:21:53 ---> 68890c4b81b1 20:21:53 Step 10/22 : RUN ${MAKE} 20:21:54 ---> Running in 60872b4127da 20:21:54 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 20:22:21 Removing intermediate container 60872b4127da 20:22:21 ---> 0d3fcab87341 20:22:21 Step 11/22 : FROM alpine:3.17 20:22:21 3.17: Pulling from library/alpine 20:22:21 63b65145d645: Already exists 20:22:21 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 20:22:21 Status: Downloaded newer image for alpine:3.17 20:22:21 ---> b2aa39c304c2 20:22:21 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 20:22:21 ---> Running in 0d1a40856295 20:22:21 Removing intermediate container 0d1a40856295 20:22:21 ---> fab15b33fabc 20:22:21 Step 13/22 : RUN apk add --update --no-cache dumb-init 20:22:21 ---> Running in e9cfc6dd8253 20:22:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:22:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:22:21 (1/1) Installing dumb-init (1.2.5-r2) 20:22:21 Executing busybox-1.35.0-r29.trigger 20:22:21 OK: 7 MiB in 16 packages 20:22:21 Removing intermediate container e9cfc6dd8253 20:22:21 ---> e6899abc204b 20:22:21 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 20:22:21 ---> 98914f728fe1 20:22:21 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 20:22:21 ---> d9ae35014d52 20:22:21 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 20:22:21 ---> 0221dd4f60bf 20:22:21 Step 17/22 : EXPOSE 59901 20:22:21 ---> Running in 47bde72eae22 20:22:21 Removing intermediate container 47bde72eae22 20:22:21 ---> fbd1ffb2b762 20:22:21 Step 18/22 : ENTRYPOINT ["/device-modbus"] 20:22:21 ---> Running in 3af9e20ed52a 20:22:21 Removing intermediate container 3af9e20ed52a 20:22:21 ---> fffc409f5dea 20:22:21 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:22:21 ---> Running in 1e0ef769fa0c 20:22:21 Removing intermediate container 1e0ef769fa0c 20:22:21 ---> 4baf802db120 20:22:21 Step 20/22 : LABEL arch=amd64 20:22:21 ---> Running in 6b1b8c735863 20:22:21 Removing intermediate container 6b1b8c735863 20:22:21 ---> d5d87aab0e05 20:22:21 Step 21/22 : LABEL git_sha=325a87336007c9cc853518d387d23ca49eb69bd5 20:22:21 ---> Running in 4d3a472fa750 20:22:21 Removing intermediate container 4d3a472fa750 20:22:21 ---> 8a1f161e62d6 20:22:21 Step 22/22 : LABEL version=0.0.0 20:22:21 ---> Running in 91d506394bd9 20:22:21 Removing intermediate container 91d506394bd9 20:22:21 ---> ad91f9062d6b 20:22:21 [Warning] One or more build-args [ARCH] were not consumed 20:22:21 Successfully built ad91f9062d6b 20:22:21 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 20:22:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:22:22 20:22:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:22:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:22:22 latest: Pulling from edgex-lftools-log-publisher 20:22:22 5eb5b503b376: Pulling fs layer 20:22:22 5c69ac0246d0: Pulling fs layer 20:22:22 ec43610c2a17: Pulling fs layer 20:22:22 3a2ae6a8a46f: Pulling fs layer 20:22:22 33b1e0a273af: Pulling fs layer 20:22:22 5d3b04190fa2: Pulling fs layer 20:22:22 2f39f015ded8: Pulling fs layer 20:22:22 33b1e0a273af: Waiting 20:22:22 5d3b04190fa2: Waiting 20:22:22 2f39f015ded8: Waiting 20:22:22 3a2ae6a8a46f: Waiting 20:22:22 5c69ac0246d0: Download complete 20:22:22 3a2ae6a8a46f: Verifying Checksum 20:22:22 3a2ae6a8a46f: Download complete 20:22:22 33b1e0a273af: Verifying Checksum 20:22:22 33b1e0a273af: Download complete 20:22:22 5d3b04190fa2: Verifying Checksum 20:22:22 5d3b04190fa2: Download complete 20:22:22 ec43610c2a17: Verifying Checksum 20:22:22 ec43610c2a17: Download complete 20:22:22 5eb5b503b376: Verifying Checksum 20:22:22 5eb5b503b376: Download complete 20:22:23 2f39f015ded8: Download complete 20:22:23 5eb5b503b376: Pull complete 20:22:24 5c69ac0246d0: Pull complete 20:22:24 ec43610c2a17: Pull complete 20:22:24 3a2ae6a8a46f: Pull complete 20:22:24 33b1e0a273af: Pull complete 20:22:24 5d3b04190fa2: Pull complete 20:22:29 2f39f015ded8: Pull complete 20:22:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:22:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:22:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:22:29 prd-ubuntu20.04-docker-8c-8g-6111 does not seem to be running inside a container 20:22:29 $ 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-445 -v /w/workspace/xfoundry_device-modbus-go_PR-445:/w/workspace/xfoundry_device-modbus-go_PR-445:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-445@tmp:/w/workspace/xfoundry_device-modbus-go_PR-445@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:22:35 $ docker top 7548c8c00b5a7980ddf15ba0658b297e691039add7a15a649b26ab2db5057b22 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:22:36 ---> job-cost.sh 20:22:36 lf-activate-venv: SKIPPING 20:22:36 INFO: No Stack... 20:22:36 INFO: Retrieving Pricing Info for: v3-standard-8 20:22:37 INFO: Archiving Costs [Pipeline] sh 20:22:37 + cat /w/workspace/xfoundry_device-modbus-go_PR-445/archives/cost.csv 20:22:37 + cut -d, -f6 [Pipeline] lock 20:22:37 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-445-5-stack-cost] 20:22:37 Resource [jenkins-edgexfoundry-device-modbus-go-PR-445-5-stack-cost] did not exist. Created. 20:22:37 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-445-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:22:37 + echo total: 0.2199999988079071 [Pipeline] stash 20:22:37 Stashed 1 file(s) [Pipeline] } 20:22:37 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-445-5-stack-cost] [Pipeline] // lock [Pipeline] } 20:22:37 $ docker stop --time=1 7548c8c00b5a7980ddf15ba0658b297e691039add7a15a649b26ab2db5057b22 20:22:39 $ docker rm -f --volumes 7548c8c00b5a7980ddf15ba0658b297e691039add7a15a649b26ab2db5057b22 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:24:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6115 in /w/workspace/xfoundry_device-modbus-go_PR-445 [Pipeline] { [Pipeline] ws 20:24:08 Running in /w/workspace/device-modbus-go/5 [Pipeline] { [Pipeline] checkout 20:24:08 Selected Git installation does not exist. Using Default 20:24:08 The recommended git tool is: NONE 20:24:15 using credential edgex-jenkins-ssh 20:24:15 Cloning the remote Git repository 20:24:15 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 20:24:16 > git init /w/workspace/device-modbus-go/5 # timeout=10 20:24:16 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:24:16 > git --version # timeout=10 20:24:16 > git --version # 'git version 2.25.1' 20:24:16 using GIT_SSH to set credentials SSH Credentials for GitHub 20:24:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:24:17 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:24:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:24:19 Merging remotes/origin/main commit 63f56b440389908500f57809a79af5893e194475 into PR head commit 325a87336007c9cc853518d387d23ca49eb69bd5 20:24:19 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:24:19 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:24:19 using GIT_SSH to set credentials SSH Credentials for GitHub 20:24:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/445/head:refs/remotes/origin/PR-445 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:24:19 > git config core.sparsecheckout # timeout=10 20:24:19 > git checkout -f 325a87336007c9cc853518d387d23ca49eb69bd5 # timeout=10 20:24:25 Merge succeeded, producing 325a87336007c9cc853518d387d23ca49eb69bd5 20:24:25 Checking out Revision 325a87336007c9cc853518d387d23ca49eb69bd5 (PR-445) 20:24:24 > git remote # timeout=10 20:24:25 > git config --get remote.origin.url # timeout=10 20:24:25 using GIT_SSH to set credentials SSH Credentials for GitHub 20:24:25 > git merge 63f56b440389908500f57809a79af5893e194475 # timeout=10 20:24:25 > git rev-parse HEAD^{commit} # timeout=10 20:24:25 > git config core.sparsecheckout # timeout=10 20:24:25 > git checkout -f 325a87336007c9cc853518d387d23ca49eb69bd5 # timeout=10 20:24:28 Commit message: "fix: remove toml from Attribution.txt" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:24:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:24:29 % Total % Received % Xferd Average Speed Time Time Time Current 20:24:29 Dload Upload Total Spent Left Speed 20:24:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 194k 0 --:--:-- --:--:-- --:--:-- 194k [Pipeline] sh 20:24:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:24:30 + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo 20:24:30 tee /etc/docker/daemon.new 20:24:30 { 20:24:30 "registry-mirrors": [ 20:24:30 "https://nexus3.edgexfoundry.org:10001" 20:24:30 ], 20:24:30 "bip": "10.250.0.254/24", 20:24:30 "hosts": [ 20:24:30 "tcp://0.0.0.0:5555", 20:24:30 "unix:///var/run/docker.sock" 20:24:30 ], 20:24:30 "mtu": 1458, 20:24:30 "selinux-enabled": true, 20:24:30 "seccomp-profile": "/etc/docker/seccomp.json" 20:24:30 } [Pipeline] sh 20:24:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:24:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:24:49 provisioning config files... 20:24:49 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/5@tmp/config7256634326468471184tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:24:50 ---> docker-login.sh 20:24:50 nexus3.edgexfoundry.org:10001 20:24:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:50 Configure a credential helper to remove this warning. See 20:24:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:50 20:24:50 Login Succeeded 20:24:50 nexus3.edgexfoundry.org:10002 20:24:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:51 Configure a credential helper to remove this warning. See 20:24:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:51 20:24:51 Login Succeeded 20:24:51 nexus3.edgexfoundry.org:10003 20:24:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:51 Configure a credential helper to remove this warning. See 20:24:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:51 20:24:51 Login Succeeded 20:24:51 nexus3.edgexfoundry.org:10004 20:24:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:52 Configure a credential helper to remove this warning. See 20:24:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:52 20:24:52 Login Succeeded 20:24:52 docker.io 20:24:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:52 Configure a credential helper to remove this warning. See 20:24:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:52 20:24:52 Login Succeeded 20:24:52 ---> docker-login.sh ends [Pipeline] } 20:24:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:24:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:24:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:24:53 ========================================================= 20:24:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:24:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:24:53 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:24:53 Sending build context to Docker daemon 3.428MB 20:24:54 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 20:24:54 Step 2/10 : FROM ${BASE} AS builder 20:24:54 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:24:54 af6eaf76a39c: Pulling fs layer 20:24:54 55522c791124: Pulling fs layer 20:24:54 ce5c4a1c91eb: Pulling fs layer 20:24:54 169dfbe0d373: Pulling fs layer 20:24:54 e1ff8fa3b103: Pulling fs layer 20:24:54 52ebb69f0ebf: Pulling fs layer 20:24:54 5abe8eddf0d5: Pulling fs layer 20:24:54 e1ff8fa3b103: Waiting 20:24:54 52ebb69f0ebf: Waiting 20:24:54 5abe8eddf0d5: Waiting 20:24:54 169dfbe0d373: Waiting 20:24:54 55522c791124: Verifying Checksum 20:24:54 55522c791124: Download complete 20:24:54 169dfbe0d373: Verifying Checksum 20:24:54 169dfbe0d373: Download complete 20:24:54 e1ff8fa3b103: Verifying Checksum 20:24:54 e1ff8fa3b103: Download complete 20:24:54 af6eaf76a39c: Verifying Checksum 20:24:54 af6eaf76a39c: Download complete 20:24:55 5abe8eddf0d5: Verifying Checksum 20:24:55 5abe8eddf0d5: Download complete 20:24:56 af6eaf76a39c: Pull complete 20:24:56 ce5c4a1c91eb: Verifying Checksum 20:24:56 ce5c4a1c91eb: Download complete 20:24:56 52ebb69f0ebf: Verifying Checksum 20:24:56 52ebb69f0ebf: Download complete 20:24:57 55522c791124: Pull complete 20:25:09 ce5c4a1c91eb: Pull complete 20:25:09 169dfbe0d373: Pull complete 20:25:09 e1ff8fa3b103: Pull complete 20:25:15 52ebb69f0ebf: Pull complete 20:25:17 5abe8eddf0d5: Pull complete 20:25:17 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 20:25:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:25:17 ---> 6cb57ee374ae 20:25:17 Step 3/10 : ARG ADD_BUILD_TAGS="" 20:25:18 ---> Running in 7d5921e618fd 20:25:18 Removing intermediate container 7d5921e618fd 20:25:18 ---> c6c160465480 20:25:18 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:25:18 ---> Running in 302e3f67fecd 20:25:19 Removing intermediate container 302e3f67fecd 20:25:19 ---> f84b40c79879 20:25:19 Step 5/10 : RUN apk add --update --no-cache make git openssh 20:25:19 ---> Running in c57867845c36 20:25:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:25:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:25:23 (1/8) Installing openssh-keygen (9.1_p1-r2) 20:25:23 (2/8) Installing libedit (20221030.3.1-r0) 20:25:23 (3/8) Installing openssh-client-common (9.1_p1-r2) 20:25:23 (4/8) Installing openssh-client-default (9.1_p1-r2) 20:25:23 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 20:25:23 (6/8) Installing openssh-server-common (9.1_p1-r2) 20:25:23 (7/8) Installing openssh-server (9.1_p1-r2) 20:25:23 (8/8) Installing openssh (9.1_p1-r2) 20:25:23 Executing busybox-1.35.0-r29.trigger 20:25:23 OK: 270 MiB in 61 packages 20:25:24 Removing intermediate container c57867845c36 20:25:24 ---> deeb1ea85534 20:25:24 Step 6/10 : WORKDIR /device-modbus-go 20:25:24 ---> Running in faa31b7c5ce6 20:25:24 Removing intermediate container faa31b7c5ce6 20:25:24 ---> f4425486b3e3 20:25:24 Step 7/10 : COPY go.mod vendor* ./ 20:25:25 ---> eef2b4eac477 20:25:25 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:25:25 ---> Running in 3719db599bd3 20:26:33 Removing intermediate container 3719db599bd3 20:26:33 ---> f127ddb903ac 20:26:33 Step 9/10 : COPY . . 20:26:33 ---> f02b0a382914 20:26:33 Step 10/10 : RUN ${MAKE} 20:26:33 ---> Running in 3b30afe370e0 20:26:33 noop 20:26:34 Removing intermediate container 3b30afe370e0 20:26:34 ---> f48de357942d 20:26:34 Successfully built f48de357942d 20:26:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:34 + docker inspect -f . ci-base-image-arm64 20:26:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:26:34 prd-ubuntu20.04-docker-arm64-4c-16g-6115 does not seem to be running inside a container 20:26:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/5 -v /w/workspace/device-modbus-go/5:/w/workspace/device-modbus-go/5:rw,z -v /w/workspace/device-modbus-go/5@tmp:/w/workspace/device-modbus-go/5@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 ******** -e ******** ci-base-image-arm64 cat 20:26:36 $ docker top 1c62748f4ac1232af36374f748d6b63b5056d24fdea627b4afdd680fb31a1d43 -eo pid,comm [Pipeline] { [Pipeline] sh 20:26:37 + go version 20:26:37 go version go1.20.2 linux/arm64 [Pipeline] } 20:26:37 $ docker stop --time=1 1c62748f4ac1232af36374f748d6b63b5056d24fdea627b4afdd680fb31a1d43 20:26:38 $ docker rm -f --volumes 1c62748f4ac1232af36374f748d6b63b5056d24fdea627b4afdd680fb31a1d43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:39 + docker inspect -f . ci-base-image-arm64 20:26:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:26:39 prd-ubuntu20.04-docker-arm64-4c-16g-6115 does not seem to be running inside a container 20:26:39 $ 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/5 -v /w/workspace/device-modbus-go/5:/w/workspace/device-modbus-go/5:rw,z -v /w/workspace/device-modbus-go/5@tmp:/w/workspace/device-modbus-go/5@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 ******** -e ******** ci-base-image-arm64 cat 20:26:43 $ docker top c8cc458c1083ab00bb8b9750cd62151e1aab5b92ca8f614735c508cfb274032f -eo pid,comm [Pipeline] { [Pipeline] sh 20:26:44 + git config --global --add safe.directory /w/workspace/device-modbus-go/5 [Pipeline] fileExists [Pipeline] sh 20:26:44 + make test 20:26:44 go test ./... -coverprofile=coverage.out 20:27:23 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:30:15 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:30:15 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.079s coverage: 48.0% of statements 20:30:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:30:15 go vet ./... 20:30:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:30:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:30:37 ./bin/test-attribution-txt.sh [Pipeline] echo 20:30:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:30:38 $ docker stop --time=1 c8cc458c1083ab00bb8b9750cd62151e1aab5b92ca8f614735c508cfb274032f 20:30:40 $ docker rm -f --volumes c8cc458c1083ab00bb8b9750cd62151e1aab5b92ca8f614735c508cfb274032f [Pipeline] // withDockerContainer [Pipeline] sh 20:30:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:30:41 Warning: overwriting stash ‘coverage-report’ 20:30:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:30:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:30:42 + ls -al . 20:30:42 total 176 20:30:42 drwxrwxr-x 9 jenkins jenkins 4096 Mar 28 20:26 . 20:30:42 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 20:24 .. 20:30:42 -rw-rw-r-- 1 jenkins jenkins 140 Mar 28 20:24 .dockerignore 20:30:42 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 20:24 .git 20:30:42 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:24 .github 20:30:42 -rw-rw-r-- 1 jenkins jenkins 331 Mar 28 20:24 .gitignore 20:30:42 -rw-rw-r-- 1 jenkins jenkins 41 Mar 28 20:24 .golangci.yml 20:30:42 -rw-rw-r-- 1 jenkins jenkins 10004 Mar 28 20:24 Attribution.txt 20:30:42 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 28 20:24 CHANGELOG.md 20:30:42 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 28 20:24 Dockerfile 20:30:42 -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 20:24 GOVERNANCE.md 20:30:42 -rw-rw-r-- 1 jenkins jenkins 680 Mar 28 20:24 Jenkinsfile 20:30:42 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 28 20:24 LICENSE 20:30:42 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 28 20:24 Makefile 20:30:42 -rw-rw-r-- 1 jenkins jenkins 622 Mar 28 20:24 OWNERS.md 20:30:42 -rw-rw-r-- 1 jenkins jenkins 4045 Mar 28 20:24 README.md 20:30:42 -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 20:20 VERSION 20:30:42 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:24 bin 20:30:42 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:24 cmd 20:30:42 -rw-r--r-- 1 jenkins jenkins 23739 Mar 28 20:30 coverage.out 20:30:42 -rw-rw-r-- 1 jenkins jenkins 3450 Mar 28 20:24 go.mod 20:30:42 -rw-rw-r-- 1 jenkins jenkins 31495 Mar 28 20:24 go.sum 20:30:42 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:24 internal 20:30:42 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:24 simulator 20:30:42 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 20:24 snap 20:30:42 -rw-rw-r-- 1 jenkins jenkins 229 Mar 28 20:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:43 + 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=325a87336007c9cc853518d387d23ca49eb69bd5 --label arch=arm64 --label version=0.0.0 . 20:30:43 Sending build context to Docker daemon 3.452MB 20:30:43 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 20:30:43 Step 2/22 : FROM ${BASE} AS builder 20:30:43 ---> f48de357942d 20:30:43 Step 3/22 : ARG ADD_BUILD_TAGS="" 20:30:47 ---> Running in 32c32ae17a37 20:30:47 Removing intermediate container 32c32ae17a37 20:30:47 ---> 0c55efb3d80d 20:30:47 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:30:47 ---> Running in 407d5f6da003 20:30:47 Removing intermediate container 407d5f6da003 20:30:47 ---> 50d41688676d 20:30:47 Step 5/22 : RUN apk add --update --no-cache make git openssh 20:30:47 ---> Running in a2841421d161 20:30:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:30:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:30:51 OK: 270 MiB in 61 packages 20:30:52 Removing intermediate container a2841421d161 20:30:52 ---> adbfd3eb3d57 20:30:52 Step 6/22 : WORKDIR /device-modbus-go 20:30:52 ---> Running in a46553d1f99b 20:30:54 Removing intermediate container a46553d1f99b 20:30:54 ---> 5d6123f4cb55 20:30:54 Step 7/22 : COPY go.mod vendor* ./ 20:30:54 ---> 7b763f8ebdcf 20:30:54 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:30:54 ---> Running in bf1d786e392f 20:30:58 Removing intermediate container bf1d786e392f 20:30:58 ---> 03d628f1c8c6 20:30:58 Step 9/22 : COPY . . 20:30:59 ---> 748a80987331 20:30:59 Step 10/22 : RUN ${MAKE} 20:30:59 ---> Running in 9a7f1a5a5389 20:31:00 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 20:33:52 Removing intermediate container 9a7f1a5a5389 20:33:52 ---> e0d67967dd75 20:33:52 Step 11/22 : FROM alpine:3.17 20:33:52 3.17: Pulling from library/alpine 20:33:52 af6eaf76a39c: Already exists 20:33:52 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 20:33:52 Status: Downloaded newer image for alpine:3.17 20:33:52 ---> d74e625d9115 20:33:52 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 20:33:52 ---> Running in 4355a0b3ffcd 20:33:52 Removing intermediate container 4355a0b3ffcd 20:33:52 ---> 2c9fb491a809 20:33:52 Step 13/22 : RUN apk add --update --no-cache dumb-init 20:33:52 ---> Running in 210768c3f5ba 20:33:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:33:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:33:52 (1/1) Installing dumb-init (1.2.5-r2) 20:33:52 Executing busybox-1.35.0-r29.trigger 20:33:52 OK: 8 MiB in 16 packages 20:33:52 Removing intermediate container 210768c3f5ba 20:33:52 ---> 2bc365e032af 20:33:52 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 20:33:52 ---> a7e9fdec7603 20:33:52 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 20:33:52 ---> 95e793cbf5ea 20:33:52 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 20:33:52 ---> 239ae74adbc6 20:33:52 Step 17/22 : EXPOSE 59901 20:33:52 ---> Running in 43ad1519a19e 20:33:52 Removing intermediate container 43ad1519a19e 20:33:52 ---> 59a8cddf80d6 20:33:52 Step 18/22 : ENTRYPOINT ["/device-modbus"] 20:33:52 ---> Running in 902206df9e49 20:33:52 Removing intermediate container 902206df9e49 20:33:52 ---> 36d0431e5b1a 20:33:52 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:33:52 ---> Running in 6e263941c877 20:33:52 Removing intermediate container 6e263941c877 20:33:52 ---> 12a2255bc877 20:33:52 Step 20/22 : LABEL arch=arm64 20:33:52 ---> Running in 2655dff9b910 20:33:52 Removing intermediate container 2655dff9b910 20:33:52 ---> c7d431d4c9be 20:33:52 Step 21/22 : LABEL git_sha=325a87336007c9cc853518d387d23ca49eb69bd5 20:33:52 ---> Running in 0be18cc4e558 20:33:52 Removing intermediate container 0be18cc4e558 20:33:52 ---> d4e2577e2572 20:33:52 Step 22/22 : LABEL version=0.0.0 20:33:52 ---> Running in 6e82170c3cd2 20:33:52 Removing intermediate container 6e82170c3cd2 20:33:52 ---> 56cfbafbbeeb 20:33:52 [Warning] One or more build-args [ARCH] were not consumed 20:33:52 Successfully built 56cfbafbbeeb 20:33:52 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 20:33:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:33:53 20:33:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:33:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:33:53 arm64: Pulling from edgex-lftools-log-publisher 20:33:53 8998bd30e6a1: Pulling fs layer 20:33:53 04944245beec: Pulling fs layer 20:33:53 699f458cf7ca: Pulling fs layer 20:33:53 765212b225bb: Pulling fs layer 20:33:53 f23df028b6ca: Pulling fs layer 20:33:53 d65c8cfc05b1: Pulling fs layer 20:33:53 2437ff75d9bd: Pulling fs layer 20:33:53 f23df028b6ca: Waiting 20:33:53 2437ff75d9bd: Waiting 20:33:53 d65c8cfc05b1: Waiting 20:33:53 765212b225bb: Waiting 20:33:53 04944245beec: Verifying Checksum 20:33:53 04944245beec: Download complete 20:33:53 765212b225bb: Verifying Checksum 20:33:53 765212b225bb: Download complete 20:33:53 f23df028b6ca: Verifying Checksum 20:33:53 f23df028b6ca: Download complete 20:33:53 d65c8cfc05b1: Verifying Checksum 20:33:53 d65c8cfc05b1: Download complete 20:33:53 699f458cf7ca: Verifying Checksum 20:33:53 699f458cf7ca: Download complete 20:33:54 8998bd30e6a1: Verifying Checksum 20:33:54 8998bd30e6a1: Download complete 20:33:56 2437ff75d9bd: Verifying Checksum 20:33:56 2437ff75d9bd: Download complete 20:33:58 8998bd30e6a1: Pull complete 20:33:59 04944245beec: Pull complete 20:34:00 699f458cf7ca: Pull complete 20:34:00 765212b225bb: Pull complete 20:34:03 f23df028b6ca: Pull complete 20:34:03 d65c8cfc05b1: Pull complete 20:34:18 2437ff75d9bd: Pull complete 20:34:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:34:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:34:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:34:18 prd-ubuntu20.04-docker-arm64-4c-16g-6115 does not seem to be running inside a container 20:34:18 $ 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/5 -v /w/workspace/device-modbus-go/5:/w/workspace/device-modbus-go/5:rw,z -v /w/workspace/device-modbus-go/5@tmp:/w/workspace/device-modbus-go/5@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:34:22 $ docker top d65b7d2ac6b08dcdbf4df01e09624c65242a6719ab83595c1b24263213337e1d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:34:22 ---> job-cost.sh 20:34:22 lf-activate-venv: SKIPPING 20:34:22 INFO: No Stack... 20:34:23 INFO: Retrieving Pricing Info for: v3-standard-4 20:34:24 INFO: Archiving Costs [Pipeline] sh 20:34:25 + cut -d, -f6 20:34:25 + cat /w/workspace/device-modbus-go/5/archives/cost.csv [Pipeline] lock 20:34:25 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-445-5-stack-cost] 20:34:25 Resource [jenkins-edgexfoundry-device-modbus-go-PR-445-5-stack-cost] did not exist. Created. 20:34:25 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-445-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:34:25 /w/workspace/device-modbus-go/5@tmp/durable-28e1fce0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:34:26 + echo total: 0.10999999940395355 [Pipeline] stash 20:34:26 Warning: overwriting stash ‘stack-cost’ 20:34:26 Stashed 1 file(s) [Pipeline] } 20:34:26 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-445-5-stack-cost] [Pipeline] // lock [Pipeline] } 20:34:26 $ docker stop --time=1 d65b7d2ac6b08dcdbf4df01e09624c65242a6719ab83595c1b24263213337e1d 20:34:28 $ docker rm -f --volumes d65b7d2ac6b08dcdbf4df01e09624c65242a6719ab83595c1b24263213337e1d [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 20:34:28 provisioning config files... 20:34:28 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp/config2319828831620271480tmp [Pipeline] { [Pipeline] sh 20:34:28 + set +x 20:34:28 + curl -s https://codecov.io/bash 20:34:28 + bash -s -- 20:34:28 20:34:28 _____ _ 20:34:28 / ____| | | 20:34:28 | | ___ __| | ___ ___ _____ __ 20:34:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:34:28 | |___| (_) | (_| | __/ (_| (_) \ V / 20:34:28 \_____\___/ \__,_|\___|\___\___/ \_/ 20:34:28 Bash-1.0.6 20:34:28 20:34:28 20:34:28 ==> git version 2.25.1 found 20:34:28 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 20:34:28 Release-Date: 2020-01-08 20:34:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:34:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:34:28 ==> Jenkins CI detected. 20:34:28 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-445 20:34:28 project root: . 20:34:28 --> token set from env 20:34:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:34:28 ==> Running gcov in . (disable via -X gcov) 20:34:28 ==> Python coveragepy not found 20:34:28 ==> Searching for coverage reports in: 20:34:28 + . 20:34:28 -> Found 1 reports 20:34:28 ==> Detecting git/mercurial file structure 20:34:28 ==> Reading reports 20:34:28 + ./coverage.out bytes=23739 20:34:28 ==> Appending adjustments 20:34:28 https://docs.codecov.io/docs/fixing-reports 20:34:29 + Found adjustments 20:34:29 ==> Gzipping contents 20:34:29 4.0K /tmp/codecov.we1S3T.gz 20:34:29 ==> Uploading reports 20:34:29 url: https://codecov.io 20:34:29 query: branch=PR-445&commit=325a87336007c9cc853518d387d23ca49eb69bd5&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-445%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=445&job=&cmd_args= 20:34:29 -> Pinging Codecov 20:34:29 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-445&commit=325a87336007c9cc853518d387d23ca49eb69bd5&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-445%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=445&job=&cmd_args= 20:34:29 -> Uploading to 20:34:29 https://storage.googleapis.com/codecov/v4/raw/2023-03-28/55DBCA73C666E3227836607328DD7E49/325a87336007c9cc853518d387d23ca49eb69bd5/7217e89a-7157-415b-a49b-0fa6c488512d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230328%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230328T203429Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5d6d072d381b9146b19a6d352cd7711cf9e82d36737d5a377b32408e71bc3246 20:34:29 % Total % Received % Xferd Average Speed Time Time Time Current 20:34:29 Dload Upload Total Spent Left Speed 20:34:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3877 0 0 100 3877 0 15696 --:--:-- --:--:-- --:--:-- 15696 20:34:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/325a87336007c9cc853518d387d23ca49eb69bd5 [Pipeline] } 20:34:29 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 20:34:30 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-445/archives ] 20:34:30 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-445/archives 20:34:30 total 16 20:34:30 drwxr-xr-x 3 root root 4096 Mar 28 20:22 . 20:34:30 drwxrwxr-x 11 jenkins jenkins 4096 Mar 28 20:22 .. 20:34:30 drwxr-xr-x 2 root root 4096 Mar 28 20:22 cost 20:34:30 -rw-r--r-- 1 root root 88 Mar 28 20:22 cost.csv 20:34:30 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-445/archives 20:34:30 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-445/archives 20:34:30 total 16 20:34:30 drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 20:22 . 20:34:30 drwxrwxr-x 11 jenkins jenkins 4096 Mar 28 20:22 .. 20:34:30 drwxr-xr-x 2 jenkins jenkins 4096 Mar 28 20:22 cost 20:34:30 -rw-r--r-- 1 jenkins jenkins 88 Mar 28 20:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:34:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:34:31 ---> package-listing.sh 20:34:31 ++ facter osfamily 20:34:31 ++ tr '[:upper:]' '[:lower:]' 20:34:31 + OS_FAMILY=debian 20:34:31 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-445 20:34:31 + START_PACKAGES=/tmp/packages_start.txt 20:34:31 + END_PACKAGES=/tmp/packages_end.txt 20:34:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:34:31 + PACKAGES=/tmp/packages_start.txt 20:34:31 + '[' /w/workspace/xfoundry_device-modbus-go_PR-445 ']' 20:34:31 + PACKAGES=/tmp/packages_end.txt 20:34:31 + case "${OS_FAMILY}" in 20:34:31 + dpkg -l 20:34:31 + grep '^ii' 20:34:31 + '[' -f /tmp/packages_start.txt ']' 20:34:31 + '[' -f /tmp/packages_end.txt ']' 20:34:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:34:31 + '[' /w/workspace/xfoundry_device-modbus-go_PR-445 ']' 20:34:31 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-445/archives/ 20:34:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-445/archives/ [Pipeline] echo 20:34:31 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-445/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:34:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:34:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:34:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:34:32 prd-ubuntu20.04-docker-8c-8g-6111 does not seem to be running inside a container 20:34:32 $ 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-445/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-445 -v /w/workspace/xfoundry_device-modbus-go_PR-445:/w/workspace/xfoundry_device-modbus-go_PR-445:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-445@tmp:/w/workspace/xfoundry_device-modbus-go_PR-445@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:latest cat 20:34:33 $ docker top 3b5a0ccd48e03a788911e1c8975c07795637e8aee26ff92f1d03aa5ef654a8df -eo pid,comm [Pipeline] { [Pipeline] sh 20:34:33 + touch /tmp/pre-build-complete [Pipeline] sh 20:34:33 + mkdir -p /var/log/sysstat [Pipeline] sh 20:34:33 + ls /var/log/sa-host 20:34:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:34:34 provisioning config files... 20:34:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp/config8463684736065155084tmp [Pipeline] { [Pipeline] echo 20:34:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:34:34 ---> create-netrc.sh [Pipeline] } 20:34:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:34:34 ---> python-tools-install.sh [Pipeline] echo 20:34:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:34:35 ---> sudo-logs.sh 20:34:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:34:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:34:35 ---> job-cost.sh 20:34:35 lf-activate-venv: SKIPPING 20:34:35 DEBUG: total: 0.2199999988079071 20:34:35 INFO: Retrieving Stack Cost... 20:34:35 INFO: Retrieving Pricing Info for: v3-standard-8 20:34:36 INFO: Archiving Costs [Pipeline] echo 20:34:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:34:36 ---> logs-deploy.sh 20:34:36 lf-activate-venv: SKIPPING 20:34:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-445/5 20:34:36 INFO: archiving workspace using pattern(s): 20:34:37 Archives upload complete. 20:34:37 INFO: archiving logs to Nexus