Pull request #445 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of vli11 for edgexfoundry/device-modbus-go Loading trusted files from base branch main at 9bc48e746bb510c782b9593f55beae1b8e3bd068 rather than cc2551f8c6c10d1d02bc7af9946ca743999fc3f8 Obtained Jenkinsfile from 9bc48e746bb510c782b9593f55beae1b8e3bd068 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-ssh3440172914802450605.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-ssh9500621035503953128.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-ssh7288670101937786451.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-ssh4954026534898119713.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-ssh8522259140817713557.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 ‘prd-ubuntu20.04-docker-8c-8g-5720’ is offline Running on prd-ubuntu20.04-docker-8c-8g-5722 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 Merging remotes/origin/main commit 9bc48e746bb510c782b9593f55beae1b8e3bd068 into PR head commit cc2551f8c6c10d1d02bc7af9946ca743999fc3f8 Merge succeeded, producing cc2551f8c6c10d1d02bc7af9946ca743999fc3f8 Checking out Revision cc2551f8c6c10d1d02bc7af9946ca743999fc3f8 (PR-445) > 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 > 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 9bc48e746bb510c782b9593f55beae1b8e3bd068 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cc2551f8c6c10d1d02bc7af9946ca743999fc3f8 # timeout=10 Commit message: "fix: Commented out command-line configs" > git rev-list --no-walk cd78ed9c9a4a113d2a57620e61604bed81f56a33 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:48:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:48:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:48:15 ========================================================= 17:48:15 EdgeX Global Pipelines Version Info 17:48:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:48:16 ------------------- 17:48:16 stable info: 17:48:16 ------------------- 17:48:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:48:16 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 17:48:16 Message: update stable to v1.0.245 17:48:17 ------------------- 17:48:17 experimental info: 17:48:17 ------------------- 17:48:17 Commited By: **** collab-it+edgex@linuxfoundation.org 17:48:17 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 17:48:17 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:48:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 17:48:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 17:48:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:48:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:48:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:48:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 17:48:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:48:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:48:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:48:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:48:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:48:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 17:48:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:48:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:48:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:48:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:48:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:48:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:48:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:48:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:48:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:48:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:48:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:48:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:48:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:48:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:48:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:48:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-445 [Pipeline] echo 17:48:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-445 [Pipeline] echo 17:48:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-445 [Pipeline] echo 17:48:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cc2551f8c6c10d1d02bc7af9946ca743999fc3f8 [Pipeline] echo 17:48:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cc2551f [Pipeline] echo 17:48:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:48:17 provisioning config files... 17:48:17 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp/config4236737715114665574tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:48:17 ---> docker-login.sh 17:48:17 nexus3.edgexfoundry.org:10001 17:48:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:18 Configure a credential helper to remove this warning. See 17:48:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:18 17:48:18 Login Succeeded 17:48:18 nexus3.edgexfoundry.org:10002 17:48:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:18 Configure a credential helper to remove this warning. See 17:48:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:18 17:48:18 Login Succeeded 17:48:18 nexus3.edgexfoundry.org:10003 17:48:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:19 Configure a credential helper to remove this warning. See 17:48:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:19 17:48:19 Login Succeeded 17:48:19 nexus3.edgexfoundry.org:10004 17:48:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:19 Configure a credential helper to remove this warning. See 17:48:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:19 17:48:19 Login Succeeded 17:48:19 docker.io 17:48:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:19 Configure a credential helper to remove this warning. See 17:48:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:19 17:48:19 Login Succeeded 17:48:19 ---> docker-login.sh ends [Pipeline] } 17:48:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:48:19 + git rev-list -1 --merges cc2551f8c6c10d1d02bc7af9946ca743999fc3f8~1..cc2551f8c6c10d1d02bc7af9946ca743999fc3f8 [Pipeline] echo 17:48:19 -----------> git rev-list -1 --merges cc2551f8c6c10d1d02bc7af9946ca743999fc3f8~1..cc2551f8c6c10d1d02bc7af9946ca743999fc3f8 cc2551f8c6c10d1d02bc7af9946ca743999fc3f8 [false] [Pipeline] sh 17:48:20 + git log --format=format:%s -1 cc2551f8c6c10d1d02bc7af9946ca743999fc3f8 [Pipeline] echo 17:48:20 ========================================================= 17:48:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:48:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:48:20 + git log --format=format:%s -1 cc2551f8c6c10d1d02bc7af9946ca743999fc3f8 [Pipeline] echo 17:48:20 [semverPrep] GIT_COMMIT: cc2551f8c6c10d1d02bc7af9946ca743999fc3f8, Commit Message: fix: Commented out command-line configs [Pipeline] echo 17:48:20 [semverPrep] This is not a build commit. [Pipeline] sh 17:48:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:48:20 + grep -v github /etc/ssh/ssh_known_hosts 17:48:20 + [ -e /tmp/ssh_known_hosts ] 17:48:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:48:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:48:20 + sudo tee -a /etc/ssh/ssh_known_hosts 17:48:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:48:21 17:48:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:48:21 0.1.4: Pulling from edgex-devops/py-git-semver 17:48:21 b85a868b505f: Pulling fs layer 17:48:21 e2be974225ed: Pulling fs layer 17:48:21 339a4e72a1f5: Pulling fs layer 17:48:21 988bab9f4d93: Pulling fs layer 17:48:21 1469e6f7b9e6: Pulling fs layer 17:48:21 988bab9f4d93: Waiting 17:48:21 eaf3925da568: Pulling fs layer 17:48:21 bab4dde63d76: Pulling fs layer 17:48:21 bde34c3a00c8: Pulling fs layer 17:48:21 b352a97aabf1: Pulling fs layer 17:48:21 4872d77fe225: Pulling fs layer 17:48:21 5851b861e8e6: Pulling fs layer 17:48:21 4872d77fe225: Waiting 17:48:21 5851b861e8e6: Waiting 17:48:21 bde34c3a00c8: Waiting 17:48:21 bab4dde63d76: Waiting 17:48:21 b352a97aabf1: Waiting 17:48:21 eaf3925da568: Waiting 17:48:21 1469e6f7b9e6: Waiting 17:48:21 e2be974225ed: Download complete 17:48:21 988bab9f4d93: Verifying Checksum 17:48:21 988bab9f4d93: Download complete 17:48:21 1469e6f7b9e6: Verifying Checksum 17:48:21 1469e6f7b9e6: Download complete 17:48:21 eaf3925da568: Download complete 17:48:21 339a4e72a1f5: Verifying Checksum 17:48:21 339a4e72a1f5: Download complete 17:48:21 b352a97aabf1: Verifying Checksum 17:48:21 b352a97aabf1: Download complete 17:48:21 4872d77fe225: Verifying Checksum 17:48:21 4872d77fe225: Download complete 17:48:21 5851b861e8e6: Verifying Checksum 17:48:21 5851b861e8e6: Download complete 17:48:21 b85a868b505f: Verifying Checksum 17:48:21 b85a868b505f: Download complete 17:48:22 bab4dde63d76: Verifying Checksum 17:48:22 bab4dde63d76: Download complete 17:48:23 b85a868b505f: Pull complete 17:48:23 e2be974225ed: Pull complete 17:48:24 339a4e72a1f5: Pull complete 17:48:24 988bab9f4d93: Pull complete 17:48:25 1469e6f7b9e6: Pull complete 17:48:25 eaf3925da568: Pull complete 17:48:27 bab4dde63d76: Pull complete 17:48:27 bde34c3a00c8: Pull complete 17:48:27 b352a97aabf1: Pull complete 17:48:27 4872d77fe225: Pull complete 17:48:27 5851b861e8e6: Pull complete 17:48:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:48:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:48:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:48:27 prd-ubuntu20.04-docker-8c-8g-5722 does not seem to be running inside a container 17:48:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-445 -v /w/workspace/xfoundry_device-modbus-go_PR-445:/w/workspace/xfoundry_device-modbus-go_PR-445:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-445@tmp:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:48:39 $ docker top f6b4c02e530774b9c19d2c49c27ad8a1ead0766165e70061be8b58bbb350c8ad -eo pid,comm 17:48:39 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). 17:48:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:48:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:48:39 [ssh-agent] Looking for ssh-agent implementation... 17:48:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:48:39 $ docker exec f6b4c02e530774b9c19d2c49c27ad8a1ead0766165e70061be8b58bbb350c8ad ssh-agent 17:48:40 SSH_AUTH_SOCK=/tmp/ssh-wDp2Q5K2mZ32/agent.13 17:48:40 SSH_AGENT_PID=19 17:48:40 Running ssh-add (command line suppressed) 17:48:40 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-445@tmp/private_key_8169223174784729296.key (/w/workspace/xfoundry_device-modbus-go_PR-445@tmp/private_key_8169223174784729296.key) 17:48:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:48:40 + git tag --points-at HEAD [Pipeline] } 17:48:40 $ docker exec --env ******** --env ******** f6b4c02e530774b9c19d2c49c27ad8a1ead0766165e70061be8b58bbb350c8ad ssh-agent -k 17:48:40 unset SSH_AUTH_SOCK; 17:48:40 unset SSH_AGENT_PID; 17:48:40 echo Agent pid 19 killed; 17:48:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:48:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:48:40 [ssh-agent] Looking for ssh-agent implementation... 17:48:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:48:41 $ docker exec f6b4c02e530774b9c19d2c49c27ad8a1ead0766165e70061be8b58bbb350c8ad ssh-agent 17:48:41 SSH_AUTH_SOCK=/tmp/ssh-KUdJAzBtuBWt/agent.51 17:48:41 SSH_AGENT_PID=57 17:48:41 Running ssh-add (command line suppressed) 17:48:41 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-445@tmp/private_key_9013757376303140285.key (/w/workspace/xfoundry_device-modbus-go_PR-445@tmp/private_key_9013757376303140285.key) 17:48:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:48:41 + git semver init 17:48:42 2023-03-24 17:48:42,155 [run_init] DEBUG init version:0.0.0 force:False 17:48:42 2023-03-24 17:48:42,156 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-445/.semver 17:48:42 2023-03-24 17:48:42,157 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-445/.semver 17:48:42 2023-03-24 17:48:42,158 [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) 17:48:43 2023-03-24 17:48:43,493 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-445/.git/info/exclude 17:48:43 2023-03-24 17:48:43,493 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-445/.semver/PR-445 with force:False 17:48:43 2023-03-24 17:48:43,493 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-445/.semver/PR-445 17:48:43 2023-03-24 17:48:43,498 [execute] INFO git cat-file --batch-check 17:48:43 2023-03-24 17:48:43,498 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-445/.semver, universal_newlines=False, shell=None, istream=) 17:48:43 2023-03-24 17:48:43,504 [execute] INFO git cat-file --batch 17:48:43 2023-03-24 17:48:43,504 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-445/.semver, universal_newlines=False, shell=None, istream=) 17:48:43 2023-03-24 17:48:43,510 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-445/.semver/PR-445 17:48:43 0.0.0 [Pipeline] } 17:48:43 $ docker exec --env ******** --env ******** f6b4c02e530774b9c19d2c49c27ad8a1ead0766165e70061be8b58bbb350c8ad ssh-agent -k 17:48:43 unset SSH_AUTH_SOCK; 17:48:43 unset SSH_AGENT_PID; 17:48:43 echo Agent pid 57 killed; 17:48:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:48:44 + git semver [Pipeline] } 17:48:44 $ docker stop --time=1 f6b4c02e530774b9c19d2c49c27ad8a1ead0766165e70061be8b58bbb350c8ad 17:48:48 $ docker rm -f --volumes f6b4c02e530774b9c19d2c49c27ad8a1ead0766165e70061be8b58bbb350c8ad [Pipeline] // withDockerContainer [Pipeline] sh 17:48:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:48:48 Stashed 1 file(s) [Pipeline] echo 17:48:48 [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 17:48:49 provisioning config files... 17:48:49 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp/config11348954376412172699tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:48:49 ---> docker-login.sh 17:48:49 nexus3.edgexfoundry.org:10001 17:48:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:49 Configure a credential helper to remove this warning. See 17:48:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:49 17:48:49 Login Succeeded 17:48:49 nexus3.edgexfoundry.org:10002 17:48:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:49 Configure a credential helper to remove this warning. See 17:48:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:49 17:48:49 Login Succeeded 17:48:49 nexus3.edgexfoundry.org:10003 17:48:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:49 Configure a credential helper to remove this warning. See 17:48:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:49 17:48:49 Login Succeeded 17:48:49 nexus3.edgexfoundry.org:10004 17:48:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:49 Configure a credential helper to remove this warning. See 17:48:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:49 17:48:49 Login Succeeded 17:48:49 docker.io 17:48:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:50 Configure a credential helper to remove this warning. See 17:48:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:50 17:48:50 Login Succeeded 17:48:50 ---> docker-login.sh ends [Pipeline] } 17:48:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:48:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:48:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:48:50 ========================================================= 17:48:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 17:48:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:50 + 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 . 17:48:50 Sending build context to Docker daemon 6.433MB 17:48:50 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 17:48:50 Step 2/10 : FROM ${BASE} AS builder 17:48:51 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 17:48:51 63b65145d645: Pulling fs layer 17:48:51 a2d21d5440eb: Pulling fs layer 17:48:51 935e6c44a52c: Pulling fs layer 17:48:51 94cc34f8dd06: Pulling fs layer 17:48:51 30dea6a524f1: Pulling fs layer 17:48:51 a2aff8979fd8: Pulling fs layer 17:48:51 6808be2612f2: Pulling fs layer 17:48:51 f25807f1079a: Pulling fs layer 17:48:51 30dea6a524f1: Waiting 17:48:51 a2aff8979fd8: Waiting 17:48:51 94cc34f8dd06: Waiting 17:48:51 6808be2612f2: Waiting 17:48:51 a2d21d5440eb: Download complete 17:48:51 94cc34f8dd06: Verifying Checksum 17:48:51 94cc34f8dd06: Download complete 17:48:51 30dea6a524f1: Verifying Checksum 17:48:51 30dea6a524f1: Download complete 17:48:51 63b65145d645: Verifying Checksum 17:48:51 63b65145d645: Download complete 17:48:51 a2aff8979fd8: Verifying Checksum 17:48:51 a2aff8979fd8: Download complete 17:48:52 f25807f1079a: Verifying Checksum 17:48:52 f25807f1079a: Download complete 17:48:52 935e6c44a52c: Verifying Checksum 17:48:52 935e6c44a52c: Download complete 17:48:52 6808be2612f2: Verifying Checksum 17:48:52 6808be2612f2: Download complete 17:48:52 63b65145d645: Pull complete 17:48:53 a2d21d5440eb: Pull complete 17:48:59 935e6c44a52c: Pull complete 17:48:59 94cc34f8dd06: Pull complete 17:49:01 30dea6a524f1: Pull complete 17:49:02 a2aff8979fd8: Pull complete 17:49:03 Still waiting to schedule task 17:49:03 ‘prd-ubuntu20.04-docker-arm64-4c-16g-5721’ is offline 17:49:06 6808be2612f2: Pull complete 17:49:06 f25807f1079a: Pull complete 17:49:07 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 17:49:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 17:49:07 ---> 3b553350e43f 17:49:07 Step 3/10 : ARG ADD_BUILD_TAGS="" 17:49:19 ---> Running in 5a31adcd0acf 17:49:19 Removing intermediate container 5a31adcd0acf 17:49:19 ---> cbad0450e140 17:49:19 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:49:19 ---> Running in 78dc825365b4 17:49:19 Removing intermediate container 78dc825365b4 17:49:19 ---> f6512a14aa7d 17:49:19 Step 5/10 : RUN apk add --update --no-cache make git openssh 17:49:19 ---> Running in 1a6104718586 17:49:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:49:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:49:19 (1/8) Installing openssh-keygen (9.1_p1-r2) 17:49:19 (2/8) Installing libedit (20221030.3.1-r0) 17:49:19 (3/8) Installing openssh-client-common (9.1_p1-r2) 17:49:19 (4/8) Installing openssh-client-default (9.1_p1-r2) 17:49:19 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 17:49:19 (6/8) Installing openssh-server-common (9.1_p1-r2) 17:49:19 (7/8) Installing openssh-server (9.1_p1-r2) 17:49:19 (8/8) Installing openssh (9.1_p1-r2) 17:49:19 Executing busybox-1.35.0-r29.trigger 17:49:19 OK: 270 MiB in 61 packages 17:49:19 Removing intermediate container 1a6104718586 17:49:19 ---> ceef9cd2c486 17:49:19 Step 6/10 : WORKDIR /device-modbus-go 17:49:19 ---> Running in 1c79a5ff4616 17:49:19 Removing intermediate container 1c79a5ff4616 17:49:19 ---> e81faf5235cb 17:49:19 Step 7/10 : COPY go.mod vendor* ./ 17:49:20 ---> ec684bffef96 17:49:20 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:49:20 ---> Running in 105d0fb31fb5 17:50:06 Removing intermediate container 105d0fb31fb5 17:50:06 ---> 60c6f0a9d18f 17:50:06 Step 9/10 : COPY . . 17:50:06 ---> 0eecd2c70ec2 17:50:06 Step 10/10 : RUN ${MAKE} 17:50:06 ---> Running in 97d10d8ba805 17:50:06 noop 17:50:06 Removing intermediate container 97d10d8ba805 17:50:06 ---> 948e81bbd915 17:50:06 Successfully built 948e81bbd915 17:50:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:50:07 + docker inspect -f . ci-base-image-x86_64 17:50:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:50:07 prd-ubuntu20.04-docker-8c-8g-5722 does not seem to be running inside a container 17:50:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-445 -v /w/workspace/xfoundry_device-modbus-go_PR-445:/w/workspace/xfoundry_device-modbus-go_PR-445:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-445@tmp:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:50:07 $ docker top be62b5aa22a8997a698964f537a89ae285f1f8319579dc066d83d5429903a1ca -eo pid,comm [Pipeline] { [Pipeline] sh 17:50:08 + go version 17:50:08 go version go1.20.2 linux/amd64 [Pipeline] } 17:50:08 $ docker stop --time=1 be62b5aa22a8997a698964f537a89ae285f1f8319579dc066d83d5429903a1ca 17:50:09 $ docker rm -f --volumes be62b5aa22a8997a698964f537a89ae285f1f8319579dc066d83d5429903a1ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:50:09 + docker inspect -f . ci-base-image-x86_64 17:50:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:50:09 prd-ubuntu20.04-docker-8c-8g-5722 does not seem to be running inside a container 17:50:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-445 -v /w/workspace/xfoundry_device-modbus-go_PR-445:/w/workspace/xfoundry_device-modbus-go_PR-445:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-445@tmp:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:50:10 $ docker top c0098d7331caeebf45520835f884ac68a19e2ff66a8065311ec3f4be07f5e026 -eo pid,comm [Pipeline] { [Pipeline] sh 17:50:10 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-445 [Pipeline] fileExists [Pipeline] sh 17:50:10 + make test 17:50:10 go test ./... -coverprofile=coverage.out 17:50:16 ? github.com/edgexfoundry/device-modbus-go [no test files] 17:50:26 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 17:50:26 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 48.0% of statements 17:50:31 go vet ./... 17:50:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:50:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:50:34 ./bin/test-attribution-txt.sh [Pipeline] echo 17:50:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:50:34 $ docker stop --time=1 c0098d7331caeebf45520835f884ac68a19e2ff66a8065311ec3f4be07f5e026 17:50:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5723 in /w/workspace/xfoundry_device-modbus-go_PR-445 17:50:39 $ docker rm -f --volumes c0098d7331caeebf45520835f884ac68a19e2ff66a8065311ec3f4be07f5e026 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws 17:50:39 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 17:50:39 Selected Git installation does not exist. Using Default 17:50:39 The recommended git tool is: NONE 17:50:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:50:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:50:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:50:40 + ls -al . 17:50:40 total 180 17:50:40 drwxrwxr-x 10 jenkins jenkins 4096 Mar 24 17:50 . 17:50:40 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 17:48 .. 17:50:40 -rw-rw-r-- 1 jenkins jenkins 140 Mar 24 17:48 .dockerignore 17:50:40 drwxrwxr-x 8 jenkins jenkins 4096 Mar 24 17:48 .git 17:50:40 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 17:48 .github 17:50:40 -rw-rw-r-- 1 jenkins jenkins 331 Mar 24 17:48 .gitignore 17:50:40 -rw-rw-r-- 1 jenkins jenkins 41 Mar 24 17:48 .golangci.yml 17:50:40 drwxr-xr-x 3 jenkins jenkins 4096 Mar 24 17:48 .semver 17:50:40 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 24 17:48 Attribution.txt 17:50:40 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 24 17:48 CHANGELOG.md 17:50:40 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 24 17:48 Dockerfile 17:50:40 -rw-rw-r-- 1 jenkins jenkins 677 Mar 24 17:48 GOVERNANCE.md 17:50:40 -rw-rw-r-- 1 jenkins jenkins 680 Mar 24 17:48 Jenkinsfile 17:50:40 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 24 17:48 LICENSE 17:50:40 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 24 17:48 Makefile 17:50:40 -rw-rw-r-- 1 jenkins jenkins 622 Mar 24 17:48 OWNERS.md 17:50:40 -rw-rw-r-- 1 jenkins jenkins 4045 Mar 24 17:48 README.md 17:50:40 -rw-rw-r-- 1 jenkins jenkins 5 Mar 24 17:48 VERSION 17:50:40 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 17:48 bin 17:50:40 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 17:48 cmd 17:50:40 -rw-r--r-- 1 jenkins jenkins 23736 Mar 24 17:50 coverage.out 17:50:40 -rw-rw-r-- 1 jenkins jenkins 3498 Mar 24 17:48 go.mod 17:50:40 -rw-rw-r-- 1 jenkins jenkins 31643 Mar 24 17:48 go.sum 17:50:40 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 17:48 internal 17:50:40 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 17:48 simulator 17:50:40 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 17:48 snap 17:50:40 -rw-rw-r-- 1 jenkins jenkins 229 Mar 24 17:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:50:40 + 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=cc2551f8c6c10d1d02bc7af9946ca743999fc3f8 --label arch=amd64 --label version=0.0.0 . 17:50:40 Sending build context to Docker daemon 6.457MB 17:50:40 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 17:50:40 Step 2/22 : FROM ${BASE} AS builder 17:50:40 ---> 948e81bbd915 17:50:40 Step 3/22 : ARG ADD_BUILD_TAGS="" 17:50:40 ---> Running in bdf661b77a16 17:50:41 Removing intermediate container bdf661b77a16 17:50:41 ---> 93126dc190c2 17:50:41 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:50:41 ---> Running in 984bfc0f8c43 17:50:41 Removing intermediate container 984bfc0f8c43 17:50:41 ---> 72dfe714514e 17:50:41 Step 5/22 : RUN apk add --update --no-cache make git openssh 17:50:41 ---> Running in 87ac239d3217 17:50:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:50:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:50:41 OK: 270 MiB in 61 packages 17:50:42 Removing intermediate container 87ac239d3217 17:50:42 ---> cb2b1ff422da 17:50:42 Step 6/22 : WORKDIR /device-modbus-go 17:50:42 ---> Running in 1806ef4aa891 17:50:42 Removing intermediate container 1806ef4aa891 17:50:42 ---> d7cf9ebe5251 17:50:42 Step 7/22 : COPY go.mod vendor* ./ 17:50:42 ---> 85d8c5b69bc5 17:50:42 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:50:42 ---> Running in ddcf99746a9e 17:50:43 Removing intermediate container ddcf99746a9e 17:50:43 ---> 582d825a739a 17:50:43 Step 9/22 : COPY . . 17:50:43 ---> fe568a382f3e 17:50:43 Step 10/22 : RUN ${MAKE} 17:50:43 ---> Running in bf609d2ed345 17:50:44 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 17:50:44 using credential edgex-jenkins-ssh 17:50:44 Cloning the remote Git repository 17:50:44 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 17:50:44 > git init /w/workspace/device-modbus-go/2 # timeout=10 17:50:44 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 17:50:44 > git --version # timeout=10 17:50:44 > git --version # 'git version 2.25.1' 17:50:44 using GIT_SSH to set credentials SSH Credentials for GitHub 17:50:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:50:48 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 17:50:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:50:49 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 17:50:49 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 17:50:49 using GIT_SSH to set credentials SSH Credentials for GitHub 17:50:49 > 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 17:50:49 Merging remotes/origin/main commit 9bc48e746bb510c782b9593f55beae1b8e3bd068 into PR head commit cc2551f8c6c10d1d02bc7af9946ca743999fc3f8 17:50:49 Merge succeeded, producing cc2551f8c6c10d1d02bc7af9946ca743999fc3f8 17:50:49 Checking out Revision cc2551f8c6c10d1d02bc7af9946ca743999fc3f8 (PR-445) 17:50:49 > git config core.sparsecheckout # timeout=10 17:50:49 > git checkout -f cc2551f8c6c10d1d02bc7af9946ca743999fc3f8 # timeout=10 17:50:49 > git remote # timeout=10 17:50:49 > git config --get remote.origin.url # timeout=10 17:50:49 using GIT_SSH to set credentials SSH Credentials for GitHub 17:50:49 > git merge 9bc48e746bb510c782b9593f55beae1b8e3bd068 # timeout=10 17:50:49 > git rev-parse HEAD^{commit} # timeout=10 17:50:49 > git config core.sparsecheckout # timeout=10 17:50:49 > git checkout -f cc2551f8c6c10d1d02bc7af9946ca743999fc3f8 # timeout=10 17:50:53 Commit message: "fix: Commented out command-line configs" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:50:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:50:54 % Total % Received % Xferd Average Speed Time Time Time Current 17:50:54 Dload Upload Total Spent Left Speed 17:50:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 74567 0 --:--:-- --:--:-- --:--:-- 75005 [Pipeline] sh 17:50:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:50:55 + sudo tee /etc/docker/daemon.new 17:50:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:50:55 { 17:50:55 "registry-mirrors": [ 17:50:55 "https://nexus3.edgexfoundry.org:10001" 17:50:55 ], 17:50:55 "bip": "10.250.0.254/24", 17:50:55 "hosts": [ 17:50:55 "tcp://0.0.0.0:5555", 17:50:55 "unix:///var/run/docker.sock" 17:50:55 ], 17:50:55 "mtu": 1458, 17:50:55 "selinux-enabled": true, 17:50:55 "seccomp-profile": "/etc/docker/seccomp.json" 17:50:55 } [Pipeline] sh 17:50:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:50:56 + sudo service docker restart 17:51:02 Removing intermediate container bf609d2ed345 17:51:02 ---> 991d6a7ce38a 17:51:02 Step 11/22 : FROM alpine:3.17 17:51:02 3.17: Pulling from library/alpine 17:51:02 63b65145d645: Already exists 17:51:02 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 17:51:02 Status: Downloaded newer image for alpine:3.17 17:51:02 ---> b2aa39c304c2 17:51:02 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 17:51:02 ---> Running in 7dd3da124fe9 17:51:02 Removing intermediate container 7dd3da124fe9 17:51:02 ---> 39fad080bfeb 17:51:02 Step 13/22 : RUN apk add --update --no-cache dumb-init 17:51:02 ---> Running in bf08ae958ba1 17:51:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:51:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:51:02 (1/1) Installing dumb-init (1.2.5-r2) 17:51:02 Executing busybox-1.35.0-r29.trigger 17:51:02 OK: 7 MiB in 16 packages 17:51:02 Removing intermediate container bf08ae958ba1 17:51:02 ---> 0e7e9257f127 17:51:02 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 17:51:03 ---> ba1b40cf9705 17:51:03 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 17:51:03 ---> 51e49f703c63 17:51:03 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 17:51:03 ---> 79d9fee401a1 17:51:03 Step 17/22 : EXPOSE 59901 17:51:03 ---> Running in c89c4aa29f37 17:51:03 Removing intermediate container c89c4aa29f37 17:51:03 ---> 1ed884a8c265 17:51:03 Step 18/22 : ENTRYPOINT ["/device-modbus"] 17:51:03 ---> Running in 38b3747b5f01 17:51:04 Removing intermediate container 38b3747b5f01 17:51:04 ---> 295bf372a26f 17:51:04 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 17:51:04 ---> Running in 5febd662a5ac 17:51:04 Removing intermediate container 5febd662a5ac 17:51:04 ---> 177609dacf6b 17:51:04 Step 20/22 : LABEL arch=amd64 17:51:04 ---> Running in 29de8f0b15fb 17:51:04 Removing intermediate container 29de8f0b15fb 17:51:04 ---> 187d886956e1 17:51:04 Step 21/22 : LABEL git_sha=cc2551f8c6c10d1d02bc7af9946ca743999fc3f8 17:51:04 ---> Running in d1a64237a084 17:51:04 Removing intermediate container d1a64237a084 17:51:04 ---> 7ebbb1ddc942 17:51:04 Step 22/22 : LABEL version=0.0.0 17:51:04 ---> Running in 7fae1e39004c 17:51:04 Removing intermediate container 7fae1e39004c 17:51:04 ---> b7ab89ab584f 17:51:04 [Warning] One or more build-args [ARCH] were not consumed 17:51:04 Successfully built b7ab89ab584f 17:51:04 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 17:51:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:51:04 17:51:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:51:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:51:05 latest: Pulling from edgex-lftools-log-publisher 17:51:05 5eb5b503b376: Pulling fs layer 17:51:05 5c69ac0246d0: Pulling fs layer 17:51:05 ec43610c2a17: Pulling fs layer 17:51:05 3a2ae6a8a46f: Pulling fs layer 17:51:05 33b1e0a273af: Pulling fs layer 17:51:05 5d3b04190fa2: Pulling fs layer 17:51:05 2f39f015ded8: Pulling fs layer 17:51:05 3a2ae6a8a46f: Waiting 17:51:05 33b1e0a273af: Waiting 17:51:05 5d3b04190fa2: Waiting 17:51:05 2f39f015ded8: Waiting 17:51:05 5c69ac0246d0: Download complete 17:51:05 3a2ae6a8a46f: Verifying Checksum 17:51:05 3a2ae6a8a46f: Download complete 17:51:05 33b1e0a273af: Verifying Checksum 17:51:05 33b1e0a273af: Download complete 17:51:05 ec43610c2a17: Verifying Checksum 17:51:05 ec43610c2a17: Download complete 17:51:05 5d3b04190fa2: Verifying Checksum 17:51:05 5d3b04190fa2: Download complete 17:51:05 5eb5b503b376: Verifying Checksum 17:51:05 5eb5b503b376: Download complete 17:51:05 2f39f015ded8: Download complete 17:51:06 5eb5b503b376: Pull complete 17:51:06 5c69ac0246d0: Pull complete 17:51:06 ec43610c2a17: Pull complete 17:51:06 3a2ae6a8a46f: Pull complete 17:51:07 33b1e0a273af: Pull complete 17:51:07 5d3b04190fa2: Pull complete 17:51:11 2f39f015ded8: Pull complete 17:51:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:51:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:51:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:51:11 prd-ubuntu20.04-docker-8c-8g-5722 does not seem to be running inside a container 17:51:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-445 -v /w/workspace/xfoundry_device-modbus-go_PR-445:/w/workspace/xfoundry_device-modbus-go_PR-445:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-445@tmp:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:51:15 $ docker top 9a9134fbe2d2e3ec90b68d6469684f4142eafd45fb9dbc6d72495968bafc0005 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 17:51:15 provisioning config files... 17:51:15 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config6994733602412732004tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:51:16 ---> job-cost.sh 17:51:16 lf-activate-venv: SKIPPING 17:51:16 INFO: No Stack... 17:51:16 ---> docker-login.sh 17:51:16 nexus3.edgexfoundry.org:10001 17:51:16 INFO: Retrieving Pricing Info for: v3-standard-8 17:51:16 INFO: Archiving Costs [Pipeline] sh 17:51:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:16 Configure a credential helper to remove this warning. See 17:51:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:16 17:51:16 Login Succeeded 17:51:16 nexus3.edgexfoundry.org:10002 17:51:16 + cat /w/workspace/xfoundry_device-modbus-go_PR-445/archives/cost.csv 17:51:16 + cut -d, -f6 [Pipeline] lock 17:51:16 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-445-2-stack-cost] 17:51:16 Resource [jenkins-edgexfoundry-device-modbus-go-PR-445-2-stack-cost] did not exist. Created. 17:51:16 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-445-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:51:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:17 Configure a credential helper to remove this warning. See 17:51:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:17 17:51:17 Login Succeeded 17:51:17 nexus3.edgexfoundry.org:10003 17:51:17 + echo total: 0.2199999988079071 [Pipeline] stash 17:51:17 Stashed 1 file(s) [Pipeline] } 17:51:17 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-445-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:51:17 $ docker stop --time=1 9a9134fbe2d2e3ec90b68d6469684f4142eafd45fb9dbc6d72495968bafc0005 17:51:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:17 Configure a credential helper to remove this warning. See 17:51:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:17 17:51:17 Login Succeeded 17:51:17 nexus3.edgexfoundry.org:10004 17:51:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:17 Configure a credential helper to remove this warning. See 17:51:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:17 17:51:17 Login Succeeded 17:51:17 docker.io 17:51:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:18 Configure a credential helper to remove this warning. See 17:51:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:18 17:51:18 Login Succeeded 17:51:18 ---> docker-login.sh ends 17:51:18 $ docker rm -f --volumes 9a9134fbe2d2e3ec90b68d6469684f4142eafd45fb9dbc6d72495968bafc0005 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 17:51:18 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 17:51:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:51:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:51:18 ========================================================= 17:51:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 17:51:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:51:19 + 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 . 17:51:19 Sending build context to Docker daemon 3.379MB 17:51:19 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 17:51:19 Step 2/10 : FROM ${BASE} AS builder 17:51:19 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:51:19 af6eaf76a39c: Pulling fs layer 17:51:19 55522c791124: Pulling fs layer 17:51:19 ce5c4a1c91eb: Pulling fs layer 17:51:19 169dfbe0d373: Pulling fs layer 17:51:19 e1ff8fa3b103: Pulling fs layer 17:51:19 52ebb69f0ebf: Pulling fs layer 17:51:19 5abe8eddf0d5: Pulling fs layer 17:51:19 169dfbe0d373: Waiting 17:51:19 e1ff8fa3b103: Waiting 17:51:19 52ebb69f0ebf: Waiting 17:51:19 5abe8eddf0d5: Waiting 17:51:19 55522c791124: Download complete 17:51:19 169dfbe0d373: Verifying Checksum 17:51:19 169dfbe0d373: Download complete 17:51:19 e1ff8fa3b103: Verifying Checksum 17:51:19 e1ff8fa3b103: Download complete 17:51:19 af6eaf76a39c: Verifying Checksum 17:51:19 af6eaf76a39c: Download complete 17:51:20 af6eaf76a39c: Pull complete 17:51:20 5abe8eddf0d5: Verifying Checksum 17:51:20 5abe8eddf0d5: Download complete 17:51:21 55522c791124: Pull complete 17:51:22 52ebb69f0ebf: Download complete 17:51:22 ce5c4a1c91eb: Download complete 17:51:34 ce5c4a1c91eb: Pull complete 17:51:34 169dfbe0d373: Pull complete 17:51:34 e1ff8fa3b103: Pull complete 17:51:39 52ebb69f0ebf: Pull complete 17:51:42 5abe8eddf0d5: Pull complete 17:51:42 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 17:51:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 17:51:42 ---> 6cb57ee374ae 17:51:42 Step 3/10 : ARG ADD_BUILD_TAGS="" 17:51:43 ---> Running in f05682f778f9 17:51:43 Removing intermediate container f05682f778f9 17:51:43 ---> 073031158504 17:51:43 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:51:44 ---> Running in 4d14a1f2a54b 17:51:44 Removing intermediate container 4d14a1f2a54b 17:51:44 ---> d7d89c59d483 17:51:44 Step 5/10 : RUN apk add --update --no-cache make git openssh 17:51:44 ---> Running in 068cc2f39ded 17:51:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:51:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:51:47 (1/8) Installing openssh-keygen (9.1_p1-r2) 17:51:47 (2/8) Installing libedit (20221030.3.1-r0) 17:51:47 (3/8) Installing openssh-client-common (9.1_p1-r2) 17:51:47 (4/8) Installing openssh-client-default (9.1_p1-r2) 17:51:47 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 17:51:47 (6/8) Installing openssh-server-common (9.1_p1-r2) 17:51:47 (7/8) Installing openssh-server (9.1_p1-r2) 17:51:47 (8/8) Installing openssh (9.1_p1-r2) 17:51:47 Executing busybox-1.35.0-r29.trigger 17:51:47 OK: 270 MiB in 61 packages 17:51:48 Removing intermediate container 068cc2f39ded 17:51:48 ---> 128df8306adc 17:51:48 Step 6/10 : WORKDIR /device-modbus-go 17:51:48 ---> Running in 7bac38f902dc 17:51:48 Removing intermediate container 7bac38f902dc 17:51:48 ---> d0774d4ca69a 17:51:48 Step 7/10 : COPY go.mod vendor* ./ 17:51:49 ---> 052e9a8cdaeb 17:51:49 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:51:49 ---> Running in 49ea77d451de 17:52:45 Removing intermediate container 49ea77d451de 17:52:45 ---> 442ae00dfea0 17:52:45 Step 9/10 : COPY . . 17:52:45 ---> 9b4e3c2c58fd 17:52:45 Step 10/10 : RUN ${MAKE} 17:52:45 ---> Running in 08a0c9300a16 17:52:45 noop 17:52:47 Removing intermediate container 08a0c9300a16 17:52:47 ---> b7d429a8ac2d 17:52:47 Successfully built b7d429a8ac2d 17:52:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:47 + docker inspect -f . ci-base-image-arm64 17:52:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:52:47 prd-ubuntu20.04-docker-arm64-4c-16g-5723 does not seem to be running inside a container 17:52:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:52:48 $ docker top 0877304bd0d134b0ca1bb40aba2db6f40c5a7597ff793fcb44ab6bada4c454be -eo pid,comm [Pipeline] { [Pipeline] sh 17:52:49 + go version 17:52:49 go version go1.20.2 linux/arm64 [Pipeline] } 17:52:49 $ docker stop --time=1 0877304bd0d134b0ca1bb40aba2db6f40c5a7597ff793fcb44ab6bada4c454be 17:52:51 $ docker rm -f --volumes 0877304bd0d134b0ca1bb40aba2db6f40c5a7597ff793fcb44ab6bada4c454be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:51 + docker inspect -f . ci-base-image-arm64 17:52:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:52:51 prd-ubuntu20.04-docker-arm64-4c-16g-5723 does not seem to be running inside a container 17:52:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:52:53 $ docker top b45ce78e83be85779e701c6623d91817fa7131494eee83dd60c189d919c414a4 -eo pid,comm [Pipeline] { [Pipeline] sh 17:52:53 + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh 17:52:54 + make test 17:52:54 go test ./... -coverprofile=coverage.out 17:53:26 ? github.com/edgexfoundry/device-modbus-go [no test files] 17:55:18 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 17:55:21 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.073s coverage: 48.0% of statements 17:55:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:55:21 go vet ./... 17:56:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:56:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:56:00 ./bin/test-attribution-txt.sh [Pipeline] echo 17:56:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:56:00 $ docker stop --time=1 b45ce78e83be85779e701c6623d91817fa7131494eee83dd60c189d919c414a4 17:56:02 $ docker rm -f --volumes b45ce78e83be85779e701c6623d91817fa7131494eee83dd60c189d919c414a4 [Pipeline] // withDockerContainer [Pipeline] sh 17:56:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:56:04 Warning: overwriting stash ‘coverage-report’ 17:56:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:56:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:56:05 + ls -al . 17:56:05 total 176 17:56:05 drwxrwxr-x 9 jenkins jenkins 4096 Mar 24 17:52 . 17:56:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 17:50 .. 17:56:05 -rw-rw-r-- 1 jenkins jenkins 140 Mar 24 17:50 .dockerignore 17:56:05 drwxrwxr-x 8 jenkins jenkins 4096 Mar 24 17:50 .git 17:56:05 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 17:50 .github 17:56:05 -rw-rw-r-- 1 jenkins jenkins 331 Mar 24 17:50 .gitignore 17:56:05 -rw-rw-r-- 1 jenkins jenkins 41 Mar 24 17:50 .golangci.yml 17:56:05 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 24 17:50 Attribution.txt 17:56:05 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 24 17:50 CHANGELOG.md 17:56:05 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 24 17:50 Dockerfile 17:56:05 -rw-rw-r-- 1 jenkins jenkins 677 Mar 24 17:50 GOVERNANCE.md 17:56:05 -rw-rw-r-- 1 jenkins jenkins 680 Mar 24 17:50 Jenkinsfile 17:56:05 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 24 17:50 LICENSE 17:56:05 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 24 17:50 Makefile 17:56:05 -rw-rw-r-- 1 jenkins jenkins 622 Mar 24 17:50 OWNERS.md 17:56:05 -rw-rw-r-- 1 jenkins jenkins 4045 Mar 24 17:50 README.md 17:56:05 -rw-rw-r-- 1 jenkins jenkins 5 Mar 24 17:48 VERSION 17:56:05 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 17:50 bin 17:56:05 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 17:50 cmd 17:56:05 -rw-r--r-- 1 jenkins jenkins 23736 Mar 24 17:55 coverage.out 17:56:05 -rw-rw-r-- 1 jenkins jenkins 3498 Mar 24 17:50 go.mod 17:56:05 -rw-rw-r-- 1 jenkins jenkins 31643 Mar 24 17:50 go.sum 17:56:05 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 17:50 internal 17:56:05 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 17:50 simulator 17:56:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 17:50 snap 17:56:05 -rw-rw-r-- 1 jenkins jenkins 229 Mar 24 17:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:05 + 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=cc2551f8c6c10d1d02bc7af9946ca743999fc3f8 --label arch=arm64 --label version=0.0.0 . 17:56:05 Sending build context to Docker daemon 3.403MB 17:56:05 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 17:56:05 Step 2/22 : FROM ${BASE} AS builder 17:56:05 ---> b7d429a8ac2d 17:56:05 Step 3/22 : ARG ADD_BUILD_TAGS="" 17:56:06 ---> Running in 32615a54238d 17:56:07 Removing intermediate container 32615a54238d 17:56:07 ---> 34dc2fec40e8 17:56:07 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:56:07 ---> Running in a381caad01b1 17:56:07 Removing intermediate container a381caad01b1 17:56:07 ---> 22333bb47618 17:56:07 Step 5/22 : RUN apk add --update --no-cache make git openssh 17:56:07 ---> Running in 137c926ff4ab 17:56:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:56:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:56:10 OK: 270 MiB in 61 packages 17:56:11 Removing intermediate container 137c926ff4ab 17:56:11 ---> a047d24f6203 17:56:11 Step 6/22 : WORKDIR /device-modbus-go 17:56:11 ---> Running in f871d0ff690c 17:56:11 Removing intermediate container f871d0ff690c 17:56:11 ---> 6960f3228f95 17:56:11 Step 7/22 : COPY go.mod vendor* ./ 17:56:11 ---> 5f6e16f51da0 17:56:11 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:56:11 ---> Running in e571ac6cbd50 17:56:14 Removing intermediate container e571ac6cbd50 17:56:14 ---> 8c628294dc96 17:56:14 Step 9/22 : COPY . . 17:56:15 ---> b4d190b65ae5 17:56:15 Step 10/22 : RUN ${MAKE} 17:56:15 ---> Running in 179506ae1662 17:56:16 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 17:58:23 Removing intermediate container 179506ae1662 17:58:23 ---> ac7b45a3f9b7 17:58:23 Step 11/22 : FROM alpine:3.17 17:58:23 3.17: Pulling from library/alpine 17:58:23 af6eaf76a39c: Already exists 17:58:23 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 17:58:23 Status: Downloaded newer image for alpine:3.17 17:58:23 ---> d74e625d9115 17:58:23 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 17:58:23 ---> Running in 9fbf1ab31f89 17:58:23 Removing intermediate container 9fbf1ab31f89 17:58:23 ---> 12bbf5067a48 17:58:23 Step 13/22 : RUN apk add --update --no-cache dumb-init 17:58:23 ---> Running in 2aa77f3ec890 17:58:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:58:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:58:23 (1/1) Installing dumb-init (1.2.5-r2) 17:58:23 Executing busybox-1.35.0-r29.trigger 17:58:23 OK: 8 MiB in 16 packages 17:58:23 Removing intermediate container 2aa77f3ec890 17:58:23 ---> 6fb781efa43f 17:58:23 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 17:58:23 ---> f3485e99c297 17:58:23 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 17:58:24 ---> 11b955d86063 17:58:24 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 17:58:25 ---> a962b7b5d384 17:58:25 Step 17/22 : EXPOSE 59901 17:58:25 ---> Running in 393c8d9ddbb6 17:58:25 Removing intermediate container 393c8d9ddbb6 17:58:25 ---> 74afa3c90d23 17:58:25 Step 18/22 : ENTRYPOINT ["/device-modbus"] 17:58:25 ---> Running in 6520719acaa3 17:58:25 Removing intermediate container 6520719acaa3 17:58:25 ---> 296ce5815aeb 17:58:25 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 17:58:25 ---> Running in 957f4589db03 17:58:25 Removing intermediate container 957f4589db03 17:58:25 ---> 8566b189594c 17:58:25 Step 20/22 : LABEL arch=arm64 17:58:25 ---> Running in e1d21b3aabe4 17:58:26 Removing intermediate container e1d21b3aabe4 17:58:26 ---> 0fe5c59b7784 17:58:26 Step 21/22 : LABEL git_sha=cc2551f8c6c10d1d02bc7af9946ca743999fc3f8 17:58:26 ---> Running in c4d5e9f60d22 17:58:26 Removing intermediate container c4d5e9f60d22 17:58:26 ---> d53948bfdc53 17:58:26 Step 22/22 : LABEL version=0.0.0 17:58:26 ---> Running in c3e86f00894f 17:58:26 Removing intermediate container c3e86f00894f 17:58:26 ---> 7bb339b5af71 17:58:26 [Warning] One or more build-args [ARCH] were not consumed 17:58:26 Successfully built 7bb339b5af71 17:58:26 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 17:58:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:58:27 17:58:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:58:27 arm64: Pulling from edgex-lftools-log-publisher 17:58:27 8998bd30e6a1: Pulling fs layer 17:58:27 04944245beec: Pulling fs layer 17:58:27 699f458cf7ca: Pulling fs layer 17:58:27 765212b225bb: Pulling fs layer 17:58:27 f23df028b6ca: Pulling fs layer 17:58:27 d65c8cfc05b1: Pulling fs layer 17:58:27 2437ff75d9bd: Pulling fs layer 17:58:27 765212b225bb: Waiting 17:58:27 f23df028b6ca: Waiting 17:58:27 d65c8cfc05b1: Waiting 17:58:27 04944245beec: Verifying Checksum 17:58:27 04944245beec: Download complete 17:58:27 765212b225bb: Verifying Checksum 17:58:27 765212b225bb: Download complete 17:58:27 f23df028b6ca: Verifying Checksum 17:58:27 f23df028b6ca: Download complete 17:58:27 d65c8cfc05b1: Verifying Checksum 17:58:27 d65c8cfc05b1: Download complete 17:58:27 699f458cf7ca: Verifying Checksum 17:58:27 699f458cf7ca: Download complete 17:58:28 8998bd30e6a1: Verifying Checksum 17:58:28 8998bd30e6a1: Download complete 17:58:30 2437ff75d9bd: Verifying Checksum 17:58:30 2437ff75d9bd: Download complete 17:58:31 8998bd30e6a1: Pull complete 17:58:31 04944245beec: Pull complete 17:58:33 699f458cf7ca: Pull complete 17:58:33 765212b225bb: Pull complete 17:58:33 f23df028b6ca: Pull complete 17:58:34 d65c8cfc05b1: Pull complete 17:58:46 2437ff75d9bd: Pull complete 17:58:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:58:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:58:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:58:46 prd-ubuntu20.04-docker-arm64-4c-16g-5723 does not seem to be running inside a container 17:58:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:58:49 $ docker top ceead921aed02a0ddb886883cec9e8842aa91ba2a2a814d21134e31c2c33a03b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:58:49 ---> job-cost.sh 17:58:49 lf-activate-venv: SKIPPING 17:58:49 INFO: No Stack... 17:58:50 INFO: Retrieving Pricing Info for: v3-standard-4 17:58:50 INFO: Archiving Costs [Pipeline] sh 17:58:51 + + cutcat -d, /w/workspace/device-modbus-go/2/archives/cost.csv -f6 17:58:51 [Pipeline] lock 17:58:51 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-445-2-stack-cost] 17:58:51 Resource [jenkins-edgexfoundry-device-modbus-go-PR-445-2-stack-cost] did not exist. Created. 17:58:51 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-445-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:58:51 /w/workspace/device-modbus-go/2@tmp/durable-3f13be01/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:58:51 + echo total: 0.10999999940395355 [Pipeline] stash 17:58:51 Warning: overwriting stash ‘stack-cost’ 17:58:52 Stashed 1 file(s) [Pipeline] } 17:58:52 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-445-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:58:52 $ docker stop --time=1 ceead921aed02a0ddb886883cec9e8842aa91ba2a2a814d21134e31c2c33a03b 17:58:53 $ docker rm -f --volumes ceead921aed02a0ddb886883cec9e8842aa91ba2a2a814d21134e31c2c33a03b [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 17:58:53 provisioning config files... 17:58:53 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp/config17152802734471182849tmp [Pipeline] { [Pipeline] sh 17:58:54 + set +x 17:58:54 + curl -s https://codecov.io/bash 17:58:54 + bash -s -- 17:58:54 17:58:54 _____ _ 17:58:54 / ____| | | 17:58:54 | | ___ __| | ___ ___ _____ __ 17:58:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:58:54 | |___| (_) | (_| | __/ (_| (_) \ V / 17:58:54 \_____\___/ \__,_|\___|\___\___/ \_/ 17:58:54 Bash-1.0.6 17:58:54 17:58:54 17:58:54 ==> git version 2.25.1 found 17:58:54 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 17:58:54 Release-Date: 2020-01-08 17:58:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:58:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:58:54 ==> Jenkins CI detected. 17:58:54 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-445 17:58:54 project root: . 17:58:54 --> token set from env 17:58:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:58:54 ==> Running gcov in . (disable via -X gcov) 17:58:54 ==> Python coveragepy not found 17:58:54 ==> Searching for coverage reports in: 17:58:54 + . 17:58:54 -> Found 1 reports 17:58:54 ==> Detecting git/mercurial file structure 17:58:54 ==> Reading reports 17:58:54 + ./coverage.out bytes=23736 17:58:54 ==> Appending adjustments 17:58:54 https://docs.codecov.io/docs/fixing-reports 17:58:54 + Found adjustments 17:58:54 ==> Gzipping contents 17:58:54 4.0K /tmp/codecov.KU3c3z.gz 17:58:54 ==> Uploading reports 17:58:54 url: https://codecov.io 17:58:54 query: branch=PR-445&commit=cc2551f8c6c10d1d02bc7af9946ca743999fc3f8&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-445%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=445&job=&cmd_args= 17:58:54 -> Pinging Codecov 17:58:54 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=cc2551f8c6c10d1d02bc7af9946ca743999fc3f8&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-445%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=445&job=&cmd_args= 17:58:54 -> Uploading to 17:58:54 https://storage.googleapis.com/codecov/v4/raw/2023-03-24/55DBCA73C666E3227836607328DD7E49/cc2551f8c6c10d1d02bc7af9946ca743999fc3f8/a89b095a-c641-4ae3-bd9d-21a8ae30f461.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230324%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230324T175854Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d09c7bc5a2c9021920d160bcd3a6110a418cbc4ab0cb7aab4b7b853d63fe20fe 17:58:54 % Total % Received % Xferd Average Speed Time Time Time Current 17:58:54 Dload Upload Total Spent Left Speed 17:58:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3886 0 0 100 3886 0 15359 --:--:-- --:--:-- --:--:-- 15359 17:58:54 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/cc2551f8c6c10d1d02bc7af9946ca743999fc3f8 [Pipeline] } 17:58:54 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 17:58:55 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-445/archives ] 17:58:55 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-445/archives 17:58:55 total 16 17:58:55 drwxr-xr-x 3 root root 4096 Mar 24 17:51 . 17:58:55 drwxrwxr-x 11 jenkins jenkins 4096 Mar 24 17:51 .. 17:58:55 drwxr-xr-x 2 root root 4096 Mar 24 17:51 cost 17:58:55 -rw-r--r-- 1 root root 88 Mar 24 17:51 cost.csv 17:58:55 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-445/archives 17:58:55 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-445/archives 17:58:55 total 16 17:58:55 drwxr-xr-x 3 jenkins jenkins 4096 Mar 24 17:51 . 17:58:55 drwxrwxr-x 11 jenkins jenkins 4096 Mar 24 17:51 .. 17:58:55 drwxr-xr-x 2 jenkins jenkins 4096 Mar 24 17:51 cost 17:58:55 -rw-r--r-- 1 jenkins jenkins 88 Mar 24 17:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:58:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:58:56 ---> package-listing.sh 17:58:56 ++ facter osfamily 17:58:56 ++ tr '[:upper:]' '[:lower:]' 17:58:56 + OS_FAMILY=debian 17:58:56 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-445 17:58:56 + START_PACKAGES=/tmp/packages_start.txt 17:58:56 + END_PACKAGES=/tmp/packages_end.txt 17:58:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:58:56 + PACKAGES=/tmp/packages_start.txt 17:58:56 + '[' /w/workspace/xfoundry_device-modbus-go_PR-445 ']' 17:58:56 + PACKAGES=/tmp/packages_end.txt 17:58:56 + case "${OS_FAMILY}" in 17:58:56 + dpkg -l 17:58:56 + grep '^ii' 17:58:56 + '[' -f /tmp/packages_start.txt ']' 17:58:56 + '[' -f /tmp/packages_end.txt ']' 17:58:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:58:56 + '[' /w/workspace/xfoundry_device-modbus-go_PR-445 ']' 17:58:56 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-445/archives/ 17:58:56 + 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 17:58:56 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 17:58:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:58:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:58:57 prd-ubuntu20.04-docker-8c-8g-5722 does not seem to be running inside a container 17:58:57 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-445/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-445 -v /w/workspace/xfoundry_device-modbus-go_PR-445:/w/workspace/xfoundry_device-modbus-go_PR-445:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-445@tmp:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:58:58 $ docker top 7d7c3acff10a9425901af2704252f4a682514eeb1ad80f7e062139a21a7198c4 -eo pid,comm [Pipeline] { [Pipeline] sh 17:58:58 + touch /tmp/pre-build-complete [Pipeline] sh 17:58:58 + mkdir -p /var/log/sysstat [Pipeline] sh 17:58:59 + ls /var/log/sa-host 17:58:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:58:59 provisioning config files... 17:58:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp/config13988994953349853815tmp [Pipeline] { [Pipeline] echo 17:58:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:58:59 ---> create-netrc.sh [Pipeline] } 17:58:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:58:59 ---> python-tools-install.sh [Pipeline] echo 17:58:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:58:59 ---> sudo-logs.sh 17:58:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:59:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:59:00 ---> job-cost.sh 17:59:00 lf-activate-venv: SKIPPING 17:59:00 DEBUG: total: 0.2199999988079071 17:59:00 INFO: Retrieving Stack Cost... 17:59:00 INFO: Retrieving Pricing Info for: v3-standard-8 17:59:01 INFO: Archiving Costs [Pipeline] echo 17:59:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:59:01 ---> logs-deploy.sh 17:59:01 lf-activate-venv: SKIPPING 17:59:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-445/2 17:59:01 INFO: archiving workspace using pattern(s): 17:59:02 Archives upload complete. 17:59:02 INFO: archiving logs to Nexus