Pull request #549 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of rcrtss for edgexfoundry/device-modbus-go Loading trusted files from base branch main at 78c106f1b1d485d6b9e2c5cc4debe4f465169507 rather than 074e778b67430273c7fc24f3ffd81deff0ecbf5c Obtained Jenkinsfile from 78c106f1b1d485d6b9e2c5cc4debe4f465169507 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-ssh4300204525270480350.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh6720439959261940682.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-549/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-549/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9051909379693614603.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-549/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh684344859505211855.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh14609555322564414047.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-549/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-549/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9947201897654236789.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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] ========================================================= [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.21 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-3489 in /w/workspace/xfoundry_device-modbus-go_PR-549 [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-549 # 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 Merging remotes/origin/main commit 78c106f1b1d485d6b9e2c5cc4debe4f465169507 into PR head commit 074e778b67430273c7fc24f3ffd81deff0ecbf5c Merge succeeded, producing 074e778b67430273c7fc24f3ffd81deff0ecbf5c Checking out Revision 074e778b67430273c7fc24f3ffd81deff0ecbf5c (PR-549) > 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/549/head:refs/remotes/origin/PR-549 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 074e778b67430273c7fc24f3ffd81deff0ecbf5c # 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 78c106f1b1d485d6b9e2c5cc4debe4f465169507 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 074e778b67430273c7fc24f3ffd81deff0ecbf5c # timeout=10 Commit message: "fix: handle error if primaryTable is unsupported" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:07:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:07:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:07:01 ========================================================= 09:07:01 EdgeX Global Pipelines Version Info 09:07:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:07:02 ------------------- 09:07:02 stable info: 09:07:02 ------------------- 09:07:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:07:02 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 09:07:02 Message: update stable to v1.0.258 09:07:03 ------------------- 09:07:03 experimental info: 09:07:03 ------------------- 09:07:03 Commited By: **** collab-it+edgex@linuxfoundation.org 09:07:03 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 09:07:03 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:07:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 09:07:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 09:07:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:07:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:07:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:07:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 09:07:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:07:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:07:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:07:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:07:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:07:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 09:07:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:07:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:07:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:07:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:07:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:07:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:07:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:07:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:07:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:07:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:07:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:07:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:07:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:07:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:07:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:07:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-549 [Pipeline] echo 09:07:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-549 [Pipeline] echo 09:07:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-549 [Pipeline] echo 09:07:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 074e778b67430273c7fc24f3ffd81deff0ecbf5c [Pipeline] echo 09:07:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 074e778 [Pipeline] echo 09:07:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:07:04 provisioning config files... 09:07:04 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp/config5360459408306519519tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:07:05 ---> ****-login.sh 09:07:05 nexus3.edgexfoundry.org:10001 09:07:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:07:05 Configure a credential helper to remove this warning. See 09:07:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:07:05 09:07:05 Login Succeeded 09:07:05 nexus3.edgexfoundry.org:10002 09:07:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:07:05 Configure a credential helper to remove this warning. See 09:07:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:07:05 09:07:05 Login Succeeded 09:07:05 nexus3.edgexfoundry.org:10003 09:07:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:07:05 Configure a credential helper to remove this warning. See 09:07:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:07:05 09:07:05 Login Succeeded 09:07:05 nexus3.edgexfoundry.org:10004 09:07:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:07:05 Configure a credential helper to remove this warning. See 09:07:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:07:05 09:07:05 Login Succeeded 09:07:05 ****.io 09:07:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:07:06 Configure a credential helper to remove this warning. See 09:07:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:07:06 09:07:06 Login Succeeded 09:07:06 ---> ****-login.sh ends [Pipeline] } 09:07:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:07:06 + git rev-list -1 --merges 074e778b67430273c7fc24f3ffd81deff0ecbf5c~1..074e778b67430273c7fc24f3ffd81deff0ecbf5c [Pipeline] echo 09:07:06 -----------> git rev-list -1 --merges 074e778b67430273c7fc24f3ffd81deff0ecbf5c~1..074e778b67430273c7fc24f3ffd81deff0ecbf5c 074e778b67430273c7fc24f3ffd81deff0ecbf5c [false] [Pipeline] sh 09:07:07 + git log --format=format:%s -1 074e778b67430273c7fc24f3ffd81deff0ecbf5c [Pipeline] echo 09:07:07 ========================================================= 09:07:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:07:07 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:07:07 + git log --format=format:%s -1 074e778b67430273c7fc24f3ffd81deff0ecbf5c [Pipeline] echo 09:07:07 [semverPrep] GIT_COMMIT: 074e778b67430273c7fc24f3ffd81deff0ecbf5c, Commit Message: fix: handle error if primaryTable is unsupported [Pipeline] echo 09:07:07 [semverPrep] This is not a build commit. [Pipeline] sh 09:07:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:07:08 + grep -v github /etc/ssh/ssh_known_hosts 09:07:08 + [ -e /tmp/ssh_known_hosts ] 09:07:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:07:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:07:08 + sudo tee -a /etc/ssh/ssh_known_hosts 09:07:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:07:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:07:08 09:07:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:07:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:07:09 0.1.4: Pulling from edgex-devops/py-git-semver 09:07:09 b85a868b505f: Pulling fs layer 09:07:09 e2be974225ed: Pulling fs layer 09:07:09 339a4e72a1f5: Pulling fs layer 09:07:09 988bab9f4d93: Pulling fs layer 09:07:09 1469e6f7b9e6: Pulling fs layer 09:07:09 eaf3925da568: Pulling fs layer 09:07:09 bab4dde63d76: Pulling fs layer 09:07:09 bde34c3a00c8: Pulling fs layer 09:07:09 b352a97aabf1: Pulling fs layer 09:07:09 4872d77fe225: Pulling fs layer 09:07:09 5851b861e8e6: Pulling fs layer 09:07:09 988bab9f4d93: Waiting 09:07:09 bde34c3a00c8: Waiting 09:07:09 b352a97aabf1: Waiting 09:07:09 1469e6f7b9e6: Waiting 09:07:09 5851b861e8e6: Waiting 09:07:09 eaf3925da568: Waiting 09:07:09 4872d77fe225: Waiting 09:07:09 bab4dde63d76: Waiting 09:07:09 e2be974225ed: Verifying Checksum 09:07:09 e2be974225ed: Download complete 09:07:09 988bab9f4d93: Verifying Checksum 09:07:09 988bab9f4d93: Download complete 09:07:09 1469e6f7b9e6: Verifying Checksum 09:07:09 1469e6f7b9e6: Download complete 09:07:09 339a4e72a1f5: Verifying Checksum 09:07:09 339a4e72a1f5: Download complete 09:07:09 eaf3925da568: Download complete 09:07:09 bde34c3a00c8: Download complete 09:07:09 b352a97aabf1: Verifying Checksum 09:07:09 b352a97aabf1: Download complete 09:07:09 4872d77fe225: Verifying Checksum 09:07:09 4872d77fe225: Download complete 09:07:09 5851b861e8e6: Download complete 09:07:09 b85a868b505f: Verifying Checksum 09:07:09 b85a868b505f: Download complete 09:07:09 bab4dde63d76: Verifying Checksum 09:07:09 bab4dde63d76: Download complete 09:07:10 b85a868b505f: Pull complete 09:07:10 e2be974225ed: Pull complete 09:07:10 339a4e72a1f5: Pull complete 09:07:11 988bab9f4d93: Pull complete 09:07:11 1469e6f7b9e6: Pull complete 09:07:11 eaf3925da568: Pull complete 09:07:13 bab4dde63d76: Pull complete 09:07:13 bde34c3a00c8: Pull complete 09:07:13 b352a97aabf1: Pull complete 09:07:13 4872d77fe225: Pull complete 09:07:13 5851b861e8e6: Pull complete 09:07:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:07:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:07:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:07:13 prd-ubuntu20.04-docker-8c-8g-3489 does not seem to be running inside a container 09:07:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-549 -v /w/workspace/xfoundry_device-modbus-go_PR-549:/w/workspace/xfoundry_device-modbus-go_PR-549:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-549@tmp:/w/workspace/xfoundry_device-modbus-go_PR-549@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-devops/py-git-semver:0.1.4 cat 09:07:16 $ docker top 3e91218f11d4b54ba0291c69ed953809115d8330af2810f596774fecfd4a8a4e -eo pid,comm 09:07:16 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). 09:07:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:07:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:07:16 [ssh-agent] Looking for ssh-agent implementation... 09:07:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:07:16 $ docker exec 3e91218f11d4b54ba0291c69ed953809115d8330af2810f596774fecfd4a8a4e ssh-agent 09:07:16 SSH_AUTH_SOCK=/tmp/ssh-pMULpm7PztBl/agent.33 09:07:16 SSH_AGENT_PID=40 09:07:16 Running ssh-add (command line suppressed) 09:07:17 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-549@tmp/private_key_14853672894611619920.key (/w/workspace/xfoundry_device-modbus-go_PR-549@tmp/private_key_14853672894611619920.key) 09:07:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:07:17 + git tag --points-at HEAD [Pipeline] } 09:07:17 $ docker exec --env ******** --env ******** 3e91218f11d4b54ba0291c69ed953809115d8330af2810f596774fecfd4a8a4e ssh-agent -k 09:07:17 unset SSH_AUTH_SOCK; 09:07:17 unset SSH_AGENT_PID; 09:07:17 echo Agent pid 40 killed; 09:07:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:07:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:07:17 [ssh-agent] Looking for ssh-agent implementation... 09:07:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:07:17 $ docker exec 3e91218f11d4b54ba0291c69ed953809115d8330af2810f596774fecfd4a8a4e ssh-agent 09:07:17 SSH_AUTH_SOCK=/tmp/ssh-r1b7uXBpGAFp/agent.73 09:07:17 SSH_AGENT_PID=79 09:07:17 Running ssh-add (command line suppressed) 09:07:17 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-549@tmp/private_key_4363194451483827673.key (/w/workspace/xfoundry_device-modbus-go_PR-549@tmp/private_key_4363194451483827673.key) 09:07:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:07:18 + git semver init 09:07:18 2024-04-24 09:07:18,463 [run_init] DEBUG init version:0.0.0 force:False 09:07:18 2024-04-24 09:07:18,464 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-549/.semver 09:07:18 2024-04-24 09:07:18,465 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-549/.semver 09:07:18 2024-04-24 09:07:18,465 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-549/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-549, universal_newlines=False, shell=None, istream=None) 09:07:19 2024-04-24 09:07:19,611 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-549/.git/info/exclude 09:07:19 2024-04-24 09:07:19,612 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-549/.semver/PR-549 with force:False 09:07:19 2024-04-24 09:07:19,612 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-549/.semver/PR-549 09:07:19 2024-04-24 09:07:19,616 [execute] INFO git cat-file --batch-check 09:07:19 2024-04-24 09:07:19,617 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-549/.semver, universal_newlines=False, shell=None, istream=) 09:07:19 2024-04-24 09:07:19,622 [execute] INFO git cat-file --batch 09:07:19 2024-04-24 09:07:19,622 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-549/.semver, universal_newlines=False, shell=None, istream=) 09:07:19 2024-04-24 09:07:19,627 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-549/.semver/PR-549 09:07:19 0.0.0 [Pipeline] } 09:07:19 $ docker exec --env ******** --env ******** 3e91218f11d4b54ba0291c69ed953809115d8330af2810f596774fecfd4a8a4e ssh-agent -k 09:07:20 unset SSH_AUTH_SOCK; 09:07:20 unset SSH_AGENT_PID; 09:07:20 echo Agent pid 79 killed; 09:07:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:07:20 + git semver [Pipeline] } 09:07:20 $ docker stop --time=1 3e91218f11d4b54ba0291c69ed953809115d8330af2810f596774fecfd4a8a4e 09:07:22 $ docker rm -f --volumes 3e91218f11d4b54ba0291c69ed953809115d8330af2810f596774fecfd4a8a4e [Pipeline] // withDockerContainer [Pipeline] sh 09:07:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:07:22 Stashed 1 file(s) [Pipeline] echo 09:07:22 [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 09:07:23 provisioning config files... 09:07:23 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp/config17480578814965366524tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:07:23 ---> ****-login.sh 09:07:23 nexus3.edgexfoundry.org:10001 09:07:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:07:23 Configure a credential helper to remove this warning. See 09:07:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:07:23 09:07:23 Login Succeeded 09:07:23 nexus3.edgexfoundry.org:10002 09:07:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:07:23 Configure a credential helper to remove this warning. See 09:07:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:07:23 09:07:23 Login Succeeded 09:07:23 nexus3.edgexfoundry.org:10003 09:07:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:07:23 Configure a credential helper to remove this warning. See 09:07:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:07:23 09:07:23 Login Succeeded 09:07:23 nexus3.edgexfoundry.org:10004 09:07:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:07:23 Configure a credential helper to remove this warning. See 09:07:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:07:23 09:07:23 Login Succeeded 09:07:23 ****.io 09:07:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:07:24 Configure a credential helper to remove this warning. See 09:07:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:07:24 09:07:24 Login Succeeded 09:07:24 ---> ****-login.sh ends [Pipeline] } 09:07:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:07:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:07:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:07:24 ========================================================= 09:07:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 09:07:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:07:24 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 09:07:24 Sending build context to Docker daemon 17.37MB 09:07:24 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 09:07:24 Step 2/10 : FROM ${BASE} AS builder 09:07:24 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 09:07:24 619be1103602: Pulling fs layer 09:07:24 7862e08f4a3e: Pulling fs layer 09:07:24 5df492c9dc93: Pulling fs layer 09:07:24 7629e6793208: Pulling fs layer 09:07:24 4f4fb700ef54: Pulling fs layer 09:07:24 fb5054dd5b73: Pulling fs layer 09:07:24 eeca6798cff9: Pulling fs layer 09:07:24 aa269ceb94a6: Pulling fs layer 09:07:24 ada007ff1a6a: Pulling fs layer 09:07:24 7629e6793208: Waiting 09:07:24 4f4fb700ef54: Waiting 09:07:24 eeca6798cff9: Waiting 09:07:24 aa269ceb94a6: Waiting 09:07:24 fb5054dd5b73: Waiting 09:07:24 ada007ff1a6a: Waiting 09:07:24 7862e08f4a3e: Download complete 09:07:25 7629e6793208: Verifying Checksum 09:07:25 7629e6793208: Download complete 09:07:25 4f4fb700ef54: Verifying Checksum 09:07:25 4f4fb700ef54: Download complete 09:07:25 fb5054dd5b73: Verifying Checksum 09:07:25 fb5054dd5b73: Download complete 09:07:25 619be1103602: Verifying Checksum 09:07:25 619be1103602: Download complete 09:07:25 eeca6798cff9: Verifying Checksum 09:07:25 eeca6798cff9: Download complete 09:07:25 619be1103602: Pull complete 09:07:25 ada007ff1a6a: Verifying Checksum 09:07:25 ada007ff1a6a: Download complete 09:07:25 7862e08f4a3e: Pull complete 09:07:25 5df492c9dc93: Verifying Checksum 09:07:25 5df492c9dc93: Download complete 09:07:26 aa269ceb94a6: Verifying Checksum 09:07:26 aa269ceb94a6: Download complete 09:07:28 5df492c9dc93: Pull complete 09:07:28 7629e6793208: Pull complete 09:07:28 4f4fb700ef54: Pull complete 09:07:28 fb5054dd5b73: Pull complete 09:07:28 eeca6798cff9: Pull complete 09:07:31 aa269ceb94a6: Pull complete 09:07:31 ada007ff1a6a: Pull complete 09:07:31 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 09:07:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 09:07:31 ---> f489d0715acc 09:07:31 Step 3/10 : ARG ADD_BUILD_TAGS="" 09:07:36 ---> Running in 0ea42f24750c 09:07:36 Removing intermediate container 0ea42f24750c 09:07:36 ---> 96445bfd43eb 09:07:36 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:07:36 ---> Running in f4ede1ac0374 09:07:36 Removing intermediate container f4ede1ac0374 09:07:36 ---> b1c34ab3763f 09:07:36 Step 5/10 : RUN apk add --update --no-cache make git openssh 09:07:36 ---> Running in ab158aa69214 09:07:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:07:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:07:36 (1/8) Installing openssh-keygen (9.3_p2-r1) 09:07:36 (2/8) Installing libedit (20221030.3.1-r1) 09:07:36 (3/8) Installing openssh-client-common (9.3_p2-r1) 09:07:36 (4/8) Installing openssh-client-default (9.3_p2-r1) 09:07:36 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 09:07:36 (6/8) Installing openssh-server-common (9.3_p2-r1) 09:07:36 (7/8) Installing openssh-server (9.3_p2-r1) 09:07:36 (8/8) Installing openssh (9.3_p2-r1) 09:07:36 Executing busybox-1.36.1-r5.trigger 09:07:36 OK: 270 MiB in 60 packages 09:07:37 Removing intermediate container ab158aa69214 09:07:37 ---> bc920f959f70 09:07:37 Step 6/10 : WORKDIR /device-modbus-go 09:07:37 ---> Running in c46b0b45328c 09:07:37 Removing intermediate container c46b0b45328c 09:07:37 ---> 05137ea23186 09:07:37 Step 7/10 : COPY go.mod vendor* ./ 09:07:37 ---> b77cbc029392 09:07:37 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:07:37 ---> Running in a593dc88a590 09:07:38 Still waiting to schedule task 09:07:38 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 09:08:09 Removing intermediate container a593dc88a590 09:08:09 ---> 4e8d43a7cc31 09:08:09 Step 9/10 : COPY . . 09:08:09 ---> a883501f1ab5 09:08:09 Step 10/10 : RUN ${MAKE} 09:08:09 ---> Running in 8a16f374baab 09:08:10 noop 09:08:10 Removing intermediate container 8a16f374baab 09:08:10 ---> cc00cc2f6e95 09:08:10 Successfully built cc00cc2f6e95 09:08:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:08:10 + docker inspect -f . ci-base-image-x86_64 09:08:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:08:10 prd-ubuntu20.04-docker-8c-8g-3489 does not seem to be running inside a container 09:08:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-549 -v /w/workspace/xfoundry_device-modbus-go_PR-549:/w/workspace/xfoundry_device-modbus-go_PR-549:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-549@tmp:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:08:11 $ docker top 4ce6a5a53e1b02a2e8a57d4e46eaae36c8ea8b78a3a85a932f323b4bb334acf5 -eo pid,comm [Pipeline] { [Pipeline] sh 09:08:11 + go version 09:08:11 go version go1.21.9 linux/amd64 [Pipeline] } 09:08:11 $ docker stop --time=1 4ce6a5a53e1b02a2e8a57d4e46eaae36c8ea8b78a3a85a932f323b4bb334acf5 09:08:12 $ docker rm -f --volumes 4ce6a5a53e1b02a2e8a57d4e46eaae36c8ea8b78a3a85a932f323b4bb334acf5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:08:13 + docker inspect -f . ci-base-image-x86_64 09:08:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:08:13 prd-ubuntu20.04-docker-8c-8g-3489 does not seem to be running inside a container 09:08:13 $ 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-549 -v /w/workspace/xfoundry_device-modbus-go_PR-549:/w/workspace/xfoundry_device-modbus-go_PR-549:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-549@tmp:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:08:14 $ docker top e149782ae66107b3eb1bae4d82314bb7ee649bdf541ce1dce422bb47f75f448a -eo pid,comm [Pipeline] { [Pipeline] sh 09:08:14 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-549 [Pipeline] fileExists [Pipeline] sh 09:08:14 + make test 09:08:14 go test ./... -coverprofile=coverage.out 09:08:16 ? github.com/edgexfoundry/device-modbus-go [no test files] 09:08:26 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 09:08:26 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.017s coverage: 47.9% of statements 09:08:32 go vet ./... 09:08:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:08:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:08:35 ./bin/test-attribution-txt.sh 09:08:35 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 09:08:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:08:35 $ docker stop --time=1 e149782ae66107b3eb1bae4d82314bb7ee649bdf541ce1dce422bb47f75f448a 09:08:39 $ docker rm -f --volumes e149782ae66107b3eb1bae4d82314bb7ee649bdf541ce1dce422bb47f75f448a [Pipeline] // withDockerContainer [Pipeline] sh 09:08:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:08:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:08:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:08:40 + ls -al . 09:08:40 total 196 09:08:40 drwxrwxr-x 9 jenkins jenkins 4096 Apr 24 09:08 . 09:08:40 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 09:06 .. 09:08:40 -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 09:06 .dockerignore 09:08:40 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 09:08 .git 09:08:40 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 09:06 .github 09:08:40 -rw-rw-r-- 1 jenkins jenkins 266 Apr 24 09:06 .gitignore 09:08:40 -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 09:06 .golangci.yml 09:08:40 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 09:07 .semver 09:08:40 -rw-rw-r-- 1 jenkins jenkins 11101 Apr 24 09:06 Attribution.txt 09:08:40 -rw-rw-r-- 1 jenkins jenkins 16388 Apr 24 09:06 CHANGELOG.md 09:08:40 -rw-rw-r-- 1 jenkins jenkins 1474 Apr 24 09:06 Dockerfile 09:08:40 -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 09:06 GOVERNANCE.md 09:08:40 -rw-rw-r-- 1 jenkins jenkins 658 Apr 24 09:06 Jenkinsfile 09:08:40 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 09:06 LICENSE 09:08:40 -rw-rw-r-- 1 jenkins jenkins 1942 Apr 24 09:06 Makefile 09:08:40 -rw-rw-r-- 1 jenkins jenkins 622 Apr 24 09:06 OWNERS.md 09:08:40 -rw-rw-r-- 1 jenkins jenkins 4463 Apr 24 09:06 README.md 09:08:40 -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 09:07 VERSION 09:08:40 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 09:06 bin 09:08:40 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 09:06 cmd 09:08:40 -rw-r--r-- 1 jenkins jenkins 24601 Apr 24 09:08 coverage.out 09:08:40 -rw-rw-r-- 1 jenkins jenkins 3987 Apr 24 09:06 go.mod 09:08:40 -rw-rw-r-- 1 jenkins jenkins 36558 Apr 24 09:06 go.sum 09:08:40 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 09:06 internal 09:08:40 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 09:06 simulator 09:08:40 -rw-rw-r-- 1 jenkins jenkins 229 Apr 24 09:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:08:41 + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=074e778b67430273c7fc24f3ffd81deff0ecbf5c --label arch=amd64 --label version=0.0.0 . 09:08:41 Sending build context to Docker daemon 17.4MB 09:08:41 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 09:08:41 Step 2/23 : FROM ${BASE} AS builder 09:08:41 ---> cc00cc2f6e95 09:08:41 Step 3/23 : ARG ADD_BUILD_TAGS="" 09:08:41 ---> Running in 357855f726f6 09:08:41 Removing intermediate container 357855f726f6 09:08:41 ---> 2a00913c1d48 09:08:41 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:08:41 ---> Running in b3743a27d947 09:08:41 Removing intermediate container b3743a27d947 09:08:41 ---> 8ec3ae59c605 09:08:41 Step 5/23 : RUN apk add --update --no-cache make git openssh 09:08:41 ---> Running in 3a1b31a8f6f3 09:08:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:08:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:08:42 OK: 270 MiB in 60 packages 09:08:42 Removing intermediate container 3a1b31a8f6f3 09:08:42 ---> 8f093903cffb 09:08:42 Step 6/23 : WORKDIR /device-modbus-go 09:08:42 ---> Running in 18ce9ce94ec0 09:08:42 Removing intermediate container 18ce9ce94ec0 09:08:42 ---> 427fe2097b61 09:08:42 Step 7/23 : COPY go.mod vendor* ./ 09:08:42 ---> 91aba28affe3 09:08:42 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:08:42 ---> Running in 847d344fe0d6 09:08:43 Removing intermediate container 847d344fe0d6 09:08:43 ---> f9996c78f79b 09:08:43 Step 9/23 : COPY . . 09:08:43 ---> 606e92e559d2 09:08:43 Step 10/23 : RUN ${MAKE} 09:08:43 ---> Running in dd776c68bfce 09:08:44 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.11" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 09:09:06 Removing intermediate container dd776c68bfce 09:09:06 ---> 3d5e8a11c438 09:09:06 Step 11/23 : FROM alpine:3.18 09:09:06 3.18: Pulling from library/alpine 09:09:06 619be1103602: Already exists 09:09:06 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 09:09:06 Status: Downloaded newer image for alpine:3.18 09:09:06 ---> d3782b16ccc9 09:09:06 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 09:09:06 ---> Running in 53951be0d0a1 09:09:06 Removing intermediate container 53951be0d0a1 09:09:06 ---> be9c4c95e451 09:09:06 Step 13/23 : RUN apk add --update --no-cache dumb-init 09:09:06 ---> Running in 82c6374a7ba9 09:09:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:09:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:09:06 (1/1) Installing dumb-init (1.2.5-r2) 09:09:06 Executing busybox-1.36.1-r5.trigger 09:09:06 OK: 7 MiB in 16 packages 09:09:06 Removing intermediate container 82c6374a7ba9 09:09:06 ---> 9675e5f24dd3 09:09:06 Step 14/23 : RUN apk --no-cache upgrade 09:09:06 ---> Running in 9fb7268d68f6 09:09:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:09:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:09:06 Upgrading critical system libraries and apk-tools: 09:09:06 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 09:09:06 Executing busybox-1.36.1-r5.trigger 09:09:06 Continuing the upgrade transaction with new apk-tools: 09:09:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:09:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:09:06 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 09:09:06 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 09:09:06 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 09:09:06 OK: 7 MiB in 16 packages 09:09:06 Removing intermediate container 9fb7268d68f6 09:09:06 ---> 94f16f7c61d0 09:09:06 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 09:09:06 ---> 88dcadcb6768 09:09:06 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 09:09:06 ---> 68222f67a1d7 09:09:06 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 09:09:06 ---> 9288f532f178 09:09:06 Step 18/23 : EXPOSE 59901 09:09:06 ---> Running in 41a1b82f0983 09:09:06 Removing intermediate container 41a1b82f0983 09:09:06 ---> 7042aed62dd0 09:09:06 Step 19/23 : ENTRYPOINT ["/device-modbus"] 09:09:06 ---> Running in 24f968c9a18c 09:09:06 Removing intermediate container 24f968c9a18c 09:09:06 ---> 8b88661883d8 09:09:06 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 09:09:06 ---> Running in 2386c3b753ea 09:09:06 Removing intermediate container 2386c3b753ea 09:09:06 ---> 061c1e6cdbc4 09:09:06 Step 21/23 : LABEL arch=amd64 09:09:06 ---> Running in da765f22c2a2 09:09:06 Removing intermediate container da765f22c2a2 09:09:06 ---> e133780bb710 09:09:06 Step 22/23 : LABEL git_sha=074e778b67430273c7fc24f3ffd81deff0ecbf5c 09:09:07 ---> Running in 727cc25dd090 09:09:07 Removing intermediate container 727cc25dd090 09:09:07 ---> 672d05767130 09:09:07 Step 23/23 : LABEL version=0.0.0 09:09:07 ---> Running in 5890396efaba 09:09:07 Removing intermediate container 5890396efaba 09:09:07 ---> e575cb16363d 09:09:07 [Warning] One or more build-args [ARCH] were not consumed 09:09:07 Successfully built e575cb16363d 09:09:07 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:09:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:09:08 09:09:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:09:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:09:08 latest: Pulling from edgex-lftools-log-publisher 09:09:08 5eb5b503b376: Pulling fs layer 09:09:08 5c69ac0246d0: Pulling fs layer 09:09:08 ec43610c2a17: Pulling fs layer 09:09:08 3a2ae6a8a46f: Pulling fs layer 09:09:08 33b1e0a273af: Pulling fs layer 09:09:08 5d3b04190fa2: Pulling fs layer 09:09:08 2f39f015ded8: Pulling fs layer 09:09:08 3a2ae6a8a46f: Waiting 09:09:08 33b1e0a273af: Waiting 09:09:08 2f39f015ded8: Waiting 09:09:08 5d3b04190fa2: Waiting 09:09:08 5c69ac0246d0: Verifying Checksum 09:09:08 5c69ac0246d0: Download complete 09:09:08 3a2ae6a8a46f: Verifying Checksum 09:09:08 3a2ae6a8a46f: Download complete 09:09:08 33b1e0a273af: Verifying Checksum 09:09:08 33b1e0a273af: Download complete 09:09:08 5d3b04190fa2: Verifying Checksum 09:09:08 5d3b04190fa2: Download complete 09:09:08 ec43610c2a17: Verifying Checksum 09:09:08 ec43610c2a17: Download complete 09:09:08 5eb5b503b376: Verifying Checksum 09:09:08 5eb5b503b376: Download complete 09:09:09 2f39f015ded8: Download complete 09:09:09 5eb5b503b376: Pull complete 09:09:09 5c69ac0246d0: Pull complete 09:09:10 ec43610c2a17: Pull complete 09:09:10 3a2ae6a8a46f: Pull complete 09:09:10 33b1e0a273af: Pull complete 09:09:10 5d3b04190fa2: Pull complete 09:09:14 2f39f015ded8: Pull complete 09:09:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:09:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:09:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:09:15 prd-ubuntu20.04-docker-8c-8g-3489 does not seem to be running inside a container 09:09:15 $ 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-549 -v /w/workspace/xfoundry_device-modbus-go_PR-549:/w/workspace/xfoundry_device-modbus-go_PR-549:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-549@tmp:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:09:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3490 in /w/workspace/xfoundry_device-modbus-go_PR-549 09:09:19 $ docker top 6f5576667a6d95d3782343e2b93aeb6c67dbfd016d874cf8991b0b9dd13d7026 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 09:09:19 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 09:09:19 Selected Git installation does not exist. Using Default 09:09:19 The recommended git tool is: NONE 09:09:19 ---> job-cost.sh 09:09:19 lf-activate-venv: SKIPPING 09:09:19 INFO: No Stack... 09:09:20 INFO: Retrieving Pricing Info for: v3-standard-8 09:09:20 INFO: Archiving Costs [Pipeline] sh 09:09:20 + cat /w/workspace/xfoundry_device-modbus-go_PR-549/archives/cost.csv 09:09:20 + cut -d, -f6 [Pipeline] lock 09:09:20 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-549-1-stack-cost] 09:09:20 Resource [jenkins-edgexfoundry-device-modbus-go-PR-549-1-stack-cost] did not exist. Created. 09:09:20 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-549-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:09:21 + echo total: 0.2199999988079071 [Pipeline] stash 09:09:21 Stashed 1 file(s) [Pipeline] } 09:09:21 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-549-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:09:21 $ docker stop --time=1 6f5576667a6d95d3782343e2b93aeb6c67dbfd016d874cf8991b0b9dd13d7026 09:09:22 $ docker rm -f --volumes 6f5576667a6d95d3782343e2b93aeb6c67dbfd016d874cf8991b0b9dd13d7026 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:09:24 using credential edgex-jenkins-ssh 09:09:24 Cloning the remote Git repository 09:09:24 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 09:09:24 > git init /w/workspace/device-modbus-go/1 # timeout=10 09:09:24 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 09:09:24 > git --version # timeout=10 09:09:24 > git --version # 'git version 2.25.1' 09:09:24 using GIT_SSH to set credentials SSH Credentials for GitHub 09:09:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:09:26 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 09:09:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:09:28 Merging remotes/origin/main commit 78c106f1b1d485d6b9e2c5cc4debe4f465169507 into PR head commit 074e778b67430273c7fc24f3ffd81deff0ecbf5c 09:09:27 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 09:09:27 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 09:09:27 using GIT_SSH to set credentials SSH Credentials for GitHub 09:09:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/549/head:refs/remotes/origin/PR-549 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:09:28 > git config core.sparsecheckout # timeout=10 09:09:28 > git checkout -f 074e778b67430273c7fc24f3ffd81deff0ecbf5c # timeout=10 09:09:28 Merge succeeded, producing 074e778b67430273c7fc24f3ffd81deff0ecbf5c 09:09:28 Checking out Revision 074e778b67430273c7fc24f3ffd81deff0ecbf5c (PR-549) 09:09:28 > git remote # timeout=10 09:09:28 > git config --get remote.origin.url # timeout=10 09:09:28 using GIT_SSH to set credentials SSH Credentials for GitHub 09:09:28 > git merge 78c106f1b1d485d6b9e2c5cc4debe4f465169507 # timeout=10 09:09:28 > git rev-parse HEAD^{commit} # timeout=10 09:09:28 > git config core.sparsecheckout # timeout=10 09:09:28 > git checkout -f 074e778b67430273c7fc24f3ffd81deff0ecbf5c # timeout=10 09:09:31 Commit message: "fix: handle error if primaryTable is unsupported" 09:09:31 > git --version # timeout=10 09:09:32 > git --version # 'git version 2.25.1' 09:09:32 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:09:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:09:33 % Total % Received % Xferd Average Speed Time Time Time Current 09:09:33 Dload Upload Total Spent Left Speed 09:09:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k 100 12828 100 12828 0 0 104k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh 09:09:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:09:34 + sudo tee /etc/docker/daemon.new 09:09:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:09:34 { 09:09:34 "registry-mirrors": [ 09:09:34 "https://nexus3.edgexfoundry.org:10001" 09:09:34 ], 09:09:34 "bip": "10.250.0.254/24", 09:09:34 "hosts": [ 09:09:34 "tcp://0.0.0.0:5555", 09:09:34 "unix:///var/run/docker.sock" 09:09:34 ], 09:09:34 "mtu": 1458, 09:09:34 "selinux-enabled": true, 09:09:34 "seccomp-profile": "/etc/docker/seccomp.json" 09:09:34 } [Pipeline] sh 09:09:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:09:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:09:53 provisioning config files... 09:09:53 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config16875871999843904072tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:09:53 ---> ****-login.sh 09:09:53 nexus3.edgexfoundry.org:10001 09:09:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:09:54 Configure a credential helper to remove this warning. See 09:09:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:09:54 09:09:54 Login Succeeded 09:09:54 nexus3.edgexfoundry.org:10002 09:09:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:09:54 Configure a credential helper to remove this warning. See 09:09:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:09:54 09:09:54 Login Succeeded 09:09:54 nexus3.edgexfoundry.org:10003 09:09:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:09:55 Configure a credential helper to remove this warning. See 09:09:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:09:55 09:09:55 Login Succeeded 09:09:55 nexus3.edgexfoundry.org:10004 09:09:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:09:55 Configure a credential helper to remove this warning. See 09:09:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:09:55 09:09:55 Login Succeeded 09:09:55 ****.io 09:09:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:09:56 Configure a credential helper to remove this warning. See 09:09:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:09:56 09:09:56 Login Succeeded 09:09:56 ---> ****-login.sh ends [Pipeline] } 09:09:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:09:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:09:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:09:56 ========================================================= 09:09:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 09:09:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:09:57 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 09:09:57 Sending build context to Docker daemon 8.82MB 09:09:57 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 09:09:57 Step 2/10 : FROM ${BASE} AS builder 09:09:57 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:09:57 c6b39de5b339: Pulling fs layer 09:09:57 a69c41024577: Pulling fs layer 09:09:57 d6de4b400683: Pulling fs layer 09:09:57 35cb2a7552d0: Pulling fs layer 09:09:57 4f4fb700ef54: Pulling fs layer 09:09:57 464afbd9ba4c: Pulling fs layer 09:09:57 00f215d4a9da: Pulling fs layer 09:09:57 d496ad576159: Pulling fs layer 09:09:57 464afbd9ba4c: Waiting 09:09:57 00f215d4a9da: Waiting 09:09:57 d496ad576159: Waiting 09:09:57 35cb2a7552d0: Waiting 09:09:57 4f4fb700ef54: Waiting 09:09:57 a69c41024577: Verifying Checksum 09:09:57 a69c41024577: Download complete 09:09:57 35cb2a7552d0: Verifying Checksum 09:09:57 35cb2a7552d0: Download complete 09:09:57 4f4fb700ef54: Verifying Checksum 09:09:57 4f4fb700ef54: Download complete 09:09:57 464afbd9ba4c: Verifying Checksum 09:09:57 464afbd9ba4c: Download complete 09:09:57 c6b39de5b339: Verifying Checksum 09:09:57 c6b39de5b339: Download complete 09:09:58 d496ad576159: Verifying Checksum 09:09:58 d496ad576159: Download complete 09:09:58 c6b39de5b339: Pull complete 09:09:59 a69c41024577: Pull complete 09:09:59 d6de4b400683: Verifying Checksum 09:09:59 d6de4b400683: Download complete 09:10:00 00f215d4a9da: Verifying Checksum 09:10:00 00f215d4a9da: Download complete 09:10:12 d6de4b400683: Pull complete 09:10:12 35cb2a7552d0: Pull complete 09:10:12 4f4fb700ef54: Pull complete 09:10:12 464afbd9ba4c: Pull complete 09:10:21 00f215d4a9da: Pull complete 09:10:22 d496ad576159: Pull complete 09:10:22 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 09:10:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 09:10:22 ---> f246e2811388 09:10:22 Step 3/10 : ARG ADD_BUILD_TAGS="" 09:10:24 ---> Running in 994dafbfca4d 09:10:24 Removing intermediate container 994dafbfca4d 09:10:24 ---> ffd922eb060f 09:10:24 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:10:24 ---> Running in 36663326b191 09:10:25 Removing intermediate container 36663326b191 09:10:25 ---> fa9f9b4a0768 09:10:25 Step 5/10 : RUN apk add --update --no-cache make git openssh 09:10:25 ---> Running in fd842cff7444 09:10:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:10:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:10:27 (1/8) Installing openssh-keygen (9.3_p2-r1) 09:10:27 (2/8) Installing libedit (20221030.3.1-r1) 09:10:27 (3/8) Installing openssh-client-common (9.3_p2-r1) 09:10:27 (4/8) Installing openssh-client-default (9.3_p2-r1) 09:10:27 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 09:10:27 (6/8) Installing openssh-server-common (9.3_p2-r1) 09:10:27 (7/8) Installing openssh-server (9.3_p2-r1) 09:10:27 (8/8) Installing openssh (9.3_p2-r1) 09:10:27 Executing busybox-1.36.1-r5.trigger 09:10:27 OK: 272 MiB in 60 packages 09:10:29 Removing intermediate container fd842cff7444 09:10:29 ---> fdbef308390e 09:10:29 Step 6/10 : WORKDIR /device-modbus-go 09:10:29 ---> Running in dd98fbebc100 09:10:29 Removing intermediate container dd98fbebc100 09:10:29 ---> 667a432d4726 09:10:29 Step 7/10 : COPY go.mod vendor* ./ 09:10:29 ---> 3643c8717742 09:10:29 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:10:29 ---> Running in 9614c17631d9 09:11:26 Removing intermediate container 9614c17631d9 09:11:26 ---> 99a2d8c76601 09:11:26 Step 9/10 : COPY . . 09:11:27 ---> ed934b1c4c4d 09:11:27 Step 10/10 : RUN ${MAKE} 09:11:27 ---> Running in 73aa3a1c9c79 09:11:28 noop 09:11:29 Removing intermediate container 73aa3a1c9c79 09:11:29 ---> 249b164ed897 09:11:29 Successfully built 249b164ed897 09:11:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:29 + docker inspect -f . ci-base-image-arm64 09:11:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:11:30 prd-ubuntu20.04-docker-arm64-4c-16g-3490 does not seem to be running inside a container 09:11:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:11:31 $ docker top 2a4e7f9e7faf60821cd10b6201ce7c845b72fafa822857c5223b7d7f8d29d86c -eo pid,comm [Pipeline] { [Pipeline] sh 09:11:32 + go version 09:11:32 go version go1.21.9 linux/arm64 [Pipeline] } 09:11:32 $ docker stop --time=1 2a4e7f9e7faf60821cd10b6201ce7c845b72fafa822857c5223b7d7f8d29d86c 09:11:33 $ docker rm -f --volumes 2a4e7f9e7faf60821cd10b6201ce7c845b72fafa822857c5223b7d7f8d29d86c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:34 + docker inspect -f . ci-base-image-arm64 09:11:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:11:35 prd-ubuntu20.04-docker-arm64-4c-16g-3490 does not seem to be running inside a container 09:11:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:11:36 $ docker top 25bc5a3b81f8353512a4400490e71f3dd2a90ba9119fd36be4dbc36b55254f1a -eo pid,comm [Pipeline] { [Pipeline] sh 09:11:37 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 09:11:37 + make test 09:11:37 go test ./... -coverprofile=coverage.out 09:11:41 ? github.com/edgexfoundry/device-modbus-go [no test files] 09:13:48 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 09:13:48 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.078s coverage: 47.9% of statements 09:13:48 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:13:48 go vet ./... 09:14:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:14:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:14:03 ./bin/test-attribution-txt.sh 09:14:03 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 09:14:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:14:03 $ docker stop --time=1 25bc5a3b81f8353512a4400490e71f3dd2a90ba9119fd36be4dbc36b55254f1a 09:14:05 $ docker rm -f --volumes 25bc5a3b81f8353512a4400490e71f3dd2a90ba9119fd36be4dbc36b55254f1a [Pipeline] // withDockerContainer [Pipeline] sh 09:14:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:14:06 Warning: overwriting stash ‘coverage-report’ 09:14:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:14:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:14:07 + ls -al . 09:14:07 total 192 09:14:07 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 09:11 . 09:14:07 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 09:09 .. 09:14:07 -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 09:09 .dockerignore 09:14:07 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 09:09 .git 09:14:07 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 09:09 .github 09:14:07 -rw-rw-r-- 1 jenkins jenkins 266 Apr 24 09:09 .gitignore 09:14:07 -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 09:09 .golangci.yml 09:14:07 -rw-rw-r-- 1 jenkins jenkins 11101 Apr 24 09:09 Attribution.txt 09:14:07 -rw-rw-r-- 1 jenkins jenkins 16388 Apr 24 09:09 CHANGELOG.md 09:14:07 -rw-rw-r-- 1 jenkins jenkins 1474 Apr 24 09:09 Dockerfile 09:14:07 -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 09:09 GOVERNANCE.md 09:14:07 -rw-rw-r-- 1 jenkins jenkins 658 Apr 24 09:09 Jenkinsfile 09:14:07 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 09:09 LICENSE 09:14:07 -rw-rw-r-- 1 jenkins jenkins 1942 Apr 24 09:09 Makefile 09:14:07 -rw-rw-r-- 1 jenkins jenkins 622 Apr 24 09:09 OWNERS.md 09:14:07 -rw-rw-r-- 1 jenkins jenkins 4463 Apr 24 09:09 README.md 09:14:07 -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 09:07 VERSION 09:14:07 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 09:09 bin 09:14:07 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 09:09 cmd 09:14:07 -rw-r--r-- 1 jenkins jenkins 24601 Apr 24 09:13 coverage.out 09:14:07 -rw-rw-r-- 1 jenkins jenkins 3987 Apr 24 09:09 go.mod 09:14:07 -rw-rw-r-- 1 jenkins jenkins 36558 Apr 24 09:09 go.sum 09:14:07 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 09:09 internal 09:14:07 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 09:09 simulator 09:14:07 -rw-rw-r-- 1 jenkins jenkins 229 Apr 24 09:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:08 + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=074e778b67430273c7fc24f3ffd81deff0ecbf5c --label arch=arm64 --label version=0.0.0 . 09:14:08 Sending build context to Docker daemon 8.845MB 09:14:08 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 09:14:08 Step 2/23 : FROM ${BASE} AS builder 09:14:08 ---> 249b164ed897 09:14:08 Step 3/23 : ARG ADD_BUILD_TAGS="" 09:14:08 ---> Running in 2b0d4646bf53 09:14:08 Removing intermediate container 2b0d4646bf53 09:14:08 ---> ba4480197c75 09:14:08 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:14:08 ---> Running in 2818ac75bb55 09:14:09 Removing intermediate container 2818ac75bb55 09:14:09 ---> fccdae537981 09:14:09 Step 5/23 : RUN apk add --update --no-cache make git openssh 09:14:09 ---> Running in 303bf0dab1e2 09:14:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:14:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:14:11 OK: 272 MiB in 60 packages 09:14:12 Removing intermediate container 303bf0dab1e2 09:14:12 ---> f1fad8d52928 09:14:12 Step 6/23 : WORKDIR /device-modbus-go 09:14:12 ---> Running in 6574324092f5 09:14:12 Removing intermediate container 6574324092f5 09:14:12 ---> 8a348467ff45 09:14:12 Step 7/23 : COPY go.mod vendor* ./ 09:14:13 ---> 34554a2953d3 09:14:13 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:14:13 ---> Running in a8ebe8829e2f 09:14:15 Removing intermediate container a8ebe8829e2f 09:14:15 ---> e40fab316cb1 09:14:15 Step 9/23 : COPY . . 09:14:16 ---> ca8baa6b2e22 09:14:16 Step 10/23 : RUN ${MAKE} 09:14:16 ---> Running in 40966f7670d7 09:14:17 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.11" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 09:16:23 Removing intermediate container 40966f7670d7 09:16:23 ---> 560889028a6a 09:16:23 Step 11/23 : FROM alpine:3.18 09:16:23 3.18: Pulling from library/alpine 09:16:23 c6b39de5b339: Already exists 09:16:23 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 09:16:23 Status: Downloaded newer image for alpine:3.18 09:16:23 ---> 33abbf032149 09:16:23 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 09:16:23 ---> Running in 4a23ccc2c313 09:16:23 Removing intermediate container 4a23ccc2c313 09:16:23 ---> dca19a06d5bb 09:16:23 Step 13/23 : RUN apk add --update --no-cache dumb-init 09:16:23 ---> Running in 986a8518ce1a 09:16:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:16:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:16:26 (1/1) Installing dumb-init (1.2.5-r2) 09:16:26 Executing busybox-1.36.1-r5.trigger 09:16:26 OK: 8 MiB in 16 packages 09:16:27 Removing intermediate container 986a8518ce1a 09:16:27 ---> 9853e70684a6 09:16:27 Step 14/23 : RUN apk --no-cache upgrade 09:16:27 ---> Running in 03d84ee27be7 09:16:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:16:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:16:29 Upgrading critical system libraries and apk-tools: 09:16:29 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 09:16:29 Executing busybox-1.36.1-r5.trigger 09:16:29 Continuing the upgrade transaction with new apk-tools: 09:16:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:16:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:16:30 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 09:16:30 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 09:16:30 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 09:16:30 OK: 8 MiB in 16 packages 09:16:31 Removing intermediate container 03d84ee27be7 09:16:31 ---> 6587bfd96255 09:16:31 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 09:16:32 ---> 8da7b92e33e3 09:16:32 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 09:16:33 ---> c736579af124 09:16:33 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 09:16:33 ---> b4bdac60e91d 09:16:33 Step 18/23 : EXPOSE 59901 09:16:33 ---> Running in 290b370d4d31 09:16:33 Removing intermediate container 290b370d4d31 09:16:33 ---> 817e5a6fcc69 09:16:33 Step 19/23 : ENTRYPOINT ["/device-modbus"] 09:16:33 ---> Running in 37769bf86ac6 09:16:34 Removing intermediate container 37769bf86ac6 09:16:34 ---> e67cf664f8d3 09:16:34 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 09:16:34 ---> Running in e708d60c9f58 09:16:34 Removing intermediate container e708d60c9f58 09:16:34 ---> a5f74f5511f0 09:16:34 Step 21/23 : LABEL arch=arm64 09:16:34 ---> Running in 87969aafa1ba 09:16:35 Removing intermediate container 87969aafa1ba 09:16:35 ---> bcee9e926c2a 09:16:35 Step 22/23 : LABEL git_sha=074e778b67430273c7fc24f3ffd81deff0ecbf5c 09:16:35 ---> Running in 758db13b7883 09:16:35 Removing intermediate container 758db13b7883 09:16:35 ---> 12ab7979fea0 09:16:35 Step 23/23 : LABEL version=0.0.0 09:16:35 ---> Running in 7f7ddb1c2c6d 09:16:35 Removing intermediate container 7f7ddb1c2c6d 09:16:35 ---> 96bfc9d65f53 09:16:35 [Warning] One or more build-args [ARCH] were not consumed 09:16:35 Successfully built 96bfc9d65f53 09:16:35 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:16:36 09:16:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:16:37 arm64: Pulling from edgex-lftools-log-publisher 09:16:37 8998bd30e6a1: Pulling fs layer 09:16:37 04944245beec: Pulling fs layer 09:16:37 699f458cf7ca: Pulling fs layer 09:16:37 765212b225bb: Pulling fs layer 09:16:37 f23df028b6ca: Pulling fs layer 09:16:37 d65c8cfc05b1: Pulling fs layer 09:16:37 2437ff75d9bd: Pulling fs layer 09:16:37 765212b225bb: Waiting 09:16:37 f23df028b6ca: Waiting 09:16:37 d65c8cfc05b1: Waiting 09:16:37 2437ff75d9bd: Waiting 09:16:37 04944245beec: Verifying Checksum 09:16:37 04944245beec: Download complete 09:16:37 765212b225bb: Verifying Checksum 09:16:37 765212b225bb: Download complete 09:16:37 f23df028b6ca: Verifying Checksum 09:16:37 f23df028b6ca: Download complete 09:16:37 d65c8cfc05b1: Verifying Checksum 09:16:37 d65c8cfc05b1: Download complete 09:16:37 699f458cf7ca: Verifying Checksum 09:16:37 699f458cf7ca: Download complete 09:16:37 8998bd30e6a1: Verifying Checksum 09:16:37 8998bd30e6a1: Download complete 09:16:40 2437ff75d9bd: Verifying Checksum 09:16:40 2437ff75d9bd: Download complete 09:16:42 8998bd30e6a1: Pull complete 09:16:43 04944245beec: Pull complete 09:16:44 699f458cf7ca: Pull complete 09:16:44 765212b225bb: Pull complete 09:16:45 f23df028b6ca: Pull complete 09:16:45 d65c8cfc05b1: Pull complete 09:17:03 2437ff75d9bd: Pull complete 09:17:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:17:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:17:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:17:04 prd-ubuntu20.04-docker-arm64-4c-16g-3490 does not seem to be running inside a container 09:17:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:17:06 $ docker top 7dd3f58ec008e1eaefd94fbcd94871dceea906497a10d9cc5820ee0f4f58ebe1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:17:07 ---> job-cost.sh 09:17:07 lf-activate-venv: SKIPPING 09:17:07 INFO: No Stack... 09:17:07 INFO: Retrieving Pricing Info for: v3-standard-4 09:17:08 INFO: Archiving Costs [Pipeline] sh 09:17:09 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 09:17:09 + cut -d, -f6 [Pipeline] lock 09:17:09 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-549-1-stack-cost] 09:17:09 Resource [jenkins-edgexfoundry-device-modbus-go-PR-549-1-stack-cost] did not exist. Created. 09:17:09 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-549-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:17:09 /w/workspace/device-modbus-go/1@tmp/durable-203ae494/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:17:09 + echo total: 0.10999999940395355 [Pipeline] stash 09:17:09 Warning: overwriting stash ‘stack-cost’ 09:17:09 Stashed 1 file(s) [Pipeline] } 09:17:09 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-549-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:17:10 $ docker stop --time=1 7dd3f58ec008e1eaefd94fbcd94871dceea906497a10d9cc5820ee0f4f58ebe1 09:17:11 $ docker rm -f --volumes 7dd3f58ec008e1eaefd94fbcd94871dceea906497a10d9cc5820ee0f4f58ebe1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 09:17:12 provisioning config files... 09:17:12 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp/config11232265308025903435tmp [Pipeline] { [Pipeline] sh 09:17:12 + set +x 09:17:12 + curl -s https://codecov.io/bash 09:17:12 + bash -s -- 09:17:12 09:17:12 _____ _ 09:17:12 / ____| | | 09:17:12 | | ___ __| | ___ ___ _____ __ 09:17:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:17:12 | |___| (_) | (_| | __/ (_| (_) \ V / 09:17:12 \_____\___/ \__,_|\___|\___\___/ \_/ 09:17:12 Bash-1.0.6 09:17:12 09:17:12 09:17:12 ==> git version 2.25.1 found 09:17:12 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 09:17:12 Release-Date: 2020-01-08 09:17:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:17:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:17:12 ==> Jenkins CI detected. 09:17:12 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-549 09:17:12 project root: . 09:17:12 --> token set from env 09:17:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:17:12 ==> Running gcov in . (disable via -X gcov) 09:17:13 ==> Python coveragepy not found 09:17:13 ==> Searching for coverage reports in: 09:17:13 + . 09:17:13 -> Found 1 reports 09:17:13 ==> Detecting git/mercurial file structure 09:17:13 ==> Reading reports 09:17:13 + ./coverage.out bytes=24601 09:17:13 ==> Appending adjustments 09:17:13 https://docs.codecov.io/docs/fixing-reports 09:17:13 + Found adjustments 09:17:13 ==> Gzipping contents 09:17:13 4.0K /tmp/codecov.jCrM90.gz 09:17:13 ==> Uploading reports 09:17:13 url: https://codecov.io 09:17:13 query: branch=PR-549&commit=074e778b67430273c7fc24f3ffd81deff0ecbf5c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-549%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=549&job=&cmd_args= 09:17:13 -> Pinging Codecov 09:17:13 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-549&commit=074e778b67430273c7fc24f3ffd81deff0ecbf5c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-549%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=549&job=&cmd_args= 09:17:13 -> Uploading to 09:17:13 https://storage.googleapis.com/codecov/v4/raw/2024-04-24/55DBCA73C666E3227836607328DD7E49/074e778b67430273c7fc24f3ffd81deff0ecbf5c/d0f58bc3-292c-46b4-80e2-d57334db7146.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240424%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240424T091713Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e6361dbda904fb042bf9d49b1d250212712424cc1950811921e5f2ca6fd4a38a 09:17:13 % Total % Received % Xferd Average Speed Time Time Time Current 09:17:13 Dload Upload Total Spent Left Speed 09:17:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 15621 --:--:-- --:--:-- --:--:-- 15558 100 3843 0 0 100 3843 0 15621 --:--:-- --:--:-- --:--:-- 15558 09:17:13 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/074e778b67430273c7fc24f3ffd81deff0ecbf5c [Pipeline] } 09:17:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 09:17:15 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-549/archives ] 09:17:15 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-549/archives 09:17:15 total 16 09:17:15 drwxr-xr-x 3 root root 4096 Apr 24 09:09 . 09:17:15 drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 09:09 .. 09:17:15 drwxr-xr-x 2 root root 4096 Apr 24 09:09 cost 09:17:15 -rw-r--r-- 1 root root 88 Apr 24 09:09 cost.csv 09:17:15 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-549/archives 09:17:15 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-549/archives 09:17:15 total 16 09:17:15 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 09:09 . 09:17:15 drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 09:09 .. 09:17:15 drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 09:09 cost 09:17:15 -rw-r--r-- 1 jenkins jenkins 88 Apr 24 09:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:17:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:17:16 ---> package-listing.sh 09:17:16 ++ tr '[:upper:]' '[:lower:]' 09:17:16 ++ facter osfamily 09:17:17 + OS_FAMILY=debian 09:17:17 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-549 09:17:17 + START_PACKAGES=/tmp/packages_start.txt 09:17:17 + END_PACKAGES=/tmp/packages_end.txt 09:17:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:17:17 + PACKAGES=/tmp/packages_start.txt 09:17:17 + '[' /w/workspace/xfoundry_device-modbus-go_PR-549 ']' 09:17:17 + PACKAGES=/tmp/packages_end.txt 09:17:17 + case "${OS_FAMILY}" in 09:17:17 + dpkg -l 09:17:17 + grep '^ii' 09:17:17 + '[' -f /tmp/packages_start.txt ']' 09:17:17 + '[' -f /tmp/packages_end.txt ']' 09:17:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:17:17 + '[' /w/workspace/xfoundry_device-modbus-go_PR-549 ']' 09:17:17 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-549/archives/ 09:17:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-549/archives/ [Pipeline] echo 09:17:17 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-549/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:17:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:17:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:17:18 prd-ubuntu20.04-docker-8c-8g-3489 does not seem to be running inside a container 09:17:18 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-549/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-549 -v /w/workspace/xfoundry_device-modbus-go_PR-549:/w/workspace/xfoundry_device-modbus-go_PR-549:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-549@tmp:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:17:18 $ docker top 9d8ce65ea2093f8847ce709e4a3472c140a5cdf467abc22697e9171403526747 -eo pid,comm [Pipeline] { [Pipeline] sh 09:17:18 + touch /tmp/pre-build-complete [Pipeline] sh 09:17:19 + mkdir -p /var/log/sysstat [Pipeline] sh 09:17:19 + ls /var/log/sa-host 09:17:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:17:19 provisioning config files... 09:17:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp/config16284052025536850042tmp [Pipeline] { [Pipeline] echo 09:17:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:17:20 ---> create-netrc.sh [Pipeline] } 09:17:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:17:20 ---> python-tools-install.sh [Pipeline] echo 09:17:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:17:20 ---> sudo-logs.sh 09:17:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:17:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:17:21 ---> job-cost.sh 09:17:21 lf-activate-venv: SKIPPING 09:17:21 DEBUG: total: 0.2199999988079071 09:17:21 INFO: Retrieving Stack Cost... 09:17:21 INFO: Retrieving Pricing Info for: v3-standard-8 09:17:22 INFO: Archiving Costs [Pipeline] echo 09:17:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:17:22 ---> logs-deploy.sh 09:17:22 lf-activate-venv: SKIPPING 09:17:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-549/1 09:17:22 INFO: archiving workspace using pattern(s): 09:17:23 Archives upload complete. 09:17:23 INFO: archiving logs to Nexus