Pull request #376 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 323f4912b2f373137d328d6cbdb0db29889eb8b2+892226c059eb5a0163287d1d4603e2b9857b6e84 (727e5b6f19d6736eb9375878dc8221f153e09d8b) 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-ssh11291691738129941352.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-ssh11218782109607266713.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-ssh14211362948005269389.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-ssh9545104668503704117.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-ssh8706146528695925072.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1425 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 323f4912b2f373137d328d6cbdb0db29889eb8b2 Merge succeeded, producing 323f4912b2f373137d328d6cbdb0db29889eb8b2 Checking out Revision 323f4912b2f373137d328d6cbdb0db29889eb8b2 (PR-376) > git config core.sparsecheckout # timeout=10 > git checkout -f 323f4912b2f373137d328d6cbdb0db29889eb8b2 # 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 323f4912b2f373137d328d6cbdb0db29889eb8b2 # timeout=10 Commit message: "build: Add option to build Service with NATS Capability" First time build. Skipping changelog. > git rev-list --no-walk 09bbd8ba7b43f874768d2cf774a82782b9676b62 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:09:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:09:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:09:53 ========================================================= 21:09:53 EdgeX Global Pipelines Version Info 21:09:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:09:53 ------------------- 21:09:53 stable info: 21:09:53 ------------------- 21:09:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:09:53 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 21:09:53 Message: update stable to v1.0.239 21:09:54 ------------------- 21:09:54 experimental info: 21:09:54 ------------------- 21:09:54 Commited By: **** collab-it+edgex@linuxfoundation.org 21:09:54 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 21:09:54 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:09:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 21:09:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 21:09:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:09:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:09:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:09:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:09:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:09:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:09:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:09:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:09:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:09:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 21:09:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:09:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:09:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:09:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:09:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:09:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:09:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:09:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:09:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:09:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:09:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:09:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:09:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:09:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:09:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:09:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-376 [Pipeline] echo 21:09:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-376 [Pipeline] echo 21:09:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-376 [Pipeline] echo 21:09:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 323f4912b2f373137d328d6cbdb0db29889eb8b2 [Pipeline] echo 21:09:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 323f491 [Pipeline] echo 21:09:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:09:54 provisioning config files... 21:09:54 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-376@tmp/config14706143072108863967tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:55 ---> docker-login.sh 21:09:55 nexus3.edgexfoundry.org:10001 21:09:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:55 Configure a credential helper to remove this warning. See 21:09:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:55 21:09:55 Login Succeeded 21:09:55 nexus3.edgexfoundry.org:10002 21:09:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:55 Configure a credential helper to remove this warning. See 21:09:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:55 21:09:55 Login Succeeded 21:09:55 nexus3.edgexfoundry.org:10003 21:09:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:55 Configure a credential helper to remove this warning. See 21:09:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:55 21:09:55 Login Succeeded 21:09:55 nexus3.edgexfoundry.org:10004 21:09:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:55 Configure a credential helper to remove this warning. See 21:09:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:55 21:09:55 Login Succeeded 21:09:55 docker.io 21:09:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:56 Configure a credential helper to remove this warning. See 21:09:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:56 21:09:56 Login Succeeded 21:09:56 ---> docker-login.sh ends [Pipeline] } 21:09:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:09:56 + git rev-list -1 --merges 323f4912b2f373137d328d6cbdb0db29889eb8b2~1..323f4912b2f373137d328d6cbdb0db29889eb8b2 [Pipeline] echo 21:09:56 -----------> git rev-list -1 --merges 323f4912b2f373137d328d6cbdb0db29889eb8b2~1..323f4912b2f373137d328d6cbdb0db29889eb8b2 323f4912b2f373137d328d6cbdb0db29889eb8b2 [false] [Pipeline] sh 21:09:57 + git log --format=format:%s -1 323f4912b2f373137d328d6cbdb0db29889eb8b2 [Pipeline] echo 21:09:57 ========================================================= 21:09:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:09:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:09:57 + git log --format=format:%s -1 323f4912b2f373137d328d6cbdb0db29889eb8b2 [Pipeline] echo 21:09:57 [semverPrep] GIT_COMMIT: 323f4912b2f373137d328d6cbdb0db29889eb8b2, Commit Message: build: Add option to build Service with NATS Capability [Pipeline] echo 21:09:57 [semverPrep] This is not a build commit. [Pipeline] sh 21:09:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:09:57 + grep -v github /etc/ssh/ssh_known_hosts 21:09:57 + [ -e /tmp/ssh_known_hosts ] 21:09:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:09:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:09:57 + sudo tee -a /etc/ssh/ssh_known_hosts 21:09:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:09:58 21:09:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:09:58 0.1.4: Pulling from edgex-devops/py-git-semver 21:09:58 b85a868b505f: Pulling fs layer 21:09:58 e2be974225ed: Pulling fs layer 21:09:58 339a4e72a1f5: Pulling fs layer 21:09:58 988bab9f4d93: Pulling fs layer 21:09:58 1469e6f7b9e6: Pulling fs layer 21:09:58 eaf3925da568: Pulling fs layer 21:09:58 bab4dde63d76: Pulling fs layer 21:09:58 bde34c3a00c8: Pulling fs layer 21:09:58 b352a97aabf1: Pulling fs layer 21:09:58 988bab9f4d93: Waiting 21:09:58 4872d77fe225: Pulling fs layer 21:09:58 5851b861e8e6: Pulling fs layer 21:09:58 1469e6f7b9e6: Waiting 21:09:58 bde34c3a00c8: Waiting 21:09:58 bab4dde63d76: Waiting 21:09:58 b352a97aabf1: Waiting 21:09:58 4872d77fe225: Waiting 21:09:58 5851b861e8e6: Waiting 21:09:58 eaf3925da568: Waiting 21:09:58 e2be974225ed: Download complete 21:09:58 988bab9f4d93: Download complete 21:09:58 1469e6f7b9e6: Verifying Checksum 21:09:58 1469e6f7b9e6: Download complete 21:09:58 eaf3925da568: Download complete 21:09:58 339a4e72a1f5: Verifying Checksum 21:09:58 339a4e72a1f5: Download complete 21:09:58 bde34c3a00c8: Download complete 21:09:58 b352a97aabf1: Verifying Checksum 21:09:58 b352a97aabf1: Download complete 21:09:58 4872d77fe225: Verifying Checksum 21:09:58 4872d77fe225: Download complete 21:09:58 5851b861e8e6: Verifying Checksum 21:09:58 5851b861e8e6: Download complete 21:09:58 b85a868b505f: Verifying Checksum 21:09:58 b85a868b505f: Download complete 21:09:59 bab4dde63d76: Verifying Checksum 21:09:59 bab4dde63d76: Download complete 21:10:00 b85a868b505f: Pull complete 21:10:00 e2be974225ed: Pull complete 21:10:01 339a4e72a1f5: Pull complete 21:10:01 988bab9f4d93: Pull complete 21:10:01 1469e6f7b9e6: Pull complete 21:10:02 eaf3925da568: Pull complete 21:10:04 bab4dde63d76: Pull complete 21:10:04 bde34c3a00c8: Pull complete 21:10:04 b352a97aabf1: Pull complete 21:10:04 4872d77fe225: Pull complete 21:10:04 5851b861e8e6: Pull complete 21:10:04 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:10:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:10:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:04 prd-ubuntu20.04-docker-8c-8g-1425 does not seem to be running inside a container 21:10:04 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:10:05 $ docker top a4511ceca8191f15f8fbb736413d1056b63438ed0875f147c7351a6d1fbbf297 -eo pid,comm 21:10:05 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). 21:10:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:10:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:10:05 [ssh-agent] Looking for ssh-agent implementation... 21:10:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:10:05 $ docker exec a4511ceca8191f15f8fbb736413d1056b63438ed0875f147c7351a6d1fbbf297 ssh-agent 21:10:05 SSH_AUTH_SOCK=/tmp/ssh-fon5s2rkgwRw/agent.32 21:10:05 SSH_AGENT_PID=38 21:10:05 Running ssh-add (command line suppressed) 21:10:05 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-376@tmp/private_key_11749535235359094565.key (/w/workspace/xfoundry_device-modbus-go_PR-376@tmp/private_key_11749535235359094565.key) 21:10:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:10:06 + git tag --points-at HEAD [Pipeline] } 21:10:06 $ docker exec --env ******** --env ******** a4511ceca8191f15f8fbb736413d1056b63438ed0875f147c7351a6d1fbbf297 ssh-agent -k 21:10:06 unset SSH_AUTH_SOCK; 21:10:06 unset SSH_AGENT_PID; 21:10:06 echo Agent pid 38 killed; 21:10:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:10:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:10:06 [ssh-agent] Looking for ssh-agent implementation... 21:10:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:10:06 $ docker exec a4511ceca8191f15f8fbb736413d1056b63438ed0875f147c7351a6d1fbbf297 ssh-agent 21:10:06 SSH_AUTH_SOCK=/tmp/ssh-YEM5wYymg9Z1/agent.70 21:10:06 SSH_AGENT_PID=76 21:10:06 Running ssh-add (command line suppressed) 21:10:06 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-376@tmp/private_key_2739309191239897862.key (/w/workspace/xfoundry_device-modbus-go_PR-376@tmp/private_key_2739309191239897862.key) 21:10:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:10:07 + git semver init 21:10:07 2022-09-27 21:10:07,201 [run_init] DEBUG init version:0.0.0 force:False 21:10:07 2022-09-27 21:10:07,202 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-376/.semver 21:10:07 2022-09-27 21:10:07,202 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-376/.semver 21:10:07 2022-09-27 21:10:07,203 [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) 21:10:08 2022-09-27 21:10:08,033 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-376/.git/info/exclude 21:10:08 2022-09-27 21:10:08,034 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-376/.semver/PR-376 with force:False 21:10:08 2022-09-27 21:10:08,034 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-376/.semver/PR-376 21:10:08 2022-09-27 21:10:08,038 [execute] INFO git cat-file --batch-check 21:10:08 2022-09-27 21:10:08,039 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-376/.semver, universal_newlines=False, shell=None, istream=) 21:10:08 2022-09-27 21:10:08,045 [execute] INFO git cat-file --batch 21:10:08 2022-09-27 21:10:08,045 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-376/.semver, universal_newlines=False, shell=None, istream=) 21:10:08 2022-09-27 21:10:08,051 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-376/.semver/PR-376 21:10:08 0.0.0 [Pipeline] } 21:10:08 $ docker exec --env ******** --env ******** a4511ceca8191f15f8fbb736413d1056b63438ed0875f147c7351a6d1fbbf297 ssh-agent -k 21:10:08 unset SSH_AUTH_SOCK; 21:10:08 unset SSH_AGENT_PID; 21:10:08 echo Agent pid 76 killed; 21:10:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:10:08 + git semver [Pipeline] } 21:10:08 $ docker stop --time=1 a4511ceca8191f15f8fbb736413d1056b63438ed0875f147c7351a6d1fbbf297 21:10:10 $ docker rm -f a4511ceca8191f15f8fbb736413d1056b63438ed0875f147c7351a6d1fbbf297 [Pipeline] // withDockerContainer [Pipeline] sh 21:10:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:10:10 Stashed 1 file(s) [Pipeline] echo 21:10:10 [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 21:10:10 provisioning config files... 21:10:10 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-376@tmp/config16565037948656275488tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:10:11 ---> docker-login.sh 21:10:11 nexus3.edgexfoundry.org:10001 21:10:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:11 Configure a credential helper to remove this warning. See 21:10:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:11 21:10:11 Login Succeeded 21:10:11 nexus3.edgexfoundry.org:10002 21:10:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:11 Configure a credential helper to remove this warning. See 21:10:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:11 21:10:11 Login Succeeded 21:10:11 nexus3.edgexfoundry.org:10003 21:10:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:11 Configure a credential helper to remove this warning. See 21:10:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:11 21:10:11 Login Succeeded 21:10:11 nexus3.edgexfoundry.org:10004 21:10:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:11 Configure a credential helper to remove this warning. See 21:10:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:11 21:10:11 Login Succeeded 21:10:11 docker.io 21:10:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:11 Configure a credential helper to remove this warning. See 21:10:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:11 21:10:11 Login Succeeded 21:10:11 ---> docker-login.sh ends [Pipeline] } 21:10:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:10:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:10:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:10:12 ========================================================= 21:10:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:10:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:12 + 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 . 21:10:12 Sending build context to Docker daemon 6.157MB 21:10:12 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 21:10:12 Step 2/11 : FROM ${BASE} AS builder 21:10:12 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:10:12 2408cc74d12b: Pulling fs layer 21:10:12 ea60b727a1ce: Pulling fs layer 21:10:12 30c4a7721957: Pulling fs layer 21:10:12 370296b7ddb6: Pulling fs layer 21:10:12 7c6cee850709: Pulling fs layer 21:10:12 39a5fcdaea64: Pulling fs layer 21:10:12 d94ebbe4e438: Pulling fs layer 21:10:12 bcfd1f05c69d: Pulling fs layer 21:10:12 59ccb84bbe0f: Pulling fs layer 21:10:12 7c6cee850709: Waiting 21:10:12 39a5fcdaea64: Waiting 21:10:12 bcfd1f05c69d: Waiting 21:10:12 59ccb84bbe0f: Waiting 21:10:12 370296b7ddb6: Waiting 21:10:12 d94ebbe4e438: Waiting 21:10:12 30c4a7721957: Download complete 21:10:12 ea60b727a1ce: Verifying Checksum 21:10:12 ea60b727a1ce: Download complete 21:10:12 7c6cee850709: Verifying Checksum 21:10:12 7c6cee850709: Download complete 21:10:12 39a5fcdaea64: Download complete 21:10:13 2408cc74d12b: Verifying Checksum 21:10:13 2408cc74d12b: Download complete 21:10:13 d94ebbe4e438: Download complete 21:10:13 2408cc74d12b: Pull complete 21:10:13 ea60b727a1ce: Pull complete 21:10:13 30c4a7721957: Pull complete 21:10:14 59ccb84bbe0f: Verifying Checksum 21:10:14 59ccb84bbe0f: Download complete 21:10:14 370296b7ddb6: Verifying Checksum 21:10:14 370296b7ddb6: Download complete 21:10:14 bcfd1f05c69d: Verifying Checksum 21:10:14 bcfd1f05c69d: Download complete 21:10:18 370296b7ddb6: Pull complete 21:10:18 7c6cee850709: Pull complete 21:10:18 39a5fcdaea64: Pull complete 21:10:18 d94ebbe4e438: Pull complete 21:10:20 bcfd1f05c69d: Pull complete 21:10:20 59ccb84bbe0f: Pull complete 21:10:20 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 21:10:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:10:20 ---> a4fb48ad2a94 21:10:20 Step 3/11 : ARG ADD_BUILD_TAGS="" 21:10:22 ---> Running in f659f7601fe8 21:10:22 Removing intermediate container f659f7601fe8 21:10:22 ---> 2630bfa19d71 21:10:22 Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:10:22 ---> Running in 2292c2bd10a7 21:10:22 Removing intermediate container 2292c2bd10a7 21:10:22 ---> 92e7eb0b7037 21:10:22 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:10:22 ---> Running in e54f7ddc6c93 21:10:23 Removing intermediate container e54f7ddc6c93 21:10:23 ---> cce4b4bb5df7 21:10:23 Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 21:10:24 ---> Running in 0a8d2040348f 21:10:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:10:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:10:25 (1/8) Installing openssh-keygen (9.0_p1-r2) 21:10:25 (2/8) Installing libedit (20210910.3.1-r0) 21:10:25 (3/8) Installing openssh-client-common (9.0_p1-r2) 21:10:25 Still waiting to schedule task 21:10:25 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:10:26 (4/8) Installing openssh-client-default (9.0_p1-r2) 21:10:26 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 21:10:26 (6/8) Installing openssh-server-common (9.0_p1-r2) 21:10:26 (7/8) Installing openssh-server (9.0_p1-r2) 21:10:26 (8/8) Installing openssh (9.0_p1-r2) 21:10:26 Executing busybox-1.35.0-r13.trigger 21:10:26 OK: 217 MiB in 59 packages 21:10:26 Removing intermediate container 0a8d2040348f 21:10:26 ---> c6b42a1cecd5 21:10:26 Step 7/11 : WORKDIR /device-modbus-go 21:10:26 ---> Running in b23fbf227af1 21:10:26 Removing intermediate container b23fbf227af1 21:10:26 ---> 44d0635fa251 21:10:26 Step 8/11 : COPY go.mod vendor* ./ 21:10:27 ---> d3bb61cb40a3 21:10:27 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:10:27 ---> Running in 5d55a8f70857 21:10:42 Removing intermediate container 5d55a8f70857 21:10:42 ---> 23ab83c10760 21:10:42 Step 10/11 : COPY . . 21:10:42 ---> 30a3531b297e 21:10:42 Step 11/11 : RUN ${MAKE} 21:10:42 ---> Running in 6c0b58ec3141 21:10:42 noop 21:10:42 Removing intermediate container 6c0b58ec3141 21:10:42 ---> 21ee01b9134b 21:10:42 Successfully built 21ee01b9134b 21:10:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:42 + docker inspect -f . ci-base-image-x86_64 21:10:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:42 prd-ubuntu20.04-docker-8c-8g-1425 does not seem to be running inside a container 21:10:42 $ 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 ******** -e ******** ci-base-image-x86_64 cat 21:10:42 $ docker top 798e5315d9a50311729cfb39a295f474156b458239b00ee7d74b4c51ba9f4405 -eo pid,comm [Pipeline] { [Pipeline] sh 21:10:43 + go version 21:10:43 go version go1.18.3 linux/amd64 [Pipeline] } 21:10:43 $ docker stop --time=1 798e5315d9a50311729cfb39a295f474156b458239b00ee7d74b4c51ba9f4405 21:10:44 $ docker rm -f 798e5315d9a50311729cfb39a295f474156b458239b00ee7d74b4c51ba9f4405 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:44 + docker inspect -f . ci-base-image-x86_64 21:10:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:44 prd-ubuntu20.04-docker-8c-8g-1425 does not seem to be running inside a container 21:10:44 $ 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 ******** -e ******** ci-base-image-x86_64 cat 21:10:45 $ docker top 215125e613e246a07a56652fc2abc83e96865c7386c25064348b1941ca30dd8f -eo pid,comm [Pipeline] { [Pipeline] sh 21:10:45 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-376 [Pipeline] fileExists [Pipeline] sh 21:10:45 + make test 21:10:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 21:10:46 ? github.com/edgexfoundry/device-modbus-go [no test files] 21:10:56 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 21:10:56 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 47.7% of statements 21:11:01 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 21:11:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:11:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:11:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:11:04 ./bin/test-attribution-txt.sh [Pipeline] echo 21:11:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:11:04 $ docker stop --time=1 215125e613e246a07a56652fc2abc83e96865c7386c25064348b1941ca30dd8f 21:11:06 $ docker rm -f 215125e613e246a07a56652fc2abc83e96865c7386c25064348b1941ca30dd8f [Pipeline] // withDockerContainer [Pipeline] sh 21:11:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:11:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:11:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:11:07 + ls -al . 21:11:07 total 188 21:11:07 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 21:10 . 21:11:07 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:09 .. 21:11:07 -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 21:09 .dockerignore 21:11:07 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 21:10 .git 21:11:07 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:09 .github 21:11:07 -rw-rw-r-- 1 jenkins jenkins 331 Sep 27 21:09 .gitignore 21:11:07 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 21:09 .golangci.yml 21:11:07 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 21:10 .semver 21:11:07 -rw-rw-r-- 1 jenkins jenkins 10121 Sep 27 21:09 Attribution.txt 21:11:07 -rw-rw-r-- 1 jenkins jenkins 10001 Sep 27 21:09 CHANGELOG.md 21:11:07 -rw-rw-r-- 1 jenkins jenkins 1606 Sep 27 21:09 Dockerfile 21:11:07 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 21:09 GOVERNANCE.md 21:11:07 -rw-rw-r-- 1 jenkins jenkins 680 Sep 27 21:09 Jenkinsfile 21:11:07 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 21:09 LICENSE 21:11:07 -rw-rw-r-- 1 jenkins jenkins 2101 Sep 27 21:09 Makefile 21:11:07 -rw-rw-r-- 1 jenkins jenkins 622 Sep 27 21:09 OWNERS.md 21:11:07 -rw-rw-r-- 1 jenkins jenkins 4061 Sep 27 21:09 README.md 21:11:07 -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 21:10 VERSION 21:11:07 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:09 bin 21:11:07 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:09 cmd 21:11:07 -rw-r--r-- 1 jenkins jenkins 23241 Sep 27 21:10 coverage.out 21:11:07 -rw-rw-r-- 1 jenkins jenkins 3643 Sep 27 21:09 go.mod 21:11:07 -rw-rw-r-- 1 jenkins jenkins 38287 Sep 27 21:09 go.sum 21:11:07 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:09 internal 21:11:07 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:09 simulator 21:11:07 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:09 snap 21:11:07 -rw-rw-r-- 1 jenkins jenkins 229 Sep 27 21:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:07 + 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=323f4912b2f373137d328d6cbdb0db29889eb8b2 --label arch=amd64 --label version=0.0.0 . 21:11:07 Sending build context to Docker daemon 6.181MB 21:11:07 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 21:11:07 Step 2/24 : FROM ${BASE} AS builder 21:11:07 ---> 21ee01b9134b 21:11:07 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:11:07 ---> Running in ee2c909c61a1 21:11:08 Removing intermediate container ee2c909c61a1 21:11:08 ---> 79d5b7f1919e 21:11:08 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:11:08 ---> Running in c54c4159bbba 21:11:08 Removing intermediate container c54c4159bbba 21:11:08 ---> 13f05adb0ba8 21:11:08 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:11:08 ---> Running in 60919a6db695 21:11:08 Removing intermediate container 60919a6db695 21:11:08 ---> 0e01d65451fc 21:11:08 Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 21:11:08 ---> Running in 5173d591cecb 21:11:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:11:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:11:10 OK: 217 MiB in 59 packages 21:11:10 Removing intermediate container 5173d591cecb 21:11:10 ---> f8568a950c64 21:11:10 Step 7/24 : WORKDIR /device-modbus-go 21:11:10 ---> Running in be55a0d17bd8 21:11:10 Removing intermediate container be55a0d17bd8 21:11:10 ---> 978f368aef53 21:11:10 Step 8/24 : COPY go.mod vendor* ./ 21:11:10 ---> b9777eaccfd9 21:11:10 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:11:10 ---> Running in b0adfc8807ed 21:11:11 Removing intermediate container b0adfc8807ed 21:11:11 ---> acffcd93dd28 21:11:11 Step 10/24 : COPY . . 21:11:11 ---> 6e9dedbd8a9a 21:11:11 Step 11/24 : RUN ${MAKE} 21:11:11 ---> Running in bc1e52859a52 21:11:11 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:11:33 Removing intermediate container bc1e52859a52 21:11:33 ---> 349077050f2d 21:11:33 Step 12/24 : FROM alpine:3.14 21:11:33 3.14: Pulling from library/alpine 21:11:33 c7ed990a2339: Pulling fs layer 21:11:33 c7ed990a2339: Verifying Checksum 21:11:33 c7ed990a2339: Download complete 21:11:33 c7ed990a2339: Pull complete 21:11:33 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 21:11:33 Status: Downloaded newer image for alpine:3.14 21:11:33 ---> dd53f409bf0b 21:11:33 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:11:33 ---> Running in 4a33cfaf1688 21:11:33 Removing intermediate container 4a33cfaf1688 21:11:33 ---> a260eda429f5 21:11:33 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:11:33 ---> Running in 50ff7fddd8b9 21:11:33 Removing intermediate container 50ff7fddd8b9 21:11:33 ---> 2e09d00b0190 21:11:33 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 21:11:33 ---> Running in 1b36ded35548 21:11:33 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 21:11:33 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 21:11:33 (1/6) Installing dumb-init (1.2.5-r1) 21:11:33 (2/6) Installing libgcc (10.3.1_git20210424-r2) 21:11:33 (3/6) Installing libsodium (1.0.18-r0) 21:11:33 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 21:11:33 (5/6) Installing libzmq (4.3.4-r0) 21:11:33 (6/6) Installing zeromq (4.3.4-r0) 21:11:34 Executing busybox-1.33.1-r8.trigger 21:11:34 OK: 8 MiB in 20 packages 21:11:34 Removing intermediate container 1b36ded35548 21:11:34 ---> a717024feb64 21:11:34 Step 16/24 : COPY --from=builder /device-modbus-go/cmd / 21:11:35 ---> d87be98939d8 21:11:35 Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / 21:11:35 ---> 52891a60d9c2 21:11:35 Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:11:35 ---> 0c51e525916f 21:11:35 Step 19/24 : EXPOSE 59901 21:11:35 ---> Running in 2013a7332490 21:11:35 Removing intermediate container 2013a7332490 21:11:35 ---> 6005c39132e8 21:11:35 Step 20/24 : ENTRYPOINT ["/device-modbus"] 21:11:35 ---> Running in c1dd627203b2 21:11:35 Removing intermediate container c1dd627203b2 21:11:35 ---> e92efe7b8cfb 21:11:35 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:11:35 ---> Running in 6c9981cb6468 21:11:35 Removing intermediate container 6c9981cb6468 21:11:35 ---> 163e4bd84cb7 21:11:35 Step 22/24 : LABEL arch=amd64 21:11:35 ---> Running in 3d20ed6cbc0d 21:11:35 Removing intermediate container 3d20ed6cbc0d 21:11:35 ---> 6606832f204e 21:11:35 Step 23/24 : LABEL git_sha=323f4912b2f373137d328d6cbdb0db29889eb8b2 21:11:35 ---> Running in 4219cce76094 21:11:35 Removing intermediate container 4219cce76094 21:11:35 ---> 1b8440e730fc 21:11:35 Step 24/24 : LABEL version=0.0.0 21:11:35 ---> Running in a5cdc65a7310 21:11:35 Removing intermediate container a5cdc65a7310 21:11:35 ---> 8f7a0ed97728 21:11:35 [Warning] One or more build-args [ARCH] were not consumed 21:11:35 Successfully built 8f7a0ed97728 21:11:35 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 21:11:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:11:36 21:11:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:11:36 latest: Pulling from edgex-lftools-log-publisher 21:11:36 5eb5b503b376: Pulling fs layer 21:11:36 5c69ac0246d0: Pulling fs layer 21:11:36 ec43610c2a17: Pulling fs layer 21:11:36 3a2ae6a8a46f: Pulling fs layer 21:11:36 33b1e0a273af: Pulling fs layer 21:11:36 5d3b04190fa2: Pulling fs layer 21:11:36 2f39f015ded8: Pulling fs layer 21:11:36 3a2ae6a8a46f: Waiting 21:11:36 2f39f015ded8: Waiting 21:11:36 33b1e0a273af: Waiting 21:11:36 5d3b04190fa2: Waiting 21:11:36 5c69ac0246d0: Verifying Checksum 21:11:36 5c69ac0246d0: Download complete 21:11:36 3a2ae6a8a46f: Verifying Checksum 21:11:36 3a2ae6a8a46f: Download complete 21:11:36 33b1e0a273af: Verifying Checksum 21:11:36 33b1e0a273af: Download complete 21:11:36 5d3b04190fa2: Verifying Checksum 21:11:36 5d3b04190fa2: Download complete 21:11:36 ec43610c2a17: Verifying Checksum 21:11:36 ec43610c2a17: Download complete 21:11:36 5eb5b503b376: Verifying Checksum 21:11:36 5eb5b503b376: Download complete 21:11:37 2f39f015ded8: Download complete 21:11:37 5eb5b503b376: Pull complete 21:11:37 5c69ac0246d0: Pull complete 21:11:38 ec43610c2a17: Pull complete 21:11:38 3a2ae6a8a46f: Pull complete 21:11:38 33b1e0a273af: Pull complete 21:11:38 5d3b04190fa2: Pull complete 21:11:42 2f39f015ded8: Pull complete 21:11:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:11:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:11:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:42 prd-ubuntu20.04-docker-8c-8g-1425 does not seem to be running inside a container 21:11:43 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:11:44 $ docker top efe8f841f42fea51b3bde524fa38b788d12f550e85f413f413060b85e731ad10 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:11:44 ---> job-cost.sh 21:11:44 lf-activate-venv: SKIPPING 21:11:44 INFO: No Stack... 21:11:44 INFO: Retrieving Pricing Info for: v3-standard-8 21:11:45 INFO: Archiving Costs [Pipeline] sh 21:11:45 + cat /w/workspace/xfoundry_device-modbus-go_PR-376/archives/cost.csv 21:11:45 + cut -d, -f6 [Pipeline] lock 21:11:45 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-376-3-stack-cost] 21:11:45 Resource [jenkins-edgexfoundry-device-modbus-go-PR-376-3-stack-cost] did not exist. Created. 21:11:45 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-376-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:11:46 + echo total: 0.2199999988079071 [Pipeline] stash 21:11:46 Stashed 1 file(s) [Pipeline] } 21:11:46 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-376-3-stack-cost] [Pipeline] // lock [Pipeline] } 21:11:46 $ docker stop --time=1 efe8f841f42fea51b3bde524fa38b788d12f550e85f413f413060b85e731ad10 21:11:47 $ docker rm -f efe8f841f42fea51b3bde524fa38b788d12f550e85f413f413060b85e731ad10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:12:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1427 in /w/workspace/xfoundry_device-modbus-go_PR-376 [Pipeline] { [Pipeline] ws 21:12:00 Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout 21:12:00 Selected Git installation does not exist. Using Default 21:12:00 The recommended git tool is: NONE 21:12:06 using credential edgex-jenkins-ssh 21:12:06 Cloning the remote Git repository 21:12:06 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 21:12:06 > git init /w/workspace/device-modbus-go/3 # timeout=10 21:12:06 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 21:12:06 > git --version # timeout=10 21:12:06 > git --version # 'git version 2.25.1' 21:12:06 using GIT_SSH to set credentials SSH Credentials for GitHub 21:12:06 Verifying host key using known hosts file 21:12:06 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. 21:12:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:12:07 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 21:12:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:12:09 Merging remotes/origin/main commit 892226c059eb5a0163287d1d4603e2b9857b6e84 into PR head commit 323f4912b2f373137d328d6cbdb0db29889eb8b2 21:12:08 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 21:12:08 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 21:12:08 using GIT_SSH to set credentials SSH Credentials for GitHub 21:12:08 Verifying host key using known hosts file 21:12:08 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. 21:12:08 > 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 21:12:09 > git config core.sparsecheckout # timeout=10 21:12:09 > git checkout -f 323f4912b2f373137d328d6cbdb0db29889eb8b2 # timeout=10 21:12:09 > git remote # timeout=10 21:12:09 > git config --get remote.origin.url # timeout=10 21:12:09 using GIT_SSH to set credentials SSH Credentials for GitHub 21:12:09 Verifying host key using known hosts file 21:12:09 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 21:12:09 > git merge 892226c059eb5a0163287d1d4603e2b9857b6e84 # timeout=10 21:12:09 Merge succeeded, producing 323f4912b2f373137d328d6cbdb0db29889eb8b2 21:12:09 Checking out Revision 323f4912b2f373137d328d6cbdb0db29889eb8b2 (PR-376) 21:12:09 > git rev-parse HEAD^{commit} # timeout=10 21:12:09 > git config core.sparsecheckout # timeout=10 21:12:09 > git checkout -f 323f4912b2f373137d328d6cbdb0db29889eb8b2 # timeout=10 21:12:13 Commit message: "build: Add option to build Service with NATS Capability" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:12:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:12:14 % Total % Received % Xferd Average Speed Time Time Time Current 21:12:14 Dload Upload Total Spent Left Speed 21:12:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 215k 0 --:--:-- --:--:-- --:--:-- 215k [Pipeline] sh 21:12:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:12:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:12:15 + sudo tee /etc/docker/daemon.new 21:12:15 { 21:12:15 "registry-mirrors": [ 21:12:15 "https://nexus3.edgexfoundry.org:10001" 21:12:15 ], 21:12:15 "bip": "10.250.0.254/24", 21:12:15 "hosts": [ 21:12:15 "tcp://0.0.0.0:5555", 21:12:15 "unix:///var/run/docker.sock" 21:12:15 ], 21:12:15 "mtu": 1458, 21:12:15 "selinux-enabled": true, 21:12:15 "seccomp-profile": "/etc/docker/seccomp.json" 21:12:15 } [Pipeline] sh 21:12:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:12:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:12:34 provisioning config files... 21:12:34 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/3@tmp/config1644768607087930624tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:12:34 ---> docker-login.sh 21:12:34 nexus3.edgexfoundry.org:10001 21:12:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:34 Configure a credential helper to remove this warning. See 21:12:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:34 21:12:34 Login Succeeded 21:12:34 nexus3.edgexfoundry.org:10002 21:12:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:35 Configure a credential helper to remove this warning. See 21:12:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:35 21:12:35 Login Succeeded 21:12:35 nexus3.edgexfoundry.org:10003 21:12:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:35 Configure a credential helper to remove this warning. See 21:12:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:35 21:12:35 Login Succeeded 21:12:35 nexus3.edgexfoundry.org:10004 21:12:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:36 Configure a credential helper to remove this warning. See 21:12:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:36 21:12:36 Login Succeeded 21:12:36 docker.io 21:12:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:36 Configure a credential helper to remove this warning. See 21:12:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:36 21:12:36 Login Succeeded 21:12:36 ---> docker-login.sh ends [Pipeline] } 21:12:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:12:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:12:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:12:37 ========================================================= 21:12:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:12:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:37 + 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 . 21:12:37 Sending build context to Docker daemon 3.208MB 21:12:37 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 21:12:37 Step 2/11 : FROM ${BASE} AS builder 21:12:37 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:12:37 b3c136eddcbf: Pulling fs layer 21:12:37 c0a3192eca97: Pulling fs layer 21:12:37 a050256f5b6f: Pulling fs layer 21:12:37 656be50a0ddc: Pulling fs layer 21:12:37 2bbca73fdf42: Pulling fs layer 21:12:37 46d945488cbd: Pulling fs layer 21:12:37 8a5474983e97: Pulling fs layer 21:12:37 329c88fbcd65: Pulling fs layer 21:12:37 656be50a0ddc: Waiting 21:12:37 46d945488cbd: Waiting 21:12:37 8a5474983e97: Waiting 21:12:37 329c88fbcd65: Waiting 21:12:37 2bbca73fdf42: Waiting 21:12:37 a050256f5b6f: Verifying Checksum 21:12:37 a050256f5b6f: Download complete 21:12:37 c0a3192eca97: Verifying Checksum 21:12:37 c0a3192eca97: Download complete 21:12:37 2bbca73fdf42: Download complete 21:12:37 46d945488cbd: Verifying Checksum 21:12:37 46d945488cbd: Download complete 21:12:37 b3c136eddcbf: Verifying Checksum 21:12:37 b3c136eddcbf: Download complete 21:12:38 b3c136eddcbf: Pull complete 21:12:38 329c88fbcd65: Verifying Checksum 21:12:38 329c88fbcd65: Download complete 21:12:39 c0a3192eca97: Pull complete 21:12:39 a050256f5b6f: Pull complete 21:12:40 8a5474983e97: Verifying Checksum 21:12:40 8a5474983e97: Download complete 21:12:40 656be50a0ddc: Download complete 21:12:52 656be50a0ddc: Pull complete 21:12:52 2bbca73fdf42: Pull complete 21:12:52 46d945488cbd: Pull complete 21:12:58 8a5474983e97: Pull complete 21:13:00 329c88fbcd65: Pull complete 21:13:00 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 21:13:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:13:00 ---> ff4287adb874 21:13:00 Step 3/11 : ARG ADD_BUILD_TAGS="" 21:13:02 ---> Running in edf915114be0 21:13:03 Removing intermediate container edf915114be0 21:13:03 ---> 73e1fa2e6710 21:13:03 Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:13:03 ---> Running in 209ab677c135 21:13:03 Removing intermediate container 209ab677c135 21:13:03 ---> bd5df7932d5a 21:13:03 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:13:03 ---> Running in fd2a1766176b 21:13:05 Removing intermediate container fd2a1766176b 21:13:05 ---> 39144af27e89 21:13:05 Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 21:13:05 ---> Running in a04722f331a2 21:13:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:13:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:13:08 (1/8) Installing openssh-keygen (9.0_p1-r2) 21:13:08 (2/8) Installing libedit (20210910.3.1-r0) 21:13:08 (3/8) Installing openssh-client-common (9.0_p1-r2) 21:13:08 (4/8) Installing openssh-client-default (9.0_p1-r2) 21:13:08 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 21:13:08 (6/8) Installing openssh-server-common (9.0_p1-r2) 21:13:09 (7/8) Installing openssh-server (9.0_p1-r2) 21:13:09 (8/8) Installing openssh (9.0_p1-r2) 21:13:09 Executing busybox-1.35.0-r13.trigger 21:13:09 OK: 228 MiB in 59 packages 21:13:10 Removing intermediate container a04722f331a2 21:13:10 ---> 8fd890078793 21:13:10 Step 7/11 : WORKDIR /device-modbus-go 21:13:10 ---> Running in 82d71ebc7517 21:13:10 Removing intermediate container 82d71ebc7517 21:13:10 ---> cb463df642a7 21:13:10 Step 8/11 : COPY go.mod vendor* ./ 21:13:11 ---> 13e0a58ea22b 21:13:11 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:13:11 ---> Running in 5a8c7f7553f3 21:13:58 Removing intermediate container 5a8c7f7553f3 21:13:58 ---> da03df929cac 21:13:58 Step 10/11 : COPY . . 21:13:59 ---> 6c1f7616c8ab 21:13:59 Step 11/11 : RUN ${MAKE} 21:13:59 ---> Running in 520a03ee1d5e 21:14:00 noop 21:14:00 Removing intermediate container 520a03ee1d5e 21:14:00 ---> 192fd57e9b67 21:14:00 Successfully built 192fd57e9b67 21:14:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:00 + docker inspect -f . ci-base-image-arm64 21:14:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:01 prd-ubuntu20.04-docker-arm64-4c-16g-1427 does not seem to be running inside a container 21:14:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:14:02 $ docker top 2c5e9f9480aa5039435feb3e39708c2283d2317acfde553f05c2481ee71068f7 -eo pid,comm [Pipeline] { [Pipeline] sh 21:14:03 + go version 21:14:03 go version go1.18.3 linux/arm64 [Pipeline] } 21:14:03 $ docker stop --time=1 2c5e9f9480aa5039435feb3e39708c2283d2317acfde553f05c2481ee71068f7 21:14:04 $ docker rm -f 2c5e9f9480aa5039435feb3e39708c2283d2317acfde553f05c2481ee71068f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:05 + docker inspect -f . ci-base-image-arm64 21:14:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:05 prd-ubuntu20.04-docker-arm64-4c-16g-1427 does not seem to be running inside a container 21:14:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:14:06 $ docker top 294a81bf38a28b4a4570b9a5e6d61c172de0ef89b7e1bedf202fdcd0db347f17 -eo pid,comm [Pipeline] { [Pipeline] sh 21:14:07 + git config --global --add safe.directory /w/workspace/device-modbus-go/3 [Pipeline] fileExists [Pipeline] sh 21:14:08 + make test 21:14:08 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 21:14:09 ? github.com/edgexfoundry/device-modbus-go [no test files] 21:15:46 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 21:15:46 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.080s coverage: 47.7% of statements 21:15:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:15:46 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:16:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:16:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:16:01 ./bin/test-attribution-txt.sh [Pipeline] echo 21:16:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:16:01 $ docker stop --time=1 294a81bf38a28b4a4570b9a5e6d61c172de0ef89b7e1bedf202fdcd0db347f17 21:16:03 $ docker rm -f 294a81bf38a28b4a4570b9a5e6d61c172de0ef89b7e1bedf202fdcd0db347f17 [Pipeline] // withDockerContainer [Pipeline] sh 21:16:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:16:03 Warning: overwriting stash ‘coverage-report’ 21:16:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:16:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:16:05 + ls -al . 21:16:05 total 184 21:16:05 drwxrwxr-x 9 jenkins jenkins 4096 Sep 27 21:14 . 21:16:05 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:12 .. 21:16:05 -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 21:12 .dockerignore 21:16:05 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 21:12 .git 21:16:05 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:12 .github 21:16:05 -rw-rw-r-- 1 jenkins jenkins 331 Sep 27 21:12 .gitignore 21:16:05 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 21:12 .golangci.yml 21:16:05 -rw-rw-r-- 1 jenkins jenkins 10121 Sep 27 21:12 Attribution.txt 21:16:05 -rw-rw-r-- 1 jenkins jenkins 10001 Sep 27 21:12 CHANGELOG.md 21:16:05 -rw-rw-r-- 1 jenkins jenkins 1606 Sep 27 21:12 Dockerfile 21:16:05 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 21:12 GOVERNANCE.md 21:16:05 -rw-rw-r-- 1 jenkins jenkins 680 Sep 27 21:12 Jenkinsfile 21:16:05 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 21:12 LICENSE 21:16:05 -rw-rw-r-- 1 jenkins jenkins 2101 Sep 27 21:12 Makefile 21:16:05 -rw-rw-r-- 1 jenkins jenkins 622 Sep 27 21:12 OWNERS.md 21:16:05 -rw-rw-r-- 1 jenkins jenkins 4061 Sep 27 21:12 README.md 21:16:05 -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 21:10 VERSION 21:16:05 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:12 bin 21:16:05 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:12 cmd 21:16:05 -rw-r--r-- 1 jenkins jenkins 23241 Sep 27 21:15 coverage.out 21:16:05 -rw-rw-r-- 1 jenkins jenkins 3643 Sep 27 21:12 go.mod 21:16:05 -rw-rw-r-- 1 jenkins jenkins 38287 Sep 27 21:12 go.sum 21:16:05 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:12 internal 21:16:05 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:12 simulator 21:16:05 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:12 snap 21:16:05 -rw-rw-r-- 1 jenkins jenkins 229 Sep 27 21:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:05 + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=323f4912b2f373137d328d6cbdb0db29889eb8b2 --label arch=arm64 --label version=0.0.0 . 21:16:05 Sending build context to Docker daemon 3.232MB 21:16:05 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 21:16:05 Step 2/24 : FROM ${BASE} AS builder 21:16:05 ---> 192fd57e9b67 21:16:05 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:16:06 ---> Running in bd255070836b 21:16:06 Removing intermediate container bd255070836b 21:16:06 ---> e222b804cca4 21:16:06 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:16:06 ---> Running in 9e8f48b2cfaf 21:16:06 Removing intermediate container 9e8f48b2cfaf 21:16:06 ---> 165eb7dbba9f 21:16:06 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:16:06 ---> Running in e586d0c04771 21:16:08 Removing intermediate container e586d0c04771 21:16:08 ---> d2d09cee07a5 21:16:08 Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 21:16:08 ---> Running in dba9b286adb8 21:16:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:16:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:16:11 OK: 228 MiB in 59 packages 21:16:12 Removing intermediate container dba9b286adb8 21:16:12 ---> 5d5628896197 21:16:12 Step 7/24 : WORKDIR /device-modbus-go 21:16:12 ---> Running in b5cd4aeb943e 21:16:12 Removing intermediate container b5cd4aeb943e 21:16:12 ---> fa927d8316f3 21:16:12 Step 8/24 : COPY go.mod vendor* ./ 21:16:13 ---> 9b1ebe4d76d5 21:16:13 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:16:13 ---> Running in 503e61b3b648 21:16:15 Removing intermediate container 503e61b3b648 21:16:15 ---> c24c8bd6a6f1 21:16:15 Step 10/24 : COPY . . 21:16:16 ---> d8a04460b198 21:16:16 Step 11/24 : RUN ${MAKE} 21:16:16 ---> Running in c07fc0b1bb4e 21:16:17 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:18:54 Removing intermediate container c07fc0b1bb4e 21:18:54 ---> 89c237a23f17 21:18:54 Step 12/24 : FROM alpine:3.14 21:18:54 3.14: Pulling from library/alpine 21:18:54 90cda3b7c325: Pulling fs layer 21:18:54 90cda3b7c325: Verifying Checksum 21:18:54 90cda3b7c325: Download complete 21:18:54 90cda3b7c325: Pull complete 21:18:54 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 21:18:54 Status: Downloaded newer image for alpine:3.14 21:18:54 ---> 376ba31ae3da 21:18:54 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:18:54 ---> Running in ff50656584d6 21:18:54 Removing intermediate container ff50656584d6 21:18:54 ---> 2a981a65e6cc 21:18:54 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:18:54 ---> Running in 62cc53867a02 21:18:54 Removing intermediate container 62cc53867a02 21:18:54 ---> e7c872f4b9d5 21:18:54 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 21:18:54 ---> Running in d2c17db2e791 21:18:54 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:18:55 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:18:56 (1/6) Installing dumb-init (1.2.5-r1) 21:18:56 (2/6) Installing libgcc (10.3.1_git20210424-r2) 21:18:56 (3/6) Installing libsodium (1.0.18-r0) 21:18:56 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 21:18:57 (5/6) Installing libzmq (4.3.4-r0) 21:18:57 (6/6) Installing zeromq (4.3.4-r0) 21:18:57 Executing busybox-1.33.1-r8.trigger 21:18:57 OK: 8 MiB in 20 packages 21:18:58 Removing intermediate container d2c17db2e791 21:18:58 ---> b81a43f9c130 21:18:58 Step 16/24 : COPY --from=builder /device-modbus-go/cmd / 21:18:59 ---> 1717fad8bce1 21:18:59 Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / 21:19:00 ---> e2c4e57793f2 21:19:00 Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:19:00 ---> 680ee158c64d 21:19:00 Step 19/24 : EXPOSE 59901 21:19:00 ---> Running in 61b07b7aae8e 21:19:00 Removing intermediate container 61b07b7aae8e 21:19:00 ---> 4b267697c006 21:19:00 Step 20/24 : ENTRYPOINT ["/device-modbus"] 21:19:01 ---> Running in 003b1d9137e7 21:19:01 Removing intermediate container 003b1d9137e7 21:19:01 ---> 2623b6402448 21:19:01 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:19:01 ---> Running in 6ac8f780ee34 21:19:01 Removing intermediate container 6ac8f780ee34 21:19:01 ---> bbc5c87f3b64 21:19:01 Step 22/24 : LABEL arch=arm64 21:19:01 ---> Running in 28e3b93b0ef4 21:19:01 Removing intermediate container 28e3b93b0ef4 21:19:01 ---> fc56c1fc2a2e 21:19:01 Step 23/24 : LABEL git_sha=323f4912b2f373137d328d6cbdb0db29889eb8b2 21:19:02 ---> Running in 7bc767987dba 21:19:02 Removing intermediate container 7bc767987dba 21:19:02 ---> fe42a266f8a5 21:19:02 Step 24/24 : LABEL version=0.0.0 21:19:02 ---> Running in 223dd21e8ad8 21:19:02 Removing intermediate container 223dd21e8ad8 21:19:02 ---> ab580681fd75 21:19:02 [Warning] One or more build-args [ARCH] were not consumed 21:19:02 Successfully built ab580681fd75 21:19:02 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:19:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:19:03 21:19:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:19:03 arm64: Pulling from edgex-lftools-log-publisher 21:19:03 8998bd30e6a1: Pulling fs layer 21:19:03 04944245beec: Pulling fs layer 21:19:03 699f458cf7ca: Pulling fs layer 21:19:03 765212b225bb: Pulling fs layer 21:19:03 f23df028b6ca: Pulling fs layer 21:19:03 d65c8cfc05b1: Pulling fs layer 21:19:03 2437ff75d9bd: Pulling fs layer 21:19:03 f23df028b6ca: Waiting 21:19:03 765212b225bb: Waiting 21:19:03 2437ff75d9bd: Waiting 21:19:03 d65c8cfc05b1: Waiting 21:19:03 04944245beec: Verifying Checksum 21:19:03 04944245beec: Download complete 21:19:03 765212b225bb: Verifying Checksum 21:19:03 765212b225bb: Download complete 21:19:03 f23df028b6ca: Verifying Checksum 21:19:03 f23df028b6ca: Download complete 21:19:03 d65c8cfc05b1: Verifying Checksum 21:19:03 d65c8cfc05b1: Download complete 21:19:03 699f458cf7ca: Verifying Checksum 21:19:03 699f458cf7ca: Download complete 21:19:04 8998bd30e6a1: Verifying Checksum 21:19:04 8998bd30e6a1: Download complete 21:19:06 2437ff75d9bd: Verifying Checksum 21:19:06 2437ff75d9bd: Download complete 21:19:08 8998bd30e6a1: Pull complete 21:19:08 04944245beec: Pull complete 21:19:09 699f458cf7ca: Pull complete 21:19:09 765212b225bb: Pull complete 21:19:10 f23df028b6ca: Pull complete 21:19:10 d65c8cfc05b1: Pull complete 21:19:25 2437ff75d9bd: Pull complete 21:19:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:19:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:19:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:19:25 prd-ubuntu20.04-docker-arm64-4c-16g-1427 does not seem to be running inside a container 21:19:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:19:28 $ docker top c387801e9254033aedd8f29b964ee095ce7f3673572717044edb5326aea2bd11 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:19:29 ---> job-cost.sh 21:19:29 lf-activate-venv: SKIPPING 21:19:29 INFO: No Stack... 21:19:29 INFO: Retrieving Pricing Info for: v3-standard-4 21:19:30 INFO: Archiving Costs [Pipeline] sh 21:19:31 + cat /w/workspace/device-modbus-go/3/archives/cost.csv 21:19:31 + cut -d, -f6 [Pipeline] lock 21:19:31 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-376-3-stack-cost] 21:19:31 Resource [jenkins-edgexfoundry-device-modbus-go-PR-376-3-stack-cost] did not exist. Created. 21:19:31 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-376-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:19:32 /w/workspace/device-modbus-go/3@tmp/durable-1a05860a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:19:32 + echo total: 0.10999999940395355 [Pipeline] stash 21:19:32 Warning: overwriting stash ‘stack-cost’ 21:19:32 Stashed 1 file(s) [Pipeline] } 21:19:32 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-376-3-stack-cost] [Pipeline] // lock [Pipeline] } 21:19:32 $ docker stop --time=1 c387801e9254033aedd8f29b964ee095ce7f3673572717044edb5326aea2bd11 21:19:34 $ docker rm -f c387801e9254033aedd8f29b964ee095ce7f3673572717044edb5326aea2bd11 [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:19:34 provisioning config files... 21:19:34 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-376@tmp/config10241380983897462449tmp [Pipeline] { [Pipeline] sh 21:19:35 + set +x 21:19:35 + curl -s https://codecov.io/bash 21:19:35 + bash -s -- 21:19:35 21:19:35 _____ _ 21:19:35 / ____| | | 21:19:35 | | ___ __| | ___ ___ _____ __ 21:19:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:19:35 | |___| (_) | (_| | __/ (_| (_) \ V / 21:19:35 \_____\___/ \__,_|\___|\___\___/ \_/ 21:19:35 Bash-1.0.6 21:19:35 21:19:35 21:19:35 ==> git version 2.25.1 found 21:19:35 ==> 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:19:35 Release-Date: 2020-01-08 21:19:35 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:19:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:19:35 ==> Jenkins CI detected. 21:19:35 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-376 21:19:35 project root: . 21:19:35 --> token set from env 21:19:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:19:35 ==> Running gcov in . (disable via -X gcov) 21:19:35 ==> Python coveragepy not found 21:19:35 ==> Searching for coverage reports in: 21:19:35 + . 21:19:35 -> Found 1 reports 21:19:35 ==> Detecting git/mercurial file structure 21:19:35 ==> Reading reports 21:19:35 + ./coverage.out bytes=23241 21:19:35 ==> Appending adjustments 21:19:35 https://docs.codecov.io/docs/fixing-reports 21:19:35 + Found adjustments 21:19:35 ==> Gzipping contents 21:19:35 4.0K /tmp/codecov.wTBKj6.gz 21:19:35 ==> Uploading reports 21:19:35 url: https://codecov.io 21:19:35 query: branch=PR-376&commit=323f4912b2f373137d328d6cbdb0db29889eb8b2&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-376%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=376&job=&cmd_args= 21:19:35 -> Pinging Codecov 21:19:35 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=323f4912b2f373137d328d6cbdb0db29889eb8b2&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-376%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=376&job=&cmd_args= 21:19:35 -> Uploading to 21:19:35 https://storage.googleapis.com/codecov/v4/raw/2022-09-27/55DBCA73C666E3227836607328DD7E49/323f4912b2f373137d328d6cbdb0db29889eb8b2/6d1afa75-9b39-4b45-a0f1-f846620b7f72.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220927T211935Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3581c4b24898a8d914a43d02992cc98d05f88ab8a3c94ad2cc5619e27e40ce1f 21:19:35 % Total % Received % Xferd Average Speed Time Time Time Current 21:19:35 Dload Upload Total Spent Left Speed 21:19:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3904 0 0 100 3904 0 16612 --:--:-- --:--:-- --:--:-- 16612 21:19:35 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/323f4912b2f373137d328d6cbdb0db29889eb8b2 [Pipeline] } 21:19:35 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:19:36 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-376/archives ] 21:19:36 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-376/archives 21:19:36 total 16 21:19:36 drwxr-xr-x 3 root root 4096 Sep 27 21:11 . 21:19:36 drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 21:11 .. 21:19:36 drwxr-xr-x 2 root root 4096 Sep 27 21:11 cost 21:19:36 -rw-r--r-- 1 root root 88 Sep 27 21:11 cost.csv 21:19:36 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-376/archives 21:19:36 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-376/archives 21:19:36 total 16 21:19:36 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 21:11 . 21:19:36 drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 21:11 .. 21:19:36 drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 21:11 cost 21:19:36 -rw-r--r-- 1 jenkins jenkins 88 Sep 27 21:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:19:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:19:37 ---> package-listing.sh 21:19:37 ++ facter osfamily 21:19:37 ++ tr '[:upper:]' '[:lower:]' 21:19:38 + OS_FAMILY=debian 21:19:38 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-376 21:19:38 + START_PACKAGES=/tmp/packages_start.txt 21:19:38 + END_PACKAGES=/tmp/packages_end.txt 21:19:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:19:38 + PACKAGES=/tmp/packages_start.txt 21:19:38 + '[' /w/workspace/xfoundry_device-modbus-go_PR-376 ']' 21:19:38 + PACKAGES=/tmp/packages_end.txt 21:19:38 + case "${OS_FAMILY}" in 21:19:38 + dpkg -l 21:19:38 + grep '^ii' 21:19:38 + '[' -f /tmp/packages_start.txt ']' 21:19:38 + '[' -f /tmp/packages_end.txt ']' 21:19:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:19:38 + '[' /w/workspace/xfoundry_device-modbus-go_PR-376 ']' 21:19:38 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-376/archives/ 21:19:38 + 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:19:38 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:19:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:19:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:19:38 prd-ubuntu20.04-docker-8c-8g-1425 does not seem to be running inside a container 21:19:38 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:19:39 $ docker top 1cca72f6cbd8854ee98fd769d5451698d46cf1e980fa060eab9549d68ae527c7 -eo pid,comm [Pipeline] { [Pipeline] sh 21:19:39 + touch /tmp/pre-build-complete [Pipeline] sh 21:19:39 + mkdir -p /var/log/sysstat [Pipeline] sh 21:19:40 + ls /var/log/sa-host 21:19:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:19:40 provisioning config files... 21:19:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-376@tmp/config4573498241541755646tmp [Pipeline] { [Pipeline] echo 21:19:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:19:40 ---> create-netrc.sh [Pipeline] } 21:19:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:19:40 ---> python-tools-install.sh [Pipeline] echo 21:19:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:19:41 ---> sudo-logs.sh 21:19:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:19:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:19:41 ---> job-cost.sh 21:19:41 lf-activate-venv: SKIPPING 21:19:41 DEBUG: total: 0.2199999988079071 21:19:41 INFO: Retrieving Stack Cost... 21:19:42 INFO: Retrieving Pricing Info for: v3-standard-8 21:19:42 INFO: Archiving Costs [Pipeline] echo 21:19:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:19:42 ---> logs-deploy.sh 21:19:42 lf-activate-venv: SKIPPING 21:19:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-376/3 21:19:42 INFO: archiving workspace using pattern(s): 21:19:43 Archives upload complete. 21:19:43 INFO: archiving logs to Nexus 21:19:44 ---> uname -a: 21:19:44 Linux prd-ubuntu20-04-docker-8c-8g-1425 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 21:19:44 21:19:44 21:19:44 ---> lscpu: 21:19:44 Architecture: x86_64 21:19:44 CPU op-mode(s): 32-bit, 64-bit 21:19:44 Byte Order: Little Endian 21:19:44 Address sizes: 40 bits physical, 48 bits virtual 21:19:44 CPU(s): 8 21:19:44 On-line CPU(s) list: 0-7 21:19:44 Thread(s) per core: 1 21:19:44 Core(s) per socket: 1 21:19:44 Socket(s): 8 21:19:44 NUMA node(s): 1 21:19:44 Vendor ID: AuthenticAMD 21:19:44 CPU family: 23 21:19:44 Model: 49 21:19:44 Model name: AMD EPYC-Rome Processor 21:19:44 Stepping: 0 21:19:44 CPU MHz: 2799.998 21:19:44 BogoMIPS: 5599.99 21:19:44 Virtualization: AMD-V 21:19:44 Hypervisor vendor: KVM 21:19:44 Virtualization type: full 21:19:44 L1d cache: 256 KiB 21:19:44 L1i cache: 256 KiB 21:19:44 L2 cache: 4 MiB 21:19:44 L3 cache: 128 MiB 21:19:44 NUMA node0 CPU(s): 0-7 21:19:44 Vulnerability Itlb multihit: Not affected 21:19:44 Vulnerability L1tf: Not affected 21:19:44 Vulnerability Mds: Not affected 21:19:44 Vulnerability Meltdown: Not affected 21:19:44 Vulnerability Mmio stale data: Not affected 21:19:44 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 21:19:44 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 21:19:44 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 21:19:44 Vulnerability Srbds: Not affected 21:19:44 Vulnerability Tsx async abort: Not affected 21:19:44 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:19:44 21:19:44 21:19:44 ---> nproc: 21:19:44 8 21:19:44 21:19:44 21:19:44 ---> df -h: 21:19:44 Filesystem Size Used Avail Use% Mounted on 21:19:44 overlay 155G 12G 144G 8% / 21:19:44 tmpfs 64M 0 64M 0% /dev 21:19:44 tmpfs 16G 0 16G 0% /sys/fs/cgroup 21:19:44 shm 64M 0 64M 0% /dev/shm 21:19:44 /dev/vda1 155G 12G 144G 8% /facter-os 21:19:44 21:19:44 21:19:44 ---> sar -b -r -n DEV: 21:19:44 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-1425) 09/27/22 _x86_64_ (8 CPU) 21:19:44 21:19:44 21:09:16 LINUX RESTART (8 CPU) 21:19:44 21:19:44 21:10:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 21:19:44 21:11:01 202.66 4.24 198.42 0.00 438.98 73309.34 0.00 21:19:44 21:12:01 188.10 0.27 187.84 0.00 15.06 39715.11 0.00 21:19:44 21:13:01 1.67 0.00 1.67 0.00 0.00 19.35 0.00 21:19:44 21:14:01 1.42 0.00 1.42 0.00 0.00 16.13 0.00 21:19:44 21:15:01 40.95 9.33 31.62 0.00 2883.84 4808.80 0.00 21:19:44 21:16:01 2.10 0.00 2.10 0.00 0.00 24.53 0.00 21:19:44 21:17:01 1.28 0.02 1.27 0.00 0.13 14.40 0.00 21:19:44 21:18:01 1.80 0.00 1.80 0.00 0.00 19.59 0.00 21:19:44 21:19:01 1.33 0.00 1.33 0.00 0.00 15.20 0.00 21:19:44 Average: 48.75 1.53 47.21 0.00 370.79 12992.16 0.00 21:19:44 21:19:44 21:10:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:19:44 21:11:01 28405396 31516900 785612 2.39 133128 3175604 1906960 5.62 1216800 2810512 132916 21:19:44 21:12:01 27867176 31588728 714064 2.17 145936 3735364 1779280 5.24 1196928 3326848 356 21:19:44 21:13:01 27867172 31588840 713484 2.17 145960 3735368 1779280 5.24 1197200 3326852 12 21:19:44 21:14:01 27870808 31592500 709640 2.16 145984 3735372 1779280 5.24 1193432 3326856 20 21:19:44 21:15:01 27577796 31572884 712592 2.17 164500 3984144 1802380 5.31 1356580 3437124 4 21:19:44 21:16:01 27581984 31577096 708340 2.15 164580 3984140 1802380 5.31 1347068 3437124 12 21:19:44 21:17:01 27587568 31582992 702200 2.14 164660 3984152 1802380 5.31 1340700 3437128 196 21:19:44 21:18:01 27588444 31584140 701200 2.13 164700 3984152 1802380 5.31 1340180 3437360 8 21:19:44 21:19:01 27588116 31583928 701364 2.13 164784 3984156 1802380 5.31 1340480 3437380 8 21:19:44 Average: 27770496 31576445 716500 2.18 154915 3811384 1806300 5.32 1281041 3330798 14837 21:19:44 21:19:44 21:10:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 21:19:44 21:11:01 lo 2.78 2.78 0.27 0.27 0.00 0.00 0.00 0.00 21:19:44 21:11:01 docker0 132.93 182.58 11.01 1590.41 0.00 0.00 0.00 0.00 21:19:44 21:11:01 ens3 410.42 297.58 5647.78 51.55 0.00 0.00 0.00 0.00 21:19:44 21:11:01 veth1bff97c 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 21:19:44 21:12:01 lo 2.07 2.07 0.20 0.20 0.00 0.00 0.00 0.00 21:19:44 21:12:01 docker0 14.56 17.60 0.85 92.46 0.00 0.00 0.00 0.00 21:19:44 21:12:01 ens3 135.36 95.75 2677.80 20.43 0.00 0.00 0.00 0.00 21:19:44 21:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:19:44 21:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:19:44 21:13:01 ens3 1.12 0.88 0.30 0.25 0.00 0.00 0.00 0.00 21:19:44 21:14:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:19:44 21:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:19:44 21:14:01 ens3 0.32 0.30 0.02 0.03 0.00 0.00 0.00 0.00 21:19:44 21:15:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 21:19:44 21:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:19:44 21:15:01 ens3 113.56 64.40 1300.90 4.62 0.00 0.00 0.00 0.00 21:19:44 21:16:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:19:44 21:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:19:44 21:16:01 ens3 0.23 0.15 0.02 0.01 0.00 0.00 0.00 0.00 21:19:44 21:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:19:44 21:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:19:44 21:17:01 ens3 0.07 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:19:44 21:18:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:19:44 21:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:19:44 21:18:01 ens3 0.32 0.13 0.02 0.01 0.00 0.00 0.00 0.00 21:19:44 21:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:19:44 21:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:19:44 21:19:01 ens3 3.40 1.25 5.33 0.27 0.00 0.00 0.00 0.00 21:19:44 Average: lo 0.65 0.65 0.06 0.06 0.00 0.00 0.00 0.00 21:19:44 Average: docker0 16.17 21.94 1.30 184.37 0.00 0.00 0.00 0.00 21:19:44 Average: ens3 73.24 50.70 1061.69 8.49 0.00 0.00 0.00 0.00 21:19:44 21:19:44