Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 514f8514b7960d8aafd43d2de455918271582671+251be81c94d6bf2c69d06494166ea5d98cfe24ab (59acdce2ce26fa240caf0f6adc202a6e577d5eb7) 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-ssh3171220229351471965.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh16441888781864655328.key Verifying host key using known hosts file > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-385/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-385/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14939422940318831048.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh5147943910878634814.key Verifying host key using known hosts file > 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-385/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-385/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4434669474798020301.key Verifying host key using known hosts file > 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.18 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-centos7-blackbox-4c-2g-118274’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-118658’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-118657’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-118659 in /w/workspace/xfoundry_device-modbus-go_PR-385 [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-385 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/385/head:refs/remotes/origin/PR-385 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 251be81c94d6bf2c69d06494166ea5d98cfe24ab into PR head commit 514f8514b7960d8aafd43d2de455918271582671 Merge succeeded, producing 9c38d860346094190cd48530eb505bcf9eaa76e0 Checking out Revision 9c38d860346094190cd48530eb505bcf9eaa76e0 (PR-385) > git config core.sparsecheckout # timeout=10 > git checkout -f 514f8514b7960d8aafd43d2de455918271582671 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 251be81c94d6bf2c69d06494166ea5d98cfe24ab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9c38d860346094190cd48530eb505bcf9eaa76e0 # timeout=10 Commit message: "Merge commit '251be81c94d6bf2c69d06494166ea5d98cfe24ab' into HEAD" > git rev-list --no-walk 514f8514b7960d8aafd43d2de455918271582671 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:52:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:52:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:52:45 ========================================================= 20:52:45 EdgeX Global Pipelines Version Info 20:52:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:52:46 ------------------- 20:52:46 stable info: 20:52:46 ------------------- 20:52:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:52:46 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 20:52:46 Message: update stable to v1.0.244 20:52:46 ------------------- 20:52:46 experimental info: 20:52:46 ------------------- 20:52:46 Commited By: **** collab-it+edgex@linuxfoundation.org 20:52:46 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 20:52:46 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:52:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 20:52:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 20:52:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:52:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:52:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:52:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:52:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:52:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:52:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:52:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:52:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:52:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 20:52:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:52:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:52:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:52:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:52:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:52:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:52:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:52:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:52:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:52:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:52:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:52:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:52:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:52:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:52:47 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:52:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-385 [Pipeline] echo 20:52:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-385 [Pipeline] echo 20:52:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-385 [Pipeline] echo 20:52:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9c38d860346094190cd48530eb505bcf9eaa76e0 [Pipeline] echo 20:52:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9c38d86 [Pipeline] echo 20:52:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:52:47 provisioning config files... 20:52:47 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config1525802789057294752tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:52:47 ---> docker-login.sh 20:52:47 nexus3.edgexfoundry.org:10001 20:52:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:47 Configure a credential helper to remove this warning. See 20:52:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:47 20:52:47 Login Succeeded 20:52:47 nexus3.edgexfoundry.org:10002 20:52:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:47 Configure a credential helper to remove this warning. See 20:52:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:47 20:52:47 Login Succeeded 20:52:47 nexus3.edgexfoundry.org:10003 20:52:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:48 Configure a credential helper to remove this warning. See 20:52:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:48 20:52:48 Login Succeeded 20:52:48 nexus3.edgexfoundry.org:10004 20:52:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:48 Configure a credential helper to remove this warning. See 20:52:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:48 20:52:48 Login Succeeded 20:52:48 docker.io 20:52:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:48 Configure a credential helper to remove this warning. See 20:52:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:48 20:52:48 Login Succeeded 20:52:48 ---> docker-login.sh ends [Pipeline] } 20:52:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:52:48 + git rev-list -1 --merges 9c38d860346094190cd48530eb505bcf9eaa76e0~1..9c38d860346094190cd48530eb505bcf9eaa76e0 [Pipeline] echo 20:52:49 -----------> git rev-list -1 --merges 9c38d860346094190cd48530eb505bcf9eaa76e0~1..9c38d860346094190cd48530eb505bcf9eaa76e0 9c38d860346094190cd48530eb505bcf9eaa76e0 20:52:49 9c38d860346094190cd48530eb505bcf9eaa76e0 [false] [Pipeline] sh 20:52:49 + git log --format=format:%s -1 9c38d860346094190cd48530eb505bcf9eaa76e0 [Pipeline] echo 20:52:49 ========================================================= 20:52:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:52:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:52:49 + git log --format=format:%s -1 9c38d860346094190cd48530eb505bcf9eaa76e0 [Pipeline] echo 20:52:49 [semverPrep] GIT_COMMIT: 9c38d860346094190cd48530eb505bcf9eaa76e0, Commit Message: Merge commit '251be81c94d6bf2c69d06494166ea5d98cfe24ab' into HEAD [Pipeline] echo 20:52:49 [semverPrep] This is not a build commit. [Pipeline] sh 20:52:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:52:50 + grep -v github /etc/ssh/ssh_known_hosts 20:52:50 + [ -e /tmp/ssh_known_hosts ] 20:52:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:52:50 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:52:50 sudo tee -a /etc/ssh/ssh_known_hosts 20:52:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:52:50 20:52:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:52:50 0.1.4: Pulling from edgex-devops/py-git-semver 20:52:50 b85a868b505f: Pulling fs layer 20:52:50 e2be974225ed: Pulling fs layer 20:52:50 339a4e72a1f5: Pulling fs layer 20:52:50 988bab9f4d93: Pulling fs layer 20:52:50 1469e6f7b9e6: Pulling fs layer 20:52:50 eaf3925da568: Pulling fs layer 20:52:50 bab4dde63d76: Pulling fs layer 20:52:50 bde34c3a00c8: Pulling fs layer 20:52:50 b352a97aabf1: Pulling fs layer 20:52:50 4872d77fe225: Pulling fs layer 20:52:50 5851b861e8e6: Pulling fs layer 20:52:50 bab4dde63d76: Waiting 20:52:50 4872d77fe225: Waiting 20:52:50 5851b861e8e6: Waiting 20:52:50 bde34c3a00c8: Waiting 20:52:50 b352a97aabf1: Waiting 20:52:50 988bab9f4d93: Waiting 20:52:50 1469e6f7b9e6: Waiting 20:52:50 eaf3925da568: Waiting 20:52:50 e2be974225ed: Verifying Checksum 20:52:50 e2be974225ed: Download complete 20:52:50 988bab9f4d93: Verifying Checksum 20:52:50 988bab9f4d93: Download complete 20:52:51 1469e6f7b9e6: Verifying Checksum 20:52:51 1469e6f7b9e6: Download complete 20:52:51 339a4e72a1f5: Verifying Checksum 20:52:51 339a4e72a1f5: Download complete 20:52:51 eaf3925da568: Verifying Checksum 20:52:51 eaf3925da568: Download complete 20:52:51 bde34c3a00c8: Verifying Checksum 20:52:51 bde34c3a00c8: Download complete 20:52:51 b352a97aabf1: Verifying Checksum 20:52:51 b352a97aabf1: Download complete 20:52:51 4872d77fe225: Download complete 20:52:51 5851b861e8e6: Verifying Checksum 20:52:51 5851b861e8e6: Download complete 20:52:51 b85a868b505f: Verifying Checksum 20:52:51 b85a868b505f: Download complete 20:52:51 bab4dde63d76: Verifying Checksum 20:52:51 bab4dde63d76: Download complete 20:52:52 b85a868b505f: Pull complete 20:52:52 e2be974225ed: Pull complete 20:52:52 339a4e72a1f5: Pull complete 20:52:52 988bab9f4d93: Pull complete 20:52:53 1469e6f7b9e6: Pull complete 20:52:53 eaf3925da568: Pull complete 20:52:54 bab4dde63d76: Pull complete 20:52:54 bde34c3a00c8: Pull complete 20:52:55 b352a97aabf1: Pull complete 20:52:55 4872d77fe225: Pull complete 20:52:55 5851b861e8e6: Pull complete 20:52:55 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:52:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:52:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:55 prd-ubuntu20.04-docker-8c-8g-118659 does not seem to be running inside a container 20:52:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:52:57 $ docker top 658b6313bf6bf5ac885f04bffb819043838f438c99a2910c8c3368619ec77556 -eo pid,comm 20:52:57 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:52:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:52:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:52:57 [ssh-agent] Looking for ssh-agent implementation... 20:52:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:52:57 $ docker exec 658b6313bf6bf5ac885f04bffb819043838f438c99a2910c8c3368619ec77556 ssh-agent 20:52:57 SSH_AUTH_SOCK=/tmp/ssh-DvQOaDXc7IRJ/agent.33 20:52:57 SSH_AGENT_PID=39 20:52:57 Running ssh-add (command line suppressed) 20:52:58 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_13653146998504817875.key (/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_13653146998504817875.key) 20:52:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:52:58 + git tag --points-at HEAD [Pipeline] } 20:52:58 $ docker exec --env ******** --env ******** 658b6313bf6bf5ac885f04bffb819043838f438c99a2910c8c3368619ec77556 ssh-agent -k 20:52:58 unset SSH_AUTH_SOCK; 20:52:58 unset SSH_AGENT_PID; 20:52:58 echo Agent pid 39 killed; 20:52:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:52:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:52:58 [ssh-agent] Looking for ssh-agent implementation... 20:52:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:52:58 $ docker exec 658b6313bf6bf5ac885f04bffb819043838f438c99a2910c8c3368619ec77556 ssh-agent 20:52:58 SSH_AUTH_SOCK=/tmp/ssh-p8IQRil6a5C2/agent.71 20:52:58 SSH_AGENT_PID=78 20:52:58 Running ssh-add (command line suppressed) 20:52:58 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_16395151519756517677.key (/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_16395151519756517677.key) 20:52:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:52:59 + git semver init 20:52:59 2022-11-08 20:52:59,288 [run_init] DEBUG init version:0.0.0 force:False 20:52:59 2022-11-08 20:52:59,288 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-385/.semver 20:52:59 2022-11-08 20:52:59,289 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-385/.semver 20:52:59 2022-11-08 20:52:59,289 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-385/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-385, universal_newlines=False, shell=None, istream=None) 20:53:00 2022-11-08 20:53:00,223 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-385/.git/info/exclude 20:53:00 2022-11-08 20:53:00,224 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-385/.semver/PR-385 with force:False 20:53:00 2022-11-08 20:53:00,224 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-385/.semver/PR-385 20:53:00 2022-11-08 20:53:00,228 [execute] INFO git cat-file --batch-check 20:53:00 2022-11-08 20:53:00,229 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-385/.semver, universal_newlines=False, shell=None, istream=) 20:53:00 2022-11-08 20:53:00,234 [execute] INFO git cat-file --batch 20:53:00 2022-11-08 20:53:00,235 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-385/.semver, universal_newlines=False, shell=None, istream=) 20:53:00 2022-11-08 20:53:00,241 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-385/.semver/PR-385 20:53:00 0.0.0 [Pipeline] } 20:53:00 $ docker exec --env ******** --env ******** 658b6313bf6bf5ac885f04bffb819043838f438c99a2910c8c3368619ec77556 ssh-agent -k 20:53:00 unset SSH_AUTH_SOCK; 20:53:00 unset SSH_AGENT_PID; 20:53:00 echo Agent pid 78 killed; 20:53:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:53:00 + git semver [Pipeline] } 20:53:01 $ docker stop --time=1 658b6313bf6bf5ac885f04bffb819043838f438c99a2910c8c3368619ec77556 20:53:02 $ docker rm -f 658b6313bf6bf5ac885f04bffb819043838f438c99a2910c8c3368619ec77556 [Pipeline] // withDockerContainer [Pipeline] sh 20:53:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:53:02 Stashed 1 file(s) [Pipeline] echo 20:53:02 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:53:02 provisioning config files... 20:53:02 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config14830185760864248871tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:53:03 ---> docker-login.sh 20:53:03 nexus3.edgexfoundry.org:10001 20:53:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:03 Configure a credential helper to remove this warning. See 20:53:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:03 20:53:03 Login Succeeded 20:53:03 nexus3.edgexfoundry.org:10002 20:53:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:03 Configure a credential helper to remove this warning. See 20:53:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:03 20:53:03 Login Succeeded 20:53:03 nexus3.edgexfoundry.org:10003 20:53:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:03 Configure a credential helper to remove this warning. See 20:53:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:03 20:53:03 Login Succeeded 20:53:03 nexus3.edgexfoundry.org:10004 20:53:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:03 Configure a credential helper to remove this warning. See 20:53:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:03 20:53:03 Login Succeeded 20:53:03 docker.io 20:53:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:04 Configure a credential helper to remove this warning. See 20:53:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:04 20:53:04 Login Succeeded 20:53:04 ---> docker-login.sh ends [Pipeline] } 20:53:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:53:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:53:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:53:04 ========================================================= 20:53:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:53:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:04 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:53:04 Sending build context to Docker daemon 6.28MB 20:53:04 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 20:53:04 Step 2/10 : FROM ${BASE} AS builder 20:53:04 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:53:04 213ec9aee27d: Pulling fs layer 20:53:04 4583459ba037: Pulling fs layer 20:53:04 93c1e223e6f2: Pulling fs layer 20:53:04 53926ce57604: Pulling fs layer 20:53:04 21b2b0c7a3f4: Pulling fs layer 20:53:04 22ff95d597cd: Pulling fs layer 20:53:04 12d6caf4c0d1: Pulling fs layer 20:53:04 96b7cbca73a9: Pulling fs layer 20:53:04 a7acece74701: Pulling fs layer 20:53:04 53926ce57604: Waiting 20:53:04 21b2b0c7a3f4: Waiting 20:53:04 22ff95d597cd: Waiting 20:53:04 12d6caf4c0d1: Waiting 20:53:04 a7acece74701: Waiting 20:53:04 96b7cbca73a9: Waiting 20:53:04 93c1e223e6f2: Verifying Checksum 20:53:04 93c1e223e6f2: Download complete 20:53:04 4583459ba037: Download complete 20:53:04 21b2b0c7a3f4: Verifying Checksum 20:53:04 21b2b0c7a3f4: Download complete 20:53:04 22ff95d597cd: Verifying Checksum 20:53:04 22ff95d597cd: Download complete 20:53:04 213ec9aee27d: Verifying Checksum 20:53:04 213ec9aee27d: Download complete 20:53:04 12d6caf4c0d1: Download complete 20:53:04 213ec9aee27d: Pull complete 20:53:04 4583459ba037: Pull complete 20:53:04 93c1e223e6f2: Pull complete 20:53:05 53926ce57604: Verifying Checksum 20:53:05 53926ce57604: Download complete 20:53:05 a7acece74701: Verifying Checksum 20:53:05 a7acece74701: Download complete 20:53:05 96b7cbca73a9: Verifying Checksum 20:53:05 96b7cbca73a9: Download complete 20:53:09 53926ce57604: Pull complete 20:53:09 21b2b0c7a3f4: Pull complete 20:53:09 22ff95d597cd: Pull complete 20:53:09 12d6caf4c0d1: Pull complete 20:53:11 96b7cbca73a9: Pull complete 20:53:12 a7acece74701: Pull complete 20:53:12 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 20:53:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:53:12 ---> db6d94c90886 20:53:12 Step 3/10 : ARG ADD_BUILD_TAGS="" 20:53:16 ---> Running in 88126312f645 20:53:16 Removing intermediate container 88126312f645 20:53:16 ---> 5334c883ba12 20:53:16 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:53:16 ---> Running in 830025a6e297 20:53:16 Removing intermediate container 830025a6e297 20:53:16 ---> 003f2326c166 20:53:16 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 20:53:16 ---> Running in e6c4b0538f8d 20:53:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:53:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:53:17 (1/8) Installing openssh-keygen (9.0_p1-r2) 20:53:17 (2/8) Installing libedit (20210910.3.1-r0) 20:53:17 (3/8) Installing openssh-client-common (9.0_p1-r2) 20:53:17 (4/8) Installing openssh-client-default (9.0_p1-r2) 20:53:17 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 20:53:17 (6/8) Installing openssh-server-common (9.0_p1-r2) 20:53:17 (7/8) Installing openssh-server (9.0_p1-r2) 20:53:17 (8/8) Installing openssh (9.0_p1-r2) 20:53:17 Executing busybox-1.35.0-r17.trigger 20:53:17 OK: 217 MiB in 59 packages 20:53:17 Still waiting to schedule task 20:53:17 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-118657’ 20:53:18 Removing intermediate container e6c4b0538f8d 20:53:18 ---> 908ecf34d2db 20:53:18 Step 6/10 : WORKDIR /device-modbus-go 20:53:18 ---> Running in 2ff8ed138215 20:53:18 Removing intermediate container 2ff8ed138215 20:53:18 ---> 9163683e389b 20:53:18 Step 7/10 : COPY go.mod vendor* ./ 20:53:18 ---> c78b31ee5b1c 20:53:18 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:53:18 ---> Running in c9e37f55f8dd 20:53:40 Removing intermediate container c9e37f55f8dd 20:53:40 ---> e8d78a490955 20:53:40 Step 9/10 : COPY . . 20:53:40 ---> 1a142bbf2578 20:53:40 Step 10/10 : RUN ${MAKE} 20:53:40 ---> Running in f68088e76dc8 20:53:40 noop 20:53:40 Removing intermediate container f68088e76dc8 20:53:40 ---> 1660c219902b 20:53:40 Successfully built 1660c219902b 20:53:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:41 + docker inspect -f . ci-base-image-x86_64 20:53:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:41 prd-ubuntu20.04-docker-8c-8g-118659 does not seem to be running inside a container 20:53:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@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 ******** ci-base-image-x86_64 cat 20:53:41 $ docker top 440c5573cc7fa61cba70ee202721617815d76a1cc4dc0794136a540c1fd4ef04 -eo pid,comm [Pipeline] { [Pipeline] sh 20:53:42 + go version 20:53:42 go version go1.18.7 linux/amd64 [Pipeline] } 20:53:42 $ docker stop --time=1 440c5573cc7fa61cba70ee202721617815d76a1cc4dc0794136a540c1fd4ef04 20:53:43 $ docker rm -f 440c5573cc7fa61cba70ee202721617815d76a1cc4dc0794136a540c1fd4ef04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:43 + docker inspect -f . ci-base-image-x86_64 20:53:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:43 prd-ubuntu20.04-docker-8c-8g-118659 does not seem to be running inside a container 20:53:43 $ 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-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@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 ******** ci-base-image-x86_64 cat 20:53:44 $ docker top 89a815b4de8d12fcdba97e364b0bfc76b555df8b91c42a453722a45a523f3411 -eo pid,comm [Pipeline] { [Pipeline] sh 20:53:44 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-385 [Pipeline] fileExists [Pipeline] sh 20:53:44 + make test 20:53:44 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:53:45 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:53:55 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:53:55 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.7% of statements 20:54:01 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 20:54:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:54:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:54:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:54:05 ./bin/test-attribution-txt.sh [Pipeline] echo 20:54:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:54:05 $ docker stop --time=1 89a815b4de8d12fcdba97e364b0bfc76b555df8b91c42a453722a45a523f3411 20:54:08 $ docker rm -f 89a815b4de8d12fcdba97e364b0bfc76b555df8b91c42a453722a45a523f3411 [Pipeline] // withDockerContainer [Pipeline] sh 20:54:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:54:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:54:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:54:09 + ls -al . 20:54:09 total 196 20:54:09 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 20:53 . 20:54:09 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 20:52 .. 20:54:09 -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 20:52 .dockerignore 20:54:09 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 20:53 .git 20:54:09 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 20:52 .github 20:54:09 -rw-rw-r-- 1 jenkins jenkins 331 Nov 8 20:52 .gitignore 20:54:09 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 20:52 .golangci.yml 20:54:09 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 20:53 .semver 20:54:09 -rw-rw-r-- 1 jenkins jenkins 10121 Nov 8 20:52 Attribution.txt 20:54:09 -rw-rw-r-- 1 jenkins jenkins 11576 Nov 8 20:52 CHANGELOG.md 20:54:09 -rw-rw-r-- 1 jenkins jenkins 1428 Nov 8 20:52 Dockerfile 20:54:09 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 20:52 GOVERNANCE.md 20:54:09 -rw-rw-r-- 1 jenkins jenkins 680 Nov 8 20:52 Jenkinsfile 20:54:09 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 20:52 LICENSE 20:54:09 -rw-rw-r-- 1 jenkins jenkins 2101 Nov 8 20:52 Makefile 20:54:09 -rw-rw-r-- 1 jenkins jenkins 622 Nov 8 20:52 OWNERS.md 20:54:09 -rw-rw-r-- 1 jenkins jenkins 4061 Nov 8 20:52 README.md 20:54:09 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 20:53 VERSION 20:54:09 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 20:52 bin 20:54:09 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 20:52 cmd 20:54:09 -rw-r--r-- 1 jenkins jenkins 23241 Nov 8 20:53 coverage.out 20:54:09 -rw-rw-r-- 1 jenkins jenkins 3583 Nov 8 20:52 go.mod 20:54:09 -rw-rw-r-- 1 jenkins jenkins 45388 Nov 8 20:52 go.sum 20:54:09 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 20:52 internal 20:54:09 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 20:52 simulator 20:54:09 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 20:52 snap 20:54:09 -rw-rw-r-- 1 jenkins jenkins 229 Nov 8 20:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:09 + 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=9c38d860346094190cd48530eb505bcf9eaa76e0 --label arch=amd64 --label version=0.0.0 . 20:54:09 Sending build context to Docker daemon 6.304MB 20:54:09 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 20:54:09 Step 2/22 : FROM ${BASE} AS builder 20:54:09 ---> 1660c219902b 20:54:09 Step 3/22 : ARG ADD_BUILD_TAGS="" 20:54:10 ---> Running in 32a52e865a02 20:54:10 Removing intermediate container 32a52e865a02 20:54:10 ---> 11a073d6c3ef 20:54:10 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:54:10 ---> Running in 10e516c2f981 20:54:10 Removing intermediate container 10e516c2f981 20:54:10 ---> fc532d43bf0b 20:54:10 Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 20:54:10 ---> Running in e6137a1734db 20:54:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:54:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:54:10 OK: 217 MiB in 59 packages 20:54:11 Removing intermediate container e6137a1734db 20:54:11 ---> e58bdce490f5 20:54:11 Step 6/22 : WORKDIR /device-modbus-go 20:54:11 ---> Running in 819eeffbc83d 20:54:11 Removing intermediate container 819eeffbc83d 20:54:11 ---> f1f4e80041eb 20:54:11 Step 7/22 : COPY go.mod vendor* ./ 20:54:11 ---> 7fcb0b4b04ee 20:54:11 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:54:11 ---> Running in 35724d725303 20:54:12 Removing intermediate container 35724d725303 20:54:12 ---> 74551f6c8ba0 20:54:12 Step 9/22 : COPY . . 20:54:12 ---> bfd2f52c737b 20:54:12 Step 10/22 : RUN ${MAKE} 20:54:12 ---> Running in 1e23e6551efb 20:54:12 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 20:54:34 Removing intermediate container 1e23e6551efb 20:54:34 ---> 498d64ca59dd 20:54:34 Step 11/22 : FROM alpine:3.14 20:54:35 3.14: Pulling from library/alpine 20:54:35 c7ed990a2339: Pulling fs layer 20:54:35 c7ed990a2339: Verifying Checksum 20:54:35 c7ed990a2339: Download complete 20:54:35 c7ed990a2339: Pull complete 20:54:35 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 20:54:35 Status: Downloaded newer image for alpine:3.14 20:54:35 ---> dd53f409bf0b 20:54:35 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 20:54:35 ---> Running in ae2083f79bec 20:54:35 Removing intermediate container ae2083f79bec 20:54:35 ---> 83ef36b4a0b1 20:54:35 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 20:54:35 ---> Running in a97d6303ae00 20:54:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:54:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:54:36 (1/6) Installing dumb-init (1.2.5-r1) 20:54:36 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:54:36 (3/6) Installing libsodium (1.0.18-r0) 20:54:36 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:54:36 (5/6) Installing libzmq (4.3.4-r0) 20:54:36 (6/6) Installing zeromq (4.3.4-r0) 20:54:36 Executing busybox-1.33.1-r8.trigger 20:54:36 OK: 8 MiB in 20 packages 20:54:37 Removing intermediate container a97d6303ae00 20:54:37 ---> 9bedca58ea18 20:54:37 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 20:54:37 ---> d24af9b00e43 20:54:37 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 20:54:37 ---> aae802919962 20:54:37 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 20:54:38 ---> 52f6f3ef2c2c 20:54:38 Step 17/22 : EXPOSE 59901 20:54:38 ---> Running in 914b2aa5cea9 20:54:38 Removing intermediate container 914b2aa5cea9 20:54:38 ---> 3909bca5e4f5 20:54:38 Step 18/22 : ENTRYPOINT ["/device-modbus"] 20:54:38 ---> Running in 90f1f31fa7cc 20:54:38 Removing intermediate container 90f1f31fa7cc 20:54:38 ---> 19acf05cf6da 20:54:38 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:54:38 ---> Running in 68222d0279ad 20:54:38 Removing intermediate container 68222d0279ad 20:54:38 ---> 56222541e2bf 20:54:38 Step 20/22 : LABEL arch=amd64 20:54:38 ---> Running in f4dea64e9350 20:54:38 Removing intermediate container f4dea64e9350 20:54:38 ---> f0c33d272e04 20:54:38 Step 21/22 : LABEL git_sha=9c38d860346094190cd48530eb505bcf9eaa76e0 20:54:38 ---> Running in cab870946d76 20:54:38 Removing intermediate container cab870946d76 20:54:38 ---> 4ecd758ac9eb 20:54:38 Step 22/22 : LABEL version=0.0.0 20:54:38 ---> Running in a2315b4af22d 20:54:38 Removing intermediate container a2315b4af22d 20:54:38 ---> a6e5a3a3ed9e 20:54:38 [Warning] One or more build-args [ARCH] were not consumed 20:54:38 Successfully built a6e5a3a3ed9e 20:54:38 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:54:38 20:54:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:54:39 latest: Pulling from edgex-lftools-log-publisher 20:54:39 5eb5b503b376: Pulling fs layer 20:54:39 5c69ac0246d0: Pulling fs layer 20:54:39 ec43610c2a17: Pulling fs layer 20:54:39 3a2ae6a8a46f: Pulling fs layer 20:54:39 33b1e0a273af: Pulling fs layer 20:54:39 5d3b04190fa2: Pulling fs layer 20:54:39 2f39f015ded8: Pulling fs layer 20:54:39 2f39f015ded8: Waiting 20:54:39 33b1e0a273af: Waiting 20:54:39 5d3b04190fa2: Waiting 20:54:39 3a2ae6a8a46f: Waiting 20:54:39 5c69ac0246d0: Download complete 20:54:39 3a2ae6a8a46f: Verifying Checksum 20:54:39 3a2ae6a8a46f: Download complete 20:54:39 33b1e0a273af: Verifying Checksum 20:54:39 33b1e0a273af: Download complete 20:54:39 5d3b04190fa2: Verifying Checksum 20:54:39 5d3b04190fa2: Download complete 20:54:39 ec43610c2a17: Verifying Checksum 20:54:39 ec43610c2a17: Download complete 20:54:39 5eb5b503b376: Verifying Checksum 20:54:39 5eb5b503b376: Download complete 20:54:40 2f39f015ded8: Download complete 20:54:40 5eb5b503b376: Pull complete 20:54:40 5c69ac0246d0: Pull complete 20:54:41 ec43610c2a17: Pull complete 20:54:41 3a2ae6a8a46f: Pull complete 20:54:41 33b1e0a273af: Pull complete 20:54:41 5d3b04190fa2: Pull complete 20:54:45 2f39f015ded8: Pull complete 20:54:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:54:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:54:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:54:45 prd-ubuntu20.04-docker-8c-8g-118659 does not seem to be running inside a container 20:54:45 $ 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-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:54:48 $ docker top bc415785dfea34b3b2514ccfb1511096113d48efb4f143d82ae43325e45b3044 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:54:48 ---> job-cost.sh 20:54:48 lf-activate-venv: SKIPPING 20:54:48 INFO: No Stack... 20:54:49 INFO: Retrieving Pricing Info for: v3-standard-8 20:54:49 INFO: Archiving Costs [Pipeline] sh 20:54:49 + + cat /w/workspace/xfoundry_device-modbus-go_PR-385/archives/cost.csv 20:54:49 cut -d, -f6 [Pipeline] lock 20:54:49 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-385-9-stack-cost] 20:54:49 Resource [jenkins-edgexfoundry-device-modbus-go-PR-385-9-stack-cost] did not exist. Created. 20:54:49 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-385-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:54:50 + echo total: 0.2199999988079071 [Pipeline] stash 20:54:50 Stashed 1 file(s) [Pipeline] } 20:54:50 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-385-9-stack-cost] [Pipeline] // lock [Pipeline] } 20:54:50 $ docker stop --time=1 bc415785dfea34b3b2514ccfb1511096113d48efb4f143d82ae43325e45b3044 20:54:51 $ docker rm -f bc415785dfea34b3b2514ccfb1511096113d48efb4f143d82ae43325e45b3044 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:55:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118661 in /w/workspace/xfoundry_device-modbus-go_PR-385 [Pipeline] { [Pipeline] ws 20:55:43 Running in /w/workspace/device-modbus-go/9 [Pipeline] { [Pipeline] checkout 20:55:43 Selected Git installation does not exist. Using Default 20:55:43 The recommended git tool is: NONE 20:55:50 using credential edgex-jenkins-ssh 20:55:50 Cloning the remote Git repository 20:55:50 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 20:55:51 > git init /w/workspace/device-modbus-go/9 # timeout=10 20:55:51 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:55:51 > git --version # timeout=10 20:55:51 > git --version # 'git version 2.25.1' 20:55:51 using GIT_SSH to set credentials SSH Credentials for GitHub 20:55:51 Verifying host key using known hosts file 20:55:51 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 20:55:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:55:52 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:55:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:55:54 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:55:54 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:55:54 using GIT_SSH to set credentials SSH Credentials for GitHub 20:55:54 Verifying host key using known hosts file 20:55:54 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 20:55:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/385/head:refs/remotes/origin/PR-385 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:55:54 Merging remotes/origin/main commit 251be81c94d6bf2c69d06494166ea5d98cfe24ab into PR head commit 514f8514b7960d8aafd43d2de455918271582671 20:55:55 Merge succeeded, producing 3a01ea38cf8c3b69325d9a8b2a9073e3b286f188 20:55:55 Checking out Revision 3a01ea38cf8c3b69325d9a8b2a9073e3b286f188 (PR-385) 20:55:54 > git config core.sparsecheckout # timeout=10 20:55:54 > git checkout -f 514f8514b7960d8aafd43d2de455918271582671 # timeout=10 20:55:54 > git remote # timeout=10 20:55:54 > git config --get remote.origin.url # timeout=10 20:55:54 using GIT_SSH to set credentials SSH Credentials for GitHub 20:55:54 Verifying host key using known hosts file 20:55:54 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 20:55:54 > git merge 251be81c94d6bf2c69d06494166ea5d98cfe24ab # timeout=10 20:55:55 > git rev-parse HEAD^{commit} # timeout=10 20:55:55 > git config core.sparsecheckout # timeout=10 20:55:55 > git checkout -f 3a01ea38cf8c3b69325d9a8b2a9073e3b286f188 # timeout=10 20:55:58 Commit message: "Merge commit '251be81c94d6bf2c69d06494166ea5d98cfe24ab' into HEAD" 20:55:58 > git rev-list --no-walk 514f8514b7960d8aafd43d2de455918271582671 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:55:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:55:59 % Total % Received % Xferd Average Speed Time Time Time Current 20:55:59 Dload Upload Total Spent Left Speed 20:55:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 205k 0 --:--:-- --:--:-- --:--:-- 205k [Pipeline] sh 20:56:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:56:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:56:00 + sudo tee /etc/docker/daemon.new 20:56:00 { 20:56:00 "registry-mirrors": [ 20:56:00 "https://nexus3.edgexfoundry.org:10001" 20:56:00 ], 20:56:00 "bip": "10.250.0.254/24", 20:56:00 "hosts": [ 20:56:00 "tcp://0.0.0.0:5555", 20:56:00 "unix:///var/run/docker.sock" 20:56:00 ], 20:56:00 "mtu": 1458, 20:56:00 "selinux-enabled": true, 20:56:00 "seccomp-profile": "/etc/docker/seccomp.json" 20:56:00 } [Pipeline] sh 20:56:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:56:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:56:19 provisioning config files... 20:56:20 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/9@tmp/config3473339802238594488tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:56:20 ---> docker-login.sh 20:56:20 nexus3.edgexfoundry.org:10001 20:56:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:20 Configure a credential helper to remove this warning. See 20:56:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:20 20:56:20 Login Succeeded 20:56:20 nexus3.edgexfoundry.org:10002 20:56:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:21 Configure a credential helper to remove this warning. See 20:56:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:21 20:56:21 Login Succeeded 20:56:21 nexus3.edgexfoundry.org:10003 20:56:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:21 Configure a credential helper to remove this warning. See 20:56:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:21 20:56:21 Login Succeeded 20:56:21 nexus3.edgexfoundry.org:10004 20:56:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:22 Configure a credential helper to remove this warning. See 20:56:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:22 20:56:22 Login Succeeded 20:56:22 docker.io 20:56:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:22 Configure a credential helper to remove this warning. See 20:56:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:22 20:56:22 Login Succeeded 20:56:22 ---> docker-login.sh ends [Pipeline] } 20:56:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:56:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:56:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:56:23 ========================================================= 20:56:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:56:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:23 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:56:23 Sending build context to Docker daemon 3.282MB 20:56:23 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 20:56:23 Step 2/10 : FROM ${BASE} AS builder 20:56:23 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:56:23 9b18e9b68314: Pulling fs layer 20:56:23 35d82f9e3411: Pulling fs layer 20:56:23 e16973657156: Pulling fs layer 20:56:23 fc693d55d65f: Pulling fs layer 20:56:23 7e9fc2657dce: Pulling fs layer 20:56:23 dda99020689f: Pulling fs layer 20:56:23 db1c61fa0a46: Pulling fs layer 20:56:23 891c053d2c06: Pulling fs layer 20:56:23 fc693d55d65f: Waiting 20:56:23 7e9fc2657dce: Waiting 20:56:23 dda99020689f: Waiting 20:56:23 891c053d2c06: Waiting 20:56:23 db1c61fa0a46: Waiting 20:56:23 e16973657156: Verifying Checksum 20:56:23 e16973657156: Download complete 20:56:23 35d82f9e3411: Download complete 20:56:23 7e9fc2657dce: Verifying Checksum 20:56:23 7e9fc2657dce: Download complete 20:56:23 dda99020689f: Verifying Checksum 20:56:23 dda99020689f: Download complete 20:56:23 9b18e9b68314: Verifying Checksum 20:56:23 9b18e9b68314: Download complete 20:56:24 9b18e9b68314: Pull complete 20:56:24 891c053d2c06: Verifying Checksum 20:56:25 35d82f9e3411: Pull complete 20:56:25 e16973657156: Pull complete 20:56:26 db1c61fa0a46: Verifying Checksum 20:56:26 db1c61fa0a46: Download complete 20:56:26 fc693d55d65f: Verifying Checksum 20:56:26 fc693d55d65f: Download complete 20:56:39 fc693d55d65f: Pull complete 20:56:39 7e9fc2657dce: Pull complete 20:56:39 dda99020689f: Pull complete 20:56:45 db1c61fa0a46: Pull complete 20:56:46 891c053d2c06: Pull complete 20:56:46 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 20:56:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:56:46 ---> f96f9c87975a 20:56:46 Step 3/10 : ARG ADD_BUILD_TAGS="" 20:56:48 ---> Running in 2c1f6ee1689b 20:56:48 Removing intermediate container 2c1f6ee1689b 20:56:48 ---> ee40362dd508 20:56:48 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:56:48 ---> Running in 7bb475c81430 20:56:49 Removing intermediate container 7bb475c81430 20:56:49 ---> c10047f98cff 20:56:49 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 20:56:49 ---> Running in ddcb75facce5 20:56:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:56:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:56:51 (1/8) Installing openssh-keygen (9.0_p1-r2) 20:56:51 (2/8) Installing libedit (20210910.3.1-r0) 20:56:51 (3/8) Installing openssh-client-common (9.0_p1-r2) 20:56:51 (4/8) Installing openssh-client-default (9.0_p1-r2) 20:56:51 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 20:56:51 (6/8) Installing openssh-server-common (9.0_p1-r2) 20:56:51 (7/8) Installing openssh-server (9.0_p1-r2) 20:56:51 (8/8) Installing openssh (9.0_p1-r2) 20:56:51 Executing busybox-1.35.0-r17.trigger 20:56:51 OK: 228 MiB in 59 packages 20:56:52 Removing intermediate container ddcb75facce5 20:56:52 ---> e6e89b6f5644 20:56:52 Step 6/10 : WORKDIR /device-modbus-go 20:56:52 ---> Running in 2271cc5903e0 20:56:53 Removing intermediate container 2271cc5903e0 20:56:53 ---> e1356c3d0161 20:56:53 Step 7/10 : COPY go.mod vendor* ./ 20:56:53 ---> 397422306ca1 20:56:53 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:56:53 ---> Running in 01c85a39f88f 20:57:50 Removing intermediate container 01c85a39f88f 20:57:50 ---> 6e610e3eda64 20:57:50 Step 9/10 : COPY . . 20:57:50 ---> 4295d137d204 20:57:50 Step 10/10 : RUN ${MAKE} 20:57:50 ---> Running in 148b49414b3e 20:57:50 noop 20:57:50 Removing intermediate container 148b49414b3e 20:57:50 ---> bf6f09d260d5 20:57:50 Successfully built bf6f09d260d5 20:57:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:50 + docker inspect -f . ci-base-image-arm64 20:57:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:57:50 prd-ubuntu20.04-docker-arm64-4c-16g-118661 does not seem to be running inside a container 20:57:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/9 -v /w/workspace/device-modbus-go/9:/w/workspace/device-modbus-go/9:rw,z -v /w/workspace/device-modbus-go/9@tmp:/w/workspace/device-modbus-go/9@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 ******** ci-base-image-arm64 cat 20:57:52 $ docker top 5fe23c3a1362c59a2d6dcca1411f58188dc3d5421b6c13fcc69d6a3e073e2eff -eo pid,comm [Pipeline] { [Pipeline] sh 20:57:53 + go version 20:57:53 go version go1.18.7 linux/arm64 [Pipeline] } 20:57:53 $ docker stop --time=1 5fe23c3a1362c59a2d6dcca1411f58188dc3d5421b6c13fcc69d6a3e073e2eff 20:57:54 $ docker rm -f 5fe23c3a1362c59a2d6dcca1411f58188dc3d5421b6c13fcc69d6a3e073e2eff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:55 + docker inspect -f . ci-base-image-arm64 20:57:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:57:55 prd-ubuntu20.04-docker-arm64-4c-16g-118661 does not seem to be running inside a container 20:57:55 $ 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/9 -v /w/workspace/device-modbus-go/9:/w/workspace/device-modbus-go/9:rw,z -v /w/workspace/device-modbus-go/9@tmp:/w/workspace/device-modbus-go/9@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 ******** ci-base-image-arm64 cat 20:57:56 $ docker top 182aa8809e9ff95fe8fab232262e0e4cc1ac4b5bef046c755369b33aea949eff -eo pid,comm [Pipeline] { [Pipeline] sh 20:57:57 + git config --global --add safe.directory /w/workspace/device-modbus-go/9 [Pipeline] fileExists [Pipeline] sh 20:57:57 + make test 20:57:57 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:57:59 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:59:21 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:59:24 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.060s coverage: 47.7% of statements 20:59:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:59:24 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:59:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:59:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:59:46 ./bin/test-attribution-txt.sh [Pipeline] echo 20:59:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:59:46 $ docker stop --time=1 182aa8809e9ff95fe8fab232262e0e4cc1ac4b5bef046c755369b33aea949eff 20:59:48 $ docker rm -f 182aa8809e9ff95fe8fab232262e0e4cc1ac4b5bef046c755369b33aea949eff [Pipeline] // withDockerContainer [Pipeline] sh 20:59:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:59:49 Warning: overwriting stash ‘coverage-report’ 20:59:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:59:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:59:50 + ls -al . 20:59:50 total 192 20:59:50 drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 20:57 . 20:59:50 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 20:55 .. 20:59:50 -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 20:55 .dockerignore 20:59:50 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 20:55 .git 20:59:50 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 20:55 .github 20:59:50 -rw-rw-r-- 1 jenkins jenkins 331 Nov 8 20:55 .gitignore 20:59:50 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 20:55 .golangci.yml 20:59:50 -rw-rw-r-- 1 jenkins jenkins 10121 Nov 8 20:55 Attribution.txt 20:59:50 -rw-rw-r-- 1 jenkins jenkins 11576 Nov 8 20:55 CHANGELOG.md 20:59:50 -rw-rw-r-- 1 jenkins jenkins 1428 Nov 8 20:55 Dockerfile 20:59:50 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 20:55 GOVERNANCE.md 20:59:50 -rw-rw-r-- 1 jenkins jenkins 680 Nov 8 20:55 Jenkinsfile 20:59:50 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 20:55 LICENSE 20:59:50 -rw-rw-r-- 1 jenkins jenkins 2101 Nov 8 20:55 Makefile 20:59:50 -rw-rw-r-- 1 jenkins jenkins 622 Nov 8 20:55 OWNERS.md 20:59:50 -rw-rw-r-- 1 jenkins jenkins 4061 Nov 8 20:55 README.md 20:59:50 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 20:53 VERSION 20:59:50 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 20:55 bin 20:59:50 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 20:55 cmd 20:59:50 -rw-r--r-- 1 jenkins jenkins 23241 Nov 8 20:59 coverage.out 20:59:50 -rw-rw-r-- 1 jenkins jenkins 3583 Nov 8 20:55 go.mod 20:59:50 -rw-rw-r-- 1 jenkins jenkins 45388 Nov 8 20:55 go.sum 20:59:50 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 20:55 internal 20:59:50 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 20:55 simulator 20:59:50 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 20:55 snap 20:59:50 -rw-rw-r-- 1 jenkins jenkins 229 Nov 8 20:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:50 + 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=3a01ea38cf8c3b69325d9a8b2a9073e3b286f188 --label arch=arm64 --label version=0.0.0 . 20:59:51 Sending build context to Docker daemon 3.306MB 20:59:51 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 20:59:51 Step 2/22 : FROM ${BASE} AS builder 20:59:51 ---> bf6f09d260d5 20:59:51 Step 3/22 : ARG ADD_BUILD_TAGS="" 20:59:51 ---> Running in eb08b920bfaf 20:59:51 Removing intermediate container eb08b920bfaf 20:59:51 ---> 0c095648e6e1 20:59:51 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:59:51 ---> Running in 387fcc366ee7 20:59:52 Removing intermediate container 387fcc366ee7 20:59:52 ---> 9174f35c29d1 20:59:52 Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 20:59:52 ---> Running in de0daf4b12aa 20:59:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:59:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:59:54 OK: 228 MiB in 59 packages 20:59:55 Removing intermediate container de0daf4b12aa 20:59:55 ---> cf792bcfb148 20:59:55 Step 6/22 : WORKDIR /device-modbus-go 20:59:55 ---> Running in 4d0365307f09 20:59:55 Removing intermediate container 4d0365307f09 20:59:55 ---> 10c1a007fa65 20:59:55 Step 7/22 : COPY go.mod vendor* ./ 20:59:56 ---> 3fc8529b7cd4 20:59:56 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:59:56 ---> Running in f39e46506a78 20:59:58 Removing intermediate container f39e46506a78 20:59:58 ---> 951065e65422 20:59:58 Step 9/22 : COPY . . 20:59:59 ---> 160bddbb5b19 20:59:59 Step 10/22 : RUN ${MAKE} 20:59:59 ---> Running in 47c7efb14cc2 21:00:00 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 21:02:21 Removing intermediate container 47c7efb14cc2 21:02:21 ---> e4687d70a748 21:02:21 Step 11/22 : FROM alpine:3.14 21:02:21 3.14: Pulling from library/alpine 21:02:21 90cda3b7c325: Pulling fs layer 21:02:21 90cda3b7c325: Download complete 21:02:21 90cda3b7c325: Pull complete 21:02:21 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 21:02:21 Status: Downloaded newer image for alpine:3.14 21:02:21 ---> 376ba31ae3da 21:02:21 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:02:21 ---> Running in 8b76f233a191 21:02:21 Removing intermediate container 8b76f233a191 21:02:21 ---> 32fc8ad2eab0 21:02:21 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 21:02:21 ---> Running in 9577750ef9ca 21:02:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:02:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:02:21 (1/6) Installing dumb-init (1.2.5-r1) 21:02:21 (2/6) Installing libgcc (10.3.1_git20210424-r2) 21:02:21 (3/6) Installing libsodium (1.0.18-r0) 21:02:21 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 21:02:21 (5/6) Installing libzmq (4.3.4-r0) 21:02:21 (6/6) Installing zeromq (4.3.4-r0) 21:02:21 Executing busybox-1.33.1-r8.trigger 21:02:21 OK: 8 MiB in 20 packages 21:02:21 Removing intermediate container 9577750ef9ca 21:02:21 ---> ddac781f46e5 21:02:21 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 21:02:21 ---> 4ea4a3209141 21:02:21 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 21:02:21 ---> c59e588d1a11 21:02:21 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:02:21 ---> 338e31000dff 21:02:21 Step 17/22 : EXPOSE 59901 21:02:21 ---> Running in 423d80c7dc05 21:02:21 Removing intermediate container 423d80c7dc05 21:02:21 ---> 0e85c63d2d19 21:02:21 Step 18/22 : ENTRYPOINT ["/device-modbus"] 21:02:21 ---> Running in 31216289c632 21:02:22 Removing intermediate container 31216289c632 21:02:22 ---> 0a1bad6b8c1a 21:02:22 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:02:22 ---> Running in f0b72759ab0c 21:02:22 Removing intermediate container f0b72759ab0c 21:02:22 ---> 1d77cf64851f 21:02:22 Step 20/22 : LABEL arch=arm64 21:02:22 ---> Running in 4d90c65d7ff2 21:02:23 Removing intermediate container 4d90c65d7ff2 21:02:23 ---> e5405b4e71f3 21:02:23 Step 21/22 : LABEL git_sha=3a01ea38cf8c3b69325d9a8b2a9073e3b286f188 21:02:23 ---> Running in 59542f00b546 21:02:23 Removing intermediate container 59542f00b546 21:02:23 ---> b5997ba9dbb2 21:02:23 Step 22/22 : LABEL version=0.0.0 21:02:23 ---> Running in 0c99c3c82af8 21:02:23 Removing intermediate container 0c99c3c82af8 21:02:23 ---> dd1d6d96abfe 21:02:23 [Warning] One or more build-args [ARCH] were not consumed 21:02:23 Successfully built dd1d6d96abfe 21:02:23 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 21:02:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:02:24 21:02:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:02:24 arm64: Pulling from edgex-lftools-log-publisher 21:02:24 8998bd30e6a1: Pulling fs layer 21:02:24 04944245beec: Pulling fs layer 21:02:24 699f458cf7ca: Pulling fs layer 21:02:24 765212b225bb: Pulling fs layer 21:02:24 f23df028b6ca: Pulling fs layer 21:02:24 d65c8cfc05b1: Pulling fs layer 21:02:24 2437ff75d9bd: Pulling fs layer 21:02:24 765212b225bb: Waiting 21:02:24 f23df028b6ca: Waiting 21:02:24 d65c8cfc05b1: Waiting 21:02:24 2437ff75d9bd: Waiting 21:02:24 04944245beec: Verifying Checksum 21:02:24 04944245beec: Download complete 21:02:24 765212b225bb: Verifying Checksum 21:02:24 765212b225bb: Download complete 21:02:24 f23df028b6ca: Verifying Checksum 21:02:24 f23df028b6ca: Download complete 21:02:24 d65c8cfc05b1: Verifying Checksum 21:02:24 d65c8cfc05b1: Download complete 21:02:25 699f458cf7ca: Verifying Checksum 21:02:25 699f458cf7ca: Download complete 21:02:25 8998bd30e6a1: Verifying Checksum 21:02:25 8998bd30e6a1: Download complete 21:02:28 2437ff75d9bd: Verifying Checksum 21:02:28 2437ff75d9bd: Download complete 21:02:29 8998bd30e6a1: Pull complete 21:02:30 04944245beec: Pull complete 21:02:31 699f458cf7ca: Pull complete 21:02:31 765212b225bb: Pull complete 21:02:32 f23df028b6ca: Pull complete 21:02:32 d65c8cfc05b1: Pull complete 21:02:47 2437ff75d9bd: Pull complete 21:02:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:02:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:02:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:02:47 prd-ubuntu20.04-docker-arm64-4c-16g-118661 does not seem to be running inside a container 21:02:48 $ 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/9 -v /w/workspace/device-modbus-go/9:/w/workspace/device-modbus-go/9:rw,z -v /w/workspace/device-modbus-go/9@tmp:/w/workspace/device-modbus-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:02:50 $ docker top 8822bb78ba2052a4c885696bccfd1786d2879bd4ec83c8e37392fdf82e710fb1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:02:51 ---> job-cost.sh 21:02:51 lf-activate-venv: SKIPPING 21:02:51 INFO: No Stack... 21:02:51 INFO: Retrieving Pricing Info for: v3-standard-4 21:02:52 INFO: Archiving Costs [Pipeline] sh 21:02:53 + cat /w/workspace/device-modbus-go/9/archives/cost.csv 21:02:53 + cut -d, -f6 [Pipeline] lock 21:02:53 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-385-9-stack-cost] 21:02:53 Resource [jenkins-edgexfoundry-device-modbus-go-PR-385-9-stack-cost] did not exist. Created. 21:02:53 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-385-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:02:54 /w/workspace/device-modbus-go/9@tmp/durable-20712c4d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:02:54 + echo total: 0.10999999940395355 [Pipeline] stash 21:02:54 Warning: overwriting stash ‘stack-cost’ 21:02:54 Stashed 1 file(s) [Pipeline] } 21:02:54 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-385-9-stack-cost] [Pipeline] // lock [Pipeline] } 21:02:54 $ docker stop --time=1 8822bb78ba2052a4c885696bccfd1786d2879bd4ec83c8e37392fdf82e710fb1 21:02:56 $ docker rm -f 8822bb78ba2052a4c885696bccfd1786d2879bd4ec83c8e37392fdf82e710fb1 [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 21:02:56 provisioning config files... 21:02:56 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config9805168711904551241tmp [Pipeline] { [Pipeline] sh 21:02:56 + set +x 21:02:56 + curl -s https://codecov.io/bash 21:02:56 + bash -s -- 21:02:56 21:02:56 _____ _ 21:02:56 / ____| | | 21:02:56 | | ___ __| | ___ ___ _____ __ 21:02:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:02:56 | |___| (_) | (_| | __/ (_| (_) \ V / 21:02:56 \_____\___/ \__,_|\___|\___\___/ \_/ 21:02:56 Bash-1.0.6 21:02:56 21:02:56 21:02:56 ==> git version 2.25.1 found 21:02:56 ==> 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 21:02:56 Release-Date: 2020-01-08 21:02:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:02:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:02:56 ==> Jenkins CI detected. 21:02:56 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-385 21:02:56 project root: . 21:02:56 --> token set from env 21:02:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:02:56 ==> Running gcov in . (disable via -X gcov) 21:02:56 ==> Python coveragepy not found 21:02:56 ==> Searching for coverage reports in: 21:02:56 + . 21:02:56 -> Found 1 reports 21:02:56 ==> Detecting git/mercurial file structure 21:02:56 ==> Reading reports 21:02:56 + ./coverage.out bytes=23241 21:02:56 ==> Appending adjustments 21:02:56 https://docs.codecov.io/docs/fixing-reports 21:02:57 + Found adjustments 21:02:57 ==> Gzipping contents 21:02:57 4.0K /tmp/codecov.rz2HTY.gz 21:02:57 ==> Uploading reports 21:02:57 url: https://codecov.io 21:02:57 query: branch=PR-385&commit=9c38d860346094190cd48530eb505bcf9eaa76e0&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-385%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=385&job=&cmd_args= 21:02:57 -> Pinging Codecov 21:02:57 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-385&commit=9c38d860346094190cd48530eb505bcf9eaa76e0&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-385%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=385&job=&cmd_args= 21:02:57 -> Uploading to 21:02:57 https://storage.googleapis.com/codecov/v4/raw/2022-11-08/55DBCA73C666E3227836607328DD7E49/9c38d860346094190cd48530eb505bcf9eaa76e0/810f9931-8998-4353-8c7e-00af577585ff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221108T210257Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ba76daf609331cb7fee29d219546ec5ba32a6d285211621d45a46a2952487c2c 21:02:57 % Total % Received % Xferd Average Speed Time Time Time Current 21:02:57 Dload Upload Total Spent Left Speed 21:02:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3903 0 0 100 3903 0 17193 --:--:-- --:--:-- --:--:-- 17118 100 3903 0 0 100 3903 0 13366 --:--:-- --:--:-- --:--:-- 13320 21:02:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/9c38d860346094190cd48530eb505bcf9eaa76e0 [Pipeline] } 21:02:57 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 21:02:58 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-385/archives ] 21:02:58 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-385/archives 21:02:58 total 16 21:02:58 drwxr-xr-x 3 root root 4096 Nov 8 20:54 . 21:02:58 drwxrwxr-x 11 jenkins jenkins 4096 Nov 8 20:54 .. 21:02:58 drwxr-xr-x 2 root root 4096 Nov 8 20:54 cost 21:02:58 -rw-r--r-- 1 root root 88 Nov 8 20:54 cost.csv 21:02:58 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-385/archives 21:02:58 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-385/archives 21:02:58 total 16 21:02:58 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 20:54 . 21:02:58 drwxrwxr-x 11 jenkins jenkins 4096 Nov 8 20:54 .. 21:02:58 drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 20:54 cost 21:02:58 -rw-r--r-- 1 jenkins jenkins 88 Nov 8 20:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:02:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:02:59 ---> package-listing.sh 21:02:59 ++ facter osfamily 21:02:59 ++ tr '[:upper:]' '[:lower:]' 21:02:59 + OS_FAMILY=debian 21:02:59 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-385 21:02:59 + START_PACKAGES=/tmp/packages_start.txt 21:02:59 + END_PACKAGES=/tmp/packages_end.txt 21:02:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:02:59 + PACKAGES=/tmp/packages_start.txt 21:02:59 + '[' /w/workspace/xfoundry_device-modbus-go_PR-385 ']' 21:02:59 + PACKAGES=/tmp/packages_end.txt 21:02:59 + case "${OS_FAMILY}" in 21:02:59 + dpkg -l 21:02:59 + grep '^ii' 21:02:59 + '[' -f /tmp/packages_start.txt ']' 21:02:59 + '[' -f /tmp/packages_end.txt ']' 21:02:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:02:59 + '[' /w/workspace/xfoundry_device-modbus-go_PR-385 ']' 21:02:59 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-385/archives/ 21:02:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-385/archives/ [Pipeline] echo 21:02:59 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-385/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:02:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:03:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:00 prd-ubuntu20.04-docker-8c-8g-118659 does not seem to be running inside a container 21:03:00 $ 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-385/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-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:03:00 $ docker top e946a2906bd2ec0fdbe0b47a596cd31b5095b2b8aa52de36e8c2d2ec5258eb0c -eo pid,comm [Pipeline] { [Pipeline] sh 21:03:01 + touch /tmp/pre-build-complete [Pipeline] sh 21:03:01 + mkdir -p /var/log/sysstat [Pipeline] sh 21:03:01 + ls /var/log/sa-host 21:03:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:03:01 provisioning config files... 21:03:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config16076547233420557044tmp [Pipeline] { [Pipeline] echo 21:03:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:03:02 ---> create-netrc.sh [Pipeline] } 21:03:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:03:02 ---> python-tools-install.sh [Pipeline] echo 21:03:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:03:02 ---> sudo-logs.sh 21:03:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:03:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:03:03 ---> job-cost.sh 21:03:03 lf-activate-venv: SKIPPING 21:03:03 DEBUG: total: 0.2199999988079071 21:03:03 INFO: Retrieving Stack Cost... 21:03:03 INFO: Retrieving Pricing Info for: v3-standard-8 21:03:03 INFO: Archiving Costs [Pipeline] echo 21:03:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:03:04 ---> logs-deploy.sh 21:03:04 lf-activate-venv: SKIPPING 21:03:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-385/9 21:03:04 INFO: archiving workspace using pattern(s): 21:03:05 Archives upload complete. 21:03:05 INFO: archiving logs to Nexus