Pull request #393 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8c486bd52dafe3a5edac9ed89de69b65e36258c8+e06bb49e1a76cfe96378d9ace2c77329ab7864d7 (0f80d68d302e43d309e79bbdffc1c48e5b8964a0) 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-ssh4130729107446794782.key > 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-ssh555808382623640648.key > 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-393/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-393/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8732146644018195345.key > 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-393/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14219675463450454142.key > 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-ssh7808137445192113567.key > 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-393/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-393/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3012293047704276750.key > 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-139 in /w/workspace/xfoundry_device-modbus-go_PR-393 [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-393 # 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e06bb49e1a76cfe96378d9ace2c77329ab7864d7 into PR head commit 8c486bd52dafe3a5edac9ed89de69b65e36258c8 > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/393/head:refs/remotes/origin/PR-393 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8c486bd52dafe3a5edac9ed89de69b65e36258c8 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 Merge succeeded, producing 8c486bd52dafe3a5edac9ed89de69b65e36258c8 Checking out Revision 8c486bd52dafe3a5edac9ed89de69b65e36258c8 (PR-393) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 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:02:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:02:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:02:08 ========================================================= 05:02:08 EdgeX Global Pipelines Version Info 05:02:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e06bb49e1a76cfe96378d9ace2c77329ab7864d7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8c486bd52dafe3a5edac9ed89de69b65e36258c8 # timeout=10 05:02:09 ------------------- 05:02:09 stable info: 05:02:09 ------------------- 05:02:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:02:09 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:02:09 Message: update stable to v1.0.244 05:02:10 ------------------- 05:02:10 experimental info: 05:02:10 ------------------- 05:02:10 Commited By: **** collab-it+edgex@linuxfoundation.org 05:02:10 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:02:10 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:02:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:02:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:02:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:02:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:02:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:02:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:02:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:02:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:02:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:02:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:02:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:02:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:02:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:02:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:02:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:02:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:02:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:02:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:02:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:02:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:02:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:02:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:02:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:02:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:02:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:02:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:02:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:02:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-393 [Pipeline] echo 05:02:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-393 [Pipeline] echo 05:02:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-393 [Pipeline] echo 05:02:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8c486bd52dafe3a5edac9ed89de69b65e36258c8 [Pipeline] echo 05:02:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8c486bd [Pipeline] echo 05:02:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:02:11 provisioning config files... 05:02:12 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-393@tmp/config14791112940010591350tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:02:12 ---> docker-login.sh 05:02:12 nexus3.edgexfoundry.org:10001 05:02:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:12 Configure a credential helper to remove this warning. See 05:02:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:12 05:02:12 Login Succeeded 05:02:12 nexus3.edgexfoundry.org:10002 05:02:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:12 Configure a credential helper to remove this warning. See 05:02:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:12 05:02:12 Login Succeeded 05:02:12 nexus3.edgexfoundry.org:10003 05:02:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:12 Configure a credential helper to remove this warning. See 05:02:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:12 05:02:12 Login Succeeded 05:02:12 nexus3.edgexfoundry.org:10004 05:02:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:13 Configure a credential helper to remove this warning. See 05:02:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:13 05:02:13 Login Succeeded 05:02:13 docker.io 05:02:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:13 Configure a credential helper to remove this warning. See 05:02:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:13 05:02:13 Login Succeeded 05:02:13 ---> docker-login.sh ends [Pipeline] } 05:02:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:02:14 + git rev-list -1 --merges 8c486bd52dafe3a5edac9ed89de69b65e36258c8~1..8c486bd52dafe3a5edac9ed89de69b65e36258c8 [Pipeline] echo 05:02:14 -----------> git rev-list -1 --merges 8c486bd52dafe3a5edac9ed89de69b65e36258c8~1..8c486bd52dafe3a5edac9ed89de69b65e36258c8 8c486bd52dafe3a5edac9ed89de69b65e36258c8 [false] [Pipeline] sh 05:02:14 + git log --format=format:%s -1 8c486bd52dafe3a5edac9ed89de69b65e36258c8 [Pipeline] echo 05:02:14 ========================================================= 05:02:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:02:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:02:15 + git log --format=format:%s -1 8c486bd52dafe3a5edac9ed89de69b65e36258c8 [Pipeline] echo 05:02:15 [semverPrep] GIT_COMMIT: 8c486bd52dafe3a5edac9ed89de69b65e36258c8, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:02:15 [semverPrep] This is not a build commit. [Pipeline] sh 05:02:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:02:15 + grep -v github /etc/ssh/ssh_known_hosts 05:02:15 + [ -e /tmp/ssh_known_hosts ] 05:02:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:02:15 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:02:15 + sudo tee -a /etc/ssh/ssh_known_hosts 05:02:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:02:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:02:16 05:02:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:02:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:02:16 0.1.4: Pulling from edgex-devops/py-git-semver 05:02:16 b85a868b505f: Pulling fs layer 05:02:16 e2be974225ed: Pulling fs layer 05:02:16 339a4e72a1f5: Pulling fs layer 05:02:16 988bab9f4d93: Pulling fs layer 05:02:16 1469e6f7b9e6: Pulling fs layer 05:02:16 eaf3925da568: Pulling fs layer 05:02:16 bab4dde63d76: Pulling fs layer 05:02:16 bde34c3a00c8: Pulling fs layer 05:02:16 b352a97aabf1: Pulling fs layer 05:02:16 4872d77fe225: Pulling fs layer 05:02:16 5851b861e8e6: Pulling fs layer 05:02:16 988bab9f4d93: Waiting 05:02:16 1469e6f7b9e6: Waiting 05:02:16 eaf3925da568: Waiting 05:02:16 bab4dde63d76: Waiting 05:02:16 bde34c3a00c8: Waiting 05:02:16 b352a97aabf1: Waiting 05:02:16 4872d77fe225: Waiting 05:02:16 5851b861e8e6: Waiting 05:02:16 e2be974225ed: Verifying Checksum 05:02:16 e2be974225ed: Download complete 05:02:16 988bab9f4d93: Verifying Checksum 05:02:16 988bab9f4d93: Download complete 05:02:16 1469e6f7b9e6: Verifying Checksum 05:02:16 1469e6f7b9e6: Download complete 05:02:16 339a4e72a1f5: Verifying Checksum 05:02:16 339a4e72a1f5: Download complete 05:02:16 eaf3925da568: Verifying Checksum 05:02:16 eaf3925da568: Download complete 05:02:16 bde34c3a00c8: Verifying Checksum 05:02:16 bde34c3a00c8: Download complete 05:02:16 b352a97aabf1: Verifying Checksum 05:02:16 b352a97aabf1: Download complete 05:02:16 4872d77fe225: Download complete 05:02:16 5851b861e8e6: Download complete 05:02:16 b85a868b505f: Download complete 05:02:17 bab4dde63d76: Verifying Checksum 05:02:17 bab4dde63d76: Download complete 05:02:18 b85a868b505f: Pull complete 05:02:18 e2be974225ed: Pull complete 05:02:18 339a4e72a1f5: Pull complete 05:02:18 988bab9f4d93: Pull complete 05:02:19 1469e6f7b9e6: Pull complete 05:02:19 eaf3925da568: Pull complete 05:02:21 bab4dde63d76: Pull complete 05:02:21 bde34c3a00c8: Pull complete 05:02:21 b352a97aabf1: Pull complete 05:02:21 4872d77fe225: Pull complete 05:02:21 5851b861e8e6: Pull complete 05:02:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:02:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:02:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:02:21 prd-ubuntu20.04-docker-8c-8g-139 does not seem to be running inside a container 05:02:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-393 -v /w/workspace/xfoundry_device-modbus-go_PR-393:/w/workspace/xfoundry_device-modbus-go_PR-393:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-393@tmp:/w/workspace/xfoundry_device-modbus-go_PR-393@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:02:23 $ docker top d77736f6ac4da6935331158aa9c8f43e53ed07cdfb1ee4d541bfa33baf906b6f -eo pid,comm 05:02:23 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:02:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:02:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:02:23 [ssh-agent] Looking for ssh-agent implementation... 05:02:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:02:24 $ docker exec d77736f6ac4da6935331158aa9c8f43e53ed07cdfb1ee4d541bfa33baf906b6f ssh-agent 05:02:24 SSH_AUTH_SOCK=/tmp/ssh-7XfcnlXsWym4/agent.32 05:02:24 SSH_AGENT_PID=38 05:02:24 Running ssh-add (command line suppressed) 05:02:24 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-393@tmp/private_key_12291679188345139981.key (/w/workspace/xfoundry_device-modbus-go_PR-393@tmp/private_key_12291679188345139981.key) 05:02:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:02:24 + git tag --points-at HEAD [Pipeline] } 05:02:24 $ docker exec --env ******** --env ******** d77736f6ac4da6935331158aa9c8f43e53ed07cdfb1ee4d541bfa33baf906b6f ssh-agent -k 05:02:24 unset SSH_AUTH_SOCK; 05:02:24 unset SSH_AGENT_PID; 05:02:24 echo Agent pid 38 killed; 05:02:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:02:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:02:24 [ssh-agent] Looking for ssh-agent implementation... 05:02:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:02:25 $ docker exec d77736f6ac4da6935331158aa9c8f43e53ed07cdfb1ee4d541bfa33baf906b6f ssh-agent 05:02:25 SSH_AUTH_SOCK=/tmp/ssh-D46yVIjoYW4C/agent.70 05:02:25 SSH_AGENT_PID=76 05:02:25 Running ssh-add (command line suppressed) 05:02:25 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-393@tmp/private_key_1246126030059576485.key (/w/workspace/xfoundry_device-modbus-go_PR-393@tmp/private_key_1246126030059576485.key) 05:02:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:02:25 + git semver init 05:02:25 2022-12-19 05:02:25,764 [run_init] DEBUG init version:0.0.0 force:False 05:02:25 2022-12-19 05:02:25,765 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-393/.semver 05:02:25 2022-12-19 05:02:25,766 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-393/.semver 05:02:25 2022-12-19 05:02:25,766 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-393/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-393, universal_newlines=False, shell=None, istream=None) 05:02:26 2022-12-19 05:02:26,594 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-393/.git/info/exclude 05:02:26 2022-12-19 05:02:26,595 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-393/.semver/PR-393 with force:False 05:02:26 2022-12-19 05:02:26,595 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-393/.semver/PR-393 05:02:26 2022-12-19 05:02:26,599 [execute] INFO git cat-file --batch-check 05:02:26 2022-12-19 05:02:26,599 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-393/.semver, universal_newlines=False, shell=None, istream=) 05:02:26 2022-12-19 05:02:26,605 [execute] INFO git cat-file --batch 05:02:26 2022-12-19 05:02:26,605 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-393/.semver, universal_newlines=False, shell=None, istream=) 05:02:26 2022-12-19 05:02:26,610 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-393/.semver/PR-393 05:02:26 0.0.0 [Pipeline] } 05:02:26 $ docker exec --env ******** --env ******** d77736f6ac4da6935331158aa9c8f43e53ed07cdfb1ee4d541bfa33baf906b6f ssh-agent -k 05:02:26 unset SSH_AUTH_SOCK; 05:02:26 unset SSH_AGENT_PID; 05:02:26 echo Agent pid 76 killed; 05:02:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:02:27 + git semver [Pipeline] } 05:02:27 $ docker stop --time=1 d77736f6ac4da6935331158aa9c8f43e53ed07cdfb1ee4d541bfa33baf906b6f 05:02:28 $ docker rm -f --volumes d77736f6ac4da6935331158aa9c8f43e53ed07cdfb1ee4d541bfa33baf906b6f [Pipeline] // withDockerContainer [Pipeline] sh 05:02:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:02:29 Stashed 1 file(s) [Pipeline] echo 05:02:29 [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:02:30 provisioning config files... 05:02:30 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-393@tmp/config5569236186251590627tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:02:30 ---> docker-login.sh 05:02:30 nexus3.edgexfoundry.org:10001 05:02:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:30 Configure a credential helper to remove this warning. See 05:02:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:30 05:02:30 Login Succeeded 05:02:30 nexus3.edgexfoundry.org:10002 05:02:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:30 Configure a credential helper to remove this warning. See 05:02:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:30 05:02:30 Login Succeeded 05:02:30 nexus3.edgexfoundry.org:10003 05:02:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:31 Configure a credential helper to remove this warning. See 05:02:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:31 05:02:31 Login Succeeded 05:02:31 nexus3.edgexfoundry.org:10004 05:02:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:31 Configure a credential helper to remove this warning. See 05:02:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:31 05:02:31 Login Succeeded 05:02:31 docker.io 05:02:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:31 Configure a credential helper to remove this warning. See 05:02:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:31 05:02:31 Login Succeeded 05:02:31 ---> docker-login.sh ends [Pipeline] } 05:02:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:02:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:02:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:02:31 ========================================================= 05:02:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:02:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:02:32 + 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:02:32 Sending build context to Docker daemon 6.297MB 05:02:32 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 05:02:32 Step 2/10 : FROM ${BASE} AS builder 05:02:32 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:02:32 213ec9aee27d: Pulling fs layer 05:02:32 4583459ba037: Pulling fs layer 05:02:32 93c1e223e6f2: Pulling fs layer 05:02:32 53926ce57604: Pulling fs layer 05:02:32 21b2b0c7a3f4: Pulling fs layer 05:02:32 22ff95d597cd: Pulling fs layer 05:02:32 12d6caf4c0d1: Pulling fs layer 05:02:32 96b7cbca73a9: Pulling fs layer 05:02:32 a7acece74701: Pulling fs layer 05:02:32 12d6caf4c0d1: Waiting 05:02:32 96b7cbca73a9: Waiting 05:02:32 53926ce57604: Waiting 05:02:32 a7acece74701: Waiting 05:02:32 21b2b0c7a3f4: Waiting 05:02:32 22ff95d597cd: Waiting 05:02:32 93c1e223e6f2: Verifying Checksum 05:02:32 93c1e223e6f2: Download complete 05:02:32 4583459ba037: Download complete 05:02:32 21b2b0c7a3f4: Verifying Checksum 05:02:32 21b2b0c7a3f4: Download complete 05:02:32 22ff95d597cd: Verifying Checksum 05:02:32 22ff95d597cd: Download complete 05:02:32 213ec9aee27d: Verifying Checksum 05:02:32 213ec9aee27d: Download complete 05:02:32 12d6caf4c0d1: Verifying Checksum 05:02:32 12d6caf4c0d1: Download complete 05:02:32 213ec9aee27d: Pull complete 05:02:32 4583459ba037: Pull complete 05:02:32 93c1e223e6f2: Pull complete 05:02:33 53926ce57604: Verifying Checksum 05:02:33 53926ce57604: Download complete 05:02:33 a7acece74701: Verifying Checksum 05:02:33 a7acece74701: Download complete 05:02:33 96b7cbca73a9: Verifying Checksum 05:02:33 96b7cbca73a9: Download complete 05:02:36 53926ce57604: Pull complete 05:02:36 21b2b0c7a3f4: Pull complete 05:02:36 22ff95d597cd: Pull complete 05:02:36 12d6caf4c0d1: Pull complete 05:02:38 96b7cbca73a9: Pull complete 05:02:39 a7acece74701: Pull complete 05:02:39 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 05:02:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:02:39 ---> db6d94c90886 05:02:39 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:02:42 ---> Running in bca2e1e97e95 05:02:42 Removing intermediate container bca2e1e97e95 05:02:42 ---> 7c47454544a5 05:02:42 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:02:42 ---> Running in f8b805bf4c1a 05:02:42 Removing intermediate container f8b805bf4c1a 05:02:42 ---> ea4c643008e8 05:02:42 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:02:42 ---> Running in af4834dc0fda 05:02:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:02:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:02:43 (1/8) Installing openssh-keygen (9.0_p1-r2) 05:02:43 (2/8) Installing libedit (20210910.3.1-r0) 05:02:43 (3/8) Installing openssh-client-common (9.0_p1-r2) 05:02:43 (4/8) Installing openssh-client-default (9.0_p1-r2) 05:02:43 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 05:02:43 (6/8) Installing openssh-server-common (9.0_p1-r2) 05:02:43 (7/8) Installing openssh-server (9.0_p1-r2) 05:02:43 (8/8) Installing openssh (9.0_p1-r2) 05:02:43 Executing busybox-1.35.0-r17.trigger 05:02:43 OK: 217 MiB in 59 packages 05:02:43 Removing intermediate container af4834dc0fda 05:02:43 ---> a2a2e2452572 05:02:43 Step 6/10 : WORKDIR /device-modbus-go 05:02:43 ---> Running in a5945e188634 05:02:43 Removing intermediate container a5945e188634 05:02:43 ---> a6958a0895a7 05:02:43 Step 7/10 : COPY go.mod vendor* ./ 05:02:44 ---> 64710541d1b8 05:02:44 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:02:44 ---> Running in bdf609fe42fb 05:02:45 Still waiting to schedule task 05:02:45 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:03:10 Removing intermediate container bdf609fe42fb 05:03:10 ---> ccace4b59bb4 05:03:10 Step 9/10 : COPY . . 05:03:10 ---> 4b200a1a0202 05:03:10 Step 10/10 : RUN ${MAKE} 05:03:10 ---> Running in 2c990e0424f3 05:03:10 noop 05:03:10 Removing intermediate container 2c990e0424f3 05:03:10 ---> 5a8678f16c7c 05:03:10 Successfully built 5a8678f16c7c 05:03:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:11 + docker inspect -f . ci-base-image-x86_64 05:03:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:03:11 prd-ubuntu20.04-docker-8c-8g-139 does not seem to be running inside a container 05:03:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-393 -v /w/workspace/xfoundry_device-modbus-go_PR-393:/w/workspace/xfoundry_device-modbus-go_PR-393:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-393@tmp:/w/workspace/xfoundry_device-modbus-go_PR-393@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:03:11 $ docker top a5e75b027a560a9619c9aade56f551c633ba2f98d721b749c43eabcb13acb027 -eo pid,comm [Pipeline] { [Pipeline] sh 05:03:12 + go version 05:03:12 go version go1.18.7 linux/amd64 [Pipeline] } 05:03:12 $ docker stop --time=1 a5e75b027a560a9619c9aade56f551c633ba2f98d721b749c43eabcb13acb027 05:03:13 $ docker rm -f --volumes a5e75b027a560a9619c9aade56f551c633ba2f98d721b749c43eabcb13acb027 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:14 + docker inspect -f . ci-base-image-x86_64 05:03:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:03:14 prd-ubuntu20.04-docker-8c-8g-139 does not seem to be running inside a container 05:03:14 $ 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-393 -v /w/workspace/xfoundry_device-modbus-go_PR-393:/w/workspace/xfoundry_device-modbus-go_PR-393:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-393@tmp:/w/workspace/xfoundry_device-modbus-go_PR-393@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:03:14 $ docker top fef1928370bb3ff80cdfd1a68a8bed6d8c7fb3bce321f17ea5323297b66cd2e6 -eo pid,comm [Pipeline] { [Pipeline] sh 05:03:14 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-393 [Pipeline] fileExists [Pipeline] sh 05:03:15 + make test 05:03:15 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:03:15 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:03:25 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:03:25 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 47.7% of statements 05:03:32 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:03:32 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:03:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:03:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:03:34 ./bin/test-attribution-txt.sh [Pipeline] echo 05:03:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:03:34 $ docker stop --time=1 fef1928370bb3ff80cdfd1a68a8bed6d8c7fb3bce321f17ea5323297b66cd2e6 05:03:36 $ docker rm -f --volumes fef1928370bb3ff80cdfd1a68a8bed6d8c7fb3bce321f17ea5323297b66cd2e6 [Pipeline] // withDockerContainer [Pipeline] sh 05:03:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:03:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:03:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:03:38 + ls -al . 05:03:38 total 196 05:03:38 drwxrwxr-x 10 jenkins jenkins 4096 Dec 19 05:03 . 05:03:38 drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 05:02 .. 05:03:38 -rw-rw-r-- 1 jenkins jenkins 140 Dec 19 05:02 .dockerignore 05:03:38 drwxrwxr-x 8 jenkins jenkins 4096 Dec 19 05:03 .git 05:03:38 drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 05:02 .github 05:03:38 -rw-rw-r-- 1 jenkins jenkins 331 Dec 19 05:02 .gitignore 05:03:38 -rw-rw-r-- 1 jenkins jenkins 41 Dec 19 05:02 .golangci.yml 05:03:38 drwxr-xr-x 3 jenkins jenkins 4096 Dec 19 05:02 .semver 05:03:38 -rw-rw-r-- 1 jenkins jenkins 10121 Dec 19 05:02 Attribution.txt 05:03:38 -rw-rw-r-- 1 jenkins jenkins 11576 Dec 19 05:02 CHANGELOG.md 05:03:38 -rw-rw-r-- 1 jenkins jenkins 1428 Dec 19 05:02 Dockerfile 05:03:38 -rw-rw-r-- 1 jenkins jenkins 677 Dec 19 05:02 GOVERNANCE.md 05:03:38 -rw-rw-r-- 1 jenkins jenkins 680 Dec 19 05:02 Jenkinsfile 05:03:38 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 19 05:02 LICENSE 05:03:38 -rw-rw-r-- 1 jenkins jenkins 2101 Dec 19 05:02 Makefile 05:03:38 -rw-rw-r-- 1 jenkins jenkins 622 Dec 19 05:02 OWNERS.md 05:03:38 -rw-rw-r-- 1 jenkins jenkins 4061 Dec 19 05:02 README.md 05:03:38 -rw-rw-r-- 1 jenkins jenkins 5 Dec 19 05:02 VERSION 05:03:38 drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 05:02 bin 05:03:38 drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 05:02 cmd 05:03:38 -rw-r--r-- 1 jenkins jenkins 23241 Dec 19 05:03 coverage.out 05:03:38 -rw-rw-r-- 1 jenkins jenkins 3584 Dec 19 05:02 go.mod 05:03:38 -rw-rw-r-- 1 jenkins jenkins 45355 Dec 19 05:02 go.sum 05:03:38 drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 05:02 internal 05:03:38 drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 05:02 simulator 05:03:38 drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 05:02 snap 05:03:38 -rw-rw-r-- 1 jenkins jenkins 229 Dec 19 05:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:38 + 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=8c486bd52dafe3a5edac9ed89de69b65e36258c8 --label arch=amd64 --label version=0.0.0 . 05:03:38 Sending build context to Docker daemon 6.321MB 05:03:38 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 05:03:38 Step 2/22 : FROM ${BASE} AS builder 05:03:38 ---> 5a8678f16c7c 05:03:38 Step 3/22 : ARG ADD_BUILD_TAGS="" 05:03:38 ---> Running in 7f3929f4b463 05:03:39 Removing intermediate container 7f3929f4b463 05:03:39 ---> da2a64adca9a 05:03:39 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:03:39 ---> Running in 47b836143c24 05:03:39 Removing intermediate container 47b836143c24 05:03:39 ---> 2cf6f57b2a55 05:03:39 Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:03:39 ---> Running in 3f4e0dd536cc 05:03:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:03:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:03:39 OK: 217 MiB in 59 packages 05:03:40 Removing intermediate container 3f4e0dd536cc 05:03:40 ---> 505370d0f11f 05:03:40 Step 6/22 : WORKDIR /device-modbus-go 05:03:40 ---> Running in 2f856d36410c 05:03:40 Removing intermediate container 2f856d36410c 05:03:40 ---> b49e7f2259cf 05:03:40 Step 7/22 : COPY go.mod vendor* ./ 05:03:40 ---> b8037e293749 05:03:40 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:03:40 ---> Running in a518bf460148 05:03:40 Removing intermediate container a518bf460148 05:03:40 ---> 4d30eca71a75 05:03:40 Step 9/22 : COPY . . 05:03:41 ---> 860d8ac826ad 05:03:41 Step 10/22 : RUN ${MAKE} 05:03:41 ---> Running in 58e06b664bcf 05:03:41 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:04:03 Removing intermediate container 58e06b664bcf 05:04:03 ---> fed53058bbd9 05:04:03 Step 11/22 : FROM alpine:3.14 05:04:03 3.14: Pulling from library/alpine 05:04:03 c7ed990a2339: Pulling fs layer 05:04:03 c7ed990a2339: Verifying Checksum 05:04:03 c7ed990a2339: Download complete 05:04:03 c7ed990a2339: Pull complete 05:04:03 Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a 05:04:03 Status: Downloaded newer image for alpine:3.14 05:04:03 ---> dd53f409bf0b 05:04:03 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:04:03 ---> Running in 5760e79b96a3 05:04:03 Removing intermediate container 5760e79b96a3 05:04:03 ---> 9fabb7850683 05:04:03 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 05:04:03 ---> Running in b1bc3495130f 05:04:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:04:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:04:03 (1/6) Installing dumb-init (1.2.5-r1) 05:04:03 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:04:03 (3/6) Installing libsodium (1.0.18-r0) 05:04:03 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:04:03 (5/6) Installing libzmq (4.3.4-r0) 05:04:03 (6/6) Installing zeromq (4.3.4-r0) 05:04:03 Executing busybox-1.33.1-r8.trigger 05:04:03 OK: 8 MiB in 20 packages 05:04:03 Removing intermediate container b1bc3495130f 05:04:03 ---> c9b2f84c5726 05:04:03 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:04:04 ---> d6b8cc16c9f7 05:04:04 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:04:04 ---> a07df9e5619c 05:04:04 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:04:04 ---> 8a3ff744f551 05:04:04 Step 17/22 : EXPOSE 59901 05:04:04 ---> Running in b48a5228cb4b 05:04:04 Removing intermediate container b48a5228cb4b 05:04:04 ---> d7191d9de370 05:04:04 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:04:04 ---> Running in 43a6ab39bbd1 05:04:05 Removing intermediate container 43a6ab39bbd1 05:04:05 ---> ff5d4d5d0ac7 05:04:05 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:04:05 ---> Running in a163652557f5 05:04:05 Removing intermediate container a163652557f5 05:04:05 ---> 4fffa3748eaf 05:04:05 Step 20/22 : LABEL arch=amd64 05:04:05 ---> Running in 2bceeccd90a8 05:04:05 Removing intermediate container 2bceeccd90a8 05:04:05 ---> 501b9c6a23ba 05:04:05 Step 21/22 : LABEL git_sha=8c486bd52dafe3a5edac9ed89de69b65e36258c8 05:04:05 ---> Running in 3dc13672557a 05:04:05 Removing intermediate container 3dc13672557a 05:04:05 ---> f2276bb5a31d 05:04:05 Step 22/22 : LABEL version=0.0.0 05:04:05 ---> Running in 2063ce8bbafd 05:04:05 Removing intermediate container 2063ce8bbafd 05:04:05 ---> c5d53ab3f33f 05:04:05 [Warning] One or more build-args [ARCH] were not consumed 05:04:05 Successfully built c5d53ab3f33f 05:04:05 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:04:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:04:06 05:04:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:04:06 latest: Pulling from edgex-lftools-log-publisher 05:04:06 5eb5b503b376: Pulling fs layer 05:04:06 5c69ac0246d0: Pulling fs layer 05:04:06 ec43610c2a17: Pulling fs layer 05:04:06 3a2ae6a8a46f: Pulling fs layer 05:04:06 33b1e0a273af: Pulling fs layer 05:04:06 5d3b04190fa2: Pulling fs layer 05:04:06 2f39f015ded8: Pulling fs layer 05:04:06 33b1e0a273af: Waiting 05:04:06 5d3b04190fa2: Waiting 05:04:06 2f39f015ded8: Waiting 05:04:06 3a2ae6a8a46f: Waiting 05:04:06 5c69ac0246d0: Verifying Checksum 05:04:06 5c69ac0246d0: Download complete 05:04:06 3a2ae6a8a46f: Download complete 05:04:06 33b1e0a273af: Verifying Checksum 05:04:06 33b1e0a273af: Download complete 05:04:06 5d3b04190fa2: Verifying Checksum 05:04:06 5d3b04190fa2: Download complete 05:04:06 ec43610c2a17: Verifying Checksum 05:04:06 ec43610c2a17: Download complete 05:04:06 5eb5b503b376: Verifying Checksum 05:04:06 5eb5b503b376: Download complete 05:04:07 2f39f015ded8: Download complete 05:04:07 5eb5b503b376: Pull complete 05:04:08 5c69ac0246d0: Pull complete 05:04:08 ec43610c2a17: Pull complete 05:04:08 3a2ae6a8a46f: Pull complete 05:04:09 33b1e0a273af: Pull complete 05:04:09 5d3b04190fa2: Pull complete 05:04:13 2f39f015ded8: Pull complete 05:04:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:04:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:04:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:13 prd-ubuntu20.04-docker-8c-8g-139 does not seem to be running inside a container 05:04:13 $ 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-393 -v /w/workspace/xfoundry_device-modbus-go_PR-393:/w/workspace/xfoundry_device-modbus-go_PR-393:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-393@tmp:/w/workspace/xfoundry_device-modbus-go_PR-393@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:04:15 $ docker top 84263c3e64a93939c87971338814a0f4b4e323332bb7f1ba8a8d4210a54f987a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:16 ---> job-cost.sh 05:04:16 lf-activate-venv: SKIPPING 05:04:16 INFO: No Stack... 05:04:16 INFO: Retrieving Pricing Info for: v3-standard-8 05:04:16 INFO: Archiving Costs [Pipeline] sh 05:04:17 + cat /w/workspace/xfoundry_device-modbus-go_PR-393/archives/cost.csv 05:04:17 + cut -d, -f6 [Pipeline] lock 05:04:17 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-393-1-stack-cost] 05:04:17 Resource [jenkins-edgexfoundry-device-modbus-go-PR-393-1-stack-cost] did not exist. Created. 05:04:17 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-393-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:04:17 + echo total: 0.2199999988079071 [Pipeline] stash 05:04:17 Stashed 1 file(s) [Pipeline] } 05:04:17 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-393-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:04:17 $ docker stop --time=1 84263c3e64a93939c87971338814a0f4b4e323332bb7f1ba8a8d4210a54f987a 05:04:18 $ docker rm -f --volumes 84263c3e64a93939c87971338814a0f4b4e323332bb7f1ba8a8d4210a54f987a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:04:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-140 in /w/workspace/xfoundry_device-modbus-go_PR-393 [Pipeline] { [Pipeline] ws 05:04:23 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:04:23 Selected Git installation does not exist. Using Default 05:04:23 The recommended git tool is: NONE 05:04:29 using credential edgex-jenkins-ssh 05:04:29 Cloning the remote Git repository 05:04:29 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:04:29 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:04:29 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:04:29 > git --version # timeout=10 05:04:29 > git --version # 'git version 2.25.1' 05:04:29 using GIT_SSH to set credentials SSH Credentials for GitHub 05:04:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:04:30 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:04:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:04:31 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:04:31 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:04:31 using GIT_SSH to set credentials SSH Credentials for GitHub 05:04:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/393/head:refs/remotes/origin/PR-393 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:04:31 Merging remotes/origin/main commit e06bb49e1a76cfe96378d9ace2c77329ab7864d7 into PR head commit 8c486bd52dafe3a5edac9ed89de69b65e36258c8 05:04:32 Merge succeeded, producing 8c486bd52dafe3a5edac9ed89de69b65e36258c8 05:04:32 Checking out Revision 8c486bd52dafe3a5edac9ed89de69b65e36258c8 (PR-393) 05:04:32 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 05:04:32 > git --version # timeout=10 05:04:32 > git --version # 'git version 2.25.1' 05:04:32 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:04:31 > git config core.sparsecheckout # timeout=10 05:04:31 > git checkout -f 8c486bd52dafe3a5edac9ed89de69b65e36258c8 # timeout=10 05:04:31 > git remote # timeout=10 05:04:31 > git config --get remote.origin.url # timeout=10 05:04:31 using GIT_SSH to set credentials SSH Credentials for GitHub 05:04:31 > git merge e06bb49e1a76cfe96378d9ace2c77329ab7864d7 # timeout=10 05:04:32 > git rev-parse HEAD^{commit} # timeout=10 05:04:32 > git config core.sparsecheckout # timeout=10 05:04:32 > git checkout -f 8c486bd52dafe3a5edac9ed89de69b65e36258c8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:04:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:04:33 % Total % Received % Xferd Average Speed Time Time Time Current 05:04:33 Dload Upload Total Spent Left Speed 05:04:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh 05:04:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:04:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:04:34 + sudo tee /etc/docker/daemon.new 05:04:34 { 05:04:34 "registry-mirrors": [ 05:04:34 "https://nexus3.edgexfoundry.org:10001" 05:04:34 ], 05:04:34 "bip": "10.250.0.254/24", 05:04:34 "hosts": [ 05:04:34 "tcp://0.0.0.0:5555", 05:04:34 "unix:///var/run/docker.sock" 05:04:34 ], 05:04:34 "mtu": 1458, 05:04:34 "selinux-enabled": true, 05:04:34 "seccomp-profile": "/etc/docker/seccomp.json" 05:04:34 } [Pipeline] sh 05:04:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:04:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:04:53 provisioning config files... 05:04:53 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config968219364897047889tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:54 ---> docker-login.sh 05:04:54 nexus3.edgexfoundry.org:10001 05:04:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:54 Configure a credential helper to remove this warning. See 05:04:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:54 05:04:54 Login Succeeded 05:04:54 nexus3.edgexfoundry.org:10002 05:04:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:55 Configure a credential helper to remove this warning. See 05:04:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:55 05:04:55 Login Succeeded 05:04:55 nexus3.edgexfoundry.org:10003 05:04:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:55 Configure a credential helper to remove this warning. See 05:04:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:55 05:04:55 Login Succeeded 05:04:55 nexus3.edgexfoundry.org:10004 05:04:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:55 Configure a credential helper to remove this warning. See 05:04:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:55 05:04:55 Login Succeeded 05:04:55 docker.io 05:04:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:56 Configure a credential helper to remove this warning. See 05:04:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:56 05:04:56 Login Succeeded 05:04:56 ---> docker-login.sh ends [Pipeline] } 05:04:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:04:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:04:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:04:56 ========================================================= 05:04:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:04:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04: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:04:57 Sending build context to Docker daemon 3.279MB 05:04:57 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 05:04:57 Step 2/10 : FROM ${BASE} AS builder 05:04:57 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:04:57 9b18e9b68314: Pulling fs layer 05:04:57 35d82f9e3411: Pulling fs layer 05:04:57 e16973657156: Pulling fs layer 05:04:57 fc693d55d65f: Pulling fs layer 05:04:57 7e9fc2657dce: Pulling fs layer 05:04:57 dda99020689f: Pulling fs layer 05:04:57 db1c61fa0a46: Pulling fs layer 05:04:57 891c053d2c06: Pulling fs layer 05:04:57 7e9fc2657dce: Waiting 05:04:57 dda99020689f: Waiting 05:04:57 db1c61fa0a46: Waiting 05:04:57 891c053d2c06: Waiting 05:04:57 fc693d55d65f: Waiting 05:04:57 e16973657156: Verifying Checksum 05:04:57 e16973657156: Download complete 05:04:57 35d82f9e3411: Download complete 05:04:57 7e9fc2657dce: Verifying Checksum 05:04:57 7e9fc2657dce: Download complete 05:04:57 dda99020689f: Verifying Checksum 05:04:57 dda99020689f: Download complete 05:04:57 9b18e9b68314: Verifying Checksum 05:04:57 9b18e9b68314: Download complete 05:04:58 9b18e9b68314: Pull complete 05:04:59 891c053d2c06: Verifying Checksum 05:04:59 891c053d2c06: Download complete 05:04:59 35d82f9e3411: Pull complete 05:04:59 e16973657156: Pull complete 05:05:00 db1c61fa0a46: Verifying Checksum 05:05:00 db1c61fa0a46: Download complete 05:05:00 fc693d55d65f: Verifying Checksum 05:05:00 fc693d55d65f: Download complete 05:05:13 fc693d55d65f: Pull complete 05:05:13 7e9fc2657dce: Pull complete 05:05:13 dda99020689f: Pull complete 05:05:18 db1c61fa0a46: Pull complete 05:05:20 891c053d2c06: Pull complete 05:05:20 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 05:05:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:05:20 ---> f96f9c87975a 05:05:20 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:05:22 ---> Running in 92a4550bf1e8 05:05:22 Removing intermediate container 92a4550bf1e8 05:05:22 ---> aeb8a4a89cc7 05:05:22 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:05:22 ---> Running in a4ab843c7310 05:05:23 Removing intermediate container a4ab843c7310 05:05:23 ---> 5b97eebf1188 05:05:23 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:05:23 ---> Running in 7a02866cdaef 05:05:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:05:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:05:25 (1/8) Installing openssh-keygen (9.0_p1-r2) 05:05:25 (2/8) Installing libedit (20210910.3.1-r0) 05:05:25 (3/8) Installing openssh-client-common (9.0_p1-r2) 05:05:25 (4/8) Installing openssh-client-default (9.0_p1-r2) 05:05:25 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 05:05:25 (6/8) Installing openssh-server-common (9.0_p1-r2) 05:05:25 (7/8) Installing openssh-server (9.0_p1-r2) 05:05:25 (8/8) Installing openssh (9.0_p1-r2) 05:05:25 Executing busybox-1.35.0-r17.trigger 05:05:25 OK: 228 MiB in 59 packages 05:05:26 Removing intermediate container 7a02866cdaef 05:05:26 ---> 85aa6569060e 05:05:26 Step 6/10 : WORKDIR /device-modbus-go 05:05:26 ---> Running in de89f494af09 05:05:27 Removing intermediate container de89f494af09 05:05:27 ---> fe32694ba774 05:05:27 Step 7/10 : COPY go.mod vendor* ./ 05:05:29 ---> dc4375cc4de3 05:05:29 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:05:29 ---> Running in 1dfb611e4475 05:06:25 Removing intermediate container 1dfb611e4475 05:06:25 ---> 95fb57f30311 05:06:25 Step 9/10 : COPY . . 05:06:25 ---> 2e4c87f68191 05:06:25 Step 10/10 : RUN ${MAKE} 05:06:25 ---> Running in 389f5c2ff0b3 05:06:25 noop 05:06:25 Removing intermediate container 389f5c2ff0b3 05:06:25 ---> 6917549d5805 05:06:25 Successfully built 6917549d5805 05:06:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:26 + docker inspect -f . ci-base-image-arm64 05:06:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:06:26 prd-ubuntu20.04-docker-arm64-4c-16g-140 does not seem to be running inside a container 05:06:26 $ 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:06:27 $ docker top 3cac40346f000fd1810b7fab6e6317a799fc34cd2df007916ed082aac6aa490f -eo pid,comm [Pipeline] { [Pipeline] sh 05:06:28 + go version 05:06:28 go version go1.18.7 linux/arm64 [Pipeline] } 05:06:28 $ docker stop --time=1 3cac40346f000fd1810b7fab6e6317a799fc34cd2df007916ed082aac6aa490f 05:06:30 $ docker rm -f --volumes 3cac40346f000fd1810b7fab6e6317a799fc34cd2df007916ed082aac6aa490f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:30 + docker inspect -f . ci-base-image-arm64 05:06:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:06:31 prd-ubuntu20.04-docker-arm64-4c-16g-140 does not seem to be running inside a container 05:06:31 $ 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:06:32 $ docker top 84b47aa96811f766e1a679562211011f9a0aa0f69bf881711f98a3f9f995bd06 -eo pid,comm [Pipeline] { [Pipeline] sh 05:06:33 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 05:06:34 + make test 05:06:34 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:06:35 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:07:59 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:07:59 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.062s coverage: 47.7% of statements 05:07:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:07:59 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:08:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:08:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:08:14 ./bin/test-attribution-txt.sh [Pipeline] echo 05:08:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:08:14 $ docker stop --time=1 84b47aa96811f766e1a679562211011f9a0aa0f69bf881711f98a3f9f995bd06 05:08:16 $ docker rm -f --volumes 84b47aa96811f766e1a679562211011f9a0aa0f69bf881711f98a3f9f995bd06 [Pipeline] // withDockerContainer [Pipeline] sh 05:08:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:08:17 Warning: overwriting stash ‘coverage-report’ 05:08:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:08:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:08:18 + ls -al . 05:08:18 total 192 05:08:18 drwxrwxr-x 9 jenkins jenkins 4096 Dec 19 05:06 . 05:08:18 drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 05:04 .. 05:08:18 -rw-rw-r-- 1 jenkins jenkins 140 Dec 19 05:04 .dockerignore 05:08:18 drwxrwxr-x 8 jenkins jenkins 4096 Dec 19 05:04 .git 05:08:18 drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 05:04 .github 05:08:18 -rw-rw-r-- 1 jenkins jenkins 331 Dec 19 05:04 .gitignore 05:08:18 -rw-rw-r-- 1 jenkins jenkins 41 Dec 19 05:04 .golangci.yml 05:08:18 -rw-rw-r-- 1 jenkins jenkins 10121 Dec 19 05:04 Attribution.txt 05:08:18 -rw-rw-r-- 1 jenkins jenkins 11576 Dec 19 05:04 CHANGELOG.md 05:08:18 -rw-rw-r-- 1 jenkins jenkins 1428 Dec 19 05:04 Dockerfile 05:08:18 -rw-rw-r-- 1 jenkins jenkins 677 Dec 19 05:04 GOVERNANCE.md 05:08:18 -rw-rw-r-- 1 jenkins jenkins 680 Dec 19 05:04 Jenkinsfile 05:08:18 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 19 05:04 LICENSE 05:08:18 -rw-rw-r-- 1 jenkins jenkins 2101 Dec 19 05:04 Makefile 05:08:18 -rw-rw-r-- 1 jenkins jenkins 622 Dec 19 05:04 OWNERS.md 05:08:18 -rw-rw-r-- 1 jenkins jenkins 4061 Dec 19 05:04 README.md 05:08:18 -rw-rw-r-- 1 jenkins jenkins 5 Dec 19 05:02 VERSION 05:08:18 drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 05:04 bin 05:08:18 drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 05:04 cmd 05:08:18 -rw-r--r-- 1 jenkins jenkins 23241 Dec 19 05:07 coverage.out 05:08:18 -rw-rw-r-- 1 jenkins jenkins 3584 Dec 19 05:04 go.mod 05:08:18 -rw-rw-r-- 1 jenkins jenkins 45355 Dec 19 05:04 go.sum 05:08:18 drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 05:04 internal 05:08:18 drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 05:04 simulator 05:08:18 drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 05:04 snap 05:08:18 -rw-rw-r-- 1 jenkins jenkins 229 Dec 19 05:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:18 + 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=8c486bd52dafe3a5edac9ed89de69b65e36258c8 --label arch=arm64 --label version=0.0.0 . 05:08:19 Sending build context to Docker daemon 3.303MB 05:08:19 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 05:08:19 Step 2/22 : FROM ${BASE} AS builder 05:08:19 ---> 6917549d5805 05:08:19 Step 3/22 : ARG ADD_BUILD_TAGS="" 05:08:19 ---> Running in a83814339226 05:08:19 Removing intermediate container a83814339226 05:08:19 ---> 395db68f306f 05:08:19 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:08:19 ---> Running in fd92ca4080d1 05:08:19 Removing intermediate container fd92ca4080d1 05:08:19 ---> d6380ec8c176 05:08:19 Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:08:19 ---> Running in 4a4cee42d739 05:08:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:08:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:08:22 OK: 228 MiB in 59 packages 05:08:23 Removing intermediate container 4a4cee42d739 05:08:23 ---> 961f809ffa7e 05:08:23 Step 6/22 : WORKDIR /device-modbus-go 05:08:23 ---> Running in 96cdee0f422d 05:08:23 Removing intermediate container 96cdee0f422d 05:08:23 ---> 8333d6a29ece 05:08:23 Step 7/22 : COPY go.mod vendor* ./ 05:08:23 ---> 00092a2047df 05:08:23 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:08:23 ---> Running in d685abcc4977 05:08:25 Removing intermediate container d685abcc4977 05:08:25 ---> db2ca9cd655b 05:08:25 Step 9/22 : COPY . . 05:08:26 ---> f689352190ba 05:08:26 Step 10/22 : RUN ${MAKE} 05:08:26 ---> Running in 4959e4760ba1 05:08:27 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:11:04 Removing intermediate container 4959e4760ba1 05:11:04 ---> 0394aa761976 05:11:04 Step 11/22 : FROM alpine:3.14 05:11:04 3.14: Pulling from library/alpine 05:11:04 90cda3b7c325: Pulling fs layer 05:11:04 90cda3b7c325: Verifying Checksum 05:11:04 90cda3b7c325: Download complete 05:11:04 90cda3b7c325: Pull complete 05:11:04 Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a 05:11:04 Status: Downloaded newer image for alpine:3.14 05:11:04 ---> 275902a1839d 05:11:04 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:11:04 ---> Running in d56bc9c2d43e 05:11:04 Removing intermediate container d56bc9c2d43e 05:11:04 ---> 676e38156f86 05:11:04 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 05:11:04 ---> Running in 6c3a7aaa674c 05:11:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:11:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:11:04 (1/6) Installing dumb-init (1.2.5-r1) 05:11:04 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:11:04 (3/6) Installing libsodium (1.0.18-r0) 05:11:04 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:11:04 (5/6) Installing libzmq (4.3.4-r0) 05:11:04 (6/6) Installing zeromq (4.3.4-r0) 05:11:04 Executing busybox-1.33.1-r8.trigger 05:11:04 OK: 8 MiB in 20 packages 05:11:04 Removing intermediate container 6c3a7aaa674c 05:11:04 ---> 27beb43c7327 05:11:04 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:11:04 ---> 528c3cb279e2 05:11:04 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:11:04 ---> a4590b10db07 05:11:04 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:11:04 ---> a68b3d0eb5ea 05:11:04 Step 17/22 : EXPOSE 59901 05:11:04 ---> Running in 3a90ed617e02 05:11:04 Removing intermediate container 3a90ed617e02 05:11:04 ---> 337f7263eef3 05:11:04 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:11:04 ---> Running in 3c89c2d10fe2 05:11:04 Removing intermediate container 3c89c2d10fe2 05:11:04 ---> 9a0510dba476 05:11:04 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:11:04 ---> Running in 8ee0ddd82f53 05:11:04 Removing intermediate container 8ee0ddd82f53 05:11:04 ---> ac9ed23b368e 05:11:04 Step 20/22 : LABEL arch=arm64 05:11:04 ---> Running in be3c0205bb6e 05:11:04 Removing intermediate container be3c0205bb6e 05:11:04 ---> 64bc20747d3d 05:11:04 Step 21/22 : LABEL git_sha=8c486bd52dafe3a5edac9ed89de69b65e36258c8 05:11:04 ---> Running in ecb387dccbdb 05:11:04 Removing intermediate container ecb387dccbdb 05:11:04 ---> e05d29b85297 05:11:04 Step 22/22 : LABEL version=0.0.0 05:11:04 ---> Running in f99e42ca40f8 05:11:04 Removing intermediate container f99e42ca40f8 05:11:04 ---> 341987c16d76 05:11:04 [Warning] One or more build-args [ARCH] were not consumed 05:11:04 Successfully built 341987c16d76 05:11:04 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:11:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:11:05 05:11:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:11:05 arm64: Pulling from edgex-lftools-log-publisher 05:11:05 8998bd30e6a1: Pulling fs layer 05:11:05 04944245beec: Pulling fs layer 05:11:05 699f458cf7ca: Pulling fs layer 05:11:05 765212b225bb: Pulling fs layer 05:11:05 f23df028b6ca: Pulling fs layer 05:11:05 d65c8cfc05b1: Pulling fs layer 05:11:05 2437ff75d9bd: Pulling fs layer 05:11:05 765212b225bb: Waiting 05:11:05 f23df028b6ca: Waiting 05:11:05 d65c8cfc05b1: Waiting 05:11:05 2437ff75d9bd: Waiting 05:11:05 04944245beec: Verifying Checksum 05:11:05 04944245beec: Download complete 05:11:05 765212b225bb: Verifying Checksum 05:11:05 765212b225bb: Download complete 05:11:05 f23df028b6ca: Download complete 05:11:05 d65c8cfc05b1: Verifying Checksum 05:11:05 d65c8cfc05b1: Download complete 05:11:05 699f458cf7ca: Verifying Checksum 05:11:05 699f458cf7ca: Download complete 05:11:06 8998bd30e6a1: Verifying Checksum 05:11:06 8998bd30e6a1: Download complete 05:11:08 2437ff75d9bd: Verifying Checksum 05:11:08 2437ff75d9bd: Download complete 05:11:10 8998bd30e6a1: Pull complete 05:11:10 04944245beec: Pull complete 05:11:12 699f458cf7ca: Pull complete 05:11:12 765212b225bb: Pull complete 05:11:14 f23df028b6ca: Pull complete 05:11:14 d65c8cfc05b1: Pull complete 05:11:29 2437ff75d9bd: Pull complete 05:11:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:11:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:11:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:11:29 prd-ubuntu20.04-docker-arm64-4c-16g-140 does not seem to be running inside a container 05:11:29 $ 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:11:32 $ docker top 9902faec83a1a392bbdea8988eeebf2e7114490ffd2ddd0f496850323a5abf4d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:11:33 ---> job-cost.sh 05:11:33 lf-activate-venv: SKIPPING 05:11:33 INFO: No Stack... 05:11:33 INFO: Retrieving Pricing Info for: v3-standard-4 05:11:34 INFO: Archiving Costs [Pipeline] sh 05:11:35 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 05:11:35 + cut -d, -f6 [Pipeline] lock 05:11:35 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-393-1-stack-cost] 05:11:35 Resource [jenkins-edgexfoundry-device-modbus-go-PR-393-1-stack-cost] did not exist. Created. 05:11:35 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-393-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:11:35 /w/workspace/device-modbus-go/1@tmp/durable-63eeb41f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:11:36 + echo total: 0.10999999940395355 [Pipeline] stash 05:11:36 Warning: overwriting stash ‘stack-cost’ 05:11:36 Stashed 1 file(s) [Pipeline] } 05:11:36 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-393-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:11:36 $ docker stop --time=1 9902faec83a1a392bbdea8988eeebf2e7114490ffd2ddd0f496850323a5abf4d 05:11:38 $ docker rm -f --volumes 9902faec83a1a392bbdea8988eeebf2e7114490ffd2ddd0f496850323a5abf4d [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:11:39 provisioning config files... 05:11:39 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-393@tmp/config2199100309962560682tmp [Pipeline] { [Pipeline] sh 05:11:40 + set +x 05:11:40 + curl -s https://codecov.io/bash 05:11:40 + bash -s -- 05:11:40 05:11:40 _____ _ 05:11:40 / ____| | | 05:11:40 | | ___ __| | ___ ___ _____ __ 05:11:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:11:40 | |___| (_) | (_| | __/ (_| (_) \ V / 05:11:40 \_____\___/ \__,_|\___|\___\___/ \_/ 05:11:40 Bash-1.0.6 05:11:40 05:11:40 05:11:40 ==> git version 2.25.1 found 05:11:40 ==> 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:11:40 Release-Date: 2020-01-08 05:11:40 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:11:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:11:40 ==> Jenkins CI detected. 05:11:40 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-393 05:11:40 project root: . 05:11:40 --> token set from env 05:11:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:11:40 ==> Running gcov in . (disable via -X gcov) 05:11:40 ==> Python coveragepy not found 05:11:40 ==> Searching for coverage reports in: 05:11:40 + . 05:11:40 -> Found 1 reports 05:11:40 ==> Detecting git/mercurial file structure 05:11:40 ==> Reading reports 05:11:40 + ./coverage.out bytes=23241 05:11:40 ==> Appending adjustments 05:11:40 https://docs.codecov.io/docs/fixing-reports 05:11:40 + Found adjustments 05:11:40 ==> Gzipping contents 05:11:40 4.0K /tmp/codecov.ixGDp1.gz 05:11:40 ==> Uploading reports 05:11:40 url: https://codecov.io 05:11:40 query: branch=PR-393&commit=8c486bd52dafe3a5edac9ed89de69b65e36258c8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-393%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=393&job=&cmd_args= 05:11:40 -> Pinging Codecov 05:11:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-393&commit=8c486bd52dafe3a5edac9ed89de69b65e36258c8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-393%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=393&job=&cmd_args= 05:11:40 -> Uploading to 05:11:40 https://storage.googleapis.com/codecov/v4/raw/2022-12-19/55DBCA73C666E3227836607328DD7E49/8c486bd52dafe3a5edac9ed89de69b65e36258c8/68a93cb4-de11-477f-95ac-6e84b7fb213c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221219%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221219T051140Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=644dd057b64802a2760ef196272cb31a19a9a32cb7c90677152766323ffd23e0 05:11:40 % Total % Received % Xferd Average Speed Time Time Time Current 05:11:40 Dload Upload Total Spent Left Speed 05:11:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3907 0 0 100 3907 0 17599 --:--:-- --:--:-- --:--:-- 17678 05:11:40 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/8c486bd52dafe3a5edac9ed89de69b65e36258c8 [Pipeline] } 05:11:40 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:11:42 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-393/archives ] 05:11:42 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-393/archives 05:11:42 total 16 05:11:42 drwxr-xr-x 3 root root 4096 Dec 19 05:04 . 05:11:42 drwxrwxr-x 11 jenkins jenkins 4096 Dec 19 05:04 .. 05:11:42 drwxr-xr-x 2 root root 4096 Dec 19 05:04 cost 05:11:42 -rw-r--r-- 1 root root 88 Dec 19 05:04 cost.csv 05:11:42 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-393/archives 05:11:42 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-393/archives 05:11:42 total 16 05:11:42 drwxr-xr-x 3 jenkins jenkins 4096 Dec 19 05:04 . 05:11:42 drwxrwxr-x 11 jenkins jenkins 4096 Dec 19 05:04 .. 05:11:42 drwxr-xr-x 2 jenkins jenkins 4096 Dec 19 05:04 cost 05:11:42 -rw-r--r-- 1 jenkins jenkins 88 Dec 19 05:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:11:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:11:43 ---> package-listing.sh 05:11:43 ++ facter osfamily 05:11:43 ++ tr '[:upper:]' '[:lower:]' 05:11:44 + OS_FAMILY=debian 05:11:44 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-393 05:11:44 + START_PACKAGES=/tmp/packages_start.txt 05:11:44 + END_PACKAGES=/tmp/packages_end.txt 05:11:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:11:44 + PACKAGES=/tmp/packages_start.txt 05:11:44 + '[' /w/workspace/xfoundry_device-modbus-go_PR-393 ']' 05:11:44 + PACKAGES=/tmp/packages_end.txt 05:11:44 + case "${OS_FAMILY}" in 05:11:44 + dpkg -l 05:11:44 + grep '^ii' 05:11:44 + '[' -f /tmp/packages_start.txt ']' 05:11:44 + '[' -f /tmp/packages_end.txt ']' 05:11:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:11:44 + '[' /w/workspace/xfoundry_device-modbus-go_PR-393 ']' 05:11:44 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-393/archives/ 05:11:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-393/archives/ [Pipeline] echo 05:11:44 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-393/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:11:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:11:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:11:45 prd-ubuntu20.04-docker-8c-8g-139 does not seem to be running inside a container 05:11:45 $ 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-393/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-393 -v /w/workspace/xfoundry_device-modbus-go_PR-393:/w/workspace/xfoundry_device-modbus-go_PR-393:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-393@tmp:/w/workspace/xfoundry_device-modbus-go_PR-393@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:11:45 $ docker top 34bc4de3de7de9ba5775505f08b46118ba5ff786c304fde22b45e505a632a598 -eo pid,comm [Pipeline] { [Pipeline] sh 05:11:45 + touch /tmp/pre-build-complete [Pipeline] sh 05:11:46 + mkdir -p /var/log/sysstat [Pipeline] sh 05:11:46 + ls /var/log/sa-host 05:11:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:11:46 provisioning config files... 05:11:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-393@tmp/config9684500595886632051tmp [Pipeline] { [Pipeline] echo 05:11:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:11:47 ---> create-netrc.sh [Pipeline] } 05:11:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:11:47 ---> python-tools-install.sh [Pipeline] echo 05:11:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:11:47 ---> sudo-logs.sh 05:11:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:11:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:11:48 ---> job-cost.sh 05:11:48 lf-activate-venv: SKIPPING 05:11:48 DEBUG: total: 0.2199999988079071 05:11:48 INFO: Retrieving Stack Cost... 05:11:48 INFO: Retrieving Pricing Info for: v3-standard-8 05:11:49 INFO: Archiving Costs [Pipeline] echo 05:11:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:11:49 ---> logs-deploy.sh 05:11:49 lf-activate-venv: SKIPPING 05:11:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-393/1 05:11:49 INFO: archiving workspace using pattern(s): 05:11:50 Archives upload complete. 05:11:50 INFO: archiving logs to Nexus 05:11:51 ---> uname -a: 05:11:51 Linux prd-ubuntu20-04-docker-8c-8g-139 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 05:11:51 05:11:51 05:11:51 ---> lscpu: 05:11:51 Architecture: x86_64 05:11:51 CPU op-mode(s): 32-bit, 64-bit 05:11:51 Byte Order: Little Endian 05:11:51 Address sizes: 40 bits physical, 48 bits virtual 05:11:51 CPU(s): 8 05:11:51 On-line CPU(s) list: 0-7 05:11:51 Thread(s) per core: 1 05:11:51 Core(s) per socket: 1 05:11:51 Socket(s): 8 05:11:51 NUMA node(s): 1 05:11:51 Vendor ID: AuthenticAMD 05:11:51 CPU family: 23 05:11:51 Model: 49 05:11:51 Model name: AMD EPYC-Rome Processor 05:11:51 Stepping: 0 05:11:51 CPU MHz: 2799.998 05:11:51 BogoMIPS: 5599.99 05:11:51 Virtualization: AMD-V 05:11:51 Hypervisor vendor: KVM 05:11:51 Virtualization type: full 05:11:51 L1d cache: 256 KiB 05:11:51 L1i cache: 256 KiB 05:11:51 L2 cache: 4 MiB 05:11:51 L3 cache: 128 MiB 05:11:51 NUMA node0 CPU(s): 0-7 05:11:51 Vulnerability Itlb multihit: Not affected 05:11:51 Vulnerability L1tf: Not affected 05:11:51 Vulnerability Mds: Not affected 05:11:51 Vulnerability Meltdown: Not affected 05:11:51 Vulnerability Mmio stale data: Not affected 05:11:51 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:11:51 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 05:11:51 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 05:11:51 Vulnerability Srbds: Not affected 05:11:51 Vulnerability Tsx async abort: Not affected 05:11:51 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:11:51 05:11:51 05:11:51 ---> nproc: 05:11:51 8 05:11:51 05:11:51 05:11:51 ---> df -h: 05:11:51 Filesystem Size Used Avail Use% Mounted on 05:11:51 overlay 155G 12G 144G 8% / 05:11:51 tmpfs 64M 0 64M 0% /dev 05:11:51 tmpfs 16G 0 16G 0% /sys/fs/cgroup 05:11:51 shm 64M 0 64M 0% /dev/shm 05:11:51 /dev/vda1 155G 12G 144G 8% /facter-os 05:11:51 05:11:51 05:11:51 ---> sar -b -r -n DEV: 05:11:51 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-139) 12/19/22 _x86_64_ (8 CPU) 05:11:51 05:11:51 05:01:30 LINUX RESTART (8 CPU) 05:11:51 05:11:51 05:02:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 05:11:51 05:03:01 163.72 15.83 147.89 0.00 1920.08 119004.70 0.00 05:11:51 05:04:01 130.99 0.15 130.84 0.00 4.53 40282.35 0.00 05:11:51 05:05:01 84.52 0.05 84.47 0.00 4.40 19667.26 0.00 05:11:51 05:06:01 1.33 0.00 1.33 0.00 0.00 15.61 0.00 05:11:51 05:07:01 52.17 10.56 41.61 0.00 5154.74 8677.89 0.00 05:11:51 05:08:02 6.42 0.20 6.22 0.00 18.66 129.45 0.00 05:11:51 05:09:01 1.52 0.00 1.52 0.00 0.00 17.08 0.00 05:11:51 05:10:01 2.00 0.00 2.00 0.00 0.00 21.60 0.00 05:11:51 05:11:01 0.95 0.00 0.95 0.00 0.00 11.60 0.00 05:11:51 Average: 49.38 2.98 46.40 0.00 790.59 20907.63 0.00 05:11:51 05:11:51 05:02:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:11:51 05:03:01 28233728 31563600 743300 2.26 123284 3400852 2063476 6.08 1160948 3037820 305704 05:11:51 05:04:01 28306508 31557428 743980 2.26 140320 3319876 1884420 5.55 1187384 2947192 1164 05:11:51 05:05:01 27786132 31578680 721164 2.19 150916 3798980 1754016 5.17 1212620 3386956 160 05:11:51 05:06:01 27785972 31578548 720992 2.19 150940 3798984 1754016 5.17 1212456 3386960 164 05:11:51 05:07:01 27266488 31561668 720672 2.19 184024 4253048 1819380 5.36 1531188 3551832 972 05:11:51 05:08:02 27271820 31562956 719192 2.19 182584 4250472 1817120 5.36 1528820 3549188 180 05:11:51 05:09:01 27273844 31565020 717092 2.18 182608 4250476 1817120 5.36 1526996 3549192 8 05:11:51 05:10:01 27274088 31565316 716832 2.18 182656 4250476 1817120 5.36 1527060 3549192 8 05:11:51 05:11:01 27274300 31565572 716428 2.18 182668 4250484 1817120 5.36 1527088 3549196 8 05:11:51 Average: 27608098 31566532 724406 2.20 164444 3952628 1838199 5.42 1379396 3389725 34263 05:11:51 05:11:51 05:02:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:11:51 05:03:01 lo 6.53 6.53 0.63 0.63 0.00 0.00 0.00 0.00 05:11:51 05:03:01 docker0 153.71 223.16 12.97 1837.78 0.00 0.00 0.00 0.00 05:11:51 05:03:01 ens3 665.62 470.67 7830.38 83.70 0.00 0.00 0.00 0.00 05:11:51 05:04:01 lo 1.00 1.00 0.09 0.09 0.00 0.00 0.00 0.00 05:11:51 05:04:01 docker0 1.40 2.87 0.09 40.50 0.00 0.00 0.00 0.00 05:11:51 05:04:01 ens3 52.57 43.96 79.81 97.56 0.00 0.00 0.00 0.00 05:11:51 05:05:01 lo 1.13 1.13 0.11 0.11 0.00 0.00 0.00 0.00 05:11:51 05:05:01 docker0 2.20 4.05 0.15 51.48 0.00 0.00 0.00 0.00 05:11:51 05:05:01 ens3 120.08 75.22 2621.83 12.49 0.00 0.00 0.00 0.00 05:11:51 05:06:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:11:51 05:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:11:51 05:06:01 ens3 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 05:11:51 05:07:01 lo 0.53 0.53 0.05 0.05 0.00 0.00 0.00 0.00 05:11:51 05:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:11:51 05:07:01 ens3 121.73 67.91 2746.41 4.95 0.00 0.00 0.00 0.00 05:11:51 05:08:02 lo 0.27 0.27 0.02 0.02 0.00 0.00 0.00 0.00 05:11:51 05:08:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:11:51 05:08:02 ens3 0.55 0.50 0.13 0.05 0.00 0.00 0.00 0.00 05:11:51 05:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:11:51 05:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:11:51 05:09:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:11:51 05:10:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:11:51 05:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:11:51 05:10:01 ens3 0.12 0.12 0.01 0.01 0.00 0.00 0.00 0.00 05:11:51 05:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:11:51 05:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:11:51 05:11:01 ens3 0.03 0.02 0.00 0.00 0.00 0.00 0.00 0.00 05:11:51 Average: lo 1.10 1.10 0.10 0.10 0.00 0.00 0.00 0.00 05:11:51 Average: docker0 17.51 25.61 1.47 214.81 0.00 0.00 0.00 0.00 05:11:51 Average: ens3 106.96 73.30 1478.08 22.13 0.00 0.00 0.00 0.00 05:11:51 05:11:51 05:11:51 ---> sar -P ALL: 05:11:51 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-139) 12/19/22 _x86_64_ (8 CPU) 05:11:51 05:11:51 05:01:30 LINUX RESTART (8 CPU) 05:11:51 05:11:51 05:02:01 CPU %user %nice %system %iowait %steal %idle 05:11:51 05:03:01 all 9.57 0.00 3.73 2.17 0.06 84.48 05:11:51 05:03:01 0 10.46 0.00 3.04 1.51 0.05 84.93 05:11:51 05:03:01 1 8.49 0.00 3.85 0.59 0.05 87.02 05:11:51 05:03:01 2 8.17 0.00 3.91 0.20 0.07 87.65 05:11:51 05:03:01 3 9.67 0.00 3.09 1.77 0.07 85.40 05:11:51 05:03:01 4 9.32 0.00 3.68 0.67 0.05 86.28 05:11:51 05:03:01 5 12.03 0.00 3.70 0.37 0.05 83.85 05:11:51 05:03:01 6 8.08 0.00 4.48 11.30 0.07 76.08 05:11:51 05:03:01 7 10.33 0.00 4.11 0.93 0.07 84.56 05:11:51 05:04:01 all 37.26 0.00 6.25 1.62 0.09 54.78 05:11:51 05:04:01 0 36.38 0.00 6.09 0.40 0.07 57.06 05:11:51 05:04:01 1 37.54 0.00 6.18 0.32 0.12 55.84 05:11:51 05:04:01 2 35.87 0.00 7.30 5.38 0.14 51.31 05:11:51 05:04:01 3 38.61 0.00 6.73 0.07 0.07 54.53 05:11:51 05:04:01 4 37.12 0.00 5.80 0.20 0.08 56.79 05:11:51 05:04:01 5 37.04 0.00 6.21 5.03 0.07 51.65 05:11:51 05:04:01 6 37.62 0.00 6.06 1.58 0.07 54.66 05:11:51 05:04:01 7 37.88 0.00 5.61 0.02 0.08 56.41 05:11:51 05:05:01 all 3.09 0.00 1.49 0.76 0.03 94.63 05:11:51 05:05:01 0 3.68 0.00 1.68 0.02 0.05 94.58 05:11:51 05:05:01 1 3.00 0.00 1.66 0.27 0.02 95.06 05:11:51 05:05:01 2 2.94 0.00 1.20 0.60 0.02 95.24 05:11:51 05:05:01 3 3.71 0.00 1.04 0.02 0.02 95.21 05:11:51 05:05:01 4 2.84 0.00 1.64 4.03 0.03 91.46 05:11:51 05:05:01 5 3.36 0.00 1.41 0.27 0.03 94.93 05:11:51 05:05:01 6 2.48 0.00 1.53 0.55 0.05 95.39 05:11:51 05:05:01 7 2.69 0.00 1.80 0.30 0.02 95.19 05:11:51 05:06:01 all 0.02 0.00 0.01 0.00 0.01 99.96 05:11:51 05:06:01 0 0.05 0.00 0.03 0.00 0.03 99.88 05:11:51 05:06:01 1 0.00 0.00 0.00 0.00 0.02 99.98 05:11:51 05:06:01 2 0.05 0.00 0.00 0.00 0.02 99.93 05:11:51 05:06:01 3 0.00 0.00 0.02 0.00 0.00 99.98 05:11:51 05:06:01 4 0.02 0.00 0.00 0.02 0.00 99.97 05:11:51 05:06:01 5 0.02 0.00 0.03 0.00 0.00 99.95 05:11:51 05:06:01 6 0.00 0.00 0.02 0.00 0.00 99.98 05:11:51 05:06:01 7 0.02 0.00 0.00 0.00 0.00 99.98 05:11:51 05:07:01 all 2.00 0.00 1.49 0.39 0.03 96.08 05:11:51 05:07:01 0 1.22 0.00 0.75 0.03 0.03 97.96 05:11:51 05:07:01 1 3.92 0.00 3.94 0.70 0.02 91.42 05:11:51 05:07:01 2 1.80 0.00 1.02 0.10 0.02 97.06 05:11:51 05:07:01 3 2.25 0.00 1.70 0.48 0.03 95.53 05:11:51 05:07:01 4 1.10 0.00 1.10 1.49 0.03 96.27 05:11:51 05:07:01 5 1.80 0.00 1.05 0.27 0.02 96.86 05:11:51 05:07:01 6 2.72 0.00 1.32 0.03 0.02 95.92 05:11:51 05:07:01 7 1.20 0.00 1.05 0.05 0.03 97.66 05:11:51 05:08:02 all 0.16 0.00 0.12 0.02 0.01 99.70 05:11:51 05:08:02 0 0.54 0.00 0.17 0.00 0.03 99.26 05:11:51 05:08:02 1 0.05 0.00 0.08 0.00 0.00 99.87 05:11:51 05:08:02 2 0.15 0.00 0.10 0.07 0.02 99.67 05:11:51 05:08:02 3 0.07 0.00 0.13 0.00 0.00 99.80 05:11:51 05:08:02 4 0.08 0.00 0.10 0.05 0.00 99.77 05:11:51 05:08:02 5 0.12 0.00 0.10 0.02 0.00 99.77 05:11:51 05:08:02 6 0.25 0.00 0.13 0.00 0.00 99.62 05:11:51 05:08:02 7 0.05 0.00 0.13 0.00 0.00 99.82 05:11:51 05:09:01 all 0.25 0.00 0.01 0.00 0.01 99.73 05:11:51 05:09:01 0 1.76 0.00 0.05 0.00 0.02 98.18 05:11:51 05:09:01 1 0.02 0.00 0.00 0.00 0.02 99.97 05:11:51 05:09:01 2 0.07 0.00 0.00 0.00 0.00 99.93 05:11:51 05:09:01 3 0.03 0.00 0.03 0.00 0.02 99.92 05:11:51 05:09:01 4 0.02 0.00 0.03 0.03 0.02 99.90 05:11:51 05:09:01 5 0.02 0.00 0.00 0.00 0.00 99.98 05:11:51 05:09:01 6 0.02 0.00 0.00 0.00 0.00 99.98 05:11:51 05:09:01 7 0.03 0.00 0.00 0.00 0.00 99.97 05:11:51 05:10:01 all 0.26 0.00 0.01 0.01 0.01 99.71 05:11:51 05:10:01 0 1.99 0.00 0.03 0.00 0.02 97.96 05:11:51 05:10:01 1 0.02 0.00 0.00 0.00 0.00 99.98 05:11:51 05:10:01 2 0.02 0.00 0.00 0.00 0.00 99.98 05:11:51 05:10:01 3 0.05 0.00 0.02 0.00 0.03 99.90 05:11:51 05:10:01 4 0.02 0.00 0.02 0.05 0.02 99.90 05:11:51 05:10:01 5 0.00 0.00 0.00 0.00 0.00 100.00 05:11:51 05:10:01 6 0.00 0.00 0.00 0.00 0.02 99.98 05:11:51 05:10:01 7 0.00 0.00 0.00 0.00 0.00 100.00 05:11:51 05:11:01 all 0.11 0.00 0.01 0.00 0.01 99.87 05:11:51 05:11:01 0 0.81 0.00 0.03 0.00 0.02 99.14 05:11:51 05:11:01 1 0.03 0.00 0.00 0.00 0.00 99.97 05:11:51 05:11:01 2 0.00 0.00 0.00 0.00 0.00 100.00 05:11:51 05:11:01 3 0.00 0.00 0.02 0.00 0.03 99.95 05:11:51 05:11:01 4 0.00 0.00 0.02 0.02 0.00 99.97 05:11:51 05:11:01 5 0.02 0.00 0.02 0.00 0.02 99.95 05:11:51 05:11:01 6 0.02 0.00 0.00 0.00 0.00 99.98 05:11:51 05:11:01 7 0.00 0.00 0.00 0.00 0.00 100.00 05:11:51 Average: all 5.83 0.00 1.45 0.55 0.03 92.15 05:11:51 Average: 0 6.28 0.00 1.31 0.22 0.04 92.16 05:11:51 Average: 1 5.88 0.00 1.74 0.21 0.03 92.14 05:11:51 Average: 2 5.41 0.00 1.49 0.70 0.03 92.37 05:11:51 Average: 3 6.01 0.00 1.42 0.26 0.03 92.28 05:11:51 Average: 4 5.59 0.00 1.37 0.73 0.03 92.29 05:11:51 Average: 5 6.01 0.00 1.38 0.66 0.02 91.93 05:11:51 Average: 6 5.66 0.00 1.50 1.49 0.02 91.34 05:11:51 Average: 7 5.77 0.00 1.40 0.14 0.02 92.66 05:11:51 05:11:51 05:11:51