Pull request #1202 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 marcpfuller for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 05709587d91994e95fbbf030ae60546eede8820e rather than 289f2937a3388de6b1a38b97599e42ca8dc13760 Obtained Jenkinsfile from 05709587d91994e95fbbf030ae60546eede8820e 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-ssh5075976395854826721.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3125447845394404134.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1202/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-sdk-go/branches/PR-1202/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6891615165393362988.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh6848218620265367766.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1202/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-sdk-go/branches/PR-1202/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5590048258358740596.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > 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-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-21275’ is offline Running on prd-ubuntu20.04-docker-8c-8g-21277 in /w/workspace/gexfoundry_device-sdk-go_PR-1202 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1202 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 05709587d91994e95fbbf030ae60546eede8820e into PR head commit 289f2937a3388de6b1a38b97599e42ca8dc13760 Merge succeeded, producing 289f2937a3388de6b1a38b97599e42ca8dc13760 Checking out Revision 289f2937a3388de6b1a38b97599e42ca8dc13760 (PR-1202) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1202/head:refs/remotes/origin/PR-1202 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 289f2937a3388de6b1a38b97599e42ca8dc13760 # 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 05709587d91994e95fbbf030ae60546eede8820e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 289f2937a3388de6b1a38b97599e42ca8dc13760 # timeout=10 Commit message: "fix: added DriverConfigs and SetDeviceOPState to DeviceServiceSDK interface and implementation." First time build. Skipping changelog. > git rev-list --no-walk f4e6d0232002c9c4bf9c338bf784f1d71141fae9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:17:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:17:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:17:11 ========================================================= 20:17:11 EdgeX Global Pipelines Version Info 20:17:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:17:12 ------------------- 20:17:12 stable info: 20:17:12 ------------------- 20:17:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:17:12 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 20:17:12 Message: update stable to v1.0.238 20:17:12 ------------------- 20:17:12 experimental info: 20:17:12 ------------------- 20:17:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:17:12 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 20:17:12 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:17:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 20:17:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 20:17:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:17:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:17:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:17:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:17:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:17:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 20:17:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:17:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:17:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:17:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 20:17:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:17:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:17:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:17:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:17:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:17:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:17:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:17:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:17:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:17:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 20:17:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:17:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:17:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:17:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:17:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:17:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1202 [Pipeline] echo 20:17:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1202 [Pipeline] echo 20:17:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1202 [Pipeline] echo 20:17:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 289f2937a3388de6b1a38b97599e42ca8dc13760 [Pipeline] echo 20:17:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 289f293 [Pipeline] echo 20:17:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:17:13 provisioning config files... 20:17:13 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/config3191050326902486583tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:17:13 ---> docker-login.sh 20:17:13 nexus3.edgexfoundry.org:10001 20:17:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:13 Configure a credential helper to remove this warning. See 20:17:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:13 20:17:13 Login Succeeded 20:17:13 nexus3.edgexfoundry.org:10002 20:17:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:14 Configure a credential helper to remove this warning. See 20:17:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:14 20:17:14 Login Succeeded 20:17:14 nexus3.edgexfoundry.org:10003 20:17:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:14 Configure a credential helper to remove this warning. See 20:17:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:14 20:17:14 Login Succeeded 20:17:14 nexus3.edgexfoundry.org:10004 20:17:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:14 Configure a credential helper to remove this warning. See 20:17:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:14 20:17:14 Login Succeeded 20:17:14 docker.io 20:17:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:14 Configure a credential helper to remove this warning. See 20:17:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:14 20:17:14 Login Succeeded 20:17:14 ---> docker-login.sh ends [Pipeline] } 20:17:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:17:14 + git rev-list -1 --merges 289f2937a3388de6b1a38b97599e42ca8dc13760~1..289f2937a3388de6b1a38b97599e42ca8dc13760 [Pipeline] echo 20:17:14 -----------> git rev-list -1 --merges 289f2937a3388de6b1a38b97599e42ca8dc13760~1..289f2937a3388de6b1a38b97599e42ca8dc13760 289f2937a3388de6b1a38b97599e42ca8dc13760 [false] [Pipeline] sh 20:17:15 + git log --format=format:%s -1 289f2937a3388de6b1a38b97599e42ca8dc13760 [Pipeline] echo 20:17:15 ========================================================= 20:17:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:17:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:17:15 + git log --format=format:%s -1 289f2937a3388de6b1a38b97599e42ca8dc13760 [Pipeline] echo 20:17:15 [semverPrep] GIT_COMMIT: 289f2937a3388de6b1a38b97599e42ca8dc13760, Commit Message: fix: added DriverConfigs and SetDeviceOPState to DeviceServiceSDK interface and implementation. [Pipeline] echo 20:17:15 [semverPrep] This is not a build commit. [Pipeline] sh 20:17:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:17:16 + grep -v github /etc/ssh/ssh_known_hosts 20:17:16 + [ -e /tmp/ssh_known_hosts ] 20:17:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:17:16 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:17:16 + sudo tee -a /etc/ssh/ssh_known_hosts 20:17:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:17:16 20:17:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:17:16 0.1.4: Pulling from edgex-devops/py-git-semver 20:17:16 b85a868b505f: Pulling fs layer 20:17:16 e2be974225ed: Pulling fs layer 20:17:16 339a4e72a1f5: Pulling fs layer 20:17:16 988bab9f4d93: Pulling fs layer 20:17:16 1469e6f7b9e6: Pulling fs layer 20:17:16 eaf3925da568: Pulling fs layer 20:17:16 bab4dde63d76: Pulling fs layer 20:17:16 bde34c3a00c8: Pulling fs layer 20:17:16 b352a97aabf1: Pulling fs layer 20:17:16 4872d77fe225: Pulling fs layer 20:17:16 5851b861e8e6: Pulling fs layer 20:17:16 988bab9f4d93: Waiting 20:17:16 1469e6f7b9e6: Waiting 20:17:16 eaf3925da568: Waiting 20:17:16 bab4dde63d76: Waiting 20:17:16 bde34c3a00c8: Waiting 20:17:16 b352a97aabf1: Waiting 20:17:16 4872d77fe225: Waiting 20:17:16 5851b861e8e6: Waiting 20:17:16 e2be974225ed: Download complete 20:17:16 988bab9f4d93: Verifying Checksum 20:17:16 988bab9f4d93: Download complete 20:17:16 1469e6f7b9e6: Verifying Checksum 20:17:16 1469e6f7b9e6: Download complete 20:17:16 eaf3925da568: Verifying Checksum 20:17:16 eaf3925da568: Download complete 20:17:16 339a4e72a1f5: Verifying Checksum 20:17:16 339a4e72a1f5: Download complete 20:17:16 bde34c3a00c8: Download complete 20:17:16 b352a97aabf1: Download complete 20:17:16 4872d77fe225: Verifying Checksum 20:17:16 4872d77fe225: Download complete 20:17:16 5851b861e8e6: Verifying Checksum 20:17:16 5851b861e8e6: Download complete 20:17:16 b85a868b505f: Verifying Checksum 20:17:16 b85a868b505f: Download complete 20:17:17 bab4dde63d76: Verifying Checksum 20:17:17 bab4dde63d76: Download complete 20:17:18 b85a868b505f: Pull complete 20:17:18 e2be974225ed: Pull complete 20:17:19 339a4e72a1f5: Pull complete 20:17:19 988bab9f4d93: Pull complete 20:17:19 1469e6f7b9e6: Pull complete 20:17:19 eaf3925da568: Pull complete 20:17:21 bab4dde63d76: Pull complete 20:17:21 bde34c3a00c8: Pull complete 20:17:21 b352a97aabf1: Pull complete 20:17:21 4872d77fe225: Pull complete 20:17:21 5851b861e8e6: Pull complete 20:17:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:17:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:17:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:17:21 prd-ubuntu20.04-docker-8c-8g-21277 does not seem to be running inside a container 20:17:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1202 -v /w/workspace/gexfoundry_device-sdk-go_PR-1202:/w/workspace/gexfoundry_device-sdk-go_PR-1202:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:17:24 $ docker top 903592d9288517848a7b47bcc05d6cb8fbe5d40d81e193c229243c2ac2edbd89 -eo pid,comm 20:17:24 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:17:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:17:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:17:24 [ssh-agent] Looking for ssh-agent implementation... 20:17:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:17:24 $ docker exec 903592d9288517848a7b47bcc05d6cb8fbe5d40d81e193c229243c2ac2edbd89 ssh-agent 20:17:24 SSH_AUTH_SOCK=/tmp/ssh-TJ8d5MuG9GrF/agent.35 20:17:24 SSH_AGENT_PID=41 20:17:24 Running ssh-add (command line suppressed) 20:17:25 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/private_key_3548173881156667563.key (/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/private_key_3548173881156667563.key) 20:17:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:17:25 + git tag --points-at HEAD [Pipeline] } 20:17:25 $ docker exec --env ******** --env ******** 903592d9288517848a7b47bcc05d6cb8fbe5d40d81e193c229243c2ac2edbd89 ssh-agent -k 20:17:25 unset SSH_AUTH_SOCK; 20:17:25 unset SSH_AGENT_PID; 20:17:25 echo Agent pid 41 killed; 20:17:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:17:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:17:25 [ssh-agent] Looking for ssh-agent implementation... 20:17:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:17:25 $ docker exec 903592d9288517848a7b47bcc05d6cb8fbe5d40d81e193c229243c2ac2edbd89 ssh-agent 20:17:25 SSH_AUTH_SOCK=/tmp/ssh-sNeJpF6BiPWO/agent.74 20:17:25 SSH_AGENT_PID=80 20:17:25 Running ssh-add (command line suppressed) 20:17:25 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/private_key_363630224364937443.key (/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/private_key_363630224364937443.key) 20:17:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:17:26 + git semver init 20:17:26 2022-07-27 20:17:26,380 [run_init] DEBUG init version:0.0.0 force:False 20:17:26 2022-07-27 20:17:26,381 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver 20:17:26 2022-07-27 20:17:26,382 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver 20:17:26 2022-07-27 20:17:26,383 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1202, universal_newlines=False, shell=None, istream=None) 20:17:27 2022-07-27 20:17:27,222 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1202/.git/info/exclude 20:17:27 2022-07-27 20:17:27,223 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver/PR-1202 with force:False 20:17:27 2022-07-27 20:17:27,223 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver/PR-1202 20:17:27 2022-07-27 20:17:27,227 [execute] INFO git cat-file --batch-check 20:17:27 2022-07-27 20:17:27,228 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver, universal_newlines=False, shell=None, istream=) 20:17:27 2022-07-27 20:17:27,234 [execute] INFO git cat-file --batch 20:17:27 2022-07-27 20:17:27,234 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver, universal_newlines=False, shell=None, istream=) 20:17:27 2022-07-27 20:17:27,239 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver/PR-1202 20:17:27 0.0.0 [Pipeline] } 20:17:27 $ docker exec --env ******** --env ******** 903592d9288517848a7b47bcc05d6cb8fbe5d40d81e193c229243c2ac2edbd89 ssh-agent -k 20:17:27 unset SSH_AUTH_SOCK; 20:17:27 unset SSH_AGENT_PID; 20:17:27 echo Agent pid 80 killed; 20:17:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:17:27 + git semver [Pipeline] } 20:17:28 $ docker stop --time=1 903592d9288517848a7b47bcc05d6cb8fbe5d40d81e193c229243c2ac2edbd89 20:17:29 $ docker rm -f 903592d9288517848a7b47bcc05d6cb8fbe5d40d81e193c229243c2ac2edbd89 [Pipeline] // withDockerContainer [Pipeline] sh 20:17:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:17:30 Stashed 1 file(s) [Pipeline] echo 20:17:30 [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 20:17:30 provisioning config files... 20:17:30 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/config8222332094455707679tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:17:30 ---> docker-login.sh 20:17:30 nexus3.edgexfoundry.org:10001 20:17:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:30 Configure a credential helper to remove this warning. See 20:17:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:30 20:17:30 Login Succeeded 20:17:30 nexus3.edgexfoundry.org:10002 20:17:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:30 Configure a credential helper to remove this warning. See 20:17:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:30 20:17:30 Login Succeeded 20:17:30 nexus3.edgexfoundry.org:10003 20:17:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:30 Configure a credential helper to remove this warning. See 20:17:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:30 20:17:30 Login Succeeded 20:17:30 nexus3.edgexfoundry.org:10004 20:17:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:30 Configure a credential helper to remove this warning. See 20:17:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:30 20:17:30 Login Succeeded 20:17:30 docker.io 20:17:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:31 Configure a credential helper to remove this warning. See 20:17:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:31 20:17:31 Login Succeeded 20:17:31 ---> docker-login.sh ends [Pipeline] } 20:17:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:17:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:17:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:17:31 ========================================================= 20:17:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:17:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:31 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:17:31 Sending build context to Docker daemon 9.767MB 20:17:31 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 20:17:31 Step 2/11 : FROM ${BASE} AS builder 20:17:31 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:17:31 2408cc74d12b: Pulling fs layer 20:17:31 ea60b727a1ce: Pulling fs layer 20:17:31 30c4a7721957: Pulling fs layer 20:17:31 370296b7ddb6: Pulling fs layer 20:17:31 7c6cee850709: Pulling fs layer 20:17:31 39a5fcdaea64: Pulling fs layer 20:17:31 d94ebbe4e438: Pulling fs layer 20:17:31 bcfd1f05c69d: Pulling fs layer 20:17:31 59ccb84bbe0f: Pulling fs layer 20:17:31 39a5fcdaea64: Waiting 20:17:31 d94ebbe4e438: Waiting 20:17:31 bcfd1f05c69d: Waiting 20:17:31 59ccb84bbe0f: Waiting 20:17:31 370296b7ddb6: Waiting 20:17:31 7c6cee850709: Waiting 20:17:31 30c4a7721957: Download complete 20:17:31 ea60b727a1ce: Download complete 20:17:31 7c6cee850709: Download complete 20:17:31 39a5fcdaea64: Verifying Checksum 20:17:31 39a5fcdaea64: Download complete 20:17:31 2408cc74d12b: Verifying Checksum 20:17:31 2408cc74d12b: Download complete 20:17:31 d94ebbe4e438: Verifying Checksum 20:17:31 d94ebbe4e438: Download complete 20:17:32 2408cc74d12b: Pull complete 20:17:32 ea60b727a1ce: Pull complete 20:17:32 30c4a7721957: Pull complete 20:17:32 59ccb84bbe0f: Verifying Checksum 20:17:32 59ccb84bbe0f: Download complete 20:17:32 bcfd1f05c69d: Verifying Checksum 20:17:32 bcfd1f05c69d: Download complete 20:17:32 370296b7ddb6: Download complete 20:17:36 370296b7ddb6: Pull complete 20:17:36 7c6cee850709: Pull complete 20:17:36 39a5fcdaea64: Pull complete 20:17:36 d94ebbe4e438: Pull complete 20:17:38 bcfd1f05c69d: Pull complete 20:17:39 59ccb84bbe0f: Pull complete 20:17:39 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 20:17:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:17:39 ---> a4fb48ad2a94 20:17:39 Step 3/11 : ARG MAKE=make build 20:17:43 ---> Running in a6b77ffb3c39 20:17:43 Removing intermediate container a6b77ffb3c39 20:17:43 ---> 6994996d497b 20:17:43 Step 4/11 : WORKDIR /device-sdk-go 20:17:43 ---> Running in a82105e76f12 20:17:43 Removing intermediate container a82105e76f12 20:17:43 ---> 8cc45260ea9b 20:17:43 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:17:43 ---> Running in e10cfcefbd06 20:17:43 Removing intermediate container e10cfcefbd06 20:17:43 ---> e8692e5c95c6 20:17:43 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:17:43 ---> Running in 390967725cb1 20:17:43 Removing intermediate container 390967725cb1 20:17:43 ---> 0de3f214a78e 20:17:43 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 20:17:43 ---> Running in f3bfdb4a544e 20:17:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:17:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:17:44 OK: 211 MiB in 51 packages 20:17:45 Still waiting to schedule task 20:17:45 ‘prd-ubuntu20.04-docker-arm64-4c-16g-21276’ is offline 20:17:45 Removing intermediate container f3bfdb4a544e 20:17:45 ---> 909337187bc0 20:17:45 Step 8/11 : COPY go.mod vendor* ./ 20:17:45 ---> dc4988885054 20:17:45 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:17:45 ---> Running in dc60d3d3bc05 20:18:03 Removing intermediate container dc60d3d3bc05 20:18:03 ---> 88b753feef10 20:18:03 Step 10/11 : COPY . . 20:18:03 ---> 1dd395a32d4d 20:18:03 Step 11/11 : RUN ${MAKE} 20:18:03 ---> Running in 3c1e0ddf4cf1 20:18:04 noop 20:18:04 Removing intermediate container 3c1e0ddf4cf1 20:18:04 ---> 088a8b32d422 20:18:04 Successfully built 088a8b32d422 20:18:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:04 + docker inspect -f . ci-base-image-x86_64 20:18:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:18:04 prd-ubuntu20.04-docker-8c-8g-21277 does not seem to be running inside a container 20:18:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1202 -v /w/workspace/gexfoundry_device-sdk-go_PR-1202:/w/workspace/gexfoundry_device-sdk-go_PR-1202:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1202@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-x86_64 cat 20:18:05 $ docker top 60fccd7dbf7a40def62e9131f1716bcdd958e7df5951955a3f690aac8cf96a8c -eo pid,comm [Pipeline] { [Pipeline] sh 20:18:05 + go version 20:18:05 go version go1.18.3 linux/amd64 [Pipeline] } 20:18:05 $ docker stop --time=1 60fccd7dbf7a40def62e9131f1716bcdd958e7df5951955a3f690aac8cf96a8c 20:18:06 $ docker rm -f 60fccd7dbf7a40def62e9131f1716bcdd958e7df5951955a3f690aac8cf96a8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:07 + docker inspect -f . ci-base-image-x86_64 20:18:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:18:07 prd-ubuntu20.04-docker-8c-8g-21277 does not seem to be running inside a container 20:18:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-sdk-go_PR-1202 -v /w/workspace/gexfoundry_device-sdk-go_PR-1202:/w/workspace/gexfoundry_device-sdk-go_PR-1202:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1202@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-x86_64 cat 20:18:07 $ docker top ddc49e4de3afda69ca272dc999ed1b630dd9bfec95bd212d592a2c037b1fb7aa -eo pid,comm [Pipeline] { [Pipeline] sh 20:18:08 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1202 [Pipeline] fileExists [Pipeline] sh 20:18:08 + make test 20:18:08 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 20:18:13 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 20:18:28 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 20:18:28 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 20:18:28 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 20:18:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.071s coverage: 23.7% of statements 20:18:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 20:18:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.068s coverage: 27.6% of statements 20:18:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.091s coverage: 78.9% of statements 20:18:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.076s coverage: 10.8% of statements 20:18:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.087s coverage: 60.0% of statements 20:18:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 20:18:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 20:18:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.072s coverage: 34.8% of statements 20:18:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 20:18:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.062s coverage: 85.4% of statements 20:18:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 20:18:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 20:18:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.094s coverage: 65.1% of statements 20:18:28 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 20:18:28 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 20:18:28 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.741s coverage: 89.2% of statements 20:18:28 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 20:18:29 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 4.7% of statements 20:18:29 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 20:18:47 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 20:18:47 GO111MODULE=on go vet ./... 20:18:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:18:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:18:48 ./bin/test-attribution-txt.sh 20:18:48 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 20:18:48 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 20:18:48 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 20:18:48 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 20:18:48 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 20:18:48 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 20:18:48 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 20:18:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:18:48 $ docker stop --time=1 ddc49e4de3afda69ca272dc999ed1b630dd9bfec95bd212d592a2c037b1fb7aa 20:18:51 $ docker rm -f ddc49e4de3afda69ca272dc999ed1b630dd9bfec95bd212d592a2c037b1fb7aa [Pipeline] // withDockerContainer [Pipeline] sh 20:18:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:18:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:18:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:18:53 + ls -al . 20:18:53 total 304 20:18:53 drwxrwxr-x 11 jenkins jenkins 4096 Jul 27 20:18 . 20:18:53 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 20:17 .. 20:18:53 -rw-rw-r-- 1 jenkins jenkins 140 Jul 27 20:17 .dockerignore 20:18:53 drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 20:18 .git 20:18:53 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 20:17 .github 20:18:53 -rw-rw-r-- 1 jenkins jenkins 131 Jul 27 20:17 .gitignore 20:18:53 -rw-rw-r-- 1 jenkins jenkins 42 Jul 27 20:17 .golangci.yml 20:18:53 drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 20:17 .semver 20:18:53 -rw-rw-r-- 1 jenkins jenkins 29536 Jul 27 20:17 CHANGELOG.md 20:18:53 -rw-rw-r-- 1 jenkins jenkins 677 Jul 27 20:17 GOVERNANCE.md 20:18:53 -rw-rw-r-- 1 jenkins jenkins 880 Jul 27 20:17 Jenkinsfile 20:18:53 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 27 20:17 LICENSE 20:18:53 -rw-rw-r-- 1 jenkins jenkins 2002 Jul 27 20:17 Makefile 20:18:53 -rw-rw-r-- 1 jenkins jenkins 619 Jul 27 20:17 OWNERS.md 20:18:53 -rw-rw-r-- 1 jenkins jenkins 4881 Jul 27 20:17 README.md 20:18:53 -rw-rw-r-- 1 jenkins jenkins 5 Jul 27 20:17 VERSION 20:18:53 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 20:17 bin 20:18:53 -rw-r--r-- 1 jenkins jenkins 131677 Jul 27 20:18 coverage.out 20:18:53 drwxrwxr-x 5 jenkins jenkins 4096 Jul 27 20:17 example 20:18:53 -rw-rw-r-- 1 jenkins jenkins 3553 Jul 27 20:17 go.mod 20:18:53 -rw-rw-r-- 1 jenkins jenkins 36743 Jul 27 20:17 go.sum 20:18:53 drwxrwxr-x 15 jenkins jenkins 4096 Jul 27 20:17 internal 20:18:53 drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 20:17 openapi 20:18:53 drwxrwxr-x 6 jenkins jenkins 4096 Jul 27 20:17 pkg 20:18:53 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 20:17 snap 20:18:53 -rw-rw-r-- 1 jenkins jenkins 222 Jul 27 20:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:53 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=289f2937a3388de6b1a38b97599e42ca8dc13760 --label arch=amd64 --label version=0.0.0 . 20:18:53 Sending build context to Docker daemon 9.9MB 20:18:53 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 20:18:53 Step 2/25 : FROM ${BASE} AS builder 20:18:53 ---> 088a8b32d422 20:18:53 Step 3/25 : ARG MAKE=make build 20:18:53 ---> Running in 147d1d320790 20:18:53 Removing intermediate container 147d1d320790 20:18:53 ---> ce9f9707ba59 20:18:53 Step 4/25 : WORKDIR /device-sdk-go 20:18:53 ---> Running in b485d1c475b8 20:18:53 Removing intermediate container b485d1c475b8 20:18:53 ---> ec4f9d0356d7 20:18:53 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:18:53 ---> Running in 351361c2b1ab 20:18:54 Removing intermediate container 351361c2b1ab 20:18:54 ---> 2fa2f9062f84 20:18:54 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:18:54 ---> Running in 91d6f4868108 20:18:54 Removing intermediate container 91d6f4868108 20:18:54 ---> 39e01af7c05c 20:18:54 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 20:18:54 ---> Running in 8fac66c7bbff 20:18:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:18:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:18:56 OK: 211 MiB in 51 packages 20:18:56 Removing intermediate container 8fac66c7bbff 20:18:56 ---> b011d16e4643 20:18:56 Step 8/25 : COPY go.mod vendor* ./ 20:18:56 ---> 431c6688f297 20:18:56 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:18:56 ---> Running in 9bc70d9203a4 20:18:57 Removing intermediate container 9bc70d9203a4 20:18:57 ---> 860fa675a964 20:18:57 Step 10/25 : COPY . . 20:18:57 ---> 201c491653fe 20:18:57 Step 11/25 : RUN ${MAKE} 20:18:57 ---> Running in 6fc746408ab5 20:18:58 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 20:19:16 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 20:19:19 Removing intermediate container 6fc746408ab5 20:19:19 ---> 4b67b252e688 20:19:19 Step 12/25 : FROM alpine:3.16 20:19:19 3.16: Pulling from library/alpine 20:19:19 530afca65e2e: Pulling fs layer 20:19:20 530afca65e2e: Download complete 20:19:20 530afca65e2e: Pull complete 20:19:20 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 20:19:20 Status: Downloaded newer image for alpine:3.16 20:19:20 ---> d7d3d98c851f 20:19:20 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:19:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21279 in /w/workspace/gexfoundry_device-sdk-go_PR-1202 [Pipeline] { [Pipeline] ws 20:19:20 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 20:19:20 The recommended git tool is: git 20:19:20 ---> Running in fff17c33ed6e 20:19:20 Removing intermediate container fff17c33ed6e 20:19:20 ---> 8d047c81cfed 20:19:20 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:19:20 ---> Running in 4097a644603c 20:19:20 Removing intermediate container 4097a644603c 20:19:20 ---> 2243ddc5d311 20:19:20 Step 15/25 : RUN apk add --update --no-cache zeromq 20:19:20 ---> Running in b6df27ed9512 20:19:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:19:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:19:22 (1/5) Installing libgcc (11.2.1_git20220219-r2) 20:19:22 (2/5) Installing libsodium (1.0.18-r0) 20:19:22 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 20:19:22 (4/5) Installing libzmq (4.3.4-r0) 20:19:22 (5/5) Installing zeromq (4.3.4-r0) 20:19:22 Executing busybox-1.35.0-r15.trigger 20:19:22 OK: 8 MiB in 19 packages 20:19:23 Removing intermediate container b6df27ed9512 20:19:23 ---> 6d9673321f21 20:19:23 Step 16/25 : WORKDIR / 20:19:23 ---> Running in 617621934c6e 20:19:23 Removing intermediate container 617621934c6e 20:19:23 ---> 077b406225d1 20:19:23 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 20:19:23 ---> 7e2c415dab70 20:19:23 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 20:19:24 ---> 5d8204dcf9cc 20:19:24 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 20:19:24 ---> c2b00273db58 20:19:24 Step 20/25 : EXPOSE 59999 20:19:24 ---> Running in 00f08969ca58 20:19:24 Removing intermediate container 00f08969ca58 20:19:24 ---> 7ff64595445e 20:19:24 Step 21/25 : ENTRYPOINT ["/device-simple"] 20:19:24 ---> Running in d23587466334 20:19:24 Removing intermediate container d23587466334 20:19:24 ---> a5af69578645 20:19:24 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:19:24 ---> Running in f07e451a2426 20:19:24 Removing intermediate container f07e451a2426 20:19:24 ---> f871b265b90a 20:19:24 Step 23/25 : LABEL arch=amd64 20:19:24 ---> Running in 746706f379af 20:19:24 Removing intermediate container 746706f379af 20:19:24 ---> da855de92991 20:19:24 Step 24/25 : LABEL git_sha=289f2937a3388de6b1a38b97599e42ca8dc13760 20:19:24 ---> Running in 0c43ffb3863d 20:19:24 Removing intermediate container 0c43ffb3863d 20:19:24 ---> 3ce1fa095ab9 20:19:24 Step 25/25 : LABEL version=0.0.0 20:19:24 ---> Running in 05a446b4ed4b 20:19:24 Removing intermediate container 05a446b4ed4b 20:19:24 ---> 5dd4fe0c6b2c 20:19:24 [Warning] One or more build-args [ARCH] were not consumed 20:19:24 Successfully built 5dd4fe0c6b2c 20:19:24 Successfully tagged device-sdk-simple: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 20:19:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:19:25 20:19:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:19:25 latest: Pulling from edgex-lftools-log-publisher 20:19:25 5eb5b503b376: Pulling fs layer 20:19:25 5c69ac0246d0: Pulling fs layer 20:19:25 ec43610c2a17: Pulling fs layer 20:19:25 3a2ae6a8a46f: Pulling fs layer 20:19:25 33b1e0a273af: Pulling fs layer 20:19:25 5d3b04190fa2: Pulling fs layer 20:19:25 2f39f015ded8: Pulling fs layer 20:19:25 3a2ae6a8a46f: Waiting 20:19:25 33b1e0a273af: Waiting 20:19:25 5d3b04190fa2: Waiting 20:19:25 2f39f015ded8: Waiting 20:19:25 5c69ac0246d0: Download complete 20:19:25 3a2ae6a8a46f: Verifying Checksum 20:19:25 3a2ae6a8a46f: Download complete 20:19:25 33b1e0a273af: Verifying Checksum 20:19:25 33b1e0a273af: Download complete 20:19:25 5d3b04190fa2: Verifying Checksum 20:19:25 5d3b04190fa2: Download complete 20:19:25 ec43610c2a17: Verifying Checksum 20:19:25 ec43610c2a17: Download complete 20:19:25 5eb5b503b376: Verifying Checksum 20:19:25 5eb5b503b376: Download complete 20:19:26 using credential edgex-jenkins-ssh 20:19:26 Cloning the remote Git repository 20:19:26 2f39f015ded8: Download complete 20:19:26 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 20:19:27 5eb5b503b376: Pull complete 20:19:27 5c69ac0246d0: Pull complete 20:19:26 > git init /w/workspace/device-sdk-go/3 # timeout=10 20:19:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:19:26 > git --version # timeout=10 20:19:26 > git --version # 'git version 2.25.1' 20:19:26 using GIT_SSH to set credentials SSH Credentials for GitHub 20:19:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:19:27 ec43610c2a17: Pull complete 20:19:27 3a2ae6a8a46f: Pull complete 20:19:28 33b1e0a273af: Pull complete 20:19:28 5d3b04190fa2: Pull complete 20:19:28 Merging remotes/origin/main commit 05709587d91994e95fbbf030ae60546eede8820e into PR head commit 289f2937a3388de6b1a38b97599e42ca8dc13760 20:19:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:19:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:19:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:19:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:19:28 using GIT_SSH to set credentials SSH Credentials for GitHub 20:19:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1202/head:refs/remotes/origin/PR-1202 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:19:28 > git config core.sparsecheckout # timeout=10 20:19:28 > git checkout -f 289f2937a3388de6b1a38b97599e42ca8dc13760 # timeout=10 20:19:29 > git remote # timeout=10 20:19:29 > git config --get remote.origin.url # timeout=10 20:19:29 using GIT_SSH to set credentials SSH Credentials for GitHub 20:19:29 > git merge 05709587d91994e95fbbf030ae60546eede8820e # timeout=10 20:19:29 Merge succeeded, producing 289f2937a3388de6b1a38b97599e42ca8dc13760 20:19:29 Checking out Revision 289f2937a3388de6b1a38b97599e42ca8dc13760 (PR-1202) 20:19:29 > git rev-parse HEAD^{commit} # timeout=10 20:19:29 > git config core.sparsecheckout # timeout=10 20:19:29 > git checkout -f 289f2937a3388de6b1a38b97599e42ca8dc13760 # timeout=10 20:19:33 Commit message: "fix: added DriverConfigs and SetDeviceOPState to DeviceServiceSDK interface and implementation." 20:19:33 2f39f015ded8: Pull complete 20:19:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:19:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:19:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:19:33 prd-ubuntu20.04-docker-8c-8g-21277 does not seem to be running inside a container 20:19:33 20:19:33 GitHub has been notified of this commit’s build result 20:19:33 20:19: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/gexfoundry_device-sdk-go_PR-1202 -v /w/workspace/gexfoundry_device-sdk-go_PR-1202:/w/workspace/gexfoundry_device-sdk-go_PR-1202:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1202@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:latest cat 20:19:36 $ docker top a15b9ec2d634ae91c512a1c0d43198912fa50b221e639a31f77ae221d7484ab1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:19:37 ---> job-cost.sh 20:19:37 lf-activate-venv: SKIPPING 20:19:37 INFO: No Stack... 20:19:37 INFO: Retrieving Pricing Info for: v3-standard-8 20:19:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:19:37 % Total % Received % Xferd Average Speed Time Time Time Current 20:19:37 Dload Upload Total Spent Left Speed 20:19:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 94861 0 --:--:-- --:--:-- --:--:-- 94861 [Pipeline] sh 20:19:38 INFO: Archiving Costs [Pipeline] sh 20:19:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:19:38 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives/cost.csv 20:19:38 + cut -d, -f6 [Pipeline] lock 20:19:38 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1202-3-stack-cost] 20:19:38 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1202-3-stack-cost] did not exist. Created. 20:19:38 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1202-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:19:38 + sudo tee /etc/docker/daemon.new 20:19:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:19:38 { 20:19:38 "registry-mirrors": [ 20:19:38 "https://nexus3.edgexfoundry.org:10001" 20:19:38 ], 20:19:38 "bip": "10.250.0.254/24", 20:19:38 "hosts": [ 20:19:38 "tcp://0.0.0.0:5555", 20:19:38 "unix:///var/run/docker.sock" 20:19:38 ], 20:19:38 "mtu": 1458, 20:19:38 "selinux-enabled": true, 20:19:38 "seccomp-profile": "/etc/docker/seccomp.json" 20:19:38 } [Pipeline] sh 20:19:38 + echo total: 0.2199999988079071 [Pipeline] stash 20:19:38 Stashed 1 file(s) [Pipeline] } 20:19:38 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1202-3-stack-cost] [Pipeline] // lock [Pipeline] } 20:19:38 $ docker stop --time=1 a15b9ec2d634ae91c512a1c0d43198912fa50b221e639a31f77ae221d7484ab1 20:19:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 20:19:39 $ docker rm -f a15b9ec2d634ae91c512a1c0d43198912fa50b221e639a31f77ae221d7484ab1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:19:40 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:19:58 provisioning config files... 20:19:58 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config2619200171571292626tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:19:59 ---> docker-login.sh 20:19:59 nexus3.edgexfoundry.org:10001 20:19:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:19:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:19:59 Configure a credential helper to remove this warning. See 20:19:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:19:59 20:19:59 Login Succeeded 20:19:59 nexus3.edgexfoundry.org:10002 20:20:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:00 Configure a credential helper to remove this warning. See 20:20:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:00 20:20:00 Login Succeeded 20:20:00 nexus3.edgexfoundry.org:10003 20:20:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:00 Configure a credential helper to remove this warning. See 20:20:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:00 20:20:00 Login Succeeded 20:20:00 nexus3.edgexfoundry.org:10004 20:20:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:01 Configure a credential helper to remove this warning. See 20:20:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:01 20:20:01 Login Succeeded 20:20:01 docker.io 20:20:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:02 Configure a credential helper to remove this warning. See 20:20:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:02 20:20:02 Login Succeeded 20:20:02 ---> docker-login.sh ends [Pipeline] } 20:20:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:20:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:20:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:20:02 ========================================================= 20:20:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:20:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:20:03 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:20:03 Sending build context to Docker daemon 5.252MB 20:20:03 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 20:20:03 Step 2/11 : FROM ${BASE} AS builder 20:20:03 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:20:03 b3c136eddcbf: Pulling fs layer 20:20:03 c0a3192eca97: Pulling fs layer 20:20:03 a050256f5b6f: Pulling fs layer 20:20:03 656be50a0ddc: Pulling fs layer 20:20:03 2bbca73fdf42: Pulling fs layer 20:20:03 46d945488cbd: Pulling fs layer 20:20:03 656be50a0ddc: Waiting 20:20:03 8a5474983e97: Pulling fs layer 20:20:03 329c88fbcd65: Pulling fs layer 20:20:03 46d945488cbd: Waiting 20:20:03 2bbca73fdf42: Waiting 20:20:03 8a5474983e97: Waiting 20:20:03 329c88fbcd65: Waiting 20:20:03 a050256f5b6f: Verifying Checksum 20:20:03 a050256f5b6f: Download complete 20:20:03 c0a3192eca97: Verifying Checksum 20:20:03 c0a3192eca97: Download complete 20:20:03 2bbca73fdf42: Verifying Checksum 20:20:03 2bbca73fdf42: Download complete 20:20:03 46d945488cbd: Verifying Checksum 20:20:03 46d945488cbd: Download complete 20:20:03 b3c136eddcbf: Verifying Checksum 20:20:03 b3c136eddcbf: Download complete 20:20:04 b3c136eddcbf: Pull complete 20:20:05 329c88fbcd65: Verifying Checksum 20:20:05 329c88fbcd65: Download complete 20:20:05 c0a3192eca97: Pull complete 20:20:05 a050256f5b6f: Pull complete 20:20:06 8a5474983e97: Verifying Checksum 20:20:06 8a5474983e97: Download complete 20:20:06 656be50a0ddc: Verifying Checksum 20:20:06 656be50a0ddc: Download complete 20:20:21 656be50a0ddc: Pull complete 20:20:21 2bbca73fdf42: Pull complete 20:20:21 46d945488cbd: Pull complete 20:20:26 8a5474983e97: Pull complete 20:20:28 329c88fbcd65: Pull complete 20:20:28 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 20:20:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:20:28 ---> ff4287adb874 20:20:28 Step 3/11 : ARG MAKE=make build 20:20:30 ---> Running in cc76944138cd 20:20:30 Removing intermediate container cc76944138cd 20:20:30 ---> cec0c8d79dca 20:20:30 Step 4/11 : WORKDIR /device-sdk-go 20:20:30 ---> Running in f33d986e8a71 20:20:30 Removing intermediate container f33d986e8a71 20:20:30 ---> 578ce108644c 20:20:30 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:20:30 ---> Running in 2c8659e860d4 20:20:31 Removing intermediate container 2c8659e860d4 20:20:31 ---> 163bc08bd56b 20:20:31 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:20:31 ---> Running in 1c47554f0584 20:20:33 Removing intermediate container 1c47554f0584 20:20:33 ---> 36327dd41990 20:20:33 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 20:20:33 ---> Running in 5e441db55218 20:20:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:20:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:20:35 OK: 221 MiB in 51 packages 20:20:36 Removing intermediate container 5e441db55218 20:20:36 ---> 80f3b6d6c037 20:20:36 Step 8/11 : COPY go.mod vendor* ./ 20:20:37 ---> b9ea6e8f0650 20:20:37 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:20:37 ---> Running in a33c116c5714 20:21:33 Removing intermediate container a33c116c5714 20:21:33 ---> ff954827549c 20:21:33 Step 10/11 : COPY . . 20:21:33 ---> f05ec8b7ec4e 20:21:33 Step 11/11 : RUN ${MAKE} 20:21:33 ---> Running in f698a280c55c 20:21:33 noop 20:21:33 Removing intermediate container f698a280c55c 20:21:33 ---> 9886cad65998 20:21:33 Successfully built 9886cad65998 20:21:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:21:33 + docker inspect -f . ci-base-image-arm64 20:21:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:21:34 prd-ubuntu20.04-docker-arm64-4c-16g-21279 does not seem to be running inside a container 20:21:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-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 20:21:35 $ docker top 9c943a9736cf05a6c7188529d5467c26376a4c7f90b691788e4c5e14eec564bd -eo pid,comm [Pipeline] { [Pipeline] sh 20:21:36 + go version 20:21:36 go version go1.18.3 linux/arm64 [Pipeline] } 20:21:36 $ docker stop --time=1 9c943a9736cf05a6c7188529d5467c26376a4c7f90b691788e4c5e14eec564bd 20:21:38 $ docker rm -f 9c943a9736cf05a6c7188529d5467c26376a4c7f90b691788e4c5e14eec564bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:21:38 + docker inspect -f . ci-base-image-arm64 20:21:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:21:39 prd-ubuntu20.04-docker-arm64-4c-16g-21279 does not seem to be running inside a container 20:21:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-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 20:21:40 $ docker top d7353335e1cab6ec653299c863c9c04b00d0c6bb57e063ad9fc8bde92b45ca91 -eo pid,comm [Pipeline] { [Pipeline] sh 20:21:41 + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh 20:21:42 + make test 20:21:42 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 20:22:14 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 20:23:51 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 20:23:51 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 20:23:51 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 20:23:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.364s coverage: 23.7% of statements 20:23:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 20:23:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.252s coverage: 27.6% of statements 20:23:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.306s coverage: 78.9% of statements 20:23:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.309s coverage: 10.8% of statements 20:24:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.405s coverage: 60.0% of statements 20:24:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 20:24:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 20:24:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.441s coverage: 34.8% of statements 20:24:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 20:24:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.334s coverage: 85.4% of statements 20:24:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 20:24:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 20:24:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.400s coverage: 65.1% of statements 20:24:07 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 20:24:07 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 20:24:13 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.985s coverage: 89.2% of statements 20:24:13 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 20:24:13 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.220s coverage: 4.7% of statements 20:24:13 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 20:24:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:24:13 GO111MODULE=on go vet ./... 20:25:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:25:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:25:35 ./bin/test-attribution-txt.sh 20:25:35 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 20:25:35 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 20:25:35 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 20:25:35 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 20:25:35 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 20:25:35 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 20:25:35 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 20:25:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:25:35 $ docker stop --time=1 d7353335e1cab6ec653299c863c9c04b00d0c6bb57e063ad9fc8bde92b45ca91 20:25:36 $ docker rm -f d7353335e1cab6ec653299c863c9c04b00d0c6bb57e063ad9fc8bde92b45ca91 [Pipeline] // withDockerContainer [Pipeline] sh 20:25:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:25:38 Warning: overwriting stash ‘coverage-report’ 20:25:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:25:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:25:39 + ls -al . 20:25:39 total 300 20:25:39 drwxrwxr-x 10 jenkins jenkins 4096 Jul 27 20:21 . 20:25:39 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 20:19 .. 20:25:39 -rw-rw-r-- 1 jenkins jenkins 140 Jul 27 20:19 .dockerignore 20:25:39 drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 20:19 .git 20:25:39 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 20:19 .github 20:25:39 -rw-rw-r-- 1 jenkins jenkins 131 Jul 27 20:19 .gitignore 20:25:39 -rw-rw-r-- 1 jenkins jenkins 42 Jul 27 20:19 .golangci.yml 20:25:39 -rw-rw-r-- 1 jenkins jenkins 29536 Jul 27 20:19 CHANGELOG.md 20:25:39 -rw-rw-r-- 1 jenkins jenkins 677 Jul 27 20:19 GOVERNANCE.md 20:25:39 -rw-rw-r-- 1 jenkins jenkins 880 Jul 27 20:19 Jenkinsfile 20:25:39 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 27 20:19 LICENSE 20:25:39 -rw-rw-r-- 1 jenkins jenkins 2002 Jul 27 20:19 Makefile 20:25:39 -rw-rw-r-- 1 jenkins jenkins 619 Jul 27 20:19 OWNERS.md 20:25:39 -rw-rw-r-- 1 jenkins jenkins 4881 Jul 27 20:19 README.md 20:25:39 -rw-rw-r-- 1 jenkins jenkins 5 Jul 27 20:17 VERSION 20:25:39 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 20:19 bin 20:25:39 -rw-r--r-- 1 jenkins jenkins 131677 Jul 27 20:24 coverage.out 20:25:39 drwxrwxr-x 5 jenkins jenkins 4096 Jul 27 20:19 example 20:25:39 -rw-rw-r-- 1 jenkins jenkins 3553 Jul 27 20:19 go.mod 20:25:39 -rw-rw-r-- 1 jenkins jenkins 36743 Jul 27 20:19 go.sum 20:25:39 drwxrwxr-x 15 jenkins jenkins 4096 Jul 27 20:19 internal 20:25:39 drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 20:19 openapi 20:25:39 drwxrwxr-x 6 jenkins jenkins 4096 Jul 27 20:19 pkg 20:25:39 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 20:19 snap 20:25:39 -rw-rw-r-- 1 jenkins jenkins 222 Jul 27 20:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:25:40 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=289f2937a3388de6b1a38b97599e42ca8dc13760 --label arch=arm64 --label version=0.0.0 . 20:25:40 Sending build context to Docker daemon 5.385MB 20:25:40 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 20:25:40 Step 2/25 : FROM ${BASE} AS builder 20:25:40 ---> 9886cad65998 20:25:40 Step 3/25 : ARG MAKE=make build 20:25:40 ---> Running in dfe59377441b 20:25:40 Removing intermediate container dfe59377441b 20:25:40 ---> 3150973f8ac5 20:25:40 Step 4/25 : WORKDIR /device-sdk-go 20:25:41 ---> Running in d0ab7e03f11b 20:25:41 Removing intermediate container d0ab7e03f11b 20:25:41 ---> 41c98a3184c9 20:25:41 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:25:41 ---> Running in 6abd61f51fad 20:25:41 Removing intermediate container 6abd61f51fad 20:25:41 ---> 11e7841a366a 20:25:41 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:25:41 ---> Running in 299578a971d7 20:25:43 Removing intermediate container 299578a971d7 20:25:43 ---> 5f53c99e88fe 20:25:43 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 20:25:43 ---> Running in 07a7bf67637e 20:25:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:25:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:25:46 OK: 221 MiB in 51 packages 20:25:47 Removing intermediate container 07a7bf67637e 20:25:47 ---> 61c8fd7e757a 20:25:47 Step 8/25 : COPY go.mod vendor* ./ 20:25:47 ---> 4dbafea64125 20:25:47 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:25:47 ---> Running in 8a387ca6d828 20:25:49 Removing intermediate container 8a387ca6d828 20:25:49 ---> 014983c17580 20:25:49 Step 10/25 : COPY . . 20:25:50 ---> 1fb58afde432 20:25:50 Step 11/25 : RUN ${MAKE} 20:25:50 ---> Running in b01b976d2ec2 20:25:51 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 20:27:58 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 20:27:58 Removing intermediate container b01b976d2ec2 20:27:58 ---> 3f44c5747f52 20:27:58 Step 12/25 : FROM alpine:3.16 20:27:58 3.16: Pulling from library/alpine 20:27:58 f97344484467: Pulling fs layer 20:27:58 f97344484467: Verifying Checksum 20:27:58 f97344484467: Download complete 20:27:58 f97344484467: Pull complete 20:27:58 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 20:27:58 Status: Downloaded newer image for alpine:3.16 20:27:58 ---> 3d81c46cd875 20:27:58 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:27:58 ---> Running in 7d36f405dad7 20:27:58 Removing intermediate container 7d36f405dad7 20:27:58 ---> c9f7f03db313 20:27:58 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:27:58 ---> Running in d6946b135f0b 20:27:58 Removing intermediate container d6946b135f0b 20:27:58 ---> c4d74be7eb7e 20:27:58 Step 15/25 : RUN apk add --update --no-cache zeromq 20:27:58 ---> Running in c33029ff67b9 20:27:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:27:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:27:58 (1/5) Installing libgcc (11.2.1_git20220219-r2) 20:27:58 (2/5) Installing libsodium (1.0.18-r0) 20:27:58 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 20:27:59 (4/5) Installing libzmq (4.3.4-r0) 20:27:59 (5/5) Installing zeromq (4.3.4-r0) 20:27:59 Executing busybox-1.35.0-r15.trigger 20:27:59 OK: 8 MiB in 19 packages 20:27:59 Removing intermediate container c33029ff67b9 20:27:59 ---> 1569243ce029 20:27:59 Step 16/25 : WORKDIR / 20:27:59 ---> Running in 5ec4cffdf881 20:28:00 Removing intermediate container 5ec4cffdf881 20:28:00 ---> fb12bfa70549 20:28:00 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 20:28:00 ---> 8f6e2c0af14e 20:28:00 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 20:28:02 ---> d9356d2a35c7 20:28:02 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 20:28:02 ---> c091d2b38605 20:28:02 Step 20/25 : EXPOSE 59999 20:28:02 ---> Running in fee3e3c96dc9 20:28:03 Removing intermediate container fee3e3c96dc9 20:28:03 ---> d2c59306ec7d 20:28:03 Step 21/25 : ENTRYPOINT ["/device-simple"] 20:28:03 ---> Running in 3bfcba72af0b 20:28:03 Removing intermediate container 3bfcba72af0b 20:28:03 ---> b2a8d9915292 20:28:03 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:28:03 ---> Running in f32cd1e25f46 20:28:04 Removing intermediate container f32cd1e25f46 20:28:04 ---> 4b34efe12b93 20:28:04 Step 23/25 : LABEL arch=arm64 20:28:04 ---> Running in 9eac75786718 20:28:04 Removing intermediate container 9eac75786718 20:28:04 ---> cd16655cb0c5 20:28:04 Step 24/25 : LABEL git_sha=289f2937a3388de6b1a38b97599e42ca8dc13760 20:28:04 ---> Running in f4583cd3a05c 20:28:04 Removing intermediate container f4583cd3a05c 20:28:04 ---> 82d98fb75e86 20:28:04 Step 25/25 : LABEL version=0.0.0 20:28:04 ---> Running in 3883f2dea5af 20:28:05 Removing intermediate container 3883f2dea5af 20:28:05 ---> 979640d549f3 20:28:05 [Warning] One or more build-args [ARCH] were not consumed 20:28:05 Successfully built 979640d549f3 20:28:05 Successfully tagged device-sdk-simple-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 20:28:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:28:05 20:28:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:28:06 arm64: Pulling from edgex-lftools-log-publisher 20:28:06 8998bd30e6a1: Pulling fs layer 20:28:06 04944245beec: Pulling fs layer 20:28:06 699f458cf7ca: Pulling fs layer 20:28:06 765212b225bb: Pulling fs layer 20:28:06 f23df028b6ca: Pulling fs layer 20:28:06 d65c8cfc05b1: Pulling fs layer 20:28:06 2437ff75d9bd: Pulling fs layer 20:28:06 765212b225bb: Waiting 20:28:06 f23df028b6ca: Waiting 20:28:06 d65c8cfc05b1: Waiting 20:28:06 2437ff75d9bd: Waiting 20:28:06 04944245beec: Verifying Checksum 20:28:06 04944245beec: Download complete 20:28:06 765212b225bb: Verifying Checksum 20:28:06 765212b225bb: Download complete 20:28:06 f23df028b6ca: Download complete 20:28:06 d65c8cfc05b1: Verifying Checksum 20:28:06 d65c8cfc05b1: Download complete 20:28:06 699f458cf7ca: Verifying Checksum 20:28:06 699f458cf7ca: Download complete 20:28:06 8998bd30e6a1: Verifying Checksum 20:28:06 8998bd30e6a1: Download complete 20:28:09 2437ff75d9bd: Verifying Checksum 20:28:09 2437ff75d9bd: Download complete 20:28:11 8998bd30e6a1: Pull complete 20:28:11 04944245beec: Pull complete 20:28:13 699f458cf7ca: Pull complete 20:28:13 765212b225bb: Pull complete 20:28:14 f23df028b6ca: Pull complete 20:28:14 d65c8cfc05b1: Pull complete 20:28:29 2437ff75d9bd: Pull complete 20:28:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:28:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:28:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:28:29 prd-ubuntu20.04-docker-arm64-4c-16g-21279 does not seem to be running inside a container 20:28:29 $ 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-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-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 20:28:32 $ docker top e8f42eee419be52ca971cc6b0641d3607fcf940b838130d764ffc5d72cef2299 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:28:33 ---> job-cost.sh 20:28:33 lf-activate-venv: SKIPPING 20:28:33 INFO: No Stack... 20:28:33 INFO: Retrieving Pricing Info for: v3-standard-4 20:28:34 INFO: Archiving Costs [Pipeline] sh 20:28:35 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 20:28:35 + cut -d, -f6 [Pipeline] lock 20:28:35 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1202-3-stack-cost] 20:28:35 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1202-3-stack-cost] did not exist. Created. 20:28:35 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1202-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:28:36 /w/workspace/device-sdk-go/3@tmp/durable-8fa0679c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:28:36 + echo total: 0.10999999940395355 [Pipeline] stash 20:28:37 Warning: overwriting stash ‘stack-cost’ 20:28:37 Stashed 1 file(s) [Pipeline] } 20:28:37 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1202-3-stack-cost] [Pipeline] // lock [Pipeline] } 20:28:37 $ docker stop --time=1 e8f42eee419be52ca971cc6b0641d3607fcf940b838130d764ffc5d72cef2299 20:28:38 $ docker rm -f e8f42eee419be52ca971cc6b0641d3607fcf940b838130d764ffc5d72cef2299 [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 20:28:39 provisioning config files... 20:28:39 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/config2911124607509483799tmp [Pipeline] { [Pipeline] sh 20:28:39 + set +x 20:28:39 + curl -s https://codecov.io/bash 20:28:39 + bash -s -- 20:28:39 20:28:39 _____ _ 20:28:39 / ____| | | 20:28:39 | | ___ __| | ___ ___ _____ __ 20:28:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:28:39 | |___| (_) | (_| | __/ (_| (_) \ V / 20:28:39 \_____\___/ \__,_|\___|\___\___/ \_/ 20:28:39 Bash-1.0.6 20:28:39 20:28:39 20:28:39 ==> git version 2.25.1 found 20:28:39 ==> 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 20:28:39 Release-Date: 2020-01-08 20:28:39 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:28:39 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:28:39 ==> Jenkins CI detected. 20:28:39 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1202 20:28:39 project root: . 20:28:39 --> token set from env 20:28:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:28:39 ==> Running gcov in . (disable via -X gcov) 20:28:39 ==> Python coveragepy not found 20:28:39 ==> Searching for coverage reports in: 20:28:39 + . 20:28:39 -> Found 1 reports 20:28:39 ==> Detecting git/mercurial file structure 20:28:39 ==> Reading reports 20:28:39 + ./coverage.out bytes=131677 20:28:39 ==> Appending adjustments 20:28:39 https://docs.codecov.io/docs/fixing-reports 20:28:39 + Found adjustments 20:28:39 ==> Gzipping contents 20:28:39 20K /tmp/codecov.Yiz39R.gz 20:28:39 ==> Uploading reports 20:28:39 url: https://codecov.io 20:28:39 query: branch=PR-1202&commit=289f2937a3388de6b1a38b97599e42ca8dc13760&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1202%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1202&job=&cmd_args= 20:28:39 -> Pinging Codecov 20:28:39 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1202&commit=289f2937a3388de6b1a38b97599e42ca8dc13760&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1202%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1202&job=&cmd_args= 20:28:40 -> Uploading to 20:28:40 https://storage.googleapis.com/codecov/v4/raw/2022-07-27/7E55EF52A471D76F132DFD9A03CDDE97/289f2937a3388de6b1a38b97599e42ca8dc13760/b519de59-1504-4e50-b817-7b5e94e3d869.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220727%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220727T202840Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=acfc7a79f686aa67f64b953dc5a46f81fe0e2d813b0f29aca82c0c063746220c 20:28:40 % Total % Received % Xferd Average Speed Time Time Time Current 20:28:40 Dload Upload Total Spent Left Speed 20:28:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17322 0 0 100 17322 0 71875 --:--:-- --:--:-- --:--:-- 71875 20:28:40 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/289f2937a3388de6b1a38b97599e42ca8dc13760 [Pipeline] } 20:28:40 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 20:28:41 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives ] 20:28:41 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives 20:28:41 total 16 20:28:41 drwxr-xr-x 3 root root 4096 Jul 27 20:19 . 20:28:41 drwxrwxr-x 12 jenkins jenkins 4096 Jul 27 20:19 .. 20:28:41 drwxr-xr-x 2 root root 4096 Jul 27 20:19 cost 20:28:41 -rw-r--r-- 1 root root 86 Jul 27 20:19 cost.csv 20:28:41 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives 20:28:41 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives 20:28:41 total 16 20:28:41 drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 20:19 . 20:28:41 drwxrwxr-x 12 jenkins jenkins 4096 Jul 27 20:19 .. 20:28:41 drwxr-xr-x 2 jenkins jenkins 4096 Jul 27 20:19 cost 20:28:41 -rw-r--r-- 1 jenkins jenkins 86 Jul 27 20:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:28:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:28:42 ---> package-listing.sh 20:28:42 ++ tr '[:upper:]' '[:lower:]' 20:28:42 ++ facter osfamily 20:28:42 + OS_FAMILY=debian 20:28:42 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1202 20:28:42 + START_PACKAGES=/tmp/packages_start.txt 20:28:42 + END_PACKAGES=/tmp/packages_end.txt 20:28:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:28:42 + PACKAGES=/tmp/packages_start.txt 20:28:42 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1202 ']' 20:28:42 + PACKAGES=/tmp/packages_end.txt 20:28:42 + case "${OS_FAMILY}" in 20:28:42 + dpkg -l 20:28:42 + grep '^ii' 20:28:42 + '[' -f /tmp/packages_start.txt ']' 20:28:42 + '[' -f /tmp/packages_end.txt ']' 20:28:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:28:42 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1202 ']' 20:28:42 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives/ 20:28:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives/ [Pipeline] echo 20:28:42 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/gexfoundry_device-sdk-go_PR-1202/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:28:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:28:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:28:43 prd-ubuntu20.04-docker-8c-8g-21277 does not seem to be running inside a container 20:28:43 $ 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/gexfoundry_device-sdk-go_PR-1202/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1202 -v /w/workspace/gexfoundry_device-sdk-go_PR-1202:/w/workspace/gexfoundry_device-sdk-go_PR-1202:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1202@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 20:28:43 $ docker top f3f89ab127d6f8290b6526f18f4ec07a0b97afcad73a9ca2767439560a1b6403 -eo pid,comm [Pipeline] { [Pipeline] sh 20:28:43 + touch /tmp/pre-build-complete [Pipeline] sh 20:28:44 + mkdir -p /var/log/sysstat [Pipeline] sh 20:28:44 + ls /var/log/sa-host 20:28:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:28:44 provisioning config files... 20:28:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/config952889220051094070tmp [Pipeline] { [Pipeline] echo 20:28:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:28:44 ---> create-netrc.sh [Pipeline] } 20:28:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:28:45 ---> python-tools-install.sh [Pipeline] echo 20:28:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:28:45 ---> sudo-logs.sh 20:28:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:28:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:28:45 ---> job-cost.sh 20:28:45 lf-activate-venv: SKIPPING 20:28:45 DEBUG: total: 0.2199999988079071 20:28:45 INFO: Retrieving Stack Cost... 20:28:46 INFO: Retrieving Pricing Info for: v3-standard-8 20:28:46 INFO: Archiving Costs [Pipeline] echo 20:28:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:28:47 ---> logs-deploy.sh 20:28:47 lf-activate-venv: SKIPPING 20:28:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1202/3 20:28:47 INFO: archiving workspace using pattern(s): 20:28:47 Archives upload complete. 20:28:47 INFO: archiving logs to Nexus