Pull request #390 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c2640709faa2178ab9841bd3b253e8b3627355e5+d8591ecd48deb848f04d859b76795416a9cfa4fb (bfa42a415ea988e067a82f68fa82de7412e51275) 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-ssh6315253213215217359.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13033146919212739621.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-390/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-390/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16896257072879423663.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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-390/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10167679415708972763.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh16940763213786189189.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-390/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-390/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6107024308598117571.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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-118380’ Running on prd-ubuntu20.04-docker-8c-8g-118387 in /w/workspace/xfoundry_device-modbus-go_PR-390 [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-390 # 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/390/head:refs/remotes/origin/PR-390 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d8591ecd48deb848f04d859b76795416a9cfa4fb into PR head commit c2640709faa2178ab9841bd3b253e8b3627355e5 Merge succeeded, producing c2640709faa2178ab9841bd3b253e8b3627355e5 Checking out Revision c2640709faa2178ab9841bd3b253e8b3627355e5 (PR-390) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:06:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f c2640709faa2178ab9841bd3b253e8b3627355e5 # 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 d8591ecd48deb848f04d859b76795416a9cfa4fb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c2640709faa2178ab9841bd3b253e8b3627355e5 # timeout=10 [Pipeline] withCredentials 05:06:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:06:49 ========================================================= 05:06:49 EdgeX Global Pipelines Version Info 05:06:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:06:50 ------------------- 05:06:50 stable info: 05:06:50 ------------------- 05:06:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:06:50 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:06:50 Message: update stable to v1.0.244 05:06:51 ------------------- 05:06:51 experimental info: 05:06:51 ------------------- 05:06:51 Commited By: **** collab-it+edgex@linuxfoundation.org 05:06:51 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:06:51 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:06:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:06:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:06:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:06:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:06:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:06:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:06:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:06:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:06:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:06:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:06:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:06:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:06:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:06:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:06:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:06:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:06:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:06:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:06:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:06:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:06:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:06:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:06:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:06:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:06:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:06:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:06:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:06:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-390 [Pipeline] echo 05:06:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-390 [Pipeline] echo 05:06:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-390 [Pipeline] echo 05:06:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c2640709faa2178ab9841bd3b253e8b3627355e5 [Pipeline] echo 05:06:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c264070 [Pipeline] echo 05:06:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:06:53 provisioning config files... 05:06:53 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-390@tmp/config16904039595133506790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:06:53 ---> docker-login.sh 05:06:53 nexus3.edgexfoundry.org:10001 05:06:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:53 Configure a credential helper to remove this warning. See 05:06:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:53 05:06:53 Login Succeeded 05:06:53 nexus3.edgexfoundry.org:10002 05:06:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:53 Configure a credential helper to remove this warning. See 05:06:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:53 05:06:53 Login Succeeded 05:06:53 nexus3.edgexfoundry.org:10003 05:06:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:54 Configure a credential helper to remove this warning. See 05:06:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:54 05:06:54 Login Succeeded 05:06:54 nexus3.edgexfoundry.org:10004 05:06:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:54 Configure a credential helper to remove this warning. See 05:06:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:54 05:06:54 Login Succeeded 05:06:54 docker.io 05:06:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:54 Configure a credential helper to remove this warning. See 05:06:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:54 05:06:54 Login Succeeded 05:06:54 ---> docker-login.sh ends [Pipeline] } 05:06:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:06:55 + git rev-list -1 --merges c2640709faa2178ab9841bd3b253e8b3627355e5~1..c2640709faa2178ab9841bd3b253e8b3627355e5 [Pipeline] echo 05:06:55 -----------> git rev-list -1 --merges c2640709faa2178ab9841bd3b253e8b3627355e5~1..c2640709faa2178ab9841bd3b253e8b3627355e5 c2640709faa2178ab9841bd3b253e8b3627355e5 [false] [Pipeline] sh 05:06:55 + git log --format=format:%s -1 c2640709faa2178ab9841bd3b253e8b3627355e5 [Pipeline] echo 05:06:55 ========================================================= 05:06:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:06:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:06:56 + git log --format=format:%s -1 c2640709faa2178ab9841bd3b253e8b3627355e5 [Pipeline] echo 05:06:56 [semverPrep] GIT_COMMIT: c2640709faa2178ab9841bd3b253e8b3627355e5, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 05:06:56 [semverPrep] This is not a build commit. [Pipeline] sh 05:06:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:06:56 + grep -v github /etc/ssh/ssh_known_hosts 05:06:56 + [ -e /tmp/ssh_known_hosts ] 05:06:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:06:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:06:56 + sudo tee -a /etc/ssh/ssh_known_hosts 05:06:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:06:57 05:06:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:06:57 0.1.4: Pulling from edgex-devops/py-git-semver 05:06:57 b85a868b505f: Pulling fs layer 05:06:57 e2be974225ed: Pulling fs layer 05:06:57 339a4e72a1f5: Pulling fs layer 05:06:57 988bab9f4d93: Pulling fs layer 05:06:57 1469e6f7b9e6: Pulling fs layer 05:06:57 eaf3925da568: Pulling fs layer 05:06:57 bab4dde63d76: Pulling fs layer 05:06:57 bde34c3a00c8: Pulling fs layer 05:06:57 b352a97aabf1: Pulling fs layer 05:06:57 4872d77fe225: Pulling fs layer 05:06:57 5851b861e8e6: Pulling fs layer 05:06:57 bab4dde63d76: Waiting 05:06:57 bde34c3a00c8: Waiting 05:06:57 b352a97aabf1: Waiting 05:06:57 4872d77fe225: Waiting 05:06:57 5851b861e8e6: Waiting 05:06:57 eaf3925da568: Waiting 05:06:57 988bab9f4d93: Waiting 05:06:57 e2be974225ed: Download complete 05:06:57 988bab9f4d93: Verifying Checksum 05:06:57 988bab9f4d93: Download complete 05:06:57 1469e6f7b9e6: Verifying Checksum 05:06:57 1469e6f7b9e6: Download complete 05:06:57 339a4e72a1f5: Verifying Checksum 05:06:57 339a4e72a1f5: Download complete 05:06:57 eaf3925da568: Verifying Checksum 05:06:57 eaf3925da568: Download complete 05:06:57 bde34c3a00c8: Verifying Checksum 05:06:57 bde34c3a00c8: Download complete 05:06:57 b352a97aabf1: Verifying Checksum 05:06:57 b352a97aabf1: Download complete 05:06:57 4872d77fe225: Verifying Checksum 05:06:57 4872d77fe225: Download complete 05:06:57 5851b861e8e6: Download complete 05:06:58 b85a868b505f: Verifying Checksum 05:06:58 b85a868b505f: Download complete 05:06:58 bab4dde63d76: Verifying Checksum 05:06:58 bab4dde63d76: Download complete 05:06:59 b85a868b505f: Pull complete 05:06:59 e2be974225ed: Pull complete 05:06:59 339a4e72a1f5: Pull complete 05:06:59 988bab9f4d93: Pull complete 05:07:00 1469e6f7b9e6: Pull complete 05:07:00 eaf3925da568: Pull complete 05:07:01 bab4dde63d76: Pull complete 05:07:01 bde34c3a00c8: Pull complete 05:07:01 b352a97aabf1: Pull complete 05:07:02 4872d77fe225: Pull complete 05:07:02 5851b861e8e6: Pull complete 05:07:02 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:07:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:07:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:07:02 prd-ubuntu20.04-docker-8c-8g-118387 does not seem to be running inside a container 05:07:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-390 -v /w/workspace/xfoundry_device-modbus-go_PR-390:/w/workspace/xfoundry_device-modbus-go_PR-390:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-390@tmp:/w/workspace/xfoundry_device-modbus-go_PR-390@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:07:04 $ docker top 60856f008df8bedea6482539fd6f1f042e044eb0c75ee55cbe020fc6dfb72146 -eo pid,comm 05:07:04 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). 05:07:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:07:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:07:04 [ssh-agent] Looking for ssh-agent implementation... 05:07:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:07:04 $ docker exec 60856f008df8bedea6482539fd6f1f042e044eb0c75ee55cbe020fc6dfb72146 ssh-agent 05:07:04 SSH_AUTH_SOCK=/tmp/ssh-a2ZVqOhcbQg9/agent.33 05:07:04 SSH_AGENT_PID=39 05:07:04 Running ssh-add (command line suppressed) 05:07:04 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-390@tmp/private_key_580752453392724659.key (/w/workspace/xfoundry_device-modbus-go_PR-390@tmp/private_key_580752453392724659.key) 05:07:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:07:05 + git tag --points-at HEAD [Pipeline] } 05:07:05 $ docker exec --env ******** --env ******** 60856f008df8bedea6482539fd6f1f042e044eb0c75ee55cbe020fc6dfb72146 ssh-agent -k 05:07:05 unset SSH_AUTH_SOCK; 05:07:05 unset SSH_AGENT_PID; 05:07:05 echo Agent pid 39 killed; 05:07:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:07:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:07:05 [ssh-agent] Looking for ssh-agent implementation... 05:07:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:07:05 $ docker exec 60856f008df8bedea6482539fd6f1f042e044eb0c75ee55cbe020fc6dfb72146 ssh-agent 05:07:05 SSH_AUTH_SOCK=/tmp/ssh-El4Q2dg1ygEZ/agent.72 05:07:05 SSH_AGENT_PID=78 05:07:05 Running ssh-add (command line suppressed) 05:07:05 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-390@tmp/private_key_6823145728323058157.key (/w/workspace/xfoundry_device-modbus-go_PR-390@tmp/private_key_6823145728323058157.key) 05:07:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:07:05 + git semver init 05:07:06 2022-11-07 05:07:06,142 [run_init] DEBUG init version:0.0.0 force:False 05:07:06 2022-11-07 05:07:06,143 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-390/.semver 05:07:06 2022-11-07 05:07:06,143 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-390/.semver 05:07:06 2022-11-07 05:07:06,143 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-390/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-390, universal_newlines=False, shell=None, istream=None) 05:07:07 2022-11-07 05:07:07,053 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-390/.git/info/exclude 05:07:07 2022-11-07 05:07:07,053 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-390/.semver/PR-390 with force:False 05:07:07 2022-11-07 05:07:07,054 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-390/.semver/PR-390 05:07:07 2022-11-07 05:07:07,058 [execute] INFO git cat-file --batch-check 05:07:07 2022-11-07 05:07:07,058 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-390/.semver, universal_newlines=False, shell=None, istream=) 05:07:07 2022-11-07 05:07:07,064 [execute] INFO git cat-file --batch 05:07:07 2022-11-07 05:07:07,065 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-390/.semver, universal_newlines=False, shell=None, istream=) 05:07:07 2022-11-07 05:07:07,070 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-390/.semver/PR-390 05:07:07 0.0.0 [Pipeline] } 05:07:07 $ docker exec --env ******** --env ******** 60856f008df8bedea6482539fd6f1f042e044eb0c75ee55cbe020fc6dfb72146 ssh-agent -k 05:07:07 unset SSH_AUTH_SOCK; 05:07:07 unset SSH_AGENT_PID; 05:07:07 echo Agent pid 78 killed; 05:07:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:07:07 + git semver [Pipeline] } 05:07:08 $ docker stop --time=1 60856f008df8bedea6482539fd6f1f042e044eb0c75ee55cbe020fc6dfb72146 05:07:09 $ docker rm -f 60856f008df8bedea6482539fd6f1f042e044eb0c75ee55cbe020fc6dfb72146 [Pipeline] // withDockerContainer [Pipeline] sh 05:07:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:07:09 Stashed 1 file(s) [Pipeline] echo 05:07: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 05:07:10 provisioning config files... 05:07:10 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-390@tmp/config1075616013977929940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:07:10 ---> docker-login.sh 05:07:10 nexus3.edgexfoundry.org:10001 05:07:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:10 Configure a credential helper to remove this warning. See 05:07:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:10 05:07:10 Login Succeeded 05:07:10 nexus3.edgexfoundry.org:10002 05:07:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:10 Configure a credential helper to remove this warning. See 05:07:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:10 05:07:10 Login Succeeded 05:07:10 nexus3.edgexfoundry.org:10003 05:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:11 Configure a credential helper to remove this warning. See 05:07:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:11 05:07:11 Login Succeeded 05:07:11 nexus3.edgexfoundry.org:10004 05:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:11 Configure a credential helper to remove this warning. See 05:07:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:11 05:07:11 Login Succeeded 05:07:11 docker.io 05:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:11 Configure a credential helper to remove this warning. See 05:07:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:11 05:07:11 Login Succeeded 05:07:11 ---> docker-login.sh ends [Pipeline] } 05:07:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:07:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:07:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:07:12 ========================================================= 05:07:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:07:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07: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 . 05:07:12 Sending build context to Docker daemon 6.252MB 05:07:12 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 05:07:12 Step 2/10 : FROM ${BASE} AS builder 05:07:12 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:07:12 213ec9aee27d: Pulling fs layer 05:07:12 4583459ba037: Pulling fs layer 05:07:12 93c1e223e6f2: Pulling fs layer 05:07:12 53926ce57604: Pulling fs layer 05:07:12 21b2b0c7a3f4: Pulling fs layer 05:07:12 22ff95d597cd: Pulling fs layer 05:07:12 12d6caf4c0d1: Pulling fs layer 05:07:12 96b7cbca73a9: Pulling fs layer 05:07:12 a7acece74701: Pulling fs layer 05:07:12 21b2b0c7a3f4: Waiting 05:07:12 22ff95d597cd: Waiting 05:07:12 12d6caf4c0d1: Waiting 05:07:12 96b7cbca73a9: Waiting 05:07:12 a7acece74701: Waiting 05:07:12 53926ce57604: Waiting 05:07:12 93c1e223e6f2: Download complete 05:07:12 4583459ba037: Verifying Checksum 05:07:12 4583459ba037: Download complete 05:07:12 21b2b0c7a3f4: Verifying Checksum 05:07:12 21b2b0c7a3f4: Download complete 05:07:12 22ff95d597cd: Verifying Checksum 05:07:12 22ff95d597cd: Download complete 05:07:12 213ec9aee27d: Verifying Checksum 05:07:12 213ec9aee27d: Download complete 05:07:12 12d6caf4c0d1: Download complete 05:07:12 213ec9aee27d: Pull complete 05:07:13 4583459ba037: Pull complete 05:07:13 93c1e223e6f2: Pull complete 05:07:13 a7acece74701: Verifying Checksum 05:07:13 a7acece74701: Download complete 05:07:13 96b7cbca73a9: Verifying Checksum 05:07:13 96b7cbca73a9: Download complete 05:07:13 53926ce57604: Verifying Checksum 05:07:13 53926ce57604: Download complete 05:07:16 53926ce57604: Pull complete 05:07:16 21b2b0c7a3f4: Pull complete 05:07:16 22ff95d597cd: Pull complete 05:07:16 12d6caf4c0d1: Pull complete 05:07:18 96b7cbca73a9: Pull complete 05:07:19 a7acece74701: Pull complete 05:07:19 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 05:07:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:07:19 ---> db6d94c90886 05:07:19 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:07:21 ---> Running in e4055b693e69 05:07:21 Removing intermediate container e4055b693e69 05:07:21 ---> 5187710e6a2c 05:07:21 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:07:21 ---> Running in ced2ec9079c6 05:07:21 Removing intermediate container ced2ec9079c6 05:07:21 ---> 5d9b48d70492 05:07:21 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:07:22 ---> Running in 2868a24be7dc 05:07:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:07:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:07:22 (1/8) Installing openssh-keygen (9.0_p1-r2) 05:07:22 (2/8) Installing libedit (20210910.3.1-r0) 05:07:22 (3/8) Installing openssh-client-common (9.0_p1-r2) 05:07:22 (4/8) Installing openssh-client-default (9.0_p1-r2) 05:07:22 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 05:07:22 (6/8) Installing openssh-server-common (9.0_p1-r2) 05:07:22 (7/8) Installing openssh-server (9.0_p1-r2) 05:07:22 (8/8) Installing openssh (9.0_p1-r2) 05:07:22 Executing busybox-1.35.0-r17.trigger 05:07:22 OK: 217 MiB in 59 packages 05:07:23 Removing intermediate container 2868a24be7dc 05:07:23 ---> 3b0ae3bf2cc2 05:07:23 Step 6/10 : WORKDIR /device-modbus-go 05:07:23 ---> Running in 63a5bf55f8a6 05:07:23 Removing intermediate container 63a5bf55f8a6 05:07:23 ---> 93ac3c7b529c 05:07:23 Step 7/10 : COPY go.mod vendor* ./ 05:07:23 ---> 1c35c611cdeb 05:07:23 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:07:23 ---> Running in 37df095cf693 05:07:25 Still waiting to schedule task 05:07:25 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-118385’ 05:07:41 Removing intermediate container 37df095cf693 05:07:41 ---> 8f806565734a 05:07:41 Step 9/10 : COPY . . 05:07:41 ---> 59c0b34ffa70 05:07:41 Step 10/10 : RUN ${MAKE} 05:07:41 ---> Running in 16eb265eedc1 05:07:41 noop 05:07:41 Removing intermediate container 16eb265eedc1 05:07:41 ---> 1c90fb3a8069 05:07:41 Successfully built 1c90fb3a8069 05:07:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:42 + docker inspect -f . ci-base-image-x86_64 05:07:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:07:42 prd-ubuntu20.04-docker-8c-8g-118387 does not seem to be running inside a container 05:07:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-390 -v /w/workspace/xfoundry_device-modbus-go_PR-390:/w/workspace/xfoundry_device-modbus-go_PR-390:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-390@tmp:/w/workspace/xfoundry_device-modbus-go_PR-390@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 ******** ci-base-image-x86_64 cat 05:07:42 $ docker top 52cd7c413992ae68e353e650fed973f0ec11ea6b18134ae89ff92426d7b043cb -eo pid,comm [Pipeline] { [Pipeline] sh 05:07:43 + go version 05:07:43 go version go1.18.7 linux/amd64 [Pipeline] } 05:07:43 $ docker stop --time=1 52cd7c413992ae68e353e650fed973f0ec11ea6b18134ae89ff92426d7b043cb 05:07:44 $ docker rm -f 52cd7c413992ae68e353e650fed973f0ec11ea6b18134ae89ff92426d7b043cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:45 + docker inspect -f . ci-base-image-x86_64 05:07:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:07:45 prd-ubuntu20.04-docker-8c-8g-118387 does not seem to be running inside a container 05:07:45 $ 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-390 -v /w/workspace/xfoundry_device-modbus-go_PR-390:/w/workspace/xfoundry_device-modbus-go_PR-390:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-390@tmp:/w/workspace/xfoundry_device-modbus-go_PR-390@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 ******** ci-base-image-x86_64 cat 05:07:45 $ docker top 79e702a6be587009c5f75bc001ff417ce009f71d8ef6514f426ab9bb76be23af -eo pid,comm [Pipeline] { [Pipeline] sh 05:07:46 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-390 [Pipeline] fileExists [Pipeline] sh 05:07:46 + make test 05:07:46 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:07:46 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:07:56 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:07:56 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.7% of statements 05:08:02 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." 05:08:02 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:08:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:08:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:08:05 ./bin/test-attribution-txt.sh [Pipeline] echo 05:08:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:08:05 $ docker stop --time=1 79e702a6be587009c5f75bc001ff417ce009f71d8ef6514f426ab9bb76be23af 05:08:07 $ docker rm -f 79e702a6be587009c5f75bc001ff417ce009f71d8ef6514f426ab9bb76be23af [Pipeline] // withDockerContainer [Pipeline] sh 05:08:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:08:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:08:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:08:08 + ls -al . 05:08:08 total 196 05:08:08 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 05:07 . 05:08:08 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 05:06 .. 05:08:08 -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 05:06 .dockerignore 05:08:08 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 05:07 .git 05:08:08 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:06 .github 05:08:08 -rw-rw-r-- 1 jenkins jenkins 331 Nov 7 05:06 .gitignore 05:08:08 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 05:06 .golangci.yml 05:08:08 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 05:07 .semver 05:08:08 -rw-rw-r-- 1 jenkins jenkins 10121 Nov 7 05:06 Attribution.txt 05:08:08 -rw-rw-r-- 1 jenkins jenkins 11576 Nov 7 05:06 CHANGELOG.md 05:08:08 -rw-rw-r-- 1 jenkins jenkins 1428 Nov 7 05:06 Dockerfile 05:08:08 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 05:06 GOVERNANCE.md 05:08:08 -rw-rw-r-- 1 jenkins jenkins 680 Nov 7 05:06 Jenkinsfile 05:08:08 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 05:06 LICENSE 05:08:08 -rw-rw-r-- 1 jenkins jenkins 2101 Nov 7 05:06 Makefile 05:08:08 -rw-rw-r-- 1 jenkins jenkins 622 Nov 7 05:06 OWNERS.md 05:08:08 -rw-rw-r-- 1 jenkins jenkins 4061 Nov 7 05:06 README.md 05:08:08 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 05:07 VERSION 05:08:08 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 05:06 bin 05:08:08 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:06 cmd 05:08:08 -rw-r--r-- 1 jenkins jenkins 23241 Nov 7 05:07 coverage.out 05:08:08 -rw-rw-r-- 1 jenkins jenkins 3590 Nov 7 05:06 go.mod 05:08:08 -rw-rw-r-- 1 jenkins jenkins 45225 Nov 7 05:06 go.sum 05:08:08 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:06 internal 05:08:08 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 05:06 simulator 05:08:08 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 05:06 snap 05:08:08 -rw-rw-r-- 1 jenkins jenkins 229 Nov 7 05:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:09 + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=c2640709faa2178ab9841bd3b253e8b3627355e5 --label arch=amd64 --label version=0.0.0 . 05:08:09 Sending build context to Docker daemon 6.276MB 05:08:09 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 05:08:09 Step 2/22 : FROM ${BASE} AS builder 05:08:09 ---> 1c90fb3a8069 05:08:09 Step 3/22 : ARG ADD_BUILD_TAGS="" 05:08:09 ---> Running in 28337f252e03 05:08:09 Removing intermediate container 28337f252e03 05:08:09 ---> fb170807a2c7 05:08:09 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:08:09 ---> Running in 9b3090046145 05:08:09 Removing intermediate container 9b3090046145 05:08:09 ---> 67ae44289d67 05:08:09 Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:08:09 ---> Running in ea942327638c 05:08:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:08:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:08:10 OK: 217 MiB in 59 packages 05:08:10 Removing intermediate container ea942327638c 05:08:10 ---> cf03200dd1f8 05:08:10 Step 6/22 : WORKDIR /device-modbus-go 05:08:10 ---> Running in b944ab74391c 05:08:10 Removing intermediate container b944ab74391c 05:08:10 ---> f5405070d17e 05:08:10 Step 7/22 : COPY go.mod vendor* ./ 05:08:10 ---> fd607a5a8595 05:08:10 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:08:10 ---> Running in 7d10357326e5 05:08:11 Removing intermediate container 7d10357326e5 05:08:11 ---> 6247396dd599 05:08:11 Step 9/22 : COPY . . 05:08:11 ---> f704a7b0b81f 05:08:11 Step 10/22 : RUN ${MAKE} 05:08:11 ---> Running in 6099910aa63e 05:08:12 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 05:08:34 Removing intermediate container 6099910aa63e 05:08:34 ---> 35514e725414 05:08:34 Step 11/22 : FROM alpine:3.14 05:08:34 3.14: Pulling from library/alpine 05:08:34 c7ed990a2339: Pulling fs layer 05:08:34 c7ed990a2339: Verifying Checksum 05:08:34 c7ed990a2339: Download complete 05:08:34 c7ed990a2339: Pull complete 05:08:34 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 05:08:34 Status: Downloaded newer image for alpine:3.14 05:08:34 ---> dd53f409bf0b 05:08:34 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:08:34 ---> Running in 81fbad80da2b 05:08:34 Removing intermediate container 81fbad80da2b 05:08:34 ---> bca7e76be7f8 05:08:34 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 05:08:34 ---> Running in ad7809a43f99 05:08:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:08:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:08:34 (1/6) Installing dumb-init (1.2.5-r1) 05:08:34 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:08:34 (3/6) Installing libsodium (1.0.18-r0) 05:08:34 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:08:34 (5/6) Installing libzmq (4.3.4-r0) 05:08:34 (6/6) Installing zeromq (4.3.4-r0) 05:08:34 Executing busybox-1.33.1-r8.trigger 05:08:34 OK: 8 MiB in 20 packages 05:08:34 Removing intermediate container ad7809a43f99 05:08:34 ---> faecc4fbc630 05:08:34 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:08:34 ---> d2dd848c2181 05:08:34 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:08:34 ---> bd5157525ef6 05:08:34 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:08:34 ---> f60c7df6faa4 05:08:34 Step 17/22 : EXPOSE 59901 05:08:34 ---> Running in 602f6b09702e 05:08:34 Removing intermediate container 602f6b09702e 05:08:34 ---> a49f3cfef11a 05:08:34 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:08:34 ---> Running in 40fb18c68d7b 05:08:34 Removing intermediate container 40fb18c68d7b 05:08:34 ---> e1807257a668 05:08:34 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:08:34 ---> Running in 722edf3438bc 05:08:34 Removing intermediate container 722edf3438bc 05:08:34 ---> 85a9f7de8a04 05:08:34 Step 20/22 : LABEL arch=amd64 05:08:34 ---> Running in fd5fcd94a172 05:08:34 Removing intermediate container fd5fcd94a172 05:08:34 ---> 113aa988963a 05:08:34 Step 21/22 : LABEL git_sha=c2640709faa2178ab9841bd3b253e8b3627355e5 05:08:34 ---> Running in 4d6ebe4c4d4b 05:08:34 Removing intermediate container 4d6ebe4c4d4b 05:08:34 ---> d840780bbe09 05:08:34 Step 22/22 : LABEL version=0.0.0 05:08:34 ---> Running in a0cfe84e4a86 05:08:34 Removing intermediate container a0cfe84e4a86 05:08:34 ---> 870f95986b84 05:08:34 [Warning] One or more build-args [ARCH] were not consumed 05:08:34 Successfully built 870f95986b84 05:08:34 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 05:08:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:08:35 05:08:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:08:36 latest: Pulling from edgex-lftools-log-publisher 05:08:36 5eb5b503b376: Pulling fs layer 05:08:36 5c69ac0246d0: Pulling fs layer 05:08:36 ec43610c2a17: Pulling fs layer 05:08:36 3a2ae6a8a46f: Pulling fs layer 05:08:36 33b1e0a273af: Pulling fs layer 05:08:36 5d3b04190fa2: Pulling fs layer 05:08:36 2f39f015ded8: Pulling fs layer 05:08:36 33b1e0a273af: Waiting 05:08:36 5d3b04190fa2: Waiting 05:08:36 2f39f015ded8: Waiting 05:08:36 3a2ae6a8a46f: Waiting 05:08:36 5c69ac0246d0: Download complete 05:08:36 3a2ae6a8a46f: Verifying Checksum 05:08:36 3a2ae6a8a46f: Download complete 05:08:36 33b1e0a273af: Verifying Checksum 05:08:36 33b1e0a273af: Download complete 05:08:36 5d3b04190fa2: Verifying Checksum 05:08:36 5d3b04190fa2: Download complete 05:08:36 ec43610c2a17: Verifying Checksum 05:08:36 ec43610c2a17: Download complete 05:08:36 5eb5b503b376: Download complete 05:08:37 2f39f015ded8: Verifying Checksum 05:08:37 2f39f015ded8: Download complete 05:08:37 5eb5b503b376: Pull complete 05:08:37 5c69ac0246d0: Pull complete 05:08:38 ec43610c2a17: Pull complete 05:08:38 3a2ae6a8a46f: Pull complete 05:08:38 33b1e0a273af: Pull complete 05:08:38 5d3b04190fa2: Pull complete 05:08:42 2f39f015ded8: Pull complete 05:08:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:08:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:08:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:08:43 prd-ubuntu20.04-docker-8c-8g-118387 does not seem to be running inside a container 05:08: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-390 -v /w/workspace/xfoundry_device-modbus-go_PR-390:/w/workspace/xfoundry_device-modbus-go_PR-390:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-390@tmp:/w/workspace/xfoundry_device-modbus-go_PR-390@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:08:45 $ docker top f5f037048e740ce9c4e1f5af69a4720436ef1561d9a116a42984be34c9da13b9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:08:45 ---> job-cost.sh 05:08:45 lf-activate-venv: SKIPPING 05:08:45 INFO: No Stack... 05:08:45 INFO: Retrieving Pricing Info for: v3-standard-8 05:08:46 INFO: Archiving Costs [Pipeline] sh 05:08:46 + cat /w/workspace/xfoundry_device-modbus-go_PR-390/archives/cost.csv 05:08:46 + cut -d, -f6 [Pipeline] lock 05:08:46 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-390-1-stack-cost] 05:08:46 Resource [jenkins-edgexfoundry-device-modbus-go-PR-390-1-stack-cost] did not exist. Created. 05:08:46 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-390-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:08:47 + echo total: 0.2199999988079071 [Pipeline] stash 05:08:47 Stashed 1 file(s) [Pipeline] } 05:08:47 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-390-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:08:47 $ docker stop --time=1 f5f037048e740ce9c4e1f5af69a4720436ef1561d9a116a42984be34c9da13b9 05:08:48 $ docker rm -f f5f037048e740ce9c4e1f5af69a4720436ef1561d9a116a42984be34c9da13b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:09:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118392 in /w/workspace/xfoundry_device-modbus-go_PR-390 [Pipeline] { [Pipeline] ws 05:09:22 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:09:22 Selected Git installation does not exist. Using Default 05:09:22 The recommended git tool is: NONE 05:09:27 using credential edgex-jenkins-ssh 05:09:28 Cloning the remote Git repository 05:09:28 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:09:28 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:09:28 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:09:28 > git --version # timeout=10 05:09:28 > git --version # 'git version 2.25.1' 05:09:28 using GIT_SSH to set credentials SSH Credentials for GitHub 05:09:28 Verifying host key using known hosts file 05:09:28 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. 05:09:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:09:29 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:09:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:09:30 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:09:30 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:09:30 using GIT_SSH to set credentials SSH Credentials for GitHub 05:09:30 Verifying host key using known hosts file 05:09:30 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. 05:09:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/390/head:refs/remotes/origin/PR-390 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:09:31 Merging remotes/origin/main commit d8591ecd48deb848f04d859b76795416a9cfa4fb into PR head commit c2640709faa2178ab9841bd3b253e8b3627355e5 05:09:31 Merge succeeded, producing c2640709faa2178ab9841bd3b253e8b3627355e5 05:09:31 Checking out Revision c2640709faa2178ab9841bd3b253e8b3627355e5 (PR-390) 05:09:32 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 05:09:31 > git config core.sparsecheckout # timeout=10 05:09:31 > git checkout -f c2640709faa2178ab9841bd3b253e8b3627355e5 # timeout=10 05:09:31 > git remote # timeout=10 05:09:31 > git config --get remote.origin.url # timeout=10 05:09:31 using GIT_SSH to set credentials SSH Credentials for GitHub 05:09:31 Verifying host key using known hosts file 05:09:31 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. 05:09:31 > git merge d8591ecd48deb848f04d859b76795416a9cfa4fb # timeout=10 05:09:31 > git rev-parse HEAD^{commit} # timeout=10 05:09:31 > git config core.sparsecheckout # timeout=10 05:09:31 > git checkout -f c2640709faa2178ab9841bd3b253e8b3627355e5 # timeout=10 05:09:32 > git --version # timeout=10 05:09:32 > git --version # 'git version 2.25.1' 05:09:32 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:09:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:09:33 % Total % Received % Xferd Average Speed Time Time Time Current 05:09:33 Dload Upload Total Spent Left Speed 05:09:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 90014 0 --:--:-- --:--:-- --:--:-- 90014 [Pipeline] sh 05:09:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:09:34 + sudo tee /etc/docker/daemon.new 05:09:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:09:34 { 05:09:34 "registry-mirrors": [ 05:09:34 "https://nexus3.edgexfoundry.org:10001" 05:09:34 ], 05:09:34 "bip": "10.250.0.254/24", 05:09:34 "hosts": [ 05:09:34 "tcp://0.0.0.0:5555", 05:09:34 "unix:///var/run/docker.sock" 05:09:34 ], 05:09:34 "mtu": 1458, 05:09:34 "selinux-enabled": true, 05:09:34 "seccomp-profile": "/etc/docker/seccomp.json" 05:09:34 } [Pipeline] sh 05:09:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:09:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:09:53 provisioning config files... 05:09:53 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config11465048463768188728tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:09:54 ---> docker-login.sh 05:09:54 nexus3.edgexfoundry.org:10001 05:09:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:54 Configure a credential helper to remove this warning. See 05:09:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:54 05:09:54 Login Succeeded 05:09:54 nexus3.edgexfoundry.org:10002 05:09:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:54 Configure a credential helper to remove this warning. See 05:09:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:54 05:09:54 Login Succeeded 05:09:54 nexus3.edgexfoundry.org:10003 05:09:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:55 Configure a credential helper to remove this warning. See 05:09:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:55 05:09:55 Login Succeeded 05:09:55 nexus3.edgexfoundry.org:10004 05:09:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:55 Configure a credential helper to remove this warning. See 05:09:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:55 05:09:55 Login Succeeded 05:09:55 docker.io 05:09:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:56 Configure a credential helper to remove this warning. See 05:09:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:56 05:09:56 Login Succeeded 05:09:56 ---> docker-login.sh ends [Pipeline] } 05:09:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:09:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:09:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:09:56 ========================================================= 05:09:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:09:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:57 + 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 . 05:09:57 Sending build context to Docker daemon 3.258MB 05:09:57 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 05:09:57 Step 2/10 : FROM ${BASE} AS builder 05:09:57 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:09:57 9b18e9b68314: Pulling fs layer 05:09:57 35d82f9e3411: Pulling fs layer 05:09:57 e16973657156: Pulling fs layer 05:09:57 fc693d55d65f: Pulling fs layer 05:09:57 7e9fc2657dce: Pulling fs layer 05:09:57 dda99020689f: Pulling fs layer 05:09:57 db1c61fa0a46: Pulling fs layer 05:09:57 891c053d2c06: Pulling fs layer 05:09:57 fc693d55d65f: Waiting 05:09:57 7e9fc2657dce: Waiting 05:09:57 dda99020689f: Waiting 05:09:57 db1c61fa0a46: Waiting 05:09:57 891c053d2c06: Waiting 05:09:57 e16973657156: Verifying Checksum 05:09:57 e16973657156: Download complete 05:09:57 35d82f9e3411: Verifying Checksum 05:09:57 35d82f9e3411: Download complete 05:09:57 7e9fc2657dce: Download complete 05:09:57 dda99020689f: Verifying Checksum 05:09:57 dda99020689f: Download complete 05:09:57 9b18e9b68314: Verifying Checksum 05:09:57 9b18e9b68314: Download complete 05:09:58 9b18e9b68314: Pull complete 05:09:58 891c053d2c06: Verifying Checksum 05:09:58 891c053d2c06: Download complete 05:09:59 35d82f9e3411: Pull complete 05:09:59 e16973657156: Pull complete 05:09:59 db1c61fa0a46: Verifying Checksum 05:09:59 db1c61fa0a46: Download complete 05:10:00 fc693d55d65f: Verifying Checksum 05:10:00 fc693d55d65f: Download complete 05:10:12 fc693d55d65f: Pull complete 05:10:12 7e9fc2657dce: Pull complete 05:10:12 dda99020689f: Pull complete 05:10:19 db1c61fa0a46: Pull complete 05:10:21 891c053d2c06: Pull complete 05:10:21 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 05:10:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:10:21 ---> f96f9c87975a 05:10:21 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:10:23 ---> Running in ae0fa3866d2f 05:10:23 Removing intermediate container ae0fa3866d2f 05:10:23 ---> f0d4afcb7f95 05:10:23 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:10:23 ---> Running in 2d569e2c1bac 05:10:23 Removing intermediate container 2d569e2c1bac 05:10:23 ---> a1cb53960c43 05:10:23 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:10:23 ---> Running in a304d7f1437e 05:10:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:10:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:10:25 (1/8) Installing openssh-keygen (9.0_p1-r2) 05:10:26 (2/8) Installing libedit (20210910.3.1-r0) 05:10:26 (3/8) Installing openssh-client-common (9.0_p1-r2) 05:10:26 (4/8) Installing openssh-client-default (9.0_p1-r2) 05:10:26 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 05:10:26 (6/8) Installing openssh-server-common (9.0_p1-r2) 05:10:26 (7/8) Installing openssh-server (9.0_p1-r2) 05:10:26 (8/8) Installing openssh (9.0_p1-r2) 05:10:26 Executing busybox-1.35.0-r17.trigger 05:10:26 OK: 228 MiB in 59 packages 05:10:27 Removing intermediate container a304d7f1437e 05:10:27 ---> 1d4dc42d13f0 05:10:27 Step 6/10 : WORKDIR /device-modbus-go 05:10:27 ---> Running in 8621b8b8ff1e 05:10:27 Removing intermediate container 8621b8b8ff1e 05:10:27 ---> 5efe59112e37 05:10:27 Step 7/10 : COPY go.mod vendor* ./ 05:10:28 ---> 02ff439918aa 05:10:28 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:10:28 ---> Running in 8f0c35023eaf 05:11:24 Removing intermediate container 8f0c35023eaf 05:11:24 ---> f98cd3d49c05 05:11:24 Step 9/10 : COPY . . 05:11:24 ---> bda7eaeccef7 05:11:24 Step 10/10 : RUN ${MAKE} 05:11:24 ---> Running in 8bdea2ffdc91 05:11:24 noop 05:11:24 Removing intermediate container 8bdea2ffdc91 05:11:24 ---> b09f62e1a6a1 05:11:24 Successfully built b09f62e1a6a1 05:11:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:25 + docker inspect -f . ci-base-image-arm64 05:11:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:11:25 prd-ubuntu20.04-docker-arm64-4c-16g-118392 does not seem to be running inside a container 05:11:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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 ******** ci-base-image-arm64 cat 05:11:26 $ docker top 3d16f1323f506e42e12a989348af276ee29f4dd2c11939cb26a5936e827497c0 -eo pid,comm [Pipeline] { [Pipeline] sh 05:11:27 + go version 05:11:27 go version go1.18.7 linux/arm64 [Pipeline] } 05:11:27 $ docker stop --time=1 3d16f1323f506e42e12a989348af276ee29f4dd2c11939cb26a5936e827497c0 05:11:29 $ docker rm -f 3d16f1323f506e42e12a989348af276ee29f4dd2c11939cb26a5936e827497c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:30 + docker inspect -f . ci-base-image-arm64 05:11:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:11:30 prd-ubuntu20.04-docker-arm64-4c-16g-118392 does not seem to be running inside a container 05:11:30 $ 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/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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 ******** ci-base-image-arm64 cat 05:11:31 $ docker top 6eb1b199eb88665c4a6d9a34f7fcece11cf3ad4c6151068660c43be8777ea023 -eo pid,comm [Pipeline] { [Pipeline] sh 05:11:32 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 05:11:32 + make test 05:11:32 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:11:34 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:13:11 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:13:11 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.064s coverage: 47.7% of statements 05:13:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:13:11 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:13:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:13:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:13:26 ./bin/test-attribution-txt.sh [Pipeline] echo 05:13:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:13:26 $ docker stop --time=1 6eb1b199eb88665c4a6d9a34f7fcece11cf3ad4c6151068660c43be8777ea023 05:13:28 $ docker rm -f 6eb1b199eb88665c4a6d9a34f7fcece11cf3ad4c6151068660c43be8777ea023 [Pipeline] // withDockerContainer [Pipeline] sh 05:13:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:13:29 Warning: overwriting stash ‘coverage-report’ 05:13:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:13:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:13:31 + ls -al . 05:13:31 total 192 05:13:31 drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 05:11 . 05:13:31 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 05:09 .. 05:13:31 -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 05:09 .dockerignore 05:13:31 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 05:09 .git 05:13:31 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:09 .github 05:13:31 -rw-rw-r-- 1 jenkins jenkins 331 Nov 7 05:09 .gitignore 05:13:31 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 05:09 .golangci.yml 05:13:31 -rw-rw-r-- 1 jenkins jenkins 10121 Nov 7 05:09 Attribution.txt 05:13:31 -rw-rw-r-- 1 jenkins jenkins 11576 Nov 7 05:09 CHANGELOG.md 05:13:31 -rw-rw-r-- 1 jenkins jenkins 1428 Nov 7 05:09 Dockerfile 05:13:31 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 05:09 GOVERNANCE.md 05:13:31 -rw-rw-r-- 1 jenkins jenkins 680 Nov 7 05:09 Jenkinsfile 05:13:31 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 05:09 LICENSE 05:13:31 -rw-rw-r-- 1 jenkins jenkins 2101 Nov 7 05:09 Makefile 05:13:31 -rw-rw-r-- 1 jenkins jenkins 622 Nov 7 05:09 OWNERS.md 05:13:31 -rw-rw-r-- 1 jenkins jenkins 4061 Nov 7 05:09 README.md 05:13:31 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 05:07 VERSION 05:13:31 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 05:09 bin 05:13:31 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:09 cmd 05:13:31 -rw-r--r-- 1 jenkins jenkins 23241 Nov 7 05:13 coverage.out 05:13:31 -rw-rw-r-- 1 jenkins jenkins 3590 Nov 7 05:09 go.mod 05:13:31 -rw-rw-r-- 1 jenkins jenkins 45225 Nov 7 05:09 go.sum 05:13:31 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:09 internal 05:13:31 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 05:09 simulator 05:13:31 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 05:09 snap 05:13:31 -rw-rw-r-- 1 jenkins jenkins 229 Nov 7 05:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:31 + 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=c2640709faa2178ab9841bd3b253e8b3627355e5 --label arch=arm64 --label version=0.0.0 . 05:13:31 Sending build context to Docker daemon 3.282MB 05:13:31 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 05:13:31 Step 2/22 : FROM ${BASE} AS builder 05:13:31 ---> b09f62e1a6a1 05:13:31 Step 3/22 : ARG ADD_BUILD_TAGS="" 05:13:32 ---> Running in 126d75de9862 05:13:32 Removing intermediate container 126d75de9862 05:13:32 ---> b2b24ca3071c 05:13:32 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:13:32 ---> Running in cdc8966dd5c9 05:13:32 Removing intermediate container cdc8966dd5c9 05:13:32 ---> 2edacaae4fff 05:13:32 Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:13:32 ---> Running in 22eca91762e4 05:13:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:13:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:13:35 OK: 228 MiB in 59 packages 05:13:36 Removing intermediate container 22eca91762e4 05:13:36 ---> 51b5b3185c7f 05:13:36 Step 6/22 : WORKDIR /device-modbus-go 05:13:36 ---> Running in e1a86a97a37a 05:13:36 Removing intermediate container e1a86a97a37a 05:13:36 ---> 27614aba617a 05:13:36 Step 7/22 : COPY go.mod vendor* ./ 05:13:36 ---> 335db29fb659 05:13:36 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:13:36 ---> Running in 83f3ca8901ed 05:13:39 Removing intermediate container 83f3ca8901ed 05:13:39 ---> 0197506bfcac 05:13:39 Step 9/22 : COPY . . 05:13:40 ---> cfe21fe79739 05:13:40 Step 10/22 : RUN ${MAKE} 05:13:40 ---> Running in 5ffab20eb58d 05:13:43 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 05:16:34 Removing intermediate container 5ffab20eb58d 05:16:34 ---> 9e118fec9ad3 05:16:34 Step 11/22 : FROM alpine:3.14 05:16:34 3.14: Pulling from library/alpine 05:16:34 90cda3b7c325: Pulling fs layer 05:16:34 90cda3b7c325: Verifying Checksum 05:16:34 90cda3b7c325: Download complete 05:16:34 90cda3b7c325: Pull complete 05:16:34 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 05:16:34 Status: Downloaded newer image for alpine:3.14 05:16:34 ---> 376ba31ae3da 05:16:34 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:16:34 ---> Running in 89fedfeb13cf 05:16:34 Removing intermediate container 89fedfeb13cf 05:16:34 ---> 67fccc35db5b 05:16:34 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 05:16:34 ---> Running in b44b76a42502 05:16:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:16:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:16:34 (1/6) Installing dumb-init (1.2.5-r1) 05:16:34 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:16:34 (3/6) Installing libsodium (1.0.18-r0) 05:16:34 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:16:34 (5/6) Installing libzmq (4.3.4-r0) 05:16:34 (6/6) Installing zeromq (4.3.4-r0) 05:16:34 Executing busybox-1.33.1-r8.trigger 05:16:34 OK: 8 MiB in 20 packages 05:16:34 Removing intermediate container b44b76a42502 05:16:34 ---> bb2cb544ff9b 05:16:34 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:16:34 ---> 0ece7f42bb4e 05:16:34 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:16:35 ---> bc3a193b21c1 05:16:35 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:16:36 ---> 3607a15a76ad 05:16:36 Step 17/22 : EXPOSE 59901 05:16:36 ---> Running in c6ab6678e0be 05:16:36 Removing intermediate container c6ab6678e0be 05:16:36 ---> 095f3f0342f0 05:16:36 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:16:36 ---> Running in cbcef688d80b 05:16:36 Removing intermediate container cbcef688d80b 05:16:36 ---> 0f11cddce09d 05:16:36 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:16:36 ---> Running in 8c26e0b718b6 05:16:36 Removing intermediate container 8c26e0b718b6 05:16:36 ---> a2c75454c815 05:16:36 Step 20/22 : LABEL arch=arm64 05:16:37 ---> Running in 81e002aa7f2c 05:16:37 Removing intermediate container 81e002aa7f2c 05:16:37 ---> 43541c786beb 05:16:37 Step 21/22 : LABEL git_sha=c2640709faa2178ab9841bd3b253e8b3627355e5 05:16:37 ---> Running in 607b245485a9 05:16:37 Removing intermediate container 607b245485a9 05:16:37 ---> 6ebe5feac11f 05:16:37 Step 22/22 : LABEL version=0.0.0 05:16:37 ---> Running in 38e16bd0f17e 05:16:38 Removing intermediate container 38e16bd0f17e 05:16:38 ---> 31bf6ab65431 05:16:38 [Warning] One or more build-args [ARCH] were not consumed 05:16:38 Successfully built 31bf6ab65431 05:16:38 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 05:16:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:16:39 05:16:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:16:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:16:39 arm64: Pulling from edgex-lftools-log-publisher 05:16:39 8998bd30e6a1: Pulling fs layer 05:16:39 04944245beec: Pulling fs layer 05:16:39 699f458cf7ca: Pulling fs layer 05:16:39 765212b225bb: Pulling fs layer 05:16:39 f23df028b6ca: Pulling fs layer 05:16:39 d65c8cfc05b1: Pulling fs layer 05:16:39 2437ff75d9bd: Pulling fs layer 05:16:39 f23df028b6ca: Waiting 05:16:39 d65c8cfc05b1: Waiting 05:16:39 2437ff75d9bd: Waiting 05:16:39 765212b225bb: Waiting 05:16:39 04944245beec: Verifying Checksum 05:16:39 04944245beec: Download complete 05:16:39 765212b225bb: Verifying Checksum 05:16:39 765212b225bb: Download complete 05:16:39 f23df028b6ca: Verifying Checksum 05:16:39 f23df028b6ca: Download complete 05:16:39 d65c8cfc05b1: Verifying Checksum 05:16:39 d65c8cfc05b1: Download complete 05:16:39 699f458cf7ca: Verifying Checksum 05:16:39 699f458cf7ca: Download complete 05:16:40 8998bd30e6a1: Verifying Checksum 05:16:40 8998bd30e6a1: Download complete 05:16:42 2437ff75d9bd: Verifying Checksum 05:16:42 2437ff75d9bd: Download complete 05:16:44 8998bd30e6a1: Pull complete 05:16:45 04944245beec: Pull complete 05:16:46 699f458cf7ca: Pull complete 05:16:46 765212b225bb: Pull complete 05:16:47 f23df028b6ca: Pull complete 05:16:47 d65c8cfc05b1: Pull complete 05:17:02 2437ff75d9bd: Pull complete 05:17:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:17:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:17:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:17:03 prd-ubuntu20.04-docker-arm64-4c-16g-118392 does not seem to be running inside a container 05:17:03 $ 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/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:17:05 $ docker top ab5d62a5adb2cc6a36065bf534bf28d1556b8f69e777a3f5883ebcc938ceb3dd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:17:06 ---> job-cost.sh 05:17:06 lf-activate-venv: SKIPPING 05:17:06 INFO: No Stack... 05:17:06 INFO: Retrieving Pricing Info for: v3-standard-4 05:17:07 INFO: Archiving Costs [Pipeline] sh 05:17:08 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 05:17:08 + cut -d, -f6 [Pipeline] lock 05:17:08 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-390-1-stack-cost] 05:17:08 Resource [jenkins-edgexfoundry-device-modbus-go-PR-390-1-stack-cost] did not exist. Created. 05:17:08 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-390-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:17:09 /w/workspace/device-modbus-go/1@tmp/durable-cc8d2120/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:17:09 + echo total: 0.10999999940395355 [Pipeline] stash 05:17:10 Warning: overwriting stash ‘stack-cost’ 05:17:10 Stashed 1 file(s) [Pipeline] } 05:17:10 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-390-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:17:10 $ docker stop --time=1 ab5d62a5adb2cc6a36065bf534bf28d1556b8f69e777a3f5883ebcc938ceb3dd 05:17:11 $ docker rm -f ab5d62a5adb2cc6a36065bf534bf28d1556b8f69e777a3f5883ebcc938ceb3dd [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 05:17:12 provisioning config files... 05:17:12 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-390@tmp/config15360168394274979729tmp [Pipeline] { [Pipeline] sh 05:17:13 + set +x 05:17:13 + + curl -s https://codecov.io/bash 05:17:13 bash -s -- 05:17:13 05:17:13 _____ _ 05:17:13 / ____| | | 05:17:13 | | ___ __| | ___ ___ _____ __ 05:17:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:17:13 | |___| (_) | (_| | __/ (_| (_) \ V / 05:17:13 \_____\___/ \__,_|\___|\___\___/ \_/ 05:17:13 Bash-1.0.6 05:17:13 05:17:13 05:17:13 ==> git version 2.25.1 found 05:17:13 ==> 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 05:17:13 Release-Date: 2020-01-08 05:17:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:17:13 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:17:13 ==> Jenkins CI detected. 05:17:13 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-390 05:17:13 project root: . 05:17:13 --> token set from env 05:17:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:17:13 ==> Running gcov in . (disable via -X gcov) 05:17:13 ==> Python coveragepy not found 05:17:13 ==> Searching for coverage reports in: 05:17:13 + . 05:17:13 -> Found 1 reports 05:17:13 ==> Detecting git/mercurial file structure 05:17:13 ==> Reading reports 05:17:13 + ./coverage.out bytes=23241 05:17:13 ==> Appending adjustments 05:17:13 https://docs.codecov.io/docs/fixing-reports 05:17:13 + Found adjustments 05:17:13 ==> Gzipping contents 05:17:13 4.0K /tmp/codecov.6s8Mdu.gz 05:17:13 ==> Uploading reports 05:17:13 url: https://codecov.io 05:17:13 query: branch=PR-390&commit=c2640709faa2178ab9841bd3b253e8b3627355e5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-390%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=390&job=&cmd_args= 05:17:13 -> Pinging Codecov 05:17:13 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-390&commit=c2640709faa2178ab9841bd3b253e8b3627355e5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-390%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=390&job=&cmd_args= 05:17:13 -> Uploading to 05:17:13 https://storage.googleapis.com/codecov/v4/raw/2022-11-07/55DBCA73C666E3227836607328DD7E49/c2640709faa2178ab9841bd3b253e8b3627355e5/57987daf-77b1-4677-ba79-1131d2978c6f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221107T051713Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5d3a2d68ed2ce2c2df1f4e1939296b9cf1fc01f0e898734e46c3ea1375a07375 05:17:13 % Total % Received % Xferd Average Speed Time Time Time Current 05:17:13 Dload Upload Total Spent Left Speed 05:17:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3911 0 0 100 3911 0 15397 --:--:-- --:--:-- --:--:-- 15397 05:17:13 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/c2640709faa2178ab9841bd3b253e8b3627355e5 [Pipeline] } 05:17:13 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 05:17:15 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-390/archives ] 05:17:15 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-390/archives 05:17:15 total 16 05:17:15 drwxr-xr-x 3 root root 4096 Nov 7 05:08 . 05:17:15 drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 05:08 .. 05:17:15 drwxr-xr-x 2 root root 4096 Nov 7 05:08 cost 05:17:15 -rw-r--r-- 1 root root 88 Nov 7 05:08 cost.csv 05:17:15 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-390/archives 05:17:15 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-390/archives 05:17:15 total 16 05:17:15 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 05:08 . 05:17:15 drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 05:08 .. 05:17:15 drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 05:08 cost 05:17:15 -rw-r--r-- 1 jenkins jenkins 88 Nov 7 05:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:17:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:17:16 ---> package-listing.sh 05:17:16 ++ facter osfamily 05:17:16 ++ tr '[:upper:]' '[:lower:]' 05:17:17 + OS_FAMILY=debian 05:17:17 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-390 05:17:17 + START_PACKAGES=/tmp/packages_start.txt 05:17:17 + END_PACKAGES=/tmp/packages_end.txt 05:17:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:17:17 + PACKAGES=/tmp/packages_start.txt 05:17:17 + '[' /w/workspace/xfoundry_device-modbus-go_PR-390 ']' 05:17:17 + PACKAGES=/tmp/packages_end.txt 05:17:17 + case "${OS_FAMILY}" in 05:17:17 + dpkg -l 05:17:17 + grep '^ii' 05:17:17 + '[' -f /tmp/packages_start.txt ']' 05:17:17 + '[' -f /tmp/packages_end.txt ']' 05:17:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:17:17 + '[' /w/workspace/xfoundry_device-modbus-go_PR-390 ']' 05:17:17 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-390/archives/ 05:17:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-390/archives/ [Pipeline] echo 05:17:17 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-390/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:17:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:17:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:17:18 prd-ubuntu20.04-docker-8c-8g-118387 does not seem to be running inside a container 05:17:18 $ 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-390/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-390 -v /w/workspace/xfoundry_device-modbus-go_PR-390:/w/workspace/xfoundry_device-modbus-go_PR-390:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-390@tmp:/w/workspace/xfoundry_device-modbus-go_PR-390@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:17:18 $ docker top be3a30b5022112a4679dbedf757eb6a2b866bb70d42f2d628bd4be9047f2f353 -eo pid,comm [Pipeline] { [Pipeline] sh 05:17:18 + touch /tmp/pre-build-complete [Pipeline] sh 05:17:19 + mkdir -p /var/log/sysstat [Pipeline] sh 05:17:19 + ls /var/log/sa-host 05:17:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:17:19 provisioning config files... 05:17:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-390@tmp/config13338727090885707821tmp [Pipeline] { [Pipeline] echo 05:17:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:17:19 ---> create-netrc.sh [Pipeline] } 05:17:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:17:20 ---> python-tools-install.sh [Pipeline] echo 05:17:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:17:20 ---> sudo-logs.sh 05:17:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:17:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:17:21 ---> job-cost.sh 05:17:21 lf-activate-venv: SKIPPING 05:17:21 DEBUG: total: 0.2199999988079071 05:17:21 INFO: Retrieving Stack Cost... 05:17:21 INFO: Retrieving Pricing Info for: v3-standard-8 05:17:21 INFO: Archiving Costs [Pipeline] echo 05:17:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:17:22 ---> logs-deploy.sh 05:17:22 lf-activate-venv: SKIPPING 05:17:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-390/1 05:17:22 INFO: archiving workspace using pattern(s): 05:17:23 Archives upload complete. 05:17:23 INFO: archiving logs to Nexus 05:17:24 ---> uname -a: 05:17:24 Linux prd-ubuntu20-04-docker-8c-8g-118387 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 05:17:24 05:17:24 05:17:24 ---> lscpu: 05:17:24 Architecture: x86_64 05:17:24 CPU op-mode(s): 32-bit, 64-bit 05:17:24 Byte Order: Little Endian 05:17:24 Address sizes: 40 bits physical, 48 bits virtual 05:17:24 CPU(s): 8 05:17:24 On-line CPU(s) list: 0-7 05:17:24 Thread(s) per core: 1 05:17:24 Core(s) per socket: 1 05:17:24 Socket(s): 8 05:17:24 NUMA node(s): 1 05:17:24 Vendor ID: AuthenticAMD 05:17:24 CPU family: 23 05:17:24 Model: 49 05:17:24 Model name: AMD EPYC-Rome Processor 05:17:24 Stepping: 0 05:17:24 CPU MHz: 2800.000 05:17:24 BogoMIPS: 5600.00 05:17:24 Virtualization: AMD-V 05:17:24 Hypervisor vendor: KVM 05:17:24 Virtualization type: full 05:17:24 L1d cache: 256 KiB 05:17:24 L1i cache: 256 KiB 05:17:24 L2 cache: 4 MiB 05:17:24 L3 cache: 128 MiB 05:17:24 NUMA node0 CPU(s): 0-7 05:17:24 Vulnerability Itlb multihit: Not affected 05:17:24 Vulnerability L1tf: Not affected 05:17:24 Vulnerability Mds: Not affected 05:17:24 Vulnerability Meltdown: Not affected 05:17:24 Vulnerability Mmio stale data: Not affected 05:17:24 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:17:24 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 05:17:24 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 05:17:24 Vulnerability Srbds: Not affected 05:17:24 Vulnerability Tsx async abort: Not affected 05:17:24 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 05:17:24 05:17:24 05:17:24 ---> nproc: 05:17:24 8 05:17:24 05:17:24 05:17:24 ---> df -h: 05:17:24 Filesystem Size Used Avail Use% Mounted on 05:17:24 overlay 155G 12G 144G 8% / 05:17:24 tmpfs 64M 0 64M 0% /dev 05:17:24 tmpfs 16G 0 16G 0% /sys/fs/cgroup 05:17:24 shm 64M 0 64M 0% /dev/shm 05:17:24 /dev/vda1 155G 12G 144G 8% /facter-os 05:17:24 05:17:24 05:17:24 ---> sar -b -r -n DEV: 05:17:24 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-118387) 11/07/22 _x86_64_ (8 CPU) 05:17:24 05:17:24 05:06:13 LINUX RESTART (8 CPU) 05:17:24 05:17:24 05:07:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 05:17:24 05:08:01 187.44 4.37 183.07 0.00 425.21 74155.20 0.00 05:17:24 05:09:01 162.14 0.23 161.91 0.00 21.60 39636.19 0.00 05:17:24 05:10:01 1.72 0.00 1.72 0.00 0.00 20.41 0.00 05:17:24 05:11:01 1.60 0.00 1.60 0.00 0.00 19.19 0.00 05:17:24 05:12:01 39.54 10.35 29.20 0.00 2905.92 4764.27 0.00 05:17:24 05:13:01 1.68 0.00 1.68 0.00 0.00 17.60 0.00 05:17:24 05:14:01 0.95 0.00 0.95 0.00 0.00 10.13 0.00 05:17:24 05:15:01 1.52 0.00 1.52 0.00 0.00 16.26 0.00 05:17:24 05:16:01 0.97 0.00 0.97 0.00 0.00 10.66 0.00 05:17:24 05:17:01 2.13 0.02 2.12 0.00 0.13 34.66 0.00 05:17:24 Average: 39.72 1.49 38.23 0.00 335.13 11765.34 0.00 05:17:24 05:17:24 05:07:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:17:24 05:08:01 28414912 31599644 699528 2.13 138260 3240660 1791788 5.28 1138636 2873324 133832 05:17:24 05:09:01 27796000 31593020 707076 2.15 150924 3802188 1725824 5.09 1199732 3389252 356 05:17:24 05:10:01 27795752 31592980 706792 2.15 150960 3802192 1725824 5.09 1199764 3389256 16 05:17:24 05:11:01 27800096 31597380 702136 2.14 150996 3802184 1725824 5.09 1195380 3389256 4 05:17:24 05:12:01 27505032 31579412 705812 2.15 169312 4051692 1785256 5.26 1349068 3504476 56 05:17:24 05:13:01 27505820 31580240 704928 2.14 169344 4051692 1785256 5.26 1348372 3504476 8 05:17:24 05:14:01 27511740 31586200 698860 2.13 169360 4051688 1785256 5.26 1342036 3504480 24 05:17:24 05:15:01 27512080 31586672 698620 2.12 169388 4051696 1785256 5.26 1341972 3504576 8 05:17:24 05:16:01 27512316 31586912 698336 2.12 169420 4051684 1785256 5.26 1341976 3504580 4 05:17:24 05:17:01 27511700 31586712 698744 2.12 169524 4051688 1785256 5.26 1342040 3504912 64 05:17:24 Average: 27686545 31588917 702083 2.14 160749 3895736 1768080 5.21 1279898 3406859 13437 05:17:24 05:17:24 05:07:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:17:24 05:08:01 lo 2.78 2.78 0.27 0.27 0.00 0.00 0.00 0.00 05:17:24 05:08:01 ens3 415.05 281.94 5985.57 44.50 0.00 0.00 0.00 0.00 05:17:24 05:08:01 docker0 157.68 210.01 13.10 1867.03 0.00 0.00 0.00 0.00 05:17:24 05:08:01 veth577a496 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 05:17:24 05:09:01 lo 2.13 2.13 0.21 0.21 0.00 0.00 0.00 0.00 05:17:24 05:09:01 ens3 155.29 119.10 2677.98 94.07 0.00 0.00 0.00 0.00 05:17:24 05:09:01 docker0 4.48 8.07 0.28 92.03 0.00 0.00 0.00 0.00 05:17:24 05:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:17:24 05:10:01 ens3 1.35 0.25 0.44 0.26 0.00 0.00 0.00 0.00 05:17:24 05:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:17:24 05:11:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:17:24 05:11:01 ens3 1.28 0.75 2.53 0.42 0.00 0.00 0.00 0.00 05:17:24 05:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:17:24 05:12:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 05:17:24 05:12:01 ens3 56.92 31.53 1312.30 2.57 0.00 0.00 0.00 0.00 05:17:24 05:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:17:24 05:13:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:17:24 05:13:01 ens3 0.17 0.12 0.01 0.01 0.00 0.00 0.00 0.00 05:17:24 05:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:17:24 05:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:17:24 05:14:01 ens3 0.07 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:17:24 05:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:17:24 05:15:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:17:24 05:15:01 ens3 0.25 0.13 0.01 0.01 0.00 0.00 0.00 0.00 05:17:24 05:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:17:24 05:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:17:24 05:16:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:17:24 05:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:17:24 05:17:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:17:24 05:17:01 ens3 0.32 0.18 0.09 0.07 0.00 0.00 0.00 0.00 05:17:24 05:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:17:24 Average: lo 0.61 0.61 0.06 0.06 0.00 0.00 0.00 0.00 05:17:24 Average: ens3 62.49 43.00 989.63 14.14 0.00 0.00 0.00 0.00 05:17:24 Average: docker0 15.98 21.50 1.32 193.14 0.00 0.00 0.00 0.00 05:17:24 05:17:24 05:17:24 ---> sar -P ALL: 05:17:24 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-118387) 11/07/22 _x86_64_ (8 CPU) 05:17:24 05:17:24 05:06:13 LINUX RESTART (8 CPU) 05:17:24 05:17:24 05:07:02 CPU %user %nice %system %iowait %steal %idle 05:17:24 05:08:01 all 24.58 0.00 6.03 1.98 0.09 67.32 05:17:24 05:08:01 0 24.15 0.00 6.55 0.51 0.09 68.70 05:17:24 05:08:01 1 24.65 0.00 5.70 1.19 0.10 68.36 05:17:24 05:08:01 2 25.31 0.00 5.24 0.10 0.10 69.24 05:17:24 05:08:01 3 23.04 0.00 5.71 3.94 0.09 67.22 05:17:24 05:08:01 4 24.81 0.00 6.52 1.92 0.09 66.66 05:17:24 05:08:01 5 24.54 0.00 7.45 7.50 0.09 60.42 05:17:24 05:08:01 6 24.76 0.00 5.42 0.14 0.09 69.59 05:17:24 05:08:01 7 25.33 0.00 5.65 0.57 0.10 68.35 05:17:24 05:09:01 all 20.85 0.00 4.82 1.11 0.06 73.17 05:17:24 05:09:01 0 19.67 0.00 4.99 4.19 0.07 71.09 05:17:24 05:09:01 1 21.63 0.00 4.95 0.15 0.05 73.22 05:17:24 05:09:01 2 22.40 0.00 4.67 0.03 0.05 72.84 05:17:24 05:09:01 3 21.34 0.00 4.82 1.40 0.07 72.37 05:17:24 05:09:01 4 19.79 0.00 4.90 1.30 0.07 73.94 05:17:24 05:09:01 5 20.28 0.00 4.95 0.99 0.05 73.72 05:17:24 05:09:01 6 21.02 0.00 4.90 0.03 0.05 74.00 05:17:24 05:09:01 7 20.66 0.00 4.35 0.78 0.07 74.15 05:17:24 05:10:01 all 0.08 0.00 0.02 0.01 0.00 99.89 05:17:24 05:10:01 0 0.52 0.00 0.07 0.02 0.00 99.40 05:17:24 05:10:01 1 0.02 0.00 0.02 0.00 0.00 99.97 05:17:24 05:10:01 2 0.05 0.00 0.00 0.00 0.00 99.95 05:17:24 05:10:01 3 0.02 0.00 0.03 0.03 0.00 99.92 05:17:24 05:10:01 4 0.05 0.00 0.03 0.00 0.00 99.92 05:17:24 05:10:01 5 0.00 0.00 0.00 0.00 0.00 100.00 05:17:24 05:10:01 6 0.00 0.00 0.00 0.00 0.00 100.00 05:17:24 05:10:01 7 0.00 0.00 0.00 0.00 0.00 100.00 05:17:24 05:11:01 all 0.29 0.00 0.01 0.00 0.00 99.70 05:17:24 05:11:01 0 1.97 0.00 0.00 0.02 0.00 98.01 05:17:24 05:11:01 1 0.10 0.00 0.02 0.00 0.02 99.87 05:17:24 05:11:01 2 0.03 0.00 0.02 0.00 0.02 99.93 05:17:24 05:11:01 3 0.03 0.00 0.02 0.02 0.00 99.93 05:17:24 05:11:01 4 0.08 0.00 0.00 0.00 0.00 99.92 05:17:24 05:11:01 5 0.02 0.00 0.00 0.00 0.00 99.98 05:17:24 05:11:01 6 0.02 0.00 0.00 0.00 0.00 99.98 05:17:24 05:11:01 7 0.03 0.00 0.00 0.00 0.00 99.97 05:17:24 05:12:01 all 1.28 0.00 0.80 0.29 0.01 97.61 05:17:24 05:12:01 0 1.99 0.00 0.63 0.07 0.00 97.31 05:17:24 05:12:01 1 1.28 0.00 1.12 0.43 0.00 97.16 05:17:24 05:12:01 2 1.07 0.00 0.52 0.22 0.00 98.20 05:17:24 05:12:01 3 0.48 0.00 0.83 0.97 0.02 97.70 05:17:24 05:12:01 4 2.19 0.00 0.47 0.30 0.02 97.03 05:17:24 05:12:01 5 1.22 0.00 0.40 0.22 0.02 98.15 05:17:24 05:12:01 6 1.42 0.00 0.67 0.03 0.02 97.86 05:17:24 05:12:01 7 0.62 0.00 1.80 0.10 0.00 97.48 05:17:24 05:13:01 all 0.01 0.00 0.02 0.00 0.00 99.96 05:17:24 05:13:01 0 0.02 0.00 0.00 0.00 0.00 99.98 05:17:24 05:13:01 1 0.02 0.00 0.03 0.00 0.00 99.95 05:17:24 05:13:01 2 0.02 0.00 0.00 0.00 0.00 99.98 05:17:24 05:13:01 3 0.02 0.00 0.03 0.02 0.00 99.93 05:17:24 05:13:01 4 0.02 0.00 0.05 0.00 0.00 99.93 05:17:24 05:13:01 5 0.02 0.00 0.02 0.00 0.02 99.95 05:17:24 05:13:01 6 0.00 0.00 0.02 0.00 0.00 99.98 05:17:24 05:13:01 7 0.00 0.00 0.00 0.00 0.00 100.00 05:17:24 05:14:01 all 0.01 0.00 0.01 0.00 0.00 99.97 05:17:24 05:14:01 0 0.00 0.00 0.02 0.00 0.02 99.97 05:17:24 05:14:01 1 0.02 0.00 0.00 0.00 0.00 99.98 05:17:24 05:14:01 2 0.02 0.00 0.00 0.00 0.00 99.98 05:17:24 05:14:01 3 0.02 0.00 0.02 0.00 0.00 99.97 05:17:24 05:14:01 4 0.02 0.00 0.02 0.00 0.02 99.95 05:17:24 05:14:01 5 0.02 0.00 0.03 0.02 0.00 99.93 05:17:24 05:14:01 6 0.00 0.00 0.00 0.00 0.00 100.00 05:17:24 05:14:01 7 0.02 0.00 0.00 0.00 0.00 99.98 05:17:24 05:15:01 all 0.03 0.00 0.01 0.01 0.00 99.96 05:17:24 05:15:01 0 0.10 0.00 0.00 0.00 0.00 99.90 05:17:24 05:15:01 1 0.02 0.00 0.00 0.00 0.00 99.98 05:17:24 05:15:01 2 0.00 0.00 0.00 0.00 0.00 100.00 05:17:24 05:15:01 3 0.03 0.00 0.00 0.02 0.00 99.95 05:17:24 05:15:01 4 0.02 0.00 0.02 0.03 0.00 99.93 05:17:24 05:15:01 5 0.03 0.00 0.03 0.00 0.00 99.93 05:17:24 05:15:01 6 0.00 0.00 0.00 0.00 0.00 100.00 05:17:24 05:15:01 7 0.02 0.00 0.00 0.00 0.00 99.98 05:17:24 05:16:01 all 0.11 0.00 0.08 0.00 0.01 99.81 05:17:24 05:16:01 0 0.50 0.00 0.02 0.00 0.00 99.48 05:17:24 05:16:01 1 0.08 0.00 0.33 0.00 0.02 99.57 05:17:24 05:16:01 2 0.02 0.00 0.00 0.00 0.00 99.98 05:17:24 05:16:01 3 0.07 0.00 0.08 0.02 0.02 99.82 05:17:24 05:16:01 4 0.10 0.00 0.10 0.00 0.00 99.80 05:17:24 05:16:01 5 0.02 0.00 0.02 0.00 0.02 99.95 05:17:24 05:16:01 6 0.03 0.00 0.00 0.00 0.00 99.97 05:17:24 05:16:01 7 0.05 0.00 0.07 0.00 0.00 99.88 05:17:24 05:17:01 all 0.10 0.00 0.01 0.01 0.00 99.89 05:17:24 05:17:01 0 0.60 0.00 0.00 0.00 0.00 99.40 05:17:24 05:17:01 1 0.05 0.00 0.00 0.02 0.00 99.93 05:17:24 05:17:01 2 0.02 0.00 0.00 0.00 0.00 99.98 05:17:24 05:17:01 3 0.02 0.00 0.02 0.03 0.00 99.93 05:17:24 05:17:01 4 0.02 0.00 0.00 0.03 0.00 99.95 05:17:24 05:17:01 5 0.05 0.00 0.03 0.00 0.00 99.92 05:17:24 05:17:01 6 0.00 0.00 0.00 0.00 0.00 100.00 05:17:24 05:17:01 7 0.02 0.00 0.00 0.00 0.02 99.97 05:17:24 Average: all 4.65 0.00 1.16 0.34 0.02 93.83 05:17:24 Average: 0 4.87 0.00 1.20 0.47 0.02 93.43 05:17:24 Average: 1 4.71 0.00 1.20 0.18 0.02 93.90 05:17:24 Average: 2 4.81 0.00 1.03 0.04 0.02 94.11 05:17:24 Average: 3 4.43 0.00 1.14 0.63 0.02 93.78 05:17:24 Average: 4 4.63 0.00 1.19 0.35 0.02 93.81 05:17:24 Average: 5 4.54 0.00 1.27 0.85 0.02 93.32 05:17:24 Average: 6 4.64 0.00 1.08 0.02 0.02 94.24 05:17:24 Average: 7 4.60 0.00 1.17 0.14 0.02 94.07 05:17:24 05:17:24 05:17:24