Pull request #382 event Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-modbus-go Obtained Jenkinsfile from c5f598b77e77bd73a577202a05e992d50edf3c45+2f9659ed4568bcbc613d823f228583e539d90aa3 (37a2f4f2e94e8d1f9a0397a507940390da102508) 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-ssh9780340572897940179.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh1000652598402638483.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-382/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-382/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15968178774630951214.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh6997188530303420122.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-382/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-382/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5591613170103302013.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8059 in /w/workspace/xfoundry_device-modbus-go_PR-382 [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-382 # 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/382/head:refs/remotes/origin/PR-382 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2f9659ed4568bcbc613d823f228583e539d90aa3 into PR head commit c5f598b77e77bd73a577202a05e992d50edf3c45 Merge succeeded, producing fd54f6e13d56bd17224e1091cec696f7f2f5ee24 Checking out Revision fd54f6e13d56bd17224e1091cec696f7f2f5ee24 (PR-382) > git config core.sparsecheckout # timeout=10 > git checkout -f c5f598b77e77bd73a577202a05e992d50edf3c45 # 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 2f9659ed4568bcbc613d823f228583e539d90aa3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fd54f6e13d56bd17224e1091cec696f7f2f5ee24 # timeout=10 Commit message: "Merge commit '2f9659ed4568bcbc613d823f228583e539d90aa3' into HEAD" > git rev-list --no-walk c5f598b77e77bd73a577202a05e992d50edf3c45 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:13:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:13:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:13:23 ========================================================= 09:13:23 EdgeX Global Pipelines Version Info 09:13:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:13:23 ------------------- 09:13:23 stable info: 09:13:23 ------------------- 09:13:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:13:23 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 09:13:23 Message: update stable to v1.0.239 09:13:24 ------------------- 09:13:24 experimental info: 09:13:24 ------------------- 09:13:24 Commited By: **** collab-it+edgex@linuxfoundation.org 09:13:24 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 09:13:24 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:13:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 09:13:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 09:13:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:13:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:13:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:13:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 09:13:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:13:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:13:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:13:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:13:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:13:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 09:13:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:13:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:13:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:13:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:13:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:13:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:13:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:13:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:13:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:13:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:13:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:13:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:13:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:13:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:13:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:13:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-382 [Pipeline] echo 09:13:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-382 [Pipeline] echo 09:13:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-382 [Pipeline] echo 09:13:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fd54f6e13d56bd17224e1091cec696f7f2f5ee24 [Pipeline] echo 09:13:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fd54f6e [Pipeline] echo 09:13:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:13:25 provisioning config files... 09:13:25 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-382@tmp/config8375596953599489219tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:13:25 ---> docker-login.sh 09:13:25 nexus3.edgexfoundry.org:10001 09:13:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:25 Configure a credential helper to remove this warning. See 09:13:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:25 09:13:25 Login Succeeded 09:13:25 nexus3.edgexfoundry.org:10002 09:13:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:25 Configure a credential helper to remove this warning. See 09:13:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:25 09:13:25 Login Succeeded 09:13:25 nexus3.edgexfoundry.org:10003 09:13:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:25 Configure a credential helper to remove this warning. See 09:13:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:25 09:13:25 Login Succeeded 09:13:25 nexus3.edgexfoundry.org:10004 09:13:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:25 Configure a credential helper to remove this warning. See 09:13:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:25 09:13:25 Login Succeeded 09:13:25 docker.io 09:13:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:26 Configure a credential helper to remove this warning. See 09:13:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:26 09:13:26 Login Succeeded 09:13:26 ---> docker-login.sh ends [Pipeline] } 09:13:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:13:26 + git rev-list -1 --merges fd54f6e13d56bd17224e1091cec696f7f2f5ee24~1..fd54f6e13d56bd17224e1091cec696f7f2f5ee24 [Pipeline] echo 09:13:26 -----------> git rev-list -1 --merges fd54f6e13d56bd17224e1091cec696f7f2f5ee24~1..fd54f6e13d56bd17224e1091cec696f7f2f5ee24 fd54f6e13d56bd17224e1091cec696f7f2f5ee24 09:13:26 fd54f6e13d56bd17224e1091cec696f7f2f5ee24 [false] [Pipeline] sh 09:13:27 + git log --format=format:%s -1 fd54f6e13d56bd17224e1091cec696f7f2f5ee24 [Pipeline] echo 09:13:27 ========================================================= 09:13:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:13:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:13:27 + git log --format=format:%s -1 fd54f6e13d56bd17224e1091cec696f7f2f5ee24 [Pipeline] echo 09:13:27 [semverPrep] GIT_COMMIT: fd54f6e13d56bd17224e1091cec696f7f2f5ee24, Commit Message: Merge commit '2f9659ed4568bcbc613d823f228583e539d90aa3' into HEAD [Pipeline] echo 09:13:27 [semverPrep] This is not a build commit. [Pipeline] sh 09:13:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:13:27 + grep -v github /etc/ssh/ssh_known_hosts 09:13:27 + [ -e /tmp/ssh_known_hosts ] 09:13:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:13:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:13:27 + sudo tee -a /etc/ssh/ssh_known_hosts 09:13:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:13:28 09:13:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:13:28 0.1.4: Pulling from edgex-devops/py-git-semver 09:13:28 b85a868b505f: Pulling fs layer 09:13:28 e2be974225ed: Pulling fs layer 09:13:28 339a4e72a1f5: Pulling fs layer 09:13:28 988bab9f4d93: Pulling fs layer 09:13:28 1469e6f7b9e6: Pulling fs layer 09:13:28 eaf3925da568: Pulling fs layer 09:13:28 bab4dde63d76: Pulling fs layer 09:13:28 bde34c3a00c8: Pulling fs layer 09:13:28 988bab9f4d93: Waiting 09:13:28 eaf3925da568: Waiting 09:13:28 1469e6f7b9e6: Waiting 09:13:28 bab4dde63d76: Waiting 09:13:28 b352a97aabf1: Pulling fs layer 09:13:28 bde34c3a00c8: Waiting 09:13:28 4872d77fe225: Pulling fs layer 09:13:28 5851b861e8e6: Pulling fs layer 09:13:28 b352a97aabf1: Waiting 09:13:28 4872d77fe225: Waiting 09:13:28 5851b861e8e6: Waiting 09:13:28 e2be974225ed: Download complete 09:13:28 988bab9f4d93: Verifying Checksum 09:13:28 988bab9f4d93: Download complete 09:13:28 1469e6f7b9e6: Verifying Checksum 09:13:28 1469e6f7b9e6: Download complete 09:13:28 eaf3925da568: Verifying Checksum 09:13:28 eaf3925da568: Download complete 09:13:28 339a4e72a1f5: Verifying Checksum 09:13:28 339a4e72a1f5: Download complete 09:13:28 bde34c3a00c8: Verifying Checksum 09:13:28 bde34c3a00c8: Download complete 09:13:28 b352a97aabf1: Verifying Checksum 09:13:28 b352a97aabf1: Download complete 09:13:28 4872d77fe225: Verifying Checksum 09:13:28 4872d77fe225: Download complete 09:13:28 5851b861e8e6: Download complete 09:13:28 b85a868b505f: Verifying Checksum 09:13:28 b85a868b505f: Download complete 09:13:28 bab4dde63d76: Verifying Checksum 09:13:28 bab4dde63d76: Download complete 09:13:29 b85a868b505f: Pull complete 09:13:30 e2be974225ed: Pull complete 09:13:30 339a4e72a1f5: Pull complete 09:13:30 988bab9f4d93: Pull complete 09:13:31 1469e6f7b9e6: Pull complete 09:13:31 eaf3925da568: Pull complete 09:13:33 bab4dde63d76: Pull complete 09:13:33 bde34c3a00c8: Pull complete 09:13:33 b352a97aabf1: Pull complete 09:13:33 4872d77fe225: Pull complete 09:13:33 5851b861e8e6: Pull complete 09:13:33 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:13:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:13:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:13:33 prd-ubuntu20.04-docker-8c-8g-8059 does not seem to be running inside a container 09:13:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-382 -v /w/workspace/xfoundry_device-modbus-go_PR-382:/w/workspace/xfoundry_device-modbus-go_PR-382:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-382@tmp:/w/workspace/xfoundry_device-modbus-go_PR-382@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:13:37 $ docker top 2ff73df22ed7a4927f7a6d0fe2652cfed7e2260fbc02420a7c10336870e1b4e9 -eo pid,comm 09:13:37 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). 09:13:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:13:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:13:38 [ssh-agent] Looking for ssh-agent implementation... 09:13:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:13:38 $ docker exec 2ff73df22ed7a4927f7a6d0fe2652cfed7e2260fbc02420a7c10336870e1b4e9 ssh-agent 09:13:38 SSH_AUTH_SOCK=/tmp/ssh-fMxpm3TUhgqL/agent.33 09:13:38 SSH_AGENT_PID=39 09:13:38 Running ssh-add (command line suppressed) 09:13:38 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-382@tmp/private_key_4550416104221565448.key (/w/workspace/xfoundry_device-modbus-go_PR-382@tmp/private_key_4550416104221565448.key) 09:13:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:13:38 + git tag --points-at HEAD [Pipeline] } 09:13:38 $ docker exec --env ******** --env ******** 2ff73df22ed7a4927f7a6d0fe2652cfed7e2260fbc02420a7c10336870e1b4e9 ssh-agent -k 09:13:38 unset SSH_AUTH_SOCK; 09:13:38 unset SSH_AGENT_PID; 09:13:38 echo Agent pid 39 killed; 09:13:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:13:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:13:38 [ssh-agent] Looking for ssh-agent implementation... 09:13:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:13:38 $ docker exec 2ff73df22ed7a4927f7a6d0fe2652cfed7e2260fbc02420a7c10336870e1b4e9 ssh-agent 09:13:38 SSH_AUTH_SOCK=/tmp/ssh-3PCTNB1hrBeO/agent.71 09:13:38 SSH_AGENT_PID=77 09:13:38 Running ssh-add (command line suppressed) 09:13:39 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-382@tmp/private_key_4138260524320800372.key (/w/workspace/xfoundry_device-modbus-go_PR-382@tmp/private_key_4138260524320800372.key) 09:13:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:13:39 + git semver init 09:13:39 2022-10-17 09:13:39,629 [run_init] DEBUG init version:0.0.0 force:False 09:13:39 2022-10-17 09:13:39,630 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-382/.semver 09:13:39 2022-10-17 09:13:39,631 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-382/.semver 09:13:39 2022-10-17 09:13:39,631 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-382/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-382, universal_newlines=False, shell=None, istream=None) 09:13:40 2022-10-17 09:13:40,552 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-382/.git/info/exclude 09:13:40 2022-10-17 09:13:40,553 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-382/.semver/PR-382 with force:False 09:13:40 2022-10-17 09:13:40,553 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-382/.semver/PR-382 09:13:40 2022-10-17 09:13:40,555 [execute] INFO git cat-file --batch-check 09:13:40 2022-10-17 09:13:40,556 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-382/.semver, universal_newlines=False, shell=None, istream=) 09:13:40 2022-10-17 09:13:40,560 [execute] INFO git cat-file --batch 09:13:40 2022-10-17 09:13:40,561 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-382/.semver, universal_newlines=False, shell=None, istream=) 09:13:40 2022-10-17 09:13:40,566 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-382/.semver/PR-382 09:13:40 0.0.0 [Pipeline] } 09:13:40 $ docker exec --env ******** --env ******** 2ff73df22ed7a4927f7a6d0fe2652cfed7e2260fbc02420a7c10336870e1b4e9 ssh-agent -k 09:13:40 unset SSH_AUTH_SOCK; 09:13:40 unset SSH_AGENT_PID; 09:13:40 echo Agent pid 77 killed; 09:13:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:13:41 + git semver [Pipeline] } 09:13:41 $ docker stop --time=1 2ff73df22ed7a4927f7a6d0fe2652cfed7e2260fbc02420a7c10336870e1b4e9 09:13:42 $ docker rm -f 2ff73df22ed7a4927f7a6d0fe2652cfed7e2260fbc02420a7c10336870e1b4e9 [Pipeline] // withDockerContainer [Pipeline] sh 09:13:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:13:43 Stashed 1 file(s) [Pipeline] echo 09:13:43 [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 09:13:43 provisioning config files... 09:13:43 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-382@tmp/config7830737576091727171tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:13:43 ---> docker-login.sh 09:13:43 nexus3.edgexfoundry.org:10001 09:13:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:43 Configure a credential helper to remove this warning. See 09:13:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:43 09:13:43 Login Succeeded 09:13:43 nexus3.edgexfoundry.org:10002 09:13:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:43 Configure a credential helper to remove this warning. See 09:13:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:43 09:13:43 Login Succeeded 09:13:43 nexus3.edgexfoundry.org:10003 09:13:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:44 Configure a credential helper to remove this warning. See 09:13:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:44 09:13:44 Login Succeeded 09:13:44 nexus3.edgexfoundry.org:10004 09:13:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:44 Configure a credential helper to remove this warning. See 09:13:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:44 09:13:44 Login Succeeded 09:13:44 docker.io 09:13:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:44 Configure a credential helper to remove this warning. See 09:13:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:44 09:13:44 Login Succeeded 09:13:44 ---> docker-login.sh ends [Pipeline] } 09:13:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:13:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:13:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:13:44 ========================================================= 09:13:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 09:13:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:45 + 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 . 09:13:45 Sending build context to Docker daemon 6.202MB 09:13:45 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 09:13:45 Step 2/11 : FROM ${BASE} AS builder 09:13:46 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 09:13:46 213ec9aee27d: Pulling fs layer 09:13:46 4583459ba037: Pulling fs layer 09:13:46 93c1e223e6f2: Pulling fs layer 09:13:46 53926ce57604: Pulling fs layer 09:13:46 21b2b0c7a3f4: Pulling fs layer 09:13:46 30f14e443154: Pulling fs layer 09:13:46 801331c1e519: Pulling fs layer 09:13:46 99cc6dd402b0: Pulling fs layer 09:13:46 7d9ed39f4882: Pulling fs layer 09:13:46 30f14e443154: Waiting 09:13:46 21b2b0c7a3f4: Waiting 09:13:46 801331c1e519: Waiting 09:13:46 99cc6dd402b0: Waiting 09:13:46 53926ce57604: Waiting 09:13:46 7d9ed39f4882: Waiting 09:13:46 93c1e223e6f2: Verifying Checksum 09:13:46 93c1e223e6f2: Download complete 09:13:46 4583459ba037: Verifying Checksum 09:13:46 4583459ba037: Download complete 09:13:46 21b2b0c7a3f4: Download complete 09:13:46 30f14e443154: Verifying Checksum 09:13:46 30f14e443154: Download complete 09:13:46 213ec9aee27d: Verifying Checksum 09:13:46 213ec9aee27d: Download complete 09:13:46 801331c1e519: Download complete 09:13:46 213ec9aee27d: Pull complete 09:13:46 4583459ba037: Pull complete 09:13:46 93c1e223e6f2: Pull complete 09:13:47 7d9ed39f4882: Verifying Checksum 09:13:47 7d9ed39f4882: Download complete 09:13:47 99cc6dd402b0: Verifying Checksum 09:13:47 99cc6dd402b0: Download complete 09:13:47 53926ce57604: Verifying Checksum 09:13:47 53926ce57604: Download complete 09:13:51 53926ce57604: Pull complete 09:13:51 21b2b0c7a3f4: Pull complete 09:13:51 30f14e443154: Pull complete 09:13:51 801331c1e519: Pull complete 09:13:52 99cc6dd402b0: Pull complete 09:13:53 7d9ed39f4882: Pull complete 09:13:53 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 09:13:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 09:13:53 ---> 1dedd983c030 09:13:53 Step 3/11 : ARG ADD_BUILD_TAGS="" 09:13:58 Still waiting to schedule task 09:13:58 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 09:13:59 ---> Running in 206b1b925e93 09:13:59 Removing intermediate container 206b1b925e93 09:13:59 ---> 0f5615182d43 09:13:59 Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:13:59 ---> Running in cbe629962251 09:13:59 Removing intermediate container cbe629962251 09:13:59 ---> cf9d814fe7b5 09:13:59 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:13:59 ---> Running in 4b75a72bdcb8 09:14:00 Removing intermediate container 4b75a72bdcb8 09:14:00 ---> b074ed42c547 09:14:00 Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 09:14:00 ---> Running in baca1c8e205c 09:14:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:14:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:14:01 (1/8) Installing openssh-keygen (9.0_p1-r2) 09:14:01 (2/8) Installing libedit (20210910.3.1-r0) 09:14:01 (3/8) Installing openssh-client-common (9.0_p1-r2) 09:14:01 (4/8) Installing openssh-client-default (9.0_p1-r2) 09:14:01 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 09:14:01 (6/8) Installing openssh-server-common (9.0_p1-r2) 09:14:02 (7/8) Installing openssh-server (9.0_p1-r2) 09:14:02 (8/8) Installing openssh (9.0_p1-r2) 09:14:02 Executing busybox-1.35.0-r17.trigger 09:14:02 OK: 217 MiB in 59 packages 09:14:02 Removing intermediate container baca1c8e205c 09:14:02 ---> 8542bc593009 09:14:02 Step 7/11 : WORKDIR /device-modbus-go 09:14:02 ---> Running in e6c795a99b94 09:14:02 Removing intermediate container e6c795a99b94 09:14:02 ---> e84886804b29 09:14:02 Step 8/11 : COPY go.mod vendor* ./ 09:14:02 ---> 93060d0b873d 09:14:02 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:14:02 ---> Running in 0d9b88dcd178 09:14:21 Removing intermediate container 0d9b88dcd178 09:14:21 ---> 6c8f764a58e0 09:14:21 Step 10/11 : COPY . . 09:14:21 ---> 8ba34f543092 09:14:21 Step 11/11 : RUN ${MAKE} 09:14:21 ---> Running in 90e6e71081c6 09:14:21 noop 09:14:21 Removing intermediate container 90e6e71081c6 09:14:21 ---> 1bc6d46d8662 09:14:21 Successfully built 1bc6d46d8662 09:14:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:22 + docker inspect -f . ci-base-image-x86_64 09:14:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:14:22 prd-ubuntu20.04-docker-8c-8g-8059 does not seem to be running inside a container 09:14:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-382 -v /w/workspace/xfoundry_device-modbus-go_PR-382:/w/workspace/xfoundry_device-modbus-go_PR-382:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-382@tmp:/w/workspace/xfoundry_device-modbus-go_PR-382@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:14:22 $ docker top b2522e97f6b5e3bc98fb29cadcec34ecc9133b6752ee949e587ed25e6f8cd5d3 -eo pid,comm [Pipeline] { [Pipeline] sh 09:14:22 + go version 09:14:22 go version go1.18.7 linux/amd64 [Pipeline] } 09:14:22 $ docker stop --time=1 b2522e97f6b5e3bc98fb29cadcec34ecc9133b6752ee949e587ed25e6f8cd5d3 09:14:24 $ docker rm -f b2522e97f6b5e3bc98fb29cadcec34ecc9133b6752ee949e587ed25e6f8cd5d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:24 + docker inspect -f . ci-base-image-x86_64 09:14:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:14:24 prd-ubuntu20.04-docker-8c-8g-8059 does not seem to be running inside a container 09:14:24 $ 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-382 -v /w/workspace/xfoundry_device-modbus-go_PR-382:/w/workspace/xfoundry_device-modbus-go_PR-382:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-382@tmp:/w/workspace/xfoundry_device-modbus-go_PR-382@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:14:25 $ docker top 441b31bd17cc2d63c26b91765a34cdaa3f55ffeb75f1d1e300382a93b53d3f3d -eo pid,comm [Pipeline] { [Pipeline] sh 09:14:25 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-382 [Pipeline] fileExists [Pipeline] sh 09:14:25 + make test 09:14:25 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:14:26 ? github.com/edgexfoundry/device-modbus-go [no test files] 09:14:35 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 09:14:35 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.7% of statements 09:14:42 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." 09:14:42 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:14:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:14:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:14:45 ./bin/test-attribution-txt.sh [Pipeline] echo 09:14:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:14:45 $ docker stop --time=1 441b31bd17cc2d63c26b91765a34cdaa3f55ffeb75f1d1e300382a93b53d3f3d 09:14:48 $ docker rm -f 441b31bd17cc2d63c26b91765a34cdaa3f55ffeb75f1d1e300382a93b53d3f3d [Pipeline] // withDockerContainer [Pipeline] sh 09:14:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:14:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:14:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:14:49 + ls -al . 09:14:49 total 188 09:14:49 drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 09:14 . 09:14:49 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:13 .. 09:14:49 -rw-rw-r-- 1 jenkins jenkins 140 Oct 17 09:13 .dockerignore 09:14:49 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 09:14 .git 09:14:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:13 .github 09:14:49 -rw-rw-r-- 1 jenkins jenkins 331 Oct 17 09:13 .gitignore 09:14:49 -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 09:13 .golangci.yml 09:14:49 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 09:13 .semver 09:14:49 -rw-rw-r-- 1 jenkins jenkins 10121 Oct 17 09:13 Attribution.txt 09:14:49 -rw-rw-r-- 1 jenkins jenkins 10001 Oct 17 09:13 CHANGELOG.md 09:14:49 -rw-rw-r-- 1 jenkins jenkins 1606 Oct 17 09:13 Dockerfile 09:14:49 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 09:13 GOVERNANCE.md 09:14:49 -rw-rw-r-- 1 jenkins jenkins 680 Oct 17 09:13 Jenkinsfile 09:14:49 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 09:13 LICENSE 09:14:49 -rw-rw-r-- 1 jenkins jenkins 2101 Oct 17 09:13 Makefile 09:14:49 -rw-rw-r-- 1 jenkins jenkins 622 Oct 17 09:13 OWNERS.md 09:14:49 -rw-rw-r-- 1 jenkins jenkins 4061 Oct 17 09:13 README.md 09:14:49 -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 09:13 VERSION 09:14:49 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 09:13 bin 09:14:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:13 cmd 09:14:49 -rw-r--r-- 1 jenkins jenkins 23241 Oct 17 09:14 coverage.out 09:14:49 -rw-rw-r-- 1 jenkins jenkins 3643 Oct 17 09:13 go.mod 09:14:49 -rw-rw-r-- 1 jenkins jenkins 38288 Oct 17 09:13 go.sum 09:14:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:13 internal 09:14:49 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 09:13 simulator 09:14:49 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:13 snap 09:14:49 -rw-rw-r-- 1 jenkins jenkins 229 Oct 17 09:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:49 + 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=fd54f6e13d56bd17224e1091cec696f7f2f5ee24 --label arch=amd64 --label version=0.0.0 . 09:14:49 Sending build context to Docker daemon 6.226MB 09:14:49 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 09:14:49 Step 2/24 : FROM ${BASE} AS builder 09:14:49 ---> 1bc6d46d8662 09:14:49 Step 3/24 : ARG ADD_BUILD_TAGS="" 09:14:50 ---> Running in b014124db5d4 09:14:50 Removing intermediate container b014124db5d4 09:14:50 ---> 5796c3b5d208 09:14:50 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:14:50 ---> Running in 4bbee862b282 09:14:50 Removing intermediate container 4bbee862b282 09:14:50 ---> 7641c4ea0576 09:14:50 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:14:50 ---> Running in d72448c3f83c 09:14:50 Removing intermediate container d72448c3f83c 09:14:50 ---> 2f7b0c977354 09:14:50 Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 09:14:50 ---> Running in 1a4ff3e8bf0f 09:14:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:14:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:14:52 OK: 217 MiB in 59 packages 09:14:52 Removing intermediate container 1a4ff3e8bf0f 09:14:52 ---> 9319105bb10f 09:14:52 Step 7/24 : WORKDIR /device-modbus-go 09:14:52 ---> Running in 0b19ac6d31b9 09:14:52 Removing intermediate container 0b19ac6d31b9 09:14:52 ---> 31cf208046dd 09:14:52 Step 8/24 : COPY go.mod vendor* ./ 09:14:52 ---> 2bbf0cec575b 09:14:52 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:14:52 ---> Running in 3edb103b206e 09:14:53 Removing intermediate container 3edb103b206e 09:14:53 ---> 3586f681cdc4 09:14:53 Step 10/24 : COPY . . 09:14:53 ---> e64489a131cb 09:14:53 Step 11/24 : RUN ${MAKE} 09:14:53 ---> Running in c57eae4e4138 09:14:53 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 09:15:15 Removing intermediate container c57eae4e4138 09:15:15 ---> 252619fb28ef 09:15:15 Step 12/24 : FROM alpine:3.14 09:15:15 3.14: Pulling from library/alpine 09:15:15 c7ed990a2339: Pulling fs layer 09:15:15 c7ed990a2339: Verifying Checksum 09:15:15 c7ed990a2339: Download complete 09:15:15 c7ed990a2339: Pull complete 09:15:15 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 09:15:15 Status: Downloaded newer image for alpine:3.14 09:15:15 ---> dd53f409bf0b 09:15:15 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 09:15:15 ---> Running in 4e17315dbf4a 09:15:15 Removing intermediate container 4e17315dbf4a 09:15:15 ---> 280b276d6b3b 09:15:15 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:15:15 ---> Running in bbb6181f1765 09:15:15 Removing intermediate container bbb6181f1765 09:15:15 ---> 9c828534e1d2 09:15:15 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 09:15:15 ---> Running in aee1779f5bdd 09:15:15 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 09:15:16 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 09:15:16 (1/6) Installing dumb-init (1.2.5-r1) 09:15:16 (2/6) Installing libgcc (10.3.1_git20210424-r2) 09:15:16 (3/6) Installing libsodium (1.0.18-r0) 09:15:16 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 09:15:16 (5/6) Installing libzmq (4.3.4-r0) 09:15:16 (6/6) Installing zeromq (4.3.4-r0) 09:15:16 Executing busybox-1.33.1-r8.trigger 09:15:16 OK: 8 MiB in 20 packages 09:15:17 Removing intermediate container aee1779f5bdd 09:15:17 ---> 98cc9deff996 09:15:17 Step 16/24 : COPY --from=builder /device-modbus-go/cmd / 09:15:18 ---> bfea770855ee 09:15:18 Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / 09:15:18 ---> b2ceeba128e8 09:15:18 Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / 09:15:18 ---> 42c93819b062 09:15:18 Step 19/24 : EXPOSE 59901 09:15:18 ---> Running in cde5dbc7521f 09:15:18 Removing intermediate container cde5dbc7521f 09:15:18 ---> d05181ad6189 09:15:18 Step 20/24 : ENTRYPOINT ["/device-modbus"] 09:15:18 ---> Running in ca6a2e95557b 09:15:18 Removing intermediate container ca6a2e95557b 09:15:18 ---> 32336204dd18 09:15:18 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:15:18 ---> Running in 4ffba70e560c 09:15:18 Removing intermediate container 4ffba70e560c 09:15:18 ---> c3a47cd4e5d9 09:15:18 Step 22/24 : LABEL arch=amd64 09:15:18 ---> Running in 82c09ba847d2 09:15:18 Removing intermediate container 82c09ba847d2 09:15:18 ---> fd47416a0baf 09:15:18 Step 23/24 : LABEL git_sha=fd54f6e13d56bd17224e1091cec696f7f2f5ee24 09:15:18 ---> Running in e7cbab604125 09:15:18 Removing intermediate container e7cbab604125 09:15:18 ---> 4a875f57d07c 09:15:18 Step 24/24 : LABEL version=0.0.0 09:15:18 ---> Running in 1e76db3f6706 09:15:18 Removing intermediate container 1e76db3f6706 09:15:18 ---> 34dff46cca6d 09:15:18 [Warning] One or more build-args [ARCH] were not consumed 09:15:18 Successfully built 34dff46cca6d 09:15:18 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 09:15:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:15:19 09:15:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:15:19 latest: Pulling from edgex-lftools-log-publisher 09:15:19 5eb5b503b376: Pulling fs layer 09:15:19 5c69ac0246d0: Pulling fs layer 09:15:19 ec43610c2a17: Pulling fs layer 09:15:19 3a2ae6a8a46f: Pulling fs layer 09:15:19 33b1e0a273af: Pulling fs layer 09:15:19 5d3b04190fa2: Pulling fs layer 09:15:19 2f39f015ded8: Pulling fs layer 09:15:19 3a2ae6a8a46f: Waiting 09:15:19 2f39f015ded8: Waiting 09:15:19 5d3b04190fa2: Waiting 09:15:19 33b1e0a273af: Waiting 09:15:19 5c69ac0246d0: Verifying Checksum 09:15:19 5c69ac0246d0: Download complete 09:15:19 3a2ae6a8a46f: Verifying Checksum 09:15:19 3a2ae6a8a46f: Download complete 09:15:19 33b1e0a273af: Verifying Checksum 09:15:19 33b1e0a273af: Download complete 09:15:19 5d3b04190fa2: Verifying Checksum 09:15:19 5d3b04190fa2: Download complete 09:15:19 ec43610c2a17: Verifying Checksum 09:15:19 ec43610c2a17: Download complete 09:15:19 5eb5b503b376: Verifying Checksum 09:15:19 5eb5b503b376: Download complete 09:15:20 2f39f015ded8: Download complete 09:15:20 5eb5b503b376: Pull complete 09:15:21 5c69ac0246d0: Pull complete 09:15:21 ec43610c2a17: Pull complete 09:15:21 3a2ae6a8a46f: Pull complete 09:15:21 33b1e0a273af: Pull complete 09:15:21 5d3b04190fa2: Pull complete 09:15:25 2f39f015ded8: Pull complete 09:15:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:15:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:15:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:15:26 prd-ubuntu20.04-docker-8c-8g-8059 does not seem to be running inside a container 09:15:26 $ 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-382 -v /w/workspace/xfoundry_device-modbus-go_PR-382:/w/workspace/xfoundry_device-modbus-go_PR-382:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-382@tmp:/w/workspace/xfoundry_device-modbus-go_PR-382@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:15:29 $ docker top 85abe56682f7facf96e7a8e3a3bf8f053a24b6e687551ab6936cd87037feb2d2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:15:30 ---> job-cost.sh 09:15:30 lf-activate-venv: SKIPPING 09:15:30 INFO: No Stack... 09:15:30 INFO: Retrieving Pricing Info for: v3-standard-8 09:15:30 INFO: Archiving Costs [Pipeline] sh 09:15:30 + cat /w/workspace/xfoundry_device-modbus-go_PR-382/archives/cost.csv 09:15:30 + cut -d, -f6 [Pipeline] lock 09:15:30 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-382-2-stack-cost] 09:15:30 Resource [jenkins-edgexfoundry-device-modbus-go-PR-382-2-stack-cost] did not exist. Created. 09:15:30 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-382-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:15:31 + echo total: 0.2199999988079071 [Pipeline] stash 09:15:31 Stashed 1 file(s) [Pipeline] } 09:15:31 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-382-2-stack-cost] [Pipeline] // lock [Pipeline] } 09:15:31 $ docker stop --time=1 85abe56682f7facf96e7a8e3a3bf8f053a24b6e687551ab6936cd87037feb2d2 09:15:32 $ docker rm -f 85abe56682f7facf96e7a8e3a3bf8f053a24b6e687551ab6936cd87037feb2d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:16:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8065 in /w/workspace/xfoundry_device-modbus-go_PR-382 [Pipeline] { [Pipeline] ws 09:16:00 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 09:16:00 Selected Git installation does not exist. Using Default 09:16:00 The recommended git tool is: NONE 09:16:06 using credential edgex-jenkins-ssh 09:16:06 Cloning the remote Git repository 09:16:06 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 09:16:06 > git init /w/workspace/device-modbus-go/2 # timeout=10 09:16:06 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 09:16:06 > git --version # timeout=10 09:16:06 > git --version # 'git version 2.25.1' 09:16:06 using GIT_SSH to set credentials SSH Credentials for GitHub 09:16:07 Verifying host key using known hosts file 09:16:07 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. 09:16:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:16:08 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 09:16:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:16:10 Merging remotes/origin/main commit 2f9659ed4568bcbc613d823f228583e539d90aa3 into PR head commit c5f598b77e77bd73a577202a05e992d50edf3c45 09:16:10 Merge succeeded, producing b3c9aa4595c6bbef9c35e517ea68a315b038ead8 09:16:10 Checking out Revision b3c9aa4595c6bbef9c35e517ea68a315b038ead8 (PR-382) 09:16:09 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 09:16:09 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 09:16:09 using GIT_SSH to set credentials SSH Credentials for GitHub 09:16:09 Verifying host key using known hosts file 09:16:09 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. 09:16:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/382/head:refs/remotes/origin/PR-382 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:16:10 > git config core.sparsecheckout # timeout=10 09:16:10 > git checkout -f c5f598b77e77bd73a577202a05e992d50edf3c45 # timeout=10 09:16:10 > git remote # timeout=10 09:16:10 > git config --get remote.origin.url # timeout=10 09:16:10 using GIT_SSH to set credentials SSH Credentials for GitHub 09:16:10 Verifying host key using known hosts file 09:16:10 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. 09:16:10 > git merge 2f9659ed4568bcbc613d823f228583e539d90aa3 # timeout=10 09:16:10 > git rev-parse HEAD^{commit} # timeout=10 09:16:10 > git config core.sparsecheckout # timeout=10 09:16:10 > git checkout -f b3c9aa4595c6bbef9c35e517ea68a315b038ead8 # timeout=10 09:16:14 Commit message: "Merge commit '2f9659ed4568bcbc613d823f228583e539d90aa3' into HEAD" 09:16:14 > git rev-list --no-walk c5f598b77e77bd73a577202a05e992d50edf3c45 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:16:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:16:15 % Total % Received % Xferd Average Speed Time Time Time Current 09:16:15 Dload Upload Total Spent Left Speed 09:16:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 189k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh 09:16:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:16:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:16:16 + sudo tee /etc/docker/daemon.new 09:16:16 { 09:16:16 "registry-mirrors": [ 09:16:16 "https://nexus3.edgexfoundry.org:10001" 09:16:16 ], 09:16:16 "bip": "10.250.0.254/24", 09:16:16 "hosts": [ 09:16:16 "tcp://0.0.0.0:5555", 09:16:16 "unix:///var/run/docker.sock" 09:16:16 ], 09:16:16 "mtu": 1458, 09:16:16 "selinux-enabled": true, 09:16:16 "seccomp-profile": "/etc/docker/seccomp.json" 09:16:16 } [Pipeline] sh 09:16:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:16:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:16:35 provisioning config files... 09:16:35 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config12438108713884661141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:16:35 ---> docker-login.sh 09:16:35 nexus3.edgexfoundry.org:10001 09:16:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:16:36 Configure a credential helper to remove this warning. See 09:16:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:16:36 09:16:36 Login Succeeded 09:16:36 nexus3.edgexfoundry.org:10002 09:16:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:16:36 Configure a credential helper to remove this warning. See 09:16:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:16:36 09:16:36 Login Succeeded 09:16:36 nexus3.edgexfoundry.org:10003 09:16:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:16:37 Configure a credential helper to remove this warning. See 09:16:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:16:37 09:16:37 Login Succeeded 09:16:37 nexus3.edgexfoundry.org:10004 09:16:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:16:37 Configure a credential helper to remove this warning. See 09:16:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:16:37 09:16:37 Login Succeeded 09:16:38 docker.io 09:16:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:16:38 Configure a credential helper to remove this warning. See 09:16:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:16:38 09:16:38 Login Succeeded 09:16:38 ---> docker-login.sh ends [Pipeline] } 09:16:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:16:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:16:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:16:38 ========================================================= 09:16:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 09:16:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:39 + 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 . 09:16:39 Sending build context to Docker daemon 3.228MB 09:16:39 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 09:16:39 Step 2/11 : FROM ${BASE} AS builder 09:16:39 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:16:39 9b18e9b68314: Pulling fs layer 09:16:39 d32db5db7311: Pulling fs layer 09:16:39 d0c4b47475fc: Pulling fs layer 09:16:39 5831b945b038: Pulling fs layer 09:16:39 86bbec2aaacd: Pulling fs layer 09:16:39 e10730c5d714: Pulling fs layer 09:16:39 5dd5c2283517: Pulling fs layer 09:16:39 d5ac0230b979: Pulling fs layer 09:16:39 e10730c5d714: Waiting 09:16:39 5dd5c2283517: Waiting 09:16:39 d5ac0230b979: Waiting 09:16:39 86bbec2aaacd: Waiting 09:16:39 5831b945b038: Waiting 09:16:39 d0c4b47475fc: Verifying Checksum 09:16:39 d0c4b47475fc: Download complete 09:16:39 d32db5db7311: Verifying Checksum 09:16:39 d32db5db7311: Download complete 09:16:39 86bbec2aaacd: Verifying Checksum 09:16:39 86bbec2aaacd: Download complete 09:16:40 e10730c5d714: Verifying Checksum 09:16:40 e10730c5d714: Download complete 09:16:40 9b18e9b68314: Verifying Checksum 09:16:40 9b18e9b68314: Download complete 09:16:41 9b18e9b68314: Pull complete 09:16:41 d5ac0230b979: Verifying Checksum 09:16:41 d5ac0230b979: Download complete 09:16:41 d32db5db7311: Pull complete 09:16:41 d0c4b47475fc: Pull complete 09:16:42 5dd5c2283517: Verifying Checksum 09:16:43 5831b945b038: Download complete 09:16:55 5831b945b038: Pull complete 09:16:55 86bbec2aaacd: Pull complete 09:16:55 e10730c5d714: Pull complete 09:17:00 5dd5c2283517: Pull complete 09:17:03 d5ac0230b979: Pull complete 09:17:03 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 09:17:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 09:17:03 ---> 59b3b1a385d4 09:17:03 Step 3/11 : ARG ADD_BUILD_TAGS="" 09:17:05 ---> Running in acafd3d92106 09:17:05 Removing intermediate container acafd3d92106 09:17:05 ---> 15ae6a0e059b 09:17:05 Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:17:06 ---> Running in be74a0b77219 09:17:06 Removing intermediate container be74a0b77219 09:17:06 ---> 537ca367b6fb 09:17:06 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:17:06 ---> Running in d58a13f45e63 09:17:08 Removing intermediate container d58a13f45e63 09:17:08 ---> 9727059e84df 09:17:08 Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 09:17:08 ---> Running in f0d5f6b4eebb 09:17:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:17:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:17:11 (1/8) Installing openssh-keygen (9.0_p1-r2) 09:17:11 (2/8) Installing libedit (20210910.3.1-r0) 09:17:11 (3/8) Installing openssh-client-common (9.0_p1-r2) 09:17:11 (4/8) Installing openssh-client-default (9.0_p1-r2) 09:17:11 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 09:17:11 (6/8) Installing openssh-server-common (9.0_p1-r2) 09:17:11 (7/8) Installing openssh-server (9.0_p1-r2) 09:17:12 (8/8) Installing openssh (9.0_p1-r2) 09:17:12 Executing busybox-1.35.0-r17.trigger 09:17:12 OK: 228 MiB in 59 packages 09:17:13 Removing intermediate container f0d5f6b4eebb 09:17:13 ---> 1a3f49fc5ebb 09:17:13 Step 7/11 : WORKDIR /device-modbus-go 09:17:13 ---> Running in 75d8638913ff 09:17:13 Removing intermediate container 75d8638913ff 09:17:13 ---> 1eb1f2929c02 09:17:13 Step 8/11 : COPY go.mod vendor* ./ 09:17:14 ---> 8833be13ea35 09:17:14 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:17:14 ---> Running in 4431d76aae57 09:18:10 Removing intermediate container 4431d76aae57 09:18:10 ---> 3548584f8737 09:18:10 Step 10/11 : COPY . . 09:18:10 ---> 4e5ec0106206 09:18:10 Step 11/11 : RUN ${MAKE} 09:18:10 ---> Running in a5a0c8d78126 09:18:10 noop 09:18:10 Removing intermediate container a5a0c8d78126 09:18:10 ---> 683644e6aecf 09:18:10 Successfully built 683644e6aecf 09:18:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:18:11 + docker inspect -f . ci-base-image-arm64 09:18:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:18:11 prd-ubuntu20.04-docker-arm64-4c-16g-8065 does not seem to be running inside a container 09:18:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:18:12 $ docker top 18a83ef56891a7d9b529aa25f6daa39e43697532a78a890aee468b4c62183c6c -eo pid,comm [Pipeline] { [Pipeline] sh 09:18:13 + go version 09:18:13 go version go1.18.7 linux/arm64 [Pipeline] } 09:18:13 $ docker stop --time=1 18a83ef56891a7d9b529aa25f6daa39e43697532a78a890aee468b4c62183c6c 09:18:15 $ docker rm -f 18a83ef56891a7d9b529aa25f6daa39e43697532a78a890aee468b4c62183c6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:18:15 + docker inspect -f . ci-base-image-arm64 09:18:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:18:16 prd-ubuntu20.04-docker-arm64-4c-16g-8065 does not seem to be running inside a container 09:18:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:18:17 $ docker top 6bf4320849f6b18552ac5f5471f6417e3ab8cac2d495b3d62fcf3a9fb32515f8 -eo pid,comm [Pipeline] { [Pipeline] sh 09:18:18 + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh 09:18:18 + make test 09:18:18 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:18:20 ? github.com/edgexfoundry/device-modbus-go [no test files] 09:19:57 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 09:19:57 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.066s coverage: 47.7% of statements 09:19:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:19:57 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:20:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:20:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:20:24 ./bin/test-attribution-txt.sh [Pipeline] echo 09:20:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:20:25 $ docker stop --time=1 6bf4320849f6b18552ac5f5471f6417e3ab8cac2d495b3d62fcf3a9fb32515f8 09:20:27 $ docker rm -f 6bf4320849f6b18552ac5f5471f6417e3ab8cac2d495b3d62fcf3a9fb32515f8 [Pipeline] // withDockerContainer [Pipeline] sh 09:20:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:20:28 Warning: overwriting stash ‘coverage-report’ 09:20:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:20:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:20:29 + ls -al . 09:20:29 total 184 09:20:29 drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 09:18 . 09:20:29 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:16 .. 09:20:29 -rw-rw-r-- 1 jenkins jenkins 140 Oct 17 09:16 .dockerignore 09:20:29 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 09:16 .git 09:20:29 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:16 .github 09:20:29 -rw-rw-r-- 1 jenkins jenkins 331 Oct 17 09:16 .gitignore 09:20:29 -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 09:16 .golangci.yml 09:20:29 -rw-rw-r-- 1 jenkins jenkins 10121 Oct 17 09:16 Attribution.txt 09:20:29 -rw-rw-r-- 1 jenkins jenkins 10001 Oct 17 09:16 CHANGELOG.md 09:20:29 -rw-rw-r-- 1 jenkins jenkins 1606 Oct 17 09:16 Dockerfile 09:20:29 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 09:16 GOVERNANCE.md 09:20:29 -rw-rw-r-- 1 jenkins jenkins 680 Oct 17 09:16 Jenkinsfile 09:20:29 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 09:16 LICENSE 09:20:29 -rw-rw-r-- 1 jenkins jenkins 2101 Oct 17 09:16 Makefile 09:20:29 -rw-rw-r-- 1 jenkins jenkins 622 Oct 17 09:16 OWNERS.md 09:20:29 -rw-rw-r-- 1 jenkins jenkins 4061 Oct 17 09:16 README.md 09:20:29 -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 09:13 VERSION 09:20:29 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 09:16 bin 09:20:29 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:16 cmd 09:20:29 -rw-r--r-- 1 jenkins jenkins 23241 Oct 17 09:19 coverage.out 09:20:29 -rw-rw-r-- 1 jenkins jenkins 3643 Oct 17 09:16 go.mod 09:20:29 -rw-rw-r-- 1 jenkins jenkins 38288 Oct 17 09:16 go.sum 09:20:29 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:16 internal 09:20:29 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 09:16 simulator 09:20:29 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:16 snap 09:20:29 -rw-rw-r-- 1 jenkins jenkins 229 Oct 17 09:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:20:30 + 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=b3c9aa4595c6bbef9c35e517ea68a315b038ead8 --label arch=arm64 --label version=0.0.0 . 09:20:30 Sending build context to Docker daemon 3.252MB 09:20:30 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 09:20:30 Step 2/24 : FROM ${BASE} AS builder 09:20:30 ---> 683644e6aecf 09:20:30 Step 3/24 : ARG ADD_BUILD_TAGS="" 09:20:30 ---> Running in a59d93e0b7d2 09:20:31 Removing intermediate container a59d93e0b7d2 09:20:31 ---> 89d192818275 09:20:31 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:20:31 ---> Running in c519e29fd98e 09:20:32 Removing intermediate container c519e29fd98e 09:20:32 ---> 96683d8035ae 09:20:32 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:20:32 ---> Running in 92a1080d5a49 09:20:35 Removing intermediate container 92a1080d5a49 09:20:35 ---> 21465b89032d 09:20:35 Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 09:20:35 ---> Running in 65928d4e85a1 09:20:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:20:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:20:38 OK: 228 MiB in 59 packages 09:20:39 Removing intermediate container 65928d4e85a1 09:20:39 ---> debf2623f414 09:20:39 Step 7/24 : WORKDIR /device-modbus-go 09:20:40 ---> Running in 05820c06c8bc 09:20:40 Removing intermediate container 05820c06c8bc 09:20:40 ---> 0b1abb344449 09:20:40 Step 8/24 : COPY go.mod vendor* ./ 09:20:40 ---> e4fdb3347eb5 09:20:40 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:20:41 ---> Running in e05aeffb81e5 09:20:43 Removing intermediate container e05aeffb81e5 09:20:43 ---> a36b8ee3df32 09:20:43 Step 10/24 : COPY . . 09:20:44 ---> de093949a36f 09:20:44 Step 11/24 : RUN ${MAKE} 09:20:44 ---> Running in db8aa66ec3d8 09:20:45 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 09:23:37 Removing intermediate container db8aa66ec3d8 09:23:37 ---> 838447ce45ad 09:23:37 Step 12/24 : FROM alpine:3.14 09:23:37 3.14: Pulling from library/alpine 09:23:37 90cda3b7c325: Pulling fs layer 09:23:37 90cda3b7c325: Verifying Checksum 09:23:37 90cda3b7c325: Download complete 09:23:37 90cda3b7c325: Pull complete 09:23:37 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 09:23:37 Status: Downloaded newer image for alpine:3.14 09:23:37 ---> 376ba31ae3da 09:23:37 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 09:23:37 ---> Running in ae55cade307b 09:23:37 Removing intermediate container ae55cade307b 09:23:37 ---> 97c8fc9a63cb 09:23:37 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:23:37 ---> Running in 205bd4b5e669 09:23:37 Removing intermediate container 205bd4b5e669 09:23:37 ---> 956ca5dae11e 09:23:37 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 09:23:37 ---> Running in c16f88e6be56 09:23:38 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 09:23:39 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 09:23:40 (1/6) Installing dumb-init (1.2.5-r1) 09:23:40 (2/6) Installing libgcc (10.3.1_git20210424-r2) 09:23:40 (3/6) Installing libsodium (1.0.18-r0) 09:23:40 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 09:23:40 (5/6) Installing libzmq (4.3.4-r0) 09:23:40 (6/6) Installing zeromq (4.3.4-r0) 09:23:40 Executing busybox-1.33.1-r8.trigger 09:23:40 OK: 8 MiB in 20 packages 09:23:41 Removing intermediate container c16f88e6be56 09:23:41 ---> e21e48807946 09:23:41 Step 16/24 : COPY --from=builder /device-modbus-go/cmd / 09:23:43 ---> 72ce552d91f4 09:23:43 Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / 09:23:43 ---> b18947826d2b 09:23:43 Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / 09:23:44 ---> 0014ff673885 09:23:44 Step 19/24 : EXPOSE 59901 09:23:44 ---> Running in af7f4f3cc864 09:23:44 Removing intermediate container af7f4f3cc864 09:23:44 ---> cc4958158cc3 09:23:44 Step 20/24 : ENTRYPOINT ["/device-modbus"] 09:23:44 ---> Running in 2c989f43a529 09:23:45 Removing intermediate container 2c989f43a529 09:23:45 ---> 1aea9ad321d3 09:23:45 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:23:45 ---> Running in 667680bc86d9 09:23:45 Removing intermediate container 667680bc86d9 09:23:45 ---> 3b31e679036e 09:23:45 Step 22/24 : LABEL arch=arm64 09:23:45 ---> Running in f10354b2b4b2 09:23:46 Removing intermediate container f10354b2b4b2 09:23:46 ---> e2c07a52bd76 09:23:46 Step 23/24 : LABEL git_sha=b3c9aa4595c6bbef9c35e517ea68a315b038ead8 09:23:46 ---> Running in 6957129b79d5 09:23:46 Removing intermediate container 6957129b79d5 09:23:46 ---> 0ec83d3aed64 09:23:46 Step 24/24 : LABEL version=0.0.0 09:23:46 ---> Running in 2c0900f09d01 09:23:46 Removing intermediate container 2c0900f09d01 09:23:46 ---> 0592ce7a4774 09:23:46 [Warning] One or more build-args [ARCH] were not consumed 09:23:46 Successfully built 0592ce7a4774 09:23:46 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 09:23:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:23:47 09:23:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:23:47 arm64: Pulling from edgex-lftools-log-publisher 09:23:47 8998bd30e6a1: Pulling fs layer 09:23:47 04944245beec: Pulling fs layer 09:23:47 699f458cf7ca: Pulling fs layer 09:23:47 765212b225bb: Pulling fs layer 09:23:47 f23df028b6ca: Pulling fs layer 09:23:47 d65c8cfc05b1: Pulling fs layer 09:23:47 2437ff75d9bd: Pulling fs layer 09:23:47 765212b225bb: Waiting 09:23:47 f23df028b6ca: Waiting 09:23:47 d65c8cfc05b1: Waiting 09:23:47 2437ff75d9bd: Waiting 09:23:47 04944245beec: Verifying Checksum 09:23:47 04944245beec: Download complete 09:23:47 765212b225bb: Verifying Checksum 09:23:47 765212b225bb: Download complete 09:23:47 f23df028b6ca: Verifying Checksum 09:23:47 f23df028b6ca: Download complete 09:23:47 d65c8cfc05b1: Verifying Checksum 09:23:47 d65c8cfc05b1: Download complete 09:23:48 699f458cf7ca: Verifying Checksum 09:23:48 699f458cf7ca: Download complete 09:23:48 8998bd30e6a1: Verifying Checksum 09:23:48 8998bd30e6a1: Download complete 09:23:51 2437ff75d9bd: Verifying Checksum 09:23:51 2437ff75d9bd: Download complete 09:23:53 8998bd30e6a1: Pull complete 09:23:53 04944245beec: Pull complete 09:23:54 699f458cf7ca: Pull complete 09:23:54 765212b225bb: Pull complete 09:23:56 f23df028b6ca: Pull complete 09:23:56 d65c8cfc05b1: Pull complete 09:24:11 2437ff75d9bd: Pull complete 09:24:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:24:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:24:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:24:11 prd-ubuntu20.04-docker-arm64-4c-16g-8065 does not seem to be running inside a container 09:24:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:24:14 $ docker top 3fdbc69acd3d492040c13a06097473f7abcc9352defa46c0672d6c73153f92d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:24:15 ---> job-cost.sh 09:24:15 lf-activate-venv: SKIPPING 09:24:15 INFO: No Stack... 09:24:15 INFO: Retrieving Pricing Info for: v3-standard-4 09:24:16 INFO: Archiving Costs [Pipeline] sh 09:24:17 + cat /w/workspace/device-modbus-go/2/archives/cost.csv 09:24:17 + cut -d, -f6 [Pipeline] lock 09:24:17 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-382-2-stack-cost] 09:24:17 Resource [jenkins-edgexfoundry-device-modbus-go-PR-382-2-stack-cost] did not exist. Created. 09:24:17 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-382-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:24:18 /w/workspace/device-modbus-go/2@tmp/durable-7f7ebef1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:24:18 + echo total: 0.10999999940395355 [Pipeline] stash 09:24:18 Warning: overwriting stash ‘stack-cost’ 09:24:18 Stashed 1 file(s) [Pipeline] } 09:24:18 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-382-2-stack-cost] [Pipeline] // lock [Pipeline] } 09:24:18 $ docker stop --time=1 3fdbc69acd3d492040c13a06097473f7abcc9352defa46c0672d6c73153f92d7 09:24:20 $ docker rm -f 3fdbc69acd3d492040c13a06097473f7abcc9352defa46c0672d6c73153f92d7 [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 09:24:20 provisioning config files... 09:24:20 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-382@tmp/config2320408442021205499tmp [Pipeline] { [Pipeline] sh 09:24:21 + set +x 09:24:21 + bash -s -- 09:24:21 + curl -s https://codecov.io/bash 09:24:21 09:24:21 _____ _ 09:24:21 / ____| | | 09:24:21 | | ___ __| | ___ ___ _____ __ 09:24:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:24:21 | |___| (_) | (_| | __/ (_| (_) \ V / 09:24:21 \_____\___/ \__,_|\___|\___\___/ \_/ 09:24:21 Bash-1.0.6 09:24:21 09:24:21 09:24:21 ==> git version 2.25.1 found 09:24:21 ==> 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 09:24:21 Release-Date: 2020-01-08 09:24:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:24:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:24:21 ==> Jenkins CI detected. 09:24:21 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-382 09:24:21 project root: . 09:24:21 --> token set from env 09:24:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:24:21 ==> Running gcov in . (disable via -X gcov) 09:24:21 ==> Python coveragepy not found 09:24:21 ==> Searching for coverage reports in: 09:24:21 + . 09:24:21 -> Found 1 reports 09:24:21 ==> Detecting git/mercurial file structure 09:24:21 ==> Reading reports 09:24:21 + ./coverage.out bytes=23241 09:24:21 ==> Appending adjustments 09:24:21 https://docs.codecov.io/docs/fixing-reports 09:24:21 + Found adjustments 09:24:21 ==> Gzipping contents 09:24:21 4.0K /tmp/codecov.Xo5AfW.gz 09:24:21 ==> Uploading reports 09:24:21 url: https://codecov.io 09:24:21 query: branch=PR-382&commit=fd54f6e13d56bd17224e1091cec696f7f2f5ee24&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-382%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=382&job=&cmd_args= 09:24:21 -> Pinging Codecov 09:24:21 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-382&commit=fd54f6e13d56bd17224e1091cec696f7f2f5ee24&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-382%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=382&job=&cmd_args= 09:24:21 -> Uploading to 09:24:21 https://storage.googleapis.com/codecov/v4/raw/2022-10-17/55DBCA73C666E3227836607328DD7E49/fd54f6e13d56bd17224e1091cec696f7f2f5ee24/88eb6f9e-8745-40e4-8c06-0fc3aa76df71.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T092421Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=22af04deabd69a0e6f128c916bb73532f531c7b17e2a559ff0842c8d78de34d6 09:24:21 % Total % Received % Xferd Average Speed Time Time Time Current 09:24:21 Dload Upload Total Spent Left Speed 09:24:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3911 0 0 100 3911 0 17696 --:--:-- --:--:-- --:--:-- 17777 09:24:22 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/fd54f6e13d56bd17224e1091cec696f7f2f5ee24 [Pipeline] } 09:24:22 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 09:24:22 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-382/archives ] 09:24:22 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-382/archives 09:24:22 total 16 09:24:22 drwxr-xr-x 3 root root 4096 Oct 17 09:15 . 09:24:22 drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 09:15 .. 09:24:22 drwxr-xr-x 2 root root 4096 Oct 17 09:15 cost 09:24:22 -rw-r--r-- 1 root root 88 Oct 17 09:15 cost.csv 09:24:22 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-382/archives 09:24:22 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-382/archives 09:24:22 total 16 09:24:22 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 09:15 . 09:24:22 drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 09:15 .. 09:24:22 drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 09:15 cost 09:24:22 -rw-r--r-- 1 jenkins jenkins 88 Oct 17 09:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:24:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:24:23 ---> package-listing.sh 09:24:23 ++ facter osfamily 09:24:23 ++ tr '[:upper:]' '[:lower:]' 09:24:24 + OS_FAMILY=debian 09:24:24 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-382 09:24:24 + START_PACKAGES=/tmp/packages_start.txt 09:24:24 + END_PACKAGES=/tmp/packages_end.txt 09:24:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:24:24 + PACKAGES=/tmp/packages_start.txt 09:24:24 + '[' /w/workspace/xfoundry_device-modbus-go_PR-382 ']' 09:24:24 + PACKAGES=/tmp/packages_end.txt 09:24:24 + case "${OS_FAMILY}" in 09:24:24 + dpkg -l 09:24:24 + grep '^ii' 09:24:24 + '[' -f /tmp/packages_start.txt ']' 09:24:24 + '[' -f /tmp/packages_end.txt ']' 09:24:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:24:24 + '[' /w/workspace/xfoundry_device-modbus-go_PR-382 ']' 09:24:24 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-382/archives/ 09:24:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-382/archives/ [Pipeline] echo 09:24:24 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-382/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:24:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:24:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:24:25 prd-ubuntu20.04-docker-8c-8g-8059 does not seem to be running inside a container 09:24:25 $ 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-382/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-382 -v /w/workspace/xfoundry_device-modbus-go_PR-382:/w/workspace/xfoundry_device-modbus-go_PR-382:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-382@tmp:/w/workspace/xfoundry_device-modbus-go_PR-382@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:24:25 $ docker top b8f975a30786481ea98379a66b6e746bcdf7d76d7675a8313f5a0eddf34177f1 -eo pid,comm [Pipeline] { [Pipeline] sh 09:24:25 + touch /tmp/pre-build-complete [Pipeline] sh 09:24:25 + mkdir -p /var/log/sysstat [Pipeline] sh 09:24:26 + ls /var/log/sa-host 09:24:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:24:26 provisioning config files... 09:24:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-382@tmp/config15484355041333341422tmp [Pipeline] { [Pipeline] echo 09:24:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:24:26 ---> create-netrc.sh [Pipeline] } 09:24:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:24:26 ---> python-tools-install.sh [Pipeline] echo 09:24:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:24:27 ---> sudo-logs.sh 09:24:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:24:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:24:27 ---> job-cost.sh 09:24:27 lf-activate-venv: SKIPPING 09:24:27 DEBUG: total: 0.2199999988079071 09:24:27 INFO: Retrieving Stack Cost... 09:24:27 INFO: Retrieving Pricing Info for: v3-standard-8 09:24:28 INFO: Archiving Costs [Pipeline] echo 09:24:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:24:28 ---> logs-deploy.sh 09:24:28 lf-activate-venv: SKIPPING 09:24:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-382/2 09:24:28 INFO: archiving workspace using pattern(s): 09:24:29 Archives upload complete. 09:24:29 INFO: archiving logs to Nexus 09:24:30 ---> uname -a: 09:24:30 Linux prd-ubuntu20-04-docker-8c-8g-8059 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 09:24:30 09:24:30