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 [2022-07-27T20:13:31.111Z] 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 [2022-07-27T20:13:31.174Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-27T20:13:31.186Z] ========================================================= [2022-07-27T20:13:31.186Z] EdgeX Global Pipelines Version Info [2022-07-27T20:13:31.186Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-27T20:13:31.937Z] ------------------- [2022-07-27T20:13:31.937Z] stable info: [2022-07-27T20:13:31.937Z] ------------------- [2022-07-27T20:13:31.937Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-27T20:13:31.937Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-27T20:13:31.937Z] Message: update stable to v1.0.238 [2022-07-27T20:13:32.510Z] ------------------- [2022-07-27T20:13:32.510Z] experimental info: [2022-07-27T20:13:32.510Z] ------------------- [2022-07-27T20:13:32.510Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-27T20:13:32.510Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-27T20:13:32.510Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-27T20:13:32.692Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-07-27T20:13:32.702Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-07-27T20:13:32.716Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-27T20:13:32.726Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-27T20:13:32.737Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-27T20:13:32.751Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-27T20:13:32.762Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-27T20:13:32.773Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-07-27T20:13:32.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-27T20:13:32.798Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-27T20:13:32.809Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-27T20:13:32.820Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-07-27T20:13:32.836Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-27T20:13:32.849Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-27T20:13:32.858Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-27T20:13:32.866Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-07-27T20:13:32.875Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-27T20:13:32.884Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-27T20:13:32.897Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-27T20:13:32.909Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-27T20:13:32.922Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-07-27T20:13:32.934Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-07-27T20:13:32.945Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-27T20:13:32.958Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-27T20:13:32.975Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-27T20:13:32.990Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-27T20:13:32.998Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-27T20:13:33.006Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1202 [Pipeline] echo [2022-07-27T20:13:33.014Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1202 [Pipeline] echo [2022-07-27T20:13:33.023Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1202 [Pipeline] echo [2022-07-27T20:13:33.031Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f4e6d0232002c9c4bf9c338bf784f1d71141fae9 [Pipeline] echo [2022-07-27T20:13:33.040Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f4e6d02 [Pipeline] echo [2022-07-27T20:13:33.048Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-27T20:13:33.091Z] provisioning config files... [2022-07-27T20:13:33.105Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/config2490394239201066726tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-27T20:13:33.416Z] ---> docker-login.sh [2022-07-27T20:13:33.416Z] nexus3.edgexfoundry.org:10001 [2022-07-27T20:13:33.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T20:13:33.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T20:13:33.964Z] Configure a credential helper to remove this warning. See [2022-07-27T20:13:33.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T20:13:33.964Z] [2022-07-27T20:13:33.964Z] Login Succeeded [2022-07-27T20:13:33.964Z] nexus3.edgexfoundry.org:10002 [2022-07-27T20:13:33.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T20:13:34.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T20:13:34.227Z] Configure a credential helper to remove this warning. See [2022-07-27T20:13:34.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T20:13:34.227Z] [2022-07-27T20:13:34.227Z] Login Succeeded [2022-07-27T20:13:34.227Z] nexus3.edgexfoundry.org:10003 [2022-07-27T20:13:34.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T20:13:34.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T20:13:34.227Z] Configure a credential helper to remove this warning. See [2022-07-27T20:13:34.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T20:13:34.227Z] [2022-07-27T20:13:34.227Z] Login Succeeded [2022-07-27T20:13:34.227Z] nexus3.edgexfoundry.org:10004 [2022-07-27T20:13:34.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T20:13:34.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T20:13:34.490Z] Configure a credential helper to remove this warning. See [2022-07-27T20:13:34.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T20:13:34.490Z] [2022-07-27T20:13:34.490Z] Login Succeeded [2022-07-27T20:13:34.490Z] docker.io [2022-07-27T20:13:34.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T20:13:34.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T20:13:34.753Z] Configure a credential helper to remove this warning. See [2022-07-27T20:13:34.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T20:13:34.753Z] [2022-07-27T20:13:34.753Z] Login Succeeded [2022-07-27T20:13:34.753Z] ---> docker-login.sh ends [Pipeline] } [2022-07-27T20:13:34.762Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-27T20:13:35.148Z] + git rev-list -1 --merges f4e6d0232002c9c4bf9c338bf784f1d71141fae9~1..f4e6d0232002c9c4bf9c338bf784f1d71141fae9 [Pipeline] echo [2022-07-27T20:13:35.184Z] -----------> git rev-list -1 --merges f4e6d0232002c9c4bf9c338bf784f1d71141fae9~1..f4e6d0232002c9c4bf9c338bf784f1d71141fae9 f4e6d0232002c9c4bf9c338bf784f1d71141fae9 [false] [Pipeline] sh [2022-07-27T20:13:35.477Z] + git log --format=format:%s -1 f4e6d0232002c9c4bf9c338bf784f1d71141fae9 [Pipeline] echo [2022-07-27T20:13:35.494Z] ========================================================= [2022-07-27T20:13:35.494Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-27T20:13:35.494Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-27T20:13:35.838Z] + git log --format=format:%s -1 f4e6d0232002c9c4bf9c338bf784f1d71141fae9 [Pipeline] echo [2022-07-27T20:13:35.851Z] [semverPrep] GIT_COMMIT: f4e6d0232002c9c4bf9c338bf784f1d71141fae9, Commit Message: fix: added DriverConfigs and SetDeviceOPState to DeviceServiceSDK interface and implementation. [Pipeline] echo [2022-07-27T20:13:35.864Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-27T20:13:36.230Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-27T20:13:36.230Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-27T20:13:36.230Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-27T20:13:36.230Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-27T20:13:36.230Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-27T20:13:36.230Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-27T20:13:36.230Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T20:13:36.588Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-27T20:13:36.588Z] [2022-07-27T20:13:36.588Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T20:13:36.895Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-27T20:13:36.895Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-27T20:13:36.895Z] b85a868b505f: Pulling fs layer [2022-07-27T20:13:36.895Z] e2be974225ed: Pulling fs layer [2022-07-27T20:13:36.895Z] 339a4e72a1f5: Pulling fs layer [2022-07-27T20:13:36.895Z] 988bab9f4d93: Pulling fs layer [2022-07-27T20:13:36.895Z] 1469e6f7b9e6: Pulling fs layer [2022-07-27T20:13:36.895Z] eaf3925da568: Pulling fs layer [2022-07-27T20:13:36.895Z] bab4dde63d76: Pulling fs layer [2022-07-27T20:13:36.895Z] bde34c3a00c8: Pulling fs layer [2022-07-27T20:13:36.895Z] b352a97aabf1: Pulling fs layer [2022-07-27T20:13:36.895Z] 4872d77fe225: Pulling fs layer [2022-07-27T20:13:36.895Z] 5851b861e8e6: Pulling fs layer [2022-07-27T20:13:36.895Z] bab4dde63d76: Waiting [2022-07-27T20:13:36.895Z] bde34c3a00c8: Waiting [2022-07-27T20:13:36.895Z] b352a97aabf1: Waiting [2022-07-27T20:13:36.895Z] 5851b861e8e6: Waiting [2022-07-27T20:13:36.895Z] 988bab9f4d93: Waiting [2022-07-27T20:13:36.895Z] 1469e6f7b9e6: Waiting [2022-07-27T20:13:36.895Z] eaf3925da568: Waiting [2022-07-27T20:13:36.895Z] 4872d77fe225: Waiting [2022-07-27T20:13:36.895Z] e2be974225ed: Download complete [2022-07-27T20:13:36.895Z] 988bab9f4d93: Verifying Checksum [2022-07-27T20:13:36.895Z] 988bab9f4d93: Download complete [2022-07-27T20:13:37.157Z] 1469e6f7b9e6: Verifying Checksum [2022-07-27T20:13:37.157Z] 1469e6f7b9e6: Download complete [2022-07-27T20:13:37.157Z] eaf3925da568: Verifying Checksum [2022-07-27T20:13:37.157Z] eaf3925da568: Download complete [2022-07-27T20:13:37.157Z] 339a4e72a1f5: Verifying Checksum [2022-07-27T20:13:37.157Z] 339a4e72a1f5: Download complete [2022-07-27T20:13:37.157Z] bde34c3a00c8: Verifying Checksum [2022-07-27T20:13:37.157Z] bde34c3a00c8: Download complete [2022-07-27T20:13:37.157Z] b352a97aabf1: Download complete [2022-07-27T20:13:37.157Z] 4872d77fe225: Download complete [2022-07-27T20:13:37.157Z] 5851b861e8e6: Verifying Checksum [2022-07-27T20:13:37.157Z] 5851b861e8e6: Download complete [2022-07-27T20:13:37.157Z] b85a868b505f: Verifying Checksum [2022-07-27T20:13:37.157Z] b85a868b505f: Download complete [2022-07-27T20:13:37.419Z] bab4dde63d76: Verifying Checksum [2022-07-27T20:13:37.419Z] bab4dde63d76: Download complete [2022-07-27T20:13:38.807Z] b85a868b505f: Pull complete [2022-07-27T20:13:38.807Z] e2be974225ed: Pull complete [2022-07-27T20:13:39.379Z] 339a4e72a1f5: Pull complete [2022-07-27T20:13:39.379Z] 988bab9f4d93: Pull complete [2022-07-27T20:13:39.642Z] 1469e6f7b9e6: Pull complete [2022-07-27T20:13:39.642Z] eaf3925da568: Pull complete [2022-07-27T20:13:42.192Z] bab4dde63d76: Pull complete [2022-07-27T20:13:42.192Z] bde34c3a00c8: Pull complete [2022-07-27T20:13:42.192Z] b352a97aabf1: Pull complete [2022-07-27T20:13:42.192Z] 4872d77fe225: Pull complete [2022-07-27T20:13:42.192Z] 5851b861e8e6: Pull complete [2022-07-27T20:13:42.192Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-27T20:13:42.192Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-27T20:13:42.192Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T20:13:42.305Z] prd-ubuntu20.04-docker-8c-8g-21275 does not seem to be running inside a container [2022-07-27T20:13:42.349Z] $ 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 [2022-07-27T20:13:43.933Z] $ docker top 9dd447b2d710be2c94ae96957520b1176c8653210eb14d482a5150a93ed671d9 -eo pid,comm [2022-07-27T20:13:44.005Z] 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). [2022-07-27T20:13:44.005Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-27T20:13:44.042Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-27T20:13:44.042Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-27T20:13:44.185Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-27T20:13:44.192Z] $ docker exec 9dd447b2d710be2c94ae96957520b1176c8653210eb14d482a5150a93ed671d9 ssh-agent [2022-07-27T20:13:44.327Z] SSH_AUTH_SOCK=/tmp/ssh-p2LZg0ko7LN0/agent.35 [2022-07-27T20:13:44.327Z] SSH_AGENT_PID=41 [2022-07-27T20:13:44.334Z] Running ssh-add (command line suppressed) [2022-07-27T20:13:44.454Z] 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) [2022-07-27T20:13:44.469Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-27T20:13:44.762Z] + git tag --points-at HEAD [Pipeline] } [2022-07-27T20:13:44.780Z] $ docker exec --env ******** --env ******** 9dd447b2d710be2c94ae96957520b1176c8653210eb14d482a5150a93ed671d9 ssh-agent -k [2022-07-27T20:13:44.899Z] unset SSH_AUTH_SOCK; [2022-07-27T20:13:44.899Z] unset SSH_AGENT_PID; [2022-07-27T20:13:44.899Z] echo Agent pid 41 killed; [2022-07-27T20:13:44.908Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-27T20:13:44.931Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-27T20:13:44.931Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-27T20:13:45.072Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-27T20:13:45.079Z] $ docker exec 9dd447b2d710be2c94ae96957520b1176c8653210eb14d482a5150a93ed671d9 ssh-agent [2022-07-27T20:13:45.234Z] SSH_AUTH_SOCK=/tmp/ssh-VnioufkbcRPb/agent.73 [2022-07-27T20:13:45.234Z] SSH_AGENT_PID=80 [2022-07-27T20:13:45.240Z] Running ssh-add (command line suppressed) [2022-07-27T20:13:45.365Z] 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) [2022-07-27T20:13:45.380Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-27T20:13:45.673Z] + git semver init [2022-07-27T20:13:45.935Z] 2022-07-27 20:13:45,877 [run_init] DEBUG init version:0.0.0 force:False [2022-07-27T20:13:45.935Z] 2022-07-27 20:13:45,877 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver [2022-07-27T20:13:45.935Z] 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 [2022-07-27T20:13:45.935Z] 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) [2022-07-27T20:13:46.878Z] 2022-07-27 20:13:46,693 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1202/.git/info/exclude [2022-07-27T20:13:46.878Z] 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 [2022-07-27T20:13:46.878Z] 2022-07-27 20:13:46,694 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver/PR-1202 [2022-07-27T20:13:46.878Z] 2022-07-27 20:13:46,699 [execute] INFO git cat-file --batch-check [2022-07-27T20:13:46.878Z] 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=) [2022-07-27T20:13:46.878Z] 2022-07-27 20:13:46,706 [execute] INFO git cat-file --batch [2022-07-27T20:13:46.878Z] 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=) [2022-07-27T20:13:46.878Z] 2022-07-27 20:13:46,713 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver/PR-1202 [2022-07-27T20:13:46.878Z] 0.0.0 [Pipeline] } [2022-07-27T20:13:46.893Z] $ docker exec --env ******** --env ******** 9dd447b2d710be2c94ae96957520b1176c8653210eb14d482a5150a93ed671d9 ssh-agent -k [2022-07-27T20:13:47.022Z] unset SSH_AUTH_SOCK; [2022-07-27T20:13:47.022Z] unset SSH_AGENT_PID; [2022-07-27T20:13:47.022Z] echo Agent pid 80 killed; [2022-07-27T20:13:47.031Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-27T20:13:47.345Z] + git semver [Pipeline] } [2022-07-27T20:13:47.625Z] $ docker stop --time=1 9dd447b2d710be2c94ae96957520b1176c8653210eb14d482a5150a93ed671d9 [2022-07-27T20:13:48.995Z] $ docker rm -f 9dd447b2d710be2c94ae96957520b1176c8653210eb14d482a5150a93ed671d9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-27T20:13:49.354Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-27T20:13:49.603Z] Stashed 1 file(s) [Pipeline] echo [2022-07-27T20:13:49.606Z] [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 [2022-07-27T20:13:49.759Z] provisioning config files... [2022-07-27T20:13:49.769Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/config9085857700863490275tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-27T20:13:50.071Z] ---> docker-login.sh [2022-07-27T20:13:50.071Z] nexus3.edgexfoundry.org:10001 [2022-07-27T20:13:50.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T20:13:50.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T20:13:50.071Z] Configure a credential helper to remove this warning. See [2022-07-27T20:13:50.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T20:13:50.071Z] [2022-07-27T20:13:50.071Z] Login Succeeded [2022-07-27T20:13:50.071Z] nexus3.edgexfoundry.org:10002 [2022-07-27T20:13:50.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T20:13:50.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T20:13:50.332Z] Configure a credential helper to remove this warning. See [2022-07-27T20:13:50.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T20:13:50.332Z] [2022-07-27T20:13:50.332Z] Login Succeeded [2022-07-27T20:13:50.332Z] nexus3.edgexfoundry.org:10003 [2022-07-27T20:13:50.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T20:13:50.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T20:13:50.332Z] Configure a credential helper to remove this warning. See [2022-07-27T20:13:50.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T20:13:50.332Z] [2022-07-27T20:13:50.332Z] Login Succeeded [2022-07-27T20:13:50.332Z] nexus3.edgexfoundry.org:10004 [2022-07-27T20:13:50.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T20:13:50.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T20:13:50.595Z] Configure a credential helper to remove this warning. See [2022-07-27T20:13:50.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T20:13:50.595Z] [2022-07-27T20:13:50.595Z] Login Succeeded [2022-07-27T20:13:50.595Z] docker.io [2022-07-27T20:13:50.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T20:13:50.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T20:13:50.856Z] Configure a credential helper to remove this warning. See [2022-07-27T20:13:50.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T20:13:50.856Z] [2022-07-27T20:13:50.856Z] Login Succeeded [2022-07-27T20:13:50.856Z] ---> docker-login.sh ends [Pipeline] } [2022-07-27T20:13:50.864Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-27T20:13:50.936Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-27T20:13:50.952Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-27T20:13:50.961Z] ========================================================= [2022-07-27T20:13:50.961Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-27T20:13:50.961Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T20:13:51.302Z] + 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 . [2022-07-27T20:13:51.302Z] Sending build context to Docker daemon 9.773MB [2022-07-27T20:13:51.302Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-07-27T20:13:51.302Z] Step 2/11 : FROM ${BASE} AS builder [2022-07-27T20:13:51.302Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-27T20:13:51.302Z] 2408cc74d12b: Pulling fs layer [2022-07-27T20:13:51.302Z] ea60b727a1ce: Pulling fs layer [2022-07-27T20:13:51.302Z] 30c4a7721957: Pulling fs layer [2022-07-27T20:13:51.302Z] 370296b7ddb6: Pulling fs layer [2022-07-27T20:13:51.302Z] 7c6cee850709: Pulling fs layer [2022-07-27T20:13:51.302Z] 39a5fcdaea64: Pulling fs layer [2022-07-27T20:13:51.302Z] d94ebbe4e438: Pulling fs layer [2022-07-27T20:13:51.302Z] bcfd1f05c69d: Pulling fs layer [2022-07-27T20:13:51.302Z] 370296b7ddb6: Waiting [2022-07-27T20:13:51.302Z] 59ccb84bbe0f: Pulling fs layer [2022-07-27T20:13:51.302Z] 59ccb84bbe0f: Waiting [2022-07-27T20:13:51.302Z] 7c6cee850709: Waiting [2022-07-27T20:13:51.302Z] 39a5fcdaea64: Waiting [2022-07-27T20:13:51.302Z] d94ebbe4e438: Waiting [2022-07-27T20:13:51.302Z] bcfd1f05c69d: Waiting [2022-07-27T20:13:51.562Z] 30c4a7721957: Verifying Checksum [2022-07-27T20:13:51.562Z] 30c4a7721957: Download complete [2022-07-27T20:13:51.562Z] ea60b727a1ce: Verifying Checksum [2022-07-27T20:13:51.562Z] ea60b727a1ce: Download complete [2022-07-27T20:13:51.562Z] 7c6cee850709: Verifying Checksum [2022-07-27T20:13:51.562Z] 7c6cee850709: Download complete [2022-07-27T20:13:51.562Z] 39a5fcdaea64: Verifying Checksum [2022-07-27T20:13:51.562Z] 39a5fcdaea64: Download complete [2022-07-27T20:13:51.562Z] 2408cc74d12b: Verifying Checksum [2022-07-27T20:13:51.562Z] 2408cc74d12b: Download complete [2022-07-27T20:13:51.562Z] d94ebbe4e438: Verifying Checksum [2022-07-27T20:13:51.562Z] d94ebbe4e438: Download complete [2022-07-27T20:13:51.562Z] 2408cc74d12b: Pull complete [2022-07-27T20:13:51.822Z] ea60b727a1ce: Pull complete [2022-07-27T20:13:51.822Z] 30c4a7721957: Pull complete [2022-07-27T20:13:52.082Z] 59ccb84bbe0f: Verifying Checksum [2022-07-27T20:13:52.082Z] 59ccb84bbe0f: Download complete [2022-07-27T20:13:52.342Z] bcfd1f05c69d: Verifying Checksum [2022-07-27T20:13:52.343Z] bcfd1f05c69d: Download complete [2022-07-27T20:13:52.343Z] 370296b7ddb6: Verifying Checksum [2022-07-27T20:13:52.343Z] 370296b7ddb6: Download complete [2022-07-27T20:13:57.639Z] 370296b7ddb6: Pull complete [2022-07-27T20:13:57.639Z] 7c6cee850709: Pull complete [2022-07-27T20:13:57.639Z] 39a5fcdaea64: Pull complete [2022-07-27T20:13:57.639Z] d94ebbe4e438: Pull complete [2022-07-27T20:13:59.556Z] bcfd1f05c69d: Pull complete [2022-07-27T20:14:00.130Z] 59ccb84bbe0f: Pull complete [2022-07-27T20:14:00.130Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-27T20:14:00.130Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-27T20:14:00.130Z] ---> a4fb48ad2a94 [2022-07-27T20:14:00.130Z] Step 3/11 : ARG MAKE=make build [2022-07-27T20:14:02.682Z] ---> Running in a3b97c9395e3 [2022-07-27T20:14:02.682Z] Removing intermediate container a3b97c9395e3 [2022-07-27T20:14:02.682Z] ---> 1f499e642feb [2022-07-27T20:14:02.682Z] Step 4/11 : WORKDIR /device-sdk-go [2022-07-27T20:14:02.682Z] ---> Running in ef93459ad21d [2022-07-27T20:14:02.682Z] Removing intermediate container ef93459ad21d [2022-07-27T20:14:02.682Z] ---> d8fa6ce8c759 [2022-07-27T20:14:02.682Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-27T20:14:02.682Z] ---> Running in 2d79ae4f5ebe [2022-07-27T20:14:02.682Z] Removing intermediate container 2d79ae4f5ebe [2022-07-27T20:14:02.682Z] ---> 358420d2da62 [2022-07-27T20:14:02.682Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-27T20:14:02.682Z] ---> Running in 696567ab1198 [2022-07-27T20:14:03.255Z] Removing intermediate container 696567ab1198 [2022-07-27T20:14:03.255Z] ---> 3125b9497177 [2022-07-27T20:14:03.255Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-27T20:14:03.255Z] ---> Running in 46cc010bcc37 [2022-07-27T20:14:03.517Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-27T20:14:04.459Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-27T20:14:04.711Z] Still waiting to schedule task [2022-07-27T20:14:04.711Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-27T20:14:04.720Z] OK: 211 MiB in 51 packages [2022-07-27T20:14:04.980Z] Removing intermediate container 46cc010bcc37 [2022-07-27T20:14:04.980Z] ---> d5db84a93b33 [2022-07-27T20:14:04.980Z] Step 8/11 : COPY go.mod vendor* ./ [2022-07-27T20:14:05.240Z] ---> e8c089f250d9 [2022-07-27T20:14:05.240Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-27T20:14:05.240Z] ---> Running in 3f450908eafe [2022-07-27T20:14:23.395Z] Removing intermediate container 3f450908eafe [2022-07-27T20:14:23.395Z] ---> 7d15c20dd15b [2022-07-27T20:14:23.395Z] Step 10/11 : COPY . . [2022-07-27T20:14:23.395Z] ---> b7792599a608 [2022-07-27T20:14:23.395Z] Step 11/11 : RUN ${MAKE} [2022-07-27T20:14:23.395Z] ---> Running in 072374857dfe [2022-07-27T20:14:23.395Z] noop [2022-07-27T20:14:23.395Z] Removing intermediate container 072374857dfe [2022-07-27T20:14:23.395Z] ---> 93c0ae1a5aa0 [2022-07-27T20:14:23.395Z] Successfully built 93c0ae1a5aa0 [2022-07-27T20:14:23.395Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T20:14:23.723Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-27T20:14:23.723Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T20:14:23.823Z] prd-ubuntu20.04-docker-8c-8g-21275 does not seem to be running inside a container [2022-07-27T20:14:23.875Z] $ 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 [2022-07-27T20:14:24.275Z] $ docker top 633205c4b9e563fe9b884b1d74f22b47db07a5b1877d1bbec4b2b1cfbdac17ab -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-27T20:14:24.649Z] + go version [2022-07-27T20:14:24.649Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-27T20:14:24.666Z] $ docker stop --time=1 633205c4b9e563fe9b884b1d74f22b47db07a5b1877d1bbec4b2b1cfbdac17ab [2022-07-27T20:14:25.962Z] $ 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 [2022-07-27T20:14:26.406Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-27T20:14:26.406Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T20:14:26.493Z] prd-ubuntu20.04-docker-8c-8g-21275 does not seem to be running inside a container [2022-07-27T20:14:26.582Z] $ 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 [2022-07-27T20:14:26.995Z] $ docker top 77ddd07440e7eb4be5410cd11ad7d172e6182304ace533fe25309e5edbb2ac68 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-27T20:14:27.412Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1202 [Pipeline] fileExists [Pipeline] sh [2022-07-27T20:14:27.713Z] + make test [2022-07-27T20:14:27.713Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-07-27T20:14:34.306Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-07-27T20:14:46.515Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-07-27T20:14:46.515Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-07-27T20:14:46.515Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-07-27T20:14:47.083Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.070s coverage: 23.7% of statements [2022-07-27T20:14:47.083Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-07-27T20:14:47.083Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.046s coverage: 27.6% of statements [2022-07-27T20:14:47.083Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.081s coverage: 78.9% of statements [2022-07-27T20:14:47.083Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.056s coverage: 10.8% of statements [2022-07-27T20:14:47.083Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.080s coverage: 60.0% of statements [2022-07-27T20:14:47.083Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-07-27T20:14:47.083Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-07-27T20:14:47.655Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.080s coverage: 34.8% of statements [2022-07-27T20:14:47.655Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-07-27T20:14:47.917Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.115s coverage: 85.4% of statements [2022-07-27T20:14:47.917Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-07-27T20:14:47.917Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-07-27T20:14:47.917Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.089s coverage: 65.1% of statements [2022-07-27T20:14:47.917Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-07-27T20:14:47.917Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-07-27T20:14:47.917Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.728s coverage: 89.2% of statements [2022-07-27T20:14:47.917Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-07-27T20:14:47.917Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 4.7% of statements [2022-07-27T20:14:47.917Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-07-27T20:15:02.800Z] 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." [2022-07-27T20:15:02.800Z] GO111MODULE=on go vet ./... [2022-07-27T20:15:04.703Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-27T20:15:04.703Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-27T20:15:04.703Z] ./bin/test-attribution-txt.sh [2022-07-27T20:15:04.964Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-07-27T20:15:04.964Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-07-27T20:15:04.964Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-07-27T20:15:04.964Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-07-27T20:15:04.964Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-07-27T20:15:04.964Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-07-27T20:15:04.964Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-07-27T20:15:04.976Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-27T20:15:04.990Z] $ docker stop --time=1 77ddd07440e7eb4be5410cd11ad7d172e6182304ace533fe25309e5edbb2ac68 [2022-07-27T20:15:07.521Z] $ docker rm -f 77ddd07440e7eb4be5410cd11ad7d172e6182304ace533fe25309e5edbb2ac68 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-27T20:15:08.032Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-27T20:15:08.090Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-27T20:15:08.599Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-27T20:15:08.892Z] + ls -al . [2022-07-27T20:15:08.892Z] total 304 [2022-07-27T20:15:08.892Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 27 20:14 . [2022-07-27T20:15:08.892Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 20:13 .. [2022-07-27T20:15:08.892Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 27 20:13 .dockerignore [2022-07-27T20:15:08.892Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 20:14 .git [2022-07-27T20:15:08.892Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 20:13 .github [2022-07-27T20:15:08.892Z] -rw-rw-r-- 1 jenkins jenkins 131 Jul 27 20:13 .gitignore [2022-07-27T20:15:08.892Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 27 20:13 .golangci.yml [2022-07-27T20:15:08.892Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 20:13 .semver [2022-07-27T20:15:08.892Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jul 27 20:13 CHANGELOG.md [2022-07-27T20:15:08.892Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 27 20:13 GOVERNANCE.md [2022-07-27T20:15:08.892Z] -rw-rw-r-- 1 jenkins jenkins 880 Jul 27 20:13 Jenkinsfile [2022-07-27T20:15:08.892Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 27 20:13 LICENSE [2022-07-27T20:15:08.892Z] -rw-rw-r-- 1 jenkins jenkins 2002 Jul 27 20:13 Makefile [2022-07-27T20:15:08.892Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 27 20:13 OWNERS.md [2022-07-27T20:15:08.892Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jul 27 20:13 README.md [2022-07-27T20:15:08.892Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 27 20:13 VERSION [2022-07-27T20:15:08.892Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 20:13 bin [2022-07-27T20:15:08.892Z] -rw-r--r-- 1 jenkins jenkins 131677 Jul 27 20:14 coverage.out [2022-07-27T20:15:08.892Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 27 20:13 example [2022-07-27T20:15:08.892Z] -rw-rw-r-- 1 jenkins jenkins 3553 Jul 27 20:13 go.mod [2022-07-27T20:15:08.892Z] -rw-rw-r-- 1 jenkins jenkins 36743 Jul 27 20:13 go.sum [2022-07-27T20:15:08.892Z] drwxrwxr-x 15 jenkins jenkins 4096 Jul 27 20:13 internal [2022-07-27T20:15:08.892Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 20:13 openapi [2022-07-27T20:15:08.892Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 27 20:13 pkg [2022-07-27T20:15:08.892Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 20:13 snap [2022-07-27T20:15:08.892Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 27 20:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T20:15:09.208Z] + 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 . [2022-07-27T20:15:09.208Z] Sending build context to Docker daemon 9.905MB [2022-07-27T20:15:09.208Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-27T20:15:09.208Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-27T20:15:09.208Z] ---> 93c0ae1a5aa0 [2022-07-27T20:15:09.208Z] Step 3/25 : ARG MAKE=make build [2022-07-27T20:15:09.471Z] ---> Running in f728ec2f7f14 [2022-07-27T20:15:09.471Z] Removing intermediate container f728ec2f7f14 [2022-07-27T20:15:09.471Z] ---> 2ae4939affea [2022-07-27T20:15:09.471Z] Step 4/25 : WORKDIR /device-sdk-go [2022-07-27T20:15:09.471Z] ---> Running in 10aebc906204 [2022-07-27T20:15:09.471Z] Removing intermediate container 10aebc906204 [2022-07-27T20:15:09.471Z] ---> e11155c93f4a [2022-07-27T20:15:09.471Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-27T20:15:09.733Z] ---> Running in 1435e6ddcf43 [2022-07-27T20:15:09.733Z] Removing intermediate container 1435e6ddcf43 [2022-07-27T20:15:09.733Z] ---> 3dbf151a3e9d [2022-07-27T20:15:09.733Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-27T20:15:09.733Z] ---> Running in f0c118e0c0da [2022-07-27T20:15:10.306Z] Removing intermediate container f0c118e0c0da [2022-07-27T20:15:10.306Z] ---> 9cde8f688938 [2022-07-27T20:15:10.306Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-27T20:15:10.306Z] ---> Running in 14586dbfb28b [2022-07-27T20:15:10.566Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-27T20:15:11.512Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-27T20:15:12.083Z] OK: 211 MiB in 51 packages [2022-07-27T20:15:12.344Z] Removing intermediate container 14586dbfb28b [2022-07-27T20:15:12.344Z] ---> 0d41ca83b5ff [2022-07-27T20:15:12.344Z] Step 8/25 : COPY go.mod vendor* ./ [2022-07-27T20:15:12.604Z] ---> 4629fccc07f8 [2022-07-27T20:15:12.604Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-27T20:15:12.604Z] ---> Running in bdf9269eb754 [2022-07-27T20:15:13.176Z] Removing intermediate container bdf9269eb754 [2022-07-27T20:15:13.176Z] ---> a37c237c1c39 [2022-07-27T20:15:13.176Z] Step 10/25 : COPY . . [2022-07-27T20:15:13.749Z] ---> 86f737bc30eb [2022-07-27T20:15:13.749Z] Step 11/25 : RUN ${MAKE} [2022-07-27T20:15:13.749Z] ---> Running in d9d84eec851b [2022-07-27T20:15:14.008Z] 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 [2022-07-27T20:15:32.107Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-07-27T20:15:33.496Z] Removing intermediate container d9d84eec851b [2022-07-27T20:15:33.496Z] ---> 0f5d36186183 [2022-07-27T20:15:33.496Z] Step 12/25 : FROM alpine:3.16 [2022-07-27T20:15:34.065Z] 3.16: Pulling from library/alpine [2022-07-27T20:15:34.326Z] 530afca65e2e: Pulling fs layer [2022-07-27T20:15:34.587Z] 530afca65e2e: Verifying Checksum [2022-07-27T20:15:34.587Z] 530afca65e2e: Download complete [2022-07-27T20:15:34.587Z] 530afca65e2e: Pull complete [2022-07-27T20:15:34.587Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-07-27T20:15:34.587Z] Status: Downloaded newer image for alpine:3.16 [2022-07-27T20:15:34.587Z] ---> d7d3d98c851f [2022-07-27T20:15:34.587Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-27T20:15:34.850Z] ---> Running in 8f8e0531de1f [2022-07-27T20:15:34.850Z] Removing intermediate container 8f8e0531de1f [2022-07-27T20:15:34.850Z] ---> dfa0b91b717a [2022-07-27T20:15:34.850Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-27T20:15:34.850Z] ---> Running in 0108b8588330 [2022-07-27T20:15:35.419Z] Removing intermediate container 0108b8588330 [2022-07-27T20:15:35.419Z] ---> 0e25b7fbf135 [2022-07-27T20:15:35.419Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-07-27T20:15:35.419Z] ---> Running in b59fc027d485 [2022-07-27T20:15:35.678Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-27T20:15:36.620Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-27T20:15:36.879Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-07-27T20:15:37.143Z] (2/5) Installing libsodium (1.0.18-r0) [2022-07-27T20:15:37.143Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-27T20:15:37.403Z] (4/5) Installing libzmq (4.3.4-r0) [2022-07-27T20:15:37.403Z] (5/5) Installing zeromq (4.3.4-r0) [2022-07-27T20:15:37.403Z] Executing busybox-1.35.0-r15.trigger [2022-07-27T20:15:37.662Z] OK: 8 MiB in 19 packages [2022-07-27T20:15:37.921Z] Removing intermediate container b59fc027d485 [2022-07-27T20:15:37.921Z] ---> 334d30e4a5c0 [2022-07-27T20:15:37.921Z] Step 16/25 : WORKDIR / [2022-07-27T20:15:37.921Z] ---> Running in 770bdd4a482b [2022-07-27T20:15:37.921Z] Removing intermediate container 770bdd4a482b [2022-07-27T20:15:37.921Z] ---> 723dbbb3fa0c [2022-07-27T20:15:37.921Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-07-27T20:15:38.179Z] ---> 45a0b4de8436 [2022-07-27T20:15:38.179Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-07-27T20:15:38.747Z] ---> 087ac9643618 [2022-07-27T20:15:38.747Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-07-27T20:15:38.747Z] ---> 0526a2e2ff45 [2022-07-27T20:15:38.747Z] Step 20/25 : EXPOSE 59999 [2022-07-27T20:15:39.014Z] ---> Running in e2c07fea5310 [2022-07-27T20:15:39.014Z] Removing intermediate container e2c07fea5310 [2022-07-27T20:15:39.014Z] ---> 13c5cb337756 [2022-07-27T20:15:39.014Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-07-27T20:15:39.014Z] ---> Running in 1677dac9a5bc [2022-07-27T20:15:39.014Z] Removing intermediate container 1677dac9a5bc [2022-07-27T20:15:39.014Z] ---> 0dca119541a9 [2022-07-27T20:15:39.014Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-27T20:15:39.274Z] ---> Running in 77c14ad1d7e8 [2022-07-27T20:15:39.274Z] Removing intermediate container 77c14ad1d7e8 [2022-07-27T20:15:39.274Z] ---> f2ff00bdee20 [2022-07-27T20:15:39.274Z] Step 23/25 : LABEL arch=amd64 [2022-07-27T20:15:39.274Z] ---> Running in 2efc05be7c37 [2022-07-27T20:15:39.274Z] Removing intermediate container 2efc05be7c37 [2022-07-27T20:15:39.274Z] ---> b08e8be58e1a [2022-07-27T20:15:39.274Z] Step 24/25 : LABEL git_sha=f4e6d0232002c9c4bf9c338bf784f1d71141fae9 [2022-07-27T20:15:39.530Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21276 in /w/workspace/gexfoundry_device-sdk-go_PR-1202 [Pipeline] { [2022-07-27T20:15:39.535Z] ---> Running in f015eab29f29 [2022-07-27T20:15:39.535Z] Removing intermediate container f015eab29f29 [2022-07-27T20:15:39.535Z] ---> db42d2f300ec [2022-07-27T20:15:39.535Z] Step 25/25 : LABEL version=0.0.0 [2022-07-27T20:15:39.535Z] ---> Running in 518ca527df10 [2022-07-27T20:15:39.535Z] Removing intermediate container 518ca527df10 [2022-07-27T20:15:39.535Z] ---> 7bbc68f48e3f [2022-07-27T20:15:39.535Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-27T20:15:39.535Z] Successfully built 7bbc68f48e3f [2022-07-27T20:15:39.535Z] Successfully tagged device-sdk-simple:latest [Pipeline] ws [2022-07-27T20:15:39.543Z] 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] } [2022-07-27T20:15:39.627Z] 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 [2022-07-27T20:15:39.976Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-27T20:15:39.976Z] [2022-07-27T20:15:39.976Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T20:15:40.279Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-27T20:15:40.279Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-27T20:15:40.279Z] 5eb5b503b376: Pulling fs layer [2022-07-27T20:15:40.279Z] 5c69ac0246d0: Pulling fs layer [2022-07-27T20:15:40.279Z] ec43610c2a17: Pulling fs layer [2022-07-27T20:15:40.279Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-27T20:15:40.279Z] 33b1e0a273af: Pulling fs layer [2022-07-27T20:15:40.279Z] 5d3b04190fa2: Pulling fs layer [2022-07-27T20:15:40.279Z] 2f39f015ded8: Pulling fs layer [2022-07-27T20:15:40.279Z] 33b1e0a273af: Waiting [2022-07-27T20:15:40.279Z] 5d3b04190fa2: Waiting [2022-07-27T20:15:40.279Z] 2f39f015ded8: Waiting [2022-07-27T20:15:40.279Z] 3a2ae6a8a46f: Waiting [2022-07-27T20:15:40.279Z] 5c69ac0246d0: Download complete [2022-07-27T20:15:40.279Z] 3a2ae6a8a46f: Download complete [2022-07-27T20:15:40.279Z] 33b1e0a273af: Verifying Checksum [2022-07-27T20:15:40.279Z] 33b1e0a273af: Download complete [2022-07-27T20:15:40.538Z] 5d3b04190fa2: Download complete [2022-07-27T20:15:40.538Z] ec43610c2a17: Verifying Checksum [2022-07-27T20:15:40.538Z] ec43610c2a17: Download complete [2022-07-27T20:15:40.538Z] 5eb5b503b376: Download complete [2022-07-27T20:15:41.104Z] 2f39f015ded8: Download complete [2022-07-27T20:15:41.670Z] 5eb5b503b376: Pull complete [2022-07-27T20:15:41.929Z] 5c69ac0246d0: Pull complete [2022-07-27T20:15:42.188Z] ec43610c2a17: Pull complete [2022-07-27T20:15:42.448Z] 3a2ae6a8a46f: Pull complete [2022-07-27T20:15:42.448Z] 33b1e0a273af: Pull complete [2022-07-27T20:15:42.707Z] 5d3b04190fa2: Pull complete [2022-07-27T20:15:46.187Z] using credential edgex-jenkins-ssh [2022-07-27T20:15:46.215Z] Cloning the remote Git repository [2022-07-27T20:15:46.897Z] 2f39f015ded8: Pull complete [2022-07-27T20:15:46.897Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-27T20:15:46.897Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-27T20:15:46.897Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T20:15:46.992Z] prd-ubuntu20.04-docker-8c-8g-21275 does not seem to be running inside a container [2022-07-27T20:15:47.033Z] $ 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 [2022-07-27T20:15:46.281Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-07-27T20:15:46.356Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2022-07-27T20:15:46.427Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-07-27T20:15:46.428Z] > git --version # timeout=10 [2022-07-27T20:15:46.449Z] > git --version # 'git version 2.25.1' [2022-07-27T20:15:46.451Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-27T20:15:46.543Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-27T20:15:47.937Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-07-27T20:15:48.000Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-27T20:15:48.053Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-07-27T20:15:48.140Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-07-27T20:15:48.144Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-27T20:15:48.186Z] > 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 [2022-07-27T20:15:48.722Z] $ docker top a1c2f81d7f5d90ab520a301009d0a755b69fa5d73c7205685005dab7a106cdd5 -eo pid,comm [2022-07-27T20:15:48.754Z] 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] } [2022-07-27T20:15:48.954Z] Failed in branch arm64 [2022-07-27T20:15:49.197Z] ---> job-cost.sh [2022-07-27T20:15:49.197Z] lf-activate-venv: SKIPPING [2022-07-27T20:15:49.197Z] INFO: No Stack... [2022-07-27T20:15:49.488Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-27T20:15:48.774Z] > git config core.sparsecheckout # timeout=10 [2022-07-27T20:15:48.804Z] > git checkout -f f4e6d0232002c9c4bf9c338bf784f1d71141fae9 # timeout=10 [2022-07-27T20:15:50.057Z] INFO: Archiving Costs [Pipeline] sh [2022-07-27T20:15:50.349Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives/cost.csv [2022-07-27T20:15:50.349Z] + cut -d, -f6 [Pipeline] lock [2022-07-27T20:15:50.364Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1202-2-stack-cost] [2022-07-27T20:15:50.372Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1202-2-stack-cost] did not exist. Created. [2022-07-27T20:15:50.372Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1202-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-27T20:15:50.682Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-27T20:15:50.721Z] Stashed 1 file(s) [Pipeline] } [2022-07-27T20:15:50.729Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1202-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-27T20:15:50.751Z] $ docker stop --time=1 a1c2f81d7f5d90ab520a301009d0a755b69fa5d73c7205685005dab7a106cdd5 [2022-07-27T20:15:51.925Z] $ 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 [2022-07-27T20:15:52.727Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives ] [2022-07-27T20:15:52.728Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives [2022-07-27T20:15:52.728Z] total 16 [2022-07-27T20:15:52.728Z] drwxr-xr-x 3 root root 4096 Jul 27 20:15 . [2022-07-27T20:15:52.728Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 27 20:15 .. [2022-07-27T20:15:52.728Z] drwxr-xr-x 2 root root 4096 Jul 27 20:15 cost [2022-07-27T20:15:52.728Z] -rw-r--r-- 1 root root 86 Jul 27 20:15 cost.csv [2022-07-27T20:15:52.728Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives [2022-07-27T20:15:52.728Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives [2022-07-27T20:15:52.728Z] total 16 [2022-07-27T20:15:52.728Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 20:15 . [2022-07-27T20:15:52.728Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 27 20:15 .. [2022-07-27T20:15:52.728Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 27 20:15 cost [2022-07-27T20:15:52.728Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 27 20:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-27T20:15:53.022Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-27T20:15:53.885Z] ---> package-listing.sh [2022-07-27T20:15:53.885Z] ++ facter osfamily [2022-07-27T20:15:53.885Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-27T20:15:54.146Z] + OS_FAMILY=debian [2022-07-27T20:15:54.146Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1202 [2022-07-27T20:15:54.146Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-27T20:15:54.146Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-27T20:15:54.146Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-27T20:15:54.146Z] + PACKAGES=/tmp/packages_start.txt [2022-07-27T20:15:54.146Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1202 ']' [2022-07-27T20:15:54.146Z] + PACKAGES=/tmp/packages_end.txt [2022-07-27T20:15:54.146Z] + case "${OS_FAMILY}" in [2022-07-27T20:15:54.146Z] + dpkg -l [2022-07-27T20:15:54.146Z] + grep '^ii' [2022-07-27T20:15:54.146Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-27T20:15:54.146Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-27T20:15:54.146Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-27T20:15:54.146Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1202 ']' [2022-07-27T20:15:54.146Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives/ [2022-07-27T20:15:54.146Z] + 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 [2022-07-27T20:15:54.159Z] 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 [2022-07-27T20:15:54.440Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T20:15:55.008Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-27T20:15:55.008Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T20:15:55.095Z] prd-ubuntu20.04-docker-8c-8g-21275 does not seem to be running inside a container [2022-07-27T20:15:55.136Z] $ 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 [2022-07-27T20:15:55.379Z] $ docker top d66a52302aba8d983a846148deb22fe586fd7eb41b4c7a478893ed43f4c09905 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-27T20:15:55.729Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-27T20:15:56.021Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-27T20:15:56.306Z] + ls /var/log/sa-host [2022-07-27T20:15:56.307Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-27T20:15:56.381Z] provisioning config files... [2022-07-27T20:15:56.391Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/config1640429615757937828tmp [Pipeline] { [Pipeline] echo [2022-07-27T20:15:56.407Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-27T20:15:56.696Z] ---> create-netrc.sh [Pipeline] } [2022-07-27T20:15:56.704Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-27T20:15:57.031Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-27T20:15:57.040Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-27T20:15:57.328Z] ---> sudo-logs.sh [2022-07-27T20:15:57.328Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-27T20:15:57.350Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-27T20:15:57.634Z] ---> job-cost.sh [2022-07-27T20:15:57.634Z] lf-activate-venv: SKIPPING [2022-07-27T20:15:57.634Z] DEBUG: total: 0.2199999988079071 [2022-07-27T20:15:57.634Z] INFO: Retrieving Stack Cost... [2022-07-27T20:15:57.634Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-27T20:15:58.203Z] INFO: Archiving Costs [Pipeline] echo [2022-07-27T20:15:58.213Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-27T20:15:58.500Z] ---> logs-deploy.sh [2022-07-27T20:15:58.500Z] lf-activate-venv: SKIPPING [2022-07-27T20:15:58.500Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1202/2 [2022-07-27T20:15:58.500Z] INFO: archiving workspace using pattern(s): [2022-07-27T20:15:59.442Z] Archives upload complete. [2022-07-27T20:15:59.442Z] INFO: archiving logs to Nexus