Pull request #1202 opened 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 00b9a24ffb44d8f1807231066c19aa1f6134bdec 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-ssh11139287174231295251.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-ssh7054298198505509411.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1202/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1202/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15543066255978207897.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1202/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8417122615923323508.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16844362360113880093.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1202/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1202/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14147470914502911640.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e 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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-21260 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 00b9a24ffb44d8f1807231066c19aa1f6134bdec Merge succeeded, producing 00b9a24ffb44d8f1807231066c19aa1f6134bdec Checking out Revision 00b9a24ffb44d8f1807231066c19aa1f6134bdec (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 00b9a24ffb44d8f1807231066c19aa1f6134bdec # 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 00b9a24ffb44d8f1807231066c19aa1f6134bdec # timeout=10 Commit message: "fix: added DriverConfigs and SetDeviceOPState to DeviceServiceSDK interface and implementation." First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:00:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:00:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:00:58 ========================================================= 19:00:58 EdgeX Global Pipelines Version Info 19:00:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:00:59 ------------------- 19:00:59 stable info: 19:00:59 ------------------- 19:00:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:00:59 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 19:00:59 Message: update stable to v1.0.238 19:00:59 ------------------- 19:00:59 experimental info: 19:00:59 ------------------- 19:00:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:00:59 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 19:00:59 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:01:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 19:01:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 19:01:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:01:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:01:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:01:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 19:01:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:01:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 19:01:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:01:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:01:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:01:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 19:01:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:01:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:01:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:01:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 19:01:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:01:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:01:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:01:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:01:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 19:01:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 19:01:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:01:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:01:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:01:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:01:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:01:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1202 [Pipeline] echo 19:01:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1202 [Pipeline] echo 19:01:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1202 [Pipeline] echo 19:01:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 00b9a24ffb44d8f1807231066c19aa1f6134bdec [Pipeline] echo 19:01:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 00b9a24 [Pipeline] echo 19:01:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:01:01 provisioning config files... 19:01:01 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/config8757228228765479254tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:01:02 ---> docker-login.sh 19:01:02 nexus3.edgexfoundry.org:10001 19:01:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:02 Configure a credential helper to remove this warning. See 19:01:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:02 19:01:02 Login Succeeded 19:01:02 nexus3.edgexfoundry.org:10002 19:01:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:02 Configure a credential helper to remove this warning. See 19:01:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:02 19:01:02 Login Succeeded 19:01:02 nexus3.edgexfoundry.org:10003 19:01:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:02 Configure a credential helper to remove this warning. See 19:01:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:02 19:01:02 Login Succeeded 19:01:02 nexus3.edgexfoundry.org:10004 19:01:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:03 Configure a credential helper to remove this warning. See 19:01:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:03 19:01:03 Login Succeeded 19:01:03 docker.io 19:01:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:03 Configure a credential helper to remove this warning. See 19:01:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:03 19:01:03 Login Succeeded 19:01:03 ---> docker-login.sh ends [Pipeline] } 19:01:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:01:04 + git rev-list -1 --merges 00b9a24ffb44d8f1807231066c19aa1f6134bdec~1..00b9a24ffb44d8f1807231066c19aa1f6134bdec [Pipeline] echo 19:01:04 -----------> git rev-list -1 --merges 00b9a24ffb44d8f1807231066c19aa1f6134bdec~1..00b9a24ffb44d8f1807231066c19aa1f6134bdec 00b9a24ffb44d8f1807231066c19aa1f6134bdec [false] [Pipeline] sh 19:01:04 + git log --format=format:%s -1 00b9a24ffb44d8f1807231066c19aa1f6134bdec [Pipeline] echo 19:01:04 ========================================================= 19:01:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:01:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:01:05 + git log --format=format:%s -1 00b9a24ffb44d8f1807231066c19aa1f6134bdec [Pipeline] echo 19:01:05 [semverPrep] GIT_COMMIT: 00b9a24ffb44d8f1807231066c19aa1f6134bdec, Commit Message: fix: added DriverConfigs and SetDeviceOPState to DeviceServiceSDK interface and implementation. [Pipeline] echo 19:01:05 [semverPrep] This is not a build commit. [Pipeline] sh 19:01:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:01:05 + grep -v github /etc/ssh/ssh_known_hosts 19:01:05 + [ -e /tmp/ssh_known_hosts ] 19:01:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:01:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:01:05 + sudo tee -a /etc/ssh/ssh_known_hosts 19:01:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:01:06 19:01:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:01:06 0.1.4: Pulling from edgex-devops/py-git-semver 19:01:06 b85a868b505f: Pulling fs layer 19:01:06 e2be974225ed: Pulling fs layer 19:01:06 339a4e72a1f5: Pulling fs layer 19:01:06 988bab9f4d93: Pulling fs layer 19:01:06 1469e6f7b9e6: Pulling fs layer 19:01:06 eaf3925da568: Pulling fs layer 19:01:06 988bab9f4d93: Waiting 19:01:06 1469e6f7b9e6: Waiting 19:01:06 bab4dde63d76: Pulling fs layer 19:01:06 bde34c3a00c8: Pulling fs layer 19:01:06 b352a97aabf1: Pulling fs layer 19:01:06 4872d77fe225: Pulling fs layer 19:01:06 5851b861e8e6: Pulling fs layer 19:01:06 eaf3925da568: Waiting 19:01:06 bab4dde63d76: Waiting 19:01:06 bde34c3a00c8: Waiting 19:01:06 4872d77fe225: Waiting 19:01:06 5851b861e8e6: Waiting 19:01:06 e2be974225ed: Verifying Checksum 19:01:06 e2be974225ed: Download complete 19:01:06 988bab9f4d93: Verifying Checksum 19:01:06 988bab9f4d93: Download complete 19:01:06 1469e6f7b9e6: Verifying Checksum 19:01:06 1469e6f7b9e6: Download complete 19:01:06 339a4e72a1f5: Verifying Checksum 19:01:06 339a4e72a1f5: Download complete 19:01:06 eaf3925da568: Verifying Checksum 19:01:06 eaf3925da568: Download complete 19:01:06 bde34c3a00c8: Verifying Checksum 19:01:06 bde34c3a00c8: Download complete 19:01:06 b352a97aabf1: Download complete 19:01:06 4872d77fe225: Verifying Checksum 19:01:06 4872d77fe225: Download complete 19:01:06 5851b861e8e6: Verifying Checksum 19:01:06 b85a868b505f: Verifying Checksum 19:01:06 b85a868b505f: Download complete 19:01:07 bab4dde63d76: Verifying Checksum 19:01:07 bab4dde63d76: Download complete 19:01:08 b85a868b505f: Pull complete 19:01:08 e2be974225ed: Pull complete 19:01:08 339a4e72a1f5: Pull complete 19:01:08 988bab9f4d93: Pull complete 19:01:09 1469e6f7b9e6: Pull complete 19:01:09 eaf3925da568: Pull complete 19:01:11 bab4dde63d76: Pull complete 19:01:11 bde34c3a00c8: Pull complete 19:01:11 b352a97aabf1: Pull complete 19:01:11 4872d77fe225: Pull complete 19:01:11 5851b861e8e6: Pull complete 19:01:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:01:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:01:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:01:11 prd-ubuntu20.04-docker-8c-8g-21260 does not seem to be running inside a container 19:01:11 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:01:12 $ docker top 7dc72eb41531e7328908b7257668d28df347bcd02cb5db47c55a3a99d6a54efa -eo pid,comm 19:01:12 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). 19:01:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:01:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:01:13 [ssh-agent] Looking for ssh-agent implementation... 19:01:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:01:13 $ docker exec 7dc72eb41531e7328908b7257668d28df347bcd02cb5db47c55a3a99d6a54efa ssh-agent 19:01:13 SSH_AUTH_SOCK=/tmp/ssh-IKmXq8s4JcZE/agent.33 19:01:13 SSH_AGENT_PID=40 19:01:13 Running ssh-add (command line suppressed) 19:01:13 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/private_key_1161196017983407548.key (/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/private_key_1161196017983407548.key) 19:01:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:01:13 + git tag --points-at HEAD [Pipeline] } 19:01:13 $ docker exec --env ******** --env ******** 7dc72eb41531e7328908b7257668d28df347bcd02cb5db47c55a3a99d6a54efa ssh-agent -k 19:01:13 unset SSH_AUTH_SOCK; 19:01:13 unset SSH_AGENT_PID; 19:01:13 echo Agent pid 40 killed; 19:01:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:01:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:01:14 [ssh-agent] Looking for ssh-agent implementation... 19:01:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:01:14 $ docker exec 7dc72eb41531e7328908b7257668d28df347bcd02cb5db47c55a3a99d6a54efa ssh-agent 19:01:14 SSH_AUTH_SOCK=/tmp/ssh-P51ZQ05x6jsd/agent.74 19:01:14 SSH_AGENT_PID=80 19:01:14 Running ssh-add (command line suppressed) 19:01:14 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/private_key_1289067280516293027.key (/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/private_key_1289067280516293027.key) 19:01:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:01:14 + git semver init 19:01:14 2022-07-27 19:01:14,926 [run_init] DEBUG init version:0.0.0 force:False 19:01:14 2022-07-27 19:01:14,927 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver 19:01:14 2022-07-27 19:01:14,928 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver 19:01:14 2022-07-27 19:01:14,928 [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) 19:01:15 2022-07-27 19:01:15,707 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1202/.git/info/exclude 19:01:15 2022-07-27 19:01:15,708 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver/PR-1202 with force:False 19:01:15 2022-07-27 19:01:15,708 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver/PR-1202 19:01:15 2022-07-27 19:01:15,714 [execute] INFO git cat-file --batch-check 19:01:15 2022-07-27 19:01:15,715 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver, universal_newlines=False, shell=None, istream=) 19:01:15 2022-07-27 19:01:15,724 [execute] INFO git cat-file --batch 19:01:15 2022-07-27 19:01:15,724 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver, universal_newlines=False, shell=None, istream=) 19:01:15 2022-07-27 19:01:15,730 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver/PR-1202 19:01:15 0.0.0 [Pipeline] } 19:01:15 $ docker exec --env ******** --env ******** 7dc72eb41531e7328908b7257668d28df347bcd02cb5db47c55a3a99d6a54efa ssh-agent -k 19:01:16 unset SSH_AUTH_SOCK; 19:01:16 unset SSH_AGENT_PID; 19:01:16 echo Agent pid 80 killed; 19:01:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:01:16 + git semver [Pipeline] } 19:01:16 $ docker stop --time=1 7dc72eb41531e7328908b7257668d28df347bcd02cb5db47c55a3a99d6a54efa 19:01:18 $ docker rm -f 7dc72eb41531e7328908b7257668d28df347bcd02cb5db47c55a3a99d6a54efa [Pipeline] // withDockerContainer [Pipeline] sh 19:01:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:01:18 Stashed 1 file(s) [Pipeline] echo 19:01:18 [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 19:01:19 provisioning config files... 19:01:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/config6717380047118266002tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:01:19 ---> docker-login.sh 19:01:19 nexus3.edgexfoundry.org:10001 19:01:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:19 Configure a credential helper to remove this warning. See 19:01:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:19 19:01:19 Login Succeeded 19:01:19 nexus3.edgexfoundry.org:10002 19:01:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:20 Configure a credential helper to remove this warning. See 19:01:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:20 19:01:20 Login Succeeded 19:01:20 nexus3.edgexfoundry.org:10003 19:01:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:20 Configure a credential helper to remove this warning. See 19:01:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:20 19:01:20 Login Succeeded 19:01:20 nexus3.edgexfoundry.org:10004 19:01:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:20 Configure a credential helper to remove this warning. See 19:01:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:20 19:01:20 Login Succeeded 19:01:20 docker.io 19:01:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:20 Configure a credential helper to remove this warning. See 19:01:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:20 19:01:20 Login Succeeded 19:01:20 ---> docker-login.sh ends [Pipeline] } 19:01:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:01:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:01:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:01:20 ========================================================= 19:01:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 19:01:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:21 + 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 . 19:01:21 Sending build context to Docker daemon 9.769MB 19:01:21 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 19:01:21 Step 2/11 : FROM ${BASE} AS builder 19:01:21 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 19:01:21 2408cc74d12b: Pulling fs layer 19:01:21 ea60b727a1ce: Pulling fs layer 19:01:21 30c4a7721957: Pulling fs layer 19:01:21 370296b7ddb6: Pulling fs layer 19:01:21 7c6cee850709: Pulling fs layer 19:01:21 39a5fcdaea64: Pulling fs layer 19:01:21 d94ebbe4e438: Pulling fs layer 19:01:21 bcfd1f05c69d: Pulling fs layer 19:01:21 59ccb84bbe0f: Pulling fs layer 19:01:21 370296b7ddb6: Waiting 19:01:21 7c6cee850709: Waiting 19:01:21 39a5fcdaea64: Waiting 19:01:21 d94ebbe4e438: Waiting 19:01:21 bcfd1f05c69d: Waiting 19:01:21 59ccb84bbe0f: Waiting 19:01:21 30c4a7721957: Verifying Checksum 19:01:21 30c4a7721957: Download complete 19:01:21 ea60b727a1ce: Download complete 19:01:21 7c6cee850709: Download complete 19:01:21 39a5fcdaea64: Verifying Checksum 19:01:21 39a5fcdaea64: Download complete 19:01:21 2408cc74d12b: Verifying Checksum 19:01:21 2408cc74d12b: Download complete 19:01:21 d94ebbe4e438: Download complete 19:01:21 2408cc74d12b: Pull complete 19:01:21 ea60b727a1ce: Pull complete 19:01:21 30c4a7721957: Pull complete 19:01:21 59ccb84bbe0f: Verifying Checksum 19:01:21 59ccb84bbe0f: Download complete 19:01:22 bcfd1f05c69d: Verifying Checksum 19:01:22 bcfd1f05c69d: Download complete 19:01:22 370296b7ddb6: Verifying Checksum 19:01:22 370296b7ddb6: Download complete 19:01:26 370296b7ddb6: Pull complete 19:01:26 7c6cee850709: Pull complete 19:01:26 39a5fcdaea64: Pull complete 19:01:26 d94ebbe4e438: Pull complete 19:01:28 bcfd1f05c69d: Pull complete 19:01:28 59ccb84bbe0f: Pull complete 19:01:28 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 19:01:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 19:01:28 ---> a4fb48ad2a94 19:01:28 Step 3/11 : ARG MAKE=make build 19:01:30 ---> Running in 21b12fef10d0 19:01:30 Removing intermediate container 21b12fef10d0 19:01:30 ---> 03b500bb11d3 19:01:30 Step 4/11 : WORKDIR /device-sdk-go 19:01:30 ---> Running in 94a195700fee 19:01:30 Removing intermediate container 94a195700fee 19:01:30 ---> 408ef8da7a20 19:01:30 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:01:30 ---> Running in 70f75a85083e 19:01:30 Removing intermediate container 70f75a85083e 19:01:30 ---> 7e6512a953c2 19:01:30 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:01:31 ---> Running in 0cb7825a7f04 19:01:31 Removing intermediate container 0cb7825a7f04 19:01:31 ---> 42671f34451e 19:01:31 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 19:01:31 ---> Running in 2318e40b7236 19:01:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:01:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:01:33 OK: 211 MiB in 51 packages 19:01:33 Removing intermediate container 2318e40b7236 19:01:33 ---> c6af2249a4a0 19:01:33 Step 8/11 : COPY go.mod vendor* ./ 19:01:33 ---> 2c3eca17062d 19:01:33 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:01:33 ---> Running in 6e44fe555425 19:01:34 Still waiting to schedule task 19:01:34 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:01:51 Removing intermediate container 6e44fe555425 19:01:51 ---> e5a4672e8561 19:01:51 Step 10/11 : COPY . . 19:01:51 ---> 71509e09dbea 19:01:51 Step 11/11 : RUN ${MAKE} 19:01:51 ---> Running in 29799cfc4d1e 19:01:51 noop 19:01:51 Removing intermediate container 29799cfc4d1e 19:01:51 ---> b5083cb759f7 19:01:51 Successfully built b5083cb759f7 19:01:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:52 + docker inspect -f . ci-base-image-x86_64 19:01:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:01:52 prd-ubuntu20.04-docker-8c-8g-21260 does not seem to be running inside a container 19:01:52 $ 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 ******** ci-base-image-x86_64 cat 19:01:52 $ docker top 4d10dd582a95ac9e52ca4d3e2a03f5cdd711a75d64ee79edab7098385ffd9b04 -eo pid,comm [Pipeline] { [Pipeline] sh 19:01:53 + go version 19:01:53 go version go1.18.3 linux/amd64 [Pipeline] } 19:01:53 $ docker stop --time=1 4d10dd582a95ac9e52ca4d3e2a03f5cdd711a75d64ee79edab7098385ffd9b04 19:01:54 $ docker rm -f 4d10dd582a95ac9e52ca4d3e2a03f5cdd711a75d64ee79edab7098385ffd9b04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:55 + docker inspect -f . ci-base-image-x86_64 19:01:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:01:55 prd-ubuntu20.04-docker-8c-8g-21260 does not seem to be running inside a container 19:01:55 $ 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 ******** ci-base-image-x86_64 cat 19:01:55 $ docker top 7c796ff2fc159c603064f46e48e9c585aa595d7db4c6048f161c3d308a4f25c0 -eo pid,comm [Pipeline] { [Pipeline] sh 19:01:56 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1202 [Pipeline] fileExists [Pipeline] sh 19:01:56 + make test 19:01:56 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 19:02:03 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 19:02:15 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 19:02:15 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 19:02:15 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 19:02:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.080s coverage: 23.7% of statements 19:02:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 19:02:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.080s coverage: 27.6% of statements 19:02:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.095s coverage: 78.9% of statements 19:02:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.054s coverage: 10.8% of statements 19:02:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.068s coverage: 60.0% of statements 19:02:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 19:02:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 19:02:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.094s coverage: 34.8% of statements 19:02:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 19:02:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.076s coverage: 85.4% of statements 19:02:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 19:02:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 19:02:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.089s coverage: 65.1% of statements 19:02:15 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 19:02:15 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 19:02:15 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.758s coverage: 89.2% of statements 19:02:15 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 19:02:15 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements 19:02:15 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 19:02:30 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." 19:02:30 GO111MODULE=on go vet ./... 19:02:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:02:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:02:32 ./bin/test-attribution-txt.sh 19:02:32 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 19:02:32 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 19:02:32 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 19:02:32 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 19:02:32 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 19:02:32 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 19:02:32 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 19:02:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:02:32 $ docker stop --time=1 7c796ff2fc159c603064f46e48e9c585aa595d7db4c6048f161c3d308a4f25c0 19:02:34 $ docker rm -f 7c796ff2fc159c603064f46e48e9c585aa595d7db4c6048f161c3d308a4f25c0 [Pipeline] // withDockerContainer [Pipeline] sh 19:02:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:02:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:02:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:02:36 + ls -al . 19:02:36 total 304 19:02:36 drwxrwxr-x 11 jenkins jenkins 4096 Jul 27 19:01 . 19:02:36 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 19:00 .. 19:02:36 -rw-rw-r-- 1 jenkins jenkins 140 Jul 27 19:00 .dockerignore 19:02:36 drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 19:02 .git 19:02:36 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 19:00 .github 19:02:36 -rw-rw-r-- 1 jenkins jenkins 131 Jul 27 19:00 .gitignore 19:02:36 -rw-rw-r-- 1 jenkins jenkins 42 Jul 27 19:00 .golangci.yml 19:02:36 drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 19:01 .semver 19:02:36 -rw-rw-r-- 1 jenkins jenkins 29536 Jul 27 19:00 CHANGELOG.md 19:02:36 -rw-rw-r-- 1 jenkins jenkins 677 Jul 27 19:00 GOVERNANCE.md 19:02:36 -rw-rw-r-- 1 jenkins jenkins 880 Jul 27 19:00 Jenkinsfile 19:02:36 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 27 19:00 LICENSE 19:02:36 -rw-rw-r-- 1 jenkins jenkins 2002 Jul 27 19:00 Makefile 19:02:36 -rw-rw-r-- 1 jenkins jenkins 619 Jul 27 19:00 OWNERS.md 19:02:36 -rw-rw-r-- 1 jenkins jenkins 4881 Jul 27 19:00 README.md 19:02:36 -rw-rw-r-- 1 jenkins jenkins 5 Jul 27 19:01 VERSION 19:02:36 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 19:00 bin 19:02:36 -rw-r--r-- 1 jenkins jenkins 131596 Jul 27 19:02 coverage.out 19:02:36 drwxrwxr-x 5 jenkins jenkins 4096 Jul 27 19:00 example 19:02:36 -rw-rw-r-- 1 jenkins jenkins 3553 Jul 27 19:00 go.mod 19:02:36 -rw-rw-r-- 1 jenkins jenkins 36743 Jul 27 19:00 go.sum 19:02:36 drwxrwxr-x 15 jenkins jenkins 4096 Jul 27 19:00 internal 19:02:36 drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 19:00 openapi 19:02:36 drwxrwxr-x 6 jenkins jenkins 4096 Jul 27 19:00 pkg 19:02:36 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 19:00 snap 19:02:36 -rw-rw-r-- 1 jenkins jenkins 222 Jul 27 19:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:36 + 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=00b9a24ffb44d8f1807231066c19aa1f6134bdec --label arch=amd64 --label version=0.0.0 . 19:02:36 Sending build context to Docker daemon 9.902MB 19:02:36 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 19:02:36 Step 2/25 : FROM ${BASE} AS builder 19:02:36 ---> b5083cb759f7 19:02:36 Step 3/25 : ARG MAKE=make build 19:02:36 ---> Running in 895984653d2a 19:02:36 Removing intermediate container 895984653d2a 19:02:36 ---> a7d0f8b9fb7d 19:02:36 Step 4/25 : WORKDIR /device-sdk-go 19:02:36 ---> Running in faf4e7d76d0d 19:02:36 Removing intermediate container faf4e7d76d0d 19:02:36 ---> 3868d4e1c6d6 19:02:36 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:02:36 ---> Running in 948f38677bc6 19:02:37 Removing intermediate container 948f38677bc6 19:02:37 ---> 76a637683df0 19:02:37 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:02:37 ---> Running in 0f49dd0241dc 19:02:37 Removing intermediate container 0f49dd0241dc 19:02:37 ---> 02a433699787 19:02:37 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 19:02:37 ---> Running in e019c94c9124 19:02:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:02:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:02:39 OK: 211 MiB in 51 packages 19:02:39 Removing intermediate container e019c94c9124 19:02:39 ---> 0cca50569b26 19:02:39 Step 8/25 : COPY go.mod vendor* ./ 19:02:39 ---> 10b80050fa9e 19:02:39 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:02:39 ---> Running in 14340f658bcc 19:02:40 Removing intermediate container 14340f658bcc 19:02:40 ---> 8eeaab076bfd 19:02:40 Step 10/25 : COPY . . 19:02:40 ---> d676ca92568d 19:02:40 Step 11/25 : RUN ${MAKE} 19:02:40 ---> Running in fe52521dda43 19:02:41 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 19:02:55 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 19:02:59 Removing intermediate container fe52521dda43 19:02:59 ---> aaaaef0db564 19:02:59 Step 12/25 : FROM alpine:3.16 19:02:59 3.16: Pulling from library/alpine 19:02:59 530afca65e2e: Pulling fs layer 19:02:59 530afca65e2e: Verifying Checksum 19:02:59 530afca65e2e: Download complete 19:02:59 530afca65e2e: Pull complete 19:02:59 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 19:02:59 Status: Downloaded newer image for alpine:3.16 19:02:59 ---> d7d3d98c851f 19:02:59 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:02:59 ---> Running in df4b4a3fea6e 19:03:00 Removing intermediate container df4b4a3fea6e 19:03:00 ---> 6476f9f3e889 19:03:00 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:03:00 ---> Running in 0cac473b5c8d 19:03:00 Removing intermediate container 0cac473b5c8d 19:03:00 ---> 12e7ea752346 19:03:00 Step 15/25 : RUN apk add --update --no-cache zeromq 19:03:00 ---> Running in 3c3522327977 19:03:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:03:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:03:02 (1/5) Installing libgcc (11.2.1_git20220219-r2) 19:03:02 (2/5) Installing libsodium (1.0.18-r0) 19:03:02 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 19:03:02 (4/5) Installing libzmq (4.3.4-r0) 19:03:02 (5/5) Installing zeromq (4.3.4-r0) 19:03:02 Executing busybox-1.35.0-r15.trigger 19:03:02 OK: 8 MiB in 19 packages 19:03:02 Removing intermediate container 3c3522327977 19:03:02 ---> 65cc322a3b7d 19:03:02 Step 16/25 : WORKDIR / 19:03:02 ---> Running in 5d3e2057e370 19:03:03 Removing intermediate container 5d3e2057e370 19:03:03 ---> f6dfa6bd9516 19:03:03 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 19:03:03 ---> 7129a92b65b2 19:03:03 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 19:03:03 ---> 7be0070bbcf0 19:03:03 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 19:03:03 ---> c7a4dad85fcb 19:03:03 Step 20/25 : EXPOSE 59999 19:03:03 ---> Running in 304d0da75bc2 19:03:03 Removing intermediate container 304d0da75bc2 19:03:03 ---> f5e37502fd00 19:03:03 Step 21/25 : ENTRYPOINT ["/device-simple"] 19:03:03 ---> Running in 222a7622d765 19:03:04 Removing intermediate container 222a7622d765 19:03:04 ---> 5ae6757b0212 19:03:04 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:03:04 ---> Running in 61a8f53d8e05 19:03:04 Removing intermediate container 61a8f53d8e05 19:03:04 ---> abea0dfd8062 19:03:04 Step 23/25 : LABEL arch=amd64 19:03:04 ---> Running in eb504f5ab49a 19:03:04 Removing intermediate container eb504f5ab49a 19:03:04 ---> 15ee8cbbb2d5 19:03:04 Step 24/25 : LABEL git_sha=00b9a24ffb44d8f1807231066c19aa1f6134bdec 19:03:04 ---> Running in 4044da563097 19:03:04 Removing intermediate container 4044da563097 19:03:04 ---> ac929ed7dfb5 19:03:04 Step 25/25 : LABEL version=0.0.0 19:03:04 ---> Running in f25f48c182fd 19:03:04 Removing intermediate container f25f48c182fd 19:03:04 ---> 7911ac8ed2af 19:03:04 [Warning] One or more build-args [ARCH] were not consumed 19:03:04 Successfully built 7911ac8ed2af 19:03:04 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 19:03:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:03:05 19:03:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:03:05 latest: Pulling from edgex-lftools-log-publisher 19:03:05 5eb5b503b376: Pulling fs layer 19:03:05 5c69ac0246d0: Pulling fs layer 19:03:05 ec43610c2a17: Pulling fs layer 19:03:05 3a2ae6a8a46f: Pulling fs layer 19:03:05 33b1e0a273af: Pulling fs layer 19:03:05 5d3b04190fa2: Pulling fs layer 19:03:05 2f39f015ded8: Pulling fs layer 19:03:05 3a2ae6a8a46f: Waiting 19:03:05 2f39f015ded8: Waiting 19:03:05 33b1e0a273af: Waiting 19:03:05 5d3b04190fa2: Waiting 19:03:05 5c69ac0246d0: Verifying Checksum 19:03:05 5c69ac0246d0: Download complete 19:03:05 3a2ae6a8a46f: Verifying Checksum 19:03:05 3a2ae6a8a46f: Download complete 19:03:05 33b1e0a273af: Verifying Checksum 19:03:05 33b1e0a273af: Download complete 19:03:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21261 in /w/workspace/gexfoundry_device-sdk-go_PR-1202 [Pipeline] { [Pipeline] ws 19:03:06 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 19:03:06 The recommended git tool is: git 19:03:06 5d3b04190fa2: Verifying Checksum 19:03:06 5d3b04190fa2: Download complete 19:03:06 ec43610c2a17: Verifying Checksum 19:03:06 ec43610c2a17: Download complete 19:03:06 5eb5b503b376: Download complete 19:03:06 2f39f015ded8: Verifying Checksum 19:03:06 2f39f015ded8: Download complete 19:03:07 5eb5b503b376: Pull complete 19:03:07 5c69ac0246d0: Pull complete 19:03:08 ec43610c2a17: Pull complete 19:03:08 3a2ae6a8a46f: Pull complete 19:03:08 33b1e0a273af: Pull complete 19:03:08 5d3b04190fa2: Pull complete 19:03:12 2f39f015ded8: Pull complete 19:03:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:03:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:03:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:03:12 prd-ubuntu20.04-docker-8c-8g-21260 does not seem to be running inside a container 19:03:12 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:03:13 using credential edgex-jenkins-ssh 19:03:13 Cloning the remote Git repository 19:03:13 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 19:03:13 > git init /w/workspace/device-sdk-go/1 # timeout=10 19:03:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 19:03:13 > git --version # timeout=10 19:03:13 > git --version # 'git version 2.25.1' 19:03:13 using GIT_SSH to set credentials SSH Credentials for GitHub 19:03:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:03:14 $ docker top cf493ddf99159047b0d0a2a23f4db605899331df242d0e4ca06f822e04e80443 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:03:15 ---> job-cost.sh 19:03:15 lf-activate-venv: SKIPPING 19:03:15 INFO: No Stack... 19:03:15 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 19:03:15 INFO: Retrieving Pricing Info for: v3-standard-8 19:03:15 INFO: Archiving Costs [Pipeline] sh 19:03:16 Merging remotes/origin/main commit 05709587d91994e95fbbf030ae60546eede8820e into PR head commit 00b9a24ffb44d8f1807231066c19aa1f6134bdec 19:03:16 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives/cost.csv 19:03:16 + cut -d, -f6 [Pipeline] lock 19:03:16 Merge succeeded, producing 00b9a24ffb44d8f1807231066c19aa1f6134bdec 19:03:16 Checking out Revision 00b9a24ffb44d8f1807231066c19aa1f6134bdec (PR-1202) 19:03:16 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1202-1-stack-cost] 19:03:16 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1202-1-stack-cost] did not exist. Created. 19:03:16 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1202-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:03:16 + echo total: 0.2199999988079071 [Pipeline] stash 19:03:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:03:15 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 19:03:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 19:03:15 using GIT_SSH to set credentials SSH Credentials for GitHub 19:03:15 > 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 19:03:16 > git config core.sparsecheckout # timeout=10 19:03:16 > git checkout -f 00b9a24ffb44d8f1807231066c19aa1f6134bdec # timeout=10 19:03:16 > git remote # timeout=10 19:03:16 > git config --get remote.origin.url # timeout=10 19:03:16 using GIT_SSH to set credentials SSH Credentials for GitHub 19:03:16 > git merge 05709587d91994e95fbbf030ae60546eede8820e # timeout=10 19:03:16 > git rev-parse HEAD^{commit} # timeout=10 19:03:16 > git config core.sparsecheckout # timeout=10 19:03:16 > git checkout -f 00b9a24ffb44d8f1807231066c19aa1f6134bdec # timeout=10 19:03:16 Stashed 1 file(s) [Pipeline] } 19:03:16 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1202-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:03:16 $ docker stop --time=1 cf493ddf99159047b0d0a2a23f4db605899331df242d0e4ca06f822e04e80443 19:03:18 $ docker rm -f cf493ddf99159047b0d0a2a23f4db605899331df242d0e4ca06f822e04e80443 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:03:20 Commit message: "fix: added DriverConfigs and SetDeviceOPState to DeviceServiceSDK interface and implementation." 19:03:20 > git --version # timeout=10 19:03:20 > git --version # 'git version 2.25.1' 19:03:20 fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:03:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:03:21 % Total % Received % Xferd Average Speed Time Time Time Current 19:03:21 Dload Upload Total Spent Left Speed 19:03:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh 19:03:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:03:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:03:23 + sudo tee /etc/docker/daemon.new 19:03:23 { 19:03:23 "registry-mirrors": [ 19:03:23 "https://nexus3.edgexfoundry.org:10001" 19:03:23 ], 19:03:23 "bip": "10.250.0.254/24", 19:03:23 "hosts": [ 19:03:23 "tcp://0.0.0.0:5555", 19:03:23 "unix:///var/run/docker.sock" 19:03:23 ], 19:03:23 "mtu": 1458, 19:03:23 "selinux-enabled": true, 19:03:23 "seccomp-profile": "/etc/docker/seccomp.json" 19:03:23 } [Pipeline] sh 19:03:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:03:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:03:42 provisioning config files... 19:03:42 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config504301748438861053tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:03:42 ---> docker-login.sh 19:03:42 nexus3.edgexfoundry.org:10001 19:03:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:43 Configure a credential helper to remove this warning. See 19:03:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:43 19:03:43 Login Succeeded 19:03:43 nexus3.edgexfoundry.org:10002 19:03:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:43 Configure a credential helper to remove this warning. See 19:03:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:43 19:03:43 Login Succeeded 19:03:43 nexus3.edgexfoundry.org:10003 19:03:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:44 Configure a credential helper to remove this warning. See 19:03:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:44 19:03:44 Login Succeeded 19:03:44 nexus3.edgexfoundry.org:10004 19:03:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:44 Configure a credential helper to remove this warning. See 19:03:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:44 19:03:44 Login Succeeded 19:03:45 docker.io 19:03:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:45 Configure a credential helper to remove this warning. See 19:03:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:45 19:03:45 Login Succeeded 19:03:45 ---> docker-login.sh ends [Pipeline] } 19:03:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:03:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:03:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:03:46 ========================================================= 19:03:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 19:03:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:46 + 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 . 19:03:46 Sending build context to Docker daemon 5.249MB 19:03:47 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 19:03:47 Step 2/11 : FROM ${BASE} AS builder 19:03:47 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:03:47 b3c136eddcbf: Pulling fs layer 19:03:47 c0a3192eca97: Pulling fs layer 19:03:47 a050256f5b6f: Pulling fs layer 19:03:47 656be50a0ddc: Pulling fs layer 19:03:47 2bbca73fdf42: Pulling fs layer 19:03:47 46d945488cbd: Pulling fs layer 19:03:47 8a5474983e97: Pulling fs layer 19:03:47 329c88fbcd65: Pulling fs layer 19:03:47 656be50a0ddc: Waiting 19:03:47 2bbca73fdf42: Waiting 19:03:47 46d945488cbd: Waiting 19:03:47 8a5474983e97: Waiting 19:03:47 329c88fbcd65: Waiting 19:03:47 a050256f5b6f: Verifying Checksum 19:03:47 a050256f5b6f: Download complete 19:03:47 c0a3192eca97: Verifying Checksum 19:03:47 c0a3192eca97: Download complete 19:03:47 2bbca73fdf42: Verifying Checksum 19:03:47 2bbca73fdf42: Download complete 19:03:47 46d945488cbd: Verifying Checksum 19:03:47 46d945488cbd: Download complete 19:03:47 b3c136eddcbf: Verifying Checksum 19:03:48 b3c136eddcbf: Pull complete 19:03:48 329c88fbcd65: Verifying Checksum 19:03:48 329c88fbcd65: Download complete 19:03:48 c0a3192eca97: Pull complete 19:03:48 a050256f5b6f: Pull complete 19:03:49 8a5474983e97: Download complete 19:03:50 656be50a0ddc: Verifying Checksum 19:03:50 656be50a0ddc: Download complete 19:04:02 656be50a0ddc: Pull complete 19:04:02 2bbca73fdf42: Pull complete 19:04:03 46d945488cbd: Pull complete 19:04:09 8a5474983e97: Pull complete 19:04:11 329c88fbcd65: Pull complete 19:04:11 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 19:04:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 19:04:11 ---> ff4287adb874 19:04:11 Step 3/11 : ARG MAKE=make build 19:04:12 ---> Running in a57261ccf22a 19:04:12 Removing intermediate container a57261ccf22a 19:04:12 ---> 5c601924df20 19:04:12 Step 4/11 : WORKDIR /device-sdk-go 19:04:12 ---> Running in d2bfc46d925e 19:04:12 Removing intermediate container d2bfc46d925e 19:04:12 ---> a2036cec7218 19:04:12 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:04:13 ---> Running in 58d990e9d834 19:04:13 Removing intermediate container 58d990e9d834 19:04:13 ---> 9cd570555832 19:04:13 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:04:13 ---> Running in 0b7d9f15d055 19:04:15 Removing intermediate container 0b7d9f15d055 19:04:15 ---> b3d2f9e2b22d 19:04:15 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 19:04:15 ---> Running in b35cbb7a3a1f 19:04:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:04:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:04:18 OK: 221 MiB in 51 packages 19:04:20 Removing intermediate container b35cbb7a3a1f 19:04:20 ---> 89c058c31503 19:04:20 Step 8/11 : COPY go.mod vendor* ./ 19:04:20 ---> 34a34fa5ab0f 19:04:20 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:04:20 ---> Running in dd3b98dd4498 19:05:07 Removing intermediate container dd3b98dd4498 19:05:07 ---> 304756602315 19:05:07 Step 10/11 : COPY . . 19:05:07 ---> c50402860361 19:05:07 Step 11/11 : RUN ${MAKE} 19:05:07 ---> Running in ccf4c98ae0e9 19:05:08 noop 19:05:08 Removing intermediate container ccf4c98ae0e9 19:05:08 ---> 94bddeee61f1 19:05:08 Successfully built 94bddeee61f1 19:05:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:05:09 + docker inspect -f . ci-base-image-arm64 19:05:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:05:09 prd-ubuntu20.04-docker-arm64-4c-16g-21261 does not seem to be running inside a container 19:05:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:05:11 $ docker top 6d86da1aad6def1a5e2763c715d8272a88d1a7828e46fde5110fa2ae1fa85cde -eo pid,comm [Pipeline] { [Pipeline] sh 19:05:12 + go version 19:05:12 go version go1.18.3 linux/arm64 [Pipeline] } 19:05:12 $ docker stop --time=1 6d86da1aad6def1a5e2763c715d8272a88d1a7828e46fde5110fa2ae1fa85cde 19:05:13 $ docker rm -f 6d86da1aad6def1a5e2763c715d8272a88d1a7828e46fde5110fa2ae1fa85cde [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:05:14 + docker inspect -f . ci-base-image-arm64 19:05:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:05:14 prd-ubuntu20.04-docker-arm64-4c-16g-21261 does not seem to be running inside a container 19:05:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:05:16 $ docker top df088660fe59aa4398c9b3e0096ff8609b7fd08e393c8d1bf664558cad01b3fa -eo pid,comm [Pipeline] { [Pipeline] sh 19:05:17 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 19:05:17 + make test 19:05:17 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 19:05:50 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 19:07:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 19:07:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 19:07:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 19:07:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.345s coverage: 23.7% of statements 19:07:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 19:07:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.230s coverage: 27.6% of statements 19:07:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.306s coverage: 78.9% of statements 19:07:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.264s coverage: 10.8% of statements 19:07:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.447s coverage: 60.0% of statements 19:07:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 19:07:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 19:07:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.458s coverage: 34.8% of statements 19:07:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 19:07:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.283s coverage: 85.4% of statements 19:07:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 19:07:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 19:07:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.462s coverage: 65.1% of statements 19:07:45 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 19:07:45 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 19:07:50 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.993s coverage: 89.2% of statements 19:07:50 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 19:07:50 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.238s coverage: 4.7% of statements 19:07:50 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 19:07:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:07:50 GO111MODULE=on go vet ./... 19:09:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:09:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:09:12 ./bin/test-attribution-txt.sh 19:09:12 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 19:09:12 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 19:09:12 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 19:09:12 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 19:09:12 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 19:09:12 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 19:09:12 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 19:09:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:09:12 $ docker stop --time=1 df088660fe59aa4398c9b3e0096ff8609b7fd08e393c8d1bf664558cad01b3fa 19:09:14 $ docker rm -f df088660fe59aa4398c9b3e0096ff8609b7fd08e393c8d1bf664558cad01b3fa [Pipeline] // withDockerContainer [Pipeline] sh 19:09:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:09:16 Warning: overwriting stash ‘coverage-report’ 19:09:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:09:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:09:17 + ls -al . 19:09:17 total 300 19:09:17 drwxrwxr-x 10 jenkins jenkins 4096 Jul 27 19:05 . 19:09:17 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 19:03 .. 19:09:17 -rw-rw-r-- 1 jenkins jenkins 140 Jul 27 19:03 .dockerignore 19:09:17 drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 19:03 .git 19:09:17 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 19:03 .github 19:09:17 -rw-rw-r-- 1 jenkins jenkins 131 Jul 27 19:03 .gitignore 19:09:17 -rw-rw-r-- 1 jenkins jenkins 42 Jul 27 19:03 .golangci.yml 19:09:17 -rw-rw-r-- 1 jenkins jenkins 29536 Jul 27 19:03 CHANGELOG.md 19:09:17 -rw-rw-r-- 1 jenkins jenkins 677 Jul 27 19:03 GOVERNANCE.md 19:09:17 -rw-rw-r-- 1 jenkins jenkins 880 Jul 27 19:03 Jenkinsfile 19:09:17 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 27 19:03 LICENSE 19:09:17 -rw-rw-r-- 1 jenkins jenkins 2002 Jul 27 19:03 Makefile 19:09:17 -rw-rw-r-- 1 jenkins jenkins 619 Jul 27 19:03 OWNERS.md 19:09:17 -rw-rw-r-- 1 jenkins jenkins 4881 Jul 27 19:03 README.md 19:09:17 -rw-rw-r-- 1 jenkins jenkins 5 Jul 27 19:01 VERSION 19:09:17 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 19:03 bin 19:09:17 -rw-r--r-- 1 jenkins jenkins 131596 Jul 27 19:07 coverage.out 19:09:17 drwxrwxr-x 5 jenkins jenkins 4096 Jul 27 19:03 example 19:09:17 -rw-rw-r-- 1 jenkins jenkins 3553 Jul 27 19:03 go.mod 19:09:17 -rw-rw-r-- 1 jenkins jenkins 36743 Jul 27 19:03 go.sum 19:09:17 drwxrwxr-x 15 jenkins jenkins 4096 Jul 27 19:03 internal 19:09:17 drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 19:03 openapi 19:09:17 drwxrwxr-x 6 jenkins jenkins 4096 Jul 27 19:03 pkg 19:09:17 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 19:03 snap 19:09:17 -rw-rw-r-- 1 jenkins jenkins 222 Jul 27 19:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:09:18 + 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=00b9a24ffb44d8f1807231066c19aa1f6134bdec --label arch=arm64 --label version=0.0.0 . 19:09:18 Sending build context to Docker daemon 5.382MB 19:09:18 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 19:09:18 Step 2/25 : FROM ${BASE} AS builder 19:09:18 ---> 94bddeee61f1 19:09:18 Step 3/25 : ARG MAKE=make build 19:09:18 ---> Running in 8c0f1d697eaf 19:09:18 Removing intermediate container 8c0f1d697eaf 19:09:18 ---> 414076411cf7 19:09:18 Step 4/25 : WORKDIR /device-sdk-go 19:09:19 ---> Running in 099fe9691dd1 19:09:19 Removing intermediate container 099fe9691dd1 19:09:19 ---> eefad4937a5b 19:09:19 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:09:19 ---> Running in 5bfa4ea8746b 19:09:19 Removing intermediate container 5bfa4ea8746b 19:09:19 ---> dae0844703bc 19:09:19 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:09:19 ---> Running in b0f299c49c3e 19:09:21 Removing intermediate container b0f299c49c3e 19:09:21 ---> 41ef2990a1ab 19:09:21 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 19:09:21 ---> Running in f031dbcb2805 19:09:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:09:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:09:24 OK: 221 MiB in 51 packages 19:09:25 Removing intermediate container f031dbcb2805 19:09:25 ---> f9882c1bbf25 19:09:25 Step 8/25 : COPY go.mod vendor* ./ 19:09:25 ---> aba791374eef 19:09:25 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:09:25 ---> Running in 91c27d03208c 19:09:27 Removing intermediate container 91c27d03208c 19:09:27 ---> 6bde9299f9fb 19:09:27 Step 10/25 : COPY . . 19:09:29 ---> 6fd9f76140de 19:09:29 Step 11/25 : RUN ${MAKE} 19:09:29 ---> Running in 7474fb809717 19:09:30 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 19:11:36 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 19:11:36 Removing intermediate container 7474fb809717 19:11:36 ---> 22572d251213 19:11:36 Step 12/25 : FROM alpine:3.16 19:11:36 3.16: Pulling from library/alpine 19:11:36 f97344484467: Pulling fs layer 19:11:36 f97344484467: Verifying Checksum 19:11:36 f97344484467: Download complete 19:11:36 f97344484467: Pull complete 19:11:36 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 19:11:36 Status: Downloaded newer image for alpine:3.16 19:11:36 ---> 3d81c46cd875 19:11:36 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:11:36 ---> Running in f44ca6c3305f 19:11:36 Removing intermediate container f44ca6c3305f 19:11:36 ---> 8249ddd2423b 19:11:36 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:11:36 ---> Running in 5c446189d378 19:11:36 Removing intermediate container 5c446189d378 19:11:36 ---> bb37bedd7876 19:11:36 Step 15/25 : RUN apk add --update --no-cache zeromq 19:11:36 ---> Running in 014aa63ddb29 19:11:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:11:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:11:36 (1/5) Installing libgcc (11.2.1_git20220219-r2) 19:11:36 (2/5) Installing libsodium (1.0.18-r0) 19:11:36 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 19:11:36 (4/5) Installing libzmq (4.3.4-r0) 19:11:36 (5/5) Installing zeromq (4.3.4-r0) 19:11:36 Executing busybox-1.35.0-r15.trigger 19:11:36 OK: 8 MiB in 19 packages 19:11:37 Removing intermediate container 014aa63ddb29 19:11:37 ---> 8e04dd0aeb1e 19:11:37 Step 16/25 : WORKDIR / 19:11:37 ---> Running in b055ba048365 19:11:38 Removing intermediate container b055ba048365 19:11:38 ---> a7e080126465 19:11:38 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 19:11:38 ---> c94e63a28697 19:11:38 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 19:11:40 ---> 64bfbb09faf1 19:11:40 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 19:11:40 ---> 3ce227fd6d98 19:11:40 Step 20/25 : EXPOSE 59999 19:11:40 ---> Running in b0c2cc796c99 19:11:41 Removing intermediate container b0c2cc796c99 19:11:41 ---> 8304233925d4 19:11:41 Step 21/25 : ENTRYPOINT ["/device-simple"] 19:11:41 ---> Running in 8a9d6eea3d40 19:11:41 Removing intermediate container 8a9d6eea3d40 19:11:41 ---> 51d1cae5c7ae 19:11:41 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:11:41 ---> Running in 8b92e0464474 19:11:41 Removing intermediate container 8b92e0464474 19:11:41 ---> 531cad0e6b19 19:11:41 Step 23/25 : LABEL arch=arm64 19:11:41 ---> Running in ca5da551f950 19:11:42 Removing intermediate container ca5da551f950 19:11:42 ---> 235a6a7a18c6 19:11:42 Step 24/25 : LABEL git_sha=00b9a24ffb44d8f1807231066c19aa1f6134bdec 19:11:42 ---> Running in f413b254cc15 19:11:42 Removing intermediate container f413b254cc15 19:11:42 ---> fc3ee5640941 19:11:42 Step 25/25 : LABEL version=0.0.0 19:11:42 ---> Running in 95a3b60754f4 19:11:43 Removing intermediate container 95a3b60754f4 19:11:43 ---> 56b3661c6de1 19:11:43 [Warning] One or more build-args [ARCH] were not consumed 19:11:43 Successfully built 56b3661c6de1 19:11:43 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 19:11:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:11:43 19:11:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:11:44 arm64: Pulling from edgex-lftools-log-publisher 19:11:44 8998bd30e6a1: Pulling fs layer 19:11:44 04944245beec: Pulling fs layer 19:11:44 699f458cf7ca: Pulling fs layer 19:11:44 765212b225bb: Pulling fs layer 19:11:44 f23df028b6ca: Pulling fs layer 19:11:44 d65c8cfc05b1: Pulling fs layer 19:11:44 2437ff75d9bd: Pulling fs layer 19:11:44 f23df028b6ca: Waiting 19:11:44 d65c8cfc05b1: Waiting 19:11:44 2437ff75d9bd: Waiting 19:11:44 765212b225bb: Waiting 19:11:44 04944245beec: Verifying Checksum 19:11:44 04944245beec: Download complete 19:11:44 765212b225bb: Verifying Checksum 19:11:44 765212b225bb: Download complete 19:11:44 f23df028b6ca: Download complete 19:11:44 d65c8cfc05b1: Verifying Checksum 19:11:44 d65c8cfc05b1: Download complete 19:11:44 699f458cf7ca: Verifying Checksum 19:11:44 699f458cf7ca: Download complete 19:11:45 8998bd30e6a1: Verifying Checksum 19:11:45 8998bd30e6a1: Download complete 19:11:47 2437ff75d9bd: Verifying Checksum 19:11:47 2437ff75d9bd: Download complete 19:11:49 8998bd30e6a1: Pull complete 19:11:50 04944245beec: Pull complete 19:11:51 699f458cf7ca: Pull complete 19:11:51 765212b225bb: Pull complete 19:11:52 f23df028b6ca: Pull complete 19:11:52 d65c8cfc05b1: Pull complete 19:12:07 2437ff75d9bd: Pull complete 19:12:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:12:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:12:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:12:08 prd-ubuntu20.04-docker-arm64-4c-16g-21261 does not seem to be running inside a container 19:12:08 $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:12:10 $ docker top 13da9a6463ac9394b852abc61f92e2567c7b9ec90fa04260a84b855721ea98cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:12:11 ---> job-cost.sh 19:12:11 lf-activate-venv: SKIPPING 19:12:11 INFO: No Stack... 19:12:12 INFO: Retrieving Pricing Info for: v3-standard-4 19:12:13 INFO: Archiving Costs [Pipeline] sh 19:12:13 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 19:12:13 + cut -d, -f6 [Pipeline] lock 19:12:13 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1202-1-stack-cost] 19:12:13 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1202-1-stack-cost] did not exist. Created. 19:12:13 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1202-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:12:14 /w/workspace/device-sdk-go/1@tmp/durable-4fd7c011/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:12:15 + echo total: 0.10999999940395355 [Pipeline] stash 19:12:15 Warning: overwriting stash ‘stack-cost’ 19:12:15 Stashed 1 file(s) [Pipeline] } 19:12:15 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1202-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:12:15 $ docker stop --time=1 13da9a6463ac9394b852abc61f92e2567c7b9ec90fa04260a84b855721ea98cc 19:12:17 $ docker rm -f 13da9a6463ac9394b852abc61f92e2567c7b9ec90fa04260a84b855721ea98cc [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 19:12:18 provisioning config files... 19:12:18 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/config6326935833583061535tmp [Pipeline] { [Pipeline] sh 19:12:18 + set +x 19:12:18 + curl -s https://codecov.io/bash 19:12:18 + bash -s -- 19:12:18 19:12:18 _____ _ 19:12:18 / ____| | | 19:12:18 | | ___ __| | ___ ___ _____ __ 19:12:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:12:18 | |___| (_) | (_| | __/ (_| (_) \ V / 19:12:18 \_____\___/ \__,_|\___|\___\___/ \_/ 19:12:18 Bash-1.0.6 19:12:18 19:12:18 19:12:18 ==> git version 2.25.1 found 19:12:18 ==> 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 19:12:18 Release-Date: 2020-01-08 19:12:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:12:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:12:18 ==> Jenkins CI detected. 19:12:18 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1202 19:12:18 project root: . 19:12:18 --> token set from env 19:12:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:12:18 ==> Running gcov in . (disable via -X gcov) 19:12:18 ==> Python coveragepy not found 19:12:18 ==> Searching for coverage reports in: 19:12:18 + . 19:12:18 -> Found 1 reports 19:12:18 ==> Detecting git/mercurial file structure 19:12:18 ==> Reading reports 19:12:18 + ./coverage.out bytes=131596 19:12:18 ==> Appending adjustments 19:12:18 https://docs.codecov.io/docs/fixing-reports 19:12:18 + Found adjustments 19:12:18 ==> Gzipping contents 19:12:18 20K /tmp/codecov.RMbSCG.gz 19:12:18 ==> Uploading reports 19:12:18 url: https://codecov.io 19:12:18 query: branch=PR-1202&commit=00b9a24ffb44d8f1807231066c19aa1f6134bdec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1202%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1202&job=&cmd_args= 19:12:18 -> Pinging Codecov 19:12:18 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=00b9a24ffb44d8f1807231066c19aa1f6134bdec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1202%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1202&job=&cmd_args= 19:12:19 -> Uploading to 19:12:19 https://storage.googleapis.com/codecov/v4/raw/2022-07-27/7E55EF52A471D76F132DFD9A03CDDE97/00b9a24ffb44d8f1807231066c19aa1f6134bdec/d44a8ff7-9d28-47a7-abd8-d8ae710b612e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220727%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220727T191218Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c41f9a07e2cc0ea8b012146c81691e628824d8fcb1b5c9143de0cae040f02650 19:12:19 % Total % Received % Xferd Average Speed Time Time Time Current 19:12:19 Dload Upload Total Spent Left Speed 19:12:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17313 0 0 100 17313 0 67104 --:--:-- --:--:-- --:--:-- 67104 19:12:19 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/00b9a24ffb44d8f1807231066c19aa1f6134bdec [Pipeline] } 19:12:19 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 19:12:21 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives ] 19:12:21 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives 19:12:21 total 16 19:12:21 drwxr-xr-x 3 root root 4096 Jul 27 19:03 . 19:12:21 drwxrwxr-x 12 jenkins jenkins 4096 Jul 27 19:03 .. 19:12:21 drwxr-xr-x 2 root root 4096 Jul 27 19:03 cost 19:12:21 -rw-r--r-- 1 root root 86 Jul 27 19:03 cost.csv 19:12:21 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives 19:12:21 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives 19:12:21 total 16 19:12:21 drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 19:03 . 19:12:21 drwxrwxr-x 12 jenkins jenkins 4096 Jul 27 19:03 .. 19:12:21 drwxr-xr-x 2 jenkins jenkins 4096 Jul 27 19:03 cost 19:12:21 -rw-r--r-- 1 jenkins jenkins 86 Jul 27 19:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:12:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:12:22 ---> package-listing.sh 19:12:22 ++ facter osfamily 19:12:22 ++ tr '[:upper:]' '[:lower:]' 19:12:22 + OS_FAMILY=debian 19:12:22 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1202 19:12:22 + START_PACKAGES=/tmp/packages_start.txt 19:12:22 + END_PACKAGES=/tmp/packages_end.txt 19:12:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:12:22 + PACKAGES=/tmp/packages_start.txt 19:12:22 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1202 ']' 19:12:22 + PACKAGES=/tmp/packages_end.txt 19:12:22 + case "${OS_FAMILY}" in 19:12:22 + dpkg -l 19:12:22 + grep '^ii' 19:12:22 + '[' -f /tmp/packages_start.txt ']' 19:12:22 + '[' -f /tmp/packages_end.txt ']' 19:12:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:12:22 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1202 ']' 19:12:22 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives/ 19:12:22 + 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 19:12:22 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 19:12:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:12:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:12:23 prd-ubuntu20.04-docker-8c-8g-21260 does not seem to be running inside a container 19:12:23 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:12:24 $ docker top fafb2cf27d341ce919f9c29c999c8e8b6fa19bd3521c957808fcd26a7583bef5 -eo pid,comm [Pipeline] { [Pipeline] sh 19:12:24 + touch /tmp/pre-build-complete [Pipeline] sh 19:12:24 + mkdir -p /var/log/sysstat [Pipeline] sh 19:12:25 + ls /var/log/sa-host 19:12:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:12:25 provisioning config files... 19:12:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/config5954395936874171485tmp [Pipeline] { [Pipeline] echo 19:12:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:12:25 ---> create-netrc.sh [Pipeline] } 19:12:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:12:26 ---> python-tools-install.sh [Pipeline] echo 19:12:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:12:26 ---> sudo-logs.sh 19:12:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:12:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:12:26 ---> job-cost.sh 19:12:26 lf-activate-venv: SKIPPING 19:12:26 DEBUG: total: 0.2199999988079071 19:12:26 INFO: Retrieving Stack Cost... 19:12:27 INFO: Retrieving Pricing Info for: v3-standard-8 19:12:27 INFO: Archiving Costs [Pipeline] echo 19:12:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:12:27 ---> logs-deploy.sh 19:12:27 lf-activate-venv: SKIPPING 19:12:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1202/1 19:12:27 INFO: archiving workspace using pattern(s): 19:12:28 Archives upload complete. 19:12:29 INFO: archiving logs to Nexus 19:12:29 ---> uname -a: 19:12:29 Linux prd-ubuntu20-04-docker-8c-8g-21260 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 19:12:29 19:12:29 19:12:29 ---> lscpu: 19:12:29 Architecture: x86_64 19:12:29 CPU op-mode(s): 32-bit, 64-bit 19:12:29 Byte Order: Little Endian 19:12:29 Address sizes: 40 bits physical, 48 bits virtual 19:12:29 CPU(s): 8 19:12:29 On-line CPU(s) list: 0-7 19:12:29 Thread(s) per core: 1 19:12:29 Core(s) per socket: 1 19:12:29 Socket(s): 8 19:12:29 NUMA node(s): 1 19:12:29 Vendor ID: AuthenticAMD 19:12:29 CPU family: 23 19:12:29 Model: 49 19:12:29 Model name: AMD EPYC-Rome Processor 19:12:29 Stepping: 0 19:12:29 CPU MHz: 2799.998 19:12:29 BogoMIPS: 5599.99 19:12:29 Virtualization: AMD-V 19:12:29 Hypervisor vendor: KVM 19:12:29 Virtualization type: full 19:12:29 L1d cache: 256 KiB 19:12:29 L1i cache: 256 KiB 19:12:29 L2 cache: 4 MiB 19:12:29 L3 cache: 128 MiB 19:12:29 NUMA node0 CPU(s): 0-7 19:12:29 Vulnerability Itlb multihit: Not affected 19:12:29 Vulnerability L1tf: Not affected 19:12:29 Vulnerability Mds: Not affected 19:12:29 Vulnerability Meltdown: Not affected 19:12:29 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 19:12:29 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 19:12:29 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 19:12:29 Vulnerability Srbds: Not affected 19:12:29 Vulnerability Tsx async abort: Not affected 19:12:29 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 19:12:29 19:12:29 19:12:29 ---> nproc: 19:12:29 8 19:12:29 19:12:29 19:12:29 ---> df -h: 19:12:29 Filesystem Size Used Avail Use% Mounted on 19:12:29 overlay 155G 11G 145G 7% / 19:12:29 tmpfs 64M 0 64M 0% /dev 19:12:29 tmpfs 16G 0 16G 0% /sys/fs/cgroup 19:12:29 shm 64M 0 64M 0% /dev/shm 19:12:29 /dev/vda1 155G 11G 145G 7% /facter-os 19:12:29 19:12:29