Pull request #465 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from af0bcac0353111ba04134161193c1e92309f93bf+831951377c32840706638568b0e432e598c2b631 (ac52db72b23b8e5e20049952b99dcd517672369e) 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-ssh14750795848716229925.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh15197360013546189968.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-465/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-465/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2409005611163542197.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-465/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15336273306664427042.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh10490759782280288532.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-465/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-465/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6243958267594910003.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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.20 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 ‘prd-ubuntu20.04-docker-8c-8g-10936’ is offline Running on prd-ubuntu20.04-docker-8c-8g-10938 in /w/workspace/xfoundry_device-modbus-go_PR-465 [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-465 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/465/head:refs/remotes/origin/PR-465 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 831951377c32840706638568b0e432e598c2b631 into PR head commit af0bcac0353111ba04134161193c1e92309f93bf Merge succeeded, producing af0bcac0353111ba04134161193c1e92309f93bf Checking out Revision af0bcac0353111ba04134161193c1e92309f93bf (PR-465) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:59:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:59:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:59:15 ========================================================= 05:59:15 EdgeX Global Pipelines Version Info 05:59:15 ========================================================= > git config core.sparsecheckout # timeout=10 > git checkout -f af0bcac0353111ba04134161193c1e92309f93bf # 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 831951377c32840706638568b0e432e598c2b631 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f af0bcac0353111ba04134161193c1e92309f93bf # timeout=10 [Pipeline] libraryResource [Pipeline] sh 05:59:16 ------------------- 05:59:16 stable info: 05:59:16 ------------------- 05:59:16 Commited By: Bill Mahoney bill.mahoney@intel.com 05:59:16 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 05:59:16 Message: update stable to v1.0.248 05:59:16 ------------------- 05:59:16 experimental info: 05:59:16 ------------------- 05:59:16 Commited By: **** collab-it+edgex@linuxfoundation.org 05:59:16 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 05:59:16 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:59:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-465 [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-465 [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-465 [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = af0bcac0353111ba04134161193c1e92309f93bf [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = af0bcac [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:59:18 provisioning config files... 05:59:18 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-465@tmp/config8869502827318347874tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:59:19 ---> docker-login.sh 05:59:19 nexus3.edgexfoundry.org:10001 05:59:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:19 Configure a credential helper to remove this warning. See 05:59:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:19 05:59:19 Login Succeeded 05:59:19 nexus3.edgexfoundry.org:10002 05:59:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:19 Configure a credential helper to remove this warning. See 05:59:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:19 05:59:19 Login Succeeded 05:59:19 nexus3.edgexfoundry.org:10003 05:59:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:19 Configure a credential helper to remove this warning. See 05:59:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:19 05:59:19 Login Succeeded 05:59:19 nexus3.edgexfoundry.org:10004 05:59:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:19 Configure a credential helper to remove this warning. See 05:59:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:19 05:59:19 Login Succeeded 05:59:19 docker.io 05:59:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:20 Configure a credential helper to remove this warning. See 05:59:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:20 05:59:20 Login Succeeded 05:59:20 ---> docker-login.sh ends [Pipeline] } 05:59:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:59:20 + git rev-list -1 --merges af0bcac0353111ba04134161193c1e92309f93bf~1..af0bcac0353111ba04134161193c1e92309f93bf [Pipeline] echo 05:59:20 -----------> git rev-list -1 --merges af0bcac0353111ba04134161193c1e92309f93bf~1..af0bcac0353111ba04134161193c1e92309f93bf af0bcac0353111ba04134161193c1e92309f93bf [false] [Pipeline] sh 05:59:21 + git log --format=format:%s -1 af0bcac0353111ba04134161193c1e92309f93bf [Pipeline] echo 05:59:21 ========================================================= 05:59:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:59:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:59:21 + git log --format=format:%s -1 af0bcac0353111ba04134161193c1e92309f93bf [Pipeline] echo 05:59:21 [semverPrep] GIT_COMMIT: af0bcac0353111ba04134161193c1e92309f93bf, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:59:21 [semverPrep] This is not a build commit. [Pipeline] sh 05:59:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:59:21 + grep -v github /etc/ssh/ssh_known_hosts 05:59:21 + [ -e /tmp/ssh_known_hosts ] 05:59:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:59:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:59:21 + sudo tee -a /etc/ssh/ssh_known_hosts 05:59:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:59:22 05:59:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:59:22 0.1.4: Pulling from edgex-devops/py-git-semver 05:59:22 b85a868b505f: Pulling fs layer 05:59:22 e2be974225ed: Pulling fs layer 05:59:22 339a4e72a1f5: Pulling fs layer 05:59:22 988bab9f4d93: Pulling fs layer 05:59:22 1469e6f7b9e6: Pulling fs layer 05:59:22 eaf3925da568: Pulling fs layer 05:59:22 bab4dde63d76: Pulling fs layer 05:59:22 988bab9f4d93: Waiting 05:59:22 eaf3925da568: Waiting 05:59:22 bde34c3a00c8: Pulling fs layer 05:59:22 bab4dde63d76: Waiting 05:59:22 b352a97aabf1: Pulling fs layer 05:59:22 4872d77fe225: Pulling fs layer 05:59:22 bde34c3a00c8: Waiting 05:59:22 5851b861e8e6: Pulling fs layer 05:59:22 4872d77fe225: Waiting 05:59:22 5851b861e8e6: Waiting 05:59:22 b352a97aabf1: Waiting 05:59:22 e2be974225ed: Download complete 05:59:22 988bab9f4d93: Verifying Checksum 05:59:22 988bab9f4d93: Download complete 05:59:23 1469e6f7b9e6: Verifying Checksum 05:59:23 1469e6f7b9e6: Download complete 05:59:23 339a4e72a1f5: Verifying Checksum 05:59:23 339a4e72a1f5: Download complete 05:59:23 eaf3925da568: Verifying Checksum 05:59:23 eaf3925da568: Download complete 05:59:23 bde34c3a00c8: Download complete 05:59:23 b352a97aabf1: Download complete 05:59:23 4872d77fe225: Verifying Checksum 05:59:23 4872d77fe225: Download complete 05:59:23 5851b861e8e6: Verifying Checksum 05:59:23 b85a868b505f: Verifying Checksum 05:59:23 b85a868b505f: Download complete 05:59:23 bab4dde63d76: Verifying Checksum 05:59:23 bab4dde63d76: Download complete 05:59:24 b85a868b505f: Pull complete 05:59:24 e2be974225ed: Pull complete 05:59:25 339a4e72a1f5: Pull complete 05:59:25 988bab9f4d93: Pull complete 05:59:25 1469e6f7b9e6: Pull complete 05:59:25 eaf3925da568: Pull complete 05:59:27 bab4dde63d76: Pull complete 05:59:27 bde34c3a00c8: Pull complete 05:59:27 b352a97aabf1: Pull complete 05:59:27 4872d77fe225: Pull complete 05:59:27 5851b861e8e6: Pull complete 05:59:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:59:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:59:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:59:27 prd-ubuntu20.04-docker-8c-8g-10938 does not seem to be running inside a container 05:59:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-465 -v /w/workspace/xfoundry_device-modbus-go_PR-465:/w/workspace/xfoundry_device-modbus-go_PR-465:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-465@tmp:/w/workspace/xfoundry_device-modbus-go_PR-465@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:59:30 $ docker top a0d1bef582a21f610b27605ae9ebc227b9ee11f638cb76018da294cc6e8b0de4 -eo pid,comm 05:59:30 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:59:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:59:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:59:30 [ssh-agent] Looking for ssh-agent implementation... 05:59:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:59:30 $ docker exec a0d1bef582a21f610b27605ae9ebc227b9ee11f638cb76018da294cc6e8b0de4 ssh-agent 05:59:30 SSH_AUTH_SOCK=/tmp/ssh-HwDr8XLlxxyo/agent.32 05:59:30 SSH_AGENT_PID=38 05:59:30 Running ssh-add (command line suppressed) 05:59:31 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-465@tmp/private_key_3233509681503094432.key (/w/workspace/xfoundry_device-modbus-go_PR-465@tmp/private_key_3233509681503094432.key) 05:59:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:59:31 + git tag --points-at HEAD [Pipeline] } 05:59:31 $ docker exec --env ******** --env ******** a0d1bef582a21f610b27605ae9ebc227b9ee11f638cb76018da294cc6e8b0de4 ssh-agent -k 05:59:31 unset SSH_AUTH_SOCK; 05:59:31 unset SSH_AGENT_PID; 05:59:31 echo Agent pid 38 killed; 05:59:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:59:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:59:31 [ssh-agent] Looking for ssh-agent implementation... 05:59:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:59:31 $ docker exec a0d1bef582a21f610b27605ae9ebc227b9ee11f638cb76018da294cc6e8b0de4 ssh-agent 05:59:31 SSH_AUTH_SOCK=/tmp/ssh-abnECxaXgNCI/agent.70 05:59:31 SSH_AGENT_PID=76 05:59:31 Running ssh-add (command line suppressed) 05:59:31 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-465@tmp/private_key_18186143945249533094.key (/w/workspace/xfoundry_device-modbus-go_PR-465@tmp/private_key_18186143945249533094.key) 05:59:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:59:32 + git semver init 05:59:32 2023-04-26 05:59:32,410 [run_init] DEBUG init version:0.0.0 force:False 05:59:32 2023-04-26 05:59:32,411 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-465/.semver 05:59:32 2023-04-26 05:59:32,411 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-465/.semver 05:59:32 2023-04-26 05:59:32,412 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-465/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-465, universal_newlines=False, shell=None, istream=None) 05:59:33 2023-04-26 05:59:33,182 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-465/.git/info/exclude 05:59:33 2023-04-26 05:59:33,183 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-465/.semver/PR-465 with force:False 05:59:33 2023-04-26 05:59:33,183 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-465/.semver/PR-465 05:59:33 2023-04-26 05:59:33,186 [execute] INFO git cat-file --batch-check 05:59:33 2023-04-26 05:59:33,186 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-465/.semver, universal_newlines=False, shell=None, istream=) 05:59:33 2023-04-26 05:59:33,192 [execute] INFO git cat-file --batch 05:59:33 2023-04-26 05:59:33,192 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-465/.semver, universal_newlines=False, shell=None, istream=) 05:59:33 2023-04-26 05:59:33,197 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-465/.semver/PR-465 05:59:33 0.0.0 [Pipeline] } 05:59:33 $ docker exec --env ******** --env ******** a0d1bef582a21f610b27605ae9ebc227b9ee11f638cb76018da294cc6e8b0de4 ssh-agent -k 05:59:33 unset SSH_AUTH_SOCK; 05:59:33 unset SSH_AGENT_PID; 05:59:33 echo Agent pid 76 killed; 05:59:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:59:34 + git semver [Pipeline] } 05:59:34 $ docker stop --time=1 a0d1bef582a21f610b27605ae9ebc227b9ee11f638cb76018da294cc6e8b0de4 05:59:35 $ docker rm -f --volumes a0d1bef582a21f610b27605ae9ebc227b9ee11f638cb76018da294cc6e8b0de4 [Pipeline] // withDockerContainer [Pipeline] sh 05:59:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:59:36 Stashed 1 file(s) [Pipeline] echo 05:59:36 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:59:36 provisioning config files... 05:59:36 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-465@tmp/config1071864413751651073tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:59:37 ---> docker-login.sh 05:59:37 nexus3.edgexfoundry.org:10001 05:59:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:37 Configure a credential helper to remove this warning. See 05:59:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:37 05:59:37 Login Succeeded 05:59:37 nexus3.edgexfoundry.org:10002 05:59:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:37 Configure a credential helper to remove this warning. See 05:59:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:37 05:59:37 Login Succeeded 05:59:37 nexus3.edgexfoundry.org:10003 05:59:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:37 Configure a credential helper to remove this warning. See 05:59:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:37 05:59:37 Login Succeeded 05:59:37 nexus3.edgexfoundry.org:10004 05:59:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:37 Configure a credential helper to remove this warning. See 05:59:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:37 05:59:37 Login Succeeded 05:59:37 docker.io 05:59:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:37 Configure a credential helper to remove this warning. See 05:59:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:37 05:59:37 Login Succeeded 05:59:37 ---> docker-login.sh ends [Pipeline] } 05:59:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:59:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:59:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:59:38 ========================================================= 05:59:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 05:59:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:38 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 05:59:38 Sending build context to Docker daemon 6.467MB 05:59:38 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 05:59:38 Step 2/10 : FROM ${BASE} AS builder 05:59:38 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 05:59:38 f56be85fc22e: Pulling fs layer 05:59:38 85791d961cd3: Pulling fs layer 05:59:38 d694b5ae8c79: Pulling fs layer 05:59:38 9f32a84ed3da: Pulling fs layer 05:59:38 4d19c01a9841: Pulling fs layer 05:59:38 9325e15d5711: Pulling fs layer 05:59:38 556b6ee489ea: Pulling fs layer 05:59:38 c5a4b2cf53e6: Pulling fs layer 05:59:38 9f32a84ed3da: Waiting 05:59:38 4d19c01a9841: Waiting 05:59:38 9325e15d5711: Waiting 05:59:38 c5a4b2cf53e6: Waiting 05:59:38 85791d961cd3: Verifying Checksum 05:59:38 85791d961cd3: Download complete 05:59:38 9f32a84ed3da: Verifying Checksum 05:59:38 9f32a84ed3da: Download complete 05:59:38 4d19c01a9841: Download complete 05:59:39 f56be85fc22e: Download complete 05:59:39 9325e15d5711: Verifying Checksum 05:59:39 9325e15d5711: Download complete 05:59:39 f56be85fc22e: Pull complete 05:59:39 85791d961cd3: Pull complete 05:59:39 c5a4b2cf53e6: Verifying Checksum 05:59:39 c5a4b2cf53e6: Download complete 05:59:39 d694b5ae8c79: Verifying Checksum 05:59:39 d694b5ae8c79: Download complete 05:59:39 556b6ee489ea: Verifying Checksum 05:59:39 556b6ee489ea: Download complete 05:59:43 d694b5ae8c79: Pull complete 05:59:43 9f32a84ed3da: Pull complete 05:59:43 4d19c01a9841: Pull complete 05:59:43 9325e15d5711: Pull complete 05:59:45 556b6ee489ea: Pull complete 05:59:46 c5a4b2cf53e6: Pull complete 05:59:46 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 05:59:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 05:59:46 ---> c4be618373d6 05:59:46 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:59:50 ---> Running in fb3038408a55 05:59:50 Removing intermediate container fb3038408a55 05:59:50 ---> 06387f2f48cd 05:59:50 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:59:50 ---> Running in c02e7ac2a62e 05:59:50 Removing intermediate container c02e7ac2a62e 05:59:50 ---> 8e7d64fa8e9e 05:59:50 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:59:50 ---> Running in 921ddb01a030 05:59:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:59:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:59:50 (1/8) Installing openssh-keygen (9.1_p1-r2) 05:59:50 (2/8) Installing libedit (20221030.3.1-r0) 05:59:50 (3/8) Installing openssh-client-common (9.1_p1-r2) 05:59:51 (4/8) Installing openssh-client-default (9.1_p1-r2) 05:59:51 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 05:59:51 (6/8) Installing openssh-server-common (9.1_p1-r2) 05:59:51 (7/8) Installing openssh-server (9.1_p1-r2) 05:59:51 (8/8) Installing openssh (9.1_p1-r2) 05:59:51 Executing busybox-1.35.0-r29.trigger 05:59:51 OK: 270 MiB in 61 packages 05:59:51 Removing intermediate container 921ddb01a030 05:59:51 ---> 720716bcfb73 05:59:51 Step 6/10 : WORKDIR /device-modbus-go 05:59:51 Still waiting to schedule task 05:59:51 ‘prd-ubuntu20.04-docker-arm64-4c-16g-10940’ is offline 05:59:52 ---> Running in d3814c47eccd 05:59:52 Removing intermediate container d3814c47eccd 05:59:52 ---> d62de9395af2 05:59:52 Step 7/10 : COPY go.mod vendor* ./ 05:59:52 ---> 8ebf89b64717 05:59:52 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:59:52 ---> Running in 191381f990c0 06:00:26 Removing intermediate container 191381f990c0 06:00:26 ---> 6c53c801a5a1 06:00:26 Step 9/10 : COPY . . 06:00:26 ---> cba9e87962fc 06:00:26 Step 10/10 : RUN ${MAKE} 06:00:26 ---> Running in 8c4062f956e5 06:00:26 noop 06:00:27 Removing intermediate container 8c4062f956e5 06:00:27 ---> 79918dfea6c7 06:00:27 Successfully built 79918dfea6c7 06:00:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:27 + docker inspect -f . ci-base-image-x86_64 06:00:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:27 prd-ubuntu20.04-docker-8c-8g-10938 does not seem to be running inside a container 06:00:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-465 -v /w/workspace/xfoundry_device-modbus-go_PR-465:/w/workspace/xfoundry_device-modbus-go_PR-465:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-465@tmp:/w/workspace/xfoundry_device-modbus-go_PR-465@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:00:28 $ docker top 3dfaed52f6d8e76bceaf9c84cece3e8adde5b48de2f894b1020314b59abd0aa1 -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:28 + go version 06:00:28 go version go1.20.2 linux/amd64 [Pipeline] } 06:00:28 $ docker stop --time=1 3dfaed52f6d8e76bceaf9c84cece3e8adde5b48de2f894b1020314b59abd0aa1 06:00:30 $ docker rm -f --volumes 3dfaed52f6d8e76bceaf9c84cece3e8adde5b48de2f894b1020314b59abd0aa1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:30 + docker inspect -f . ci-base-image-x86_64 06:00:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:30 prd-ubuntu20.04-docker-8c-8g-10938 does not seem to be running inside a container 06:00:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-465 -v /w/workspace/xfoundry_device-modbus-go_PR-465:/w/workspace/xfoundry_device-modbus-go_PR-465:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-465@tmp:/w/workspace/xfoundry_device-modbus-go_PR-465@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:00:31 $ docker top 7954da7ac160f976041a9732a0a44f3950be60253d0852ebdf72e01821ed3525 -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:31 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-465 [Pipeline] fileExists [Pipeline] sh 06:00:32 + make test 06:00:32 go test ./... -coverprofile=coverage.out 06:00:37 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:00:45 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:00:45 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 47.4% of statements 06:00:52 go vet ./... 06:00:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:00:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:00:55 ./bin/test-attribution-txt.sh [Pipeline] echo 06:00:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:00:56 $ docker stop --time=1 7954da7ac160f976041a9732a0a44f3950be60253d0852ebdf72e01821ed3525 06:00:59 $ docker rm -f --volumes 7954da7ac160f976041a9732a0a44f3950be60253d0852ebdf72e01821ed3525 [Pipeline] // withDockerContainer [Pipeline] sh 06:01:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:01:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:01:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:01:01 + ls -al . 06:01:01 total 180 06:01:01 drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 06:00 . 06:01:01 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 05:59 .. 06:01:01 -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 05:59 .dockerignore 06:01:01 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 05:59 .git 06:01:01 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 05:59 .github 06:01:01 -rw-rw-r-- 1 jenkins jenkins 331 Apr 26 05:59 .gitignore 06:01:01 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 05:59 .golangci.yml 06:01:01 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 05:59 .semver 06:01:01 -rw-rw-r-- 1 jenkins jenkins 10132 Apr 26 05:59 Attribution.txt 06:01:01 -rw-rw-r-- 1 jenkins jenkins 11576 Apr 26 05:59 CHANGELOG.md 06:01:01 -rw-rw-r-- 1 jenkins jenkins 1365 Apr 26 05:59 Dockerfile 06:01:01 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 05:59 GOVERNANCE.md 06:01:01 -rw-rw-r-- 1 jenkins jenkins 680 Apr 26 05:59 Jenkinsfile 06:01:01 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 05:59 LICENSE 06:01:01 -rw-rw-r-- 1 jenkins jenkins 1705 Apr 26 05:59 Makefile 06:01:01 -rw-rw-r-- 1 jenkins jenkins 622 Apr 26 05:59 OWNERS.md 06:01:01 -rw-rw-r-- 1 jenkins jenkins 4045 Apr 26 05:59 README.md 06:01:01 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 05:59 VERSION 06:01:01 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 05:59 bin 06:01:01 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 05:59 cmd 06:01:01 -rw-r--r-- 1 jenkins jenkins 24160 Apr 26 06:00 coverage.out 06:01:01 -rw-rw-r-- 1 jenkins jenkins 3453 Apr 26 05:59 go.mod 06:01:01 -rw-rw-r-- 1 jenkins jenkins 31785 Apr 26 05:59 go.sum 06:01:01 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 05:59 internal 06:01:01 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 05:59 simulator 06:01:01 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 05:59 snap 06:01:01 -rw-rw-r-- 1 jenkins jenkins 229 Apr 26 05:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:01 + 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=af0bcac0353111ba04134161193c1e92309f93bf --label arch=amd64 --label version=0.0.0 . 06:01:01 Sending build context to Docker daemon 6.492MB 06:01:01 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 06:01:01 Step 2/22 : FROM ${BASE} AS builder 06:01:01 ---> 79918dfea6c7 06:01:01 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:01:02 ---> Running in 061d8721383c 06:01:02 Removing intermediate container 061d8721383c 06:01:02 ---> 4c40dc25466a 06:01:02 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:01:02 ---> Running in 3485e6ae1841 06:01:02 Removing intermediate container 3485e6ae1841 06:01:02 ---> 694b48bfd5a0 06:01:02 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:01:02 ---> Running in 86255d634fd6 06:01:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:01:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:01:02 OK: 270 MiB in 61 packages 06:01:03 Removing intermediate container 86255d634fd6 06:01:03 ---> b23fff942af8 06:01:03 Step 6/22 : WORKDIR /device-modbus-go 06:01:03 ---> Running in 8e141e1f6fe5 06:01:03 Removing intermediate container 8e141e1f6fe5 06:01:03 ---> 675977f5627a 06:01:03 Step 7/22 : COPY go.mod vendor* ./ 06:01:03 ---> b2ea51019f1f 06:01:03 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:01:03 ---> Running in 6a9240bc1e3f 06:01:04 Removing intermediate container 6a9240bc1e3f 06:01:04 ---> 6dae73be06be 06:01:04 Step 9/22 : COPY . . 06:01:04 ---> 25180670cb6f 06:01:04 Step 10/22 : RUN ${MAKE} 06:01:04 ---> Running in 29ca804fa086 06:01:05 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:01:27 Removing intermediate container 29ca804fa086 06:01:27 ---> 6527a2a9a4e6 06:01:27 Step 11/22 : FROM alpine:3.17 06:01:27 3.17: Pulling from library/alpine 06:01:27 f56be85fc22e: Already exists 06:01:27 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:01:27 Status: Downloaded newer image for alpine:3.17 06:01:27 ---> 9ed4aefc74f6 06:01:27 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:01:27 ---> Running in 1f13d0644660 06:01:27 Removing intermediate container 1f13d0644660 06:01:27 ---> 98eb85b3b0bf 06:01:27 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:01:27 ---> Running in 48ac56522992 06:01:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:01:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:01:27 (1/1) Installing dumb-init (1.2.5-r2) 06:01:27 Executing busybox-1.35.0-r29.trigger 06:01:27 OK: 7 MiB in 16 packages 06:01:27 Removing intermediate container 48ac56522992 06:01:27 ---> e27f03eab0e6 06:01:27 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:01:27 ---> 889d06f36c29 06:01:27 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:01:27 ---> 4d0d032c3339 06:01:27 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:01:27 ---> 4d1f3cfb4476 06:01:27 Step 17/22 : EXPOSE 59901 06:01:27 ---> Running in d08d2683dd28 06:01:27 Removing intermediate container d08d2683dd28 06:01:27 ---> f35f0d3a55cd 06:01:27 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:01:27 ---> Running in 4e91c0b9a1dc 06:01:27 Removing intermediate container 4e91c0b9a1dc 06:01:27 ---> 3e71004b7652 06:01:27 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:01:27 ---> Running in d29fb02c4699 06:01:27 Removing intermediate container d29fb02c4699 06:01:27 ---> e0354e930a16 06:01:27 Step 20/22 : LABEL arch=amd64 06:01:27 ---> Running in dbb1be5543a1 06:01:27 Removing intermediate container dbb1be5543a1 06:01:27 ---> eb666eb656c8 06:01:27 Step 21/22 : LABEL git_sha=af0bcac0353111ba04134161193c1e92309f93bf 06:01:27 ---> Running in 9356ba935e27 06:01:27 Removing intermediate container 9356ba935e27 06:01:27 ---> 2693f5d66c37 06:01:27 Step 22/22 : LABEL version=0.0.0 06:01:27 ---> Running in 29d726c3efb5 06:01:27 Removing intermediate container 29d726c3efb5 06:01:27 ---> 0ca990839f08 06:01:27 [Warning] One or more build-args [ARCH] were not consumed 06:01:27 Successfully built 0ca990839f08 06:01:27 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 06:01:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:01:28 06:01:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:01:29 latest: Pulling from edgex-lftools-log-publisher 06:01:29 5eb5b503b376: Pulling fs layer 06:01:29 5c69ac0246d0: Pulling fs layer 06:01:29 ec43610c2a17: Pulling fs layer 06:01:29 3a2ae6a8a46f: Pulling fs layer 06:01:29 33b1e0a273af: Pulling fs layer 06:01:29 5d3b04190fa2: Pulling fs layer 06:01:29 2f39f015ded8: Pulling fs layer 06:01:29 33b1e0a273af: Waiting 06:01:29 2f39f015ded8: Waiting 06:01:29 5d3b04190fa2: Waiting 06:01:29 3a2ae6a8a46f: Waiting 06:01:29 5c69ac0246d0: Download complete 06:01:29 3a2ae6a8a46f: Verifying Checksum 06:01:29 3a2ae6a8a46f: Download complete 06:01:29 33b1e0a273af: Verifying Checksum 06:01:29 33b1e0a273af: Download complete 06:01:29 ec43610c2a17: Verifying Checksum 06:01:29 ec43610c2a17: Download complete 06:01:29 5d3b04190fa2: Verifying Checksum 06:01:29 5d3b04190fa2: Download complete 06:01:29 5eb5b503b376: Verifying Checksum 06:01:29 5eb5b503b376: Download complete 06:01:30 2f39f015ded8: Verifying Checksum 06:01:30 2f39f015ded8: Download complete 06:01:30 5eb5b503b376: Pull complete 06:01:30 5c69ac0246d0: Pull complete 06:01:31 ec43610c2a17: Pull complete 06:01:31 3a2ae6a8a46f: Pull complete 06:01:31 33b1e0a273af: Pull complete 06:01:31 5d3b04190fa2: Pull complete 06:01:35 2f39f015ded8: Pull complete 06:01:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:01:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:01:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:36 prd-ubuntu20.04-docker-8c-8g-10938 does not seem to be running inside a container 06:01:36 $ 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-465 -v /w/workspace/xfoundry_device-modbus-go_PR-465:/w/workspace/xfoundry_device-modbus-go_PR-465:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-465@tmp:/w/workspace/xfoundry_device-modbus-go_PR-465@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:01:40 $ docker top 1e79697c4303060a33a2f9bf004db75150dc2305fdf5a4ade204a9652b3a0e28 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:01:41 ---> job-cost.sh 06:01:41 lf-activate-venv: SKIPPING 06:01:41 INFO: No Stack... 06:01:41 INFO: Retrieving Pricing Info for: v3-standard-8 06:01:41 INFO: Archiving Costs [Pipeline] sh 06:01:42 + cat /w/workspace/xfoundry_device-modbus-go_PR-465/archives/cost.csv 06:01:42 + cut -d, -f6 [Pipeline] lock 06:01:42 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-465-1-stack-cost] 06:01:42 Resource [jenkins-edgexfoundry-device-modbus-go-PR-465-1-stack-cost] did not exist. Created. 06:01:42 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-465-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:01:42 + echo total: 0.2199999988079071 [Pipeline] stash 06:01:42 Stashed 1 file(s) [Pipeline] } 06:01:42 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-465-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:01:42 $ docker stop --time=1 1e79697c4303060a33a2f9bf004db75150dc2305fdf5a4ade204a9652b3a0e28 06:01:44 $ docker rm -f --volumes 1e79697c4303060a33a2f9bf004db75150dc2305fdf5a4ade204a9652b3a0e28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:02:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10944 in /w/workspace/xfoundry_device-modbus-go_PR-465 [Pipeline] { [Pipeline] ws 06:02:15 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 06:02:15 Selected Git installation does not exist. Using Default 06:02:15 The recommended git tool is: NONE 06:02:22 using credential edgex-jenkins-ssh 06:02:22 Cloning the remote Git repository 06:02:22 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:02:22 > git init /w/workspace/device-modbus-go/1 # timeout=10 06:02:22 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:02:22 > git --version # timeout=10 06:02:22 > git --version # 'git version 2.25.1' 06:02:22 using GIT_SSH to set credentials SSH Credentials for GitHub 06:02:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:02:26 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:02:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:02:28 Merging remotes/origin/main commit 831951377c32840706638568b0e432e598c2b631 into PR head commit af0bcac0353111ba04134161193c1e92309f93bf 06:02:28 Merge succeeded, producing af0bcac0353111ba04134161193c1e92309f93bf 06:02:28 Checking out Revision af0bcac0353111ba04134161193c1e92309f93bf (PR-465) 06:02:27 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:02:27 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:02:27 using GIT_SSH to set credentials SSH Credentials for GitHub 06:02:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/465/head:refs/remotes/origin/PR-465 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:02:28 > git config core.sparsecheckout # timeout=10 06:02:28 > git checkout -f af0bcac0353111ba04134161193c1e92309f93bf # timeout=10 06:02:28 > git remote # timeout=10 06:02:28 > git config --get remote.origin.url # timeout=10 06:02:28 using GIT_SSH to set credentials SSH Credentials for GitHub 06:02:28 > git merge 831951377c32840706638568b0e432e598c2b631 # timeout=10 06:02:28 > git rev-parse HEAD^{commit} # timeout=10 06:02:28 > git config core.sparsecheckout # timeout=10 06:02:28 > git checkout -f af0bcac0353111ba04134161193c1e92309f93bf # timeout=10 06:02:29 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 06:02:29 > git --version # timeout=10 06:02:29 > git --version # 'git version 2.25.1' 06:02:29 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:02:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:02:30 % Total % Received % Xferd Average Speed Time Time Time Current 06:02:30 Dload Upload Total Spent Left Speed 06:02:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh 06:02:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:02:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:02:31 + sudo tee /etc/docker/daemon.new 06:02:31 { 06:02:31 "registry-mirrors": [ 06:02:31 "https://nexus3.edgexfoundry.org:10001" 06:02:31 ], 06:02:31 "bip": "10.250.0.254/24", 06:02:31 "hosts": [ 06:02:31 "tcp://0.0.0.0:5555", 06:02:31 "unix:///var/run/docker.sock" 06:02:31 ], 06:02:31 "mtu": 1458, 06:02:31 "selinux-enabled": true, 06:02:31 "seccomp-profile": "/etc/docker/seccomp.json" 06:02:31 } [Pipeline] sh 06:02:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:02:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:02:50 provisioning config files... 06:02:50 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config14075747312763449945tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:02:51 ---> docker-login.sh 06:02:51 nexus3.edgexfoundry.org:10001 06:02:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:51 Configure a credential helper to remove this warning. See 06:02:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:51 06:02:51 Login Succeeded 06:02:51 nexus3.edgexfoundry.org:10002 06:02:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:52 Configure a credential helper to remove this warning. See 06:02:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:52 06:02:52 Login Succeeded 06:02:52 nexus3.edgexfoundry.org:10003 06:02:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:52 Configure a credential helper to remove this warning. See 06:02:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:52 06:02:52 Login Succeeded 06:02:52 nexus3.edgexfoundry.org:10004 06:02:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:52 Configure a credential helper to remove this warning. See 06:02:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:52 06:02:52 Login Succeeded 06:02:52 docker.io 06:02:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:53 Configure a credential helper to remove this warning. See 06:02:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:53 06:02:53 Login Succeeded 06:02:53 ---> docker-login.sh ends [Pipeline] } 06:02:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:02:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:02:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:02:53 ========================================================= 06:02:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:02:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:54 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 06:02:54 Sending build context to Docker daemon 3.379MB 06:02:54 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 06:02:54 Step 2/10 : FROM ${BASE} AS builder 06:02:54 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:02:54 c41833b44d91: Pulling fs layer 06:02:54 ed15518f5707: Pulling fs layer 06:02:54 feae8fd75edb: Pulling fs layer 06:02:54 242c74f7c9fa: Pulling fs layer 06:02:54 3cdef696dda3: Pulling fs layer 06:02:54 2ced38df9373: Pulling fs layer 06:02:54 58f1dce35555: Pulling fs layer 06:02:54 2ced38df9373: Waiting 06:02:54 58f1dce35555: Waiting 06:02:54 242c74f7c9fa: Waiting 06:02:54 3cdef696dda3: Waiting 06:02:54 ed15518f5707: Download complete 06:02:54 242c74f7c9fa: Verifying Checksum 06:02:54 242c74f7c9fa: Download complete 06:02:54 3cdef696dda3: Verifying Checksum 06:02:54 3cdef696dda3: Download complete 06:02:55 c41833b44d91: Verifying Checksum 06:02:55 c41833b44d91: Download complete 06:02:56 c41833b44d91: Pull complete 06:02:56 58f1dce35555: Verifying Checksum 06:02:56 58f1dce35555: Download complete 06:02:56 ed15518f5707: Pull complete 06:02:57 feae8fd75edb: Verifying Checksum 06:02:57 feae8fd75edb: Download complete 06:02:58 2ced38df9373: Verifying Checksum 06:02:58 2ced38df9373: Download complete 06:03:10 feae8fd75edb: Pull complete 06:03:10 242c74f7c9fa: Pull complete 06:03:10 3cdef696dda3: Pull complete 06:03:15 2ced38df9373: Pull complete 06:03:20 58f1dce35555: Pull complete 06:03:20 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 06:03:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:03:20 ---> fadd8f120f05 06:03:20 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:03:22 ---> Running in d0e815b72a9c 06:03:23 Removing intermediate container d0e815b72a9c 06:03:23 ---> 649b565bf213 06:03:23 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:03:23 ---> Running in 394bda1a608b 06:03:23 Removing intermediate container 394bda1a608b 06:03:23 ---> 468cfbdc1a00 06:03:23 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:03:23 ---> Running in 39ae463f2c8b 06:03:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:03:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:03:26 (1/8) Installing openssh-keygen (9.1_p1-r2) 06:03:26 (2/8) Installing libedit (20221030.3.1-r0) 06:03:26 (3/8) Installing openssh-client-common (9.1_p1-r2) 06:03:26 (4/8) Installing openssh-client-default (9.1_p1-r2) 06:03:26 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 06:03:26 (6/8) Installing openssh-server-common (9.1_p1-r2) 06:03:26 (7/8) Installing openssh-server (9.1_p1-r2) 06:03:26 (8/8) Installing openssh (9.1_p1-r2) 06:03:26 Executing busybox-1.35.0-r29.trigger 06:03:26 OK: 270 MiB in 61 packages 06:03:27 Removing intermediate container 39ae463f2c8b 06:03:27 ---> e4f5fd3fe05b 06:03:27 Step 6/10 : WORKDIR /device-modbus-go 06:03:28 ---> Running in 8768eb738e5c 06:03:28 Removing intermediate container 8768eb738e5c 06:03:28 ---> 17dad8d69560 06:03:28 Step 7/10 : COPY go.mod vendor* ./ 06:03:28 ---> cbef55cb434c 06:03:28 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:03:28 ---> Running in bc1e41b4684f 06:04:36 Removing intermediate container bc1e41b4684f 06:04:36 ---> 02e95a2b9e4b 06:04:36 Step 9/10 : COPY . . 06:04:36 ---> ced07932414d 06:04:36 Step 10/10 : RUN ${MAKE} 06:04:36 ---> Running in aa8a576eba68 06:04:36 noop 06:04:36 Removing intermediate container aa8a576eba68 06:04:36 ---> 91318b04402a 06:04:36 Successfully built 91318b04402a 06:04:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:37 + docker inspect -f . ci-base-image-arm64 06:04:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:04:37 prd-ubuntu20.04-docker-arm64-4c-16g-10944 does not seem to be running inside a container 06:04:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:04:39 $ docker top abd58a68c16b0967a92b79919b4b8443475cde890138beb15856ce93587c1b4a -eo pid,comm [Pipeline] { [Pipeline] sh 06:04:40 + go version 06:04:40 go version go1.20.2 linux/arm64 [Pipeline] } 06:04:40 $ docker stop --time=1 abd58a68c16b0967a92b79919b4b8443475cde890138beb15856ce93587c1b4a 06:04:41 $ docker rm -f --volumes abd58a68c16b0967a92b79919b4b8443475cde890138beb15856ce93587c1b4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:42 + docker inspect -f . ci-base-image-arm64 06:04:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:04:42 prd-ubuntu20.04-docker-arm64-4c-16g-10944 does not seem to be running inside a container 06:04:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:04:44 $ docker top 0a130d1e034f6c3b6a3326754c4ede45cb21952225c50ad226033a27e8334073 -eo pid,comm [Pipeline] { [Pipeline] sh 06:04:45 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 06:04:46 + make test 06:04:46 go test ./... -coverprofile=coverage.out 06:05:25 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:08:02 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:08:02 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.079s coverage: 47.4% of statements 06:08:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:08:02 go vet ./... 06:08:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:08:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:08:35 ./bin/test-attribution-txt.sh [Pipeline] echo 06:08:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:08:35 $ docker stop --time=1 0a130d1e034f6c3b6a3326754c4ede45cb21952225c50ad226033a27e8334073 06:08:37 $ docker rm -f --volumes 0a130d1e034f6c3b6a3326754c4ede45cb21952225c50ad226033a27e8334073 [Pipeline] // withDockerContainer [Pipeline] sh 06:08:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:08:38 Warning: overwriting stash ‘coverage-report’ 06:08:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:08:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:08:40 + ls -al . 06:08:40 total 176 06:08:40 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 06:04 . 06:08:40 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 06:02 .. 06:08:40 -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 06:02 .dockerignore 06:08:40 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 06:02 .git 06:08:40 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 06:02 .github 06:08:40 -rw-rw-r-- 1 jenkins jenkins 331 Apr 26 06:02 .gitignore 06:08:40 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 06:02 .golangci.yml 06:08:40 -rw-rw-r-- 1 jenkins jenkins 10132 Apr 26 06:02 Attribution.txt 06:08:40 -rw-rw-r-- 1 jenkins jenkins 11576 Apr 26 06:02 CHANGELOG.md 06:08:40 -rw-rw-r-- 1 jenkins jenkins 1365 Apr 26 06:02 Dockerfile 06:08:40 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 06:02 GOVERNANCE.md 06:08:40 -rw-rw-r-- 1 jenkins jenkins 680 Apr 26 06:02 Jenkinsfile 06:08:40 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 06:02 LICENSE 06:08:40 -rw-rw-r-- 1 jenkins jenkins 1705 Apr 26 06:02 Makefile 06:08:40 -rw-rw-r-- 1 jenkins jenkins 622 Apr 26 06:02 OWNERS.md 06:08:40 -rw-rw-r-- 1 jenkins jenkins 4045 Apr 26 06:02 README.md 06:08:40 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 05:59 VERSION 06:08:40 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 06:02 bin 06:08:40 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 06:02 cmd 06:08:40 -rw-r--r-- 1 jenkins jenkins 24160 Apr 26 06:08 coverage.out 06:08:40 -rw-rw-r-- 1 jenkins jenkins 3453 Apr 26 06:02 go.mod 06:08:40 -rw-rw-r-- 1 jenkins jenkins 31785 Apr 26 06:02 go.sum 06:08:40 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 06:02 internal 06:08:40 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 06:02 simulator 06:08:40 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 06:02 snap 06:08:40 -rw-rw-r-- 1 jenkins jenkins 229 Apr 26 06:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:41 + 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=af0bcac0353111ba04134161193c1e92309f93bf --label arch=arm64 --label version=0.0.0 . 06:08:41 Sending build context to Docker daemon 3.404MB 06:08:41 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 06:08:41 Step 2/22 : FROM ${BASE} AS builder 06:08:41 ---> 91318b04402a 06:08:41 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:08:43 ---> Running in e765345738db 06:08:43 Removing intermediate container e765345738db 06:08:43 ---> 59cc2371fd4d 06:08:43 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:08:43 ---> Running in 62264cac06b7 06:08:44 Removing intermediate container 62264cac06b7 06:08:44 ---> 266b7f8877fa 06:08:44 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:08:44 ---> Running in 777c9f488387 06:08:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:08:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:08:47 OK: 270 MiB in 61 packages 06:08:48 Removing intermediate container 777c9f488387 06:08:48 ---> 677baf41f184 06:08:48 Step 6/22 : WORKDIR /device-modbus-go 06:08:48 ---> Running in 1a5abec74e6b 06:08:48 Removing intermediate container 1a5abec74e6b 06:08:48 ---> 435ecc4fa5e8 06:08:48 Step 7/22 : COPY go.mod vendor* ./ 06:08:49 ---> 667358e1a5da 06:08:49 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:08:49 ---> Running in 881e1f1e6a55 06:08:52 Removing intermediate container 881e1f1e6a55 06:08:52 ---> a0df59ba3b0b 06:08:52 Step 9/22 : COPY . . 06:08:53 ---> 3c14d92897b2 06:08:53 Step 10/22 : RUN ${MAKE} 06:08:53 ---> Running in b074b6cba0bb 06:08:54 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:11:31 Removing intermediate container b074b6cba0bb 06:11:31 ---> cae045ac4b11 06:11:31 Step 11/22 : FROM alpine:3.17 06:11:31 3.17: Pulling from library/alpine 06:11:31 c41833b44d91: Already exists 06:11:31 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:11:31 Status: Downloaded newer image for alpine:3.17 06:11:31 ---> 51e60588ff2c 06:11:31 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:11:31 ---> Running in 015a689d4411 06:11:31 Removing intermediate container 015a689d4411 06:11:31 ---> 428bb965e645 06:11:31 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:11:31 ---> Running in e380171c63b2 06:11:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:11:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:11:31 (1/1) Installing dumb-init (1.2.5-r2) 06:11:31 Executing busybox-1.35.0-r29.trigger 06:11:31 OK: 8 MiB in 16 packages 06:11:31 Removing intermediate container e380171c63b2 06:11:31 ---> 8e63abe1d123 06:11:31 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:11:31 ---> 4114e5a7595b 06:11:31 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:11:31 ---> 4e96e64864dd 06:11:31 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:11:31 ---> 74b078c001a2 06:11:31 Step 17/22 : EXPOSE 59901 06:11:31 ---> Running in 8d9b4b3df067 06:11:31 Removing intermediate container 8d9b4b3df067 06:11:31 ---> 693ff164c276 06:11:31 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:11:31 ---> Running in f8790e8955ec 06:11:31 Removing intermediate container f8790e8955ec 06:11:31 ---> c3901e1eaa81 06:11:31 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:11:31 ---> Running in b35358a399a0 06:11:31 Removing intermediate container b35358a399a0 06:11:31 ---> aef0424482da 06:11:31 Step 20/22 : LABEL arch=arm64 06:11:31 ---> Running in 972555660ed7 06:11:31 Removing intermediate container 972555660ed7 06:11:31 ---> 578402ac4672 06:11:31 Step 21/22 : LABEL git_sha=af0bcac0353111ba04134161193c1e92309f93bf 06:11:31 ---> Running in d32840c01262 06:11:31 Removing intermediate container d32840c01262 06:11:31 ---> d1db09531053 06:11:31 Step 22/22 : LABEL version=0.0.0 06:11:31 ---> Running in dc61166be0d0 06:11:31 Removing intermediate container dc61166be0d0 06:11:31 ---> 8b17d0f83abc 06:11:31 [Warning] One or more build-args [ARCH] were not consumed 06:11:31 Successfully built 8b17d0f83abc 06:11:31 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 06:11:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:11:32 06:11:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:11:33 arm64: Pulling from edgex-lftools-log-publisher 06:11:33 8998bd30e6a1: Pulling fs layer 06:11:33 04944245beec: Pulling fs layer 06:11:33 699f458cf7ca: Pulling fs layer 06:11:33 765212b225bb: Pulling fs layer 06:11:33 f23df028b6ca: Pulling fs layer 06:11:33 d65c8cfc05b1: Pulling fs layer 06:11:33 2437ff75d9bd: Pulling fs layer 06:11:33 765212b225bb: Waiting 06:11:33 2437ff75d9bd: Waiting 06:11:33 f23df028b6ca: Waiting 06:11:33 d65c8cfc05b1: Waiting 06:11:33 04944245beec: Verifying Checksum 06:11:33 04944245beec: Download complete 06:11:33 765212b225bb: Verifying Checksum 06:11:33 765212b225bb: Download complete 06:11:33 f23df028b6ca: Verifying Checksum 06:11:33 f23df028b6ca: Download complete 06:11:33 d65c8cfc05b1: Verifying Checksum 06:11:33 d65c8cfc05b1: Download complete 06:11:33 699f458cf7ca: Verifying Checksum 06:11:33 699f458cf7ca: Download complete 06:11:33 8998bd30e6a1: Verifying Checksum 06:11:33 8998bd30e6a1: Download complete 06:11:36 2437ff75d9bd: Verifying Checksum 06:11:36 2437ff75d9bd: Download complete 06:11:37 8998bd30e6a1: Pull complete 06:11:38 04944245beec: Pull complete 06:11:40 699f458cf7ca: Pull complete 06:11:40 765212b225bb: Pull complete 06:11:40 f23df028b6ca: Pull complete 06:11:41 d65c8cfc05b1: Pull complete 06:11:56 2437ff75d9bd: Pull complete 06:11:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:11:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:11:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:56 prd-ubuntu20.04-docker-arm64-4c-16g-10944 does not seem to be running inside a container 06:11:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:11:59 $ docker top cb60052ef6d4403142fee65d45a2deee45f894bcf289979fb04433aadfa9a11a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:12:00 ---> job-cost.sh 06:12:00 lf-activate-venv: SKIPPING 06:12:00 INFO: No Stack... 06:12:01 INFO: Retrieving Pricing Info for: v3-standard-4 06:12:01 INFO: Archiving Costs [Pipeline] sh 06:12:02 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 06:12:02 + cut -d, -f6 [Pipeline] lock 06:12:02 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-465-1-stack-cost] 06:12:02 Resource [jenkins-edgexfoundry-device-modbus-go-PR-465-1-stack-cost] did not exist. Created. 06:12:02 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-465-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:12:03 /w/workspace/device-modbus-go/1@tmp/durable-ca5522b2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:12:03 + echo total: 0.10999999940395355 [Pipeline] stash 06:12:03 Warning: overwriting stash ‘stack-cost’ 06:12:03 Stashed 1 file(s) [Pipeline] } 06:12:03 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-465-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:12:04 $ docker stop --time=1 cb60052ef6d4403142fee65d45a2deee45f894bcf289979fb04433aadfa9a11a 06:12:05 $ docker rm -f --volumes cb60052ef6d4403142fee65d45a2deee45f894bcf289979fb04433aadfa9a11a [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 06:12:06 provisioning config files... 06:12:06 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-465@tmp/config10379578246702295362tmp [Pipeline] { [Pipeline] sh 06:12:06 + set +x 06:12:06 + curl -s https://codecov.io/bash 06:12:06 + bash -s -- 06:12:06 06:12:06 _____ _ 06:12:06 / ____| | | 06:12:06 | | ___ __| | ___ ___ _____ __ 06:12:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:12:06 | |___| (_) | (_| | __/ (_| (_) \ V / 06:12:06 \_____\___/ \__,_|\___|\___\___/ \_/ 06:12:06 Bash-1.0.6 06:12:06 06:12:06 06:12:06 ==> git version 2.25.1 found 06:12:06 ==> 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 06:12:06 Release-Date: 2020-01-08 06:12:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:12:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:12:06 ==> Jenkins CI detected. 06:12:06 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-465 06:12:06 project root: . 06:12:06 --> token set from env 06:12:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:12:06 ==> Running gcov in . (disable via -X gcov) 06:12:06 ==> Python coveragepy not found 06:12:06 ==> Searching for coverage reports in: 06:12:06 + . 06:12:06 -> Found 1 reports 06:12:06 ==> Detecting git/mercurial file structure 06:12:06 ==> Reading reports 06:12:06 + ./coverage.out bytes=24160 06:12:06 ==> Appending adjustments 06:12:06 https://docs.codecov.io/docs/fixing-reports 06:12:07 + Found adjustments 06:12:07 ==> Gzipping contents 06:12:07 4.0K /tmp/codecov.tmyzlc.gz 06:12:07 ==> Uploading reports 06:12:07 url: https://codecov.io 06:12:07 query: branch=PR-465&commit=af0bcac0353111ba04134161193c1e92309f93bf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-465%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=465&job=&cmd_args= 06:12:07 -> Pinging Codecov 06:12:07 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-465&commit=af0bcac0353111ba04134161193c1e92309f93bf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-465%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=465&job=&cmd_args= 06:12:07 -> Uploading to 06:12:07 https://storage.googleapis.com/codecov/v4/raw/2023-04-26/55DBCA73C666E3227836607328DD7E49/af0bcac0353111ba04134161193c1e92309f93bf/55fd1db9-38ee-4029-ba13-93e66b639f92.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230426T061207Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e91c5cf7de664dd768050f644a1046e0276dad662cb3e80a54f4131d3f9c22da 06:12:07 % Total % Received % Xferd Average Speed Time Time Time Current 06:12:07 Dload Upload Total Spent Left Speed 06:12:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 19620 --:--:-- --:--:-- --:--:-- 19620 06:12:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/af0bcac0353111ba04134161193c1e92309f93bf [Pipeline] } 06:12:07 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 06:12:09 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-465/archives ] 06:12:09 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-465/archives 06:12:09 total 16 06:12:09 drwxr-xr-x 3 root root 4096 Apr 26 06:01 . 06:12:09 drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 06:01 .. 06:12:09 drwxr-xr-x 2 root root 4096 Apr 26 06:01 cost 06:12:09 -rw-r--r-- 1 root root 88 Apr 26 06:01 cost.csv 06:12:09 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-465/archives 06:12:09 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-465/archives 06:12:09 total 16 06:12:09 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 06:01 . 06:12:09 drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 06:01 .. 06:12:09 drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 06:01 cost 06:12:09 -rw-r--r-- 1 jenkins jenkins 88 Apr 26 06:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:12:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:12:10 ---> package-listing.sh 06:12:10 ++ facter osfamily 06:12:10 ++ tr '[:upper:]' '[:lower:]' 06:12:10 + OS_FAMILY=debian 06:12:10 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-465 06:12:10 + START_PACKAGES=/tmp/packages_start.txt 06:12:10 + END_PACKAGES=/tmp/packages_end.txt 06:12:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:12:10 + PACKAGES=/tmp/packages_start.txt 06:12:10 + '[' /w/workspace/xfoundry_device-modbus-go_PR-465 ']' 06:12:10 + PACKAGES=/tmp/packages_end.txt 06:12:10 + case "${OS_FAMILY}" in 06:12:10 + dpkg -l 06:12:10 + grep '^ii' 06:12:10 + '[' -f /tmp/packages_start.txt ']' 06:12:10 + '[' -f /tmp/packages_end.txt ']' 06:12:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:12:10 + '[' /w/workspace/xfoundry_device-modbus-go_PR-465 ']' 06:12:10 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-465/archives/ 06:12:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-465/archives/ [Pipeline] echo 06:12:10 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-465/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:12:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:12:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:12:11 prd-ubuntu20.04-docker-8c-8g-10938 does not seem to be running inside a container 06:12:11 $ 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-465/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-465 -v /w/workspace/xfoundry_device-modbus-go_PR-465:/w/workspace/xfoundry_device-modbus-go_PR-465:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-465@tmp:/w/workspace/xfoundry_device-modbus-go_PR-465@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:12:12 $ docker top 87dec56eece59350d91c5495c0681e93e538a81192bf4a6fd695d42b9b60c10f -eo pid,comm [Pipeline] { [Pipeline] sh 06:12:12 + touch /tmp/pre-build-complete [Pipeline] sh 06:12:12 + mkdir -p /var/log/sysstat [Pipeline] sh 06:12:13 + ls /var/log/sa-host 06:12:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:12:13 provisioning config files... 06:12:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-465@tmp/config11482911717400257892tmp [Pipeline] { [Pipeline] echo 06:12:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:12:13 ---> create-netrc.sh [Pipeline] } 06:12:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:12:14 ---> python-tools-install.sh [Pipeline] echo 06:12:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:12:14 ---> sudo-logs.sh 06:12:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:12:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:12:14 ---> job-cost.sh 06:12:14 lf-activate-venv: SKIPPING 06:12:14 DEBUG: total: 0.2199999988079071 06:12:14 INFO: Retrieving Stack Cost... 06:12:15 INFO: Retrieving Pricing Info for: v3-standard-8 06:12:15 INFO: Archiving Costs [Pipeline] echo 06:12:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:12:15 ---> logs-deploy.sh 06:12:15 lf-activate-venv: SKIPPING 06:12:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-465/1 06:12:15 INFO: archiving workspace using pattern(s): 06:12:16 Archives upload complete. 06:12:16 INFO: archiving logs to Nexus