Pull request #464 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 17f5c61938cb3702cecd8b5ed97b46c901907b7e+831951377c32840706638568b0e432e598c2b631 (4d4a6234c7a45c2c1830a5e60a6d1f3a9755bc13) 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-ssh7817495387344708475.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-ssh230308355262262845.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-464/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-464/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14611630549191431200.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-464/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2967313364245170043.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-ssh7889290112413954062.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-464/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-464/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16003151425249728883.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-10937 in /w/workspace/xfoundry_device-modbus-go_PR-464 [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-464 # 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/464/head:refs/remotes/origin/PR-464 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 831951377c32840706638568b0e432e598c2b631 into PR head commit 17f5c61938cb3702cecd8b5ed97b46c901907b7e Merge succeeded, producing 17f5c61938cb3702cecd8b5ed97b46c901907b7e Checking out Revision 17f5c61938cb3702cecd8b5ed97b46c901907b7e (PR-464) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:58:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:58:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv > git config core.sparsecheckout # timeout=10 > git checkout -f 17f5c61938cb3702cecd8b5ed97b46c901907b7e # 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 17f5c61938cb3702cecd8b5ed97b46c901907b7e # timeout=10 [Pipeline] { [Pipeline] echo 05:58:39 ========================================================= 05:58:39 EdgeX Global Pipelines Version Info 05:58:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:58:39 ------------------- 05:58:39 stable info: 05:58:39 ------------------- 05:58:39 Commited By: Bill Mahoney bill.mahoney@intel.com 05:58:39 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 05:58:39 Message: update stable to v1.0.248 05:58:40 ------------------- 05:58:40 experimental info: 05:58:40 ------------------- 05:58:40 Commited By: **** collab-it+edgex@linuxfoundation.org 05:58:40 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 05:58:40 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:58:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:58:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:58:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:58:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:58:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:58:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 05:58:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:58:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:58:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:58:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:58:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:58:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:58:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:58:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:58:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:58:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:58:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:58:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:58:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:58:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:58:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:58:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:58:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:58:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:58:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:58:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:58:41 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:58:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-464 [Pipeline] echo 05:58:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-464 [Pipeline] echo 05:58:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-464 [Pipeline] echo 05:58:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 17f5c61938cb3702cecd8b5ed97b46c901907b7e [Pipeline] echo 05:58:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 17f5c61 [Pipeline] echo 05:58:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:58:42 provisioning config files... 05:58:42 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-464@tmp/config16412425793975383371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:58:42 ---> docker-login.sh 05:58:42 nexus3.edgexfoundry.org:10001 05:58:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:42 Configure a credential helper to remove this warning. See 05:58:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:42 05:58:42 Login Succeeded 05:58:42 nexus3.edgexfoundry.org:10002 05:58:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:43 Configure a credential helper to remove this warning. See 05:58:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:43 05:58:43 Login Succeeded 05:58:43 nexus3.edgexfoundry.org:10003 05:58:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:43 Configure a credential helper to remove this warning. See 05:58:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:43 05:58:43 Login Succeeded 05:58:43 nexus3.edgexfoundry.org:10004 05:58:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:43 Configure a credential helper to remove this warning. See 05:58:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:43 05:58:43 Login Succeeded 05:58:43 docker.io 05:58:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:43 Configure a credential helper to remove this warning. See 05:58:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:43 05:58:43 Login Succeeded 05:58:43 ---> docker-login.sh ends [Pipeline] } 05:58:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:58:44 + git rev-list -1 --merges 17f5c61938cb3702cecd8b5ed97b46c901907b7e~1..17f5c61938cb3702cecd8b5ed97b46c901907b7e [Pipeline] echo 05:58:44 -----------> git rev-list -1 --merges 17f5c61938cb3702cecd8b5ed97b46c901907b7e~1..17f5c61938cb3702cecd8b5ed97b46c901907b7e 17f5c61938cb3702cecd8b5ed97b46c901907b7e [false] [Pipeline] sh 05:58:44 + git log --format=format:%s -1 17f5c61938cb3702cecd8b5ed97b46c901907b7e [Pipeline] echo 05:58:44 ========================================================= 05:58:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:58:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:58:45 + git log --format=format:%s -1 17f5c61938cb3702cecd8b5ed97b46c901907b7e [Pipeline] echo 05:58:45 [semverPrep] GIT_COMMIT: 17f5c61938cb3702cecd8b5ed97b46c901907b7e, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 05:58:45 [semverPrep] This is not a build commit. [Pipeline] sh 05:58:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:58:45 + grep -v github /etc/ssh/ssh_known_hosts 05:58:45 + [ -e /tmp/ssh_known_hosts ] 05:58:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:58:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:58:45 + sudo tee -a /etc/ssh/ssh_known_hosts 05:58:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:58:46 05:58:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:58:46 0.1.4: Pulling from edgex-devops/py-git-semver 05:58:46 b85a868b505f: Pulling fs layer 05:58:46 e2be974225ed: Pulling fs layer 05:58:46 339a4e72a1f5: Pulling fs layer 05:58:46 988bab9f4d93: Pulling fs layer 05:58:46 1469e6f7b9e6: Pulling fs layer 05:58:46 eaf3925da568: Pulling fs layer 05:58:46 bab4dde63d76: Pulling fs layer 05:58:46 988bab9f4d93: Waiting 05:58:46 bde34c3a00c8: Pulling fs layer 05:58:46 eaf3925da568: Waiting 05:58:46 b352a97aabf1: Pulling fs layer 05:58:46 4872d77fe225: Pulling fs layer 05:58:46 b352a97aabf1: Waiting 05:58:46 bde34c3a00c8: Waiting 05:58:46 5851b861e8e6: Pulling fs layer 05:58:46 4872d77fe225: Waiting 05:58:46 bab4dde63d76: Waiting 05:58:46 5851b861e8e6: Waiting 05:58:46 e2be974225ed: Verifying Checksum 05:58:46 e2be974225ed: Download complete 05:58:46 988bab9f4d93: Verifying Checksum 05:58:46 988bab9f4d93: Download complete 05:58:46 1469e6f7b9e6: Verifying Checksum 05:58:46 1469e6f7b9e6: Download complete 05:58:46 eaf3925da568: Verifying Checksum 05:58:46 eaf3925da568: Download complete 05:58:46 339a4e72a1f5: Verifying Checksum 05:58:46 339a4e72a1f5: Download complete 05:58:46 bde34c3a00c8: Download complete 05:58:46 b352a97aabf1: Verifying Checksum 05:58:46 b352a97aabf1: Download complete 05:58:46 4872d77fe225: Verifying Checksum 05:58:46 4872d77fe225: Download complete 05:58:46 5851b861e8e6: Verifying Checksum 05:58:46 b85a868b505f: Verifying Checksum 05:58:46 b85a868b505f: Download complete 05:58:47 bab4dde63d76: Verifying Checksum 05:58:47 bab4dde63d76: Download complete 05:58:48 b85a868b505f: Pull complete 05:58:48 e2be974225ed: Pull complete 05:58:48 339a4e72a1f5: Pull complete 05:58:48 988bab9f4d93: Pull complete 05:58:48 1469e6f7b9e6: Pull complete 05:58:49 eaf3925da568: Pull complete 05:58:51 bab4dde63d76: Pull complete 05:58:51 bde34c3a00c8: Pull complete 05:58:51 b352a97aabf1: Pull complete 05:58:51 4872d77fe225: Pull complete 05:58:51 5851b861e8e6: Pull complete 05:58:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:58:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:58:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:58:51 prd-ubuntu20.04-docker-8c-8g-10937 does not seem to be running inside a container 05:58:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-464 -v /w/workspace/xfoundry_device-modbus-go_PR-464:/w/workspace/xfoundry_device-modbus-go_PR-464:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-464@tmp:/w/workspace/xfoundry_device-modbus-go_PR-464@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:58:53 $ docker top aa832e92ede10e139cce6dae40563188779d6719aabf91919113425812223b7b -eo pid,comm 05:58:53 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:58:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:58:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:58:53 [ssh-agent] Looking for ssh-agent implementation... 05:58:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:58:53 $ docker exec aa832e92ede10e139cce6dae40563188779d6719aabf91919113425812223b7b ssh-agent 05:58:53 SSH_AUTH_SOCK=/tmp/ssh-oPc7cQQkw5zP/agent.32 05:58:53 SSH_AGENT_PID=38 05:58:53 Running ssh-add (command line suppressed) 05:58:53 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-464@tmp/private_key_2743226074303919839.key (/w/workspace/xfoundry_device-modbus-go_PR-464@tmp/private_key_2743226074303919839.key) 05:58:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:58:53 + git tag --points-at HEAD [Pipeline] } 05:58:54 $ docker exec --env ******** --env ******** aa832e92ede10e139cce6dae40563188779d6719aabf91919113425812223b7b ssh-agent -k 05:58:54 unset SSH_AUTH_SOCK; 05:58:54 unset SSH_AGENT_PID; 05:58:54 echo Agent pid 38 killed; 05:58:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:58:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:58:54 [ssh-agent] Looking for ssh-agent implementation... 05:58:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:58:54 $ docker exec aa832e92ede10e139cce6dae40563188779d6719aabf91919113425812223b7b ssh-agent 05:58:54 SSH_AUTH_SOCK=/tmp/ssh-hL8yrmsjW3wH/agent.70 05:58:54 SSH_AGENT_PID=76 05:58:54 Running ssh-add (command line suppressed) 05:58:54 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-464@tmp/private_key_3059833512815398444.key (/w/workspace/xfoundry_device-modbus-go_PR-464@tmp/private_key_3059833512815398444.key) 05:58:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:58:54 + git semver init 05:58:55 2023-04-26 05:58:55,149 [run_init] DEBUG init version:0.0.0 force:False 05:58:55 2023-04-26 05:58:55,150 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-464/.semver 05:58:55 2023-04-26 05:58:55,150 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-464/.semver 05:58:55 2023-04-26 05:58:55,150 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-464/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-464, universal_newlines=False, shell=None, istream=None) 05:58:56 2023-04-26 05:58:55,915 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-464/.git/info/exclude 05:58:56 2023-04-26 05:58:55,916 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-464/.semver/PR-464 with force:False 05:58:56 2023-04-26 05:58:55,916 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-464/.semver/PR-464 05:58:56 2023-04-26 05:58:55,920 [execute] INFO git cat-file --batch-check 05:58:56 2023-04-26 05:58:55,920 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-464/.semver, universal_newlines=False, shell=None, istream=) 05:58:56 2023-04-26 05:58:55,926 [execute] INFO git cat-file --batch 05:58:56 2023-04-26 05:58:55,926 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-464/.semver, universal_newlines=False, shell=None, istream=) 05:58:56 2023-04-26 05:58:55,936 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-464/.semver/PR-464 05:58:56 0.0.0 [Pipeline] } 05:58:56 $ docker exec --env ******** --env ******** aa832e92ede10e139cce6dae40563188779d6719aabf91919113425812223b7b ssh-agent -k 05:58:56 unset SSH_AUTH_SOCK; 05:58:56 unset SSH_AGENT_PID; 05:58:56 echo Agent pid 76 killed; 05:58:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:58:56 + git semver [Pipeline] } 05:58:57 $ docker stop --time=1 aa832e92ede10e139cce6dae40563188779d6719aabf91919113425812223b7b 05:58:58 $ docker rm -f --volumes aa832e92ede10e139cce6dae40563188779d6719aabf91919113425812223b7b [Pipeline] // withDockerContainer [Pipeline] sh 05:58:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:58:59 Stashed 1 file(s) [Pipeline] echo 05:58:59 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:58:59 provisioning config files... 05:58:59 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-464@tmp/config13363323419734378566tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:59:00 ---> docker-login.sh 05:59:00 nexus3.edgexfoundry.org:10001 05:59:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:00 Configure a credential helper to remove this warning. See 05:59:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:00 05:59:00 Login Succeeded 05:59:00 nexus3.edgexfoundry.org:10002 05:59:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:00 Configure a credential helper to remove this warning. See 05:59:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:00 05:59:00 Login Succeeded 05:59:00 nexus3.edgexfoundry.org:10003 05:59:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:00 Configure a credential helper to remove this warning. See 05:59:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:00 05:59:00 Login Succeeded 05:59:00 nexus3.edgexfoundry.org:10004 05:59:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:00 Configure a credential helper to remove this warning. See 05:59:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:00 05:59:00 Login Succeeded 05:59:00 docker.io 05:59:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:00 Configure a credential helper to remove this warning. See 05:59:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:00 05:59:00 Login Succeeded 05:59:00 ---> docker-login.sh ends [Pipeline] } 05:59:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:59:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:59:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:59:00 ========================================================= 05:59:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 05:59:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:01 + 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:01 Sending build context to Docker daemon 6.47MB 05:59:01 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 05:59:01 Step 2/10 : FROM ${BASE} AS builder 05:59:01 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 05:59:01 f56be85fc22e: Pulling fs layer 05:59:01 85791d961cd3: Pulling fs layer 05:59:01 d694b5ae8c79: Pulling fs layer 05:59:01 9f32a84ed3da: Pulling fs layer 05:59:01 4d19c01a9841: Pulling fs layer 05:59:01 9325e15d5711: Pulling fs layer 05:59:01 556b6ee489ea: Pulling fs layer 05:59:01 c5a4b2cf53e6: Pulling fs layer 05:59:01 4d19c01a9841: Waiting 05:59:01 9325e15d5711: Waiting 05:59:01 556b6ee489ea: Waiting 05:59:01 c5a4b2cf53e6: Waiting 05:59:01 9f32a84ed3da: Waiting 05:59:01 85791d961cd3: Verifying Checksum 05:59:01 85791d961cd3: Download complete 05:59:01 9f32a84ed3da: Download complete 05:59:01 4d19c01a9841: Download complete 05:59:01 f56be85fc22e: Verifying Checksum 05:59:01 f56be85fc22e: Download complete 05:59:01 9325e15d5711: Verifying Checksum 05:59:01 9325e15d5711: Download complete 05:59:01 f56be85fc22e: Pull complete 05:59:01 85791d961cd3: Pull complete 05:59:01 c5a4b2cf53e6: Verifying Checksum 05:59:01 c5a4b2cf53e6: Download complete 05:59:02 d694b5ae8c79: Verifying Checksum 05:59:02 d694b5ae8c79: Download complete 05:59:02 556b6ee489ea: Verifying Checksum 05:59:02 556b6ee489ea: Download complete 05:59:05 d694b5ae8c79: Pull complete 05:59:05 9f32a84ed3da: Pull complete 05:59:05 4d19c01a9841: Pull complete 05:59:05 9325e15d5711: Pull complete 05:59:08 556b6ee489ea: Pull complete 05:59:09 c5a4b2cf53e6: Pull complete 05:59:09 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 05:59:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 05:59:09 ---> c4be618373d6 05:59:09 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:59:11 ---> Running in 367e2ef700a2 05:59:11 Removing intermediate container 367e2ef700a2 05:59:11 ---> 6e604d0bfc0b 05:59:11 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:59:11 ---> Running in 3f390fd7d5fb 05:59:11 Removing intermediate container 3f390fd7d5fb 05:59:11 ---> 279ddc0ffa4f 05:59:11 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:59:11 ---> Running in 2d54eb22c04f 05:59:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:59:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:59:12 (1/8) Installing openssh-keygen (9.1_p1-r2) 05:59:12 (2/8) Installing libedit (20221030.3.1-r0) 05:59:12 (3/8) Installing openssh-client-common (9.1_p1-r2) 05:59:12 (4/8) Installing openssh-client-default (9.1_p1-r2) 05:59:12 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 05:59:12 (6/8) Installing openssh-server-common (9.1_p1-r2) 05:59:12 (7/8) Installing openssh-server (9.1_p1-r2) 05:59:12 (8/8) Installing openssh (9.1_p1-r2) 05:59:12 Executing busybox-1.35.0-r29.trigger 05:59:12 OK: 270 MiB in 61 packages 05:59:12 Removing intermediate container 2d54eb22c04f 05:59:12 ---> 54d8ccfe3b05 05:59:12 Step 6/10 : WORKDIR /device-modbus-go 05:59:12 ---> Running in a84472fce916 05:59:13 Removing intermediate container a84472fce916 05:59:13 ---> 49f5ead8acf8 05:59:13 Step 7/10 : COPY go.mod vendor* ./ 05:59:13 ---> da6e004cbcfb 05:59:13 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:59:13 ---> Running in 75bedae0b215 05:59:14 Still waiting to schedule task 05:59:14 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:59:45 Removing intermediate container 75bedae0b215 05:59:45 ---> 8b45743b64a1 05:59:45 Step 9/10 : COPY . . 05:59:45 ---> d79664361271 05:59:45 Step 10/10 : RUN ${MAKE} 05:59:45 ---> Running in 8334c54bd4c5 05:59:45 noop 05:59:45 Removing intermediate container 8334c54bd4c5 05:59:45 ---> 28fe2c20fdc9 05:59:45 Successfully built 28fe2c20fdc9 05:59:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:45 + docker inspect -f . ci-base-image-x86_64 05:59:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:59:45 prd-ubuntu20.04-docker-8c-8g-10937 does not seem to be running inside a container 05:59:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-464 -v /w/workspace/xfoundry_device-modbus-go_PR-464:/w/workspace/xfoundry_device-modbus-go_PR-464:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-464@tmp:/w/workspace/xfoundry_device-modbus-go_PR-464@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:59:46 $ docker top 716b30ab1efa65e0589f5bdf1f11ebbfcafb5e21bbdd4d735fdb150fb953ba11 -eo pid,comm [Pipeline] { [Pipeline] sh 05:59:46 + go version 05:59:46 go version go1.20.2 linux/amd64 [Pipeline] } 05:59:46 $ docker stop --time=1 716b30ab1efa65e0589f5bdf1f11ebbfcafb5e21bbdd4d735fdb150fb953ba11 05:59:47 $ docker rm -f --volumes 716b30ab1efa65e0589f5bdf1f11ebbfcafb5e21bbdd4d735fdb150fb953ba11 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:48 + docker inspect -f . ci-base-image-x86_64 05:59:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:59:48 prd-ubuntu20.04-docker-8c-8g-10937 does not seem to be running inside a container 05:59:48 $ 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-464 -v /w/workspace/xfoundry_device-modbus-go_PR-464:/w/workspace/xfoundry_device-modbus-go_PR-464:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-464@tmp:/w/workspace/xfoundry_device-modbus-go_PR-464@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:59:49 $ docker top b0a0b009d4e9b7ebaf8ac13a2ebbeef571e97687a9bdc025bfa6f8770bb77286 -eo pid,comm [Pipeline] { [Pipeline] sh 05:59:49 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-464 [Pipeline] fileExists [Pipeline] sh 05:59:50 + make test 05:59:50 go test ./... -coverprofile=coverage.out 05:59:55 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:00:05 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:00:05 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.4% of statements 06:00:12 go vet ./... 06:00:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:00:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:00:15 ./bin/test-attribution-txt.sh [Pipeline] echo 06:00:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:00:15 $ docker stop --time=1 b0a0b009d4e9b7ebaf8ac13a2ebbeef571e97687a9bdc025bfa6f8770bb77286 06:00:18 $ docker rm -f --volumes b0a0b009d4e9b7ebaf8ac13a2ebbeef571e97687a9bdc025bfa6f8770bb77286 [Pipeline] // withDockerContainer [Pipeline] sh 06:00:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:00:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:00:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:00:20 + ls -al . 06:00:20 total 180 06:00:20 drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 05:59 . 06:00:20 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 05:58 .. 06:00:20 -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 05:58 .dockerignore 06:00:20 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 05:58 .git 06:00:20 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 05:58 .github 06:00:20 -rw-rw-r-- 1 jenkins jenkins 331 Apr 26 05:58 .gitignore 06:00:20 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 05:58 .golangci.yml 06:00:20 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 05:58 .semver 06:00:20 -rw-rw-r-- 1 jenkins jenkins 10132 Apr 26 05:58 Attribution.txt 06:00:20 -rw-rw-r-- 1 jenkins jenkins 11576 Apr 26 05:58 CHANGELOG.md 06:00:20 -rw-rw-r-- 1 jenkins jenkins 1365 Apr 26 05:58 Dockerfile 06:00:20 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 05:58 GOVERNANCE.md 06:00:20 -rw-rw-r-- 1 jenkins jenkins 680 Apr 26 05:58 Jenkinsfile 06:00:20 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 05:58 LICENSE 06:00:20 -rw-rw-r-- 1 jenkins jenkins 1705 Apr 26 05:58 Makefile 06:00:20 -rw-rw-r-- 1 jenkins jenkins 622 Apr 26 05:58 OWNERS.md 06:00:20 -rw-rw-r-- 1 jenkins jenkins 4045 Apr 26 05:58 README.md 06:00:20 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 05:58 VERSION 06:00:20 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 05:58 bin 06:00:20 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 05:58 cmd 06:00:20 -rw-r--r-- 1 jenkins jenkins 24160 Apr 26 06:00 coverage.out 06:00:20 -rw-rw-r-- 1 jenkins jenkins 3453 Apr 26 05:58 go.mod 06:00:20 -rw-rw-r-- 1 jenkins jenkins 31785 Apr 26 05:58 go.sum 06:00:20 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 05:58 internal 06:00:20 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 05:58 simulator 06:00:20 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 05:58 snap 06:00:20 -rw-rw-r-- 1 jenkins jenkins 229 Apr 26 05:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:20 + 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=17f5c61938cb3702cecd8b5ed97b46c901907b7e --label arch=amd64 --label version=0.0.0 . 06:00:20 Sending build context to Docker daemon 6.495MB 06:00:20 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 06:00:20 Step 2/22 : FROM ${BASE} AS builder 06:00:20 ---> 28fe2c20fdc9 06:00:20 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:00:20 ---> Running in a6562a10b7e0 06:00:20 Removing intermediate container a6562a10b7e0 06:00:20 ---> c057323ffdef 06:00:20 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:00:20 ---> Running in c8bb37d470d7 06:00:20 Removing intermediate container c8bb37d470d7 06:00:20 ---> 26aa3d2fbfd9 06:00:20 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:00:20 ---> Running in 79a295c59c61 06:00:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:00:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:00:21 OK: 270 MiB in 61 packages 06:00:21 Removing intermediate container 79a295c59c61 06:00:21 ---> 1012c7910f5a 06:00:21 Step 6/22 : WORKDIR /device-modbus-go 06:00:21 ---> Running in 33b02422f6b5 06:00:21 Removing intermediate container 33b02422f6b5 06:00:21 ---> f680539a5393 06:00:21 Step 7/22 : COPY go.mod vendor* ./ 06:00:21 ---> 3b3bd97d485d 06:00:21 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:00:21 ---> Running in 4a2666758242 06:00:22 Removing intermediate container 4a2666758242 06:00:22 ---> 075c0693e5cf 06:00:22 Step 9/22 : COPY . . 06:00:23 ---> d7fd18062a7f 06:00:23 Step 10/22 : RUN ${MAKE} 06:00:23 ---> Running in 2d606dba5dfe 06:00:23 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:00:41 Removing intermediate container 2d606dba5dfe 06:00:41 ---> e94bf837c8c5 06:00:41 Step 11/22 : FROM alpine:3.17 06:00:41 3.17: Pulling from library/alpine 06:00:41 f56be85fc22e: Already exists 06:00:41 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:00:41 Status: Downloaded newer image for alpine:3.17 06:00:41 ---> 9ed4aefc74f6 06:00:41 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:00:41 ---> Running in ee657e137e68 06:00:41 Removing intermediate container ee657e137e68 06:00:41 ---> 5ccb56df6ce7 06:00:41 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:00:42 ---> Running in 2619c81d8794 06:00:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:00:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:00:42 (1/1) Installing dumb-init (1.2.5-r2) 06:00:42 Executing busybox-1.35.0-r29.trigger 06:00:42 OK: 7 MiB in 16 packages 06:00:42 Removing intermediate container 2619c81d8794 06:00:42 ---> e7e412f31096 06:00:42 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:00:43 ---> 6eb968e2d221 06:00:43 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:00:43 ---> ddda9b66a08f 06:00:43 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:00:43 ---> 484f8156bda0 06:00:43 Step 17/22 : EXPOSE 59901 06:00:43 ---> Running in c0a82c2f4151 06:00:44 Removing intermediate container c0a82c2f4151 06:00:44 ---> c3d668ec5c5c 06:00:44 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:00:44 ---> Running in 5c6ae9dcc124 06:00:44 Removing intermediate container 5c6ae9dcc124 06:00:44 ---> 367879bba6fc 06:00:44 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:00:44 ---> Running in 4b35b7bcd2fd 06:00:44 Removing intermediate container 4b35b7bcd2fd 06:00:44 ---> 02cbb33b9e0f 06:00:44 Step 20/22 : LABEL arch=amd64 06:00:44 ---> Running in 6035c6a568d8 06:00:44 Removing intermediate container 6035c6a568d8 06:00:44 ---> 420802ed7cd7 06:00:44 Step 21/22 : LABEL git_sha=17f5c61938cb3702cecd8b5ed97b46c901907b7e 06:00:44 ---> Running in ed05af72b4db 06:00:44 Removing intermediate container ed05af72b4db 06:00:44 ---> 26c1018fbdc0 06:00:44 Step 22/22 : LABEL version=0.0.0 06:00:44 ---> Running in 565c786d37bf 06:00:44 Removing intermediate container 565c786d37bf 06:00:44 ---> bc4dc8a97bde 06:00:44 [Warning] One or more build-args [ARCH] were not consumed 06:00:44 Successfully built bc4dc8a97bde 06:00:44 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:00:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:00:45 06:00:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:00:45 latest: Pulling from edgex-lftools-log-publisher 06:00:45 5eb5b503b376: Pulling fs layer 06:00:45 5c69ac0246d0: Pulling fs layer 06:00:45 ec43610c2a17: Pulling fs layer 06:00:45 3a2ae6a8a46f: Pulling fs layer 06:00:45 33b1e0a273af: Pulling fs layer 06:00:45 5d3b04190fa2: Pulling fs layer 06:00:45 2f39f015ded8: Pulling fs layer 06:00:45 5d3b04190fa2: Waiting 06:00:45 3a2ae6a8a46f: Waiting 06:00:45 33b1e0a273af: Waiting 06:00:45 2f39f015ded8: Waiting 06:00:45 5c69ac0246d0: Verifying Checksum 06:00:45 5c69ac0246d0: Download complete 06:00:45 3a2ae6a8a46f: Verifying Checksum 06:00:45 3a2ae6a8a46f: Download complete 06:00:45 ec43610c2a17: Verifying Checksum 06:00:45 ec43610c2a17: Download complete 06:00:45 33b1e0a273af: Verifying Checksum 06:00:45 33b1e0a273af: Download complete 06:00:45 5d3b04190fa2: Verifying Checksum 06:00:45 5d3b04190fa2: Download complete 06:00:46 5eb5b503b376: Verifying Checksum 06:00:46 5eb5b503b376: Download complete 06:00:46 2f39f015ded8: Download complete 06:00:47 5eb5b503b376: Pull complete 06:00:47 5c69ac0246d0: Pull complete 06:00:48 ec43610c2a17: Pull complete 06:00:48 3a2ae6a8a46f: Pull complete 06:00:48 33b1e0a273af: Pull complete 06:00:48 5d3b04190fa2: Pull complete 06:00:52 2f39f015ded8: Pull complete 06:00:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:00:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:00:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:52 prd-ubuntu20.04-docker-8c-8g-10937 does not seem to be running inside a container 06:00:52 $ 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-464 -v /w/workspace/xfoundry_device-modbus-go_PR-464:/w/workspace/xfoundry_device-modbus-go_PR-464:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-464@tmp:/w/workspace/xfoundry_device-modbus-go_PR-464@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:00:55 $ docker top 38151c8d6cd8def23d0be5b05ec772d9184754e492fed6b82e2ac07cdbfb9187 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:55 ---> job-cost.sh 06:00:55 lf-activate-venv: SKIPPING 06:00:55 INFO: No Stack... 06:00:56 INFO: Retrieving Pricing Info for: v3-standard-8 06:00:56 INFO: Archiving Costs [Pipeline] sh 06:00:56 + cat /w/workspace/xfoundry_device-modbus-go_PR-464/archives/cost.csv 06:00:56 + cut -d, -f6 [Pipeline] lock 06:00:56 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-464-1-stack-cost] 06:00:56 Resource [jenkins-edgexfoundry-device-modbus-go-PR-464-1-stack-cost] did not exist. Created. 06:00:56 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-464-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:00:57 + echo total: 0.2199999988079071 [Pipeline] stash 06:00:57 Stashed 1 file(s) [Pipeline] } 06:00:57 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-464-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:00:57 $ docker stop --time=1 38151c8d6cd8def23d0be5b05ec772d9184754e492fed6b82e2ac07cdbfb9187 06:00:58 $ docker rm -f --volumes 38151c8d6cd8def23d0be5b05ec772d9184754e492fed6b82e2ac07cdbfb9187 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:01:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10943 in /w/workspace/xfoundry_device-modbus-go_PR-464 [Pipeline] { [Pipeline] ws 06:01:35 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 06:01:35 Selected Git installation does not exist. Using Default 06:01:35 The recommended git tool is: NONE 06:01:42 using credential edgex-jenkins-ssh 06:01:42 Cloning the remote Git repository 06:01:42 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:01:42 > git init /w/workspace/device-modbus-go/1 # timeout=10 06:01:43 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:01:43 > git --version # timeout=10 06:01:43 > git --version # 'git version 2.25.1' 06:01:43 using GIT_SSH to set credentials SSH Credentials for GitHub 06:01:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:01:44 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:01:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:01:46 Merging remotes/origin/main commit 831951377c32840706638568b0e432e598c2b631 into PR head commit 17f5c61938cb3702cecd8b5ed97b46c901907b7e 06:01:45 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:01:45 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:01:45 using GIT_SSH to set credentials SSH Credentials for GitHub 06:01:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:01:46 > git config core.sparsecheckout # timeout=10 06:01:46 > git checkout -f 17f5c61938cb3702cecd8b5ed97b46c901907b7e # timeout=10 06:01:46 > git remote # timeout=10 06:01:46 Merge succeeded, producing 17f5c61938cb3702cecd8b5ed97b46c901907b7e 06:01:46 Checking out Revision 17f5c61938cb3702cecd8b5ed97b46c901907b7e (PR-464) 06:01:47 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" 06:01:47 > git --version # timeout=10 06:01:47 > git --version # 'git version 2.25.1' 06:01:47 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 06:01:46 > git config --get remote.origin.url # timeout=10 06:01:46 using GIT_SSH to set credentials SSH Credentials for GitHub 06:01:46 > git merge 831951377c32840706638568b0e432e598c2b631 # timeout=10 06:01:46 > git rev-parse HEAD^{commit} # timeout=10 06:01:46 > git config core.sparsecheckout # timeout=10 06:01:46 > git checkout -f 17f5c61938cb3702cecd8b5ed97b46c901907b7e # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh 06:01:48 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:01:48 % Total % Received % Xferd Average Speed Time Time Time Current 06:01:48 Dload Upload Total Spent Left Speed 06:01:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh 06:01:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:01:49 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:01:49 + sudo tee /etc/docker/daemon.new 06:01:49 { 06:01:49 "registry-mirrors": [ 06:01:49 "https://nexus3.edgexfoundry.org:10001" 06:01:49 ], 06:01:49 "bip": "10.250.0.254/24", 06:01:49 "hosts": [ 06:01:49 "tcp://0.0.0.0:5555", 06:01:49 "unix:///var/run/docker.sock" 06:01:49 ], 06:01:49 "mtu": 1458, 06:01:49 "selinux-enabled": true, 06:01:49 "seccomp-profile": "/etc/docker/seccomp.json" 06:01:49 } [Pipeline] sh 06:01:50 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:01:50 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:02:08 provisioning config files... 06:02:08 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config5031614747378739884tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:02:09 ---> docker-login.sh 06:02:09 nexus3.edgexfoundry.org:10001 06:02:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:09 Configure a credential helper to remove this warning. See 06:02:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:09 06:02:09 Login Succeeded 06:02:09 nexus3.edgexfoundry.org:10002 06:02:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:10 Configure a credential helper to remove this warning. See 06:02:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:10 06:02:10 Login Succeeded 06:02:10 nexus3.edgexfoundry.org:10003 06:02:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:10 Configure a credential helper to remove this warning. See 06:02:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:10 06:02:10 Login Succeeded 06:02:10 nexus3.edgexfoundry.org:10004 06:02:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:11 Configure a credential helper to remove this warning. See 06:02:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:11 06:02:11 Login Succeeded 06:02:11 docker.io 06:02:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:11 Configure a credential helper to remove this warning. See 06:02:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:11 06:02:11 Login Succeeded 06:02:11 ---> docker-login.sh ends [Pipeline] } 06:02:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:02:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:02:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:02:12 ========================================================= 06:02:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:02:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:12 + 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:13 Sending build context to Docker daemon 3.379MB 06:02:13 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 06:02:13 Step 2/10 : FROM ${BASE} AS builder 06:02:13 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:02:13 c41833b44d91: Pulling fs layer 06:02:13 ed15518f5707: Pulling fs layer 06:02:13 feae8fd75edb: Pulling fs layer 06:02:13 242c74f7c9fa: Pulling fs layer 06:02:13 3cdef696dda3: Pulling fs layer 06:02:13 2ced38df9373: Pulling fs layer 06:02:13 58f1dce35555: Pulling fs layer 06:02:13 3cdef696dda3: Waiting 06:02:13 58f1dce35555: Waiting 06:02:13 2ced38df9373: Waiting 06:02:13 242c74f7c9fa: Waiting 06:02:13 ed15518f5707: Download complete 06:02:13 242c74f7c9fa: Verifying Checksum 06:02:13 242c74f7c9fa: Download complete 06:02:13 3cdef696dda3: Verifying Checksum 06:02:13 3cdef696dda3: Download complete 06:02:13 c41833b44d91: Verifying Checksum 06:02:13 c41833b44d91: Download complete 06:02:14 c41833b44d91: Pull complete 06:02:15 58f1dce35555: Verifying Checksum 06:02:15 58f1dce35555: Download complete 06:02:15 ed15518f5707: Pull complete 06:02:16 feae8fd75edb: Verifying Checksum 06:02:16 feae8fd75edb: Download complete 06:02:16 2ced38df9373: Verifying Checksum 06:02:16 2ced38df9373: Download complete 06:02:28 feae8fd75edb: Pull complete 06:02:28 242c74f7c9fa: Pull complete 06:02:28 3cdef696dda3: Pull complete 06:02:34 2ced38df9373: Pull complete 06:02:35 58f1dce35555: Pull complete 06:02:35 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 06:02:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:02:35 ---> fadd8f120f05 06:02:35 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:02:37 ---> Running in 9f947ce61fc5 06:02:38 Removing intermediate container 9f947ce61fc5 06:02:38 ---> 3ecd835dd82b 06:02:38 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:02:38 ---> Running in da191193ebc6 06:02:38 Removing intermediate container da191193ebc6 06:02:38 ---> 9d4d05030e9c 06:02:38 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:02:38 ---> Running in 98beec56c639 06:02:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:02:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:02:41 (1/8) Installing openssh-keygen (9.1_p1-r2) 06:02:41 (2/8) Installing libedit (20221030.3.1-r0) 06:02:41 (3/8) Installing openssh-client-common (9.1_p1-r2) 06:02:42 (4/8) Installing openssh-client-default (9.1_p1-r2) 06:02:42 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 06:02:42 (6/8) Installing openssh-server-common (9.1_p1-r2) 06:02:42 (7/8) Installing openssh-server (9.1_p1-r2) 06:02:42 (8/8) Installing openssh (9.1_p1-r2) 06:02:42 Executing busybox-1.35.0-r29.trigger 06:02:42 OK: 270 MiB in 61 packages 06:02:43 Removing intermediate container 98beec56c639 06:02:43 ---> 55a45eae45cd 06:02:43 Step 6/10 : WORKDIR /device-modbus-go 06:02:43 ---> Running in e2b9776216ab 06:02:43 Removing intermediate container e2b9776216ab 06:02:43 ---> f78c254799d1 06:02:43 Step 7/10 : COPY go.mod vendor* ./ 06:02:44 ---> 4a06b20f63e5 06:02:44 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:02:44 ---> Running in 514d905ff656 06:03:52 Removing intermediate container 514d905ff656 06:03:52 ---> d45b4c1f05f9 06:03:52 Step 9/10 : COPY . . 06:03:52 ---> 46115c6cb98c 06:03:52 Step 10/10 : RUN ${MAKE} 06:03:52 ---> Running in 35799bc286f6 06:03:52 noop 06:03:52 Removing intermediate container 35799bc286f6 06:03:52 ---> 713c756f02a4 06:03:52 Successfully built 713c756f02a4 06:03:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:52 + docker inspect -f . ci-base-image-arm64 06:03:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:03:53 prd-ubuntu20.04-docker-arm64-4c-16g-10943 does not seem to be running inside a container 06:03:53 $ 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:03:54 $ docker top 31bcc744a5b99b00cbc1dca3a79fae2fbf7404db95149d31b1143673d5978013 -eo pid,comm [Pipeline] { [Pipeline] sh 06:03:55 + go version 06:03:55 go version go1.20.2 linux/arm64 [Pipeline] } 06:03:55 $ docker stop --time=1 31bcc744a5b99b00cbc1dca3a79fae2fbf7404db95149d31b1143673d5978013 06:03:57 $ docker rm -f --volumes 31bcc744a5b99b00cbc1dca3a79fae2fbf7404db95149d31b1143673d5978013 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:57 + docker inspect -f . ci-base-image-arm64 06:03:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:03:58 prd-ubuntu20.04-docker-arm64-4c-16g-10943 does not seem to be running inside a container 06:03:58 $ 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:03:59 $ docker top 41900f55d0d6424612b6ccfd6b094136e9ce81936194d713e41f8b70482159de -eo pid,comm [Pipeline] { [Pipeline] sh 06:04:00 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 06:04:01 + make test 06:04:01 go test ./... -coverprofile=coverage.out 06:04:40 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:07:02 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:07:03 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.077s coverage: 47.4% of statements 06:07:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:07:04 go vet ./... 06:07:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:07:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:07:36 ./bin/test-attribution-txt.sh [Pipeline] echo 06:07:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:07:36 $ docker stop --time=1 41900f55d0d6424612b6ccfd6b094136e9ce81936194d713e41f8b70482159de 06:07:38 $ docker rm -f --volumes 41900f55d0d6424612b6ccfd6b094136e9ce81936194d713e41f8b70482159de [Pipeline] // withDockerContainer [Pipeline] sh 06:07:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:07:40 Warning: overwriting stash ‘coverage-report’ 06:07:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:07:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:07:41 + ls -al . 06:07:41 total 176 06:07:41 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 06:04 . 06:07:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 06:01 .. 06:07:41 -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 06:01 .dockerignore 06:07:41 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 06:01 .git 06:07:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 06:01 .github 06:07:41 -rw-rw-r-- 1 jenkins jenkins 331 Apr 26 06:01 .gitignore 06:07:41 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 06:01 .golangci.yml 06:07:41 -rw-rw-r-- 1 jenkins jenkins 10132 Apr 26 06:01 Attribution.txt 06:07:41 -rw-rw-r-- 1 jenkins jenkins 11576 Apr 26 06:01 CHANGELOG.md 06:07:41 -rw-rw-r-- 1 jenkins jenkins 1365 Apr 26 06:01 Dockerfile 06:07:41 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 06:01 GOVERNANCE.md 06:07:41 -rw-rw-r-- 1 jenkins jenkins 680 Apr 26 06:01 Jenkinsfile 06:07:41 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 06:01 LICENSE 06:07:41 -rw-rw-r-- 1 jenkins jenkins 1705 Apr 26 06:01 Makefile 06:07:41 -rw-rw-r-- 1 jenkins jenkins 622 Apr 26 06:01 OWNERS.md 06:07:41 -rw-rw-r-- 1 jenkins jenkins 4045 Apr 26 06:01 README.md 06:07:41 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 05:58 VERSION 06:07:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 06:01 bin 06:07:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 06:01 cmd 06:07:41 -rw-r--r-- 1 jenkins jenkins 24160 Apr 26 06:07 coverage.out 06:07:41 -rw-rw-r-- 1 jenkins jenkins 3453 Apr 26 06:01 go.mod 06:07:41 -rw-rw-r-- 1 jenkins jenkins 31785 Apr 26 06:01 go.sum 06:07:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 06:01 internal 06:07:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 06:01 simulator 06:07:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 06:01 snap 06:07:41 -rw-rw-r-- 1 jenkins jenkins 229 Apr 26 06:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:42 + 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=17f5c61938cb3702cecd8b5ed97b46c901907b7e --label arch=arm64 --label version=0.0.0 . 06:07:42 Sending build context to Docker daemon 3.404MB 06:07:42 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 06:07:42 Step 2/22 : FROM ${BASE} AS builder 06:07:42 ---> 713c756f02a4 06:07:42 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:07:42 ---> Running in 96716a1ce521 06:07:43 Removing intermediate container 96716a1ce521 06:07:43 ---> e52a40fe5951 06:07:43 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:07:43 ---> Running in f5739592a10c 06:07:43 Removing intermediate container f5739592a10c 06:07:43 ---> 2a5269b3a5c2 06:07:43 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:07:43 ---> Running in a5611926d86f 06:07:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:07:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:07:47 OK: 270 MiB in 61 packages 06:07:48 Removing intermediate container a5611926d86f 06:07:48 ---> 1bb0e62f1fd4 06:07:48 Step 6/22 : WORKDIR /device-modbus-go 06:07:48 ---> Running in 17c9ab1679d0 06:07:48 Removing intermediate container 17c9ab1679d0 06:07:48 ---> 401ef7175ea0 06:07:48 Step 7/22 : COPY go.mod vendor* ./ 06:07:49 ---> 1fb93b73b813 06:07:49 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:07:49 ---> Running in 91b925223940 06:07:52 Removing intermediate container 91b925223940 06:07:52 ---> 61877e6aee11 06:07:52 Step 9/22 : COPY . . 06:07:53 ---> 86db22bb652a 06:07:53 Step 10/22 : RUN ${MAKE} 06:07:53 ---> Running in 7d3980969cc3 06:07: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:10:31 Removing intermediate container 7d3980969cc3 06:10:31 ---> 1fcfc0645df8 06:10:31 Step 11/22 : FROM alpine:3.17 06:10:31 3.17: Pulling from library/alpine 06:10:31 c41833b44d91: Already exists 06:10:31 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:10:31 Status: Downloaded newer image for alpine:3.17 06:10:31 ---> 51e60588ff2c 06:10:31 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:10:31 ---> Running in 866f2362d83e 06:10:31 Removing intermediate container 866f2362d83e 06:10:31 ---> 6657bda985b0 06:10:31 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:10:31 ---> Running in c1508de75460 06:10:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:10:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:10:31 (1/1) Installing dumb-init (1.2.5-r2) 06:10:31 Executing busybox-1.35.0-r29.trigger 06:10:31 OK: 8 MiB in 16 packages 06:10:31 Removing intermediate container c1508de75460 06:10:31 ---> 93faba965a43 06:10:31 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:10:31 ---> 26e0da9c803c 06:10:31 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:10:31 ---> ceb7013122a0 06:10:31 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:10:31 ---> a75fd0e80467 06:10:31 Step 17/22 : EXPOSE 59901 06:10:31 ---> Running in 512cdbe1eaaa 06:10:31 Removing intermediate container 512cdbe1eaaa 06:10:31 ---> c624757928ae 06:10:31 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:10:31 ---> Running in 43f6a9bd157c 06:10:31 Removing intermediate container 43f6a9bd157c 06:10:31 ---> dd827a7539e1 06:10:31 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:10:31 ---> Running in 56dceba05030 06:10:31 Removing intermediate container 56dceba05030 06:10:31 ---> 98afa1ef5431 06:10:31 Step 20/22 : LABEL arch=arm64 06:10:32 ---> Running in 11d24c40b9d5 06:10:32 Removing intermediate container 11d24c40b9d5 06:10:32 ---> 97d8b7ba2b2e 06:10:32 Step 21/22 : LABEL git_sha=17f5c61938cb3702cecd8b5ed97b46c901907b7e 06:10:32 ---> Running in 6f8b8e2b8136 06:10:32 Removing intermediate container 6f8b8e2b8136 06:10:32 ---> 9862977e9377 06:10:32 Step 22/22 : LABEL version=0.0.0 06:10:32 ---> Running in f17d2fd62ce2 06:10:33 Removing intermediate container f17d2fd62ce2 06:10:33 ---> b02e125c41c6 06:10:33 [Warning] One or more build-args [ARCH] were not consumed 06:10:33 Successfully built b02e125c41c6 06:10:33 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:10:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:10:33 06:10:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:10:34 arm64: Pulling from edgex-lftools-log-publisher 06:10:34 8998bd30e6a1: Pulling fs layer 06:10:34 04944245beec: Pulling fs layer 06:10:34 699f458cf7ca: Pulling fs layer 06:10:34 765212b225bb: Pulling fs layer 06:10:34 f23df028b6ca: Pulling fs layer 06:10:34 d65c8cfc05b1: Pulling fs layer 06:10:34 2437ff75d9bd: Pulling fs layer 06:10:34 765212b225bb: Waiting 06:10:34 f23df028b6ca: Waiting 06:10:34 d65c8cfc05b1: Waiting 06:10:34 2437ff75d9bd: Waiting 06:10:34 04944245beec: Verifying Checksum 06:10:34 04944245beec: Download complete 06:10:34 765212b225bb: Download complete 06:10:34 f23df028b6ca: Verifying Checksum 06:10:34 f23df028b6ca: Download complete 06:10:34 d65c8cfc05b1: Verifying Checksum 06:10:34 d65c8cfc05b1: Download complete 06:10:34 699f458cf7ca: Verifying Checksum 06:10:34 699f458cf7ca: Download complete 06:10:35 8998bd30e6a1: Verifying Checksum 06:10:35 8998bd30e6a1: Download complete 06:10:37 2437ff75d9bd: Verifying Checksum 06:10:37 2437ff75d9bd: Download complete 06:10:39 8998bd30e6a1: Pull complete 06:10:39 04944245beec: Pull complete 06:10:43 699f458cf7ca: Pull complete 06:10:43 765212b225bb: Pull complete 06:10:43 f23df028b6ca: Pull complete 06:10:43 d65c8cfc05b1: Pull complete 06:10:58 2437ff75d9bd: Pull complete 06:10:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:10:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:10:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:59 prd-ubuntu20.04-docker-arm64-4c-16g-10943 does not seem to be running inside a container 06:10:59 $ 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:01 $ docker top 8eabe11ec11fb04364f87a04648b9acac895e197f385827afbef3f878c20dff8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:11:02 ---> job-cost.sh 06:11:02 lf-activate-venv: SKIPPING 06:11:02 INFO: No Stack... 06:11:03 INFO: Retrieving Pricing Info for: v3-standard-4 06:11:03 INFO: Archiving Costs [Pipeline] sh 06:11:04 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 06:11:04 + cut -d, -f6 [Pipeline] lock 06:11:04 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-464-1-stack-cost] 06:11:04 Resource [jenkins-edgexfoundry-device-modbus-go-PR-464-1-stack-cost] did not exist. Created. 06:11:04 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-464-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:11:04 /w/workspace/device-modbus-go/1@tmp/durable-281543d7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:11:05 + echo total: 0.10999999940395355 [Pipeline] stash 06:11:05 Warning: overwriting stash ‘stack-cost’ 06:11:05 Stashed 1 file(s) [Pipeline] } 06:11:05 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-464-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:11:05 $ docker stop --time=1 8eabe11ec11fb04364f87a04648b9acac895e197f385827afbef3f878c20dff8 06:11:07 $ docker rm -f --volumes 8eabe11ec11fb04364f87a04648b9acac895e197f385827afbef3f878c20dff8 [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:11:08 provisioning config files... 06:11:08 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-464@tmp/config7484789182166409118tmp [Pipeline] { [Pipeline] sh 06:11:08 + set +x 06:11:08 + curl -s https://codecov.io/bash 06:11:08 + bash -s -- 06:11:08 06:11:08 _____ _ 06:11:08 / ____| | | 06:11:08 | | ___ __| | ___ ___ _____ __ 06:11:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:11:08 | |___| (_) | (_| | __/ (_| (_) \ V / 06:11:08 \_____\___/ \__,_|\___|\___\___/ \_/ 06:11:08 Bash-1.0.6 06:11:08 06:11:08 06:11:08 ==> git version 2.25.1 found 06:11:08 ==> 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:11:08 Release-Date: 2020-01-08 06:11:08 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:11:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:11:08 ==> Jenkins CI detected. 06:11:08 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-464 06:11:08 project root: . 06:11:08 --> token set from env 06:11:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:11:08 ==> Running gcov in . (disable via -X gcov) 06:11:08 ==> Python coveragepy not found 06:11:08 ==> Searching for coverage reports in: 06:11:08 + . 06:11:08 -> Found 1 reports 06:11:08 ==> Detecting git/mercurial file structure 06:11:08 ==> Reading reports 06:11:08 + ./coverage.out bytes=24160 06:11:08 ==> Appending adjustments 06:11:08 https://docs.codecov.io/docs/fixing-reports 06:11:09 + Found adjustments 06:11:09 ==> Gzipping contents 06:11:09 4.0K /tmp/codecov.3k5Z1e.gz 06:11:09 ==> Uploading reports 06:11:09 url: https://codecov.io 06:11:09 query: branch=PR-464&commit=17f5c61938cb3702cecd8b5ed97b46c901907b7e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-464%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=464&job=&cmd_args= 06:11:09 -> Pinging Codecov 06:11:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-464&commit=17f5c61938cb3702cecd8b5ed97b46c901907b7e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-464%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=464&job=&cmd_args= 06:11:09 -> Uploading to 06:11:09 https://storage.googleapis.com/codecov/v4/raw/2023-04-26/55DBCA73C666E3227836607328DD7E49/17f5c61938cb3702cecd8b5ed97b46c901907b7e/117022b2-4e8f-419e-ba9d-78bffe247d4f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230426T061109Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0aba74452ffb10baf34625a5ac71ec4c14a3b4ad5359c80e552830ca2c7fed7a 06:11:09 % Total % Received % Xferd Average Speed Time Time Time Current 06:11:09 Dload Upload Total Spent Left Speed 06:11:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 18685 --:--:-- --:--:-- --:--:-- 18685 06:11:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/17f5c61938cb3702cecd8b5ed97b46c901907b7e [Pipeline] } 06:11:09 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:11:11 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-464/archives ] 06:11:11 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-464/archives 06:11:11 total 16 06:11:11 drwxr-xr-x 3 root root 4096 Apr 26 06:00 . 06:11:11 drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 06:00 .. 06:11:11 drwxr-xr-x 2 root root 4096 Apr 26 06:00 cost 06:11:11 -rw-r--r-- 1 root root 88 Apr 26 06:00 cost.csv 06:11:11 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-464/archives 06:11:11 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-464/archives 06:11:11 total 16 06:11:11 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 06:00 . 06:11:11 drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 06:00 .. 06:11:11 drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 06:00 cost 06:11:11 -rw-r--r-- 1 jenkins jenkins 88 Apr 26 06:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:11:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:11:12 ---> package-listing.sh 06:11:12 ++ facter osfamily 06:11:12 ++ tr '[:upper:]' '[:lower:]' 06:11:12 + OS_FAMILY=debian 06:11:12 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-464 06:11:12 + START_PACKAGES=/tmp/packages_start.txt 06:11:12 + END_PACKAGES=/tmp/packages_end.txt 06:11:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:11:12 + PACKAGES=/tmp/packages_start.txt 06:11:12 + '[' /w/workspace/xfoundry_device-modbus-go_PR-464 ']' 06:11:12 + PACKAGES=/tmp/packages_end.txt 06:11:12 + case "${OS_FAMILY}" in 06:11:12 + dpkg -l 06:11:12 + grep '^ii' 06:11:12 + '[' -f /tmp/packages_start.txt ']' 06:11:12 + '[' -f /tmp/packages_end.txt ']' 06:11:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:11:12 + '[' /w/workspace/xfoundry_device-modbus-go_PR-464 ']' 06:11:12 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-464/archives/ 06:11:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-464/archives/ [Pipeline] echo 06:11:12 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-464/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:11:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:11:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:13 prd-ubuntu20.04-docker-8c-8g-10937 does not seem to be running inside a container 06:11:13 $ 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-464/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-464 -v /w/workspace/xfoundry_device-modbus-go_PR-464:/w/workspace/xfoundry_device-modbus-go_PR-464:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-464@tmp:/w/workspace/xfoundry_device-modbus-go_PR-464@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:11:13 $ docker top ddf624769c0b79768b5bcfb292e87d084b3ceffde43a105f0e141215ed90645a -eo pid,comm [Pipeline] { [Pipeline] sh 06:11:14 + touch /tmp/pre-build-complete [Pipeline] sh 06:11:14 + mkdir -p /var/log/sysstat [Pipeline] sh 06:11:14 + ls /var/log/sa-host 06:11:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:11:15 provisioning config files... 06:11:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-464@tmp/config9963880633732968563tmp [Pipeline] { [Pipeline] echo 06:11:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:11:15 ---> create-netrc.sh [Pipeline] } 06:11:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:11:15 ---> python-tools-install.sh [Pipeline] echo 06:11:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:11:16 ---> sudo-logs.sh 06:11:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:11:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:11:16 ---> job-cost.sh 06:11:16 lf-activate-venv: SKIPPING 06:11:16 DEBUG: total: 0.2199999988079071 06:11:16 INFO: Retrieving Stack Cost... 06:11:16 INFO: Retrieving Pricing Info for: v3-standard-8 06:11:17 INFO: Archiving Costs [Pipeline] echo 06:11:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:11:17 ---> logs-deploy.sh 06:11:17 lf-activate-venv: SKIPPING 06:11:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-464/1 06:11:17 INFO: archiving workspace using pattern(s): 06:11:18 Archives upload complete. 06:11:18 INFO: archiving logs to Nexus