Branch indexing 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 cc2551f8c6c10d1d02bc7af9946ca743999fc3f8 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-ssh6266779034718542691.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-ssh3643482501823750785.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-ssh13995913114230047894.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-ssh5343248559008033592.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-ssh5632054046371206109.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5820 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 > 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 Merging remotes/origin/main commit 63f56b440389908500f57809a79af5893e194475 into PR head commit cc2551f8c6c10d1d02bc7af9946ca743999fc3f8 Merge succeeded, producing 41f7c8757e3dcf7ddd01e0cf9dc3e85d246570b5 Checking out Revision 41f7c8757e3dcf7ddd01e0cf9dc3e85d246570b5 (PR-445) > git config core.sparsecheckout # timeout=10 > git checkout -f cc2551f8c6c10d1d02bc7af9946ca743999fc3f8 # 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 41f7c8757e3dcf7ddd01e0cf9dc3e85d246570b5 # timeout=10 Commit message: "Merge commit '63f56b440389908500f57809a79af5893e194475' into HEAD" > git rev-list --no-walk cc2551f8c6c10d1d02bc7af9946ca743999fc3f8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:52:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:52:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:52:27 ========================================================= 00:52:27 EdgeX Global Pipelines Version Info 00:52:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:52:28 ------------------- 00:52:28 stable info: 00:52:28 ------------------- 00:52:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:52:28 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 00:52:28 Message: update stable to v1.0.245 00:52:28 ------------------- 00:52:28 experimental info: 00:52:28 ------------------- 00:52:28 Commited By: **** collab-it+edgex@linuxfoundation.org 00:52:28 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 00:52:28 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:52:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 00:52:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 00:52:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:52:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:52:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:52:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:52:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:52:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:52:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:52:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:52:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:52:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 00:52:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:52:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:52:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:52:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:52:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:52:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:52:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:52:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:52:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:52:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:52:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:52:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:52:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:52:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:52:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:52:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-445 [Pipeline] echo 00:52:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-445 [Pipeline] echo 00:52:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-445 [Pipeline] echo 00:52:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 41f7c8757e3dcf7ddd01e0cf9dc3e85d246570b5 [Pipeline] echo 00:52:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 41f7c87 [Pipeline] echo 00:52:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:52:29 provisioning config files... 00:52:29 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp/config13022563922797422594tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:52:29 ---> docker-login.sh 00:52:29 nexus3.edgexfoundry.org:10001 00:52:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:52:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:52:30 Configure a credential helper to remove this warning. See 00:52:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:52:30 00:52:30 Login Succeeded 00:52:30 nexus3.edgexfoundry.org:10002 00:52:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:52:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:52:30 Configure a credential helper to remove this warning. See 00:52:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:52:30 00:52:30 Login Succeeded 00:52:30 nexus3.edgexfoundry.org:10003 00:52:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:52:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:52:30 Configure a credential helper to remove this warning. See 00:52:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:52:30 00:52:30 Login Succeeded 00:52:30 nexus3.edgexfoundry.org:10004 00:52:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:52:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:52:30 Configure a credential helper to remove this warning. See 00:52:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:52:30 00:52:30 Login Succeeded 00:52:30 docker.io 00:52:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:52:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:52:30 Configure a credential helper to remove this warning. See 00:52:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:52:30 00:52:30 Login Succeeded 00:52:30 ---> docker-login.sh ends [Pipeline] } 00:52:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:52:31 + git rev-list -1 --merges 41f7c8757e3dcf7ddd01e0cf9dc3e85d246570b5~1..41f7c8757e3dcf7ddd01e0cf9dc3e85d246570b5 [Pipeline] echo 00:52:31 -----------> git rev-list -1 --merges 41f7c8757e3dcf7ddd01e0cf9dc3e85d246570b5~1..41f7c8757e3dcf7ddd01e0cf9dc3e85d246570b5 41f7c8757e3dcf7ddd01e0cf9dc3e85d246570b5 00:52:31 41f7c8757e3dcf7ddd01e0cf9dc3e85d246570b5 [false] [Pipeline] sh 00:52:31 + git log --format=format:%s -1 41f7c8757e3dcf7ddd01e0cf9dc3e85d246570b5 [Pipeline] echo 00:52:31 ========================================================= 00:52:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:52:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:52:31 + git log --format=format:%s -1 41f7c8757e3dcf7ddd01e0cf9dc3e85d246570b5 [Pipeline] echo 00:52:31 [semverPrep] GIT_COMMIT: 41f7c8757e3dcf7ddd01e0cf9dc3e85d246570b5, Commit Message: Merge commit '63f56b440389908500f57809a79af5893e194475' into HEAD [Pipeline] echo 00:52:31 [semverPrep] This is not a build commit. [Pipeline] sh 00:52:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:52:32 + grep -v github /etc/ssh/ssh_known_hosts 00:52:32 + [ -e /tmp/ssh_known_hosts ] 00:52:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:52:32 + + sudo tee -a /etc/ssh/ssh_known_hosts 00:52:32 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:52:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:52:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:52:32 00:52:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:52:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:52:32 0.1.4: Pulling from edgex-devops/py-git-semver 00:52:32 b85a868b505f: Pulling fs layer 00:52:32 e2be974225ed: Pulling fs layer 00:52:32 339a4e72a1f5: Pulling fs layer 00:52:32 988bab9f4d93: Pulling fs layer 00:52:32 1469e6f7b9e6: Pulling fs layer 00:52:32 eaf3925da568: Pulling fs layer 00:52:32 bab4dde63d76: Pulling fs layer 00:52:32 bde34c3a00c8: Pulling fs layer 00:52:32 b352a97aabf1: Pulling fs layer 00:52:32 eaf3925da568: Waiting 00:52:32 4872d77fe225: Pulling fs layer 00:52:32 5851b861e8e6: Pulling fs layer 00:52:32 bab4dde63d76: Waiting 00:52:32 bde34c3a00c8: Waiting 00:52:32 b352a97aabf1: Waiting 00:52:32 4872d77fe225: Waiting 00:52:32 5851b861e8e6: Waiting 00:52:32 988bab9f4d93: Waiting 00:52:32 e2be974225ed: Verifying Checksum 00:52:32 e2be974225ed: Download complete 00:52:32 988bab9f4d93: Download complete 00:52:32 1469e6f7b9e6: Verifying Checksum 00:52:32 1469e6f7b9e6: Download complete 00:52:33 339a4e72a1f5: Verifying Checksum 00:52:33 339a4e72a1f5: Download complete 00:52:33 eaf3925da568: Download complete 00:52:33 b352a97aabf1: Download complete 00:52:33 4872d77fe225: Verifying Checksum 00:52:33 4872d77fe225: Download complete 00:52:33 5851b861e8e6: Verifying Checksum 00:52:33 5851b861e8e6: Download complete 00:52:33 b85a868b505f: Verifying Checksum 00:52:33 b85a868b505f: Download complete 00:52:33 bab4dde63d76: Verifying Checksum 00:52:33 bab4dde63d76: Download complete 00:52:34 b85a868b505f: Pull complete 00:52:34 e2be974225ed: Pull complete 00:52:34 339a4e72a1f5: Pull complete 00:52:35 988bab9f4d93: Pull complete 00:52:35 1469e6f7b9e6: Pull complete 00:52:35 eaf3925da568: Pull complete 00:52:37 bab4dde63d76: Pull complete 00:52:37 bde34c3a00c8: Pull complete 00:52:37 b352a97aabf1: Pull complete 00:52:37 4872d77fe225: Pull complete 00:52:37 5851b861e8e6: Pull complete 00:52:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:52:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:52:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:52:37 prd-ubuntu20.04-docker-8c-8g-5820 does not seem to be running inside a container 00:52:37 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:52:41 $ docker top ea643e434eeba65590b296ad04a71e262aae2d3f8e163404753ab9a6d117e794 -eo pid,comm 00:52:41 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:52:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:52:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:52:41 [ssh-agent] Looking for ssh-agent implementation... 00:52:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:52:41 $ docker exec ea643e434eeba65590b296ad04a71e262aae2d3f8e163404753ab9a6d117e794 ssh-agent 00:52:41 SSH_AUTH_SOCK=/tmp/ssh-z6VlIwVn7AUF/agent.33 00:52:41 SSH_AGENT_PID=39 00:52:41 Running ssh-add (command line suppressed) 00:52:41 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-445@tmp/private_key_12899394199517841947.key (/w/workspace/xfoundry_device-modbus-go_PR-445@tmp/private_key_12899394199517841947.key) 00:52:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:52:42 + git tag --points-at HEAD [Pipeline] } 00:52:42 $ docker exec --env ******** --env ******** ea643e434eeba65590b296ad04a71e262aae2d3f8e163404753ab9a6d117e794 ssh-agent -k 00:52:42 unset SSH_AUTH_SOCK; 00:52:42 unset SSH_AGENT_PID; 00:52:42 echo Agent pid 39 killed; 00:52:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:52:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:52:42 [ssh-agent] Looking for ssh-agent implementation... 00:52:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:52:42 $ docker exec ea643e434eeba65590b296ad04a71e262aae2d3f8e163404753ab9a6d117e794 ssh-agent 00:52:42 SSH_AUTH_SOCK=/tmp/ssh-gXvSWWMG5SSN/agent.71 00:52:42 SSH_AGENT_PID=77 00:52:42 Running ssh-add (command line suppressed) 00:52:42 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-445@tmp/private_key_14344297365641577459.key (/w/workspace/xfoundry_device-modbus-go_PR-445@tmp/private_key_14344297365641577459.key) 00:52:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:52:42 + git semver init 00:52:43 2023-03-26 00:52:43,143 [run_init] DEBUG init version:0.0.0 force:False 00:52:43 2023-03-26 00:52:43,144 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-445/.semver 00:52:43 2023-03-26 00:52:43,144 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-445/.semver 00:52:43 2023-03-26 00:52:43,144 [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) 00:52:44 2023-03-26 00:52:43,906 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-445/.git/info/exclude 00:52:44 2023-03-26 00:52:43,907 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-445/.semver/PR-445 with force:False 00:52:44 2023-03-26 00:52:43,907 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-445/.semver/PR-445 00:52:44 2023-03-26 00:52:43,911 [execute] INFO git cat-file --batch-check 00:52:44 2023-03-26 00:52:43,912 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-445/.semver, universal_newlines=False, shell=None, istream=) 00:52:44 2023-03-26 00:52:43,917 [execute] INFO git cat-file --batch 00:52:44 2023-03-26 00:52:43,917 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-445/.semver, universal_newlines=False, shell=None, istream=) 00:52:44 2023-03-26 00:52:43,922 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-445/.semver/PR-445 00:52:44 0.0.0 [Pipeline] } 00:52:44 $ docker exec --env ******** --env ******** ea643e434eeba65590b296ad04a71e262aae2d3f8e163404753ab9a6d117e794 ssh-agent -k 00:52:44 unset SSH_AUTH_SOCK; 00:52:44 unset SSH_AGENT_PID; 00:52:44 echo Agent pid 77 killed; 00:52:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:52:44 + git semver [Pipeline] } 00:52:44 $ docker stop --time=1 ea643e434eeba65590b296ad04a71e262aae2d3f8e163404753ab9a6d117e794 00:52:46 $ docker rm -f --volumes ea643e434eeba65590b296ad04a71e262aae2d3f8e163404753ab9a6d117e794 [Pipeline] // withDockerContainer [Pipeline] sh 00:52:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:52:46 Stashed 1 file(s) [Pipeline] echo 00:52:46 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:52:46 provisioning config files... 00:52:46 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp/config9141739793253599579tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:52:47 ---> docker-login.sh 00:52:47 nexus3.edgexfoundry.org:10001 00:52:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:52:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:52:47 Configure a credential helper to remove this warning. See 00:52:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:52:47 00:52:47 Login Succeeded 00:52:47 nexus3.edgexfoundry.org:10002 00:52:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:52:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:52:47 Configure a credential helper to remove this warning. See 00:52:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:52:47 00:52:47 Login Succeeded 00:52:47 nexus3.edgexfoundry.org:10003 00:52:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:52:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:52:47 Configure a credential helper to remove this warning. See 00:52:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:52:47 00:52:47 Login Succeeded 00:52:47 nexus3.edgexfoundry.org:10004 00:52:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:52:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:52:47 Configure a credential helper to remove this warning. See 00:52:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:52:47 00:52:47 Login Succeeded 00:52:47 docker.io 00:52:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:52:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:52:47 Configure a credential helper to remove this warning. See 00:52:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:52:47 00:52:47 Login Succeeded 00:52:47 ---> docker-login.sh ends [Pipeline] } 00:52:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:52:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:52:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:52:47 ========================================================= 00:52:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:52:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:52:48 + 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 . 00:52:48 Sending build context to Docker daemon 6.441MB 00:52:48 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 00:52:48 Step 2/10 : FROM ${BASE} AS builder 00:52:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:52:48 63b65145d645: Pulling fs layer 00:52:48 a2d21d5440eb: Pulling fs layer 00:52:48 935e6c44a52c: Pulling fs layer 00:52:48 94cc34f8dd06: Pulling fs layer 00:52:48 30dea6a524f1: Pulling fs layer 00:52:48 a2aff8979fd8: Pulling fs layer 00:52:48 6808be2612f2: Pulling fs layer 00:52:48 f25807f1079a: Pulling fs layer 00:52:48 6808be2612f2: Waiting 00:52:48 94cc34f8dd06: Waiting 00:52:48 a2aff8979fd8: Waiting 00:52:48 a2d21d5440eb: Verifying Checksum 00:52:48 a2d21d5440eb: Download complete 00:52:48 94cc34f8dd06: Verifying Checksum 00:52:48 94cc34f8dd06: Download complete 00:52:48 30dea6a524f1: Download complete 00:52:48 63b65145d645: Verifying Checksum 00:52:48 63b65145d645: Download complete 00:52:48 a2aff8979fd8: Verifying Checksum 00:52:48 a2aff8979fd8: Download complete 00:52:48 63b65145d645: Pull complete 00:52:48 a2d21d5440eb: Pull complete 00:52:48 f25807f1079a: Verifying Checksum 00:52:48 f25807f1079a: Download complete 00:52:48 935e6c44a52c: Verifying Checksum 00:52:48 935e6c44a52c: Download complete 00:52:48 6808be2612f2: Verifying Checksum 00:52:48 6808be2612f2: Download complete 00:52:52 935e6c44a52c: Pull complete 00:52:52 94cc34f8dd06: Pull complete 00:52:52 30dea6a524f1: Pull complete 00:52:52 a2aff8979fd8: Pull complete 00:52:54 6808be2612f2: Pull complete 00:52:55 f25807f1079a: Pull complete 00:52:55 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 00:52:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:52:55 ---> 3b553350e43f 00:52:55 Step 3/10 : ARG ADD_BUILD_TAGS="" 00:53:01 Still waiting to schedule task 00:53:01 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 00:53:03 ---> Running in dbaf88ad9f36 00:53:03 Removing intermediate container dbaf88ad9f36 00:53:03 ---> c3b09063ff8f 00:53:03 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:53:03 ---> Running in 321ccfcc597c 00:53:03 Removing intermediate container 321ccfcc597c 00:53:03 ---> 1074a2250341 00:53:03 Step 5/10 : RUN apk add --update --no-cache make git openssh 00:53:03 ---> Running in 3ba7711f39c7 00:53:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:53:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:53:03 (1/8) Installing openssh-keygen (9.1_p1-r2) 00:53:03 (2/8) Installing libedit (20221030.3.1-r0) 00:53:03 (3/8) Installing openssh-client-common (9.1_p1-r2) 00:53:03 (4/8) Installing openssh-client-default (9.1_p1-r2) 00:53:03 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 00:53:03 (6/8) Installing openssh-server-common (9.1_p1-r2) 00:53:03 (7/8) Installing openssh-server (9.1_p1-r2) 00:53:03 (8/8) Installing openssh (9.1_p1-r2) 00:53:03 Executing busybox-1.35.0-r29.trigger 00:53:03 OK: 270 MiB in 61 packages 00:53:03 Removing intermediate container 3ba7711f39c7 00:53:03 ---> 33bb7c12f765 00:53:03 Step 6/10 : WORKDIR /device-modbus-go 00:53:03 ---> Running in 46f07478b889 00:53:03 Removing intermediate container 46f07478b889 00:53:03 ---> c225d7e5e6a7 00:53:03 Step 7/10 : COPY go.mod vendor* ./ 00:53:03 ---> f064afcd1ac2 00:53:03 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:53:03 ---> Running in 43a892cc0d6c 00:53:50 Removing intermediate container 43a892cc0d6c 00:53:50 ---> 01e869bb3e99 00:53:50 Step 9/10 : COPY . . 00:53:50 ---> 81ff2e200de1 00:53:50 Step 10/10 : RUN ${MAKE} 00:53:50 ---> Running in f1dcb0d8d12a 00:53:50 noop 00:53:50 Removing intermediate container f1dcb0d8d12a 00:53:50 ---> a1cd765536a2 00:53:50 Successfully built a1cd765536a2 00:53:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:50 + docker inspect -f . ci-base-image-x86_64 00:53:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:53:50 prd-ubuntu20.04-docker-8c-8g-5820 does not seem to be running inside a container 00:53:50 $ 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 ******** ci-base-image-x86_64 cat 00:53:51 $ docker top 70b074d1151249e6cb9e39bd1070cb222000017eab3f593272c813a1c9453695 -eo pid,comm [Pipeline] { [Pipeline] sh 00:53:51 + go version 00:53:51 go version go1.20.2 linux/amd64 [Pipeline] } 00:53:51 $ docker stop --time=1 70b074d1151249e6cb9e39bd1070cb222000017eab3f593272c813a1c9453695 00:53:52 $ docker rm -f --volumes 70b074d1151249e6cb9e39bd1070cb222000017eab3f593272c813a1c9453695 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:53 + docker inspect -f . ci-base-image-x86_64 00:53:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:53:53 prd-ubuntu20.04-docker-8c-8g-5820 does not seem to be running inside a container 00:53:53 $ 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 ******** ci-base-image-x86_64 cat 00:53:53 $ docker top af80c57de5825ffbf38d0c4dca541403da9ea6d59d713871ecef906091b84432 -eo pid,comm [Pipeline] { [Pipeline] sh 00:53:54 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-445 [Pipeline] fileExists [Pipeline] sh 00:53:54 + make test 00:53:54 go test ./... -coverprofile=coverage.out 00:53:59 ? github.com/edgexfoundry/device-modbus-go [no test files] 00:54:09 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 00:54:09 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 48.0% of statements 00:54:13 go vet ./... 00:54:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:54:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:54:17 ./bin/test-attribution-txt.sh [Pipeline] echo 00:54:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:54:17 $ docker stop --time=1 af80c57de5825ffbf38d0c4dca541403da9ea6d59d713871ecef906091b84432 00:54:21 $ docker rm -f --volumes af80c57de5825ffbf38d0c4dca541403da9ea6d59d713871ecef906091b84432 [Pipeline] // withDockerContainer [Pipeline] sh 00:54:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:54:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:54:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:54:22 + ls -al . 00:54:22 total 180 00:54:22 drwxrwxr-x 10 jenkins jenkins 4096 Mar 26 00:53 . 00:54:22 drwxrwxr-x 4 jenkins jenkins 4096 Mar 26 00:52 .. 00:54:22 -rw-rw-r-- 1 jenkins jenkins 140 Mar 26 00:52 .dockerignore 00:54:22 drwxrwxr-x 8 jenkins jenkins 4096 Mar 26 00:52 .git 00:54:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 26 00:52 .github 00:54:22 -rw-rw-r-- 1 jenkins jenkins 331 Mar 26 00:52 .gitignore 00:54:22 -rw-rw-r-- 1 jenkins jenkins 41 Mar 26 00:52 .golangci.yml 00:54:22 drwxr-xr-x 3 jenkins jenkins 4096 Mar 26 00:52 .semver 00:54:22 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 26 00:52 Attribution.txt 00:54:22 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 26 00:52 CHANGELOG.md 00:54:22 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 26 00:52 Dockerfile 00:54:22 -rw-rw-r-- 1 jenkins jenkins 677 Mar 26 00:52 GOVERNANCE.md 00:54:22 -rw-rw-r-- 1 jenkins jenkins 680 Mar 26 00:52 Jenkinsfile 00:54:22 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 26 00:52 LICENSE 00:54:22 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 26 00:52 Makefile 00:54:22 -rw-rw-r-- 1 jenkins jenkins 622 Mar 26 00:52 OWNERS.md 00:54:22 -rw-rw-r-- 1 jenkins jenkins 4045 Mar 26 00:52 README.md 00:54:22 -rw-rw-r-- 1 jenkins jenkins 5 Mar 26 00:52 VERSION 00:54:22 drwxrwxr-x 2 jenkins jenkins 4096 Mar 26 00:52 bin 00:54:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 26 00:52 cmd 00:54:22 -rw-r--r-- 1 jenkins jenkins 23739 Mar 26 00:54 coverage.out 00:54:22 -rw-rw-r-- 1 jenkins jenkins 3498 Mar 26 00:52 go.mod 00:54:22 -rw-rw-r-- 1 jenkins jenkins 31643 Mar 26 00:52 go.sum 00:54:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 26 00:52 internal 00:54:22 drwxrwxr-x 2 jenkins jenkins 4096 Mar 26 00:52 simulator 00:54:22 drwxrwxr-x 4 jenkins jenkins 4096 Mar 26 00:52 snap 00:54:22 -rw-rw-r-- 1 jenkins jenkins 229 Mar 26 00:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:22 + 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=41f7c8757e3dcf7ddd01e0cf9dc3e85d246570b5 --label arch=amd64 --label version=0.0.0 . 00:54:22 Sending build context to Docker daemon 6.466MB 00:54:22 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 00:54:22 Step 2/22 : FROM ${BASE} AS builder 00:54:22 ---> a1cd765536a2 00:54:22 Step 3/22 : ARG ADD_BUILD_TAGS="" 00:54:23 ---> Running in 32d8cb4c341e 00:54:23 Removing intermediate container 32d8cb4c341e 00:54:23 ---> e413757fb418 00:54:23 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:54:23 ---> Running in 4b38f9e1961b 00:54:23 Removing intermediate container 4b38f9e1961b 00:54:23 ---> 18c8fcbd4de3 00:54:23 Step 5/22 : RUN apk add --update --no-cache make git openssh 00:54:24 ---> Running in 64261e756d57 00:54:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:54:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:54:24 OK: 270 MiB in 61 packages 00:54:25 Removing intermediate container 64261e756d57 00:54:25 ---> 76b9a13c9f49 00:54:25 Step 6/22 : WORKDIR /device-modbus-go 00:54:25 ---> Running in ad341f7b0fee 00:54:26 Removing intermediate container ad341f7b0fee 00:54:26 ---> 2888b3835dbc 00:54:26 Step 7/22 : COPY go.mod vendor* ./ 00:54:26 ---> 32ff0c5aa544 00:54:26 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:54:26 ---> Running in 6e6b0e6693a6 00:54:28 Removing intermediate container 6e6b0e6693a6 00:54:28 ---> 75514a269f6f 00:54:28 Step 9/22 : COPY . . 00:54:28 ---> c68cd686afed 00:54:28 Step 10/22 : RUN ${MAKE} 00:54:28 ---> Running in 1d9f727317a2 00:54:29 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 00:54:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5823 in /w/workspace/xfoundry_device-modbus-go_PR-445 [Pipeline] { [Pipeline] ws 00:54:37 Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout 00:54:37 Selected Git installation does not exist. Using Default 00:54:37 The recommended git tool is: NONE 00:54:42 using credential edgex-jenkins-ssh 00:54:42 Cloning the remote Git repository 00:54:43 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 00:54:43 > git init /w/workspace/device-modbus-go/3 # timeout=10 00:54:43 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:54:43 > git --version # timeout=10 00:54:43 > git --version # 'git version 2.25.1' 00:54:43 using GIT_SSH to set credentials SSH Credentials for GitHub 00:54:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:54:44 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:54:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:54:45 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:54:45 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:54:45 using GIT_SSH to set credentials SSH Credentials for GitHub 00:54:45 > 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 00:54:46 Merging remotes/origin/main commit 63f56b440389908500f57809a79af5893e194475 into PR head commit cc2551f8c6c10d1d02bc7af9946ca743999fc3f8 00:54:46 Merge succeeded, producing f264435248d8ce786653ba4b4c8d650ed4ec2e0d 00:54:46 Checking out Revision f264435248d8ce786653ba4b4c8d650ed4ec2e0d (PR-445) 00:54:46 > git config core.sparsecheckout # timeout=10 00:54:46 > git checkout -f cc2551f8c6c10d1d02bc7af9946ca743999fc3f8 # timeout=10 00:54:46 > git remote # timeout=10 00:54:46 > git config --get remote.origin.url # timeout=10 00:54:46 using GIT_SSH to set credentials SSH Credentials for GitHub 00:54:46 > git merge 63f56b440389908500f57809a79af5893e194475 # timeout=10 00:54:46 > git rev-parse HEAD^{commit} # timeout=10 00:54:46 > git config core.sparsecheckout # timeout=10 00:54:46 > git checkout -f f264435248d8ce786653ba4b4c8d650ed4ec2e0d # timeout=10 00:54:50 Commit message: "Merge commit '63f56b440389908500f57809a79af5893e194475' into HEAD" 00:54:50 > git rev-list --no-walk cc2551f8c6c10d1d02bc7af9946ca743999fc3f8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:54:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:54:51 % Total % Received % Xferd Average Speed Time Time Time Current 00:54:51 Dload Upload Total Spent Left Speed 00:54:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82264 0 --:--:-- --:--:-- --:--:-- 82798 00:54:51 Removing intermediate container 1d9f727317a2 00:54:51 ---> 80db7e14cdc2 00:54:51 Step 11/22 : FROM alpine:3.17 00:54:51 3.17: Pulling from library/alpine 00:54:51 63b65145d645: Already exists 00:54:51 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 00:54:51 Status: Downloaded newer image for alpine:3.17 00:54:51 ---> b2aa39c304c2 00:54:51 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 00:54:51 ---> Running in f17ecf30b11e 00:54:51 Removing intermediate container f17ecf30b11e 00:54:51 ---> d53a3a720bb8 00:54:51 Step 13/22 : RUN apk add --update --no-cache dumb-init 00:54:51 ---> Running in ae322cda3080 00:54:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:54:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:54:51 (1/1) Installing dumb-init (1.2.5-r2) 00:54:51 Executing busybox-1.35.0-r29.trigger 00:54:51 OK: 7 MiB in 16 packages 00:54:51 Removing intermediate container ae322cda3080 00:54:51 ---> 3645fb8167f9 00:54:51 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [Pipeline] sh 00:54:51 ---> cfd1c95422f7 00:54:51 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 00:54:51 ---> 2c4bfcdbc69b 00:54:51 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 00:54:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:54:52 ---> 87b4dfa6c7c1 00:54:52 Step 17/22 : EXPOSE 59901 00:54:52 ---> Running in 6cca126da84e 00:54:52 Removing intermediate container 6cca126da84e 00:54:52 ---> 4ab634ef8d2c 00:54:52 Step 18/22 : ENTRYPOINT ["/device-modbus"] 00:54:52 ---> Running in 73871e18821a 00:54:52 Removing intermediate container 73871e18821a 00:54:52 ---> 99a560b3b765 00:54:52 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:54:52 ---> Running in 1b73ca406e9c 00:54:52 + + sudo teesudo /etc/docker/daemon.new jq 00:54:52 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:54:52 { 00:54:52 "registry-mirrors": [ 00:54:52 "https://nexus3.edgexfoundry.org:10001" 00:54:52 ], 00:54:52 "bip": "10.250.0.254/24", 00:54:52 "hosts": [ 00:54:52 "tcp://0.0.0.0:5555", 00:54:52 "unix:///var/run/docker.sock" 00:54:52 ], 00:54:52 "mtu": 1458, 00:54:52 "selinux-enabled": true, 00:54:52 "seccomp-profile": "/etc/docker/seccomp.json" 00:54:52 } [Pipeline] sh 00:54:52 Removing intermediate container 1b73ca406e9c 00:54:52 ---> 555303a00cc1 00:54:52 Step 20/22 : LABEL arch=amd64 00:54:52 ---> Running in 5301e4f11f15 00:54:52 Removing intermediate container 5301e4f11f15 00:54:52 ---> f037fe3e71aa 00:54:52 Step 21/22 : LABEL git_sha=41f7c8757e3dcf7ddd01e0cf9dc3e85d246570b5 00:54:52 ---> Running in fad5c9479d1b 00:54:52 Removing intermediate container fad5c9479d1b 00:54:52 ---> b67bacef1e33 00:54:52 Step 22/22 : LABEL version=0.0.0 00:54:52 ---> Running in eb655bb1255c 00:54:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:54:52 Removing intermediate container eb655bb1255c 00:54:52 ---> 738e4b867501 00:54:52 [Warning] One or more build-args [ARCH] were not consumed 00:54:52 Successfully built 738e4b867501 00:54:52 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 00:54:53 + sudo service docker restart 00:54:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:54:53 00:54:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:54:53 latest: Pulling from edgex-lftools-log-publisher 00:54:53 5eb5b503b376: Pulling fs layer 00:54:53 5c69ac0246d0: Pulling fs layer 00:54:53 ec43610c2a17: Pulling fs layer 00:54:53 3a2ae6a8a46f: Pulling fs layer 00:54:53 33b1e0a273af: Pulling fs layer 00:54:53 3a2ae6a8a46f: Waiting 00:54:53 5d3b04190fa2: Pulling fs layer 00:54:53 2f39f015ded8: Pulling fs layer 00:54:53 33b1e0a273af: Waiting 00:54:53 5d3b04190fa2: Waiting 00:54:53 5c69ac0246d0: Download complete 00:54:53 3a2ae6a8a46f: Verifying Checksum 00:54:53 3a2ae6a8a46f: Download complete 00:54:53 33b1e0a273af: Verifying Checksum 00:54:53 33b1e0a273af: Download complete 00:54:53 5d3b04190fa2: Verifying Checksum 00:54:53 5d3b04190fa2: Download complete 00:54:53 ec43610c2a17: Verifying Checksum 00:54:53 ec43610c2a17: Download complete 00:54:53 5eb5b503b376: Verifying Checksum 00:54:53 5eb5b503b376: Download complete 00:54:54 2f39f015ded8: Verifying Checksum 00:54:54 2f39f015ded8: Download complete 00:54:54 5eb5b503b376: Pull complete 00:54:54 5c69ac0246d0: Pull complete 00:54:55 ec43610c2a17: Pull complete 00:54:55 3a2ae6a8a46f: Pull complete 00:54:55 33b1e0a273af: Pull complete 00:54:55 5d3b04190fa2: Pull complete 00:54:59 2f39f015ded8: Pull complete 00:54:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:54:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:54:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:54:59 prd-ubuntu20.04-docker-8c-8g-5820 does not seem to be running inside a container 00:54:59 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:55:05 $ docker top 0ce4fb74c0ea6d31103359dd9a3c26622cb1ae24abdbf5540a86b97173b5dcf0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:55:06 ---> job-cost.sh 00:55:06 lf-activate-venv: SKIPPING 00:55:06 INFO: No Stack... 00:55:06 INFO: Retrieving Pricing Info for: v3-standard-8 00:55:06 INFO: Archiving Costs [Pipeline] sh 00:55:07 + cat /w/workspace/xfoundry_device-modbus-go_PR-445/archives/cost.csv 00:55:07 + cut -d, -f6 [Pipeline] lock 00:55:07 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-445-3-stack-cost] 00:55:07 Resource [jenkins-edgexfoundry-device-modbus-go-PR-445-3-stack-cost] did not exist. Created. 00:55:07 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-445-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:55:07 + echo total: 0.2199999988079071 [Pipeline] stash 00:55:07 Stashed 1 file(s) [Pipeline] } 00:55:07 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-445-3-stack-cost] [Pipeline] // lock [Pipeline] } 00:55:07 $ docker stop --time=1 0ce4fb74c0ea6d31103359dd9a3c26622cb1ae24abdbf5540a86b97173b5dcf0 00:55:09 $ docker rm -f --volumes 0ce4fb74c0ea6d31103359dd9a3c26622cb1ae24abdbf5540a86b97173b5dcf0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:55:11 provisioning config files... 00:55:11 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/3@tmp/config14556660523058082529tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:55:11 ---> docker-login.sh 00:55:11 nexus3.edgexfoundry.org:10001 00:55:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:12 Configure a credential helper to remove this warning. See 00:55:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:12 00:55:12 Login Succeeded 00:55:12 nexus3.edgexfoundry.org:10002 00:55:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:12 Configure a credential helper to remove this warning. See 00:55:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:12 00:55:12 Login Succeeded 00:55:12 nexus3.edgexfoundry.org:10003 00:55:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:13 Configure a credential helper to remove this warning. See 00:55:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:13 00:55:13 Login Succeeded 00:55:13 nexus3.edgexfoundry.org:10004 00:55:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:13 Configure a credential helper to remove this warning. See 00:55:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:13 00:55:13 Login Succeeded 00:55:13 docker.io 00:55:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:13 Configure a credential helper to remove this warning. See 00:55:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:13 00:55:13 Login Succeeded 00:55:13 ---> docker-login.sh ends [Pipeline] } 00:55:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:55:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:55:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:55:14 ========================================================= 00:55:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:55:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:14 + 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 . 00:55:14 Sending build context to Docker daemon 3.388MB 00:55:14 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 00:55:14 Step 2/10 : FROM ${BASE} AS builder 00:55:15 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:55:15 af6eaf76a39c: Pulling fs layer 00:55:15 55522c791124: Pulling fs layer 00:55:15 ce5c4a1c91eb: Pulling fs layer 00:55:15 169dfbe0d373: Pulling fs layer 00:55:15 e1ff8fa3b103: Pulling fs layer 00:55:15 52ebb69f0ebf: Pulling fs layer 00:55:15 5abe8eddf0d5: Pulling fs layer 00:55:15 169dfbe0d373: Waiting 00:55:15 52ebb69f0ebf: Waiting 00:55:15 e1ff8fa3b103: Waiting 00:55:15 5abe8eddf0d5: Waiting 00:55:15 55522c791124: Verifying Checksum 00:55:15 55522c791124: Download complete 00:55:15 169dfbe0d373: Verifying Checksum 00:55:15 169dfbe0d373: Download complete 00:55:15 e1ff8fa3b103: Verifying Checksum 00:55:15 e1ff8fa3b103: Download complete 00:55:15 af6eaf76a39c: Verifying Checksum 00:55:16 af6eaf76a39c: Pull complete 00:55:16 5abe8eddf0d5: Verifying Checksum 00:55:16 5abe8eddf0d5: Download complete 00:55:16 55522c791124: Pull complete 00:55:17 ce5c4a1c91eb: Verifying Checksum 00:55:17 ce5c4a1c91eb: Download complete 00:55:17 52ebb69f0ebf: Verifying Checksum 00:55:17 52ebb69f0ebf: Download complete 00:55:27 ce5c4a1c91eb: Pull complete 00:55:28 169dfbe0d373: Pull complete 00:55:28 e1ff8fa3b103: Pull complete 00:55:35 52ebb69f0ebf: Pull complete 00:55:36 5abe8eddf0d5: Pull complete 00:55:36 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 00:55:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:55:36 ---> 6cb57ee374ae 00:55:36 Step 3/10 : ARG ADD_BUILD_TAGS="" 00:55:38 ---> Running in 8d5039910809 00:55:38 Removing intermediate container 8d5039910809 00:55:38 ---> 6007358ec5d2 00:55:38 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:55:38 ---> Running in d03dd51119d5 00:55:38 Removing intermediate container d03dd51119d5 00:55:38 ---> f4606213a599 00:55:38 Step 5/10 : RUN apk add --update --no-cache make git openssh 00:55:39 ---> Running in 01d02eeb6e7e 00:55:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:55:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:55:42 (1/8) Installing openssh-keygen (9.1_p1-r2) 00:55:42 (2/8) Installing libedit (20221030.3.1-r0) 00:55:42 (3/8) Installing openssh-client-common (9.1_p1-r2) 00:55:42 (4/8) Installing openssh-client-default (9.1_p1-r2) 00:55:42 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 00:55:42 (6/8) Installing openssh-server-common (9.1_p1-r2) 00:55:42 (7/8) Installing openssh-server (9.1_p1-r2) 00:55:42 (8/8) Installing openssh (9.1_p1-r2) 00:55:42 Executing busybox-1.35.0-r29.trigger 00:55:42 OK: 270 MiB in 61 packages 00:55:43 Removing intermediate container 01d02eeb6e7e 00:55:43 ---> 61c581324f92 00:55:43 Step 6/10 : WORKDIR /device-modbus-go 00:55:43 ---> Running in 0cf4c6513d09 00:55:43 Removing intermediate container 0cf4c6513d09 00:55:43 ---> 45e4018ea411 00:55:43 Step 7/10 : COPY go.mod vendor* ./ 00:55:44 ---> e91004f6a3f7 00:55:44 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:55:44 ---> Running in 037b672cdc8f 00:56:52 Removing intermediate container 037b672cdc8f 00:56:52 ---> 1c78c23a252c 00:56:52 Step 9/10 : COPY . . 00:56:52 ---> ace227499b46 00:56:52 Step 10/10 : RUN ${MAKE} 00:56:52 ---> Running in 7a581a062fef 00:56:52 noop 00:56:52 Removing intermediate container 7a581a062fef 00:56:52 ---> c74e8f063157 00:56:52 Successfully built c74e8f063157 00:56:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:52 + docker inspect -f . ci-base-image-arm64 00:56:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:53 prd-ubuntu20.04-docker-arm64-4c-16g-5823 does not seem to be running inside a container 00:56:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:56:54 $ docker top 3b873d9365ac130b4646445975bbe3011bcdb6a8d6898cc5f49a4fabc7277f6f -eo pid,comm [Pipeline] { [Pipeline] sh 00:56:55 + go version 00:56:55 go version go1.20.2 linux/arm64 [Pipeline] } 00:56:55 $ docker stop --time=1 3b873d9365ac130b4646445975bbe3011bcdb6a8d6898cc5f49a4fabc7277f6f 00:56:57 $ docker rm -f --volumes 3b873d9365ac130b4646445975bbe3011bcdb6a8d6898cc5f49a4fabc7277f6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:57 + docker inspect -f . ci-base-image-arm64 00:56:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:57 prd-ubuntu20.04-docker-arm64-4c-16g-5823 does not seem to be running inside a container 00:56:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:56:59 $ docker top 7a14ce18532cc8d47a93a3dfdfbf0572f198390533174164fe2f4d26197a86f0 -eo pid,comm [Pipeline] { [Pipeline] sh 00:57:00 + git config --global --add safe.directory /w/workspace/device-modbus-go/3 [Pipeline] fileExists [Pipeline] sh 00:57:00 + make test 00:57:00 go test ./... -coverprofile=coverage.out 00:57:42 ? github.com/edgexfoundry/device-modbus-go [no test files] 00:59:49 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 00:59:51 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.070s coverage: 48.0% of statements 00:59:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:59:51 go vet ./... 01:00:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:00:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:00:30 ./bin/test-attribution-txt.sh [Pipeline] echo 01:00:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:00:30 $ docker stop --time=1 7a14ce18532cc8d47a93a3dfdfbf0572f198390533174164fe2f4d26197a86f0 01:00:32 $ docker rm -f --volumes 7a14ce18532cc8d47a93a3dfdfbf0572f198390533174164fe2f4d26197a86f0 [Pipeline] // withDockerContainer [Pipeline] sh 01:00:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:00:33 Warning: overwriting stash ‘coverage-report’ 01:00:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:00:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:00:35 + ls -al . 01:00:35 total 176 01:00:35 drwxrwxr-x 9 jenkins jenkins 4096 Mar 26 00:57 . 01:00:35 drwxrwxr-x 4 jenkins jenkins 4096 Mar 26 00:54 .. 01:00:35 -rw-rw-r-- 1 jenkins jenkins 140 Mar 26 00:54 .dockerignore 01:00:35 drwxrwxr-x 8 jenkins jenkins 4096 Mar 26 00:54 .git 01:00:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 26 00:54 .github 01:00:35 -rw-rw-r-- 1 jenkins jenkins 331 Mar 26 00:54 .gitignore 01:00:35 -rw-rw-r-- 1 jenkins jenkins 41 Mar 26 00:54 .golangci.yml 01:00:35 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 26 00:54 Attribution.txt 01:00:35 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 26 00:54 CHANGELOG.md 01:00:35 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 26 00:54 Dockerfile 01:00:35 -rw-rw-r-- 1 jenkins jenkins 677 Mar 26 00:54 GOVERNANCE.md 01:00:35 -rw-rw-r-- 1 jenkins jenkins 680 Mar 26 00:54 Jenkinsfile 01:00:35 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 26 00:54 LICENSE 01:00:35 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 26 00:54 Makefile 01:00:35 -rw-rw-r-- 1 jenkins jenkins 622 Mar 26 00:54 OWNERS.md 01:00:35 -rw-rw-r-- 1 jenkins jenkins 4045 Mar 26 00:54 README.md 01:00:35 -rw-rw-r-- 1 jenkins jenkins 5 Mar 26 00:52 VERSION 01:00:35 drwxrwxr-x 2 jenkins jenkins 4096 Mar 26 00:54 bin 01:00:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 26 00:54 cmd 01:00:35 -rw-r--r-- 1 jenkins jenkins 23739 Mar 26 00:59 coverage.out 01:00:35 -rw-rw-r-- 1 jenkins jenkins 3498 Mar 26 00:54 go.mod 01:00:35 -rw-rw-r-- 1 jenkins jenkins 31643 Mar 26 00:54 go.sum 01:00:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 26 00:54 internal 01:00:35 drwxrwxr-x 2 jenkins jenkins 4096 Mar 26 00:54 simulator 01:00:35 drwxrwxr-x 4 jenkins jenkins 4096 Mar 26 00:54 snap 01:00:35 -rw-rw-r-- 1 jenkins jenkins 229 Mar 26 00:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:00:35 + 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=f264435248d8ce786653ba4b4c8d650ed4ec2e0d --label arch=arm64 --label version=0.0.0 . 01:00:35 Sending build context to Docker daemon 3.412MB 01:00:35 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 01:00:35 Step 2/22 : FROM ${BASE} AS builder 01:00:35 ---> c74e8f063157 01:00:35 Step 3/22 : ARG ADD_BUILD_TAGS="" 01:00:37 ---> Running in a549e6a22c8f 01:00:37 Removing intermediate container a549e6a22c8f 01:00:37 ---> 617efc932448 01:00:37 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:00:38 ---> Running in c464f839fab2 01:00:38 Removing intermediate container c464f839fab2 01:00:38 ---> 95e19b1c89b0 01:00:38 Step 5/22 : RUN apk add --update --no-cache make git openssh 01:00:38 ---> Running in 342315ea4eb8 01:00:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:00:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:00:41 OK: 270 MiB in 61 packages 01:00:42 Removing intermediate container 342315ea4eb8 01:00:42 ---> 4f35dbae9bf5 01:00:42 Step 6/22 : WORKDIR /device-modbus-go 01:00:42 ---> Running in 4e961becfd3c 01:00:42 Removing intermediate container 4e961becfd3c 01:00:42 ---> 2feeb416c066 01:00:42 Step 7/22 : COPY go.mod vendor* ./ 01:00:43 ---> 74ad63602905 01:00:43 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:00:43 ---> Running in 28917c9280cf 01:00:46 Removing intermediate container 28917c9280cf 01:00:46 ---> 7c1908e74f27 01:00:46 Step 9/22 : COPY . . 01:00:47 ---> 39079e74ee32 01:00:47 Step 10/22 : RUN ${MAKE} 01:00:47 ---> Running in 103b113931a7 01:00:48 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 01:03:09 Removing intermediate container 103b113931a7 01:03:09 ---> 6790580fbedf 01:03:09 Step 11/22 : FROM alpine:3.17 01:03:09 3.17: Pulling from library/alpine 01:03:09 af6eaf76a39c: Already exists 01:03:09 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 01:03:09 Status: Downloaded newer image for alpine:3.17 01:03:09 ---> d74e625d9115 01:03:09 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 01:03:09 ---> Running in 043152b75906 01:03:09 Removing intermediate container 043152b75906 01:03:09 ---> dc000fd60174 01:03:09 Step 13/22 : RUN apk add --update --no-cache dumb-init 01:03:09 ---> Running in c3fc256d0fa9 01:03:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:03:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:03:12 (1/1) Installing dumb-init (1.2.5-r2) 01:03:12 Executing busybox-1.35.0-r29.trigger 01:03:12 OK: 8 MiB in 16 packages 01:03:12 Removing intermediate container c3fc256d0fa9 01:03:12 ---> 33c14bf29f1c 01:03:12 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 01:03:16 ---> 1cc6829e8d61 01:03:16 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 01:03:16 ---> 8e1c91101c1b 01:03:16 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 01:03:17 ---> 49abd81477ef 01:03:17 Step 17/22 : EXPOSE 59901 01:03:17 ---> Running in 4be778ed15a0 01:03:17 Removing intermediate container 4be778ed15a0 01:03:17 ---> 0c267962d622 01:03:17 Step 18/22 : ENTRYPOINT ["/device-modbus"] 01:03:17 ---> Running in a13135d42975 01:03:17 Removing intermediate container a13135d42975 01:03:17 ---> 7c34e97ed71a 01:03:17 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:03:17 ---> Running in 1048b74ee172 01:03:18 Removing intermediate container 1048b74ee172 01:03:18 ---> c7e2dc8c9f3d 01:03:18 Step 20/22 : LABEL arch=arm64 01:03:18 ---> Running in d0d6f8eea9c2 01:03:18 Removing intermediate container d0d6f8eea9c2 01:03:18 ---> b4fa9ed4c3f5 01:03:18 Step 21/22 : LABEL git_sha=f264435248d8ce786653ba4b4c8d650ed4ec2e0d 01:03:18 ---> Running in 6c7dd39cc59f 01:03:19 Removing intermediate container 6c7dd39cc59f 01:03:19 ---> 6b4bfe05bf90 01:03:19 Step 22/22 : LABEL version=0.0.0 01:03:19 ---> Running in 5160093c9ff5 01:03:19 Removing intermediate container 5160093c9ff5 01:03:19 ---> 1202f0525636 01:03:19 [Warning] One or more build-args [ARCH] were not consumed 01:03:19 Successfully built 1202f0525636 01:03:19 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 01:03:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:03:19 01:03:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:03:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:03:20 arm64: Pulling from edgex-lftools-log-publisher 01:03:20 8998bd30e6a1: Pulling fs layer 01:03:20 04944245beec: Pulling fs layer 01:03:20 699f458cf7ca: Pulling fs layer 01:03:20 765212b225bb: Pulling fs layer 01:03:20 f23df028b6ca: Pulling fs layer 01:03:20 d65c8cfc05b1: Pulling fs layer 01:03:20 2437ff75d9bd: Pulling fs layer 01:03:20 f23df028b6ca: Waiting 01:03:20 d65c8cfc05b1: Waiting 01:03:20 2437ff75d9bd: Waiting 01:03:20 765212b225bb: Waiting 01:03:20 04944245beec: Verifying Checksum 01:03:20 04944245beec: Download complete 01:03:20 765212b225bb: Verifying Checksum 01:03:20 765212b225bb: Download complete 01:03:20 f23df028b6ca: Verifying Checksum 01:03:20 f23df028b6ca: Download complete 01:03:20 d65c8cfc05b1: Verifying Checksum 01:03:20 d65c8cfc05b1: Download complete 01:03:20 699f458cf7ca: Verifying Checksum 01:03:20 699f458cf7ca: Download complete 01:03:20 8998bd30e6a1: Download complete 01:03:23 2437ff75d9bd: Verifying Checksum 01:03:23 2437ff75d9bd: Download complete 01:03:24 8998bd30e6a1: Pull complete 01:03:25 04944245beec: Pull complete 01:03:26 699f458cf7ca: Pull complete 01:03:26 765212b225bb: Pull complete 01:03:29 f23df028b6ca: Pull complete 01:03:29 d65c8cfc05b1: Pull complete 01:03:44 2437ff75d9bd: Pull complete 01:03:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:03:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:03:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:03:44 prd-ubuntu20.04-docker-arm64-4c-16g-5823 does not seem to be running inside a container 01:03:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:03:47 $ docker top 75047e59fc29c929b9bf2399cf18b717c7ef42376322dfc2a84beb5dfd1d13aa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:03:47 ---> job-cost.sh 01:03:47 lf-activate-venv: SKIPPING 01:03:47 INFO: No Stack... 01:03:48 INFO: Retrieving Pricing Info for: v3-standard-4 01:03:49 INFO: Archiving Costs [Pipeline] sh 01:03:49 + cut+ cat /w/workspace/device-modbus-go/3/archives/cost.csv 01:03:49 -d, -f6 [Pipeline] lock 01:03:49 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-445-3-stack-cost] 01:03:49 Resource [jenkins-edgexfoundry-device-modbus-go-PR-445-3-stack-cost] did not exist. Created. 01:03:49 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-445-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:03:49 /w/workspace/device-modbus-go/3@tmp/durable-ad5d690c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:03:50 + echo total: 0.10999999940395355 [Pipeline] stash 01:03:50 Warning: overwriting stash ‘stack-cost’ 01:03:50 Stashed 1 file(s) [Pipeline] } 01:03:50 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-445-3-stack-cost] [Pipeline] // lock [Pipeline] } 01:03:50 $ docker stop --time=1 75047e59fc29c929b9bf2399cf18b717c7ef42376322dfc2a84beb5dfd1d13aa 01:03:51 $ docker rm -f --volumes 75047e59fc29c929b9bf2399cf18b717c7ef42376322dfc2a84beb5dfd1d13aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 01:03:52 provisioning config files... 01:03:52 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp/config11937826213048087404tmp [Pipeline] { [Pipeline] sh 01:03:52 + set +x 01:03:52 + curl -s https://codecov.io/bash 01:03:52 + bash -s -- 01:03:52 01:03:52 _____ _ 01:03:52 / ____| | | 01:03:52 | | ___ __| | ___ ___ _____ __ 01:03:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:03:52 | |___| (_) | (_| | __/ (_| (_) \ V / 01:03:52 \_____\___/ \__,_|\___|\___\___/ \_/ 01:03:52 Bash-1.0.6 01:03:52 01:03:52 01:03:52 ==> git version 2.25.1 found 01:03:52 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:03:52 Release-Date: 2020-01-08 01:03:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:03:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:03:52 ==> Jenkins CI detected. 01:03:52 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-445 01:03:52 project root: . 01:03:52 --> token set from env 01:03:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:03:52 ==> Running gcov in . (disable via -X gcov) 01:03:52 ==> Python coveragepy not found 01:03:52 ==> Searching for coverage reports in: 01:03:52 + . 01:03:52 -> Found 1 reports 01:03:52 ==> Detecting git/mercurial file structure 01:03:52 ==> Reading reports 01:03:52 + ./coverage.out bytes=23739 01:03:52 ==> Appending adjustments 01:03:52 https://docs.codecov.io/docs/fixing-reports 01:03:52 + Found adjustments 01:03:52 ==> Gzipping contents 01:03:52 4.0K /tmp/codecov.y1zKUy.gz 01:03:52 ==> Uploading reports 01:03:52 url: https://codecov.io 01:03:52 query: branch=PR-445&commit=41f7c8757e3dcf7ddd01e0cf9dc3e85d246570b5&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-445%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=445&job=&cmd_args= 01:03:52 -> Pinging Codecov 01:03:52 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=41f7c8757e3dcf7ddd01e0cf9dc3e85d246570b5&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-445%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=445&job=&cmd_args= 01:03:53 -> Uploading to 01:03:53 https://storage.googleapis.com/codecov/v4/raw/2023-03-26/55DBCA73C666E3227836607328DD7E49/41f7c8757e3dcf7ddd01e0cf9dc3e85d246570b5/8355e1c4-b750-4100-9182-9c5fae0ba06f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230326%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230326T010352Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=20402f550d6ef2fbeabfe3df9647ef9aa213e804a12fcc0532190e02a04ec1e3 01:03:53 % Total % Received % Xferd Average Speed Time Time Time Current 01:03:53 Dload Upload Total Spent Left Speed 01:03:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3877 0 0 100 3877 0 11820 --:--:-- --:--:-- --:--:-- 11856 01:03:53 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/41f7c8757e3dcf7ddd01e0cf9dc3e85d246570b5 [Pipeline] } 01:03:53 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 01:03:54 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-445/archives ] 01:03:54 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-445/archives 01:03:54 total 16 01:03:54 drwxr-xr-x 3 root root 4096 Mar 26 00:55 . 01:03:54 drwxrwxr-x 11 jenkins jenkins 4096 Mar 26 00:55 .. 01:03:54 drwxr-xr-x 2 root root 4096 Mar 26 00:55 cost 01:03:54 -rw-r--r-- 1 root root 88 Mar 26 00:55 cost.csv 01:03:54 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-445/archives 01:03:54 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-445/archives 01:03:54 total 16 01:03:54 drwxr-xr-x 3 jenkins jenkins 4096 Mar 26 00:55 . 01:03:54 drwxrwxr-x 11 jenkins jenkins 4096 Mar 26 00:55 .. 01:03:54 drwxr-xr-x 2 jenkins jenkins 4096 Mar 26 00:55 cost 01:03:54 -rw-r--r-- 1 jenkins jenkins 88 Mar 26 00:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:03:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:03:55 ---> package-listing.sh 01:03:55 ++ facter osfamily 01:03:55 ++ tr '[:upper:]' '[:lower:]' 01:03:55 + OS_FAMILY=debian 01:03:55 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-445 01:03:55 + START_PACKAGES=/tmp/packages_start.txt 01:03:55 + END_PACKAGES=/tmp/packages_end.txt 01:03:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:03:55 + PACKAGES=/tmp/packages_start.txt 01:03:55 + '[' /w/workspace/xfoundry_device-modbus-go_PR-445 ']' 01:03:55 + PACKAGES=/tmp/packages_end.txt 01:03:55 + case "${OS_FAMILY}" in 01:03:55 + dpkg -l 01:03:55 + grep '^ii' 01:03:55 + '[' -f /tmp/packages_start.txt ']' 01:03:55 + '[' -f /tmp/packages_end.txt ']' 01:03:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:03:55 + '[' /w/workspace/xfoundry_device-modbus-go_PR-445 ']' 01:03:55 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-445/archives/ 01:03:55 + 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 01:03:55 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 01:03:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:03:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:03:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:03:56 prd-ubuntu20.04-docker-8c-8g-5820 does not seem to be running inside a container 01:03:56 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:03:57 $ docker top 4e78a99d1e0f5c646598dbc5ffea97e76fdc1ac884a5f1855913bb45b7bf0ea9 -eo pid,comm [Pipeline] { [Pipeline] sh 01:03:57 + touch /tmp/pre-build-complete [Pipeline] sh 01:03:58 + mkdir -p /var/log/sysstat [Pipeline] sh 01:03:58 + ls /var/log/sa-host 01:03:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:03:58 provisioning config files... 01:03:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp/config16861150750620554317tmp [Pipeline] { [Pipeline] echo 01:03:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:03:58 ---> create-netrc.sh [Pipeline] } 01:03:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:03:59 ---> python-tools-install.sh [Pipeline] echo 01:03:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:03:59 ---> sudo-logs.sh 01:03:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:03:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:03:59 ---> job-cost.sh 01:03:59 lf-activate-venv: SKIPPING 01:03:59 DEBUG: total: 0.2199999988079071 01:03:59 INFO: Retrieving Stack Cost... 01:03:59 INFO: Retrieving Pricing Info for: v3-standard-8 01:04:00 INFO: Archiving Costs [Pipeline] echo 01:04:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:04:00 ---> logs-deploy.sh 01:04:00 lf-activate-venv: SKIPPING 01:04:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-445/3 01:04:00 INFO: archiving workspace using pattern(s): 01:04:01 Archives upload complete. 01:04:01 INFO: archiving logs to Nexus