Pull request #452 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-modbus-go Obtained Jenkinsfile from d275d874f8497be02ccfdbba3a4cf2cb70ce65df+7ebcbdca1c8e99aa5fa67a846a7ac4c06130ebb3 (d315423b9ceee3aa386459344c31a426c4a2e559) 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-ssh5140091945411197409.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-ssh314885794359570568.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-452/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-452/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15648285665547674090.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 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-ssh12894169843757348038.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-452/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-452/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1143992083589869239.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 Running on prd-ubuntu20.04-docker-8c-8g-7652 in /w/workspace/xfoundry_device-modbus-go_PR-452 [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-452 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 7ebcbdca1c8e99aa5fa67a846a7ac4c06130ebb3 into PR head commit d275d874f8497be02ccfdbba3a4cf2cb70ce65df Merge succeeded, producing d275d874f8497be02ccfdbba3a4cf2cb70ce65df Checking out Revision d275d874f8497be02ccfdbba3a4cf2cb70ce65df (PR-452) > 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/452/head:refs/remotes/origin/PR-452 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d275d874f8497be02ccfdbba3a4cf2cb70ce65df # 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 7ebcbdca1c8e99aa5fa67a846a7ac4c06130ebb3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d275d874f8497be02ccfdbba3a4cf2cb70ce65df # timeout=10 Commit message: "feat!: Consume SDK interface changes" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:58:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:58:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:58:15 ========================================================= 02:58:15 EdgeX Global Pipelines Version Info 02:58:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 7bc7e26a4f9c7e325aaf552bd14e91929f288fb0 # timeout=10 02:58:16 ------------------- 02:58:16 stable info: 02:58:16 ------------------- 02:58:16 Commited By: Bill Mahoney bill.mahoney@intel.com 02:58:16 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 02:58:16 Message: update stable to v1.0.248 02:58:16 ------------------- 02:58:16 experimental info: 02:58:16 ------------------- 02:58:16 Commited By: **** collab-it+edgex@linuxfoundation.org 02:58:16 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 02:58:16 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:58:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 02:58:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 02:58:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:58:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:58:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:58:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 02:58:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:58:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:58:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:58:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:58:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:58:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 02:58:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:58:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:58:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:58:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:58:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:58:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:58:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:58:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:58:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:58:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:58:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:58:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:58:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:58:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:58:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:58:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-452 [Pipeline] echo 02:58:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-452 [Pipeline] echo 02:58:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-452 [Pipeline] echo 02:58:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d275d874f8497be02ccfdbba3a4cf2cb70ce65df [Pipeline] echo 02:58:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d275d87 [Pipeline] echo 02:58:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:58:17 provisioning config files... 02:58:17 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp/config4272903324661854928tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:58:17 ---> docker-login.sh 02:58:17 nexus3.edgexfoundry.org:10001 02:58:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:58:17 Configure a credential helper to remove this warning. See 02:58:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:58:17 02:58:17 Login Succeeded 02:58:17 nexus3.edgexfoundry.org:10002 02:58:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:58:17 Configure a credential helper to remove this warning. See 02:58:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:58:17 02:58:17 Login Succeeded 02:58:17 nexus3.edgexfoundry.org:10003 02:58:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:58:18 Configure a credential helper to remove this warning. See 02:58:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:58:18 02:58:18 Login Succeeded 02:58:18 nexus3.edgexfoundry.org:10004 02:58:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:58:18 Configure a credential helper to remove this warning. See 02:58:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:58:18 02:58:18 Login Succeeded 02:58:18 docker.io 02:58:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:58:18 Configure a credential helper to remove this warning. See 02:58:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:58:18 02:58:18 Login Succeeded 02:58:18 ---> docker-login.sh ends [Pipeline] } 02:58:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:58:18 + git rev-list -1 --merges d275d874f8497be02ccfdbba3a4cf2cb70ce65df~1..d275d874f8497be02ccfdbba3a4cf2cb70ce65df [Pipeline] echo 02:58:18 -----------> git rev-list -1 --merges d275d874f8497be02ccfdbba3a4cf2cb70ce65df~1..d275d874f8497be02ccfdbba3a4cf2cb70ce65df d275d874f8497be02ccfdbba3a4cf2cb70ce65df [false] [Pipeline] sh 02:58:19 + git log --format=format:%s -1 d275d874f8497be02ccfdbba3a4cf2cb70ce65df [Pipeline] echo 02:58:19 ========================================================= 02:58:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:58:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:58:19 + git log --format=format:%s -1 d275d874f8497be02ccfdbba3a4cf2cb70ce65df [Pipeline] echo 02:58:19 [semverPrep] GIT_COMMIT: d275d874f8497be02ccfdbba3a4cf2cb70ce65df, Commit Message: feat!: Consume SDK interface changes [Pipeline] echo 02:58:19 [semverPrep] This is not a build commit. [Pipeline] sh 02:58:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:58:19 + grep -v github /etc/ssh/ssh_known_hosts 02:58:19 + [ -e /tmp/ssh_known_hosts ] 02:58:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:58:19 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:58:19 sudo tee -a /etc/ssh/ssh_known_hosts 02:58:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:58:20 02:58:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:58:20 0.1.4: Pulling from edgex-devops/py-git-semver 02:58:20 b85a868b505f: Pulling fs layer 02:58:20 e2be974225ed: Pulling fs layer 02:58:20 339a4e72a1f5: Pulling fs layer 02:58:20 988bab9f4d93: Pulling fs layer 02:58:20 1469e6f7b9e6: Pulling fs layer 02:58:20 eaf3925da568: Pulling fs layer 02:58:20 bab4dde63d76: Pulling fs layer 02:58:20 bde34c3a00c8: Pulling fs layer 02:58:20 b352a97aabf1: Pulling fs layer 02:58:20 4872d77fe225: Pulling fs layer 02:58:20 5851b861e8e6: Pulling fs layer 02:58:20 bde34c3a00c8: Waiting 02:58:20 988bab9f4d93: Waiting 02:58:20 1469e6f7b9e6: Waiting 02:58:20 4872d77fe225: Waiting 02:58:20 5851b861e8e6: Waiting 02:58:20 b352a97aabf1: Waiting 02:58:20 bab4dde63d76: Waiting 02:58:20 e2be974225ed: Download complete 02:58:20 988bab9f4d93: Verifying Checksum 02:58:20 988bab9f4d93: Download complete 02:58:20 1469e6f7b9e6: Verifying Checksum 02:58:20 1469e6f7b9e6: Download complete 02:58:20 eaf3925da568: Verifying Checksum 02:58:20 eaf3925da568: Download complete 02:58:20 339a4e72a1f5: Verifying Checksum 02:58:20 339a4e72a1f5: Download complete 02:58:20 bde34c3a00c8: Verifying Checksum 02:58:20 bde34c3a00c8: Download complete 02:58:20 b352a97aabf1: Verifying Checksum 02:58:20 b352a97aabf1: Download complete 02:58:20 4872d77fe225: Verifying Checksum 02:58:20 4872d77fe225: Download complete 02:58:20 5851b861e8e6: Verifying Checksum 02:58:20 5851b861e8e6: Download complete 02:58:20 b85a868b505f: Verifying Checksum 02:58:20 b85a868b505f: Download complete 02:58:21 bab4dde63d76: Verifying Checksum 02:58:21 bab4dde63d76: Download complete 02:58:21 b85a868b505f: Pull complete 02:58:21 e2be974225ed: Pull complete 02:58:22 339a4e72a1f5: Pull complete 02:58:22 988bab9f4d93: Pull complete 02:58:22 1469e6f7b9e6: Pull complete 02:58:22 eaf3925da568: Pull complete 02:58:24 bab4dde63d76: Pull complete 02:58:24 bde34c3a00c8: Pull complete 02:58:24 b352a97aabf1: Pull complete 02:58:24 4872d77fe225: Pull complete 02:58:24 5851b861e8e6: Pull complete 02:58:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:58:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:58:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:58:24 prd-ubuntu20.04-docker-8c-8g-7652 does not seem to be running inside a container 02:58:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-452 -v /w/workspace/xfoundry_device-modbus-go_PR-452:/w/workspace/xfoundry_device-modbus-go_PR-452:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-452@tmp:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:58:26 $ docker top 10154c52c1783ff26344bd94b583c1e13fa9ff1ef49d30e0d5774cb5226dceee -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:58:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:58:26 [ssh-agent] Looking for ssh-agent implementation... 02:58:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:58:26 $ docker exec 10154c52c1783ff26344bd94b583c1e13fa9ff1ef49d30e0d5774cb5226dceee ssh-agent 02:58:26 SSH_AUTH_SOCK=/tmp/ssh-LQwisELusam1/agent.32 02:58:26 SSH_AGENT_PID=38 02:58:26 Running ssh-add (command line suppressed) 02:58:26 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-452@tmp/private_key_10781001390530173358.key (/w/workspace/xfoundry_device-modbus-go_PR-452@tmp/private_key_10781001390530173358.key) 02:58:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:58:26 + git tag --points-at HEAD [Pipeline] } 02:58:26 $ docker exec --env ******** --env ******** 10154c52c1783ff26344bd94b583c1e13fa9ff1ef49d30e0d5774cb5226dceee ssh-agent -k 02:58:26 unset SSH_AUTH_SOCK; 02:58:26 unset SSH_AGENT_PID; 02:58:26 echo Agent pid 38 killed; 02:58:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:58:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:58:26 [ssh-agent] Looking for ssh-agent implementation... 02:58:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:58:27 $ docker exec 10154c52c1783ff26344bd94b583c1e13fa9ff1ef49d30e0d5774cb5226dceee ssh-agent 02:58:27 SSH_AUTH_SOCK=/tmp/ssh-YWboMyAGMjWZ/agent.70 02:58:27 SSH_AGENT_PID=77 02:58:27 Running ssh-add (command line suppressed) 02:58:27 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-452@tmp/private_key_10703421901628333228.key (/w/workspace/xfoundry_device-modbus-go_PR-452@tmp/private_key_10703421901628333228.key) 02:58:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:58:27 + git semver init 02:58:27 2023-04-13 02:58:27,789 [run_init] DEBUG init version:0.0.0 force:False 02:58:27 2023-04-13 02:58:27,790 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-452/.semver 02:58:27 2023-04-13 02:58:27,790 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-452/.semver 02:58:27 2023-04-13 02:58:27,791 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-452/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-452, universal_newlines=False, shell=None, istream=None) 02:58:28 2023-04-13 02:58:28,529 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-452/.git/info/exclude 02:58:28 2023-04-13 02:58:28,529 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-452/.semver/PR-452 with force:False 02:58:28 2023-04-13 02:58:28,529 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-452/.semver/PR-452 02:58:28 2023-04-13 02:58:28,534 [execute] INFO git cat-file --batch-check 02:58:28 2023-04-13 02:58:28,534 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-452/.semver, universal_newlines=False, shell=None, istream=) 02:58:28 2023-04-13 02:58:28,541 [execute] INFO git cat-file --batch 02:58:28 2023-04-13 02:58:28,541 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-452/.semver, universal_newlines=False, shell=None, istream=) 02:58:28 2023-04-13 02:58:28,545 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-452/.semver/PR-452 02:58:28 0.0.0 [Pipeline] } 02:58:28 $ docker exec --env ******** --env ******** 10154c52c1783ff26344bd94b583c1e13fa9ff1ef49d30e0d5774cb5226dceee ssh-agent -k 02:58:28 unset SSH_AUTH_SOCK; 02:58:28 unset SSH_AGENT_PID; 02:58:28 echo Agent pid 77 killed; 02:58:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:58:29 + git semver [Pipeline] } 02:58:29 $ docker stop --time=1 10154c52c1783ff26344bd94b583c1e13fa9ff1ef49d30e0d5774cb5226dceee 02:58:30 $ docker rm -f --volumes 10154c52c1783ff26344bd94b583c1e13fa9ff1ef49d30e0d5774cb5226dceee [Pipeline] // withDockerContainer [Pipeline] sh 02:58:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:58:31 Stashed 1 file(s) [Pipeline] echo 02:58:31 [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 02:58:31 provisioning config files... 02:58:31 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp/config10562349199752196716tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:58:31 ---> docker-login.sh 02:58:31 nexus3.edgexfoundry.org:10001 02:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:58:31 Configure a credential helper to remove this warning. See 02:58:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:58:31 02:58:31 Login Succeeded 02:58:31 nexus3.edgexfoundry.org:10002 02:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:58:31 Configure a credential helper to remove this warning. See 02:58:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:58:31 02:58:31 Login Succeeded 02:58:31 nexus3.edgexfoundry.org:10003 02:58:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:58:32 Configure a credential helper to remove this warning. See 02:58:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:58:32 02:58:32 Login Succeeded 02:58:32 nexus3.edgexfoundry.org:10004 02:58:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:58:32 Configure a credential helper to remove this warning. See 02:58:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:58:32 02:58:32 Login Succeeded 02:58:32 docker.io 02:58:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:58:32 Configure a credential helper to remove this warning. See 02:58:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:58:32 02:58:32 Login Succeeded 02:58:32 ---> docker-login.sh ends [Pipeline] } 02:58:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:58:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:58:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:58:32 ========================================================= 02:58:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 02:58:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:32 + 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 . 02:58:32 Sending build context to Docker daemon 6.449MB 02:58:32 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 02:58:32 Step 2/10 : FROM ${BASE} AS builder 02:58:32 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 02:58:32 63b65145d645: Pulling fs layer 02:58:32 a2d21d5440eb: Pulling fs layer 02:58:32 935e6c44a52c: Pulling fs layer 02:58:32 94cc34f8dd06: Pulling fs layer 02:58:32 30dea6a524f1: Pulling fs layer 02:58:32 a2aff8979fd8: Pulling fs layer 02:58:32 6808be2612f2: Pulling fs layer 02:58:32 f25807f1079a: Pulling fs layer 02:58:32 a2aff8979fd8: Waiting 02:58:32 6808be2612f2: Waiting 02:58:32 f25807f1079a: Waiting 02:58:32 94cc34f8dd06: Waiting 02:58:32 30dea6a524f1: Waiting 02:58:32 a2d21d5440eb: Verifying Checksum 02:58:32 a2d21d5440eb: Download complete 02:58:32 94cc34f8dd06: Download complete 02:58:32 30dea6a524f1: Download complete 02:58:32 63b65145d645: Verifying Checksum 02:58:32 63b65145d645: Download complete 02:58:32 a2aff8979fd8: Verifying Checksum 02:58:32 a2aff8979fd8: Download complete 02:58:32 63b65145d645: Pull complete 02:58:33 a2d21d5440eb: Pull complete 02:58:33 f25807f1079a: Verifying Checksum 02:58:33 f25807f1079a: Download complete 02:58:33 935e6c44a52c: Download complete 02:58:33 6808be2612f2: Download complete 02:58:37 935e6c44a52c: Pull complete 02:58:37 94cc34f8dd06: Pull complete 02:58:37 30dea6a524f1: Pull complete 02:58:37 a2aff8979fd8: Pull complete 02:58:38 6808be2612f2: Pull complete 02:58:39 f25807f1079a: Pull complete 02:58:39 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 02:58:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 02:58:39 ---> 3b553350e43f 02:58:39 Step 3/10 : ARG ADD_BUILD_TAGS="" 02:58:41 ---> Running in c37d05bb40e4 02:58:41 Removing intermediate container c37d05bb40e4 02:58:41 ---> f499efe74a09 02:58:41 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:58:41 ---> Running in e5940a2725db 02:58:41 Removing intermediate container e5940a2725db 02:58:41 ---> adcd7baef6eb 02:58:41 Step 5/10 : RUN apk add --update --no-cache make git openssh 02:58:41 ---> Running in 2822ee2a8437 02:58:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:58:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:58:42 (1/8) Installing openssh-keygen (9.1_p1-r2) 02:58:42 (2/8) Installing libedit (20221030.3.1-r0) 02:58:42 (3/8) Installing openssh-client-common (9.1_p1-r2) 02:58:42 (4/8) Installing openssh-client-default (9.1_p1-r2) 02:58:42 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 02:58:42 (6/8) Installing openssh-server-common (9.1_p1-r2) 02:58:42 (7/8) Installing openssh-server (9.1_p1-r2) 02:58:42 (8/8) Installing openssh (9.1_p1-r2) 02:58:42 Executing busybox-1.35.0-r29.trigger 02:58:42 OK: 270 MiB in 61 packages 02:58:42 Removing intermediate container 2822ee2a8437 02:58:42 ---> a9f89828a073 02:58:42 Step 6/10 : WORKDIR /device-modbus-go 02:58:42 ---> Running in 26aef9e12e2b 02:58:42 Removing intermediate container 26aef9e12e2b 02:58:42 ---> 8b48d58fefb0 02:58:42 Step 7/10 : COPY go.mod vendor* ./ 02:58:43 ---> 3a150c990d09 02:58:43 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:58:43 ---> Running in 35d5d8b3b0c2 02:58:46 Still waiting to schedule task 02:58:46 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:59:09 Removing intermediate container 35d5d8b3b0c2 02:59:09 ---> 5ca37bc00abf 02:59:09 Step 9/10 : COPY . . 02:59:09 ---> ece49798cee8 02:59:09 Step 10/10 : RUN ${MAKE} 02:59:09 ---> Running in 826453acdca5 02:59:09 noop 02:59:09 Removing intermediate container 826453acdca5 02:59:09 ---> ea6adfc6c556 02:59:09 Successfully built ea6adfc6c556 02:59:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:59:09 + docker inspect -f . ci-base-image-x86_64 02:59:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:59:09 prd-ubuntu20.04-docker-8c-8g-7652 does not seem to be running inside a container 02:59:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-452 -v /w/workspace/xfoundry_device-modbus-go_PR-452:/w/workspace/xfoundry_device-modbus-go_PR-452:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-452@tmp:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:59:10 $ docker top dbb28c761097432d6490df8356fa04ba23e8b9698e7c4785d90c5315b8179278 -eo pid,comm [Pipeline] { [Pipeline] sh 02:59:10 + go version 02:59:10 go version go1.20.2 linux/amd64 [Pipeline] } 02:59:10 $ docker stop --time=1 dbb28c761097432d6490df8356fa04ba23e8b9698e7c4785d90c5315b8179278 02:59:11 $ docker rm -f --volumes dbb28c761097432d6490df8356fa04ba23e8b9698e7c4785d90c5315b8179278 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:59:12 + docker inspect -f . ci-base-image-x86_64 02:59:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:59:12 prd-ubuntu20.04-docker-8c-8g-7652 does not seem to be running inside a container 02:59:12 $ 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-452 -v /w/workspace/xfoundry_device-modbus-go_PR-452:/w/workspace/xfoundry_device-modbus-go_PR-452:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-452@tmp:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:59:12 $ docker top c3659bd9c071f8bb2f117af7be9b288e227b41d5547cca9d6063c51fb6bec328 -eo pid,comm [Pipeline] { [Pipeline] sh 02:59:13 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-452 [Pipeline] fileExists [Pipeline] sh 02:59:13 + make test 02:59:13 go test ./... -coverprofile=coverage.out 02:59:18 ? github.com/edgexfoundry/device-modbus-go [no test files] 02:59:28 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 02:59:28 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.5% of statements 02:59:35 go vet ./... 02:59:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:59:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:59:38 ./bin/test-attribution-txt.sh 02:59:38 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 02:59:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:59:38 $ docker stop --time=1 c3659bd9c071f8bb2f117af7be9b288e227b41d5547cca9d6063c51fb6bec328 02:59:42 $ docker rm -f --volumes c3659bd9c071f8bb2f117af7be9b288e227b41d5547cca9d6063c51fb6bec328 [Pipeline] // withDockerContainer [Pipeline] sh 02:59:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:59:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:59:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:59:43 + ls -al . 02:59:43 total 180 02:59:43 drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 02:59 . 02:59:43 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 02:58 .. 02:59:43 -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 02:58 .dockerignore 02:59:43 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 02:58 .git 02:59:43 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 02:58 .github 02:59:43 -rw-rw-r-- 1 jenkins jenkins 331 Apr 13 02:58 .gitignore 02:59:43 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 02:58 .golangci.yml 02:59:43 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 02:58 .semver 02:59:43 -rw-rw-r-- 1 jenkins jenkins 10004 Apr 13 02:58 Attribution.txt 02:59:43 -rw-rw-r-- 1 jenkins jenkins 11576 Apr 13 02:58 CHANGELOG.md 02:59:43 -rw-rw-r-- 1 jenkins jenkins 1365 Apr 13 02:58 Dockerfile 02:59:43 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 02:58 GOVERNANCE.md 02:59:43 -rw-rw-r-- 1 jenkins jenkins 680 Apr 13 02:58 Jenkinsfile 02:59:43 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 02:58 LICENSE 02:59:43 -rw-rw-r-- 1 jenkins jenkins 1705 Apr 13 02:58 Makefile 02:59:43 -rw-rw-r-- 1 jenkins jenkins 622 Apr 13 02:58 OWNERS.md 02:59:43 -rw-rw-r-- 1 jenkins jenkins 4045 Apr 13 02:58 README.md 02:59:43 -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 02:58 VERSION 02:59:43 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 02:58 bin 02:59:43 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 02:58 cmd 02:59:43 -rw-r--r-- 1 jenkins jenkins 24076 Apr 13 02:59 coverage.out 02:59:43 -rw-rw-r-- 1 jenkins jenkins 3453 Apr 13 02:58 go.mod 02:59:43 -rw-rw-r-- 1 jenkins jenkins 31895 Apr 13 02:58 go.sum 02:59:43 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 02:58 internal 02:59:43 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 02:58 simulator 02:59:43 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 02:58 snap 02:59:43 -rw-rw-r-- 1 jenkins jenkins 229 Apr 13 02:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:59:44 + 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=d275d874f8497be02ccfdbba3a4cf2cb70ce65df --label arch=amd64 --label version=0.0.0 . 02:59:44 Sending build context to Docker daemon 6.474MB 02:59:44 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 02:59:44 Step 2/22 : FROM ${BASE} AS builder 02:59:44 ---> ea6adfc6c556 02:59:44 Step 3/22 : ARG ADD_BUILD_TAGS="" 02:59:46 ---> Running in f8ccef091c9d 02:59:47 Removing intermediate container f8ccef091c9d 02:59:47 ---> 8703a68c7c70 02:59:47 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:59:48 ---> Running in 5a4084b788d8 02:59:49 Removing intermediate container 5a4084b788d8 02:59:49 ---> d63a9b262879 02:59:49 Step 5/22 : RUN apk add --update --no-cache make git openssh 02:59:50 ---> Running in ac3ff7c0023e 02:59:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:59:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:59:51 OK: 270 MiB in 61 packages 02:59:54 Removing intermediate container ac3ff7c0023e 02:59:54 ---> 5634be895bc1 02:59:54 Step 6/22 : WORKDIR /device-modbus-go 02:59:55 ---> Running in 753db6676f30 02:59:56 Removing intermediate container 753db6676f30 02:59:56 ---> 9e27c0ffe486 02:59:56 Step 7/22 : COPY go.mod vendor* ./ 02:59:57 ---> 32e2d1c3d356 02:59:57 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:59:58 ---> Running in 42d5319e7c37 03:00:01 Removing intermediate container 42d5319e7c37 03:00:01 ---> 61ce4b473274 03:00:01 Step 9/22 : COPY . . 03:00:02 ---> 06daad03887d 03:00:02 Step 10/22 : RUN ${MAKE} 03:00:03 ---> Running in 75343d645376 03:00:03 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 03:00:25 Removing intermediate container 75343d645376 03:00:25 ---> d7958ecdd696 03:00:25 Step 11/22 : FROM alpine:3.17 03:00:25 3.17: Pulling from library/alpine 03:00:25 f56be85fc22e: Pulling fs layer 03:00:25 f56be85fc22e: Verifying Checksum 03:00:25 f56be85fc22e: Download complete 03:00:25 f56be85fc22e: Pull complete 03:00:25 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 03:00:25 Status: Downloaded newer image for alpine:3.17 03:00:25 ---> 9ed4aefc74f6 03:00:25 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 03:00:25 ---> Running in 5deea170a1e0 03:00:25 Removing intermediate container 5deea170a1e0 03:00:25 ---> 86968f531c98 03:00:25 Step 13/22 : RUN apk add --update --no-cache dumb-init 03:00:25 ---> Running in 9495c1d4e502 03:00:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:00:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:00:25 (1/1) Installing dumb-init (1.2.5-r2) 03:00:25 Executing busybox-1.35.0-r29.trigger 03:00:25 OK: 7 MiB in 16 packages 03:00:25 Removing intermediate container 9495c1d4e502 03:00:25 ---> e59e1a8eb612 03:00:25 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 03:00:25 ---> 7b8996d5c1c8 03:00:25 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 03:00:25 ---> 848c34ecf6cb 03:00:25 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 03:00:25 ---> e268ead728cd 03:00:25 Step 17/22 : EXPOSE 59901 03:00:25 ---> Running in 91640a28fa6f 03:00:25 Removing intermediate container 91640a28fa6f 03:00:25 ---> b659feb4db21 03:00:25 Step 18/22 : ENTRYPOINT ["/device-modbus"] 03:00:25 ---> Running in b28bf403c3cc 03:00:25 Removing intermediate container b28bf403c3cc 03:00:25 ---> 901ee84689e0 03:00:25 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 03:00:25 ---> Running in a41d7e08239e 03:00:25 Removing intermediate container a41d7e08239e 03:00:25 ---> 7f4a17eae67e 03:00:25 Step 20/22 : LABEL arch=amd64 03:00:25 ---> Running in a642d5ed50c6 03:00:25 Removing intermediate container a642d5ed50c6 03:00:25 ---> 8556378fc9ef 03:00:25 Step 21/22 : LABEL git_sha=d275d874f8497be02ccfdbba3a4cf2cb70ce65df 03:00:26 ---> Running in e6db0fb0d2b9 03:00:26 Removing intermediate container e6db0fb0d2b9 03:00:26 ---> c48c4bee1bc8 03:00:26 Step 22/22 : LABEL version=0.0.0 03:00:26 ---> Running in fec988d0d8b6 03:00:26 Removing intermediate container fec988d0d8b6 03:00:26 ---> c75861432719 03:00:26 [Warning] One or more build-args [ARCH] were not consumed 03:00:26 Successfully built c75861432719 03:00:26 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 03:00:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:00:26 03:00:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:00:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:00:26 latest: Pulling from edgex-lftools-log-publisher 03:00:26 5eb5b503b376: Pulling fs layer 03:00:26 5c69ac0246d0: Pulling fs layer 03:00:26 ec43610c2a17: Pulling fs layer 03:00:26 3a2ae6a8a46f: Pulling fs layer 03:00:26 33b1e0a273af: Pulling fs layer 03:00:26 5d3b04190fa2: Pulling fs layer 03:00:26 2f39f015ded8: Pulling fs layer 03:00:26 3a2ae6a8a46f: Waiting 03:00:26 33b1e0a273af: Waiting 03:00:26 5d3b04190fa2: Waiting 03:00:26 5c69ac0246d0: Verifying Checksum 03:00:26 5c69ac0246d0: Download complete 03:00:26 3a2ae6a8a46f: Verifying Checksum 03:00:26 3a2ae6a8a46f: Download complete 03:00:26 33b1e0a273af: Verifying Checksum 03:00:26 33b1e0a273af: Download complete 03:00:26 5d3b04190fa2: Download complete 03:00:27 ec43610c2a17: Verifying Checksum 03:00:27 ec43610c2a17: Download complete 03:00:27 5eb5b503b376: Verifying Checksum 03:00:27 5eb5b503b376: Download complete 03:00:27 2f39f015ded8: Download complete 03:00:28 5eb5b503b376: Pull complete 03:00:28 5c69ac0246d0: Pull complete 03:00:28 ec43610c2a17: Pull complete 03:00:28 3a2ae6a8a46f: Pull complete 03:00:28 33b1e0a273af: Pull complete 03:00:28 5d3b04190fa2: Pull complete 03:00:33 2f39f015ded8: Pull complete 03:00:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:00:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:00:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:00:33 prd-ubuntu20.04-docker-8c-8g-7652 does not seem to be running inside a container 03:00:33 $ 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-452 -v /w/workspace/xfoundry_device-modbus-go_PR-452:/w/workspace/xfoundry_device-modbus-go_PR-452:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-452@tmp:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:00:37 $ docker top e4456c1652c33b2eec1d8a22970d09ded7428df8a59308c03ddf50ddf409e043 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:00:37 ---> job-cost.sh 03:00:37 lf-activate-venv: SKIPPING 03:00:37 INFO: No Stack... 03:00:37 INFO: Retrieving Pricing Info for: v3-standard-8 03:00:38 INFO: Archiving Costs [Pipeline] sh 03:00:38 + cat /w/workspace/xfoundry_device-modbus-go_PR-452/archives/cost.csv 03:00:38 + cut -d, -f6 [Pipeline] lock 03:00:38 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-452-3-stack-cost] 03:00:38 Resource [jenkins-edgexfoundry-device-modbus-go-PR-452-3-stack-cost] did not exist. Created. 03:00:38 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-452-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:00:39 + echo total: 0.2199999988079071 [Pipeline] stash 03:00:39 Stashed 1 file(s) [Pipeline] } 03:00:39 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-452-3-stack-cost] [Pipeline] // lock [Pipeline] } 03:00:39 $ docker stop --time=1 e4456c1652c33b2eec1d8a22970d09ded7428df8a59308c03ddf50ddf409e043 03:00:40 $ docker rm -f --volumes e4456c1652c33b2eec1d8a22970d09ded7428df8a59308c03ddf50ddf409e043 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:02:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8372 in /w/workspace/xfoundry_device-modbus-go_PR-452 [Pipeline] { [Pipeline] ws 03:02:00 Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout 03:02:00 Selected Git installation does not exist. Using Default 03:02:00 The recommended git tool is: NONE 03:02:05 using credential edgex-jenkins-ssh 03:02:05 Cloning the remote Git repository 03:02:05 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 03:02:05 > git init /w/workspace/device-modbus-go/3 # timeout=10 03:02:05 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 03:02:05 > git --version # timeout=10 03:02:05 > git --version # 'git version 2.25.1' 03:02:05 using GIT_SSH to set credentials SSH Credentials for GitHub 03:02:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:02:07 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 03:02:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:02:08 Merging remotes/origin/main commit 7ebcbdca1c8e99aa5fa67a846a7ac4c06130ebb3 into PR head commit d275d874f8497be02ccfdbba3a4cf2cb70ce65df 03:02:08 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 03:02:08 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 03:02:08 using GIT_SSH to set credentials SSH Credentials for GitHub 03:02:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/452/head:refs/remotes/origin/PR-452 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:02:08 > git config core.sparsecheckout # timeout=10 03:02:09 Merge succeeded, producing d275d874f8497be02ccfdbba3a4cf2cb70ce65df 03:02:09 Checking out Revision d275d874f8497be02ccfdbba3a4cf2cb70ce65df (PR-452) 03:02:08 > git checkout -f d275d874f8497be02ccfdbba3a4cf2cb70ce65df # timeout=10 03:02:08 > git remote # timeout=10 03:02:09 > git config --get remote.origin.url # timeout=10 03:02:09 using GIT_SSH to set credentials SSH Credentials for GitHub 03:02:09 > git merge 7ebcbdca1c8e99aa5fa67a846a7ac4c06130ebb3 # timeout=10 03:02:09 > git rev-parse HEAD^{commit} # timeout=10 03:02:09 > git config core.sparsecheckout # timeout=10 03:02:09 > git checkout -f d275d874f8497be02ccfdbba3a4cf2cb70ce65df # timeout=10 03:02:12 Commit message: "feat!: Consume SDK interface changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:02:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:02:13 % Total % Received % Xferd Average Speed Time Time Time Current 03:02:13 Dload Upload Total Spent Left Speed 03:02:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86741 0 --:--:-- --:--:-- --:--:-- 86741 [Pipeline] sh 03:02:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:02:14 + sudo tee /etc/docker/daemon.new 03:02:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:02:14 { 03:02:14 "registry-mirrors": [ 03:02:14 "https://nexus3.edgexfoundry.org:10001" 03:02:14 ], 03:02:14 "bip": "10.250.0.254/24", 03:02:14 "hosts": [ 03:02:14 "tcp://0.0.0.0:5555", 03:02:14 "unix:///var/run/docker.sock" 03:02:14 ], 03:02:14 "mtu": 1458, 03:02:14 "selinux-enabled": true, 03:02:14 "seccomp-profile": "/etc/docker/seccomp.json" 03:02:14 } [Pipeline] sh 03:02:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:02:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:02:33 provisioning config files... 03:02:33 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/3@tmp/config13001377699416519931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:02:33 ---> docker-login.sh 03:02:33 nexus3.edgexfoundry.org:10001 03:02:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:02:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:02:34 Configure a credential helper to remove this warning. See 03:02:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:02:34 03:02:34 Login Succeeded 03:02:34 nexus3.edgexfoundry.org:10002 03:02:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:02:35 Configure a credential helper to remove this warning. See 03:02:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:02:35 03:02:35 Login Succeeded 03:02:35 nexus3.edgexfoundry.org:10003 03:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:02:35 Configure a credential helper to remove this warning. See 03:02:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:02:35 03:02:35 Login Succeeded 03:02:35 nexus3.edgexfoundry.org:10004 03:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:02:35 Configure a credential helper to remove this warning. See 03:02:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:02:35 03:02:35 Login Succeeded 03:02:35 docker.io 03:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:02:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:02:36 Configure a credential helper to remove this warning. See 03:02:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:02:36 03:02:36 Login Succeeded 03:02:36 ---> docker-login.sh ends [Pipeline] } 03:02:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:02:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:02:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:02:36 ========================================================= 03:02:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 03:02:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:36 + 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 . 03:02:37 Sending build context to Docker daemon 3.383MB 03:02:37 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 03:02:37 Step 2/10 : FROM ${BASE} AS builder 03:02:37 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:02:37 af6eaf76a39c: Pulling fs layer 03:02:37 55522c791124: Pulling fs layer 03:02:37 ce5c4a1c91eb: Pulling fs layer 03:02:37 169dfbe0d373: Pulling fs layer 03:02:37 e1ff8fa3b103: Pulling fs layer 03:02:37 52ebb69f0ebf: Pulling fs layer 03:02:37 5abe8eddf0d5: Pulling fs layer 03:02:37 169dfbe0d373: Waiting 03:02:37 52ebb69f0ebf: Waiting 03:02:37 e1ff8fa3b103: Waiting 03:02:37 5abe8eddf0d5: Waiting 03:02:37 55522c791124: Verifying Checksum 03:02:37 55522c791124: Download complete 03:02:37 169dfbe0d373: Verifying Checksum 03:02:37 169dfbe0d373: Download complete 03:02:37 e1ff8fa3b103: Verifying Checksum 03:02:37 e1ff8fa3b103: Download complete 03:02:37 af6eaf76a39c: Verifying Checksum 03:02:37 af6eaf76a39c: Download complete 03:02:38 5abe8eddf0d5: Verifying Checksum 03:02:38 5abe8eddf0d5: Download complete 03:02:39 ce5c4a1c91eb: Verifying Checksum 03:02:39 ce5c4a1c91eb: Download complete 03:02:39 52ebb69f0ebf: Download complete 03:02:41 af6eaf76a39c: Pull complete 03:02:42 55522c791124: Pull complete 03:02:54 ce5c4a1c91eb: Pull complete 03:02:54 169dfbe0d373: Pull complete 03:02:55 e1ff8fa3b103: Pull complete 03:03:03 52ebb69f0ebf: Pull complete 03:03:03 5abe8eddf0d5: Pull complete 03:03:03 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 03:03:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 03:03:03 ---> 6cb57ee374ae 03:03:03 Step 3/10 : ARG ADD_BUILD_TAGS="" 03:03:04 ---> Running in fc714cdf1997 03:03:05 Removing intermediate container fc714cdf1997 03:03:05 ---> fa6031da567b 03:03:05 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:03:05 ---> Running in 5fb66f398f61 03:03:05 Removing intermediate container 5fb66f398f61 03:03:05 ---> 400de33bbb5d 03:03:05 Step 5/10 : RUN apk add --update --no-cache make git openssh 03:03:05 ---> Running in ad1706197242 03:03:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:03:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:03:11 (1/8) Installing openssh-keygen (9.1_p1-r2) 03:03:11 (2/8) Installing libedit (20221030.3.1-r0) 03:03:11 (3/8) Installing openssh-client-common (9.1_p1-r2) 03:03:11 (4/8) Installing openssh-client-default (9.1_p1-r2) 03:03:11 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 03:03:11 (6/8) Installing openssh-server-common (9.1_p1-r2) 03:03:11 (7/8) Installing openssh-server (9.1_p1-r2) 03:03:11 (8/8) Installing openssh (9.1_p1-r2) 03:03:11 Executing busybox-1.35.0-r29.trigger 03:03:11 OK: 270 MiB in 61 packages 03:03:12 Removing intermediate container ad1706197242 03:03:12 ---> 05e2e72945a4 03:03:12 Step 6/10 : WORKDIR /device-modbus-go 03:03:12 ---> Running in 02e514c4066f 03:03:12 Removing intermediate container 02e514c4066f 03:03:12 ---> 4d8e2cd520f9 03:03:12 Step 7/10 : COPY go.mod vendor* ./ 03:03:13 ---> 1c41df199fd7 03:03:13 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:03:13 ---> Running in 2abb5e5ed126 03:04:21 Removing intermediate container 2abb5e5ed126 03:04:21 ---> 4fb988f87291 03:04:21 Step 9/10 : COPY . . 03:04:21 ---> 4c2f07e6dff0 03:04:21 Step 10/10 : RUN ${MAKE} 03:04:21 ---> Running in ecbe4ec8289e 03:04:21 noop 03:04:21 Removing intermediate container ecbe4ec8289e 03:04:21 ---> 7783dcecccba 03:04:21 Successfully built 7783dcecccba 03:04:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:21 + docker inspect -f . ci-base-image-arm64 03:04:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:04:21 prd-ubuntu20.04-docker-arm64-4c-16g-8372 does not seem to be running inside a container 03:04:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:04:23 $ docker top f21fce1557363619450d9d186fafedab3a2bb31b0bcf83a14e714a4280fc9542 -eo pid,comm [Pipeline] { [Pipeline] sh 03:04:23 + go version 03:04:23 go version go1.20.2 linux/arm64 [Pipeline] } 03:04:23 $ docker stop --time=1 f21fce1557363619450d9d186fafedab3a2bb31b0bcf83a14e714a4280fc9542 03:04:27 $ docker rm -f --volumes f21fce1557363619450d9d186fafedab3a2bb31b0bcf83a14e714a4280fc9542 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:28 + docker inspect -f . ci-base-image-arm64 03:04:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:04:28 prd-ubuntu20.04-docker-arm64-4c-16g-8372 does not seem to be running inside a container 03:04:28 $ 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/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:04:29 $ docker top 8ca4844a2dc45cdbe3db4d8a3bbe7cd5ae38164bd299bfe7bd1d24aaa4f9c8de -eo pid,comm [Pipeline] { [Pipeline] sh 03:04:30 + git config --global --add safe.directory /w/workspace/device-modbus-go/3 [Pipeline] fileExists [Pipeline] sh 03:04:30 + make test 03:04:30 go test ./... -coverprofile=coverage.out 03:05:03 ? github.com/edgexfoundry/device-modbus-go [no test files] 03:07:09 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 03:07:13 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.091s coverage: 47.5% of statements 03:07:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:07:13 go vet ./... 03:07:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:07:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:07:45 ./bin/test-attribution-txt.sh 03:07:45 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 03:07:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:07:45 $ docker stop --time=1 8ca4844a2dc45cdbe3db4d8a3bbe7cd5ae38164bd299bfe7bd1d24aaa4f9c8de 03:07:47 $ docker rm -f --volumes 8ca4844a2dc45cdbe3db4d8a3bbe7cd5ae38164bd299bfe7bd1d24aaa4f9c8de [Pipeline] // withDockerContainer [Pipeline] sh 03:07:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:07:48 Warning: overwriting stash ‘coverage-report’ 03:07:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:07:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:07:50 + ls -al . 03:07:50 total 176 03:07:50 drwxrwxr-x 9 jenkins jenkins 4096 Apr 13 03:04 . 03:07:50 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 03:02 .. 03:07:50 -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 03:02 .dockerignore 03:07:50 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 03:02 .git 03:07:50 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 03:02 .github 03:07:50 -rw-rw-r-- 1 jenkins jenkins 331 Apr 13 03:02 .gitignore 03:07:50 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 03:02 .golangci.yml 03:07:50 -rw-rw-r-- 1 jenkins jenkins 10004 Apr 13 03:02 Attribution.txt 03:07:50 -rw-rw-r-- 1 jenkins jenkins 11576 Apr 13 03:02 CHANGELOG.md 03:07:50 -rw-rw-r-- 1 jenkins jenkins 1365 Apr 13 03:02 Dockerfile 03:07:50 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 03:02 GOVERNANCE.md 03:07:50 -rw-rw-r-- 1 jenkins jenkins 680 Apr 13 03:02 Jenkinsfile 03:07:50 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 03:02 LICENSE 03:07:50 -rw-rw-r-- 1 jenkins jenkins 1705 Apr 13 03:02 Makefile 03:07:50 -rw-rw-r-- 1 jenkins jenkins 622 Apr 13 03:02 OWNERS.md 03:07:50 -rw-rw-r-- 1 jenkins jenkins 4045 Apr 13 03:02 README.md 03:07:50 -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 02:58 VERSION 03:07:50 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 03:02 bin 03:07:50 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 03:02 cmd 03:07:50 -rw-r--r-- 1 jenkins jenkins 24076 Apr 13 03:07 coverage.out 03:07:50 -rw-rw-r-- 1 jenkins jenkins 3453 Apr 13 03:02 go.mod 03:07:50 -rw-rw-r-- 1 jenkins jenkins 31895 Apr 13 03:02 go.sum 03:07:50 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 03:02 internal 03:07:50 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 03:02 simulator 03:07:50 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 03:02 snap 03:07:50 -rw-rw-r-- 1 jenkins jenkins 229 Apr 13 03:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:07:50 + 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=d275d874f8497be02ccfdbba3a4cf2cb70ce65df --label arch=arm64 --label version=0.0.0 . 03:07:50 Sending build context to Docker daemon 3.408MB 03:07:50 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 03:07:50 Step 2/22 : FROM ${BASE} AS builder 03:07:50 ---> 7783dcecccba 03:07:50 Step 3/22 : ARG ADD_BUILD_TAGS="" 03:07:50 ---> Running in 310b8b254f21 03:07:51 Removing intermediate container 310b8b254f21 03:07:51 ---> 57e659f5628d 03:07:51 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:07:51 ---> Running in 0384700c5c53 03:07:51 Removing intermediate container 0384700c5c53 03:07:51 ---> e47d6adaa2f8 03:07:51 Step 5/22 : RUN apk add --update --no-cache make git openssh 03:07:51 ---> Running in b62896c1d527 03:07:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:07:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:07:54 OK: 270 MiB in 61 packages 03:07:55 Removing intermediate container b62896c1d527 03:07:55 ---> dd5fc20e1b1d 03:07:55 Step 6/22 : WORKDIR /device-modbus-go 03:07:55 ---> Running in dc7084c39a9d 03:07:55 Removing intermediate container dc7084c39a9d 03:07:55 ---> 8ddb59759cb7 03:07:55 Step 7/22 : COPY go.mod vendor* ./ 03:07:58 ---> ef3e002015d6 03:07:58 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:07:58 ---> Running in d1ef5da940c6 03:08:00 Removing intermediate container d1ef5da940c6 03:08:00 ---> 816b6296aeb1 03:08:00 Step 9/22 : COPY . . 03:08:01 ---> 9215e8f14f05 03:08:01 Step 10/22 : RUN ${MAKE} 03:08:02 ---> Running in 2fda8cbe1826 03:08:03 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 03:10:09 Removing intermediate container 2fda8cbe1826 03:10:09 ---> 72c108cc23c8 03:10:09 Step 11/22 : FROM alpine:3.17 03:10:09 3.17: Pulling from library/alpine 03:10:10 c41833b44d91: Pulling fs layer 03:10:10 c41833b44d91: Download complete 03:10:11 c41833b44d91: Pull complete 03:10:11 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 03:10:11 Status: Downloaded newer image for alpine:3.17 03:10:11 ---> 51e60588ff2c 03:10:11 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 03:10:11 ---> Running in 5cb759392659 03:10:11 Removing intermediate container 5cb759392659 03:10:11 ---> ec4c8403ac7b 03:10:11 Step 13/22 : RUN apk add --update --no-cache dumb-init 03:10:11 ---> Running in 5dead35ead3c 03:10:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:10:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:10:14 (1/1) Installing dumb-init (1.2.5-r2) 03:10:14 Executing busybox-1.35.0-r29.trigger 03:10:14 OK: 8 MiB in 16 packages 03:10:15 Removing intermediate container 5dead35ead3c 03:10:15 ---> 664686054889 03:10:15 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 03:10:16 ---> 494c94b11db1 03:10:16 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 03:10:16 ---> d9ab50df4975 03:10:16 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 03:10:17 ---> 12609b7b94fa 03:10:17 Step 17/22 : EXPOSE 59901 03:10:17 ---> Running in 226df902ea40 03:10:17 Removing intermediate container 226df902ea40 03:10:17 ---> 384d5c95f15c 03:10:17 Step 18/22 : ENTRYPOINT ["/device-modbus"] 03:10:18 ---> Running in 5bd8655ef0be 03:10:18 Removing intermediate container 5bd8655ef0be 03:10:18 ---> 10ee927a048c 03:10:18 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 03:10:18 ---> Running in fa1657d53eac 03:10:18 Removing intermediate container fa1657d53eac 03:10:18 ---> c2fc2e4ae979 03:10:18 Step 20/22 : LABEL arch=arm64 03:10:18 ---> Running in 34d891a121a4 03:10:18 Removing intermediate container 34d891a121a4 03:10:18 ---> bd0ba8eddbc1 03:10:18 Step 21/22 : LABEL git_sha=d275d874f8497be02ccfdbba3a4cf2cb70ce65df 03:10:19 ---> Running in 9472ee38048b 03:10:19 Removing intermediate container 9472ee38048b 03:10:19 ---> fffe6a34b27b 03:10:19 Step 22/22 : LABEL version=0.0.0 03:10:19 ---> Running in bead7d8f5b25 03:10:19 Removing intermediate container bead7d8f5b25 03:10:19 ---> f4a103e0c57d 03:10:19 [Warning] One or more build-args [ARCH] were not consumed 03:10:19 Successfully built f4a103e0c57d 03:10:19 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 03:10:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:10:20 03:10:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:10:20 arm64: Pulling from edgex-lftools-log-publisher 03:10:20 8998bd30e6a1: Pulling fs layer 03:10:20 04944245beec: Pulling fs layer 03:10:20 699f458cf7ca: Pulling fs layer 03:10:20 765212b225bb: Pulling fs layer 03:10:20 f23df028b6ca: Pulling fs layer 03:10:20 d65c8cfc05b1: Pulling fs layer 03:10:20 2437ff75d9bd: Pulling fs layer 03:10:20 f23df028b6ca: Waiting 03:10:20 d65c8cfc05b1: Waiting 03:10:20 2437ff75d9bd: Waiting 03:10:20 765212b225bb: Waiting 03:10:20 04944245beec: Verifying Checksum 03:10:20 04944245beec: Download complete 03:10:20 765212b225bb: Verifying Checksum 03:10:20 765212b225bb: Download complete 03:10:20 f23df028b6ca: Verifying Checksum 03:10:20 f23df028b6ca: Download complete 03:10:20 d65c8cfc05b1: Verifying Checksum 03:10:20 d65c8cfc05b1: Download complete 03:10:20 699f458cf7ca: Verifying Checksum 03:10:20 699f458cf7ca: Download complete 03:10:21 8998bd30e6a1: Verifying Checksum 03:10:21 8998bd30e6a1: Download complete 03:10:23 2437ff75d9bd: Verifying Checksum 03:10:25 8998bd30e6a1: Pull complete 03:10:25 04944245beec: Pull complete 03:10:26 699f458cf7ca: Pull complete 03:10:26 765212b225bb: Pull complete 03:10:27 f23df028b6ca: Pull complete 03:10:27 d65c8cfc05b1: Pull complete 03:10:42 2437ff75d9bd: Pull complete 03:10:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:10:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:10:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:10:43 prd-ubuntu20.04-docker-arm64-4c-16g-8372 does not seem to be running inside a container 03:10:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:10:45 $ docker top 8b1f8bd6b24856ee09ea812c02b8fa4f3f5aa15ac55f7f8c1ca16f9ba4d89e28 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:10:46 ---> job-cost.sh 03:10:46 lf-activate-venv: SKIPPING 03:10:46 INFO: No Stack... 03:10:46 INFO: Retrieving Pricing Info for: v3-standard-4 03:10:47 INFO: Archiving Costs [Pipeline] sh 03:10:48 + cat /w/workspace/device-modbus-go/3/archives/cost.csv 03:10:48 + cut -d, -f6 [Pipeline] lock 03:10:48 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-452-3-stack-cost] 03:10:48 Resource [jenkins-edgexfoundry-device-modbus-go-PR-452-3-stack-cost] did not exist. Created. 03:10:48 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-452-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:10:49 /w/workspace/device-modbus-go/3@tmp/durable-d3b15c93/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:10:49 + echo total: 0.10999999940395355 [Pipeline] stash 03:10:49 Warning: overwriting stash ‘stack-cost’ 03:10:49 Stashed 1 file(s) [Pipeline] } 03:10:49 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-452-3-stack-cost] [Pipeline] // lock [Pipeline] } 03:10:49 $ docker stop --time=1 8b1f8bd6b24856ee09ea812c02b8fa4f3f5aa15ac55f7f8c1ca16f9ba4d89e28 03:10:51 $ docker rm -f --volumes 8b1f8bd6b24856ee09ea812c02b8fa4f3f5aa15ac55f7f8c1ca16f9ba4d89e28 [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 03:10:51 provisioning config files... 03:10:51 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp/config2689248166218763598tmp [Pipeline] { [Pipeline] sh 03:10:51 + set +x 03:10:51 + curl -s https://codecov.io/bash 03:10:51 + bash -s -- 03:10:51 03:10:51 _____ _ 03:10:51 / ____| | | 03:10:51 | | ___ __| | ___ ___ _____ __ 03:10:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:10:51 | |___| (_) | (_| | __/ (_| (_) \ V / 03:10:51 \_____\___/ \__,_|\___|\___\___/ \_/ 03:10:51 Bash-1.0.6 03:10:51 03:10:51 03:10:51 ==> git version 2.25.1 found 03:10:51 ==> 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 03:10:51 Release-Date: 2020-01-08 03:10:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:10:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:10:51 ==> Jenkins CI detected. 03:10:51 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-452 03:10:51 project root: . 03:10:51 --> token set from env 03:10:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:10:51 ==> Running gcov in . (disable via -X gcov) 03:10:51 ==> Python coveragepy not found 03:10:51 ==> Searching for coverage reports in: 03:10:51 + . 03:10:51 -> Found 1 reports 03:10:51 ==> Detecting git/mercurial file structure 03:10:51 ==> Reading reports 03:10:51 + ./coverage.out bytes=24076 03:10:51 ==> Appending adjustments 03:10:51 https://docs.codecov.io/docs/fixing-reports 03:10:52 + Found adjustments 03:10:52 ==> Gzipping contents 03:10:52 4.0K /tmp/codecov.smAWFi.gz 03:10:52 ==> Uploading reports 03:10:52 url: https://codecov.io 03:10:52 query: branch=PR-452&commit=d275d874f8497be02ccfdbba3a4cf2cb70ce65df&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-452%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=452&job=&cmd_args= 03:10:52 -> Pinging Codecov 03:10:52 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-452&commit=d275d874f8497be02ccfdbba3a4cf2cb70ce65df&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-452%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=452&job=&cmd_args= 03:10:52 -> Uploading to 03:10:52 https://storage.googleapis.com/codecov/v4/raw/2023-04-13/55DBCA73C666E3227836607328DD7E49/d275d874f8497be02ccfdbba3a4cf2cb70ce65df/ac93e8a6-aadd-42d0-88cf-b163070f9306.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230413T031052Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e33691d71bc7b533a02435bb55a94b76e45db750ce208a637ae88830c1d27a33 03:10:52 % Total % Received % Xferd Average Speed Time Time Time Current 03:10:52 Dload Upload Total Spent Left Speed 03:10:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3917 0 0 100 3917 0 16185 --:--:-- --:--:-- --:--:-- 16185 03:10:52 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/d275d874f8497be02ccfdbba3a4cf2cb70ce65df [Pipeline] } 03:10:52 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 03:10:53 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-452/archives ] 03:10:53 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-452/archives 03:10:53 total 16 03:10:53 drwxr-xr-x 3 root root 4096 Apr 13 03:00 . 03:10:53 drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 03:00 .. 03:10:53 drwxr-xr-x 2 root root 4096 Apr 13 03:00 cost 03:10:53 -rw-r--r-- 1 root root 89 Apr 13 03:00 cost.csv 03:10:53 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-452/archives 03:10:53 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-452/archives 03:10:53 total 16 03:10:53 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 03:00 . 03:10:53 drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 03:00 .. 03:10:53 drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 03:00 cost 03:10:53 -rw-r--r-- 1 jenkins jenkins 89 Apr 13 03:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:10:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:10:54 ---> package-listing.sh 03:10:54 ++ facter osfamily 03:10:54 ++ tr '[:upper:]' '[:lower:]' 03:10:54 + OS_FAMILY=debian 03:10:54 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-452 03:10:54 + START_PACKAGES=/tmp/packages_start.txt 03:10:54 + END_PACKAGES=/tmp/packages_end.txt 03:10:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:10:54 + PACKAGES=/tmp/packages_start.txt 03:10:54 + '[' /w/workspace/xfoundry_device-modbus-go_PR-452 ']' 03:10:54 + PACKAGES=/tmp/packages_end.txt 03:10:54 + case "${OS_FAMILY}" in 03:10:54 + dpkg -l 03:10:54 + grep '^ii' 03:10:54 + '[' -f /tmp/packages_start.txt ']' 03:10:54 + '[' -f /tmp/packages_end.txt ']' 03:10:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:10:54 + '[' /w/workspace/xfoundry_device-modbus-go_PR-452 ']' 03:10:54 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-452/archives/ 03:10:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-452/archives/ [Pipeline] echo 03:10:54 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-452/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:10:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:10:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:10:55 prd-ubuntu20.04-docker-8c-8g-7652 does not seem to be running inside a container 03:10:55 $ 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-452/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-452 -v /w/workspace/xfoundry_device-modbus-go_PR-452:/w/workspace/xfoundry_device-modbus-go_PR-452:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-452@tmp:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:10:55 $ docker top 3dc11458b1c2dd1a834bc00258ae93d078564662adae3ee2b0d77a82261614be -eo pid,comm [Pipeline] { [Pipeline] sh 03:10:56 + touch /tmp/pre-build-complete [Pipeline] sh 03:10:56 + mkdir -p /var/log/sysstat [Pipeline] sh 03:10:56 + ls /var/log/sa-host 03:10:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:10:56 provisioning config files... 03:10:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp/config11047931669093601423tmp [Pipeline] { [Pipeline] echo 03:10:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:10:57 ---> create-netrc.sh [Pipeline] } 03:10:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:10:57 ---> python-tools-install.sh [Pipeline] echo 03:10:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:10:57 ---> sudo-logs.sh 03:10:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:10:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:10:58 ---> job-cost.sh 03:10:58 lf-activate-venv: SKIPPING 03:10:58 DEBUG: total: 0.2199999988079071 03:10:58 INFO: Retrieving Stack Cost... 03:10:58 INFO: Retrieving Pricing Info for: v3-standard-8 03:10:58 INFO: Archiving Costs [Pipeline] echo 03:10:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:10:59 ---> logs-deploy.sh 03:10:59 lf-activate-venv: SKIPPING 03:10:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-452/3 03:10:59 INFO: archiving workspace using pattern(s): 03:11:00 Archives upload complete. 03:11:00 INFO: archiving logs to Nexus