Pull request #363 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 MonicaisHer for edgexfoundry/device-modbus-go Loading trusted files from base branch main at 244b59a475c78f58285a57e1d616d41d185ebc19 rather than a82986c07e5695eebc56e37c885ca8284ed6c9db Obtained Jenkinsfile from 244b59a475c78f58285a57e1d616d41d185ebc19 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-ssh10066083135170749535.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh17733849061071500629.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-363/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-363/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18403027576335688416.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-363/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5240183737823974601.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh513768995808358734.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-363/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-363/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13522934886188195617.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 2c432abcf2d142718d3fe157e81a44428d9b823e Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-20590 in /w/workspace/xfoundry_device-modbus-go_PR-363 [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-363 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 244b59a475c78f58285a57e1d616d41d185ebc19 into PR head commit a82986c07e5695eebc56e37c885ca8284ed6c9db Merge succeeded, producing a82986c07e5695eebc56e37c885ca8284ed6c9db Checking out Revision a82986c07e5695eebc56e37c885ca8284ed6c9db (PR-363) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/363/head:refs/remotes/origin/PR-363 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a82986c07e5695eebc56e37c885ca8284ed6c9db # 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 244b59a475c78f58285a57e1d616d41d185ebc19 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a82986c07e5695eebc56e37c885ca8284ed6c9db # timeout=10 Commit message: "refactor(snap): edgex-snap-hooks related upgrade" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:09:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:09:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:09:00 ========================================================= 13:09:00 EdgeX Global Pipelines Version Info 13:09:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:09:01 ------------------- 13:09:01 stable info: 13:09:01 ------------------- 13:09:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:09:01 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 13:09:01 Message: update stable to v1.0.238 13:09:01 ------------------- 13:09:01 experimental info: 13:09:01 ------------------- 13:09:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:09:01 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 13:09:01 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:09:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 13:09:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 13:09:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:09:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:09:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:09:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 13:09:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:09:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:09:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:09:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:09:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:09:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 13:09:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:09:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:09:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:09:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:09:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:09:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:09:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:09:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:09:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:09:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:09:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:09:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:09:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:09:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:09:03 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:09:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-363 [Pipeline] echo 13:09:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-363 [Pipeline] echo 13:09:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-363 [Pipeline] echo 13:09:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a82986c07e5695eebc56e37c885ca8284ed6c9db [Pipeline] echo 13:09:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a82986c [Pipeline] echo 13:09:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:09:03 provisioning config files... 13:09:03 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-363@tmp/config8312833077599062784tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:09:04 ---> docker-login.sh 13:09:04 nexus3.edgexfoundry.org:10001 13:09:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:09:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:09:04 Configure a credential helper to remove this warning. See 13:09:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:09:04 13:09:04 Login Succeeded 13:09:04 nexus3.edgexfoundry.org:10002 13:09:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:09:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:09:04 Configure a credential helper to remove this warning. See 13:09:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:09:04 13:09:04 Login Succeeded 13:09:04 nexus3.edgexfoundry.org:10003 13:09:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:09:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:09:04 Configure a credential helper to remove this warning. See 13:09:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:09:04 13:09:04 Login Succeeded 13:09:04 nexus3.edgexfoundry.org:10004 13:09:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:09:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:09:04 Configure a credential helper to remove this warning. See 13:09:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:09:04 13:09:04 Login Succeeded 13:09:04 docker.io 13:09:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:09:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:09:05 Configure a credential helper to remove this warning. See 13:09:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:09:05 13:09:05 Login Succeeded 13:09:05 ---> docker-login.sh ends [Pipeline] } 13:09:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:09:06 + git rev-list -1 --merges a82986c07e5695eebc56e37c885ca8284ed6c9db~1..a82986c07e5695eebc56e37c885ca8284ed6c9db [Pipeline] echo 13:09:06 -----------> git rev-list -1 --merges a82986c07e5695eebc56e37c885ca8284ed6c9db~1..a82986c07e5695eebc56e37c885ca8284ed6c9db a82986c07e5695eebc56e37c885ca8284ed6c9db [false] [Pipeline] sh 13:09:06 + git log --format=format:%s -1 a82986c07e5695eebc56e37c885ca8284ed6c9db [Pipeline] echo 13:09:06 ========================================================= 13:09:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:09:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:09:07 + git log --format=format:%s -1 a82986c07e5695eebc56e37c885ca8284ed6c9db [Pipeline] echo 13:09:07 [semverPrep] GIT_COMMIT: a82986c07e5695eebc56e37c885ca8284ed6c9db, Commit Message: refactor(snap): edgex-snap-hooks related upgrade [Pipeline] echo 13:09:07 [semverPrep] This is not a build commit. [Pipeline] sh 13:09:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:09:07 + grep -v github /etc/ssh/ssh_known_hosts 13:09:07 + [ -e /tmp/ssh_known_hosts ] 13:09:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:09:07 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:09:07 + sudo tee -a /etc/ssh/ssh_known_hosts 13:09:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:09:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:09:08 13:09:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:09:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:09:08 0.1.4: Pulling from edgex-devops/py-git-semver 13:09:08 b85a868b505f: Pulling fs layer 13:09:08 e2be974225ed: Pulling fs layer 13:09:08 339a4e72a1f5: Pulling fs layer 13:09:08 988bab9f4d93: Pulling fs layer 13:09:08 1469e6f7b9e6: Pulling fs layer 13:09:08 eaf3925da568: Pulling fs layer 13:09:08 bab4dde63d76: Pulling fs layer 13:09:08 bde34c3a00c8: Pulling fs layer 13:09:08 b352a97aabf1: Pulling fs layer 13:09:08 4872d77fe225: Pulling fs layer 13:09:08 5851b861e8e6: Pulling fs layer 13:09:08 988bab9f4d93: Waiting 13:09:08 1469e6f7b9e6: Waiting 13:09:08 eaf3925da568: Waiting 13:09:08 b352a97aabf1: Waiting 13:09:08 bde34c3a00c8: Waiting 13:09:08 bab4dde63d76: Waiting 13:09:08 5851b861e8e6: Waiting 13:09:08 4872d77fe225: Waiting 13:09:08 e2be974225ed: Verifying Checksum 13:09:08 e2be974225ed: Download complete 13:09:08 988bab9f4d93: Verifying Checksum 13:09:08 988bab9f4d93: Download complete 13:09:08 1469e6f7b9e6: Verifying Checksum 13:09:08 1469e6f7b9e6: Download complete 13:09:08 339a4e72a1f5: Verifying Checksum 13:09:08 339a4e72a1f5: Download complete 13:09:08 eaf3925da568: Download complete 13:09:08 bde34c3a00c8: Verifying Checksum 13:09:08 bde34c3a00c8: Download complete 13:09:08 b352a97aabf1: Verifying Checksum 13:09:08 b352a97aabf1: Download complete 13:09:08 4872d77fe225: Download complete 13:09:08 5851b861e8e6: Download complete 13:09:08 b85a868b505f: Verifying Checksum 13:09:08 b85a868b505f: Download complete 13:09:08 bab4dde63d76: Verifying Checksum 13:09:08 bab4dde63d76: Download complete 13:09:09 b85a868b505f: Pull complete 13:09:10 e2be974225ed: Pull complete 13:09:10 339a4e72a1f5: Pull complete 13:09:10 988bab9f4d93: Pull complete 13:09:11 1469e6f7b9e6: Pull complete 13:09:11 eaf3925da568: Pull complete 13:09:12 bab4dde63d76: Pull complete 13:09:12 bde34c3a00c8: Pull complete 13:09:12 b352a97aabf1: Pull complete 13:09:13 4872d77fe225: Pull complete 13:09:13 5851b861e8e6: Pull complete 13:09:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:09:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:09:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:09:13 prd-ubuntu20.04-docker-8c-8g-20590 does not seem to be running inside a container 13:09:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-363 -v /w/workspace/xfoundry_device-modbus-go_PR-363:/w/workspace/xfoundry_device-modbus-go_PR-363:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-363@tmp:/w/workspace/xfoundry_device-modbus-go_PR-363@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 13:09:16 $ docker top 0fe811b546904c0b4530e01c8442123f387def06b80d169fe0a6ca261d7324cc -eo pid,comm 13:09: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). 13:09:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:09:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:09:16 [ssh-agent] Looking for ssh-agent implementation... 13:09:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:09:16 $ docker exec 0fe811b546904c0b4530e01c8442123f387def06b80d169fe0a6ca261d7324cc ssh-agent 13:09:16 SSH_AUTH_SOCK=/tmp/ssh-0rESLXTI4mSs/agent.32 13:09:16 SSH_AGENT_PID=38 13:09:16 Running ssh-add (command line suppressed) 13:09:16 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-363@tmp/private_key_5396899373183777277.key (/w/workspace/xfoundry_device-modbus-go_PR-363@tmp/private_key_5396899373183777277.key) 13:09:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:09:17 + git tag --points-at HEAD [Pipeline] } 13:09:17 $ docker exec --env ******** --env ******** 0fe811b546904c0b4530e01c8442123f387def06b80d169fe0a6ca261d7324cc ssh-agent -k 13:09:17 unset SSH_AUTH_SOCK; 13:09:17 unset SSH_AGENT_PID; 13:09:17 echo Agent pid 38 killed; 13:09:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:09:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:09:17 [ssh-agent] Looking for ssh-agent implementation... 13:09:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:09:17 $ docker exec 0fe811b546904c0b4530e01c8442123f387def06b80d169fe0a6ca261d7324cc ssh-agent 13:09:17 SSH_AUTH_SOCK=/tmp/ssh-4p0osR6fsmmO/agent.71 13:09:17 SSH_AGENT_PID=77 13:09:17 Running ssh-add (command line suppressed) 13:09:17 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-363@tmp/private_key_8516647764809553190.key (/w/workspace/xfoundry_device-modbus-go_PR-363@tmp/private_key_8516647764809553190.key) 13:09:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:09:18 + git semver init 13:09:18 2022-07-20 13:09:18,295 [run_init] DEBUG init version:0.0.0 force:False 13:09:18 2022-07-20 13:09:18,296 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-363/.semver 13:09:18 2022-07-20 13:09:18,296 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-363/.semver 13:09:18 2022-07-20 13:09:18,296 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-363/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-363, universal_newlines=False, shell=None, istream=None) 13:09:19 2022-07-20 13:09:18,968 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-363/.git/info/exclude 13:09:19 2022-07-20 13:09:18,968 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-363/.semver/PR-363 with force:False 13:09:19 2022-07-20 13:09:18,969 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-363/.semver/PR-363 13:09:19 2022-07-20 13:09:18,973 [execute] INFO git cat-file --batch-check 13:09:19 2022-07-20 13:09:18,973 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-363/.semver, universal_newlines=False, shell=None, istream=) 13:09:19 2022-07-20 13:09:18,979 [execute] INFO git cat-file --batch 13:09:19 2022-07-20 13:09:18,979 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-363/.semver, universal_newlines=False, shell=None, istream=) 13:09:19 2022-07-20 13:09:18,983 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-363/.semver/PR-363 13:09:19 0.0.0 [Pipeline] } 13:09:19 $ docker exec --env ******** --env ******** 0fe811b546904c0b4530e01c8442123f387def06b80d169fe0a6ca261d7324cc ssh-agent -k 13:09:19 unset SSH_AUTH_SOCK; 13:09:19 unset SSH_AGENT_PID; 13:09:19 echo Agent pid 77 killed; 13:09:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:09:19 + git semver [Pipeline] } 13:09:20 $ docker stop --time=1 0fe811b546904c0b4530e01c8442123f387def06b80d169fe0a6ca261d7324cc 13:09:21 $ docker rm -f 0fe811b546904c0b4530e01c8442123f387def06b80d169fe0a6ca261d7324cc [Pipeline] // withDockerContainer [Pipeline] sh 13:09:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:09:22 Stashed 1 file(s) [Pipeline] echo 13:09: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 13:09:22 provisioning config files... 13:09:22 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-363@tmp/config2055552019730818350tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:09:23 ---> docker-login.sh 13:09:23 nexus3.edgexfoundry.org:10001 13:09:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:09:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:09:23 Configure a credential helper to remove this warning. See 13:09:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:09:23 13:09:23 Login Succeeded 13:09:23 nexus3.edgexfoundry.org:10002 13:09:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:09:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:09:23 Configure a credential helper to remove this warning. See 13:09:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:09:23 13:09:23 Login Succeeded 13:09:23 nexus3.edgexfoundry.org:10003 13:09:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:09:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:09:23 Configure a credential helper to remove this warning. See 13:09:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:09:23 13:09:23 Login Succeeded 13:09:23 nexus3.edgexfoundry.org:10004 13:09:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:09:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:09:23 Configure a credential helper to remove this warning. See 13:09:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:09:23 13:09:23 Login Succeeded 13:09:23 docker.io 13:09:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:09:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:09:24 Configure a credential helper to remove this warning. See 13:09:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:09:24 13:09:24 Login Succeeded 13:09:24 ---> docker-login.sh ends [Pipeline] } 13:09:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:09:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:09:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:09:24 ========================================================= 13:09:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 13:09:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:09:24 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 13:09:24 Sending build context to Docker daemon 6.107MB 13:09:24 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 13:09:24 Step 2/10 : FROM ${BASE} AS builder 13:09:24 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 13:09:24 2408cc74d12b: Pulling fs layer 13:09:24 ea60b727a1ce: Pulling fs layer 13:09:24 30c4a7721957: Pulling fs layer 13:09:24 370296b7ddb6: Pulling fs layer 13:09:24 7c6cee850709: Pulling fs layer 13:09:24 39a5fcdaea64: Pulling fs layer 13:09:24 d94ebbe4e438: Pulling fs layer 13:09:24 bcfd1f05c69d: Pulling fs layer 13:09:24 59ccb84bbe0f: Pulling fs layer 13:09:24 d94ebbe4e438: Waiting 13:09:24 59ccb84bbe0f: Waiting 13:09:24 bcfd1f05c69d: Waiting 13:09:24 370296b7ddb6: Waiting 13:09:24 7c6cee850709: Waiting 13:09:24 39a5fcdaea64: Waiting 13:09:24 30c4a7721957: Verifying Checksum 13:09:24 30c4a7721957: Download complete 13:09:24 ea60b727a1ce: Verifying Checksum 13:09:25 7c6cee850709: Verifying Checksum 13:09:25 7c6cee850709: Download complete 13:09:25 39a5fcdaea64: Verifying Checksum 13:09:25 39a5fcdaea64: Download complete 13:09:25 2408cc74d12b: Verifying Checksum 13:09:25 2408cc74d12b: Download complete 13:09:25 d94ebbe4e438: Verifying Checksum 13:09:25 d94ebbe4e438: Download complete 13:09:25 2408cc74d12b: Pull complete 13:09:25 ea60b727a1ce: Pull complete 13:09:25 30c4a7721957: Pull complete 13:09:25 59ccb84bbe0f: Verifying Checksum 13:09:25 59ccb84bbe0f: Download complete 13:09:25 370296b7ddb6: Verifying Checksum 13:09:25 370296b7ddb6: Download complete 13:09:26 bcfd1f05c69d: Verifying Checksum 13:09:26 bcfd1f05c69d: Download complete 13:09:30 370296b7ddb6: Pull complete 13:09:30 7c6cee850709: Pull complete 13:09:30 39a5fcdaea64: Pull complete 13:09:30 d94ebbe4e438: Pull complete 13:09:32 bcfd1f05c69d: Pull complete 13:09:32 59ccb84bbe0f: Pull complete 13:09:32 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 13:09:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 13:09:32 ---> a4fb48ad2a94 13:09:32 Step 3/10 : ARG MAKE='make build' 13:09:36 ---> Running in 8a39a7bed1ae 13:09:36 Removing intermediate container 8a39a7bed1ae 13:09:36 ---> 2aad8ffe0ced 13:09:36 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:09:36 ---> Running in 287a4d9c5448 13:09:36 Removing intermediate container 287a4d9c5448 13:09:36 ---> 619bd37be7e1 13:09:36 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 13:09:36 ---> Running in 78740afbd7a3 13:09:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:09:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:09:37 Still waiting to schedule task 13:09:37 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 13:09:37 (1/8) Installing openssh-keygen (9.0_p1-r1) 13:09:37 (2/8) Installing libedit (20210910.3.1-r0) 13:09:37 (3/8) Installing openssh-client-common (9.0_p1-r1) 13:09:38 (4/8) Installing openssh-client-default (9.0_p1-r1) 13:09:38 (5/8) Installing openssh-sftp-server (9.0_p1-r1) 13:09:38 (6/8) Installing openssh-server-common (9.0_p1-r1) 13:09:38 (7/8) Installing openssh-server (9.0_p1-r1) 13:09:38 (8/8) Installing openssh (9.0_p1-r1) 13:09:38 Executing busybox-1.35.0-r13.trigger 13:09:38 OK: 217 MiB in 59 packages 13:09:39 Removing intermediate container 78740afbd7a3 13:09:39 ---> 51173f79aa7a 13:09:39 Step 6/10 : WORKDIR /device-modbus-go 13:09:39 ---> Running in dec16dc9fb42 13:09:39 Removing intermediate container dec16dc9fb42 13:09:39 ---> 1c867db9a4fd 13:09:39 Step 7/10 : COPY go.mod vendor* ./ 13:09:39 ---> 627ee2db5579 13:09:39 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:09:39 ---> Running in cef7173ee112 13:09:57 Removing intermediate container cef7173ee112 13:09:57 ---> 6d5f3400ca18 13:09:57 Step 9/10 : COPY . . 13:09:58 ---> a2d754dd64f0 13:09:58 Step 10/10 : RUN ${MAKE} 13:09:58 ---> Running in 1ae44c5e0374 13:09:58 noop 13:09:58 Removing intermediate container 1ae44c5e0374 13:09:58 ---> 45c85e971dec 13:09:58 Successfully built 45c85e971dec 13:09:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:09:59 + docker inspect -f . ci-base-image-x86_64 13:09:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:09:59 prd-ubuntu20.04-docker-8c-8g-20590 does not seem to be running inside a container 13:09:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-363 -v /w/workspace/xfoundry_device-modbus-go_PR-363:/w/workspace/xfoundry_device-modbus-go_PR-363:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-363@tmp:/w/workspace/xfoundry_device-modbus-go_PR-363@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 13:09:59 $ docker top c86f29198e7594b3b9e75fcd8ee2974627bc83a46911c373fed41b7aa6defa1b -eo pid,comm [Pipeline] { [Pipeline] sh 13:10:00 + go version 13:10:00 go version go1.18.3 linux/amd64 [Pipeline] } 13:10:00 $ docker stop --time=1 c86f29198e7594b3b9e75fcd8ee2974627bc83a46911c373fed41b7aa6defa1b 13:10:01 $ docker rm -f c86f29198e7594b3b9e75fcd8ee2974627bc83a46911c373fed41b7aa6defa1b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:10:02 + docker inspect -f . ci-base-image-x86_64 13:10:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:10:02 prd-ubuntu20.04-docker-8c-8g-20590 does not seem to be running inside a container 13:10:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/xfoundry_device-modbus-go_PR-363 -v /w/workspace/xfoundry_device-modbus-go_PR-363:/w/workspace/xfoundry_device-modbus-go_PR-363:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-363@tmp:/w/workspace/xfoundry_device-modbus-go_PR-363@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 13:10:02 $ docker top 0d88a560851fa92ee7fb7ec7082799624ae263e1668cf6e49b9f64ac3f23e86d -eo pid,comm [Pipeline] { [Pipeline] sh 13:10:03 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-363 [Pipeline] fileExists [Pipeline] sh 13:10:03 + make test 13:10:03 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 13:10:03 ? github.com/edgexfoundry/device-modbus-go [no test files] 13:10:12 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 13:10:12 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 46.4% of statements 13:10:18 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 13:10:18 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:10:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:10:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:10:21 ./bin/test-attribution-txt.sh [Pipeline] echo 13:10:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:10:22 $ docker stop --time=1 0d88a560851fa92ee7fb7ec7082799624ae263e1668cf6e49b9f64ac3f23e86d 13:10:24 $ docker rm -f 0d88a560851fa92ee7fb7ec7082799624ae263e1668cf6e49b9f64ac3f23e86d [Pipeline] // withDockerContainer [Pipeline] sh 13:10:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:10:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:10:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:10:25 + ls -al . 13:10:25 total 184 13:10:25 drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 13:10 . 13:10:25 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 13:08 .. 13:10:25 -rw-rw-r-- 1 jenkins jenkins 140 Jul 20 13:08 .dockerignore 13:10:25 drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 13:10 .git 13:10:25 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 13:08 .github 13:10:25 -rw-rw-r-- 1 jenkins jenkins 331 Jul 20 13:08 .gitignore 13:10:25 -rw-rw-r-- 1 jenkins jenkins 41 Jul 20 13:08 .golangci.yml 13:10:25 drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 13:09 .semver 13:10:25 -rw-rw-r-- 1 jenkins jenkins 9636 Jul 20 13:08 Attribution.txt 13:10:25 -rw-rw-r-- 1 jenkins jenkins 10001 Jul 20 13:08 CHANGELOG.md 13:10:25 -rw-rw-r-- 1 jenkins jenkins 1550 Jul 20 13:08 Dockerfile 13:10:25 -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 13:08 GOVERNANCE.md 13:10:25 -rw-rw-r-- 1 jenkins jenkins 680 Jul 20 13:08 Jenkinsfile 13:10:25 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 20 13:08 LICENSE 13:10:25 -rw-rw-r-- 1 jenkins jenkins 1892 Jul 20 13:08 Makefile 13:10:25 -rw-rw-r-- 1 jenkins jenkins 622 Jul 20 13:08 OWNERS.md 13:10:25 -rw-rw-r-- 1 jenkins jenkins 3397 Jul 20 13:08 README.md 13:10:25 -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 13:09 VERSION 13:10:25 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 13:08 bin 13:10:25 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 13:08 cmd 13:10:25 -rw-r--r-- 1 jenkins jenkins 24065 Jul 20 13:10 coverage.out 13:10:25 -rw-rw-r-- 1 jenkins jenkins 3405 Jul 20 13:08 go.mod 13:10:25 -rw-rw-r-- 1 jenkins jenkins 35448 Jul 20 13:08 go.sum 13:10:25 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 13:08 internal 13:10:25 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 13:08 simulator 13:10:25 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 13:08 snap 13:10:25 -rw-rw-r-- 1 jenkins jenkins 229 Jul 20 13:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:10:26 + 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=a82986c07e5695eebc56e37c885ca8284ed6c9db --label arch=amd64 --label version=0.0.0 . 13:10:26 Sending build context to Docker daemon 6.132MB 13:10:26 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 13:10:26 Step 2/23 : FROM ${BASE} AS builder 13:10:26 ---> 45c85e971dec 13:10:26 Step 3/23 : ARG MAKE='make build' 13:10:26 ---> Running in 9776e7517b2a 13:10:26 Removing intermediate container 9776e7517b2a 13:10:26 ---> 32c5e4295efc 13:10:26 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:10:26 ---> Running in bf374b3b25f6 13:10:27 Removing intermediate container bf374b3b25f6 13:10:27 ---> 00d6e397faab 13:10:27 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 13:10:27 ---> Running in 7bfb1121cc3b 13:10:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:10:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:10:28 OK: 217 MiB in 59 packages 13:10:28 Removing intermediate container 7bfb1121cc3b 13:10:28 ---> 71a6a25813f9 13:10:28 Step 6/23 : WORKDIR /device-modbus-go 13:10:28 ---> Running in 9de4b9b555cb 13:10:28 Removing intermediate container 9de4b9b555cb 13:10:28 ---> 56c6bceaac60 13:10:28 Step 7/23 : COPY go.mod vendor* ./ 13:10:29 ---> 79c80cfb914f 13:10:29 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:10:29 ---> Running in 157204d276eb 13:10:29 Removing intermediate container 157204d276eb 13:10:29 ---> b2e51f9e7af4 13:10:29 Step 9/23 : COPY . . 13:10:30 ---> 051c92da8bb5 13:10:30 Step 10/23 : RUN ${MAKE} 13:10:30 ---> Running in 734d436c734e 13:10:30 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 13:10:57 Removing intermediate container 734d436c734e 13:10:57 ---> 326a610c59ba 13:10:57 Step 11/23 : FROM alpine:3.14 13:10:57 3.14: Pulling from library/alpine 13:10:57 decfdc335d9b: Pulling fs layer 13:10:57 decfdc335d9b: Verifying Checksum 13:10:57 decfdc335d9b: Download complete 13:10:57 decfdc335d9b: Pull complete 13:10:57 Digest: sha256:43eb8f0d8215d8661f745f3d88563c026614d843b668b233bbe1666b6d026f61 13:10:57 Status: Downloaded newer image for alpine:3.14 13:10:57 ---> 5977be310a9d 13:10:57 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 13:10:57 ---> Running in 1c4c7ce27614 13:10:57 Removing intermediate container 1c4c7ce27614 13:10:57 ---> ee1a94c3d02a 13:10:57 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:10:57 ---> Running in 2de21c96544f 13:10:57 Removing intermediate container 2de21c96544f 13:10:57 ---> 42ab222000af 13:10:57 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 13:10:57 ---> Running in 0193da5b83a0 13:10:57 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 13:10:57 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 13:10:57 (1/6) Installing dumb-init (1.2.5-r1) 13:10:57 (2/6) Installing libgcc (10.3.1_git20210424-r2) 13:10:57 (3/6) Installing libsodium (1.0.18-r0) 13:10:57 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 13:10:57 (5/6) Installing libzmq (4.3.4-r0) 13:10:57 (6/6) Installing zeromq (4.3.4-r0) 13:10:57 Executing busybox-1.33.1-r8.trigger 13:10:57 OK: 8 MiB in 20 packages 13:10:57 Removing intermediate container 0193da5b83a0 13:10:57 ---> 3cb74fdb0e01 13:10:57 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 13:10:58 ---> ed899243aac7 13:10:58 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 13:10:58 ---> 671c6075f143 13:10:58 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 13:10:58 ---> 0af8e6c733c6 13:10:58 Step 18/23 : EXPOSE 59901 13:10:58 ---> Running in c79820b22237 13:10:58 Removing intermediate container c79820b22237 13:10:58 ---> ea0b3726097c 13:10:58 Step 19/23 : ENTRYPOINT ["/device-modbus"] 13:10:58 ---> Running in 941d9c50d29a 13:10:58 Removing intermediate container 941d9c50d29a 13:10:58 ---> 6ca6bfc95d79 13:10:58 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:10:58 ---> Running in 644fc460a24b 13:10:58 Removing intermediate container 644fc460a24b 13:10:58 ---> 74818cbb89f5 13:10:58 Step 21/23 : LABEL arch=amd64 13:10:58 ---> Running in feb5126e8313 13:10:58 Removing intermediate container feb5126e8313 13:10:58 ---> 339c0df39cd7 13:10:58 Step 22/23 : LABEL git_sha=a82986c07e5695eebc56e37c885ca8284ed6c9db 13:10:58 ---> Running in 13048e1da122 13:10:58 Removing intermediate container 13048e1da122 13:10:58 ---> 4f772166c6e2 13:10:58 Step 23/23 : LABEL version=0.0.0 13:10:59 ---> Running in 6eb2fd62f7e4 13:10:59 Removing intermediate container 6eb2fd62f7e4 13:10:59 ---> fb23b6b7cbde 13:10:59 [Warning] One or more build-args [ARCH] were not consumed 13:10:59 Successfully built fb23b6b7cbde 13:10:59 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 13:11:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:11:00 13:11:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:11:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:11:00 latest: Pulling from edgex-lftools-log-publisher 13:11:00 5eb5b503b376: Pulling fs layer 13:11:00 5c69ac0246d0: Pulling fs layer 13:11:00 ec43610c2a17: Pulling fs layer 13:11:00 3a2ae6a8a46f: Pulling fs layer 13:11:00 33b1e0a273af: Pulling fs layer 13:11:00 5d3b04190fa2: Pulling fs layer 13:11:00 2f39f015ded8: Pulling fs layer 13:11:00 3a2ae6a8a46f: Waiting 13:11:00 33b1e0a273af: Waiting 13:11:00 5d3b04190fa2: Waiting 13:11:00 5c69ac0246d0: Verifying Checksum 13:11:00 5c69ac0246d0: Download complete 13:11:00 3a2ae6a8a46f: Download complete 13:11:00 33b1e0a273af: Verifying Checksum 13:11:00 33b1e0a273af: Download complete 13:11:00 5d3b04190fa2: Verifying Checksum 13:11:00 5d3b04190fa2: Download complete 13:11:00 ec43610c2a17: Verifying Checksum 13:11:00 ec43610c2a17: Download complete 13:11:00 5eb5b503b376: Verifying Checksum 13:11:00 5eb5b503b376: Download complete 13:11:01 2f39f015ded8: Download complete 13:11:01 5eb5b503b376: Pull complete 13:11:02 5c69ac0246d0: Pull complete 13:11:02 ec43610c2a17: Pull complete 13:11:02 3a2ae6a8a46f: Pull complete 13:11:03 33b1e0a273af: Pull complete 13:11:03 5d3b04190fa2: Pull complete 13:11:08 2f39f015ded8: Pull complete 13:11:08 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:11:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:11:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:11:08 prd-ubuntu20.04-docker-8c-8g-20590 does not seem to be running inside a container 13:11:08 $ 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-363 -v /w/workspace/xfoundry_device-modbus-go_PR-363:/w/workspace/xfoundry_device-modbus-go_PR-363:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-363@tmp:/w/workspace/xfoundry_device-modbus-go_PR-363@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 13:11:13 $ docker top 69d469f4e548ddb4c21d221bdbd681bcdccec25ecf51ac5e235f5fa4a8f4952e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:11:14 ---> job-cost.sh 13:11:14 lf-activate-venv: SKIPPING 13:11:14 INFO: No Stack... 13:11:14 INFO: Retrieving Pricing Info for: v3-standard-8 13:11:15 INFO: Archiving Costs [Pipeline] sh 13:11:15 + cut -d, -f6 13:11:15 + cat /w/workspace/xfoundry_device-modbus-go_PR-363/archives/cost.csv [Pipeline] lock 13:11:15 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-363-1-stack-cost] 13:11:15 Resource [jenkins-edgexfoundry-device-modbus-go-PR-363-1-stack-cost] did not exist. Created. 13:11:15 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-363-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:11:15 + echo total: 0.2199999988079071 [Pipeline] stash 13:11:15 Stashed 1 file(s) [Pipeline] } 13:11:15 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-363-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:11:15 $ docker stop --time=1 69d469f4e548ddb4c21d221bdbd681bcdccec25ecf51ac5e235f5fa4a8f4952e 13:11:17 $ docker rm -f 69d469f4e548ddb4c21d221bdbd681bcdccec25ecf51ac5e235f5fa4a8f4952e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:13:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20591 in /w/workspace/xfoundry_device-modbus-go_PR-363 [Pipeline] { [Pipeline] ws 13:13:01 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 13:13:01 Selected Git installation does not exist. Using Default 13:13:01 The recommended git tool is: NONE 13:13:07 using credential edgex-jenkins-ssh 13:13:07 Cloning the remote Git repository 13:13:08 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 13:13:08 > git init /w/workspace/device-modbus-go/1 # timeout=10 13:13:08 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 13:13:08 > git --version # timeout=10 13:13:08 > git --version # 'git version 2.25.1' 13:13:08 using GIT_SSH to set credentials SSH Credentials for GitHub 13:13:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:13:10 Merging remotes/origin/main commit 244b59a475c78f58285a57e1d616d41d185ebc19 into PR head commit a82986c07e5695eebc56e37c885ca8284ed6c9db 13:13:10 Merge succeeded, producing a82986c07e5695eebc56e37c885ca8284ed6c9db 13:13:10 Checking out Revision a82986c07e5695eebc56e37c885ca8284ed6c9db (PR-363) 13:13:09 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 13:13:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:13:09 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 13:13:09 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 13:13:09 using GIT_SSH to set credentials SSH Credentials for GitHub 13:13:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/363/head:refs/remotes/origin/PR-363 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:13:10 > git config core.sparsecheckout # timeout=10 13:13:10 > git checkout -f a82986c07e5695eebc56e37c885ca8284ed6c9db # timeout=10 13:13:10 > git remote # timeout=10 13:13:10 > git config --get remote.origin.url # timeout=10 13:13:10 using GIT_SSH to set credentials SSH Credentials for GitHub 13:13:10 > git merge 244b59a475c78f58285a57e1d616d41d185ebc19 # timeout=10 13:13:10 > git rev-parse HEAD^{commit} # timeout=10 13:13:10 > git config core.sparsecheckout # timeout=10 13:13:10 > git checkout -f a82986c07e5695eebc56e37c885ca8284ed6c9db # timeout=10 13:13:14 Commit message: "refactor(snap): edgex-snap-hooks related upgrade" 13:13:14 > git --version # timeout=10 13:13:14 > git --version # 'git version 2.25.1' 13:13:14 fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:13:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:13:15 % Total % Received % Xferd Average Speed Time Time Time Current 13:13:15 Dload Upload Total Spent Left Speed 13:13:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 97102 0 --:--:-- --:--:-- --:--:-- 97873 [Pipeline] sh 13:13:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:13:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:13:16 + sudo tee /etc/docker/daemon.new 13:13:16 { 13:13:16 "registry-mirrors": [ 13:13:16 "https://nexus3.edgexfoundry.org:10001" 13:13:16 ], 13:13:16 "bip": "10.250.0.254/24", 13:13:16 "hosts": [ 13:13:16 "tcp://0.0.0.0:5555", 13:13:16 "unix:///var/run/docker.sock" 13:13:16 ], 13:13:16 "mtu": 1458, 13:13:16 "selinux-enabled": true, 13:13:16 "seccomp-profile": "/etc/docker/seccomp.json" 13:13:16 } [Pipeline] sh 13:13:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:13:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:13:35 provisioning config files... 13:13:36 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config6588248154393042776tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:13:36 ---> docker-login.sh 13:13:36 nexus3.edgexfoundry.org:10001 13:13:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:37 Configure a credential helper to remove this warning. See 13:13:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:37 13:13:37 Login Succeeded 13:13:37 nexus3.edgexfoundry.org:10002 13:13:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:37 Configure a credential helper to remove this warning. See 13:13:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:37 13:13:37 Login Succeeded 13:13:37 nexus3.edgexfoundry.org:10003 13:13:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:38 Configure a credential helper to remove this warning. See 13:13:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:38 13:13:38 Login Succeeded 13:13:38 nexus3.edgexfoundry.org:10004 13:13:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:38 Configure a credential helper to remove this warning. See 13:13:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:38 13:13:38 Login Succeeded 13:13:38 docker.io 13:13:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:39 Configure a credential helper to remove this warning. See 13:13:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:39 13:13:39 Login Succeeded 13:13:39 ---> docker-login.sh ends [Pipeline] } 13:13:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:13:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:13:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:13:39 ========================================================= 13:13:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 13:13:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:13:40 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 13:13:40 Sending build context to Docker daemon 3.182MB 13:13:40 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 13:13:40 Step 2/10 : FROM ${BASE} AS builder 13:13:40 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:13:40 b3c136eddcbf: Pulling fs layer 13:13:40 c0a3192eca97: Pulling fs layer 13:13:40 a050256f5b6f: Pulling fs layer 13:13:40 656be50a0ddc: Pulling fs layer 13:13:40 2bbca73fdf42: Pulling fs layer 13:13:40 46d945488cbd: Pulling fs layer 13:13:40 8a5474983e97: Pulling fs layer 13:13:40 329c88fbcd65: Pulling fs layer 13:13:40 656be50a0ddc: Waiting 13:13:40 2bbca73fdf42: Waiting 13:13:40 46d945488cbd: Waiting 13:13:40 8a5474983e97: Waiting 13:13:40 329c88fbcd65: Waiting 13:13:40 a050256f5b6f: Download complete 13:13:40 c0a3192eca97: Verifying Checksum 13:13:40 c0a3192eca97: Download complete 13:13:40 2bbca73fdf42: Verifying Checksum 13:13:40 2bbca73fdf42: Download complete 13:13:40 46d945488cbd: Verifying Checksum 13:13:40 46d945488cbd: Download complete 13:13:40 b3c136eddcbf: Verifying Checksum 13:13:40 b3c136eddcbf: Download complete 13:13:41 b3c136eddcbf: Pull complete 13:13:42 329c88fbcd65: Verifying Checksum 13:13:42 329c88fbcd65: Download complete 13:13:42 c0a3192eca97: Pull complete 13:13:42 a050256f5b6f: Pull complete 13:13:43 8a5474983e97: Verifying Checksum 13:13:43 8a5474983e97: Download complete 13:13:43 656be50a0ddc: Verifying Checksum 13:13:43 656be50a0ddc: Download complete 13:13:58 656be50a0ddc: Pull complete 13:13:58 2bbca73fdf42: Pull complete 13:13:58 46d945488cbd: Pull complete 13:14:03 8a5474983e97: Pull complete 13:14:05 329c88fbcd65: Pull complete 13:14:05 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 13:14:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 13:14:05 ---> ff4287adb874 13:14:05 Step 3/10 : ARG MAKE='make build' 13:14:06 ---> Running in edcaad651c92 13:14:06 Removing intermediate container edcaad651c92 13:14:06 ---> 43f9c16a54e8 13:14:06 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:14:06 ---> Running in 94c4b7e8f83a 13:14:09 Removing intermediate container 94c4b7e8f83a 13:14:09 ---> 8d51237346e2 13:14:09 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 13:14:09 ---> Running in 56f88d0e9ece 13:14:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:14:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:14:12 (1/8) Installing openssh-keygen (9.0_p1-r1) 13:14:12 (2/8) Installing libedit (20210910.3.1-r0) 13:14:12 (3/8) Installing openssh-client-common (9.0_p1-r1) 13:14:12 (4/8) Installing openssh-client-default (9.0_p1-r1) 13:14:12 (5/8) Installing openssh-sftp-server (9.0_p1-r1) 13:14:13 (6/8) Installing openssh-server-common (9.0_p1-r1) 13:14:13 (7/8) Installing openssh-server (9.0_p1-r1) 13:14:13 (8/8) Installing openssh (9.0_p1-r1) 13:14:13 Executing busybox-1.35.0-r13.trigger 13:14:13 OK: 228 MiB in 59 packages 13:14:14 Removing intermediate container 56f88d0e9ece 13:14:14 ---> 55bc35e62087 13:14:14 Step 6/10 : WORKDIR /device-modbus-go 13:14:14 ---> Running in 6d55a189f691 13:14:14 Removing intermediate container 6d55a189f691 13:14:14 ---> 512677a68d57 13:14:14 Step 7/10 : COPY go.mod vendor* ./ 13:14:15 ---> 0896d33640e6 13:14:15 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:14:15 ---> Running in 9b7df709d50c 13:15:02 Removing intermediate container 9b7df709d50c 13:15:02 ---> 9c56c7e0e292 13:15:02 Step 9/10 : COPY . . 13:15:02 ---> dcd68dbcca34 13:15:02 Step 10/10 : RUN ${MAKE} 13:15:02 ---> Running in 737f7bca417b 13:15:02 noop 13:15:02 Removing intermediate container 737f7bca417b 13:15:02 ---> 7ac63879c66c 13:15:02 Successfully built 7ac63879c66c 13:15:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:15:02 + docker inspect -f . ci-base-image-arm64 13:15:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:15:03 prd-ubuntu20.04-docker-arm64-4c-16g-20591 does not seem to be running inside a container 13:15:03 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 13:15:04 $ docker top 43099c064f95ec1a4df31a4c99f324dbee211bac67f8595287192a74e6cbcfea -eo pid,comm [Pipeline] { [Pipeline] sh 13:15:05 + go version 13:15:05 go version go1.18.3 linux/arm64 [Pipeline] } 13:15:05 $ docker stop --time=1 43099c064f95ec1a4df31a4c99f324dbee211bac67f8595287192a74e6cbcfea 13:15:07 $ docker rm -f 43099c064f95ec1a4df31a4c99f324dbee211bac67f8595287192a74e6cbcfea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:15:08 + docker inspect -f . ci-base-image-arm64 13:15:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:15:08 prd-ubuntu20.04-docker-arm64-4c-16g-20591 does not seem to be running inside a container 13:15:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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 ******** -e ******** -e ******** ci-base-image-arm64 cat 13:15:09 $ docker top 851c85e0cf4b3f1459ad812e6069930369b6d3fd8ae57b36cc6e8fd26d72f2c4 -eo pid,comm [Pipeline] { [Pipeline] sh 13:15:10 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 13:15:11 + make test 13:15:11 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 13:15:12 ? github.com/edgexfoundry/device-modbus-go [no test files] 13:16:34 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 13:16:34 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.056s coverage: 46.4% of statements 13:16:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:16:34 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:16:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:16:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:16:49 ./bin/test-attribution-txt.sh [Pipeline] echo 13:16:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:16:49 $ docker stop --time=1 851c85e0cf4b3f1459ad812e6069930369b6d3fd8ae57b36cc6e8fd26d72f2c4 13:16:51 $ docker rm -f 851c85e0cf4b3f1459ad812e6069930369b6d3fd8ae57b36cc6e8fd26d72f2c4 [Pipeline] // withDockerContainer [Pipeline] sh 13:16:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:16:52 Warning: overwriting stash ‘coverage-report’ 13:16:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:16:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:16:54 + ls -al . 13:16:54 total 180 13:16:54 drwxrwxr-x 9 jenkins jenkins 4096 Jul 20 13:15 . 13:16:54 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 13:13 .. 13:16:54 -rw-rw-r-- 1 jenkins jenkins 140 Jul 20 13:13 .dockerignore 13:16:54 drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 13:13 .git 13:16:54 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 13:13 .github 13:16:54 -rw-rw-r-- 1 jenkins jenkins 331 Jul 20 13:13 .gitignore 13:16:54 -rw-rw-r-- 1 jenkins jenkins 41 Jul 20 13:13 .golangci.yml 13:16:54 -rw-rw-r-- 1 jenkins jenkins 9636 Jul 20 13:13 Attribution.txt 13:16:54 -rw-rw-r-- 1 jenkins jenkins 10001 Jul 20 13:13 CHANGELOG.md 13:16:54 -rw-rw-r-- 1 jenkins jenkins 1550 Jul 20 13:13 Dockerfile 13:16:54 -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 13:13 GOVERNANCE.md 13:16:54 -rw-rw-r-- 1 jenkins jenkins 680 Jul 20 13:13 Jenkinsfile 13:16:54 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 20 13:13 LICENSE 13:16:54 -rw-rw-r-- 1 jenkins jenkins 1892 Jul 20 13:13 Makefile 13:16:54 -rw-rw-r-- 1 jenkins jenkins 622 Jul 20 13:13 OWNERS.md 13:16:54 -rw-rw-r-- 1 jenkins jenkins 3397 Jul 20 13:13 README.md 13:16:54 -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 13:09 VERSION 13:16:54 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 13:13 bin 13:16:54 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 13:13 cmd 13:16:54 -rw-r--r-- 1 jenkins jenkins 24065 Jul 20 13:16 coverage.out 13:16:54 -rw-rw-r-- 1 jenkins jenkins 3405 Jul 20 13:13 go.mod 13:16:54 -rw-rw-r-- 1 jenkins jenkins 35448 Jul 20 13:13 go.sum 13:16:54 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 13:13 internal 13:16:54 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 13:13 simulator 13:16:54 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 13:13 snap 13:16:54 -rw-rw-r-- 1 jenkins jenkins 229 Jul 20 13:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:16:54 + 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=a82986c07e5695eebc56e37c885ca8284ed6c9db --label arch=arm64 --label version=0.0.0 . 13:16:54 Sending build context to Docker daemon 3.207MB 13:16:54 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 13:16:54 Step 2/23 : FROM ${BASE} AS builder 13:16:54 ---> 7ac63879c66c 13:16:54 Step 3/23 : ARG MAKE='make build' 13:16:55 ---> Running in 01187fac1299 13:16:55 Removing intermediate container 01187fac1299 13:16:55 ---> 17894908c94c 13:16:55 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:16:55 ---> Running in caadaa0d3b8e 13:16:57 Removing intermediate container caadaa0d3b8e 13:16:57 ---> d494bb57d215 13:16:57 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 13:16:57 ---> Running in f303c24da092 13:16:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:16:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:16:59 OK: 228 MiB in 59 packages 13:17:00 Removing intermediate container f303c24da092 13:17:00 ---> 416ac794129c 13:17:00 Step 6/23 : WORKDIR /device-modbus-go 13:17:00 ---> Running in 0946d2e7abbb 13:17:01 Removing intermediate container 0946d2e7abbb 13:17:01 ---> 2a140a3d37b6 13:17:01 Step 7/23 : COPY go.mod vendor* ./ 13:17:01 ---> 879ba772e80e 13:17:01 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:17:01 ---> Running in e9f8c8a3c051 13:17:03 Removing intermediate container e9f8c8a3c051 13:17:03 ---> 4cbadd1dbab9 13:17:03 Step 9/23 : COPY . . 13:17:04 ---> dd3285c68ef5 13:17:04 Step 10/23 : RUN ${MAKE} 13:17:04 ---> Running in 8c41da9b29dc 13:17:05 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 13:19:12 Removing intermediate container 8c41da9b29dc 13:19:12 ---> 19b4ade13f6e 13:19:12 Step 11/23 : FROM alpine:3.14 13:19:12 3.14: Pulling from library/alpine 13:19:12 f4bf3852c6cc: Pulling fs layer 13:19:12 f4bf3852c6cc: Verifying Checksum 13:19:12 f4bf3852c6cc: Download complete 13:19:12 f4bf3852c6cc: Pull complete 13:19:12 Digest: sha256:43eb8f0d8215d8661f745f3d88563c026614d843b668b233bbe1666b6d026f61 13:19:12 Status: Downloaded newer image for alpine:3.14 13:19:12 ---> f19c924ebacc 13:19:12 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 13:19:12 ---> Running in 00dc58b2ca2a 13:19:12 Removing intermediate container 00dc58b2ca2a 13:19:12 ---> 18906953918e 13:19:12 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:19:12 ---> Running in bbeab5a713bf 13:19:12 Removing intermediate container bbeab5a713bf 13:19:12 ---> 8c8b686c842a 13:19:12 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 13:19:12 ---> Running in 8311fcee79a3 13:19:12 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 13:19:12 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 13:19:12 (1/6) Installing dumb-init (1.2.5-r1) 13:19:12 (2/6) Installing libgcc (10.3.1_git20210424-r2) 13:19:12 (3/6) Installing libsodium (1.0.18-r0) 13:19:12 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 13:19:12 (5/6) Installing libzmq (4.3.4-r0) 13:19:12 (6/6) Installing zeromq (4.3.4-r0) 13:19:12 Executing busybox-1.33.1-r8.trigger 13:19:12 OK: 8 MiB in 20 packages 13:19:13 Removing intermediate container 8311fcee79a3 13:19:13 ---> f937871c9354 13:19:13 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 13:19:14 ---> 1cd0425c933c 13:19:14 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 13:19:15 ---> 8372b52e2698 13:19:15 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 13:19:15 ---> 7d604ed9ea72 13:19:15 Step 18/23 : EXPOSE 59901 13:19:15 ---> Running in 4dde1cb86856 13:19:15 Removing intermediate container 4dde1cb86856 13:19:15 ---> 0d38e5ff9cbf 13:19:15 Step 19/23 : ENTRYPOINT ["/device-modbus"] 13:19:15 ---> Running in a26bdd05b1d1 13:19:16 Removing intermediate container a26bdd05b1d1 13:19:16 ---> 20cb9652a0cd 13:19:16 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:19:16 ---> Running in 218b02820971 13:19:16 Removing intermediate container 218b02820971 13:19:16 ---> 98c555648de3 13:19:16 Step 21/23 : LABEL arch=arm64 13:19:16 ---> Running in c0f5c63827d3 13:19:17 Removing intermediate container c0f5c63827d3 13:19:17 ---> 0ec1323b5db7 13:19:17 Step 22/23 : LABEL git_sha=a82986c07e5695eebc56e37c885ca8284ed6c9db 13:19:17 ---> Running in e34492115753 13:19:17 Removing intermediate container e34492115753 13:19:17 ---> 8b16f7eee3da 13:19:17 Step 23/23 : LABEL version=0.0.0 13:19:17 ---> Running in 5118cb2cb62e 13:19:17 Removing intermediate container 5118cb2cb62e 13:19:17 ---> cc792c449eb2 13:19:17 [Warning] One or more build-args [ARCH] were not consumed 13:19:17 Successfully built cc792c449eb2 13:19:17 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 13:19:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:19:18 13:19:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:19:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:19:19 arm64: Pulling from edgex-lftools-log-publisher 13:19:19 8998bd30e6a1: Pulling fs layer 13:19:19 04944245beec: Pulling fs layer 13:19:19 699f458cf7ca: Pulling fs layer 13:19:19 765212b225bb: Pulling fs layer 13:19:19 f23df028b6ca: Pulling fs layer 13:19:19 d65c8cfc05b1: Pulling fs layer 13:19:19 2437ff75d9bd: Pulling fs layer 13:19:19 d65c8cfc05b1: Waiting 13:19:19 765212b225bb: Waiting 13:19:19 2437ff75d9bd: Waiting 13:19:19 f23df028b6ca: Waiting 13:19:19 04944245beec: Verifying Checksum 13:19:19 04944245beec: Download complete 13:19:19 765212b225bb: Verifying Checksum 13:19:19 765212b225bb: Download complete 13:19:19 f23df028b6ca: Verifying Checksum 13:19:19 f23df028b6ca: Download complete 13:19:19 d65c8cfc05b1: Verifying Checksum 13:19:19 d65c8cfc05b1: Download complete 13:19:19 699f458cf7ca: Verifying Checksum 13:19:19 699f458cf7ca: Download complete 13:19:19 8998bd30e6a1: Verifying Checksum 13:19:19 8998bd30e6a1: Download complete 13:19:22 2437ff75d9bd: Download complete 13:19:24 8998bd30e6a1: Pull complete 13:19:24 04944245beec: Pull complete 13:19:26 699f458cf7ca: Pull complete 13:19:26 765212b225bb: Pull complete 13:19:27 f23df028b6ca: Pull complete 13:19:27 d65c8cfc05b1: Pull complete 13:19:42 2437ff75d9bd: Pull complete 13:19:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:19:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:19:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:19:43 prd-ubuntu20.04-docker-arm64-4c-16g-20591 does not seem to be running inside a container 13:19:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:19:46 $ docker top 19756f611b1b009d768e5f83d6a212485b6f7064d46b900a2235b157da59f9dd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:19:47 ---> job-cost.sh 13:19:47 lf-activate-venv: SKIPPING 13:19:47 INFO: No Stack... 13:19:47 INFO: Retrieving Pricing Info for: v3-standard-4 13:19:48 INFO: Archiving Costs [Pipeline] sh 13:19:49 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 13:19:49 + cut -d, -f6 [Pipeline] lock 13:19:49 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-363-1-stack-cost] 13:19:49 Resource [jenkins-edgexfoundry-device-modbus-go-PR-363-1-stack-cost] did not exist. Created. 13:19:49 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-363-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:19:50 /w/workspace/device-modbus-go/1@tmp/durable-31e89092/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:19:51 + echo total: 0.10999999940395355 [Pipeline] stash 13:19:51 Warning: overwriting stash ‘stack-cost’ 13:19:51 Stashed 1 file(s) [Pipeline] } 13:19:51 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-363-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:19:51 $ docker stop --time=1 19756f611b1b009d768e5f83d6a212485b6f7064d46b900a2235b157da59f9dd 13:19:52 $ docker rm -f 19756f611b1b009d768e5f83d6a212485b6f7064d46b900a2235b157da59f9dd [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 13:19:53 provisioning config files... 13:19:53 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-363@tmp/config551207820245277150tmp [Pipeline] { [Pipeline] sh 13:19:54 + set +x 13:19:54 + curl -s https://codecov.io/bash 13:19:54 + bash -s -- 13:19:54 13:19:54 _____ _ 13:19:54 / ____| | | 13:19:54 | | ___ __| | ___ ___ _____ __ 13:19:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:19:54 | |___| (_) | (_| | __/ (_| (_) \ V / 13:19:54 \_____\___/ \__,_|\___|\___\___/ \_/ 13:19:54 Bash-1.0.6 13:19:54 13:19:54 13:19:54 ==> git version 2.25.1 found 13:19:54 ==> 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 13:19:54 Release-Date: 2020-01-08 13:19:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:19:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:19:54 ==> Jenkins CI detected. 13:19:54 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-363 13:19:54 project root: . 13:19:54 --> token set from env 13:19:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:19:54 ==> Running gcov in . (disable via -X gcov) 13:19:54 ==> Python coveragepy not found 13:19:54 ==> Searching for coverage reports in: 13:19:54 + . 13:19:54 -> Found 1 reports 13:19:54 ==> Detecting git/mercurial file structure 13:19:54 ==> Reading reports 13:19:54 + ./coverage.out bytes=24065 13:19:54 ==> Appending adjustments 13:19:54 https://docs.codecov.io/docs/fixing-reports 13:19:54 + Found adjustments 13:19:54 ==> Gzipping contents 13:19:54 4.0K /tmp/codecov.HLITIM.gz 13:19:54 ==> Uploading reports 13:19:54 url: https://codecov.io 13:19:54 query: branch=PR-363&commit=a82986c07e5695eebc56e37c885ca8284ed6c9db&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-363%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=363&job=&cmd_args= 13:19:54 -> Pinging Codecov 13:19:54 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-363&commit=a82986c07e5695eebc56e37c885ca8284ed6c9db&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-363%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=363&job=&cmd_args= 13:19:54 -> Uploading to 13:19:54 https://storage.googleapis.com/codecov/v4/raw/2022-07-20/55DBCA73C666E3227836607328DD7E49/a82986c07e5695eebc56e37c885ca8284ed6c9db/677db120-1bbc-4b1d-b1ba-7114fc138044.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220720%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220720T131954Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7f7566b797e61a24afaca6861199c7dc79c262ae608083053033a5db0779a889 13:19:54 % Total % Received % Xferd Average Speed Time Time Time Current 13:19:54 Dload Upload Total Spent Left Speed 13:19:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3990 0 0 100 3990 0 17972 --:--:-- --:--:-- --:--:-- 17892 100 3990 0 0 100 3990 0 15525 --:--:-- --:--:-- --:--:-- 15465 13:19:54 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/a82986c07e5695eebc56e37c885ca8284ed6c9db [Pipeline] } 13:19:54 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 13:19:56 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-363/archives ] 13:19:56 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-363/archives 13:19:56 total 16 13:19:56 drwxr-xr-x 3 root root 4096 Jul 20 13:11 . 13:19:56 drwxrwxr-x 11 jenkins jenkins 4096 Jul 20 13:11 .. 13:19:56 drwxr-xr-x 2 root root 4096 Jul 20 13:11 cost 13:19:56 -rw-r--r-- 1 root root 87 Jul 20 13:11 cost.csv 13:19:56 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-363/archives 13:19:56 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-363/archives 13:19:56 total 16 13:19:56 drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 13:11 . 13:19:56 drwxrwxr-x 11 jenkins jenkins 4096 Jul 20 13:11 .. 13:19:56 drwxr-xr-x 2 jenkins jenkins 4096 Jul 20 13:11 cost 13:19:56 -rw-r--r-- 1 jenkins jenkins 87 Jul 20 13:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:19:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:19:57 ---> package-listing.sh 13:19:57 ++ facter osfamily 13:19:57 ++ tr '[:upper:]' '[:lower:]' 13:19:58 + OS_FAMILY=debian 13:19:58 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-363 13:19:58 + START_PACKAGES=/tmp/packages_start.txt 13:19:58 + END_PACKAGES=/tmp/packages_end.txt 13:19:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:19:58 + PACKAGES=/tmp/packages_start.txt 13:19:58 + '[' /w/workspace/xfoundry_device-modbus-go_PR-363 ']' 13:19:58 + PACKAGES=/tmp/packages_end.txt 13:19:58 + case "${OS_FAMILY}" in 13:19:58 + dpkg -l 13:19:58 + grep '^ii' 13:19:58 + '[' -f /tmp/packages_start.txt ']' 13:19:58 + '[' -f /tmp/packages_end.txt ']' 13:19:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:19:58 + '[' /w/workspace/xfoundry_device-modbus-go_PR-363 ']' 13:19:58 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-363/archives/ 13:19:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-363/archives/ [Pipeline] echo 13:19:58 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-363/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:19:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:19:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:19:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:19:59 prd-ubuntu20.04-docker-8c-8g-20590 does not seem to be running inside a container 13:19:59 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-363/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-363 -v /w/workspace/xfoundry_device-modbus-go_PR-363:/w/workspace/xfoundry_device-modbus-go_PR-363:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-363@tmp:/w/workspace/xfoundry_device-modbus-go_PR-363@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 13:19:59 $ docker top 0ee82a9f0974b9d939548e63247949331fd3bd1772e71e93386fc0d46836ea84 -eo pid,comm [Pipeline] { [Pipeline] sh 13:19:59 + touch /tmp/pre-build-complete [Pipeline] sh 13:20:00 + mkdir -p /var/log/sysstat [Pipeline] sh 13:20:00 + ls /var/log/sa-host 13:20:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:20:00 provisioning config files... 13:20:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-363@tmp/config9043148104061610888tmp [Pipeline] { [Pipeline] echo 13:20:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:20:01 ---> create-netrc.sh [Pipeline] } 13:20:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:20:01 ---> python-tools-install.sh [Pipeline] echo 13:20:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:20:01 ---> sudo-logs.sh 13:20:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:20:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:20:02 ---> job-cost.sh 13:20:02 lf-activate-venv: SKIPPING 13:20:02 DEBUG: total: 0.2199999988079071 13:20:02 INFO: Retrieving Stack Cost... 13:20:02 INFO: Retrieving Pricing Info for: v3-standard-8 13:20:03 INFO: Archiving Costs [Pipeline] echo 13:20:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:20:03 ---> logs-deploy.sh 13:20:03 lf-activate-venv: SKIPPING 13:20:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-363/1 13:20:03 INFO: archiving workspace using pattern(s): 13:20:04 Archives upload complete. 13:20:04 INFO: archiving logs to Nexus