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 7bc7e26a4f9c7e325aaf552bd14e91929f288fb0+7ebcbdca1c8e99aa5fa67a846a7ac4c06130ebb3 (ff4f3d8f3596952bf45c240200ce908d739f2a0d) 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-ssh1728813237114128507.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-ssh8300515597453343223.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-ssh6542815316681523499.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-ssh2493846449400181771.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-ssh1002384209972559728.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-7643 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 > 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 Merging remotes/origin/main commit 7ebcbdca1c8e99aa5fa67a846a7ac4c06130ebb3 into PR head commit 7bc7e26a4f9c7e325aaf552bd14e91929f288fb0 Merge succeeded, producing 7bc7e26a4f9c7e325aaf552bd14e91929f288fb0 Checking out Revision 7bc7e26a4f9c7e325aaf552bd14e91929f288fb0 (PR-452) > git config core.sparsecheckout # timeout=10 > git checkout -f 7bc7e26a4f9c7e325aaf552bd14e91929f288fb0 # 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 7bc7e26a4f9c7e325aaf552bd14e91929f288fb0 # timeout=10 Commit message: "feat!: Consume SDK interface changes" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk d8efb5639a2b1160a579bc2232ace4dedeb4b665 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:33:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:33:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:33:40 ========================================================= 02:33:40 EdgeX Global Pipelines Version Info 02:33:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:33:41 ------------------- 02:33:41 stable info: 02:33:41 ------------------- 02:33:41 Commited By: Bill Mahoney bill.mahoney@intel.com 02:33:41 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 02:33:41 Message: update stable to v1.0.248 02:33:41 ------------------- 02:33:41 experimental info: 02:33:41 ------------------- 02:33:41 Commited By: **** collab-it+edgex@linuxfoundation.org 02:33:41 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 02:33:41 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:33:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 02:33:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 02:33:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:33:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:33:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:33:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 02:33:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:33:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:33:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:33:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:33:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:33:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 02:33:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:33:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:33:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:33:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:33:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:33:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:33:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:33:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:33:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:33:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:33:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:33:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:33:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:33:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:33:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:33:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-452 [Pipeline] echo 02:33:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-452 [Pipeline] echo 02:33:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-452 [Pipeline] echo 02:33:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7bc7e26a4f9c7e325aaf552bd14e91929f288fb0 [Pipeline] echo 02:33:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7bc7e26 [Pipeline] echo 02:33:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:33:42 provisioning config files... 02:33:42 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp/config16220867064901505460tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:33:42 ---> docker-login.sh 02:33:42 nexus3.edgexfoundry.org:10001 02:33:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:43 Configure a credential helper to remove this warning. See 02:33:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:43 02:33:43 Login Succeeded 02:33:43 nexus3.edgexfoundry.org:10002 02:33:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:43 Configure a credential helper to remove this warning. See 02:33:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:43 02:33:43 Login Succeeded 02:33:43 nexus3.edgexfoundry.org:10003 02:33:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:43 Configure a credential helper to remove this warning. See 02:33:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:43 02:33:43 Login Succeeded 02:33:43 nexus3.edgexfoundry.org:10004 02:33:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:43 Configure a credential helper to remove this warning. See 02:33:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:43 02:33:43 Login Succeeded 02:33:43 docker.io 02:33:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:43 Configure a credential helper to remove this warning. See 02:33:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:43 02:33:43 Login Succeeded 02:33:43 ---> docker-login.sh ends [Pipeline] } 02:33:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:33:44 + git rev-list -1 --merges 7bc7e26a4f9c7e325aaf552bd14e91929f288fb0~1..7bc7e26a4f9c7e325aaf552bd14e91929f288fb0 [Pipeline] echo 02:33:44 -----------> git rev-list -1 --merges 7bc7e26a4f9c7e325aaf552bd14e91929f288fb0~1..7bc7e26a4f9c7e325aaf552bd14e91929f288fb0 7bc7e26a4f9c7e325aaf552bd14e91929f288fb0 [false] [Pipeline] sh 02:33:44 + git log --format=format:%s -1 7bc7e26a4f9c7e325aaf552bd14e91929f288fb0 [Pipeline] echo 02:33:44 ========================================================= 02:33:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:33:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:33:44 + git log --format=format:%s -1 7bc7e26a4f9c7e325aaf552bd14e91929f288fb0 [Pipeline] echo 02:33:44 [semverPrep] GIT_COMMIT: 7bc7e26a4f9c7e325aaf552bd14e91929f288fb0, Commit Message: feat!: Consume SDK interface changes [Pipeline] echo 02:33:44 [semverPrep] This is not a build commit. [Pipeline] sh 02:33:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:33:45 + grep -v github /etc/ssh/ssh_known_hosts 02:33:45 + [ -e /tmp/ssh_known_hosts ] 02:33:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:33:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:33:45 + sudo tee -a /etc/ssh/ssh_known_hosts 02:33:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:33:45 02:33:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:33:45 0.1.4: Pulling from edgex-devops/py-git-semver 02:33:45 b85a868b505f: Pulling fs layer 02:33:45 e2be974225ed: Pulling fs layer 02:33:45 339a4e72a1f5: Pulling fs layer 02:33:45 988bab9f4d93: Pulling fs layer 02:33:45 1469e6f7b9e6: Pulling fs layer 02:33:45 eaf3925da568: Pulling fs layer 02:33:45 bab4dde63d76: Pulling fs layer 02:33:45 bde34c3a00c8: Pulling fs layer 02:33:45 b352a97aabf1: Pulling fs layer 02:33:45 4872d77fe225: Pulling fs layer 02:33:45 5851b861e8e6: Pulling fs layer 02:33:45 1469e6f7b9e6: Waiting 02:33:45 bab4dde63d76: Waiting 02:33:45 eaf3925da568: Waiting 02:33:45 bde34c3a00c8: Waiting 02:33:45 988bab9f4d93: Waiting 02:33:45 b352a97aabf1: Waiting 02:33:45 4872d77fe225: Waiting 02:33:45 5851b861e8e6: Waiting 02:33:45 e2be974225ed: Verifying Checksum 02:33:45 e2be974225ed: Download complete 02:33:45 988bab9f4d93: Verifying Checksum 02:33:45 988bab9f4d93: Download complete 02:33:45 339a4e72a1f5: Verifying Checksum 02:33:45 339a4e72a1f5: Download complete 02:33:45 1469e6f7b9e6: Verifying Checksum 02:33:45 1469e6f7b9e6: Download complete 02:33:46 eaf3925da568: Verifying Checksum 02:33:46 eaf3925da568: Download complete 02:33:46 bde34c3a00c8: Verifying Checksum 02:33:46 bde34c3a00c8: Download complete 02:33:46 b352a97aabf1: Verifying Checksum 02:33:46 b352a97aabf1: Download complete 02:33:46 4872d77fe225: Verifying Checksum 02:33:46 4872d77fe225: Download complete 02:33:46 5851b861e8e6: Verifying Checksum 02:33:46 5851b861e8e6: Download complete 02:33:46 b85a868b505f: Download complete 02:33:46 bab4dde63d76: Verifying Checksum 02:33:46 bab4dde63d76: Download complete 02:33:47 b85a868b505f: Pull complete 02:33:47 e2be974225ed: Pull complete 02:33:47 339a4e72a1f5: Pull complete 02:33:47 988bab9f4d93: Pull complete 02:33:48 1469e6f7b9e6: Pull complete 02:33:48 eaf3925da568: Pull complete 02:33:50 bab4dde63d76: Pull complete 02:33:50 bde34c3a00c8: Pull complete 02:33:50 b352a97aabf1: Pull complete 02:33:50 4872d77fe225: Pull complete 02:33:50 5851b861e8e6: Pull complete 02:33:50 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:33:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:33:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:33:50 prd-ubuntu20.04-docker-8c-8g-7643 does not seem to be running inside a container 02:33:50 $ 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:33:53 $ docker top bd4f17711921df5b42b1d722329d671e4e01734f479a13344d4204b9a54f60b6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:33:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:33:53 [ssh-agent] Looking for ssh-agent implementation... 02:33:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:33:53 $ docker exec bd4f17711921df5b42b1d722329d671e4e01734f479a13344d4204b9a54f60b6 ssh-agent 02:33:53 SSH_AUTH_SOCK=/tmp/ssh-f6TgtFk6mRF4/agent.32 02:33:53 SSH_AGENT_PID=38 02:33:53 Running ssh-add (command line suppressed) 02:33:54 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-452@tmp/private_key_6661144813551516245.key (/w/workspace/xfoundry_device-modbus-go_PR-452@tmp/private_key_6661144813551516245.key) 02:33:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:33:54 + git tag --points-at HEAD [Pipeline] } 02:33:54 $ docker exec --env ******** --env ******** bd4f17711921df5b42b1d722329d671e4e01734f479a13344d4204b9a54f60b6 ssh-agent -k 02:33:54 unset SSH_AUTH_SOCK; 02:33:54 unset SSH_AGENT_PID; 02:33:54 echo Agent pid 38 killed; 02:33:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:33:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:33:54 [ssh-agent] Looking for ssh-agent implementation... 02:33:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:33:54 $ docker exec bd4f17711921df5b42b1d722329d671e4e01734f479a13344d4204b9a54f60b6 ssh-agent 02:33:54 SSH_AUTH_SOCK=/tmp/ssh-fzx2lA82sxnP/agent.70 02:33:54 SSH_AGENT_PID=77 02:33:54 Running ssh-add (command line suppressed) 02:33:54 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-452@tmp/private_key_15650021518183286979.key (/w/workspace/xfoundry_device-modbus-go_PR-452@tmp/private_key_15650021518183286979.key) 02:33:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:33:55 + git semver init 02:33:55 2023-04-13 02:33:55,253 [run_init] DEBUG init version:0.0.0 force:False 02:33:55 2023-04-13 02:33:55,254 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-452/.semver 02:33:55 2023-04-13 02:33:55,255 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-452/.semver 02:33:55 2023-04-13 02:33:55,255 [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:33:56 2023-04-13 02:33:56,025 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-452/.git/info/exclude 02:33:56 2023-04-13 02:33:56,026 [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:33:56 2023-04-13 02:33:56,026 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-452/.semver/PR-452 02:33:56 2023-04-13 02:33:56,028 [execute] INFO git cat-file --batch-check 02:33:56 2023-04-13 02:33:56,029 [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:33:56 2023-04-13 02:33:56,034 [execute] INFO git cat-file --batch 02:33:56 2023-04-13 02:33:56,034 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-452/.semver, universal_newlines=False, shell=None, istream=) 02:33:56 2023-04-13 02:33:56,039 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-452/.semver/PR-452 02:33:56 0.0.0 [Pipeline] } 02:33:56 $ docker exec --env ******** --env ******** bd4f17711921df5b42b1d722329d671e4e01734f479a13344d4204b9a54f60b6 ssh-agent -k 02:33:56 unset SSH_AUTH_SOCK; 02:33:56 unset SSH_AGENT_PID; 02:33:56 echo Agent pid 77 killed; 02:33:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:33:56 + git semver [Pipeline] } 02:33:56 $ docker stop --time=1 bd4f17711921df5b42b1d722329d671e4e01734f479a13344d4204b9a54f60b6 02:33:58 $ docker rm -f --volumes bd4f17711921df5b42b1d722329d671e4e01734f479a13344d4204b9a54f60b6 [Pipeline] // withDockerContainer [Pipeline] sh 02:33:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:33:58 Stashed 1 file(s) [Pipeline] echo 02:33:58 [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:33:58 provisioning config files... 02:33:58 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp/config16672823431097649067tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:33:59 ---> docker-login.sh 02:33:59 nexus3.edgexfoundry.org:10001 02:33:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:59 Configure a credential helper to remove this warning. See 02:33:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:59 02:33:59 Login Succeeded 02:33:59 nexus3.edgexfoundry.org:10002 02:33:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:59 Configure a credential helper to remove this warning. See 02:33:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:59 02:33:59 Login Succeeded 02:33:59 nexus3.edgexfoundry.org:10003 02:33:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:59 Configure a credential helper to remove this warning. See 02:33:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:59 02:33:59 Login Succeeded 02:33:59 nexus3.edgexfoundry.org:10004 02:33:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:59 Configure a credential helper to remove this warning. See 02:33:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:59 02:33:59 Login Succeeded 02:33:59 docker.io 02:33:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:00 Configure a credential helper to remove this warning. See 02:34:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:00 02:34:00 Login Succeeded 02:34:00 ---> docker-login.sh ends [Pipeline] } 02:34:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:34:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:34:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:34:00 ========================================================= 02:34:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 02:34:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:00 + 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:34:00 Sending build context to Docker daemon 6.457MB 02:34:00 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 02:34:00 Step 2/10 : FROM ${BASE} AS builder 02:34:00 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 02:34:00 63b65145d645: Pulling fs layer 02:34:00 a2d21d5440eb: Pulling fs layer 02:34:00 935e6c44a52c: Pulling fs layer 02:34:00 94cc34f8dd06: Pulling fs layer 02:34:00 30dea6a524f1: Pulling fs layer 02:34:00 a2aff8979fd8: Pulling fs layer 02:34:00 6808be2612f2: Pulling fs layer 02:34:00 f25807f1079a: Pulling fs layer 02:34:00 94cc34f8dd06: Waiting 02:34:00 30dea6a524f1: Waiting 02:34:00 a2aff8979fd8: Waiting 02:34:00 6808be2612f2: Waiting 02:34:00 f25807f1079a: Waiting 02:34:00 a2d21d5440eb: Download complete 02:34:00 94cc34f8dd06: Download complete 02:34:00 30dea6a524f1: Download complete 02:34:00 63b65145d645: Verifying Checksum 02:34:00 63b65145d645: Download complete 02:34:00 a2aff8979fd8: Verifying Checksum 02:34:00 a2aff8979fd8: Download complete 02:34:00 63b65145d645: Pull complete 02:34:01 a2d21d5440eb: Pull complete 02:34:01 f25807f1079a: Download complete 02:34:01 935e6c44a52c: Verifying Checksum 02:34:01 935e6c44a52c: Download complete 02:34:01 6808be2612f2: Verifying Checksum 02:34:01 6808be2612f2: Download complete 02:34:05 935e6c44a52c: Pull complete 02:34:05 94cc34f8dd06: Pull complete 02:34:05 30dea6a524f1: Pull complete 02:34:05 a2aff8979fd8: Pull complete 02:34:08 6808be2612f2: Pull complete 02:34:09 f25807f1079a: Pull complete 02:34:09 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 02:34:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 02:34:09 ---> 3b553350e43f 02:34:09 Step 3/10 : ARG ADD_BUILD_TAGS="" 02:34:13 Still waiting to schedule task 02:34:13 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:34:19 ---> Running in a3ba9a84a95b 02:34:19 Removing intermediate container a3ba9a84a95b 02:34:19 ---> 95738367e4ac 02:34:19 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:34:19 ---> Running in c1741690b8c9 02:34:19 Removing intermediate container c1741690b8c9 02:34:19 ---> ac2a7127db9c 02:34:19 Step 5/10 : RUN apk add --update --no-cache make git openssh 02:34:19 ---> Running in 076c96d9d1e0 02:34:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:34:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:34:19 (1/8) Installing openssh-keygen (9.1_p1-r2) 02:34:19 (2/8) Installing libedit (20221030.3.1-r0) 02:34:19 (3/8) Installing openssh-client-common (9.1_p1-r2) 02:34:19 (4/8) Installing openssh-client-default (9.1_p1-r2) 02:34:19 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 02:34:19 (6/8) Installing openssh-server-common (9.1_p1-r2) 02:34:19 (7/8) Installing openssh-server (9.1_p1-r2) 02:34:19 (8/8) Installing openssh (9.1_p1-r2) 02:34:19 Executing busybox-1.35.0-r29.trigger 02:34:19 OK: 270 MiB in 61 packages 02:34:20 Removing intermediate container 076c96d9d1e0 02:34:20 ---> 697d5a6c6353 02:34:20 Step 6/10 : WORKDIR /device-modbus-go 02:34:20 ---> Running in 767944f574a5 02:34:20 Removing intermediate container 767944f574a5 02:34:20 ---> 84f7a40b6178 02:34:20 Step 7/10 : COPY go.mod vendor* ./ 02:34:20 ---> a9a4c155c0e2 02:34:20 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:34:20 ---> Running in b6f4a788b513 02:35:07 Removing intermediate container b6f4a788b513 02:35:07 ---> ed218af6703d 02:35:07 Step 9/10 : COPY . . 02:35:07 ---> 7a7e00dd3318 02:35:07 Step 10/10 : RUN ${MAKE} 02:35:07 ---> Running in 52067075e750 02:35:07 noop 02:35:07 Removing intermediate container 52067075e750 02:35:07 ---> af86588a770c 02:35:07 Successfully built af86588a770c 02:35:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:07 + docker inspect -f . ci-base-image-x86_64 02:35:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:35:07 prd-ubuntu20.04-docker-8c-8g-7643 does not seem to be running inside a container 02:35:07 $ 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:35:08 $ docker top 3b6dba64e720676a094cf325f5629d6381a30af6950ddb5a4a67e76398bb7905 -eo pid,comm [Pipeline] { [Pipeline] sh 02:35:08 + go version 02:35:08 go version go1.20.2 linux/amd64 [Pipeline] } 02:35:08 $ docker stop --time=1 3b6dba64e720676a094cf325f5629d6381a30af6950ddb5a4a67e76398bb7905 02:35:09 $ docker rm -f --volumes 3b6dba64e720676a094cf325f5629d6381a30af6950ddb5a4a67e76398bb7905 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:10 + docker inspect -f . ci-base-image-x86_64 02:35:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:35:10 prd-ubuntu20.04-docker-8c-8g-7643 does not seem to be running inside a container 02:35:10 $ 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:35:10 $ docker top 8aa0594114a9e1516c1ba27a96dd1addaee56b064fcbf8e9531102b164e08e3d -eo pid,comm [Pipeline] { [Pipeline] sh 02:35:10 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-452 [Pipeline] fileExists [Pipeline] sh 02:35:11 + make test 02:35:11 go test ./... -coverprofile=coverage.out 02:35:16 ? github.com/edgexfoundry/device-modbus-go [no test files] 02:35:26 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 02:35:26 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.5% of statements 02:35:33 go vet ./... 02:35:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:35:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:35:36 ./bin/test-attribution-txt.sh 02:35:36 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 02:35:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:35:36 $ docker stop --time=1 8aa0594114a9e1516c1ba27a96dd1addaee56b064fcbf8e9531102b164e08e3d 02:35:39 $ docker rm -f --volumes 8aa0594114a9e1516c1ba27a96dd1addaee56b064fcbf8e9531102b164e08e3d [Pipeline] // withDockerContainer [Pipeline] sh 02:35:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:35:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:35:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:35:40 + ls -al . 02:35:40 total 180 02:35:40 drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 02:35 . 02:35:40 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 02:33 .. 02:35:40 -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 02:33 .dockerignore 02:35:40 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 02:33 .git 02:35:40 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 02:33 .github 02:35:40 -rw-rw-r-- 1 jenkins jenkins 331 Apr 13 02:33 .gitignore 02:35:40 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 02:33 .golangci.yml 02:35:40 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 02:33 .semver 02:35:40 -rw-rw-r-- 1 jenkins jenkins 10004 Apr 13 02:33 Attribution.txt 02:35:40 -rw-rw-r-- 1 jenkins jenkins 11576 Apr 13 02:33 CHANGELOG.md 02:35:40 -rw-rw-r-- 1 jenkins jenkins 1365 Apr 13 02:33 Dockerfile 02:35:40 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 02:33 GOVERNANCE.md 02:35:40 -rw-rw-r-- 1 jenkins jenkins 680 Apr 13 02:33 Jenkinsfile 02:35:40 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 02:33 LICENSE 02:35:40 -rw-rw-r-- 1 jenkins jenkins 1705 Apr 13 02:33 Makefile 02:35:40 -rw-rw-r-- 1 jenkins jenkins 622 Apr 13 02:33 OWNERS.md 02:35:40 -rw-rw-r-- 1 jenkins jenkins 4045 Apr 13 02:33 README.md 02:35:40 -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 02:33 VERSION 02:35:40 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 02:33 bin 02:35:40 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 02:33 cmd 02:35:40 -rw-r--r-- 1 jenkins jenkins 24076 Apr 13 02:35 coverage.out 02:35:40 -rw-rw-r-- 1 jenkins jenkins 3453 Apr 13 02:33 go.mod 02:35:40 -rw-rw-r-- 1 jenkins jenkins 31895 Apr 13 02:33 go.sum 02:35:40 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 02:33 internal 02:35:40 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 02:33 simulator 02:35:40 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 02:33 snap 02:35:40 -rw-rw-r-- 1 jenkins jenkins 229 Apr 13 02:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:41 + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=7bc7e26a4f9c7e325aaf552bd14e91929f288fb0 --label arch=amd64 --label version=0.0.0 . 02:35:41 Sending build context to Docker daemon 6.482MB 02:35:41 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 02:35:41 Step 2/22 : FROM ${BASE} AS builder 02:35:41 ---> af86588a770c 02:35:41 Step 3/22 : ARG ADD_BUILD_TAGS="" 02:35:41 ---> Running in 0ddcde1462f7 02:35:41 Removing intermediate container 0ddcde1462f7 02:35:41 ---> 2943b7802cb3 02:35:41 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:35:41 ---> Running in f519ccf0da7d 02:35:41 Removing intermediate container f519ccf0da7d 02:35:41 ---> 9d4cc473d07b 02:35:41 Step 5/22 : RUN apk add --update --no-cache make git openssh 02:35:41 ---> Running in d0d24f4b41b8 02:35:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:35:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:35:42 OK: 270 MiB in 61 packages 02:35:42 Removing intermediate container d0d24f4b41b8 02:35:42 ---> 2578f2d7c963 02:35:42 Step 6/22 : WORKDIR /device-modbus-go 02:35:42 ---> Running in 8257fbf0240d 02:35:42 Removing intermediate container 8257fbf0240d 02:35:42 ---> ede855999bb2 02:35:42 Step 7/22 : COPY go.mod vendor* ./ 02:35:42 ---> e630229efd18 02:35:42 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:35:42 ---> Running in c755254ecb16 02:35:43 Removing intermediate container c755254ecb16 02:35:43 ---> e70c3f6d38e9 02:35:43 Step 9/22 : COPY . . 02:35:44 ---> 299128844316 02:35:44 Step 10/22 : RUN ${MAKE} 02:35:44 ---> Running in 2a63d3686e2f 02:35:44 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 02:36:06 Removing intermediate container 2a63d3686e2f 02:36:06 ---> 9f7372a74753 02:36:06 Step 11/22 : FROM alpine:3.17 02:36:06 3.17: Pulling from library/alpine 02:36:06 f56be85fc22e: Pulling fs layer 02:36:06 f56be85fc22e: Download complete 02:36:07 f56be85fc22e: Pull complete 02:36:07 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:36:07 Status: Downloaded newer image for alpine:3.17 02:36:07 ---> 9ed4aefc74f6 02:36:07 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 02:36:07 ---> Running in ac85e50b77c3 02:36:07 Removing intermediate container ac85e50b77c3 02:36:07 ---> d6fb9d4b44ce 02:36:07 Step 13/22 : RUN apk add --update --no-cache dumb-init 02:36:07 ---> Running in 4b5da9dba9fa 02:36:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:36:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:36:07 (1/1) Installing dumb-init (1.2.5-r2) 02:36:07 Executing busybox-1.35.0-r29.trigger 02:36:07 OK: 7 MiB in 16 packages 02:36:08 Removing intermediate container 4b5da9dba9fa 02:36:08 ---> 0ea5825aafed 02:36:08 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 02:36:09 ---> 2dd24388fa77 02:36:09 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 02:36:09 ---> 33c47d24f2c3 02:36:09 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 02:36:09 ---> a99eef500bce 02:36:09 Step 17/22 : EXPOSE 59901 02:36:09 ---> Running in 66aa4a9da9a9 02:36:09 Removing intermediate container 66aa4a9da9a9 02:36:09 ---> 87c47c2b13a1 02:36:09 Step 18/22 : ENTRYPOINT ["/device-modbus"] 02:36:09 ---> Running in b07cf7cd633a 02:36:09 Removing intermediate container b07cf7cd633a 02:36:09 ---> 98fda4ba25df 02:36:09 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:36:09 ---> Running in c35eb1d76d78 02:36:10 Removing intermediate container c35eb1d76d78 02:36:10 ---> a7a7006e5e9c 02:36:10 Step 20/22 : LABEL arch=amd64 02:36:10 ---> Running in accd5c387e14 02:36:10 Removing intermediate container accd5c387e14 02:36:10 ---> b282b8e6e7e1 02:36:10 Step 21/22 : LABEL git_sha=7bc7e26a4f9c7e325aaf552bd14e91929f288fb0 02:36:10 ---> Running in 2917e26ed104 02:36:10 Removing intermediate container 2917e26ed104 02:36:10 ---> 4bb95fdef056 02:36:10 Step 22/22 : LABEL version=0.0.0 02:36:10 ---> Running in fd1633fdedc7 02:36:10 Removing intermediate container fd1633fdedc7 02:36:10 ---> 4304d3b75850 02:36:10 [Warning] One or more build-args [ARCH] were not consumed 02:36:10 Successfully built 4304d3b75850 02:36:10 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 02:36:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:36:10 02:36:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:36:11 latest: Pulling from edgex-lftools-log-publisher 02:36:11 5eb5b503b376: Pulling fs layer 02:36:11 5c69ac0246d0: Pulling fs layer 02:36:11 ec43610c2a17: Pulling fs layer 02:36:11 3a2ae6a8a46f: Pulling fs layer 02:36:11 33b1e0a273af: Pulling fs layer 02:36:11 5d3b04190fa2: Pulling fs layer 02:36:11 2f39f015ded8: Pulling fs layer 02:36:11 3a2ae6a8a46f: Waiting 02:36:11 33b1e0a273af: Waiting 02:36:11 5d3b04190fa2: Waiting 02:36:11 2f39f015ded8: Waiting 02:36:11 5c69ac0246d0: Download complete 02:36:11 3a2ae6a8a46f: Download complete 02:36:11 33b1e0a273af: Verifying Checksum 02:36:11 33b1e0a273af: Download complete 02:36:11 5d3b04190fa2: Download complete 02:36:11 ec43610c2a17: Download complete 02:36:11 5eb5b503b376: Verifying Checksum 02:36:11 5eb5b503b376: Download complete 02:36:11 2f39f015ded8: Download complete 02:36:12 5eb5b503b376: Pull complete 02:36:13 5c69ac0246d0: Pull complete 02:36:14 ec43610c2a17: Pull complete 02:36:14 3a2ae6a8a46f: Pull complete 02:36:14 33b1e0a273af: Pull complete 02:36:14 5d3b04190fa2: Pull complete 02:36:20 2f39f015ded8: Pull complete 02:36:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:36:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:36:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:36:20 prd-ubuntu20.04-docker-8c-8g-7643 does not seem to be running inside a container 02:36:20 $ 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 02:36:28 $ docker top 1f924a81500588deb025bf0c174c1492681f60fbd7b4c4c94c96bd8857d8f780 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:36:29 ---> job-cost.sh 02:36:29 lf-activate-venv: SKIPPING 02:36:29 INFO: No Stack... 02:36:29 INFO: Retrieving Pricing Info for: v3-standard-8 02:36:30 INFO: Archiving Costs [Pipeline] sh 02:36:30 + cat /w/workspace/xfoundry_device-modbus-go_PR-452/archives/cost.csv 02:36:30 + cut -d, -f6 [Pipeline] lock 02:36:30 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-452-2-stack-cost] 02:36:30 Resource [jenkins-edgexfoundry-device-modbus-go-PR-452-2-stack-cost] did not exist. Created. 02:36:30 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-452-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:36:30 + echo total: 0.2199999988079071 [Pipeline] stash 02:36:30 Stashed 1 file(s) [Pipeline] } 02:36:30 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-452-2-stack-cost] [Pipeline] // lock [Pipeline] } 02:36:30 $ docker stop --time=1 1f924a81500588deb025bf0c174c1492681f60fbd7b4c4c94c96bd8857d8f780 02:36:31 $ docker rm -f --volumes 1f924a81500588deb025bf0c174c1492681f60fbd7b4c4c94c96bd8857d8f780 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:57:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8371 in /w/workspace/xfoundry_device-modbus-go_PR-452 [Pipeline] { [Pipeline] ws 02:57:33 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 02:57:33 Selected Git installation does not exist. Using Default 02:57:33 The recommended git tool is: NONE 02:57:46 using credential edgex-jenkins-ssh 02:57:46 Cloning the remote Git repository 02:57:46 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 02:57:46 > git init /w/workspace/device-modbus-go/2 # timeout=10 02:57:46 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 02:57:46 > git --version # timeout=10 02:57:46 > git --version # 'git version 2.25.1' 02:57:46 using GIT_SSH to set credentials SSH Credentials for GitHub 02:57:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:57:48 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 02:57:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:57:50 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 02:57:50 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 02:57:50 using GIT_SSH to set credentials SSH Credentials for GitHub 02:57:50 > 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 02:57:51 Merging remotes/origin/main commit 7ebcbdca1c8e99aa5fa67a846a7ac4c06130ebb3 into PR head commit 7bc7e26a4f9c7e325aaf552bd14e91929f288fb0 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:57:51 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:57:52 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-452/archives ] 02:57:52 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-452/archives 02:57:52 total 16 02:57:52 drwxr-xr-x 3 root root 4096 Apr 13 02:36 . 02:57:52 drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 02:36 .. 02:57:52 drwxr-xr-x 2 root root 4096 Apr 13 02:36 cost 02:57:52 -rw-r--r-- 1 root root 89 Apr 13 02:36 cost.csv 02:57:52 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-452/archives 02:57:52 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-452/archives 02:57:52 total 16 02:57:52 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 02:36 . 02:57:52 drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 02:36 .. 02:57:52 drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 02:36 cost 02:57:52 -rw-r--r-- 1 jenkins jenkins 89 Apr 13 02:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:57:52 ---> sysstat.sh 02:57:51 > git config core.sparsecheckout # timeout=10 02:57:51 > git checkout -f 7bc7e26a4f9c7e325aaf552bd14e91929f288fb0 # timeout=10 [Pipeline] libraryResource [Pipeline] sh 02:57:53 ---> package-listing.sh 02:57:53 ++ facter osfamily 02:57:53 ++ tr '[:upper:]' '[:lower:]' 02:57:53 + OS_FAMILY=debian 02:57:53 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-452 02:57:53 + START_PACKAGES=/tmp/packages_start.txt 02:57:53 + END_PACKAGES=/tmp/packages_end.txt 02:57:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:57:53 + PACKAGES=/tmp/packages_start.txt 02:57:53 + '[' /w/workspace/xfoundry_device-modbus-go_PR-452 ']' 02:57:53 + PACKAGES=/tmp/packages_end.txt 02:57:53 + case "${OS_FAMILY}" in 02:57:53 + dpkg -l 02:57:53 + grep '^ii' 02:57:53 + '[' -f /tmp/packages_start.txt ']' 02:57:53 + '[' -f /tmp/packages_end.txt ']' 02:57:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:57:53 + '[' /w/workspace/xfoundry_device-modbus-go_PR-452 ']' 02:57:53 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-452/archives/ 02:57:53 + 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 02:57:53 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 02:57:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:57:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:57:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:57:54 prd-ubuntu20.04-docker-8c-8g-7643 does not seem to be running inside a container 02:57:54 $ 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 02:57:54 $ docker top e9cc88b3a7cbf812cad435432d6495450b1c5248896f2b1eafd6aa696e2fa4bd -eo pid,comm [Pipeline] { [Pipeline] sh 02:57:54 + touch /tmp/pre-build-complete [Pipeline] sh 02:57:55 + mkdir -p /var/log/sysstat [Pipeline] sh 02:57:55 + ls /var/log/sa-host 02:57:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:57:55 provisioning config files... 02:57:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp/config13243313058228641469tmp [Pipeline] { [Pipeline] echo 02:57:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:57:55 ---> create-netrc.sh [Pipeline] } 02:57:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:57:56 ---> python-tools-install.sh [Pipeline] echo 02:57:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:57:56 ---> sudo-logs.sh 02:57:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:57:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:57:56 ---> job-cost.sh 02:57:56 lf-activate-venv: SKIPPING 02:57:56 DEBUG: total: 0.2199999988079071 02:57:56 INFO: Retrieving Stack Cost... 02:57:57 INFO: Retrieving Pricing Info for: v3-standard-8 02:57:57 INFO: Archiving Costs [Pipeline] echo 02:57:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:57:57 ---> logs-deploy.sh 02:57:57 lf-activate-venv: SKIPPING 02:57:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-452/2 02:57:57 INFO: archiving workspace using pattern(s): 02:57:58 Archives upload complete. 02:57:58 INFO: archiving logs to Nexus