Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-modbus-go Obtained Jenkinsfile from c2e0f675d3f4f9009a8b9434d51a991f7e5265cd+892226c059eb5a0163287d1d4603e2b9857b6e84 (0aeca6ce8f72556892e23aa5046be056c55c6d0f) 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-ssh6704899480524414191.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-ssh5131478261315423895.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-376/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-376/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4578180745757690987.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-ssh4573806904942782518.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-376/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-376/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14204368655575979371.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 ‘prd-ubuntu20.04-docker-8c-8g-1401’ Running on prd-ubuntu20.04-docker-8c-8g-1403 in /w/workspace/xfoundry_device-modbus-go_PR-376 [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-376 # 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/376/head:refs/remotes/origin/PR-376 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 892226c059eb5a0163287d1d4603e2b9857b6e84 into PR head commit c2e0f675d3f4f9009a8b9434d51a991f7e5265cd Merge succeeded, producing fe4219747ba724270064f071fae3ee240629df5b Checking out Revision fe4219747ba724270064f071fae3ee240629df5b (PR-376) > git config core.sparsecheckout # timeout=10 > git checkout -f c2e0f675d3f4f9009a8b9434d51a991f7e5265cd # 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 892226c059eb5a0163287d1d4603e2b9857b6e84 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fe4219747ba724270064f071fae3ee240629df5b # timeout=10 Commit message: "Merge commit '892226c059eb5a0163287d1d4603e2b9857b6e84' into HEAD" > git rev-list --no-walk c2e0f675d3f4f9009a8b9434d51a991f7e5265cd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:54:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:54:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:54:02 ========================================================= 20:54:02 EdgeX Global Pipelines Version Info 20:54:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:54:03 ------------------- 20:54:03 stable info: 20:54:03 ------------------- 20:54:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:54:03 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 20:54:03 Message: update stable to v1.0.239 20:54:03 ------------------- 20:54:03 experimental info: 20:54:03 ------------------- 20:54:03 Commited By: **** collab-it+edgex@linuxfoundation.org 20:54:03 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 20:54:03 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:54:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 20:54:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 20:54:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:54:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:54:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:54:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:54:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:54:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:54:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:54:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:54:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:54:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 20:54:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:54:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:54:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:54:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:54:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:54:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:54:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:54:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:54:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:54:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:54:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:54:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:54:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:54:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:54:03 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:54:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-376 [Pipeline] echo 20:54:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-376 [Pipeline] echo 20:54:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-376 [Pipeline] echo 20:54:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fe4219747ba724270064f071fae3ee240629df5b [Pipeline] echo 20:54:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fe42197 [Pipeline] echo 20:54:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:54:04 provisioning config files... 20:54:04 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-376@tmp/config12137352470632404264tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:54:04 ---> docker-login.sh 20:54:04 nexus3.edgexfoundry.org:10001 20:54:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:04 Configure a credential helper to remove this warning. See 20:54:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:04 20:54:04 Login Succeeded 20:54:04 nexus3.edgexfoundry.org:10002 20:54:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:04 Configure a credential helper to remove this warning. See 20:54:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:04 20:54:04 Login Succeeded 20:54:04 nexus3.edgexfoundry.org:10003 20:54:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:04 Configure a credential helper to remove this warning. See 20:54:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:04 20:54:04 Login Succeeded 20:54:04 nexus3.edgexfoundry.org:10004 20:54:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:04 Configure a credential helper to remove this warning. See 20:54:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:04 20:54:04 Login Succeeded 20:54:04 docker.io 20:54:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:05 Configure a credential helper to remove this warning. See 20:54:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:05 20:54:05 Login Succeeded 20:54:05 ---> docker-login.sh ends [Pipeline] } 20:54:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:54:05 + git rev-list -1 --merges fe4219747ba724270064f071fae3ee240629df5b~1..fe4219747ba724270064f071fae3ee240629df5b [Pipeline] echo 20:54:05 -----------> git rev-list -1 --merges fe4219747ba724270064f071fae3ee240629df5b~1..fe4219747ba724270064f071fae3ee240629df5b fe4219747ba724270064f071fae3ee240629df5b 20:54:05 fe4219747ba724270064f071fae3ee240629df5b [false] [Pipeline] sh 20:54:06 + git log --format=format:%s -1 fe4219747ba724270064f071fae3ee240629df5b [Pipeline] echo 20:54:06 ========================================================= 20:54:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:54:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:54:06 + git log --format=format:%s -1 fe4219747ba724270064f071fae3ee240629df5b [Pipeline] echo 20:54:06 [semverPrep] GIT_COMMIT: fe4219747ba724270064f071fae3ee240629df5b, Commit Message: Merge commit '892226c059eb5a0163287d1d4603e2b9857b6e84' into HEAD [Pipeline] echo 20:54:06 [semverPrep] This is not a build commit. [Pipeline] sh 20:54:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:54:06 + grep -v github /etc/ssh/ssh_known_hosts 20:54:06 + [ -e /tmp/ssh_known_hosts ] 20:54:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:54:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:54:06 + sudo tee -a /etc/ssh/ssh_known_hosts 20:54:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:54:07 20:54:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:54:07 0.1.4: Pulling from edgex-devops/py-git-semver 20:54:07 b85a868b505f: Pulling fs layer 20:54:07 e2be974225ed: Pulling fs layer 20:54:07 339a4e72a1f5: Pulling fs layer 20:54:07 988bab9f4d93: Pulling fs layer 20:54:07 1469e6f7b9e6: Pulling fs layer 20:54:07 eaf3925da568: Pulling fs layer 20:54:07 bab4dde63d76: Pulling fs layer 20:54:07 bde34c3a00c8: Pulling fs layer 20:54:07 b352a97aabf1: Pulling fs layer 20:54:07 4872d77fe225: Pulling fs layer 20:54:07 5851b861e8e6: Pulling fs layer 20:54:07 988bab9f4d93: Waiting 20:54:07 1469e6f7b9e6: Waiting 20:54:07 eaf3925da568: Waiting 20:54:07 bab4dde63d76: Waiting 20:54:07 bde34c3a00c8: Waiting 20:54:07 b352a97aabf1: Waiting 20:54:07 5851b861e8e6: Waiting 20:54:07 4872d77fe225: Waiting 20:54:07 e2be974225ed: Download complete 20:54:07 988bab9f4d93: Verifying Checksum 20:54:07 988bab9f4d93: Download complete 20:54:07 1469e6f7b9e6: Download complete 20:54:07 339a4e72a1f5: Verifying Checksum 20:54:07 339a4e72a1f5: Download complete 20:54:07 eaf3925da568: Download complete 20:54:07 bde34c3a00c8: Download complete 20:54:07 b352a97aabf1: Verifying Checksum 20:54:07 b352a97aabf1: Download complete 20:54:07 4872d77fe225: Download complete 20:54:07 b85a868b505f: Verifying Checksum 20:54:07 bab4dde63d76: Verifying Checksum 20:54:07 bab4dde63d76: Download complete 20:54:08 b85a868b505f: Pull complete 20:54:08 e2be974225ed: Pull complete 20:54:09 339a4e72a1f5: Pull complete 20:54:09 988bab9f4d93: Pull complete 20:54:09 1469e6f7b9e6: Pull complete 20:54:09 eaf3925da568: Pull complete 20:54:11 bab4dde63d76: Pull complete 20:54:11 bde34c3a00c8: Pull complete 20:54:11 b352a97aabf1: Pull complete 20:54:11 4872d77fe225: Pull complete 20:54:11 5851b861e8e6: Pull complete 20:54:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:54:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:54:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:54:11 prd-ubuntu20.04-docker-8c-8g-1403 does not seem to be running inside a container 20:54:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-376 -v /w/workspace/xfoundry_device-modbus-go_PR-376:/w/workspace/xfoundry_device-modbus-go_PR-376:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-376@tmp:/w/workspace/xfoundry_device-modbus-go_PR-376@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:54:13 $ docker top 044d100b8b66bf9621eaefbc3ec0cf4322c635bf83418b82533d6afed5d53146 -eo pid,comm 20:54:13 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:54:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:54:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:54:13 [ssh-agent] Looking for ssh-agent implementation... 20:54:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:54:13 $ docker exec 044d100b8b66bf9621eaefbc3ec0cf4322c635bf83418b82533d6afed5d53146 ssh-agent 20:54:13 SSH_AUTH_SOCK=/tmp/ssh-PhlWhutk9jFY/agent.31 20:54:13 SSH_AGENT_PID=37 20:54:13 Running ssh-add (command line suppressed) 20:54:13 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-376@tmp/private_key_6127797485626265368.key (/w/workspace/xfoundry_device-modbus-go_PR-376@tmp/private_key_6127797485626265368.key) 20:54:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:54:13 + git tag --points-at HEAD [Pipeline] } 20:54:14 $ docker exec --env ******** --env ******** 044d100b8b66bf9621eaefbc3ec0cf4322c635bf83418b82533d6afed5d53146 ssh-agent -k 20:54:14 unset SSH_AUTH_SOCK; 20:54:14 unset SSH_AGENT_PID; 20:54:14 echo Agent pid 37 killed; 20:54:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:54:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:54:14 [ssh-agent] Looking for ssh-agent implementation... 20:54:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:54:14 $ docker exec 044d100b8b66bf9621eaefbc3ec0cf4322c635bf83418b82533d6afed5d53146 ssh-agent 20:54:14 SSH_AUTH_SOCK=/tmp/ssh-7d8QfV21iBXD/agent.70 20:54:14 SSH_AGENT_PID=76 20:54:14 Running ssh-add (command line suppressed) 20:54:14 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-376@tmp/private_key_14649206932239203672.key (/w/workspace/xfoundry_device-modbus-go_PR-376@tmp/private_key_14649206932239203672.key) 20:54:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:54:14 + git semver init 20:54:14 2022-09-27 20:54:14,898 [run_init] DEBUG init version:0.0.0 force:False 20:54:14 2022-09-27 20:54:14,898 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-376/.semver 20:54:14 2022-09-27 20:54:14,899 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-376/.semver 20:54:14 2022-09-27 20:54:14,899 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-376/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-376, universal_newlines=False, shell=None, istream=None) 20:54:15 2022-09-27 20:54:15,734 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-376/.git/info/exclude 20:54:15 2022-09-27 20:54:15,734 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-376/.semver/PR-376 with force:False 20:54:15 2022-09-27 20:54:15,735 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-376/.semver/PR-376 20:54:15 2022-09-27 20:54:15,739 [execute] INFO git cat-file --batch-check 20:54:15 2022-09-27 20:54:15,739 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-376/.semver, universal_newlines=False, shell=None, istream=) 20:54:15 2022-09-27 20:54:15,748 [execute] INFO git cat-file --batch 20:54:15 2022-09-27 20:54:15,748 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-376/.semver, universal_newlines=False, shell=None, istream=) 20:54:15 2022-09-27 20:54:15,754 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-376/.semver/PR-376 20:54:15 0.0.0 [Pipeline] } 20:54:15 $ docker exec --env ******** --env ******** 044d100b8b66bf9621eaefbc3ec0cf4322c635bf83418b82533d6afed5d53146 ssh-agent -k 20:54:16 unset SSH_AUTH_SOCK; 20:54:16 unset SSH_AGENT_PID; 20:54:16 echo Agent pid 76 killed; 20:54:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:54:16 + git semver [Pipeline] } 20:54:16 $ docker stop --time=1 044d100b8b66bf9621eaefbc3ec0cf4322c635bf83418b82533d6afed5d53146 20:54:17 $ docker rm -f 044d100b8b66bf9621eaefbc3ec0cf4322c635bf83418b82533d6afed5d53146 [Pipeline] // withDockerContainer [Pipeline] sh 20:54:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:54:18 Stashed 1 file(s) [Pipeline] echo 20:54:18 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:54:18 provisioning config files... 20:54:18 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-376@tmp/config1513196464906006725tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:54:18 ---> docker-login.sh 20:54:18 nexus3.edgexfoundry.org:10001 20:54:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:18 Configure a credential helper to remove this warning. See 20:54:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:18 20:54:18 Login Succeeded 20:54:18 nexus3.edgexfoundry.org:10002 20:54:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:18 Configure a credential helper to remove this warning. See 20:54:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:18 20:54:18 Login Succeeded 20:54:18 nexus3.edgexfoundry.org:10003 20:54:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:19 Configure a credential helper to remove this warning. See 20:54:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:19 20:54:19 Login Succeeded 20:54:19 nexus3.edgexfoundry.org:10004 20:54:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:19 Configure a credential helper to remove this warning. See 20:54:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:19 20:54:19 Login Succeeded 20:54:19 docker.io 20:54:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:19 Configure a credential helper to remove this warning. See 20:54:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:19 20:54:19 Login Succeeded 20:54:19 ---> docker-login.sh ends [Pipeline] } 20:54:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:54:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:54:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:54:19 ========================================================= 20:54:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:54:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:20 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:54:20 Sending build context to Docker daemon 6.161MB 20:54:20 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 20:54:20 Step 2/11 : FROM ${BASE} AS builder 20:54:20 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:54:20 2408cc74d12b: Pulling fs layer 20:54:20 ea60b727a1ce: Pulling fs layer 20:54:20 30c4a7721957: Pulling fs layer 20:54:20 370296b7ddb6: Pulling fs layer 20:54:20 7c6cee850709: Pulling fs layer 20:54:20 39a5fcdaea64: Pulling fs layer 20:54:20 d94ebbe4e438: Pulling fs layer 20:54:20 bcfd1f05c69d: Pulling fs layer 20:54:20 59ccb84bbe0f: Pulling fs layer 20:54:20 d94ebbe4e438: Waiting 20:54:20 370296b7ddb6: Waiting 20:54:20 7c6cee850709: Waiting 20:54:20 bcfd1f05c69d: Waiting 20:54:20 39a5fcdaea64: Waiting 20:54:20 59ccb84bbe0f: Waiting 20:54:20 30c4a7721957: Verifying Checksum 20:54:20 30c4a7721957: Download complete 20:54:20 ea60b727a1ce: Download complete 20:54:20 7c6cee850709: Verifying Checksum 20:54:20 7c6cee850709: Download complete 20:54:20 39a5fcdaea64: Verifying Checksum 20:54:20 39a5fcdaea64: Download complete 20:54:20 2408cc74d12b: Verifying Checksum 20:54:20 2408cc74d12b: Download complete 20:54:20 d94ebbe4e438: Download complete 20:54:20 2408cc74d12b: Pull complete 20:54:20 ea60b727a1ce: Pull complete 20:54:20 30c4a7721957: Pull complete 20:54:20 59ccb84bbe0f: Verifying Checksum 20:54:20 59ccb84bbe0f: Download complete 20:54:21 bcfd1f05c69d: Verifying Checksum 20:54:21 bcfd1f05c69d: Download complete 20:54:21 370296b7ddb6: Download complete 20:54:24 370296b7ddb6: Pull complete 20:54:24 7c6cee850709: Pull complete 20:54:24 39a5fcdaea64: Pull complete 20:54:24 d94ebbe4e438: Pull complete 20:54:26 bcfd1f05c69d: Pull complete 20:54:27 59ccb84bbe0f: Pull complete 20:54:27 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 20:54:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:54:27 ---> a4fb48ad2a94 20:54:27 Step 3/11 : ARG ADD_BUILD_TAGS="" 20:54:29 ---> Running in 46c49d4c51e6 20:54:29 Removing intermediate container 46c49d4c51e6 20:54:29 ---> 1116addc41c2 20:54:29 Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:54:29 ---> Running in 9aafba24650f 20:54:29 Removing intermediate container 9aafba24650f 20:54:29 ---> 0714ebe33a40 20:54:29 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:54:29 ---> Running in 354c18e958bc 20:54:30 Removing intermediate container 354c18e958bc 20:54:30 ---> 854c841baba3 20:54:30 Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 20:54:30 ---> Running in 5f6a2662d411 20:54:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:54:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:54:31 (1/8) Installing openssh-keygen (9.0_p1-r2) 20:54:31 (2/8) Installing libedit (20210910.3.1-r0) 20:54:31 (3/8) Installing openssh-client-common (9.0_p1-r2) 20:54:31 (4/8) Installing openssh-client-default (9.0_p1-r2) 20:54:31 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 20:54:31 (6/8) Installing openssh-server-common (9.0_p1-r2) 20:54:32 (7/8) Installing openssh-server (9.0_p1-r2) 20:54:32 (8/8) Installing openssh (9.0_p1-r2) 20:54:32 Executing busybox-1.35.0-r13.trigger 20:54:32 OK: 217 MiB in 59 packages 20:54:32 Removing intermediate container 5f6a2662d411 20:54:32 ---> 0f82963378f6 20:54:32 Step 7/11 : WORKDIR /device-modbus-go 20:54:32 ---> Running in c29188cea978 20:54:32 Removing intermediate container c29188cea978 20:54:32 ---> 4d9343000c5e 20:54:32 Step 8/11 : COPY go.mod vendor* ./ 20:54:32 ---> 5fa2a3ebf44a 20:54:32 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:54:32 ---> Running in 8434e19f07a7 20:54:33 Still waiting to schedule task 20:54:33 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1402’ 20:54:54 Removing intermediate container 8434e19f07a7 20:54:54 ---> 1e5cbd775c03 20:54:54 Step 10/11 : COPY . . 20:54:54 ---> c7eb8d043320 20:54:54 Step 11/11 : RUN ${MAKE} 20:54:54 ---> Running in 3b004e0c005b 20:54:54 noop 20:54:54 Removing intermediate container 3b004e0c005b 20:54:54 ---> 9420920fba2a 20:54:54 Successfully built 9420920fba2a 20:54:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:55 + docker inspect -f . ci-base-image-x86_64 20:54:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:54:55 prd-ubuntu20.04-docker-8c-8g-1403 does not seem to be running inside a container 20:54:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-376 -v /w/workspace/xfoundry_device-modbus-go_PR-376:/w/workspace/xfoundry_device-modbus-go_PR-376:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-376@tmp:/w/workspace/xfoundry_device-modbus-go_PR-376@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:54:55 $ docker top 2628631d982a787710582594c48634eeae7d4b2233554373ab52fd449f4c6c5a -eo pid,comm [Pipeline] { [Pipeline] sh 20:54:55 + go version 20:54:55 go version go1.18.3 linux/amd64 [Pipeline] } 20:54:55 $ docker stop --time=1 2628631d982a787710582594c48634eeae7d4b2233554373ab52fd449f4c6c5a 20:54:57 $ docker rm -f 2628631d982a787710582594c48634eeae7d4b2233554373ab52fd449f4c6c5a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:57 + docker inspect -f . ci-base-image-x86_64 20:54:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:54:57 prd-ubuntu20.04-docker-8c-8g-1403 does not seem to be running inside a container 20:54:57 $ 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-376 -v /w/workspace/xfoundry_device-modbus-go_PR-376:/w/workspace/xfoundry_device-modbus-go_PR-376:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-376@tmp:/w/workspace/xfoundry_device-modbus-go_PR-376@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:54:57 $ docker top 9d63bfc8d28f919fd4c1f607005a559b34e46c2f70da5d0193159cd0504f158a -eo pid,comm [Pipeline] { [Pipeline] sh 20:54:58 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-376 [Pipeline] fileExists [Pipeline] sh 20:54:58 + make test 20:54:58 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:54:58 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:55:07 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:55:07 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 47.7% of statements 20:55:13 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 20:55:13 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:55:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:55:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:55:17 ./bin/test-attribution-txt.sh [Pipeline] echo 20:55:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:55:17 $ docker stop --time=1 9d63bfc8d28f919fd4c1f607005a559b34e46c2f70da5d0193159cd0504f158a 20:55:19 $ docker rm -f 9d63bfc8d28f919fd4c1f607005a559b34e46c2f70da5d0193159cd0504f158a [Pipeline] // withDockerContainer [Pipeline] sh 20:55:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:55:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:55:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:55:20 + ls -al . 20:55:20 total 188 20:55:20 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 20:54 . 20:55:20 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 20:53 .. 20:55:20 -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 20:53 .dockerignore 20:55:20 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 20:55 .git 20:55:20 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 20:53 .github 20:55:20 -rw-rw-r-- 1 jenkins jenkins 331 Sep 27 20:53 .gitignore 20:55:20 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 20:53 .golangci.yml 20:55:20 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 20:54 .semver 20:55:20 -rw-rw-r-- 1 jenkins jenkins 10121 Sep 27 20:53 Attribution.txt 20:55:20 -rw-rw-r-- 1 jenkins jenkins 10001 Sep 27 20:53 CHANGELOG.md 20:55:20 -rw-rw-r-- 1 jenkins jenkins 1606 Sep 27 20:53 Dockerfile 20:55:20 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 20:53 GOVERNANCE.md 20:55:20 -rw-rw-r-- 1 jenkins jenkins 680 Sep 27 20:53 Jenkinsfile 20:55:20 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 20:53 LICENSE 20:55:20 -rw-rw-r-- 1 jenkins jenkins 2101 Sep 27 20:53 Makefile 20:55:20 -rw-rw-r-- 1 jenkins jenkins 622 Sep 27 20:53 OWNERS.md 20:55:20 -rw-rw-r-- 1 jenkins jenkins 4061 Sep 27 20:53 README.md 20:55:20 -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 20:54 VERSION 20:55:20 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 20:53 bin 20:55:20 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 20:53 cmd 20:55:20 -rw-r--r-- 1 jenkins jenkins 23241 Sep 27 20:55 coverage.out 20:55:20 -rw-rw-r-- 1 jenkins jenkins 3643 Sep 27 20:53 go.mod 20:55:20 -rw-rw-r-- 1 jenkins jenkins 38287 Sep 27 20:53 go.sum 20:55:20 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 20:53 internal 20:55:20 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 20:53 simulator 20:55:20 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 20:53 snap 20:55:20 -rw-rw-r-- 1 jenkins jenkins 229 Sep 27 20:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:21 + 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=fe4219747ba724270064f071fae3ee240629df5b --label arch=amd64 --label version=0.0.0 . 20:55:21 Sending build context to Docker daemon 6.185MB 20:55:21 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 20:55:21 Step 2/24 : FROM ${BASE} AS builder 20:55:21 ---> 9420920fba2a 20:55:21 Step 3/24 : ARG ADD_BUILD_TAGS="" 20:55:21 ---> Running in 2fcc9670d0b1 20:55:21 Removing intermediate container 2fcc9670d0b1 20:55:21 ---> d5a312a91a38 20:55:21 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:55:21 ---> Running in 3ed04e690305 20:55:21 Removing intermediate container 3ed04e690305 20:55:21 ---> 10547af629f7 20:55:21 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:55:21 ---> Running in 4c84b42a7332 20:55:22 Removing intermediate container 4c84b42a7332 20:55:22 ---> 9553be96b788 20:55:22 Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 20:55:22 ---> Running in 43cd7982ef44 20:55:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:55:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:55:23 OK: 217 MiB in 59 packages 20:55:23 Removing intermediate container 43cd7982ef44 20:55:23 ---> 8de526b0d300 20:55:23 Step 7/24 : WORKDIR /device-modbus-go 20:55:23 ---> Running in 1c71dc2b4575 20:55:23 Removing intermediate container 1c71dc2b4575 20:55:23 ---> 1d023836800b 20:55:23 Step 8/24 : COPY go.mod vendor* ./ 20:55:24 ---> 0c291c96dd82 20:55:24 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:55:24 ---> Running in 0418aceceaf0 20:55:24 Removing intermediate container 0418aceceaf0 20:55:24 ---> 46978c925f80 20:55:24 Step 10/24 : COPY . . 20:55:25 ---> b0f15b98b587 20:55:25 Step 11/24 : RUN ${MAKE} 20:55:25 ---> Running in 6cb4c27e6969 20:55:25 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 20:55:47 Removing intermediate container 6cb4c27e6969 20:55:47 ---> 56e9d88956c1 20:55:47 Step 12/24 : FROM alpine:3.14 20:55:47 3.14: Pulling from library/alpine 20:55:47 c7ed990a2339: Pulling fs layer 20:55:47 c7ed990a2339: Verifying Checksum 20:55:47 c7ed990a2339: Download complete 20:55:47 c7ed990a2339: Pull complete 20:55:47 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 20:55:47 Status: Downloaded newer image for alpine:3.14 20:55:47 ---> dd53f409bf0b 20:55:47 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 20:55:47 ---> Running in 47d88e8425e0 20:55:47 Removing intermediate container 47d88e8425e0 20:55:47 ---> 69eea2b3b11f 20:55:47 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:55:47 ---> Running in c174f9b0b471 20:55:47 Removing intermediate container c174f9b0b471 20:55:47 ---> 8231092c11eb 20:55:47 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 20:55:47 ---> Running in da730d196274 20:55:47 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:55:47 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:55:47 (1/6) Installing dumb-init (1.2.5-r1) 20:55:48 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:55:48 (3/6) Installing libsodium (1.0.18-r0) 20:55:48 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:55:48 (5/6) Installing libzmq (4.3.4-r0) 20:55:48 (6/6) Installing zeromq (4.3.4-r0) 20:55:48 Executing busybox-1.33.1-r8.trigger 20:55:48 OK: 8 MiB in 20 packages 20:55:48 Removing intermediate container da730d196274 20:55:48 ---> 6516aca34d5d 20:55:48 Step 16/24 : COPY --from=builder /device-modbus-go/cmd / 20:55:49 ---> 62d95344dd1f 20:55:49 Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / 20:55:49 ---> 4973f17ed591 20:55:49 Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / 20:55:49 ---> 3e5de7f39fa5 20:55:49 Step 19/24 : EXPOSE 59901 20:55:49 ---> Running in 79235054dc9f 20:55:50 Removing intermediate container 79235054dc9f 20:55:50 ---> 5f8ccbb54315 20:55:50 Step 20/24 : ENTRYPOINT ["/device-modbus"] 20:55:50 ---> Running in e25cf6538d8a 20:55:50 Removing intermediate container e25cf6538d8a 20:55:50 ---> caa9f5a4235c 20:55:50 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:55:50 ---> Running in cbb9a59f8eaa 20:55:50 Removing intermediate container cbb9a59f8eaa 20:55:50 ---> eeb814af2eac 20:55:50 Step 22/24 : LABEL arch=amd64 20:55:50 ---> Running in 98e33d048685 20:55:50 Removing intermediate container 98e33d048685 20:55:50 ---> 0728f20ad680 20:55:50 Step 23/24 : LABEL git_sha=fe4219747ba724270064f071fae3ee240629df5b 20:55:50 ---> Running in 43ee974a6152 20:55:50 Removing intermediate container 43ee974a6152 20:55:50 ---> b983681d65b0 20:55:50 Step 24/24 : LABEL version=0.0.0 20:55:50 ---> Running in 1e4857f016cd 20:55:50 Removing intermediate container 1e4857f016cd 20:55:50 ---> 9401c3e12548 20:55:50 [Warning] One or more build-args [ARCH] were not consumed 20:55:50 Successfully built 9401c3e12548 20:55:50 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:55:50 20:55:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:55:51 latest: Pulling from edgex-lftools-log-publisher 20:55:51 5eb5b503b376: Pulling fs layer 20:55:51 5c69ac0246d0: Pulling fs layer 20:55:51 ec43610c2a17: Pulling fs layer 20:55:51 3a2ae6a8a46f: Pulling fs layer 20:55:51 33b1e0a273af: Pulling fs layer 20:55:51 5d3b04190fa2: Pulling fs layer 20:55:51 2f39f015ded8: Pulling fs layer 20:55:51 33b1e0a273af: Waiting 20:55:51 3a2ae6a8a46f: Waiting 20:55:51 2f39f015ded8: Waiting 20:55:51 5d3b04190fa2: Waiting 20:55:51 5c69ac0246d0: Download complete 20:55:51 3a2ae6a8a46f: Verifying Checksum 20:55:51 3a2ae6a8a46f: Download complete 20:55:51 ec43610c2a17: Verifying Checksum 20:55:51 ec43610c2a17: Download complete 20:55:51 33b1e0a273af: Verifying Checksum 20:55:51 33b1e0a273af: Download complete 20:55:51 5d3b04190fa2: Verifying Checksum 20:55:51 5d3b04190fa2: Download complete 20:55:51 5eb5b503b376: Verifying Checksum 20:55:51 5eb5b503b376: Download complete 20:55:52 2f39f015ded8: Verifying Checksum 20:55:52 2f39f015ded8: Download complete 20:55:52 5eb5b503b376: Pull complete 20:55:52 5c69ac0246d0: Pull complete 20:55:53 ec43610c2a17: Pull complete 20:55:53 3a2ae6a8a46f: Pull complete 20:55:53 33b1e0a273af: Pull complete 20:55:53 5d3b04190fa2: Pull complete 20:55:57 2f39f015ded8: Pull complete 20:55:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:55:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:55:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:55:57 prd-ubuntu20.04-docker-8c-8g-1403 does not seem to be running inside a container 20:55:57 $ 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-376 -v /w/workspace/xfoundry_device-modbus-go_PR-376:/w/workspace/xfoundry_device-modbus-go_PR-376:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-376@tmp:/w/workspace/xfoundry_device-modbus-go_PR-376@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:56:01 $ docker top 11e1aa6d1f62607d41addbb36caaaeddea4b1cf71e1b92e7b312a8d7e73d443a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:56:02 ---> job-cost.sh 20:56:02 lf-activate-venv: SKIPPING 20:56:02 INFO: No Stack... 20:56:02 INFO: Retrieving Pricing Info for: v3-standard-8 20:56:02 INFO: Archiving Costs [Pipeline] sh 20:56:03 + cat /w/workspace/xfoundry_device-modbus-go_PR-376/archives/cost.csv 20:56:03 + cut -d, -f6 [Pipeline] lock 20:56:03 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-376-2-stack-cost] 20:56:03 Resource [jenkins-edgexfoundry-device-modbus-go-PR-376-2-stack-cost] did not exist. Created. 20:56:03 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-376-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:56:03 + echo total: 0.2199999988079071 [Pipeline] stash 20:56:03 Stashed 1 file(s) [Pipeline] } 20:56:03 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-376-2-stack-cost] [Pipeline] // lock [Pipeline] } 20:56:03 $ docker stop --time=1 11e1aa6d1f62607d41addbb36caaaeddea4b1cf71e1b92e7b312a8d7e73d443a 20:56:04 $ docker rm -f 11e1aa6d1f62607d41addbb36caaaeddea4b1cf71e1b92e7b312a8d7e73d443a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:57:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1404 in /w/workspace/xfoundry_device-modbus-go_PR-376 [Pipeline] { [Pipeline] ws 20:57:40 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 20:57:40 Selected Git installation does not exist. Using Default 20:57:40 The recommended git tool is: NONE 20:57:46 using credential edgex-jenkins-ssh 20:57:46 Cloning the remote Git repository 20:57:46 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 20:57:46 > git init /w/workspace/device-modbus-go/2 # timeout=10 20:57:46 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:57:46 > git --version # timeout=10 20:57:46 > git --version # 'git version 2.25.1' 20:57:46 using GIT_SSH to set credentials SSH Credentials for GitHub 20:57:46 Verifying host key using known hosts file 20:57:46 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 20:57:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:57:48 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:57:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:57:49 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:57:49 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:57:49 using GIT_SSH to set credentials SSH Credentials for GitHub 20:57:49 Verifying host key using known hosts file 20:57:49 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 20:57:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/376/head:refs/remotes/origin/PR-376 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:57:50 Merging remotes/origin/main commit 892226c059eb5a0163287d1d4603e2b9857b6e84 into PR head commit c2e0f675d3f4f9009a8b9434d51a991f7e5265cd 20:57:50 Merge succeeded, producing 09bbd8ba7b43f874768d2cf774a82782b9676b62 20:57:50 Checking out Revision 09bbd8ba7b43f874768d2cf774a82782b9676b62 (PR-376) 20:57:50 > git config core.sparsecheckout # timeout=10 20:57:50 > git checkout -f c2e0f675d3f4f9009a8b9434d51a991f7e5265cd # timeout=10 20:57:50 > git remote # timeout=10 20:57:50 > git config --get remote.origin.url # timeout=10 20:57:50 using GIT_SSH to set credentials SSH Credentials for GitHub 20:57:50 Verifying host key using known hosts file 20:57:50 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 20:57:50 > git merge 892226c059eb5a0163287d1d4603e2b9857b6e84 # timeout=10 20:57:50 > git rev-parse HEAD^{commit} # timeout=10 20:57:50 > git config core.sparsecheckout # timeout=10 20:57:50 > git checkout -f 09bbd8ba7b43f874768d2cf774a82782b9676b62 # timeout=10 20:57:54 Commit message: "Merge commit '892226c059eb5a0163287d1d4603e2b9857b6e84' into HEAD" 20:57:54 > git rev-list --no-walk c2e0f675d3f4f9009a8b9434d51a991f7e5265cd # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:57:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:57:54 % Total % Received % Xferd Average Speed Time Time Time Current 20:57:54 Dload Upload Total Spent Left Speed 20:57:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 219k 0 --:--:-- --:--:-- --:--:-- 223k [Pipeline] sh 20:57:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:57:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:57:55 + sudo tee /etc/docker/daemon.new 20:57:55 { 20:57:55 "registry-mirrors": [ 20:57:55 "https://nexus3.edgexfoundry.org:10001" 20:57:55 ], 20:57:55 "bip": "10.250.0.254/24", 20:57:55 "hosts": [ 20:57:55 "tcp://0.0.0.0:5555", 20:57:55 "unix:///var/run/docker.sock" 20:57:55 ], 20:57:55 "mtu": 1458, 20:57:55 "selinux-enabled": true, 20:57:55 "seccomp-profile": "/etc/docker/seccomp.json" 20:57:55 } [Pipeline] sh 20:57:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:57:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:58:14 provisioning config files... 20:58:14 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config14073127963903750321tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:58:15 ---> docker-login.sh 20:58:15 nexus3.edgexfoundry.org:10001 20:58:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:15 Configure a credential helper to remove this warning. See 20:58:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:15 20:58:15 Login Succeeded 20:58:15 nexus3.edgexfoundry.org:10002 20:58:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:16 Configure a credential helper to remove this warning. See 20:58:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:16 20:58:16 Login Succeeded 20:58:16 nexus3.edgexfoundry.org:10003 20:58:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:16 Configure a credential helper to remove this warning. See 20:58:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:16 20:58:16 Login Succeeded 20:58:16 nexus3.edgexfoundry.org:10004 20:58:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:16 Configure a credential helper to remove this warning. See 20:58:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:16 20:58:16 Login Succeeded 20:58:16 docker.io 20:58:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:17 Configure a credential helper to remove this warning. See 20:58:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:17 20:58:17 Login Succeeded 20:58:17 ---> docker-login.sh ends [Pipeline] } 20:58:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:58:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:58:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:58:17 ========================================================= 20:58:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:58:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:17 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:58:18 Sending build context to Docker daemon 3.209MB 20:58:18 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 20:58:18 Step 2/11 : FROM ${BASE} AS builder 20:58:18 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:58:18 b3c136eddcbf: Pulling fs layer 20:58:18 c0a3192eca97: Pulling fs layer 20:58:18 a050256f5b6f: Pulling fs layer 20:58:18 656be50a0ddc: Pulling fs layer 20:58:18 2bbca73fdf42: Pulling fs layer 20:58:18 46d945488cbd: Pulling fs layer 20:58:18 8a5474983e97: Pulling fs layer 20:58:18 329c88fbcd65: Pulling fs layer 20:58:18 656be50a0ddc: Waiting 20:58:18 2bbca73fdf42: Waiting 20:58:18 46d945488cbd: Waiting 20:58:18 8a5474983e97: Waiting 20:58:18 329c88fbcd65: Waiting 20:58:18 a050256f5b6f: Verifying Checksum 20:58:18 a050256f5b6f: Download complete 20:58:18 c0a3192eca97: Verifying Checksum 20:58:18 c0a3192eca97: Download complete 20:58:18 2bbca73fdf42: Verifying Checksum 20:58:18 2bbca73fdf42: Download complete 20:58:18 46d945488cbd: Verifying Checksum 20:58:18 46d945488cbd: Download complete 20:58:18 b3c136eddcbf: Verifying Checksum 20:58:18 b3c136eddcbf: Download complete 20:58:19 b3c136eddcbf: Pull complete 20:58:19 329c88fbcd65: Verifying Checksum 20:58:19 329c88fbcd65: Download complete 20:58:19 c0a3192eca97: Pull complete 20:58:20 a050256f5b6f: Pull complete 20:58:20 8a5474983e97: Verifying Checksum 20:58:20 8a5474983e97: Download complete 20:58:21 656be50a0ddc: Download complete 20:58:33 656be50a0ddc: Pull complete 20:58:33 2bbca73fdf42: Pull complete 20:58:33 46d945488cbd: Pull complete 20:58:37 8a5474983e97: Pull complete 20:58:38 329c88fbcd65: Pull complete 20:58:38 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 20:58:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:58:38 ---> ff4287adb874 20:58:38 Step 3/11 : ARG ADD_BUILD_TAGS="" 20:58:40 ---> Running in ee00d12a55e4 20:58:40 Removing intermediate container ee00d12a55e4 20:58:40 ---> 2f2056f5560c 20:58:40 Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:58:40 ---> Running in 55ad50e5e689 20:58:41 Removing intermediate container 55ad50e5e689 20:58:41 ---> 412a0de3d137 20:58:41 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:58:41 ---> Running in 6f2f807b29df 20:58:43 Removing intermediate container 6f2f807b29df 20:58:43 ---> f84e167c0c8e 20:58:43 Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 20:58:43 ---> Running in c9f175ddf41f 20:58:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:58:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:58:45 (1/8) Installing openssh-keygen (9.0_p1-r2) 20:58:45 (2/8) Installing libedit (20210910.3.1-r0) 20:58:45 (3/8) Installing openssh-client-common (9.0_p1-r2) 20:58:46 (4/8) Installing openssh-client-default (9.0_p1-r2) 20:58:46 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 20:58:46 (6/8) Installing openssh-server-common (9.0_p1-r2) 20:58:46 (7/8) Installing openssh-server (9.0_p1-r2) 20:58:46 (8/8) Installing openssh (9.0_p1-r2) 20:58:46 Executing busybox-1.35.0-r13.trigger 20:58:46 OK: 228 MiB in 59 packages 20:58:47 Removing intermediate container c9f175ddf41f 20:58:47 ---> fa0a1c97d22b 20:58:47 Step 7/11 : WORKDIR /device-modbus-go 20:58:47 ---> Running in 89aa2d62d40b 20:58:47 Removing intermediate container 89aa2d62d40b 20:58:47 ---> ef01aae02dbe 20:58:47 Step 8/11 : COPY go.mod vendor* ./ 20:58:48 ---> 1cc22da16a07 20:58:48 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:58:48 ---> Running in 34b9bda7af06 20:59:44 Removing intermediate container 34b9bda7af06 20:59:44 ---> 9703976fa486 20:59:44 Step 10/11 : COPY . . 20:59:44 ---> 789c401f308c 20:59:44 Step 11/11 : RUN ${MAKE} 20:59:44 ---> Running in 954bb566bcbb 20:59:44 noop 20:59:44 Removing intermediate container 954bb566bcbb 20:59:44 ---> 95a0cc6cbb1c 20:59:44 Successfully built 95a0cc6cbb1c 20:59:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:45 + docker inspect -f . ci-base-image-arm64 20:59:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:45 prd-ubuntu20.04-docker-arm64-4c-16g-1404 does not seem to be running inside a container 20:59:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:59:46 $ docker top b7a643ba8b74cee287f6f6ec3418302b17b2b3c3fe7d7f4184d5b0156851733d -eo pid,comm [Pipeline] { [Pipeline] sh 20:59:47 + go version 20:59:47 go version go1.18.3 linux/arm64 [Pipeline] } 20:59:47 $ docker stop --time=1 b7a643ba8b74cee287f6f6ec3418302b17b2b3c3fe7d7f4184d5b0156851733d 20:59:49 $ docker rm -f b7a643ba8b74cee287f6f6ec3418302b17b2b3c3fe7d7f4184d5b0156851733d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:49 + docker inspect -f . ci-base-image-arm64 20:59:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:50 prd-ubuntu20.04-docker-arm64-4c-16g-1404 does not seem to be running inside a container 20:59:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:59:51 $ docker top 5b35624808701fb5d15ca33a32f6b0641a0c88fb68cd1c0208b193e37ae79fa9 -eo pid,comm [Pipeline] { [Pipeline] sh 20:59:52 + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh 20:59:52 + make test 20:59:52 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:59:54 ? github.com/edgexfoundry/device-modbus-go [no test files] 21:01:16 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 21:01:18 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.069s coverage: 47.7% of statements 21:01:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:01:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:01:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:01:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:01:41 ./bin/test-attribution-txt.sh [Pipeline] echo 21:01:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:01:41 $ docker stop --time=1 5b35624808701fb5d15ca33a32f6b0641a0c88fb68cd1c0208b193e37ae79fa9 21:01:43 $ docker rm -f 5b35624808701fb5d15ca33a32f6b0641a0c88fb68cd1c0208b193e37ae79fa9 [Pipeline] // withDockerContainer [Pipeline] sh 21:01:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:01:44 Warning: overwriting stash ‘coverage-report’ 21:01:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:01:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:01:45 + ls -al . 21:01:45 total 184 21:01:45 drwxrwxr-x 9 jenkins jenkins 4096 Sep 27 20:59 . 21:01:45 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 20:57 .. 21:01:45 -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 20:57 .dockerignore 21:01:45 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 20:57 .git 21:01:45 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 20:57 .github 21:01:45 -rw-rw-r-- 1 jenkins jenkins 331 Sep 27 20:57 .gitignore 21:01:45 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 20:57 .golangci.yml 21:01:45 -rw-rw-r-- 1 jenkins jenkins 10121 Sep 27 20:57 Attribution.txt 21:01:45 -rw-rw-r-- 1 jenkins jenkins 10001 Sep 27 20:57 CHANGELOG.md 21:01:45 -rw-rw-r-- 1 jenkins jenkins 1606 Sep 27 20:57 Dockerfile 21:01:45 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 20:57 GOVERNANCE.md 21:01:45 -rw-rw-r-- 1 jenkins jenkins 680 Sep 27 20:57 Jenkinsfile 21:01:45 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 20:57 LICENSE 21:01:45 -rw-rw-r-- 1 jenkins jenkins 2101 Sep 27 20:57 Makefile 21:01:45 -rw-rw-r-- 1 jenkins jenkins 622 Sep 27 20:57 OWNERS.md 21:01:45 -rw-rw-r-- 1 jenkins jenkins 4061 Sep 27 20:57 README.md 21:01:45 -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 20:54 VERSION 21:01:45 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 20:57 bin 21:01:45 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 20:57 cmd 21:01:45 -rw-r--r-- 1 jenkins jenkins 23241 Sep 27 21:01 coverage.out 21:01:45 -rw-rw-r-- 1 jenkins jenkins 3643 Sep 27 20:57 go.mod 21:01:45 -rw-rw-r-- 1 jenkins jenkins 38287 Sep 27 20:57 go.sum 21:01:45 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 20:57 internal 21:01:45 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 20:57 simulator 21:01:45 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 20:57 snap 21:01:45 -rw-rw-r-- 1 jenkins jenkins 229 Sep 27 20:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:45 + 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=09bbd8ba7b43f874768d2cf774a82782b9676b62 --label arch=arm64 --label version=0.0.0 . 21:01:46 Sending build context to Docker daemon 3.233MB 21:01:46 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 21:01:46 Step 2/24 : FROM ${BASE} AS builder 21:01:46 ---> 95a0cc6cbb1c 21:01:46 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:01:46 ---> Running in 367853f9b30f 21:01:46 Removing intermediate container 367853f9b30f 21:01:46 ---> c2ae28b5c539 21:01:46 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:01:46 ---> Running in 5fc0fc2aa78e 21:01:46 Removing intermediate container 5fc0fc2aa78e 21:01:46 ---> 09feac049d7e 21:01:46 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:01:46 ---> Running in be7f095e513a 21:01:48 Removing intermediate container be7f095e513a 21:01:48 ---> def4101c2382 21:01:48 Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 21:01:48 ---> Running in 7f2dbad6d1d8 21:01:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:01:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:01:51 OK: 228 MiB in 59 packages 21:01:52 Removing intermediate container 7f2dbad6d1d8 21:01:52 ---> 6c267a2e8a03 21:01:52 Step 7/24 : WORKDIR /device-modbus-go 21:01:53 ---> Running in 0e98744bb110 21:01:53 Removing intermediate container 0e98744bb110 21:01:53 ---> 7d65dde97cbb 21:01:53 Step 8/24 : COPY go.mod vendor* ./ 21:01:53 ---> 81f81aabb7b6 21:01:53 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:01:53 ---> Running in 8ffadcda26f9 21:01:55 Removing intermediate container 8ffadcda26f9 21:01:55 ---> 1994d1a7db3f 21:01:55 Step 10/24 : COPY . . 21:01:56 ---> 6784bba6d2e2 21:01:56 Step 11/24 : RUN ${MAKE} 21:01:57 ---> Running in f8c54fa6a949 21:01:58 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 21:04:34 Removing intermediate container f8c54fa6a949 21:04:34 ---> 9466cee757a6 21:04:34 Step 12/24 : FROM alpine:3.14 21:04:34 3.14: Pulling from library/alpine 21:04:34 90cda3b7c325: Pulling fs layer 21:04:34 90cda3b7c325: Verifying Checksum 21:04:34 90cda3b7c325: Download complete 21:04:34 90cda3b7c325: Pull complete 21:04:34 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 21:04:34 Status: Downloaded newer image for alpine:3.14 21:04:34 ---> 376ba31ae3da 21:04:34 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:04:34 ---> Running in aa5bed922a56 21:04:34 Removing intermediate container aa5bed922a56 21:04:34 ---> c61b1f065437 21:04:34 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:04:34 ---> Running in 45a276fbebb0 21:04:34 Removing intermediate container 45a276fbebb0 21:04:34 ---> e905ab9827c7 21:04:34 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 21:04:34 ---> Running in 9ef2d3dcc4ed 21:04:34 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:04:34 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:04:35 (1/6) Installing dumb-init (1.2.5-r1) 21:04:35 (2/6) Installing libgcc (10.3.1_git20210424-r2) 21:04:35 (3/6) Installing libsodium (1.0.18-r0) 21:04:35 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 21:04:35 (5/6) Installing libzmq (4.3.4-r0) 21:04:35 (6/6) Installing zeromq (4.3.4-r0) 21:04:35 Executing busybox-1.33.1-r8.trigger 21:04:35 OK: 8 MiB in 20 packages 21:04:36 Removing intermediate container 9ef2d3dcc4ed 21:04:36 ---> e9520e54a7d0 21:04:36 Step 16/24 : COPY --from=builder /device-modbus-go/cmd / 21:04:38 ---> ec81adfb7c6b 21:04:38 Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / 21:04:39 ---> 04652474d0af 21:04:39 Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:04:40 ---> d549b1f63bf2 21:04:40 Step 19/24 : EXPOSE 59901 21:04:40 ---> Running in 976baaa949e0 21:04:40 Removing intermediate container 976baaa949e0 21:04:40 ---> b1d072f0e3ce 21:04:40 Step 20/24 : ENTRYPOINT ["/device-modbus"] 21:04:40 ---> Running in 510c02305fb6 21:04:40 Removing intermediate container 510c02305fb6 21:04:40 ---> 1aa4a2709b42 21:04:40 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:04:40 ---> Running in a84356447d88 21:04:41 Removing intermediate container a84356447d88 21:04:41 ---> f32e19ccab61 21:04:41 Step 22/24 : LABEL arch=arm64 21:04:41 ---> Running in 47db3dc49f15 21:04:41 Removing intermediate container 47db3dc49f15 21:04:41 ---> 7b883da404ec 21:04:41 Step 23/24 : LABEL git_sha=09bbd8ba7b43f874768d2cf774a82782b9676b62 21:04:41 ---> Running in 050f285c4f86 21:04:41 Removing intermediate container 050f285c4f86 21:04:41 ---> 86be9928ce85 21:04:41 Step 24/24 : LABEL version=0.0.0 21:04:41 ---> Running in 2ecceb24366c 21:04:42 Removing intermediate container 2ecceb24366c 21:04:42 ---> 2c2bddc850f9 21:04:42 [Warning] One or more build-args [ARCH] were not consumed 21:04:42 Successfully built 2c2bddc850f9 21:04:42 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:04:42 21:04:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:04:43 arm64: Pulling from edgex-lftools-log-publisher 21:04:43 8998bd30e6a1: Pulling fs layer 21:04:43 04944245beec: Pulling fs layer 21:04:43 699f458cf7ca: Pulling fs layer 21:04:43 765212b225bb: Pulling fs layer 21:04:43 f23df028b6ca: Pulling fs layer 21:04:43 d65c8cfc05b1: Pulling fs layer 21:04:43 2437ff75d9bd: Pulling fs layer 21:04:43 765212b225bb: Waiting 21:04:43 f23df028b6ca: Waiting 21:04:43 d65c8cfc05b1: Waiting 21:04:43 2437ff75d9bd: Waiting 21:04:43 04944245beec: Verifying Checksum 21:04:43 04944245beec: Download complete 21:04:43 765212b225bb: Verifying Checksum 21:04:43 765212b225bb: Download complete 21:04:43 f23df028b6ca: Verifying Checksum 21:04:43 f23df028b6ca: Download complete 21:04:43 d65c8cfc05b1: Verifying Checksum 21:04:43 d65c8cfc05b1: Download complete 21:04:43 699f458cf7ca: Verifying Checksum 21:04:43 699f458cf7ca: Download complete 21:04:44 8998bd30e6a1: Verifying Checksum 21:04:44 8998bd30e6a1: Download complete 21:04:46 2437ff75d9bd: Verifying Checksum 21:04:46 2437ff75d9bd: Download complete 21:04:48 8998bd30e6a1: Pull complete 21:04:48 04944245beec: Pull complete 21:04:50 699f458cf7ca: Pull complete 21:04:50 765212b225bb: Pull complete 21:04:51 f23df028b6ca: Pull complete 21:04:51 d65c8cfc05b1: Pull complete 21:05:06 2437ff75d9bd: Pull complete 21:05:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:05:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:05:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:06 prd-ubuntu20.04-docker-arm64-4c-16g-1404 does not seem to be running inside a container 21:05:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:05:09 $ docker top 9ae987dbf00a1f6eff7f6e259c8d8cdd72ddd846c7ca093523a187eb58466f84 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:05:10 ---> job-cost.sh 21:05:10 lf-activate-venv: SKIPPING 21:05:10 INFO: No Stack... 21:05:11 INFO: Retrieving Pricing Info for: v3-standard-4 21:05:12 INFO: Archiving Costs [Pipeline] sh 21:05:12 + cat /w/workspace/device-modbus-go/2/archives/cost.csv 21:05:12 + cut -d, -f6 [Pipeline] lock 21:05:12 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-376-2-stack-cost] 21:05:12 Resource [jenkins-edgexfoundry-device-modbus-go-PR-376-2-stack-cost] did not exist. Created. 21:05:12 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-376-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:05:13 /w/workspace/device-modbus-go/2@tmp/durable-e53577cd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:05:14 + echo total: 0.10999999940395355 [Pipeline] stash 21:05:14 Warning: overwriting stash ‘stack-cost’ 21:05:14 Stashed 1 file(s) [Pipeline] } 21:05:14 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-376-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:05:14 $ docker stop --time=1 9ae987dbf00a1f6eff7f6e259c8d8cdd72ddd846c7ca093523a187eb58466f84 21:05:15 $ docker rm -f 9ae987dbf00a1f6eff7f6e259c8d8cdd72ddd846c7ca093523a187eb58466f84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:05:16 provisioning config files... 21:05:16 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-376@tmp/config11301526687096451934tmp [Pipeline] { [Pipeline] sh 21:05:16 + set +x 21:05:16 + bash -s -- 21:05:16 + curl -s https://codecov.io/bash 21:05:16 21:05:16 _____ _ 21:05:16 / ____| | | 21:05:16 | | ___ __| | ___ ___ _____ __ 21:05:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:05:16 | |___| (_) | (_| | __/ (_| (_) \ V / 21:05:16 \_____\___/ \__,_|\___|\___\___/ \_/ 21:05:16 Bash-1.0.6 21:05:16 21:05:16 21:05:16 ==> git version 2.25.1 found 21:05:16 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:05:16 Release-Date: 2020-01-08 21:05:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:05:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:05:16 ==> Jenkins CI detected. 21:05:16 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-376 21:05:16 project root: . 21:05:16 --> token set from env 21:05:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:05:16 ==> Running gcov in . (disable via -X gcov) 21:05:16 ==> Python coveragepy not found 21:05:16 ==> Searching for coverage reports in: 21:05:16 + . 21:05:16 -> Found 1 reports 21:05:16 ==> Detecting git/mercurial file structure 21:05:16 ==> Reading reports 21:05:16 + ./coverage.out bytes=23241 21:05:16 ==> Appending adjustments 21:05:16 https://docs.codecov.io/docs/fixing-reports 21:05:16 + Found adjustments 21:05:16 ==> Gzipping contents 21:05:16 4.0K /tmp/codecov.ZICaF9.gz 21:05:16 ==> Uploading reports 21:05:16 url: https://codecov.io 21:05:16 query: branch=PR-376&commit=fe4219747ba724270064f071fae3ee240629df5b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-376%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=376&job=&cmd_args= 21:05:16 -> Pinging Codecov 21:05:16 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-376&commit=fe4219747ba724270064f071fae3ee240629df5b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-376%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=376&job=&cmd_args= 21:05:16 -> Uploading to 21:05:16 https://storage.googleapis.com/codecov/v4/raw/2022-09-27/55DBCA73C666E3227836607328DD7E49/fe4219747ba724270064f071fae3ee240629df5b/91e3bc05-ebd9-4cac-b280-a036ffb6aacb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220927T210516Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4a4a6816636e254c6205e76e327c8b53bfbb3c6376764571e3d06e148ed8aeae 21:05:16 % Total % Received % Xferd Average Speed Time Time Time Current 21:05:16 Dload Upload Total Spent Left Speed 21:05:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3903 0 0 100 3903 0 14784 --:--:-- --:--:-- --:--:-- 14784 21:05:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/fe4219747ba724270064f071fae3ee240629df5b [Pipeline] } 21:05:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:05:17 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-376/archives ] 21:05:17 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-376/archives 21:05:17 total 16 21:05:17 drwxr-xr-x 3 root root 4096 Sep 27 20:56 . 21:05:17 drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 20:56 .. 21:05:17 drwxr-xr-x 2 root root 4096 Sep 27 20:56 cost 21:05:17 -rw-r--r-- 1 root root 88 Sep 27 20:56 cost.csv 21:05:17 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-376/archives 21:05:17 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-376/archives 21:05:17 total 16 21:05:17 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 20:56 . 21:05:17 drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 20:56 .. 21:05:17 drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 20:56 cost 21:05:17 -rw-r--r-- 1 jenkins jenkins 88 Sep 27 20:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:05:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:05:19 ---> package-listing.sh 21:05:19 ++ facter osfamily 21:05:19 ++ tr '[:upper:]' '[:lower:]' 21:05:19 + OS_FAMILY=debian 21:05:19 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-376 21:05:19 + START_PACKAGES=/tmp/packages_start.txt 21:05:19 + END_PACKAGES=/tmp/packages_end.txt 21:05:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:05:19 + PACKAGES=/tmp/packages_start.txt 21:05:19 + '[' /w/workspace/xfoundry_device-modbus-go_PR-376 ']' 21:05:19 + PACKAGES=/tmp/packages_end.txt 21:05:19 + case "${OS_FAMILY}" in 21:05:19 + dpkg -l 21:05:19 + grep '^ii' 21:05:19 + '[' -f /tmp/packages_start.txt ']' 21:05:19 + '[' -f /tmp/packages_end.txt ']' 21:05:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:05:19 + '[' /w/workspace/xfoundry_device-modbus-go_PR-376 ']' 21:05:19 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-376/archives/ 21:05:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-376/archives/ [Pipeline] echo 21:05:19 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-376/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:05:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:05:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:20 prd-ubuntu20.04-docker-8c-8g-1403 does not seem to be running inside a container 21:05:20 $ 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-376/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-376 -v /w/workspace/xfoundry_device-modbus-go_PR-376:/w/workspace/xfoundry_device-modbus-go_PR-376:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-376@tmp:/w/workspace/xfoundry_device-modbus-go_PR-376@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:05:20 $ docker top e64baa785b49f593f9295c59f9b35fc85f27708753c7507a5a5331e2b7796a8d -eo pid,comm [Pipeline] { [Pipeline] sh 21:05:20 + touch /tmp/pre-build-complete [Pipeline] sh 21:05:21 + mkdir -p /var/log/sysstat [Pipeline] sh 21:05:21 + ls /var/log/sa-host 21:05:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:05:21 provisioning config files... 21:05:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-376@tmp/config2858377073262233985tmp [Pipeline] { [Pipeline] echo 21:05:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:05:21 ---> create-netrc.sh [Pipeline] } 21:05:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:05:21 ---> python-tools-install.sh [Pipeline] echo 21:05:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:05:22 ---> sudo-logs.sh 21:05:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:05:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:05:22 ---> job-cost.sh 21:05:22 lf-activate-venv: SKIPPING 21:05:22 DEBUG: total: 0.2199999988079071 21:05:22 INFO: Retrieving Stack Cost... 21:05:23 INFO: Retrieving Pricing Info for: v3-standard-8 21:05:23 INFO: Archiving Costs [Pipeline] echo 21:05:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:05:23 ---> logs-deploy.sh 21:05:23 lf-activate-venv: SKIPPING 21:05:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-376/2 21:05:23 INFO: archiving workspace using pattern(s): 21:05:24 Archives upload complete. 21:05:24 INFO: archiving logs to Nexus 21:05:25 ---> uname -a: 21:05:25 Linux prd-ubuntu20-04-docker-8c-8g-1403 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 21:05:25 21:05:25 21:05:25 ---> lscpu: 21:05:25 Architecture: x86_64 21:05:25 CPU op-mode(s): 32-bit, 64-bit 21:05:25 Byte Order: Little Endian 21:05:25 Address sizes: 40 bits physical, 48 bits virtual 21:05:25 CPU(s): 8 21:05:25 On-line CPU(s) list: 0-7 21:05:25 Thread(s) per core: 1 21:05:25 Core(s) per socket: 1 21:05:25 Socket(s): 8 21:05:25 NUMA node(s): 1 21:05:25 Vendor ID: AuthenticAMD 21:05:25 CPU family: 23 21:05:25 Model: 49 21:05:25 Model name: AMD EPYC-Rome Processor 21:05:25 Stepping: 0 21:05:25 CPU MHz: 2799.998 21:05:25 BogoMIPS: 5599.99 21:05:25 Virtualization: AMD-V 21:05:25 Hypervisor vendor: KVM 21:05:25 Virtualization type: full 21:05:25 L1d cache: 256 KiB 21:05:25 L1i cache: 256 KiB 21:05:25 L2 cache: 4 MiB 21:05:25 L3 cache: 128 MiB 21:05:25 NUMA node0 CPU(s): 0-7 21:05:25 Vulnerability Itlb multihit: Not affected 21:05:25 Vulnerability L1tf: Not affected 21:05:25 Vulnerability Mds: Not affected 21:05:25 Vulnerability Meltdown: Not affected 21:05:25 Vulnerability Mmio stale data: Not affected 21:05:25 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 21:05:25 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 21:05:25 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 21:05:25 Vulnerability Srbds: Not affected 21:05:25 Vulnerability Tsx async abort: Not affected 21:05:25 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 21:05:25 21:05:25 21:05:25 ---> nproc: 21:05:25 8 21:05:25 21:05:25 21:05:25 ---> df -h: 21:05:25 Filesystem Size Used Avail Use% Mounted on 21:05:25 overlay 155G 12G 144G 8% / 21:05:25 tmpfs 64M 0 64M 0% /dev 21:05:25 tmpfs 16G 0 16G 0% /sys/fs/cgroup 21:05:25 shm 64M 0 64M 0% /dev/shm 21:05:25 /dev/vda1 155G 12G 144G 8% /facter-os 21:05:25 21:05:25 21:05:25 ---> sar -b -r -n DEV: 21:05:25 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-1403) 09/27/22 _x86_64_ (8 CPU) 21:05:25 21:05:25 20:53:18 LINUX RESTART (8 CPU) 21:05:25 21:05:25 20:54:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 21:05:25 20:55:01 235.76 11.06 224.70 0.00 1765.97 72433.79 0.00 21:05:25 20:56:01 182.34 0.20 182.14 0.00 5.07 37883.02 0.00 21:05:25 20:57:01 10.56 0.02 10.55 0.00 2.27 2241.63 0.00 21:05:25 20:58:01 1.57 0.00 1.57 0.00 0.00 17.75 0.00 21:05:25 20:59:01 22.03 9.07 12.96 0.00 2908.05 2553.17 0.00 21:05:25 21:00:01 1.88 0.00 1.88 0.00 0.00 20.53 0.00 21:05:25 21:01:01 1.40 0.00 1.40 0.00 0.00 15.60 0.00 21:05:25 21:02:01 1.93 0.00 1.93 0.00 0.00 21.06 0.00 21:05:25 21:03:01 1.33 0.00 1.33 0.00 0.00 15.46 0.00 21:05:25 21:04:01 2.47 0.00 2.47 0.00 0.00 34.66 0.00 21:05:25 21:05:01 1.38 0.00 1.38 0.00 0.00 14.93 0.00 21:05:25 Average: 42.06 1.85 40.21 0.00 425.57 10477.26 0.00 21:05:25 21:05:25 20:54:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:05:25 20:55:01 28417496 31450900 855784 2.60 131944 3111368 2223952 6.55 1281792 2747676 63448 21:05:25 20:56:01 27840324 31563564 736040 2.24 145724 3735308 1847096 5.44 1208488 3339688 31100 21:05:25 20:57:01 27854628 31578408 726828 2.21 145964 3735388 1752852 5.17 1209328 3327192 16 21:05:25 20:58:01 27854980 31578944 726040 2.21 146000 3735516 1752852 5.17 1209692 3327320 8 21:05:25 20:59:01 27678952 31572496 729672 2.22 149948 3893444 1775520 5.23 1305044 3394536 4 21:05:25 21:00:01 27679092 31572716 729264 2.22 150020 3893448 1775520 5.23 1305532 3394544 152 21:05:25 21:01:01 27686360 31580148 721748 2.19 150104 3893452 1775520 5.23 1298176 3394552 152 21:05:25 21:02:01 27686724 31580624 721244 2.19 150184 3893452 1775520 5.23 1298276 3394592 152 21:05:25 21:03:01 27687064 31581028 720808 2.19 150280 3893448 1775520 5.23 1297904 3394600 8 21:05:25 21:04:01 27686892 31580972 720756 2.19 150396 3893436 1775520 5.23 1298464 3394576 160 21:05:25 21:05:01 27686676 31580952 720672 2.19 150488 3893436 1775520 5.23 1298276 3394584 8 21:05:25 Average: 27796290 31565523 737169 2.24 147368 3779245 1818672 5.36 1273725 3318533 8655 21:05:25 21:05:25 20:54:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 21:05:25 20:55:01 docker0 123.70 187.02 10.51 1564.49 0.00 0.00 0.00 0.00 21:05:25 20:55:01 lo 6.00 6.00 0.58 0.58 0.00 0.00 0.00 0.00 21:05:25 20:55:01 ens3 480.85 339.93 7247.11 79.62 0.00 0.00 0.00 0.00 21:05:25 20:55:01 vethf12c8d2 0.00 0.13 0.00 0.01 0.00 0.00 0.00 0.00 21:05:25 20:56:01 docker0 14.76 18.01 0.86 92.49 0.00 0.00 0.00 0.00 21:05:25 20:56:01 lo 2.07 2.07 0.20 0.20 0.00 0.00 0.00 0.00 21:05:25 20:56:01 ens3 133.08 89.45 2675.16 20.08 0.00 0.00 0.00 0.00 21:05:25 20:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:05:25 20:57:01 lo 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 21:05:25 20:57:01 ens3 8.57 5.48 8.06 2.91 0.00 0.00 0.00 0.00 21:05:25 20:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:05:25 20:58:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:05:25 20:58:01 ens3 6.77 3.68 12.62 0.44 0.00 0.00 0.00 0.00 21:05:25 20:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:05:25 20:59:01 lo 0.20 0.20 0.02 0.02 0.00 0.00 0.00 0.00 21:05:25 20:59:01 ens3 26.80 14.91 475.81 1.74 0.00 0.00 0.00 0.00 21:05:25 21:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:05:25 21:00:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:05:25 21:00:01 ens3 0.57 0.23 0.08 0.02 0.00 0.00 0.00 0.00 21:05:25 21:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:05:25 21:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:05:25 21:01:01 ens3 1.58 0.38 0.44 0.28 0.00 0.00 0.00 0.00 21:05:25 21:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:05:25 21:02:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:05:25 21:02:01 ens3 1.07 0.50 0.40 0.28 0.00 0.00 0.00 0.00 21:05:25 21:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:05:25 21:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:05:25 21:03:01 ens3 0.55 0.33 0.26 0.21 0.00 0.00 0.00 0.00 21:05:25 21:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:05:25 21:04:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:05:25 21:04:01 ens3 1.18 0.52 0.47 0.34 0.00 0.00 0.00 0.00 21:05:25 21:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:05:25 21:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:05:25 21:05:01 ens3 0.08 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:05:25 Average: docker0 12.59 18.64 1.03 150.63 0.00 0.00 0.00 0.00 21:05:25 Average: lo 0.83 0.83 0.08 0.08 0.00 0.00 0.00 0.00 21:05:25 Average: ens3 60.10 41.40 947.30 9.63 0.00 0.00 0.00 0.00 21:05:25 21:05:25 21:05:25 ---> sar -P ALL: 21:05:25 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-1403) 09/27/22 _x86_64_ (8 CPU) 21:05:25 21:05:25 20:53:18 LINUX RESTART (8 CPU) 21:05:25 21:05:25 20:54:01 CPU %user %nice %system %iowait %steal %idle 21:05:25 20:55:01 all 12.05 0.00 4.44 2.90 0.06 80.55 21:05:25 20:55:01 0 11.35 0.00 4.27 0.34 0.05 83.99 21:05:25 20:55:01 1 10.92 0.00 4.03 0.89 0.05 84.11 21:05:25 20:55:01 2 13.43 0.00 5.07 4.29 0.07 77.14 21:05:25 20:55:01 3 10.88 0.00 4.97 5.62 0.07 78.47 21:05:25 20:55:01 4 12.73 0.00 3.49 0.30 0.05 83.43 21:05:25 20:55:01 5 12.16 0.00 4.50 0.46 0.05 82.83 21:05:25 20:55:01 6 11.87 0.00 5.23 10.80 0.07 72.03 21:05:25 20:55:01 7 13.08 0.00 3.93 0.51 0.05 82.43 21:05:25 20:56:01 all 32.83 0.00 5.88 2.24 0.09 58.95 21:05:25 20:56:01 0 32.25 0.00 5.78 0.15 0.07 61.75 21:05:25 20:56:01 1 31.90 0.00 6.64 0.49 0.07 60.90 21:05:25 20:56:01 2 32.60 0.00 5.88 0.37 0.10 61.05 21:05:25 20:56:01 3 30.90 0.00 6.58 12.93 0.10 49.49 21:05:25 20:56:01 4 36.00 0.00 5.83 0.07 0.07 58.03 21:05:25 20:56:01 5 32.55 0.00 5.24 0.42 0.07 61.72 21:05:25 20:56:01 6 33.60 0.00 5.70 1.31 0.08 59.31 21:05:25 20:56:01 7 32.86 0.00 5.42 2.24 0.17 59.31 21:05:25 20:57:01 all 0.21 0.00 0.12 0.16 0.01 99.50 21:05:25 20:57:01 0 0.07 0.00 0.13 0.30 0.02 99.48 21:05:25 20:57:01 1 0.27 0.00 0.08 0.02 0.02 99.61 21:05:25 20:57:01 2 0.47 0.00 0.17 0.00 0.02 99.35 21:05:25 20:57:01 3 0.10 0.00 0.10 0.43 0.00 99.37 21:05:25 20:57:01 4 0.15 0.00 0.12 0.00 0.00 99.73 21:05:25 20:57:01 5 0.20 0.00 0.08 0.00 0.02 99.70 21:05:25 20:57:01 6 0.23 0.00 0.13 0.57 0.02 99.05 21:05:25 20:57:01 7 0.20 0.00 0.12 0.00 0.02 99.67 21:05:25 20:58:01 all 0.03 0.00 0.02 0.00 0.01 99.94 21:05:25 20:58:01 0 0.00 0.00 0.02 0.00 0.00 99.98 21:05:25 20:58:01 1 0.03 0.00 0.02 0.02 0.02 99.92 21:05:25 20:58:01 2 0.07 0.00 0.03 0.00 0.00 99.90 21:05:25 20:58:01 3 0.00 0.00 0.00 0.00 0.02 99.98 21:05:25 20:58:01 4 0.00 0.00 0.00 0.00 0.00 100.00 21:05:25 20:58:01 5 0.02 0.00 0.00 0.00 0.00 99.98 21:05:25 20:58:01 6 0.03 0.00 0.05 0.02 0.02 99.88 21:05:25 20:58:01 7 0.07 0.00 0.03 0.00 0.00 99.90 21:05:25 20:59:01 all 0.46 0.00 0.21 0.23 0.02 99.09 21:05:25 20:59:01 0 0.50 0.00 0.32 0.38 0.00 98.80 21:05:25 20:59:01 1 1.57 0.00 0.25 0.05 0.02 98.11 21:05:25 20:59:01 2 0.25 0.00 0.10 0.02 0.00 99.63 21:05:25 20:59:01 3 0.53 0.00 0.13 0.20 0.02 99.12 21:05:25 20:59:01 4 0.20 0.00 0.25 0.47 0.02 99.07 21:05:25 20:59:01 5 0.17 0.00 0.27 0.03 0.02 99.52 21:05:25 20:59:01 6 0.23 0.00 0.12 0.40 0.05 99.20 21:05:25 20:59:01 7 0.20 0.00 0.27 0.27 0.02 99.25 21:05:25 21:00:01 all 0.01 0.00 0.01 0.03 0.01 99.95 21:05:25 21:00:01 0 0.00 0.00 0.00 0.00 0.02 99.98 21:05:25 21:00:01 1 0.03 0.00 0.00 0.15 0.00 99.82 21:05:25 21:00:01 2 0.00 0.00 0.00 0.00 0.00 100.00 21:05:25 21:00:01 3 0.00 0.00 0.00 0.00 0.00 100.00 21:05:25 21:00:01 4 0.00 0.00 0.00 0.00 0.00 100.00 21:05:25 21:00:01 5 0.02 0.00 0.02 0.00 0.00 99.97 21:05:25 21:00:01 6 0.00 0.00 0.02 0.08 0.02 99.88 21:05:25 21:00:01 7 0.03 0.00 0.02 0.00 0.02 99.93 21:05:25 21:01:01 all 0.02 0.00 0.01 0.02 0.01 99.94 21:05:25 21:01:01 0 0.03 0.00 0.02 0.00 0.00 99.95 21:05:25 21:01:01 1 0.02 0.00 0.02 0.02 0.00 99.95 21:05:25 21:01:01 2 0.03 0.00 0.00 0.00 0.00 99.97 21:05:25 21:01:01 3 0.00 0.00 0.00 0.00 0.02 99.98 21:05:25 21:01:01 4 0.00 0.00 0.00 0.00 0.00 100.00 21:05:25 21:01:01 5 0.02 0.00 0.00 0.00 0.00 99.98 21:05:25 21:01:01 6 0.07 0.00 0.03 0.12 0.03 99.75 21:05:25 21:01:01 7 0.02 0.00 0.02 0.00 0.00 99.97 21:05:25 21:02:01 all 0.01 0.00 0.01 0.01 0.01 99.96 21:05:25 21:02:01 0 0.00 0.00 0.00 0.00 0.00 100.00 21:05:25 21:02:01 1 0.02 0.00 0.02 0.00 0.02 99.95 21:05:25 21:02:01 2 0.03 0.00 0.00 0.00 0.02 99.95 21:05:25 21:02:01 3 0.02 0.00 0.00 0.02 0.00 99.97 21:05:25 21:02:01 4 0.00 0.00 0.00 0.00 0.00 100.00 21:05:25 21:02:01 5 0.02 0.00 0.02 0.00 0.02 99.95 21:05:25 21:02:01 6 0.03 0.00 0.05 0.03 0.02 99.87 21:05:25 21:02:01 7 0.00 0.00 0.00 0.00 0.02 99.98 21:05:25 21:03:01 all 0.03 0.00 0.01 0.00 0.01 99.95 21:05:25 21:03:01 0 0.02 0.00 0.02 0.00 0.02 99.95 21:05:25 21:03:01 1 0.05 0.00 0.02 0.00 0.00 99.93 21:05:25 21:03:01 2 0.05 0.00 0.00 0.00 0.00 99.95 21:05:25 21:03:01 3 0.02 0.00 0.00 0.00 0.02 99.97 21:05:25 21:03:01 4 0.00 0.00 0.00 0.00 0.00 100.00 21:05:25 21:03:01 5 0.07 0.00 0.00 0.00 0.00 99.93 21:05:25 21:03:01 6 0.03 0.00 0.02 0.03 0.03 99.88 21:05:25 21:03:01 7 0.02 0.00 0.00 0.00 0.00 99.98 21:05:25 21:04:01 all 0.06 0.00 0.01 0.01 0.00 99.92 21:05:25 21:04:01 0 0.02 0.00 0.02 0.00 0.00 99.97 21:05:25 21:04:01 1 0.02 0.00 0.00 0.00 0.00 99.98 21:05:25 21:04:01 2 0.30 0.00 0.02 0.00 0.00 99.68 21:05:25 21:04:01 3 0.03 0.00 0.00 0.02 0.00 99.95 21:05:25 21:04:01 4 0.00 0.00 0.00 0.00 0.00 100.00 21:05:25 21:04:01 5 0.02 0.00 0.03 0.00 0.02 99.93 21:05:25 21:04:01 6 0.05 0.00 0.00 0.03 0.02 99.90 21:05:25 21:04:01 7 0.03 0.00 0.02 0.00 0.00 99.95 21:05:25 21:05:01 all 0.02 0.00 0.01 0.00 0.01 99.95 21:05:25 21:05:01 0 0.03 0.00 0.00 0.00 0.00 99.97 21:05:25 21:05:01 1 0.03 0.00 0.00 0.00 0.02 99.95 21:05:25 21:05:01 2 0.03 0.00 0.00 0.00 0.00 99.97 21:05:25 21:05:01 3 0.02 0.00 0.00 0.00 0.02 99.97 21:05:25 21:05:01 4 0.00 0.00 0.00 0.00 0.02 99.98 21:05:25 21:05:01 5 0.02 0.00 0.02 0.00 0.00 99.97 21:05:25 21:05:01 6 0.05 0.00 0.03 0.02 0.03 99.87 21:05:25 21:05:01 7 0.00 0.00 0.00 0.02 0.02 99.97 21:05:25 21:05:25 Average: CPU %user %nice %system %iowait %steal %idle 21:05:25 Average: all 4.12 0.00 0.96 0.51 0.02 94.39 21:05:25 Average: 0 3.98 0.00 0.95 0.11 0.02 94.95 21:05:25 Average: 1 4.03 0.00 1.00 0.15 0.02 94.80 21:05:25 Average: 2 4.25 0.00 1.01 0.42 0.02 94.30 21:05:25 Average: 3 3.82 0.00 1.06 1.73 0.02 93.38 21:05:25 Average: 4 4.42 0.00 0.87 0.08 0.01 94.62 21:05:25 Average: 5 4.08 0.00 0.92 0.08 0.02 94.91 21:05:25 Average: 6 4.18 0.00 1.03 1.21 0.04 93.54 21:05:25 Average: 7 4.18 0.00 0.88 0.27 0.03 94.63 21:05:25 21:05:25 21:05:25