Pull request #423 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a7e6e863d23005d6a8ad8f5bdf1629528c242a21+01efde03cde14ec0060c1876119bb983deb5481b (9ceff4005779f122335a0328f536bcb57996ffb3) 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-ssh9296325607667409142.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-ssh3913155701541433042.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-423/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-423/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3516081097505180273.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-423/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14903322063861419296.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-ssh7041858844468638522.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-423/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-423/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5400884986322633354.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-9849 in /w/workspace/xfoundry_device-modbus-go_PR-423 [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-423 # 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 > 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/423/head:refs/remotes/origin/PR-423 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 01efde03cde14ec0060c1876119bb983deb5481b into PR head commit a7e6e863d23005d6a8ad8f5bdf1629528c242a21 Merge succeeded, producing a7e6e863d23005d6a8ad8f5bdf1629528c242a21 Checking out Revision a7e6e863d23005d6a8ad8f5bdf1629528c242a21 (PR-423) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/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:58:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:58:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:58:16 ========================================================= 05:58:16 EdgeX Global Pipelines Version Info 05:58:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f a7e6e863d23005d6a8ad8f5bdf1629528c242a21 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 01efde03cde14ec0060c1876119bb983deb5481b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a7e6e863d23005d6a8ad8f5bdf1629528c242a21 # timeout=10 05:58:16 ------------------- 05:58:16 stable info: 05:58:16 ------------------- 05:58:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:58:16 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:58:16 Message: update stable to v1.0.244 05:58:17 ------------------- 05:58:17 experimental info: 05:58:17 ------------------- 05:58:17 Commited By: **** collab-it+edgex@linuxfoundation.org 05:58:17 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:58:17 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:58:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:58:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:58:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:58:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:58:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:58:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:58:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:58:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:58:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:58:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:58:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:58:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:58:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:58:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:58:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:58:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:58:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:58:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:58:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:58:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:58:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:58:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:58:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:58:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:58:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:58:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:58:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:58:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-423 [Pipeline] echo 05:58:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-423 [Pipeline] echo 05:58:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-423 [Pipeline] echo 05:58:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a7e6e863d23005d6a8ad8f5bdf1629528c242a21 [Pipeline] echo 05:58:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a7e6e86 [Pipeline] echo 05:58:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:58:19 provisioning config files... 05:58:19 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-423@tmp/config14297772709902413717tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:58:19 ---> docker-login.sh 05:58:19 nexus3.edgexfoundry.org:10001 05:58:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:19 Configure a credential helper to remove this warning. See 05:58:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:19 05:58:19 Login Succeeded 05:58:19 nexus3.edgexfoundry.org:10002 05:58:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:19 Configure a credential helper to remove this warning. See 05:58:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:19 05:58:19 Login Succeeded 05:58:19 nexus3.edgexfoundry.org:10003 05:58:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:19 Configure a credential helper to remove this warning. See 05:58:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:19 05:58:19 Login Succeeded 05:58:19 nexus3.edgexfoundry.org:10004 05:58:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:20 Configure a credential helper to remove this warning. See 05:58:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:20 05:58:20 Login Succeeded 05:58:20 docker.io 05:58:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:20 Configure a credential helper to remove this warning. See 05:58:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:20 05:58:20 Login Succeeded 05:58:20 ---> docker-login.sh ends [Pipeline] } 05:58:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:58:21 + git rev-list -1 --merges a7e6e863d23005d6a8ad8f5bdf1629528c242a21~1..a7e6e863d23005d6a8ad8f5bdf1629528c242a21 [Pipeline] echo 05:58:21 -----------> git rev-list -1 --merges a7e6e863d23005d6a8ad8f5bdf1629528c242a21~1..a7e6e863d23005d6a8ad8f5bdf1629528c242a21 a7e6e863d23005d6a8ad8f5bdf1629528c242a21 [false] [Pipeline] sh 05:58:21 + git log --format=format:%s -1 a7e6e863d23005d6a8ad8f5bdf1629528c242a21 [Pipeline] echo 05:58:21 ========================================================= 05:58:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:58:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:58:22 + git log --format=format:%s -1 a7e6e863d23005d6a8ad8f5bdf1629528c242a21 [Pipeline] echo 05:58:22 [semverPrep] GIT_COMMIT: a7e6e863d23005d6a8ad8f5bdf1629528c242a21, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 05:58:22 [semverPrep] This is not a build commit. [Pipeline] sh 05:58:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:58:22 + grep -v github /etc/ssh/ssh_known_hosts 05:58:22 + [ -e /tmp/ssh_known_hosts ] 05:58:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:58:22 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:58:22 + sudo tee -a /etc/ssh/ssh_known_hosts 05:58:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:58:22 05:58:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:58:23 0.1.4: Pulling from edgex-devops/py-git-semver 05:58:23 b85a868b505f: Pulling fs layer 05:58:23 e2be974225ed: Pulling fs layer 05:58:23 339a4e72a1f5: Pulling fs layer 05:58:23 988bab9f4d93: Pulling fs layer 05:58:23 1469e6f7b9e6: Pulling fs layer 05:58:23 eaf3925da568: Pulling fs layer 05:58:23 bab4dde63d76: Pulling fs layer 05:58:23 bde34c3a00c8: Pulling fs layer 05:58:23 b352a97aabf1: Pulling fs layer 05:58:23 4872d77fe225: Pulling fs layer 05:58:23 5851b861e8e6: Pulling fs layer 05:58:23 988bab9f4d93: Waiting 05:58:23 eaf3925da568: Waiting 05:58:23 bab4dde63d76: Waiting 05:58:23 b352a97aabf1: Waiting 05:58:23 4872d77fe225: Waiting 05:58:23 5851b861e8e6: Waiting 05:58:23 bde34c3a00c8: Waiting 05:58:23 e2be974225ed: Verifying Checksum 05:58:23 e2be974225ed: Download complete 05:58:23 988bab9f4d93: Verifying Checksum 05:58:23 1469e6f7b9e6: Verifying Checksum 05:58:23 1469e6f7b9e6: Download complete 05:58:23 eaf3925da568: Verifying Checksum 05:58:23 eaf3925da568: Download complete 05:58:23 339a4e72a1f5: Verifying Checksum 05:58:23 339a4e72a1f5: Download complete 05:58:23 bde34c3a00c8: Verifying Checksum 05:58:23 bde34c3a00c8: Download complete 05:58:23 b352a97aabf1: Download complete 05:58:23 4872d77fe225: Verifying Checksum 05:58:23 4872d77fe225: Download complete 05:58:23 5851b861e8e6: Download complete 05:58:23 b85a868b505f: Verifying Checksum 05:58:23 b85a868b505f: Download complete 05:58:24 bab4dde63d76: Verifying Checksum 05:58:24 bab4dde63d76: Download complete 05:58:25 b85a868b505f: Pull complete 05:58:25 e2be974225ed: Pull complete 05:58:25 339a4e72a1f5: Pull complete 05:58:25 988bab9f4d93: Pull complete 05:58:25 1469e6f7b9e6: Pull complete 05:58:26 eaf3925da568: Pull complete 05:58:28 bab4dde63d76: Pull complete 05:58:28 bde34c3a00c8: Pull complete 05:58:28 b352a97aabf1: Pull complete 05:58:28 4872d77fe225: Pull complete 05:58:28 5851b861e8e6: Pull complete 05:58:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:58:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:58:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:58:28 prd-ubuntu20.04-docker-8c-8g-9849 does not seem to be running inside a container 05:58:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-423 -v /w/workspace/xfoundry_device-modbus-go_PR-423:/w/workspace/xfoundry_device-modbus-go_PR-423:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-423@tmp:/w/workspace/xfoundry_device-modbus-go_PR-423@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:58:29 $ docker top 0028a7429bc15950d6809f7dfea758e44799765116b8f48806e9b02d21e4a40f -eo pid,comm 05:58:30 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:58:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:58:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:58:30 [ssh-agent] Looking for ssh-agent implementation... 05:58:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:58:30 $ docker exec 0028a7429bc15950d6809f7dfea758e44799765116b8f48806e9b02d21e4a40f ssh-agent 05:58:30 SSH_AUTH_SOCK=/tmp/ssh-CP5pHz4DRhKa/agent.32 05:58:30 SSH_AGENT_PID=38 05:58:30 Running ssh-add (command line suppressed) 05:58:30 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-423@tmp/private_key_9216494164827462836.key (/w/workspace/xfoundry_device-modbus-go_PR-423@tmp/private_key_9216494164827462836.key) 05:58:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:58:30 + git tag --points-at HEAD [Pipeline] } 05:58:30 $ docker exec --env ******** --env ******** 0028a7429bc15950d6809f7dfea758e44799765116b8f48806e9b02d21e4a40f ssh-agent -k 05:58:30 unset SSH_AUTH_SOCK; 05:58:30 unset SSH_AGENT_PID; 05:58:30 echo Agent pid 38 killed; 05:58:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:58:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:58:31 [ssh-agent] Looking for ssh-agent implementation... 05:58:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:58:31 $ docker exec 0028a7429bc15950d6809f7dfea758e44799765116b8f48806e9b02d21e4a40f ssh-agent 05:58:31 SSH_AUTH_SOCK=/tmp/ssh-mYbbP4z9Je7P/agent.71 05:58:31 SSH_AGENT_PID=77 05:58:31 Running ssh-add (command line suppressed) 05:58:31 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-423@tmp/private_key_610074903661691730.key (/w/workspace/xfoundry_device-modbus-go_PR-423@tmp/private_key_610074903661691730.key) 05:58:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:58:31 + git semver init 05:58:31 2023-03-13 05:58:31,898 [run_init] DEBUG init version:0.0.0 force:False 05:58:31 2023-03-13 05:58:31,899 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-423/.semver 05:58:31 2023-03-13 05:58:31,899 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-423/.semver 05:58:31 2023-03-13 05:58:31,900 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-423/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-423, universal_newlines=False, shell=None, istream=None) 05:58:32 2023-03-13 05:58:32,743 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-423/.git/info/exclude 05:58:32 2023-03-13 05:58:32,744 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-423/.semver/PR-423 with force:False 05:58:32 2023-03-13 05:58:32,744 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-423/.semver/PR-423 05:58:32 2023-03-13 05:58:32,749 [execute] INFO git cat-file --batch-check 05:58:32 2023-03-13 05:58:32,749 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-423/.semver, universal_newlines=False, shell=None, istream=) 05:58:32 2023-03-13 05:58:32,756 [execute] INFO git cat-file --batch 05:58:32 2023-03-13 05:58:32,756 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-423/.semver, universal_newlines=False, shell=None, istream=) 05:58:32 2023-03-13 05:58:32,762 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-423/.semver/PR-423 05:58:32 0.0.0 [Pipeline] } 05:58:32 $ docker exec --env ******** --env ******** 0028a7429bc15950d6809f7dfea758e44799765116b8f48806e9b02d21e4a40f ssh-agent -k 05:58:33 unset SSH_AUTH_SOCK; 05:58:33 unset SSH_AGENT_PID; 05:58:33 echo Agent pid 77 killed; 05:58:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:58:33 + git semver [Pipeline] } 05:58:33 $ docker stop --time=1 0028a7429bc15950d6809f7dfea758e44799765116b8f48806e9b02d21e4a40f 05:58:35 $ docker rm -f --volumes 0028a7429bc15950d6809f7dfea758e44799765116b8f48806e9b02d21e4a40f [Pipeline] // withDockerContainer [Pipeline] sh 05:58:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:58:35 Stashed 1 file(s) [Pipeline] echo 05:58:35 [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:58:36 provisioning config files... 05:58:36 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-423@tmp/config3669171091689531967tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:58:36 ---> docker-login.sh 05:58:36 nexus3.edgexfoundry.org:10001 05:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:36 Configure a credential helper to remove this warning. See 05:58:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:36 05:58:36 Login Succeeded 05:58:36 nexus3.edgexfoundry.org:10002 05:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:36 Configure a credential helper to remove this warning. See 05:58:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:36 05:58:36 Login Succeeded 05:58:36 nexus3.edgexfoundry.org:10003 05:58:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:37 Configure a credential helper to remove this warning. See 05:58:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:37 05:58:37 Login Succeeded 05:58:37 nexus3.edgexfoundry.org:10004 05:58:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:37 Configure a credential helper to remove this warning. See 05:58:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:37 05:58:37 Login Succeeded 05:58:37 docker.io 05:58:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:37 Configure a credential helper to remove this warning. See 05:58:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:37 05:58:37 Login Succeeded 05:58:37 ---> docker-login.sh ends [Pipeline] } 05:58:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:58:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:58:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:58:37 ========================================================= 05:58:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:58:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:38 + 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:58:38 Sending build context to Docker daemon 6.416MB 05:58:38 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 05:58:38 Step 2/10 : FROM ${BASE} AS builder 05:58:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:58:38 213ec9aee27d: Pulling fs layer 05:58:38 4583459ba037: Pulling fs layer 05:58:38 93c1e223e6f2: Pulling fs layer 05:58:38 53926ce57604: Pulling fs layer 05:58:38 21b2b0c7a3f4: Pulling fs layer 05:58:38 22ff95d597cd: Pulling fs layer 05:58:38 12d6caf4c0d1: Pulling fs layer 05:58:38 96b7cbca73a9: Pulling fs layer 05:58:38 a7acece74701: Pulling fs layer 05:58:38 21b2b0c7a3f4: Waiting 05:58:38 96b7cbca73a9: Waiting 05:58:38 22ff95d597cd: Waiting 05:58:38 a7acece74701: Waiting 05:58:38 12d6caf4c0d1: Waiting 05:58:38 93c1e223e6f2: Verifying Checksum 05:58:38 93c1e223e6f2: Download complete 05:58:38 4583459ba037: Download complete 05:58:38 21b2b0c7a3f4: Verifying Checksum 05:58:38 21b2b0c7a3f4: Download complete 05:58:38 22ff95d597cd: Verifying Checksum 05:58:38 22ff95d597cd: Download complete 05:58:38 213ec9aee27d: Verifying Checksum 05:58:38 213ec9aee27d: Download complete 05:58:38 12d6caf4c0d1: Download complete 05:58:38 213ec9aee27d: Pull complete 05:58:38 4583459ba037: Pull complete 05:58:38 93c1e223e6f2: Pull complete 05:58:38 a7acece74701: Verifying Checksum 05:58:38 a7acece74701: Download complete 05:58:39 96b7cbca73a9: Verifying Checksum 05:58:39 96b7cbca73a9: Download complete 05:58:39 53926ce57604: Verifying Checksum 05:58:39 53926ce57604: Download complete 05:58:43 53926ce57604: Pull complete 05:58:43 21b2b0c7a3f4: Pull complete 05:58:43 22ff95d597cd: Pull complete 05:58:43 12d6caf4c0d1: Pull complete 05:58:45 96b7cbca73a9: Pull complete 05:58:46 a7acece74701: Pull complete 05:58:46 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 05:58:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:58:46 ---> db6d94c90886 05:58:46 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:58:48 ---> Running in 5a6792034dfd 05:58:48 Removing intermediate container 5a6792034dfd 05:58:48 ---> e6c20ea3587f 05:58:48 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:58:48 ---> Running in 86703d424a71 05:58:48 Removing intermediate container 86703d424a71 05:58:48 ---> 04c9c785ee35 05:58:48 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:58:48 ---> Running in 6a940c0f58cf 05:58:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:58:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:58:48 (1/8) Installing openssh-keygen (9.0_p1-r2) 05:58:48 (2/8) Installing libedit (20210910.3.1-r0) 05:58:48 (3/8) Installing openssh-client-common (9.0_p1-r2) 05:58:48 (4/8) Installing openssh-client-default (9.0_p1-r2) 05:58:48 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 05:58:48 (6/8) Installing openssh-server-common (9.0_p1-r2) 05:58:48 (7/8) Installing openssh-server (9.0_p1-r2) 05:58:49 (8/8) Installing openssh (9.0_p1-r2) 05:58:49 Executing busybox-1.35.0-r17.trigger 05:58:49 OK: 217 MiB in 59 packages 05:58:49 Removing intermediate container 6a940c0f58cf 05:58:49 ---> ada51014511a 05:58:49 Step 6/10 : WORKDIR /device-modbus-go 05:58:49 ---> Running in f82560049df7 05:58:49 Removing intermediate container f82560049df7 05:58:49 ---> 7708c6c4c987 05:58:49 Step 7/10 : COPY go.mod vendor* ./ 05:58:49 ---> 87350ba84cfa 05:58:49 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:58:49 ---> Running in 35239e3433ce 05:58:51 Still waiting to schedule task 05:58:51 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:59:36 Removing intermediate container 35239e3433ce 05:59:36 ---> 02b896d04ba7 05:59:36 Step 9/10 : COPY . . 05:59:36 ---> 49d116264b0c 05:59:36 Step 10/10 : RUN ${MAKE} 05:59:36 ---> Running in 2d6399c6a782 05:59:36 noop 05:59:36 Removing intermediate container 2d6399c6a782 05:59:36 ---> 20b25011e02e 05:59:36 Successfully built 20b25011e02e 05:59:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:36 + docker inspect -f . ci-base-image-x86_64 05:59:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:59:36 prd-ubuntu20.04-docker-8c-8g-9849 does not seem to be running inside a container 05:59:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-423 -v /w/workspace/xfoundry_device-modbus-go_PR-423:/w/workspace/xfoundry_device-modbus-go_PR-423:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-423@tmp:/w/workspace/xfoundry_device-modbus-go_PR-423@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:59:37 $ docker top 0aada7f33067b7af11da3a2d5e111a54af796b694c2547ea1edc6963450923c1 -eo pid,comm [Pipeline] { [Pipeline] sh 05:59:37 + go version 05:59:37 go version go1.18.7 linux/amd64 [Pipeline] } 05:59:37 $ docker stop --time=1 0aada7f33067b7af11da3a2d5e111a54af796b694c2547ea1edc6963450923c1 05:59:39 $ docker rm -f --volumes 0aada7f33067b7af11da3a2d5e111a54af796b694c2547ea1edc6963450923c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:39 + docker inspect -f . ci-base-image-x86_64 05:59:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:59:39 prd-ubuntu20.04-docker-8c-8g-9849 does not seem to be running inside a container 05:59:39 $ 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-423 -v /w/workspace/xfoundry_device-modbus-go_PR-423:/w/workspace/xfoundry_device-modbus-go_PR-423:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-423@tmp:/w/workspace/xfoundry_device-modbus-go_PR-423@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:59:40 $ docker top f0a573718e9754390d031220891249ccaa56611b9e734824a60be67fe068f19e -eo pid,comm [Pipeline] { [Pipeline] sh 05:59:40 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-423 [Pipeline] fileExists [Pipeline] sh 05:59:41 + make test 05:59:41 go test ./... -coverprofile=coverage.out 05:59:41 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:59:45 # github.com/edgexfoundry/device-modbus-go/internal/driver 05:59:45 internal/driver/config.go:43:39: cannot use protocolRTU (variable of type "github.com/edgexfoundry/go-mod-core-contracts/v3/models".ProtocolProperties) as type map[string]string in argument to createRTUConnectionInfo 05:59:45 internal/driver/config.go:48:39: cannot use protocolTCP (variable of type "github.com/edgexfoundry/go-mod-core-contracts/v3/models".ProtocolProperties) as type map[string]string in argument to createTcpConnectionInfo 05:59:49 # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 05:59:49 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.43/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != "" (mismatched types float64 and untyped string) 05:59:49 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.43/internal/transformer/transformparam.go:42:37: invalid operation: pv.Offset != defaultOffset (mismatched types float64 and string) 05:59:49 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.43/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type float64) as type string in argument to transformOffset 05:59:49 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.43/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != "" (mismatched types float64 and untyped string) 05:59:49 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.43/internal/transformer/transformparam.go:48:35: invalid operation: pv.Scale != defaultScale (mismatched types float64 and string) 05:59:49 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.43/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type float64) as type string in argument to transformScale 05:59:49 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.43/internal/transformer/transformparam.go:54:16: invalid operation: pv.Base != "" (mismatched types float64 and untyped string) 05:59:49 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.43/internal/transformer/transformparam.go:54:33: invalid operation: pv.Base != defaultBase (mismatched types float64 and string) 05:59:49 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.43/internal/transformer/transformparam.go:55:43: cannot use pv.Base (variable of type float64) as type string in argument to transformBase 05:59:49 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.43/internal/transformer/transformresult.go:53:16: invalid operation: pv.Mask != "" (mismatched types uint64 and untyped string) 05:59:49 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.43/internal/transformer/transformresult.go:53:16: too many errors 05:59:50 FAIL github.com/edgexfoundry/device-modbus-go/internal/driver [build failed] 05:59:50 make: *** [Makefile:30: unittest] Error 2 [Pipeline] } 05:59:50 $ docker stop --time=1 f0a573718e9754390d031220891249ccaa56611b9e734824a60be67fe068f19e 05:59:51 $ docker rm -f --volumes f0a573718e9754390d031220891249ccaa56611b9e734824a60be67fe068f19e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:59:53 05:59:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:59:53 latest: Pulling from edgex-lftools-log-publisher 05:59:53 5eb5b503b376: Pulling fs layer 05:59:53 5c69ac0246d0: Pulling fs layer 05:59:53 ec43610c2a17: Pulling fs layer 05:59:53 3a2ae6a8a46f: Pulling fs layer 05:59:53 33b1e0a273af: Pulling fs layer 05:59:53 5d3b04190fa2: Pulling fs layer 05:59:53 2f39f015ded8: Pulling fs layer 05:59:53 5d3b04190fa2: Waiting 05:59:53 33b1e0a273af: Waiting 05:59:53 3a2ae6a8a46f: Waiting 05:59:53 2f39f015ded8: Waiting 05:59:53 5c69ac0246d0: Download complete 05:59:53 3a2ae6a8a46f: Verifying Checksum 05:59:53 3a2ae6a8a46f: Download complete 05:59:53 33b1e0a273af: Verifying Checksum 05:59:53 33b1e0a273af: Download complete 05:59:53 5d3b04190fa2: Verifying Checksum 05:59:53 5d3b04190fa2: Download complete 05:59:53 ec43610c2a17: Verifying Checksum 05:59:53 5eb5b503b376: Verifying Checksum 05:59:53 5eb5b503b376: Download complete 05:59:54 2f39f015ded8: Download complete 05:59:54 5eb5b503b376: Pull complete 05:59:55 5c69ac0246d0: Pull complete 05:59:55 ec43610c2a17: Pull complete 05:59:55 3a2ae6a8a46f: Pull complete 05:59:55 33b1e0a273af: Pull complete 05:59:55 5d3b04190fa2: Pull complete 06:00:01 2f39f015ded8: Pull complete 06:00:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:00:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:00:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:01 prd-ubuntu20.04-docker-8c-8g-9849 does not seem to be running inside a container 06:00:01 $ 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-423 -v /w/workspace/xfoundry_device-modbus-go_PR-423:/w/workspace/xfoundry_device-modbus-go_PR-423:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-423@tmp:/w/workspace/xfoundry_device-modbus-go_PR-423@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 06:00:03 $ docker top 189dc0afc5797e151e5b81cc35030b559de173ebf9d003d7695687dd6452342c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:04 ---> job-cost.sh 06:00:04 lf-activate-venv: SKIPPING 06:00:04 INFO: No Stack... 06:00:04 INFO: Retrieving Pricing Info for: v3-standard-8 06:00:04 INFO: Archiving Costs [Pipeline] sh 06:00:05 + cat /w/workspace/xfoundry_device-modbus-go_PR-423/archives/cost.csv 06:00:05 + cut -d, -f6 [Pipeline] lock 06:00:05 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-423-1-stack-cost] 06:00:05 Resource [jenkins-edgexfoundry-device-modbus-go-PR-423-1-stack-cost] did not exist. Created. 06:00:05 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-423-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:00:05 + echo total: 0.2199999988079071 [Pipeline] stash 06:00:05 Stashed 1 file(s) [Pipeline] } 06:00:05 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-423-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:00:05 $ docker stop --time=1 189dc0afc5797e151e5b81cc35030b559de173ebf9d003d7695687dd6452342c 06:00:06 $ docker rm -f --volumes 189dc0afc5797e151e5b81cc35030b559de173ebf9d003d7695687dd6452342c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:00:07 Failed in branch amd64 06:00:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9851 in /w/workspace/xfoundry_device-modbus-go_PR-423 [Pipeline] { [Pipeline] ws 06:00:26 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 06:00:26 Selected Git installation does not exist. Using Default 06:00:26 The recommended git tool is: NONE 06:00:31 using credential edgex-jenkins-ssh 06:00:31 Cloning the remote Git repository 06:00:31 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:00:31 > git init /w/workspace/device-modbus-go/1 # timeout=10 06:00:31 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:00:31 > git --version # timeout=10 06:00:31 > git --version # 'git version 2.25.1' 06:00:31 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:00:33 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:00:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:00:34 Merging remotes/origin/main commit 01efde03cde14ec0060c1876119bb983deb5481b into PR head commit a7e6e863d23005d6a8ad8f5bdf1629528c242a21 06:00:34 Merge succeeded, producing a7e6e863d23005d6a8ad8f5bdf1629528c242a21 06:00:34 Checking out Revision a7e6e863d23005d6a8ad8f5bdf1629528c242a21 (PR-423) 06:00:33 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:00:34 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:00:34 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/423/head:refs/remotes/origin/PR-423 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:00:34 > git config core.sparsecheckout # timeout=10 06:00:34 > git checkout -f a7e6e863d23005d6a8ad8f5bdf1629528c242a21 # timeout=10 06:00:34 > git remote # timeout=10 06:00:34 > git config --get remote.origin.url # timeout=10 06:00:34 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:34 > git merge 01efde03cde14ec0060c1876119bb983deb5481b # timeout=10 06:00:34 > git rev-parse HEAD^{commit} # timeout=10 06:00:34 > git config core.sparsecheckout # timeout=10 06:00:34 > git checkout -f a7e6e863d23005d6a8ad8f5bdf1629528c242a21 # timeout=10 06:00:35 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" 06:00:35 > git --version # timeout=10 06:00:35 > git --version # 'git version 2.25.1' 06:00:35 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:00:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:00:36 % Total % Received % Xferd Average Speed Time Time Time Current 06:00:36 Dload Upload Total Spent Left Speed 06:00:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh 06:00:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:00:37 + sudo tee /etc/docker/daemon.new 06:00:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:00:37 { 06:00:37 "registry-mirrors": [ 06:00:37 "https://nexus3.edgexfoundry.org:10001" 06:00:37 ], 06:00:37 "bip": "10.250.0.254/24", 06:00:37 "hosts": [ 06:00:37 "tcp://0.0.0.0:5555", 06:00:37 "unix:///var/run/docker.sock" 06:00:37 ], 06:00:37 "mtu": 1458, 06:00:37 "selinux-enabled": true, 06:00:37 "seccomp-profile": "/etc/docker/seccomp.json" 06:00:37 } [Pipeline] sh 06:00:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:00:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:00:56 provisioning config files... 06:00:56 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config2702130750989519611tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:56 ---> docker-login.sh 06:00:56 nexus3.edgexfoundry.org:10001 06:00:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:57 Configure a credential helper to remove this warning. See 06:00:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:57 06:00:57 Login Succeeded 06:00:57 nexus3.edgexfoundry.org:10002 06:00:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:58 Configure a credential helper to remove this warning. See 06:00:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:58 06:00:58 Login Succeeded 06:00:58 nexus3.edgexfoundry.org:10003 06:00:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:58 Configure a credential helper to remove this warning. See 06:00:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:58 06:00:58 Login Succeeded 06:00:58 nexus3.edgexfoundry.org:10004 06:00:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:58 Configure a credential helper to remove this warning. See 06:00:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:58 06:00:58 Login Succeeded 06:00:58 docker.io 06:00:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:59 Configure a credential helper to remove this warning. See 06:00:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:59 06:00:59 Login Succeeded 06:00:59 ---> docker-login.sh ends [Pipeline] } 06:00:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:00:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:00:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:00:59 ========================================================= 06:00:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 06:00:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:00 + 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 . 06:01:00 Sending build context to Docker daemon 3.344MB 06:01:00 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 06:01:00 Step 2/10 : FROM ${BASE} AS builder 06:01:00 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:01:00 9b18e9b68314: Pulling fs layer 06:01:00 35d82f9e3411: Pulling fs layer 06:01:00 e16973657156: Pulling fs layer 06:01:00 fc693d55d65f: Pulling fs layer 06:01:00 7e9fc2657dce: Pulling fs layer 06:01:00 dda99020689f: Pulling fs layer 06:01:00 db1c61fa0a46: Pulling fs layer 06:01:00 891c053d2c06: Pulling fs layer 06:01:00 7e9fc2657dce: Waiting 06:01:00 fc693d55d65f: Waiting 06:01:00 dda99020689f: Waiting 06:01:00 db1c61fa0a46: Waiting 06:01:00 891c053d2c06: Waiting 06:01:00 e16973657156: Download complete 06:01:00 35d82f9e3411: Verifying Checksum 06:01:00 35d82f9e3411: Download complete 06:01:00 7e9fc2657dce: Verifying Checksum 06:01:00 7e9fc2657dce: Download complete 06:01:00 dda99020689f: Verifying Checksum 06:01:00 dda99020689f: Download complete 06:01:00 9b18e9b68314: Verifying Checksum 06:01:01 9b18e9b68314: Pull complete 06:01:02 891c053d2c06: Download complete 06:01:02 35d82f9e3411: Pull complete 06:01:02 e16973657156: Pull complete 06:01:03 db1c61fa0a46: Verifying Checksum 06:01:03 db1c61fa0a46: Download complete 06:01:03 fc693d55d65f: Verifying Checksum 06:01:03 fc693d55d65f: Download complete 06:01:16 fc693d55d65f: Pull complete 06:01:16 7e9fc2657dce: Pull complete 06:01:16 dda99020689f: Pull complete 06:01:23 db1c61fa0a46: Pull complete 06:01:24 891c053d2c06: Pull complete 06:01:25 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 06:01:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 06:01:25 ---> f96f9c87975a 06:01:25 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:01:27 ---> Running in a6302efd971d 06:01:27 Removing intermediate container a6302efd971d 06:01:27 ---> a88938eecd96 06:01:27 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:01:27 ---> Running in a04f8883ccf1 06:01:27 Removing intermediate container a04f8883ccf1 06:01:27 ---> 09b1aa37bdf9 06:01:27 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:01:27 ---> Running in cff657fbeff3 06:01:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:01:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:01:30 (1/8) Installing openssh-keygen (9.0_p1-r2) 06:01:30 (2/8) Installing libedit (20210910.3.1-r0) 06:01:30 (3/8) Installing openssh-client-common (9.0_p1-r2) 06:01:30 (4/8) Installing openssh-client-default (9.0_p1-r2) 06:01:30 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 06:01:30 (6/8) Installing openssh-server-common (9.0_p1-r2) 06:01:30 (7/8) Installing openssh-server (9.0_p1-r2) 06:01:30 (8/8) Installing openssh (9.0_p1-r2) 06:01:30 Executing busybox-1.35.0-r17.trigger 06:01:30 OK: 228 MiB in 59 packages 06:01:32 Removing intermediate container cff657fbeff3 06:01:32 ---> c356309d1398 06:01:32 Step 6/10 : WORKDIR /device-modbus-go 06:01:32 ---> Running in fd56980a329e 06:01:33 Removing intermediate container fd56980a329e 06:01:33 ---> 808994ccacc2 06:01:33 Step 7/10 : COPY go.mod vendor* ./ 06:01:33 ---> bbaf9abe121c 06:01:33 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:01:33 ---> Running in 38225e760595 06:02:41 Removing intermediate container 38225e760595 06:02:41 ---> 8a274d425249 06:02:41 Step 9/10 : COPY . . 06:02:41 ---> 950066ca1be0 06:02:41 Step 10/10 : RUN ${MAKE} 06:02:41 ---> Running in d9e32729e5eb 06:02:41 noop 06:02:41 Removing intermediate container d9e32729e5eb 06:02:41 ---> b61443758462 06:02:41 Successfully built b61443758462 06:02:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:42 + docker inspect -f . ci-base-image-arm64 06:02:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:02:42 prd-ubuntu20.04-docker-arm64-4c-16g-9851 does not seem to be running inside a container 06:02:42 $ 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 ******** ci-base-image-arm64 cat 06:02:43 $ docker top 0d6f71b1824fd3e5ddd00a52bce8ef24623aeaeb4f5d8113cd1a9946b719db84 -eo pid,comm [Pipeline] { [Pipeline] sh 06:02:44 + go version 06:02:44 go version go1.18.7 linux/arm64 [Pipeline] } 06:02:44 $ docker stop --time=1 0d6f71b1824fd3e5ddd00a52bce8ef24623aeaeb4f5d8113cd1a9946b719db84 06:02:46 $ docker rm -f --volumes 0d6f71b1824fd3e5ddd00a52bce8ef24623aeaeb4f5d8113cd1a9946b719db84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:47 + docker inspect -f . ci-base-image-arm64 06:02:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:02:47 prd-ubuntu20.04-docker-arm64-4c-16g-9851 does not seem to be running inside a container 06:02:47 $ 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 ******** ci-base-image-arm64 cat 06:02:50 $ docker top 11a820cb67bb61ca7ac3f1279c9a6f4236f7af20828d8ba77c1be243bb0f272a -eo pid,comm [Pipeline] { [Pipeline] sh 06:02:50 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 06:02:51 + make test 06:02:51 go test ./... -coverprofile=coverage.out 06:02:53 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:03:20 # github.com/edgexfoundry/device-modbus-go/internal/driver 06:03:20 internal/driver/config.go:43:39: cannot use protocolRTU (variable of type "github.com/edgexfoundry/go-mod-core-contracts/v3/models".ProtocolProperties) as type map[string]string in argument to createRTUConnectionInfo 06:03:20 internal/driver/config.go:48:39: cannot use protocolTCP (variable of type "github.com/edgexfoundry/go-mod-core-contracts/v3/models".ProtocolProperties) as type map[string]string in argument to createTcpConnectionInfo 06:04:07 # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 06:04:07 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.43/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != "" (mismatched types float64 and untyped string) 06:04:07 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.43/internal/transformer/transformparam.go:42:37: invalid operation: pv.Offset != defaultOffset (mismatched types float64 and string) 06:04:07 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.43/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type float64) as type string in argument to transformOffset 06:04:07 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.43/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != "" (mismatched types float64 and untyped string) 06:04:07 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.43/internal/transformer/transformparam.go:48:35: invalid operation: pv.Scale != defaultScale (mismatched types float64 and string) 06:04:07 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.43/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type float64) as type string in argument to transformScale 06:04:07 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.43/internal/transformer/transformparam.go:54:16: invalid operation: pv.Base != "" (mismatched types float64 and untyped string) 06:04:07 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.43/internal/transformer/transformparam.go:54:33: invalid operation: pv.Base != defaultBase (mismatched types float64 and string) 06:04:07 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.43/internal/transformer/transformparam.go:55:43: cannot use pv.Base (variable of type float64) as type string in argument to transformBase 06:04:07 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.43/internal/transformer/transformresult.go:53:16: invalid operation: pv.Mask != "" (mismatched types uint64 and untyped string) 06:04:07 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.43/internal/transformer/transformresult.go:53:16: too many errors 06:04:13 FAIL github.com/edgexfoundry/device-modbus-go/internal/driver [build failed] 06:04:13 make: *** [Makefile:30: unittest] Error 2 [Pipeline] } 06:04:13 $ docker stop --time=1 11a820cb67bb61ca7ac3f1279c9a6f4236f7af20828d8ba77c1be243bb0f272a 06:04:15 $ docker rm -f --volumes 11a820cb67bb61ca7ac3f1279c9a6f4236f7af20828d8ba77c1be243bb0f272a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:04:17 06:04:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:04:20 arm64: Pulling from edgex-lftools-log-publisher 06:04:20 8998bd30e6a1: Pulling fs layer 06:04:20 04944245beec: Pulling fs layer 06:04:20 699f458cf7ca: Pulling fs layer 06:04:20 765212b225bb: Pulling fs layer 06:04:20 f23df028b6ca: Pulling fs layer 06:04:20 d65c8cfc05b1: Pulling fs layer 06:04:20 2437ff75d9bd: Pulling fs layer 06:04:20 f23df028b6ca: Waiting 06:04:20 765212b225bb: Waiting 06:04:20 d65c8cfc05b1: Waiting 06:04:20 2437ff75d9bd: Waiting 06:04:20 04944245beec: Download complete 06:04:20 765212b225bb: Verifying Checksum 06:04:20 765212b225bb: Download complete 06:04:20 f23df028b6ca: Download complete 06:04:20 d65c8cfc05b1: Download complete 06:04:21 699f458cf7ca: Verifying Checksum 06:04:21 699f458cf7ca: Download complete 06:04:21 8998bd30e6a1: Verifying Checksum 06:04:21 8998bd30e6a1: Download complete 06:04:24 2437ff75d9bd: Verifying Checksum 06:04:24 2437ff75d9bd: Download complete 06:04:25 8998bd30e6a1: Pull complete 06:04:26 04944245beec: Pull complete 06:04:27 699f458cf7ca: Pull complete 06:04:27 765212b225bb: Pull complete 06:04:28 f23df028b6ca: Pull complete 06:04:28 d65c8cfc05b1: Pull complete 06:04:43 2437ff75d9bd: Pull complete 06:04:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:04:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:04:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:04:44 prd-ubuntu20.04-docker-arm64-4c-16g-9851 does not seem to be running inside a container 06:04:44 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:04:48 $ docker top cd135ef2bdb029a165becf3c5dff1d37b634e8f190d90c870422cf52720ed061 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:04:49 ---> job-cost.sh 06:04:49 lf-activate-venv: SKIPPING 06:04:49 INFO: No Stack... 06:04:49 INFO: Retrieving Pricing Info for: v3-standard-4 06:04:50 INFO: Archiving Costs [Pipeline] sh 06:04:50 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 06:04:50 + cut -d, -f6 [Pipeline] lock 06:04:51 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-423-1-stack-cost] 06:04:51 Resource [jenkins-edgexfoundry-device-modbus-go-PR-423-1-stack-cost] did not exist. Created. 06:04:51 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-423-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:04:51 /w/workspace/device-modbus-go/1@tmp/durable-5d436813/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:04:52 + echo total: 0.10999999940395355 [Pipeline] stash 06:04:52 Warning: overwriting stash ‘stack-cost’ 06:04:52 Stashed 1 file(s) [Pipeline] } 06:04:53 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-423-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:04:53 $ docker stop --time=1 cd135ef2bdb029a165becf3c5dff1d37b634e8f190d90c870422cf52720ed061 06:04:54 $ docker rm -f --volumes cd135ef2bdb029a165becf3c5dff1d37b634e8f190d90c870422cf52720ed061 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:04:55 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:04:57 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-423/archives ] 06:04:57 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-423/archives 06:04:57 total 16 06:04:57 drwxr-xr-x 3 root root 4096 Mar 13 06:00 . 06:04:57 drwxrwxr-x 11 jenkins jenkins 4096 Mar 13 06:00 .. 06:04:57 drwxr-xr-x 2 root root 4096 Mar 13 06:00 cost 06:04:57 -rw-r--r-- 1 root root 88 Mar 13 06:00 cost.csv 06:04:57 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-423/archives 06:04:57 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-423/archives 06:04:57 total 16 06:04:57 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 06:00 . 06:04:57 drwxrwxr-x 11 jenkins jenkins 4096 Mar 13 06:00 .. 06:04:57 drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 06:00 cost 06:04:57 -rw-r--r-- 1 jenkins jenkins 88 Mar 13 06:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:04:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:04:58 ---> package-listing.sh 06:04:58 ++ facter osfamily 06:04:58 ++ tr '[:upper:]' '[:lower:]' 06:04:58 + OS_FAMILY=debian 06:04:58 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-423 06:04:58 + START_PACKAGES=/tmp/packages_start.txt 06:04:58 + END_PACKAGES=/tmp/packages_end.txt 06:04:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:04:58 + PACKAGES=/tmp/packages_start.txt 06:04:58 + '[' /w/workspace/xfoundry_device-modbus-go_PR-423 ']' 06:04:58 + PACKAGES=/tmp/packages_end.txt 06:04:58 + case "${OS_FAMILY}" in 06:04:58 + dpkg -l 06:04:58 + grep '^ii' 06:04:58 + '[' -f /tmp/packages_start.txt ']' 06:04:58 + '[' -f /tmp/packages_end.txt ']' 06:04:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:04:58 + '[' /w/workspace/xfoundry_device-modbus-go_PR-423 ']' 06:04:58 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-423/archives/ 06:04:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-423/archives/ [Pipeline] echo 06:04:58 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-423/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:04:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:04:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:04:59 prd-ubuntu20.04-docker-8c-8g-9849 does not seem to be running inside a container 06:04:59 $ 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-423/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-423 -v /w/workspace/xfoundry_device-modbus-go_PR-423:/w/workspace/xfoundry_device-modbus-go_PR-423:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-423@tmp:/w/workspace/xfoundry_device-modbus-go_PR-423@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 06:05:00 $ docker top a48e7d6e58bdd78e1c94f67f718db6f573aa6726f307b2665183582a30ed0560 -eo pid,comm [Pipeline] { [Pipeline] sh 06:05:00 + touch /tmp/pre-build-complete [Pipeline] sh 06:05:00 + mkdir -p /var/log/sysstat [Pipeline] sh 06:05:01 + ls /var/log/sa-host 06:05:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:05:01 provisioning config files... 06:05:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-423@tmp/config16765937876824744688tmp [Pipeline] { [Pipeline] echo 06:05:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:05:01 ---> create-netrc.sh [Pipeline] } 06:05:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:05:02 ---> python-tools-install.sh [Pipeline] echo 06:05:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:05:02 ---> sudo-logs.sh 06:05:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:05:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:05:02 ---> job-cost.sh 06:05:02 lf-activate-venv: SKIPPING 06:05:02 DEBUG: total: 0.2199999988079071 06:05:02 INFO: Retrieving Stack Cost... 06:05:03 INFO: Retrieving Pricing Info for: v3-standard-8 06:05:03 INFO: Archiving Costs [Pipeline] echo 06:05:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:05:04 ---> logs-deploy.sh 06:05:04 lf-activate-venv: SKIPPING 06:05:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-423/1 06:05:04 INFO: archiving workspace using pattern(s): 06:05:05 Archives upload complete. 06:05:05 INFO: archiving logs to Nexus 06:05:05 ---> uname -a: 06:05:05 Linux prd-ubuntu20-04-docker-8c-8g-9849 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 06:05:05 06:05:05 06:05:05 ---> lscpu: 06:05:05 Architecture: x86_64 06:05:05 CPU op-mode(s): 32-bit, 64-bit 06:05:05 Byte Order: Little Endian 06:05:05 Address sizes: 40 bits physical, 48 bits virtual 06:05:05 CPU(s): 8 06:05:05 On-line CPU(s) list: 0-7 06:05:05 Thread(s) per core: 1 06:05:05 Core(s) per socket: 1 06:05:05 Socket(s): 8 06:05:05 NUMA node(s): 1 06:05:05 Vendor ID: AuthenticAMD 06:05:05 CPU family: 23 06:05:05 Model: 49 06:05:05 Model name: AMD EPYC-Rome Processor 06:05:05 Stepping: 0 06:05:05 CPU MHz: 2799.994 06:05:05 BogoMIPS: 5599.98 06:05:05 Virtualization: AMD-V 06:05:05 Hypervisor vendor: KVM 06:05:05 Virtualization type: full 06:05:05 L1d cache: 256 KiB 06:05:05 L1i cache: 256 KiB 06:05:05 L2 cache: 4 MiB 06:05:05 L3 cache: 128 MiB 06:05:05 NUMA node0 CPU(s): 0-7 06:05:05 Vulnerability Itlb multihit: Not affected 06:05:05 Vulnerability L1tf: Not affected 06:05:05 Vulnerability Mds: Not affected 06:05:05 Vulnerability Meltdown: Not affected 06:05:05 Vulnerability Mmio stale data: Not affected 06:05:05 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:05:05 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 06:05:05 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 06:05:05 Vulnerability Srbds: Not affected 06:05:05 Vulnerability Tsx async abort: Not affected 06:05:05 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 06:05:05 06:05:05 06:05:05 ---> nproc: 06:05:05 8 06:05:05 06:05:05 06:05:05 ---> df -h: 06:05:05 Filesystem Size Used Avail Use% Mounted on 06:05:05 overlay 155G 12G 144G 8% / 06:05:05 tmpfs 64M 0 64M 0% /dev 06:05:05 tmpfs 16G 0 16G 0% /sys/fs/cgroup 06:05:05 shm 64M 0 64M 0% /dev/shm 06:05:05 /dev/vda1 155G 12G 144G 8% /facter-os 06:05:05 06:05:05 06:05:05 ---> sar -b -r -n DEV: 06:05:05 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-9849) 03/13/23 _x86_64_ (8 CPU) 06:05:05 06:05:05 05:57:41 LINUX RESTART (8 CPU) 06:05:05 06:05:05 05:58:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:05:05 05:59:01 173.22 38.93 134.29 0.00 4312.61 181432.83 0.00 06:05:05 06:00:01 128.07 0.80 127.27 0.00 21.86 49648.78 0.00 06:05:05 06:01:01 30.66 0.13 30.53 0.00 5.07 15938.29 0.00 06:05:05 06:02:01 3.40 1.02 2.38 0.00 21.86 30.93 0.00 06:05:05 06:03:01 40.87 10.40 30.47 0.00 5152.15 5109.76 0.00 06:05:05 06:04:01 16.01 0.18 15.83 0.00 1.87 3694.37 0.00 06:05:05 06:05:01 7.68 0.17 7.52 0.00 12.27 178.00 0.00 06:05:05 Average: 57.13 7.37 49.76 0.00 1361.16 36575.78 0.00 06:05:05 06:05:05 05:58:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:05:05 05:59:01 29188008 31615984 705208 2.14 76156 2622332 1962708 5.78 974152 2364048 5216 06:05:05 06:00:01 27989708 31618160 691068 2.10 151220 3635572 1714356 5.05 1119992 3289252 468856 06:05:05 06:01:01 27972280 31601376 707276 2.15 151548 3635732 1747232 5.15 1145968 3276796 8 06:05:05 06:02:01 27971120 31601304 707320 2.15 151636 3636348 1766180 5.21 1146424 3277304 176 06:05:05 06:03:01 27518192 31589780 701036 2.13 170836 4049560 1795624 5.29 1405748 3443560 94168 06:05:05 06:04:01 27454460 31586080 701412 2.13 185624 4091548 1814008 5.35 1464444 3441380 164 06:05:05 06:05:01 27428620 31557404 727100 2.21 184292 4089380 1849732 5.45 1489872 3438508 276 06:05:05 Average: 27931770 31595727 705774 2.15 153045 3680067 1807120 5.33 1249514 3218693 81266 06:05:05 06:05:05 05:58:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:05:05 05:59:01 lo 6.67 6.67 0.65 0.65 0.00 0.00 0.00 0.00 06:05:05 05:59:01 veth9d5f7fa 64.24 91.70 6.00 48.81 0.00 0.00 0.00 0.00 06:05:05 05:59:01 ens3 770.45 474.45 6569.67 95.02 0.00 0.00 0.00 0.00 06:05:05 05:59:01 docker0 76.29 106.13 6.10 171.18 0.00 0.00 0.00 0.00 06:05:05 06:00:01 lo 1.07 1.07 0.10 0.10 0.00 0.00 0.00 0.00 06:05:05 06:00:01 ens3 331.86 204.32 4348.15 28.88 0.00 0.00 0.00 0.00 06:05:05 06:00:01 docker0 134.71 221.33 10.44 1813.48 0.00 0.00 0.00 0.00 06:05:05 06:01:01 lo 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 06:05:05 06:01:01 ens3 27.71 28.71 24.35 81.70 0.00 0.00 0.00 0.00 06:05:05 06:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:05:05 06:02:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 06:05:05 06:02:01 ens3 0.33 0.13 0.03 0.01 0.00 0.00 0.00 0.00 06:05:05 06:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:05:05 06:03:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 06:05:05 06:03:01 ens3 202.95 104.67 2804.02 7.37 0.00 0.00 0.00 0.00 06:05:05 06:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:05:05 06:04:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 06:05:05 06:04:01 ens3 1.80 1.02 0.87 0.41 0.00 0.00 0.00 0.00 06:05:05 06:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:05:05 06:05:01 lo 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 06:05:05 06:05:01 ens3 16.68 9.80 17.05 5.86 0.00 0.00 0.00 0.00 06:05:05 06:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:05:05 Average: lo 1.28 1.28 0.12 0.12 0.00 0.00 0.00 0.00 06:05:05 Average: ens3 193.12 117.59 1966.38 31.32 0.00 0.00 0.00 0.00 06:05:05 Average: docker0 30.14 46.78 2.36 283.55 0.00 0.00 0.00 0.00 06:05:05 06:05:05 06:05:05 ---> sar -P ALL: 06:05:05 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-9849) 03/13/23 _x86_64_ (8 CPU) 06:05:05 06:05:05 05:57:41 LINUX RESTART (8 CPU) 06:05:05 06:05:05 05:58:01 CPU %user %nice %system %iowait %steal %idle 06:05:05 05:59:01 all 9.27 0.00 3.63 1.62 0.05 85.44 06:05:05 05:59:01 0 7.99 0.00 4.42 2.95 0.05 84.58 06:05:05 05:59:01 1 7.93 0.00 3.39 3.95 0.07 84.66 06:05:05 05:59:01 2 11.18 0.00 2.94 0.44 0.03 85.41 06:05:05 05:59:01 3 7.49 0.00 3.00 1.03 0.05 88.42 06:05:05 05:59:01 4 8.19 0.00 3.56 1.66 0.05 86.53 06:05:05 05:59:01 5 11.31 0.00 3.63 0.40 0.03 84.63 06:05:05 05:59:01 6 10.34 0.00 3.81 1.99 0.03 83.83 06:05:05 05:59:01 7 9.69 0.00 4.26 0.54 0.07 85.43 06:05:05 06:00:01 all 17.78 0.00 5.23 1.07 0.06 75.86 06:05:05 06:00:01 0 18.02 0.00 5.28 0.40 0.07 76.23 06:05:05 06:00:01 1 17.91 0.00 4.38 1.80 0.05 75.86 06:05:05 06:00:01 2 17.17 0.00 4.24 0.05 0.05 78.48 06:05:05 06:00:01 3 17.61 0.00 7.59 5.47 0.07 69.27 06:05:05 06:00:01 4 17.93 0.00 4.44 0.05 0.05 77.53 06:05:05 06:00:01 5 19.01 0.00 5.23 0.07 0.07 75.63 06:05:05 06:00:01 6 17.10 0.00 5.38 0.03 0.05 77.43 06:05:05 06:00:01 7 17.52 0.00 5.34 0.68 0.07 76.40 06:05:05 06:01:01 all 0.36 0.00 0.22 0.33 0.00 99.09 06:05:05 06:01:01 0 0.30 0.00 0.18 0.37 0.00 99.15 06:05:05 06:01:01 1 0.77 0.00 0.17 0.20 0.00 98.87 06:05:05 06:01:01 2 0.23 0.00 0.18 0.00 0.00 99.58 06:05:05 06:01:01 3 0.20 0.00 0.60 2.04 0.00 97.16 06:05:05 06:01:01 4 0.23 0.00 0.23 0.00 0.00 99.53 06:05:05 06:01:01 5 0.20 0.00 0.15 0.02 0.02 99.62 06:05:05 06:01:01 6 0.35 0.00 0.12 0.00 0.02 99.52 06:05:05 06:01:01 7 0.62 0.00 0.10 0.00 0.00 99.28 06:05:05 06:02:01 all 0.19 0.00 0.03 0.01 0.00 99.76 06:05:05 06:02:01 0 0.05 0.00 0.03 0.03 0.00 99.88 06:05:05 06:02:01 1 0.10 0.00 0.02 0.00 0.00 99.88 06:05:05 06:02:01 2 0.02 0.00 0.02 0.00 0.00 99.97 06:05:05 06:02:01 3 0.02 0.00 0.02 0.02 0.02 99.93 06:05:05 06:02:01 4 1.01 0.00 0.03 0.00 0.02 98.94 06:05:05 06:02:01 5 0.03 0.00 0.05 0.00 0.00 99.92 06:05:05 06:02:01 6 0.27 0.00 0.07 0.03 0.00 99.63 06:05:05 06:02:01 7 0.03 0.00 0.03 0.00 0.00 99.93 06:05:05 06:03:01 all 1.88 0.00 0.90 0.29 0.01 96.91 06:05:05 06:03:01 0 1.57 0.00 0.88 0.95 0.02 96.58 06:05:05 06:03:01 1 2.05 0.00 0.65 0.32 0.02 96.96 06:05:05 06:03:01 2 1.05 0.00 1.05 0.08 0.02 97.80 06:05:05 06:03:01 3 2.09 0.00 0.63 0.03 0.02 97.23 06:05:05 06:03:01 4 2.87 0.00 0.34 0.28 0.00 96.50 06:05:05 06:03:01 5 1.02 0.00 0.47 0.03 0.02 98.46 06:05:05 06:03:01 6 2.91 0.00 0.95 0.22 0.02 95.90 06:05:05 06:03:01 7 1.49 0.00 2.26 0.42 0.02 95.82 06:05:05 06:04:01 all 0.86 0.00 0.53 0.09 0.01 98.51 06:05:05 06:04:01 0 0.42 0.00 0.28 0.48 0.02 98.80 06:05:05 06:04:01 1 2.38 0.00 0.31 0.02 0.02 97.27 06:05:05 06:04:01 2 0.45 0.00 0.30 0.03 0.00 99.22 06:05:05 06:04:01 3 0.38 0.00 0.67 0.02 0.00 98.93 06:05:05 06:04:01 4 0.65 0.00 0.67 0.05 0.02 98.62 06:05:05 06:04:01 5 0.58 0.00 1.28 0.05 0.00 98.08 06:05:05 06:04:01 6 1.28 0.00 0.43 0.02 0.02 98.25 06:05:05 06:04:01 7 0.67 0.00 0.30 0.07 0.02 98.95 06:05:05 06:05:01 all 0.50 0.00 0.21 0.03 0.00 99.25 06:05:05 06:05:01 0 0.50 0.00 0.22 0.10 0.00 99.18 06:05:05 06:05:01 1 0.60 0.00 0.23 0.00 0.00 99.17 06:05:05 06:05:01 2 0.20 0.00 0.15 0.00 0.02 99.63 06:05:05 06:05:01 3 0.90 0.00 0.30 0.03 0.02 98.75 06:05:05 06:05:01 4 0.60 0.00 0.23 0.05 0.00 99.12 06:05:05 06:05:01 5 0.38 0.00 0.28 0.03 0.00 99.30 06:05:05 06:05:01 6 0.37 0.00 0.17 0.00 0.00 99.47 06:05:05 06:05:01 7 0.45 0.00 0.13 0.02 0.00 99.40 06:05:05 Average: all 4.38 0.00 1.53 0.49 0.02 93.59 06:05:05 Average: 0 4.09 0.00 1.60 0.75 0.02 93.53 06:05:05 Average: 1 4.51 0.00 1.30 0.89 0.02 93.28 06:05:05 Average: 2 4.30 0.00 1.26 0.09 0.02 94.33 06:05:05 Average: 3 4.07 0.00 1.82 1.23 0.02 92.87 06:05:05 Average: 4 4.47 0.00 1.35 0.30 0.02 93.87 06:05:05 Average: 5 4.61 0.00 1.57 0.09 0.02 93.71 06:05:05 Average: 6 4.64 0.00 1.55 0.33 0.02 93.47 06:05:05 Average: 7 4.32 0.00 1.76 0.24 0.02 93.65 06:05:05 06:05:05 06:05:05