Pull request #1202 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 05709587d91994e95fbbf030ae60546eede8820e rather than f4e6d0232002c9c4bf9c338bf784f1d71141fae9 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-ssh7144105928582497743.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-ssh6168612996062030628.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1202/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1202/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15540344571776041315.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4759835886916836559.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1202/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1202/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10005747122331389843.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-21275 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 f4e6d0232002c9c4bf9c338bf784f1d71141fae9 Merge succeeded, producing f4e6d0232002c9c4bf9c338bf784f1d71141fae9 Checking out Revision f4e6d0232002c9c4bf9c338bf784f1d71141fae9 (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 f4e6d0232002c9c4bf9c338bf784f1d71141fae9 # 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 f4e6d0232002c9c4bf9c338bf784f1d71141fae9 # timeout=10 Commit message: "fix: added DriverConfigs and SetDeviceOPState to DeviceServiceSDK interface and implementation." First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:13:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 00b9a24ffb44d8f1807231066c19aa1f6134bdec # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:13:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:13:31 ========================================================= 20:13:31 EdgeX Global Pipelines Version Info 20:13:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:13:31 ------------------- 20:13:31 stable info: 20:13:31 ------------------- 20:13:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:13:31 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 20:13:31 Message: update stable to v1.0.238 20:13:32 ------------------- 20:13:32 experimental info: 20:13:32 ------------------- 20:13:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:13:32 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 20:13:32 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:13:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 20:13:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 20:13:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:13:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:13:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:13:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:13:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:13:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 20:13:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:13:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:13:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:13:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 20:13:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:13:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:13:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:13:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:13:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:13:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:13:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:13:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:13:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:13:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 20:13:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:13:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:13:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:13:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:13:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:13:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1202 [Pipeline] echo 20:13:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1202 [Pipeline] echo 20:13:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1202 [Pipeline] echo 20:13:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f4e6d0232002c9c4bf9c338bf784f1d71141fae9 [Pipeline] echo 20:13:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f4e6d02 [Pipeline] echo 20:13:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:13:33 provisioning config files... 20:13:33 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/config2490394239201066726tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:13:33 ---> docker-login.sh 20:13:33 nexus3.edgexfoundry.org:10001 20:13:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:33 Configure a credential helper to remove this warning. See 20:13:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:33 20:13:33 Login Succeeded 20:13:33 nexus3.edgexfoundry.org:10002 20:13:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:34 Configure a credential helper to remove this warning. See 20:13:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:34 20:13:34 Login Succeeded 20:13:34 nexus3.edgexfoundry.org:10003 20:13:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:34 Configure a credential helper to remove this warning. See 20:13:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:34 20:13:34 Login Succeeded 20:13:34 nexus3.edgexfoundry.org:10004 20:13:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:34 Configure a credential helper to remove this warning. See 20:13:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:34 20:13:34 Login Succeeded 20:13:34 docker.io 20:13:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:34 Configure a credential helper to remove this warning. See 20:13:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:34 20:13:34 Login Succeeded 20:13:34 ---> docker-login.sh ends [Pipeline] } 20:13:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:13:35 + git rev-list -1 --merges f4e6d0232002c9c4bf9c338bf784f1d71141fae9~1..f4e6d0232002c9c4bf9c338bf784f1d71141fae9 [Pipeline] echo 20:13:35 -----------> git rev-list -1 --merges f4e6d0232002c9c4bf9c338bf784f1d71141fae9~1..f4e6d0232002c9c4bf9c338bf784f1d71141fae9 f4e6d0232002c9c4bf9c338bf784f1d71141fae9 [false] [Pipeline] sh 20:13:35 + git log --format=format:%s -1 f4e6d0232002c9c4bf9c338bf784f1d71141fae9 [Pipeline] echo 20:13:35 ========================================================= 20:13:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:13:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:13:35 + git log --format=format:%s -1 f4e6d0232002c9c4bf9c338bf784f1d71141fae9 [Pipeline] echo 20:13:35 [semverPrep] GIT_COMMIT: f4e6d0232002c9c4bf9c338bf784f1d71141fae9, Commit Message: fix: added DriverConfigs and SetDeviceOPState to DeviceServiceSDK interface and implementation. [Pipeline] echo 20:13:35 [semverPrep] This is not a build commit. [Pipeline] sh 20:13:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:13:36 + grep -v github /etc/ssh/ssh_known_hosts 20:13:36 + [ -e /tmp/ssh_known_hosts ] 20:13:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:13:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:13:36 + sudo tee -a /etc/ssh/ssh_known_hosts 20:13:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:13:36 20:13:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:13:36 0.1.4: Pulling from edgex-devops/py-git-semver 20:13:36 b85a868b505f: Pulling fs layer 20:13:36 e2be974225ed: Pulling fs layer 20:13:36 339a4e72a1f5: Pulling fs layer 20:13:36 988bab9f4d93: Pulling fs layer 20:13:36 1469e6f7b9e6: Pulling fs layer 20:13:36 eaf3925da568: Pulling fs layer 20:13:36 bab4dde63d76: Pulling fs layer 20:13:36 bde34c3a00c8: Pulling fs layer 20:13:36 b352a97aabf1: Pulling fs layer 20:13:36 4872d77fe225: Pulling fs layer 20:13:36 5851b861e8e6: Pulling fs layer 20:13:36 bab4dde63d76: Waiting 20:13:36 bde34c3a00c8: Waiting 20:13:36 b352a97aabf1: Waiting 20:13:36 5851b861e8e6: Waiting 20:13:36 988bab9f4d93: Waiting 20:13:36 1469e6f7b9e6: Waiting 20:13:36 eaf3925da568: Waiting 20:13:36 4872d77fe225: Waiting 20:13:36 e2be974225ed: Download complete 20:13:36 988bab9f4d93: Verifying Checksum 20:13:36 988bab9f4d93: Download complete 20:13:37 1469e6f7b9e6: Verifying Checksum 20:13:37 1469e6f7b9e6: Download complete 20:13:37 eaf3925da568: Verifying Checksum 20:13:37 eaf3925da568: Download complete 20:13:37 339a4e72a1f5: Verifying Checksum 20:13:37 339a4e72a1f5: Download complete 20:13:37 bde34c3a00c8: Verifying Checksum 20:13:37 bde34c3a00c8: Download complete 20:13:37 b352a97aabf1: Download complete 20:13:37 4872d77fe225: Download complete 20:13:37 5851b861e8e6: Verifying Checksum 20:13:37 5851b861e8e6: Download complete 20:13:37 b85a868b505f: Verifying Checksum 20:13:37 b85a868b505f: Download complete 20:13:37 bab4dde63d76: Verifying Checksum 20:13:37 bab4dde63d76: Download complete 20:13:38 b85a868b505f: Pull complete 20:13:38 e2be974225ed: Pull complete 20:13:39 339a4e72a1f5: Pull complete 20:13:39 988bab9f4d93: Pull complete 20:13:39 1469e6f7b9e6: Pull complete 20:13:39 eaf3925da568: Pull complete 20:13:42 bab4dde63d76: Pull complete 20:13:42 bde34c3a00c8: Pull complete 20:13:42 b352a97aabf1: Pull complete 20:13:42 4872d77fe225: Pull complete 20:13:42 5851b861e8e6: Pull complete 20:13:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:13:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:13:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:13:42 prd-ubuntu20.04-docker-8c-8g-21275 does not seem to be running inside a container 20:13:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1202 -v /w/workspace/gexfoundry_device-sdk-go_PR-1202:/w/workspace/gexfoundry_device-sdk-go_PR-1202:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:13:43 $ docker top 9dd447b2d710be2c94ae96957520b1176c8653210eb14d482a5150a93ed671d9 -eo pid,comm 20:13:44 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:13:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:13:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:13:44 [ssh-agent] Looking for ssh-agent implementation... 20:13:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:13:44 $ docker exec 9dd447b2d710be2c94ae96957520b1176c8653210eb14d482a5150a93ed671d9 ssh-agent 20:13:44 SSH_AUTH_SOCK=/tmp/ssh-p2LZg0ko7LN0/agent.35 20:13:44 SSH_AGENT_PID=41 20:13:44 Running ssh-add (command line suppressed) 20:13:44 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/private_key_3482543319890607127.key (/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/private_key_3482543319890607127.key) 20:13:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:13:44 + git tag --points-at HEAD [Pipeline] } 20:13:44 $ docker exec --env ******** --env ******** 9dd447b2d710be2c94ae96957520b1176c8653210eb14d482a5150a93ed671d9 ssh-agent -k 20:13:44 unset SSH_AUTH_SOCK; 20:13:44 unset SSH_AGENT_PID; 20:13:44 echo Agent pid 41 killed; 20:13:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:13:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:13:44 [ssh-agent] Looking for ssh-agent implementation... 20:13:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:13:45 $ docker exec 9dd447b2d710be2c94ae96957520b1176c8653210eb14d482a5150a93ed671d9 ssh-agent 20:13:45 SSH_AUTH_SOCK=/tmp/ssh-VnioufkbcRPb/agent.73 20:13:45 SSH_AGENT_PID=80 20:13:45 Running ssh-add (command line suppressed) 20:13:45 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/private_key_7750801988257147889.key (/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/private_key_7750801988257147889.key) 20:13:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:13:45 + git semver init 20:13:45 2022-07-27 20:13:45,877 [run_init] DEBUG init version:0.0.0 force:False 20:13:45 2022-07-27 20:13:45,877 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver 20:13:45 2022-07-27 20:13:45,878 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver 20:13:45 2022-07-27 20:13:45,878 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1202, universal_newlines=False, shell=None, istream=None) 20:13:46 2022-07-27 20:13:46,693 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1202/.git/info/exclude 20:13:46 2022-07-27 20:13:46,694 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver/PR-1202 with force:False 20:13:46 2022-07-27 20:13:46,694 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver/PR-1202 20:13:46 2022-07-27 20:13:46,699 [execute] INFO git cat-file --batch-check 20:13:46 2022-07-27 20:13:46,699 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver, universal_newlines=False, shell=None, istream=) 20:13:46 2022-07-27 20:13:46,706 [execute] INFO git cat-file --batch 20:13:46 2022-07-27 20:13:46,707 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver, universal_newlines=False, shell=None, istream=) 20:13:46 2022-07-27 20:13:46,713 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver/PR-1202 20:13:46 0.0.0 [Pipeline] } 20:13:46 $ docker exec --env ******** --env ******** 9dd447b2d710be2c94ae96957520b1176c8653210eb14d482a5150a93ed671d9 ssh-agent -k 20:13:47 unset SSH_AUTH_SOCK; 20:13:47 unset SSH_AGENT_PID; 20:13:47 echo Agent pid 80 killed; 20:13:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:13:47 + git semver [Pipeline] } 20:13:47 $ docker stop --time=1 9dd447b2d710be2c94ae96957520b1176c8653210eb14d482a5150a93ed671d9 20:13:48 $ docker rm -f 9dd447b2d710be2c94ae96957520b1176c8653210eb14d482a5150a93ed671d9 [Pipeline] // withDockerContainer [Pipeline] sh 20:13:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:13:49 Stashed 1 file(s) [Pipeline] echo 20:13:49 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:13:49 provisioning config files... 20:13:49 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/config9085857700863490275tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:13:50 ---> docker-login.sh 20:13:50 nexus3.edgexfoundry.org:10001 20:13:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:50 Configure a credential helper to remove this warning. See 20:13:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:50 20:13:50 Login Succeeded 20:13:50 nexus3.edgexfoundry.org:10002 20:13:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:50 Configure a credential helper to remove this warning. See 20:13:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:50 20:13:50 Login Succeeded 20:13:50 nexus3.edgexfoundry.org:10003 20:13:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:50 Configure a credential helper to remove this warning. See 20:13:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:50 20:13:50 Login Succeeded 20:13:50 nexus3.edgexfoundry.org:10004 20:13:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:50 Configure a credential helper to remove this warning. See 20:13:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:50 20:13:50 Login Succeeded 20:13:50 docker.io 20:13:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:50 Configure a credential helper to remove this warning. See 20:13:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:50 20:13:50 Login Succeeded 20:13:50 ---> docker-login.sh ends [Pipeline] } 20:13:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:13:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:13:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:13:50 ========================================================= 20:13:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:13:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:51 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:13:51 Sending build context to Docker daemon 9.773MB 20:13:51 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 20:13:51 Step 2/11 : FROM ${BASE} AS builder 20:13:51 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:13:51 2408cc74d12b: Pulling fs layer 20:13:51 ea60b727a1ce: Pulling fs layer 20:13:51 30c4a7721957: Pulling fs layer 20:13:51 370296b7ddb6: Pulling fs layer 20:13:51 7c6cee850709: Pulling fs layer 20:13:51 39a5fcdaea64: Pulling fs layer 20:13:51 d94ebbe4e438: Pulling fs layer 20:13:51 bcfd1f05c69d: Pulling fs layer 20:13:51 370296b7ddb6: Waiting 20:13:51 59ccb84bbe0f: Pulling fs layer 20:13:51 59ccb84bbe0f: Waiting 20:13:51 7c6cee850709: Waiting 20:13:51 39a5fcdaea64: Waiting 20:13:51 d94ebbe4e438: Waiting 20:13:51 bcfd1f05c69d: Waiting 20:13:51 30c4a7721957: Verifying Checksum 20:13:51 30c4a7721957: Download complete 20:13:51 ea60b727a1ce: Verifying Checksum 20:13:51 ea60b727a1ce: Download complete 20:13:51 7c6cee850709: Verifying Checksum 20:13:51 7c6cee850709: Download complete 20:13:51 39a5fcdaea64: Verifying Checksum 20:13:51 39a5fcdaea64: Download complete 20:13:51 2408cc74d12b: Verifying Checksum 20:13:51 2408cc74d12b: Download complete 20:13:51 d94ebbe4e438: Verifying Checksum 20:13:51 d94ebbe4e438: Download complete 20:13:51 2408cc74d12b: Pull complete 20:13:51 ea60b727a1ce: Pull complete 20:13:51 30c4a7721957: Pull complete 20:13:52 59ccb84bbe0f: Verifying Checksum 20:13:52 59ccb84bbe0f: Download complete 20:13:52 bcfd1f05c69d: Verifying Checksum 20:13:52 bcfd1f05c69d: Download complete 20:13:52 370296b7ddb6: Verifying Checksum 20:13:52 370296b7ddb6: Download complete 20:13:57 370296b7ddb6: Pull complete 20:13:57 7c6cee850709: Pull complete 20:13:57 39a5fcdaea64: Pull complete 20:13:57 d94ebbe4e438: Pull complete 20:13:59 bcfd1f05c69d: Pull complete 20:14:00 59ccb84bbe0f: Pull complete 20:14:00 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 20:14:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:14:00 ---> a4fb48ad2a94 20:14:00 Step 3/11 : ARG MAKE=make build 20:14:02 ---> Running in a3b97c9395e3 20:14:02 Removing intermediate container a3b97c9395e3 20:14:02 ---> 1f499e642feb 20:14:02 Step 4/11 : WORKDIR /device-sdk-go 20:14:02 ---> Running in ef93459ad21d 20:14:02 Removing intermediate container ef93459ad21d 20:14:02 ---> d8fa6ce8c759 20:14:02 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:14:02 ---> Running in 2d79ae4f5ebe 20:14:02 Removing intermediate container 2d79ae4f5ebe 20:14:02 ---> 358420d2da62 20:14:02 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:14:02 ---> Running in 696567ab1198 20:14:03 Removing intermediate container 696567ab1198 20:14:03 ---> 3125b9497177 20:14:03 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 20:14:03 ---> Running in 46cc010bcc37 20:14:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:14:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:14:04 Still waiting to schedule task 20:14:04 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:14:04 OK: 211 MiB in 51 packages 20:14:04 Removing intermediate container 46cc010bcc37 20:14:04 ---> d5db84a93b33 20:14:04 Step 8/11 : COPY go.mod vendor* ./ 20:14:05 ---> e8c089f250d9 20:14:05 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:14:05 ---> Running in 3f450908eafe 20:14:23 Removing intermediate container 3f450908eafe 20:14:23 ---> 7d15c20dd15b 20:14:23 Step 10/11 : COPY . . 20:14:23 ---> b7792599a608 20:14:23 Step 11/11 : RUN ${MAKE} 20:14:23 ---> Running in 072374857dfe 20:14:23 noop 20:14:23 Removing intermediate container 072374857dfe 20:14:23 ---> 93c0ae1a5aa0 20:14:23 Successfully built 93c0ae1a5aa0 20:14:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:23 + docker inspect -f . ci-base-image-x86_64 20:14:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:14:23 prd-ubuntu20.04-docker-8c-8g-21275 does not seem to be running inside a container 20:14:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1202 -v /w/workspace/gexfoundry_device-sdk-go_PR-1202:/w/workspace/gexfoundry_device-sdk-go_PR-1202:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:14:24 $ docker top 633205c4b9e563fe9b884b1d74f22b47db07a5b1877d1bbec4b2b1cfbdac17ab -eo pid,comm [Pipeline] { [Pipeline] sh 20:14:24 + go version 20:14:24 go version go1.18.3 linux/amd64 [Pipeline] } 20:14:24 $ docker stop --time=1 633205c4b9e563fe9b884b1d74f22b47db07a5b1877d1bbec4b2b1cfbdac17ab 20:14:25 $ docker rm -f 633205c4b9e563fe9b884b1d74f22b47db07a5b1877d1bbec4b2b1cfbdac17ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:26 + docker inspect -f . ci-base-image-x86_64 20:14:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:14:26 prd-ubuntu20.04-docker-8c-8g-21275 does not seem to be running inside a container 20:14:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-sdk-go_PR-1202 -v /w/workspace/gexfoundry_device-sdk-go_PR-1202:/w/workspace/gexfoundry_device-sdk-go_PR-1202:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:14:26 $ docker top 77ddd07440e7eb4be5410cd11ad7d172e6182304ace533fe25309e5edbb2ac68 -eo pid,comm [Pipeline] { [Pipeline] sh 20:14:27 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1202 [Pipeline] fileExists [Pipeline] sh 20:14:27 + make test 20:14:27 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 20:14:34 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 20:14:46 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 20:14:46 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 20:14:46 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 20:14:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.070s coverage: 23.7% of statements 20:14:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 20:14:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.046s coverage: 27.6% of statements 20:14:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.081s coverage: 78.9% of statements 20:14:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.056s coverage: 10.8% of statements 20:14:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.080s coverage: 60.0% of statements 20:14:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 20:14:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 20:14:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.080s coverage: 34.8% of statements 20:14:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 20:14:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.115s coverage: 85.4% of statements 20:14:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 20:14:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 20:14:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.089s coverage: 65.1% of statements 20:14:47 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 20:14:47 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 20:14:47 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.728s coverage: 89.2% of statements 20:14:47 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 20:14:47 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 4.7% of statements 20:14:47 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 20:15:02 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 20:15:02 GO111MODULE=on go vet ./... 20:15:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:15:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:15:04 ./bin/test-attribution-txt.sh 20:15:04 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 20:15:04 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 20:15:04 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 20:15:04 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 20:15:04 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 20:15:04 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 20:15:04 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 20:15:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:15:04 $ docker stop --time=1 77ddd07440e7eb4be5410cd11ad7d172e6182304ace533fe25309e5edbb2ac68 20:15:07 $ docker rm -f 77ddd07440e7eb4be5410cd11ad7d172e6182304ace533fe25309e5edbb2ac68 [Pipeline] // withDockerContainer [Pipeline] sh 20:15:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:15:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:15:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:15:08 + ls -al . 20:15:08 total 304 20:15:08 drwxrwxr-x 11 jenkins jenkins 4096 Jul 27 20:14 . 20:15:08 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 20:13 .. 20:15:08 -rw-rw-r-- 1 jenkins jenkins 140 Jul 27 20:13 .dockerignore 20:15:08 drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 20:14 .git 20:15:08 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 20:13 .github 20:15:08 -rw-rw-r-- 1 jenkins jenkins 131 Jul 27 20:13 .gitignore 20:15:08 -rw-rw-r-- 1 jenkins jenkins 42 Jul 27 20:13 .golangci.yml 20:15:08 drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 20:13 .semver 20:15:08 -rw-rw-r-- 1 jenkins jenkins 29536 Jul 27 20:13 CHANGELOG.md 20:15:08 -rw-rw-r-- 1 jenkins jenkins 677 Jul 27 20:13 GOVERNANCE.md 20:15:08 -rw-rw-r-- 1 jenkins jenkins 880 Jul 27 20:13 Jenkinsfile 20:15:08 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 27 20:13 LICENSE 20:15:08 -rw-rw-r-- 1 jenkins jenkins 2002 Jul 27 20:13 Makefile 20:15:08 -rw-rw-r-- 1 jenkins jenkins 619 Jul 27 20:13 OWNERS.md 20:15:08 -rw-rw-r-- 1 jenkins jenkins 4881 Jul 27 20:13 README.md 20:15:08 -rw-rw-r-- 1 jenkins jenkins 5 Jul 27 20:13 VERSION 20:15:08 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 20:13 bin 20:15:08 -rw-r--r-- 1 jenkins jenkins 131677 Jul 27 20:14 coverage.out 20:15:08 drwxrwxr-x 5 jenkins jenkins 4096 Jul 27 20:13 example 20:15:08 -rw-rw-r-- 1 jenkins jenkins 3553 Jul 27 20:13 go.mod 20:15:08 -rw-rw-r-- 1 jenkins jenkins 36743 Jul 27 20:13 go.sum 20:15:08 drwxrwxr-x 15 jenkins jenkins 4096 Jul 27 20:13 internal 20:15:08 drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 20:13 openapi 20:15:08 drwxrwxr-x 6 jenkins jenkins 4096 Jul 27 20:13 pkg 20:15:08 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 20:13 snap 20:15:08 -rw-rw-r-- 1 jenkins jenkins 222 Jul 27 20:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:09 + 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=f4e6d0232002c9c4bf9c338bf784f1d71141fae9 --label arch=amd64 --label version=0.0.0 . 20:15:09 Sending build context to Docker daemon 9.905MB 20:15:09 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 20:15:09 Step 2/25 : FROM ${BASE} AS builder 20:15:09 ---> 93c0ae1a5aa0 20:15:09 Step 3/25 : ARG MAKE=make build 20:15:09 ---> Running in f728ec2f7f14 20:15:09 Removing intermediate container f728ec2f7f14 20:15:09 ---> 2ae4939affea 20:15:09 Step 4/25 : WORKDIR /device-sdk-go 20:15:09 ---> Running in 10aebc906204 20:15:09 Removing intermediate container 10aebc906204 20:15:09 ---> e11155c93f4a 20:15:09 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:15:09 ---> Running in 1435e6ddcf43 20:15:09 Removing intermediate container 1435e6ddcf43 20:15:09 ---> 3dbf151a3e9d 20:15:09 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:15:09 ---> Running in f0c118e0c0da 20:15:10 Removing intermediate container f0c118e0c0da 20:15:10 ---> 9cde8f688938 20:15:10 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 20:15:10 ---> Running in 14586dbfb28b 20:15:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:15:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:15:12 OK: 211 MiB in 51 packages 20:15:12 Removing intermediate container 14586dbfb28b 20:15:12 ---> 0d41ca83b5ff 20:15:12 Step 8/25 : COPY go.mod vendor* ./ 20:15:12 ---> 4629fccc07f8 20:15:12 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:15:12 ---> Running in bdf9269eb754 20:15:13 Removing intermediate container bdf9269eb754 20:15:13 ---> a37c237c1c39 20:15:13 Step 10/25 : COPY . . 20:15:13 ---> 86f737bc30eb 20:15:13 Step 11/25 : RUN ${MAKE} 20:15:13 ---> Running in d9d84eec851b 20:15:14 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 20:15:32 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 20:15:33 Removing intermediate container d9d84eec851b 20:15:33 ---> 0f5d36186183 20:15:33 Step 12/25 : FROM alpine:3.16 20:15:34 3.16: Pulling from library/alpine 20:15:34 530afca65e2e: Pulling fs layer 20:15:34 530afca65e2e: Verifying Checksum 20:15:34 530afca65e2e: Download complete 20:15:34 530afca65e2e: Pull complete 20:15:34 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 20:15:34 Status: Downloaded newer image for alpine:3.16 20:15:34 ---> d7d3d98c851f 20:15:34 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:15:34 ---> Running in 8f8e0531de1f 20:15:34 Removing intermediate container 8f8e0531de1f 20:15:34 ---> dfa0b91b717a 20:15:34 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:15:34 ---> Running in 0108b8588330 20:15:35 Removing intermediate container 0108b8588330 20:15:35 ---> 0e25b7fbf135 20:15:35 Step 15/25 : RUN apk add --update --no-cache zeromq 20:15:35 ---> Running in b59fc027d485 20:15:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:15:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:15:36 (1/5) Installing libgcc (11.2.1_git20220219-r2) 20:15:37 (2/5) Installing libsodium (1.0.18-r0) 20:15:37 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 20:15:37 (4/5) Installing libzmq (4.3.4-r0) 20:15:37 (5/5) Installing zeromq (4.3.4-r0) 20:15:37 Executing busybox-1.35.0-r15.trigger 20:15:37 OK: 8 MiB in 19 packages 20:15:37 Removing intermediate container b59fc027d485 20:15:37 ---> 334d30e4a5c0 20:15:37 Step 16/25 : WORKDIR / 20:15:37 ---> Running in 770bdd4a482b 20:15:37 Removing intermediate container 770bdd4a482b 20:15:37 ---> 723dbbb3fa0c 20:15:37 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 20:15:38 ---> 45a0b4de8436 20:15:38 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 20:15:38 ---> 087ac9643618 20:15:38 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 20:15:38 ---> 0526a2e2ff45 20:15:38 Step 20/25 : EXPOSE 59999 20:15:39 ---> Running in e2c07fea5310 20:15:39 Removing intermediate container e2c07fea5310 20:15:39 ---> 13c5cb337756 20:15:39 Step 21/25 : ENTRYPOINT ["/device-simple"] 20:15:39 ---> Running in 1677dac9a5bc 20:15:39 Removing intermediate container 1677dac9a5bc 20:15:39 ---> 0dca119541a9 20:15:39 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:15:39 ---> Running in 77c14ad1d7e8 20:15:39 Removing intermediate container 77c14ad1d7e8 20:15:39 ---> f2ff00bdee20 20:15:39 Step 23/25 : LABEL arch=amd64 20:15:39 ---> Running in 2efc05be7c37 20:15:39 Removing intermediate container 2efc05be7c37 20:15:39 ---> b08e8be58e1a 20:15:39 Step 24/25 : LABEL git_sha=f4e6d0232002c9c4bf9c338bf784f1d71141fae9 20:15:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21276 in /w/workspace/gexfoundry_device-sdk-go_PR-1202 [Pipeline] { 20:15:39 ---> Running in f015eab29f29 20:15:39 Removing intermediate container f015eab29f29 20:15:39 ---> db42d2f300ec 20:15:39 Step 25/25 : LABEL version=0.0.0 20:15:39 ---> Running in 518ca527df10 20:15:39 Removing intermediate container 518ca527df10 20:15:39 ---> 7bbc68f48e3f 20:15:39 [Warning] One or more build-args [ARCH] were not consumed 20:15:39 Successfully built 7bbc68f48e3f 20:15:39 Successfully tagged device-sdk-simple:latest [Pipeline] ws 20:15:39 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] checkout [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } 20:15:39 The recommended git tool is: git [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:15:39 20:15:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:15:40 latest: Pulling from edgex-lftools-log-publisher 20:15:40 5eb5b503b376: Pulling fs layer 20:15:40 5c69ac0246d0: Pulling fs layer 20:15:40 ec43610c2a17: Pulling fs layer 20:15:40 3a2ae6a8a46f: Pulling fs layer 20:15:40 33b1e0a273af: Pulling fs layer 20:15:40 5d3b04190fa2: Pulling fs layer 20:15:40 2f39f015ded8: Pulling fs layer 20:15:40 33b1e0a273af: Waiting 20:15:40 5d3b04190fa2: Waiting 20:15:40 2f39f015ded8: Waiting 20:15:40 3a2ae6a8a46f: Waiting 20:15:40 5c69ac0246d0: Download complete 20:15:40 3a2ae6a8a46f: Download complete 20:15:40 33b1e0a273af: Verifying Checksum 20:15:40 33b1e0a273af: Download complete 20:15:40 5d3b04190fa2: Download complete 20:15:40 ec43610c2a17: Verifying Checksum 20:15:40 ec43610c2a17: Download complete 20:15:40 5eb5b503b376: Download complete 20:15:41 2f39f015ded8: Download complete 20:15:41 5eb5b503b376: Pull complete 20:15:41 5c69ac0246d0: Pull complete 20:15:42 ec43610c2a17: Pull complete 20:15:42 3a2ae6a8a46f: Pull complete 20:15:42 33b1e0a273af: Pull complete 20:15:42 5d3b04190fa2: Pull complete 20:15:46 using credential edgex-jenkins-ssh 20:15:46 Cloning the remote Git repository 20:15:46 2f39f015ded8: Pull complete 20:15:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:15:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:15:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:15:46 prd-ubuntu20.04-docker-8c-8g-21275 does not seem to be running inside a container 20:15:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1202 -v /w/workspace/gexfoundry_device-sdk-go_PR-1202:/w/workspace/gexfoundry_device-sdk-go_PR-1202:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:15:46 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 20:15:46 > git init /w/workspace/device-sdk-go/2 # timeout=10 20:15:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:15:46 > git --version # timeout=10 20:15:46 > git --version # 'git version 2.25.1' 20:15:46 using GIT_SSH to set credentials SSH Credentials for GitHub 20:15:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:15:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:15:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:15:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:15:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:15:48 using GIT_SSH to set credentials SSH Credentials for GitHub 20:15:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1202/head:refs/remotes/origin/PR-1202 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:15:48 $ docker top a1c2f81d7f5d90ab520a301009d0a755b69fa5d73c7205685005dab7a106cdd5 -eo pid,comm 20:15:48 Merging remotes/origin/main commit 05709587d91994e95fbbf030ae60546eede8820e into PR head commit f4e6d0232002c9c4bf9c338bf784f1d71141fae9 [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:15:48 Failed in branch arm64 20:15:49 ---> job-cost.sh 20:15:49 lf-activate-venv: SKIPPING 20:15:49 INFO: No Stack... 20:15:49 INFO: Retrieving Pricing Info for: v3-standard-8 20:15:48 > git config core.sparsecheckout # timeout=10 20:15:48 > git checkout -f f4e6d0232002c9c4bf9c338bf784f1d71141fae9 # timeout=10 20:15:50 INFO: Archiving Costs [Pipeline] sh 20:15:50 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives/cost.csv 20:15:50 + cut -d, -f6 [Pipeline] lock 20:15:50 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1202-2-stack-cost] 20:15:50 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1202-2-stack-cost] did not exist. Created. 20:15:50 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1202-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:15:50 + echo total: 0.2199999988079071 [Pipeline] stash 20:15:50 Stashed 1 file(s) [Pipeline] } 20:15:50 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1202-2-stack-cost] [Pipeline] // lock [Pipeline] } 20:15:50 $ docker stop --time=1 a1c2f81d7f5d90ab520a301009d0a755b69fa5d73c7205685005dab7a106cdd5 20:15:51 $ docker rm -f a1c2f81d7f5d90ab520a301009d0a755b69fa5d73c7205685005dab7a106cdd5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:15:52 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives ] 20:15:52 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives 20:15:52 total 16 20:15:52 drwxr-xr-x 3 root root 4096 Jul 27 20:15 . 20:15:52 drwxrwxr-x 12 jenkins jenkins 4096 Jul 27 20:15 .. 20:15:52 drwxr-xr-x 2 root root 4096 Jul 27 20:15 cost 20:15:52 -rw-r--r-- 1 root root 86 Jul 27 20:15 cost.csv 20:15:52 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives 20:15:52 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives 20:15:52 total 16 20:15:52 drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 20:15 . 20:15:52 drwxrwxr-x 12 jenkins jenkins 4096 Jul 27 20:15 .. 20:15:52 drwxr-xr-x 2 jenkins jenkins 4096 Jul 27 20:15 cost 20:15:52 -rw-r--r-- 1 jenkins jenkins 86 Jul 27 20:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:15:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:15:53 ---> package-listing.sh 20:15:53 ++ facter osfamily 20:15:53 ++ tr '[:upper:]' '[:lower:]' 20:15:54 + OS_FAMILY=debian 20:15:54 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1202 20:15:54 + START_PACKAGES=/tmp/packages_start.txt 20:15:54 + END_PACKAGES=/tmp/packages_end.txt 20:15:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:15:54 + PACKAGES=/tmp/packages_start.txt 20:15:54 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1202 ']' 20:15:54 + PACKAGES=/tmp/packages_end.txt 20:15:54 + case "${OS_FAMILY}" in 20:15:54 + dpkg -l 20:15:54 + grep '^ii' 20:15:54 + '[' -f /tmp/packages_start.txt ']' 20:15:54 + '[' -f /tmp/packages_end.txt ']' 20:15:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:15:54 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1202 ']' 20:15:54 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives/ 20:15:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives/ [Pipeline] echo 20:15:54 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1202/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:15:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:15:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:15:55 prd-ubuntu20.04-docker-8c-8g-21275 does not seem to be running inside a container 20:15:55 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1202/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1202 -v /w/workspace/gexfoundry_device-sdk-go_PR-1202:/w/workspace/gexfoundry_device-sdk-go_PR-1202:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:15:55 $ docker top d66a52302aba8d983a846148deb22fe586fd7eb41b4c7a478893ed43f4c09905 -eo pid,comm [Pipeline] { [Pipeline] sh 20:15:55 + touch /tmp/pre-build-complete [Pipeline] sh 20:15:56 + mkdir -p /var/log/sysstat [Pipeline] sh 20:15:56 + ls /var/log/sa-host 20:15:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:15:56 provisioning config files... 20:15:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/config1640429615757937828tmp [Pipeline] { [Pipeline] echo 20:15:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:15:56 ---> create-netrc.sh [Pipeline] } 20:15:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:15:57 ---> python-tools-install.sh [Pipeline] echo 20:15:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:15:57 ---> sudo-logs.sh 20:15:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:15:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:15:57 ---> job-cost.sh 20:15:57 lf-activate-venv: SKIPPING 20:15:57 DEBUG: total: 0.2199999988079071 20:15:57 INFO: Retrieving Stack Cost... 20:15:57 INFO: Retrieving Pricing Info for: v3-standard-8 20:15:58 INFO: Archiving Costs [Pipeline] echo 20:15:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:15:58 ---> logs-deploy.sh 20:15:58 lf-activate-venv: SKIPPING 20:15:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1202/2 20:15:58 INFO: archiving workspace using pattern(s): 20:15:59 Archives upload complete. 20:15:59 INFO: archiving logs to Nexus