Pull request #1055 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc rather than 9ebc0a267d74b8439ac3babc29c7da197ae8c506 Obtained Jenkinsfile from 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh1816035569403704942.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh3722934412605978908.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 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-1055/workspace@libs/edgex-global-pipelines/.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-1055/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3252444141105251150.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a07f3f07dd1acff74ab8b51a5ea399813bb16af # timeout=10 Commit message: "Merge pull request #362 from edgexfoundry/lts-changes" > 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 shared 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-ssh3758944699459845106.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-1055/workspace@libs/lf-pipelines/.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-1055/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7006976466244634913.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 shared 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: [[centos7-docker-4c-2g, ubuntu18.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.16 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 [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-28035 in /w/workspace/gexfoundry_device-sdk-go_PR-1055 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1055 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/jenkins-gitclient-ssh5997803338047631281.key > 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 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc into PR head commit 9ebc0a267d74b8439ac3babc29c7da197ae8c506 > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/jenkins-gitclient-ssh4637053133849160029.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1055/head:refs/remotes/origin/PR-1055 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9ebc0a267d74b8439ac3babc29c7da197ae8c506 # timeout=10 Merge succeeded, producing 9ebc0a267d74b8439ac3babc29c7da197ae8c506 Checking out Revision 9ebc0a267d74b8439ac3babc29c7da197ae8c506 (PR-1055) > git remote # timeout=10 > 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 /w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/jenkins-gitclient-ssh3208836027813348785.key > git merge 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9ebc0a267d74b8439ac3babc29c7da197ae8c506 # timeout=10 Commit message: "feat: Cache the profile when loading the predefined profile at startup" First time build. Skipping changelog. > git rev-list --no-walk 9ebce020d3a55f848ce07809c18feb3db92e593d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-09T04:12:04.687Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-09T04:12:04.732Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-09T04:12:04.747Z] ========================================================= [2021-11-09T04:12:04.747Z] EdgeX Global Pipelines Version Info [2021-11-09T04:12:04.747Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-09T04:12:05.904Z] ------------------- [2021-11-09T04:12:05.904Z] stable info: [2021-11-09T04:12:05.904Z] ------------------- [2021-11-09T04:12:05.904Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-09T04:12:05.904Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-09T04:12:05.904Z] Message: update stable to v1.0.211 [2021-11-09T04:12:06.475Z] ------------------- [2021-11-09T04:12:06.475Z] experimental info: [2021-11-09T04:12:06.475Z] ------------------- [2021-11-09T04:12:06.475Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-09T04:12:06.475Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-09T04:12:06.475Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-09T04:12:06.550Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-11-09T04:12:06.560Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-11-09T04:12:06.568Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-09T04:12:06.581Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-09T04:12:06.590Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-09T04:12:06.600Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-09T04:12:06.613Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-09T04:12:06.621Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-11-09T04:12:06.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-09T04:12:06.641Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-09T04:12:06.651Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-09T04:12:06.662Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-11-09T04:12:06.672Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-09T04:12:06.686Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-09T04:12:06.695Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-09T04:12:06.707Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-11-09T04:12:06.718Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-09T04:12:06.727Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-09T04:12:06.737Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-09T04:12:06.746Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-09T04:12:06.756Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-11-09T04:12:06.766Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-11-09T04:12:06.777Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-09T04:12:06.787Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-09T04:12:06.803Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-09T04:12:06.816Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-09T04:12:06.835Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1055 [Pipeline] echo [2021-11-09T04:12:06.850Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1055 [Pipeline] echo [2021-11-09T04:12:06.864Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1055 [Pipeline] echo [2021-11-09T04:12:06.881Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9ebc0a267d74b8439ac3babc29c7da197ae8c506 [Pipeline] echo [2021-11-09T04:12:06.890Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9ebc0a2 [Pipeline] echo [2021-11-09T04:12:06.900Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-09T04:12:06.940Z] provisioning config files... [2021-11-09T04:12:06.951Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/config5435278153294004646tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T04:12:08.113Z] ---> docker-login.sh [2021-11-09T04:12:08.113Z] nexus3.edgexfoundry.org:10001 [2021-11-09T04:12:08.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T04:12:08.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T04:12:08.372Z] Configure a credential helper to remove this warning. See [2021-11-09T04:12:08.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T04:12:08.372Z] [2021-11-09T04:12:08.372Z] Login Succeeded [2021-11-09T04:12:08.372Z] nexus3.edgexfoundry.org:10002 [2021-11-09T04:12:08.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T04:12:08.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T04:12:08.372Z] Configure a credential helper to remove this warning. See [2021-11-09T04:12:08.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T04:12:08.372Z] [2021-11-09T04:12:08.372Z] Login Succeeded [2021-11-09T04:12:08.372Z] nexus3.edgexfoundry.org:10003 [2021-11-09T04:12:08.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T04:12:08.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T04:12:08.632Z] Configure a credential helper to remove this warning. See [2021-11-09T04:12:08.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T04:12:08.632Z] [2021-11-09T04:12:08.632Z] Login Succeeded [2021-11-09T04:12:08.632Z] nexus3.edgexfoundry.org:10004 [2021-11-09T04:12:08.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T04:12:08.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T04:12:08.632Z] Configure a credential helper to remove this warning. See [2021-11-09T04:12:08.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T04:12:08.632Z] [2021-11-09T04:12:08.632Z] Login Succeeded [2021-11-09T04:12:08.632Z] docker.io [2021-11-09T04:12:08.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T04:12:09.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T04:12:09.206Z] Configure a credential helper to remove this warning. See [2021-11-09T04:12:09.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T04:12:09.206Z] [2021-11-09T04:12:09.206Z] Login Succeeded [2021-11-09T04:12:09.206Z] ---> docker-login.sh ends [Pipeline] } [2021-11-09T04:12:09.214Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-09T04:12:09.627Z] + git rev-list -1 --merges 9ebc0a267d74b8439ac3babc29c7da197ae8c506~1..9ebc0a267d74b8439ac3babc29c7da197ae8c506 [Pipeline] echo [2021-11-09T04:12:09.660Z] -----------> git rev-list -1 --merges 9ebc0a267d74b8439ac3babc29c7da197ae8c506~1..9ebc0a267d74b8439ac3babc29c7da197ae8c506 9ebc0a267d74b8439ac3babc29c7da197ae8c506 [false] [Pipeline] sh [2021-11-09T04:12:09.944Z] + git log --format=format:%s -1 9ebc0a267d74b8439ac3babc29c7da197ae8c506 [Pipeline] echo [2021-11-09T04:12:09.959Z] ========================================================= [2021-11-09T04:12:09.959Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-09T04:12:09.959Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-09T04:12:10.298Z] + git log --format=format:%s -1 9ebc0a267d74b8439ac3babc29c7da197ae8c506 [Pipeline] echo [2021-11-09T04:12:10.311Z] [semverPrep] GIT_COMMIT: 9ebc0a267d74b8439ac3babc29c7da197ae8c506, Commit Message: feat: Cache the profile when loading the predefined profile at startup [Pipeline] echo [2021-11-09T04:12:10.320Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-09T04:12:10.757Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-09T04:12:10.757Z] [2021-11-09T04:12:10.757Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T04:12:11.058Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-09T04:12:11.058Z] latest: Pulling from edgex-devops/git-semver [2021-11-09T04:12:11.058Z] a0d0a0d46f8b: Pulling fs layer [2021-11-09T04:12:11.058Z] 3e5f54012d9b: Pulling fs layer [2021-11-09T04:12:11.058Z] 4c7163046ea9: Pulling fs layer [2021-11-09T04:12:11.058Z] 0c2d73faf560: Pulling fs layer [2021-11-09T04:12:11.058Z] 0c2d73faf560: Waiting [2021-11-09T04:12:11.058Z] 3e5f54012d9b: Download complete [2021-11-09T04:12:11.058Z] a0d0a0d46f8b: Verifying Checksum [2021-11-09T04:12:11.058Z] a0d0a0d46f8b: Download complete [2021-11-09T04:12:11.058Z] 4c7163046ea9: Verifying Checksum [2021-11-09T04:12:11.058Z] 4c7163046ea9: Download complete [2021-11-09T04:12:11.058Z] 0c2d73faf560: Verifying Checksum [2021-11-09T04:12:11.058Z] 0c2d73faf560: Download complete [2021-11-09T04:12:11.320Z] a0d0a0d46f8b: Pull complete [2021-11-09T04:12:11.320Z] 3e5f54012d9b: Pull complete [2021-11-09T04:12:11.586Z] 4c7163046ea9: Pull complete [2021-11-09T04:12:11.849Z] 0c2d73faf560: Pull complete [2021-11-09T04:12:11.849Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-09T04:12:11.849Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-09T04:12:11.849Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-09T04:12:11.918Z] prd-centos7-docker-4c-2g-28035 does not seem to be running inside a container [2021-11-09T04:12:11.961Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1055 -v /w/workspace/gexfoundry_device-sdk-go_PR-1055:/w/workspace/gexfoundry_device-sdk-go_PR-1055:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-09T04:12:12.715Z] $ docker top 83a90195f68e17ded0fc47bde953d79883c484d98b72447d2f0c522fb465727b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-09T04:12:12.818Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-09T04:12:12.818Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-09T04:12:12.935Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-09T04:12:12.938Z] $ docker exec 83a90195f68e17ded0fc47bde953d79883c484d98b72447d2f0c522fb465727b ssh-agent [2021-11-09T04:12:13.060Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkjgnHK/agent.14 [2021-11-09T04:12:13.060Z] SSH_AGENT_PID=20 [2021-11-09T04:12:13.068Z] Running ssh-add (command line suppressed) [2021-11-09T04:12:13.173Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/private_key_4490682970890049985.key (/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/private_key_4490682970890049985.key) [2021-11-09T04:12:13.189Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-09T04:12:13.487Z] + git tag --points-at HEAD [Pipeline] } [2021-11-09T04:12:13.506Z] $ docker exec --env ******** --env ******** 83a90195f68e17ded0fc47bde953d79883c484d98b72447d2f0c522fb465727b ssh-agent -k [2021-11-09T04:12:13.602Z] unset SSH_AUTH_SOCK; [2021-11-09T04:12:13.602Z] unset SSH_AGENT_PID; [2021-11-09T04:12:13.602Z] echo Agent pid 20 killed; [2021-11-09T04:12:13.613Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-09T04:12:13.643Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-09T04:12:13.643Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-09T04:12:13.766Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-09T04:12:13.768Z] $ docker exec 83a90195f68e17ded0fc47bde953d79883c484d98b72447d2f0c522fb465727b ssh-agent [2021-11-09T04:12:13.886Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXepjGFf/agent.54 [2021-11-09T04:12:13.886Z] SSH_AGENT_PID=60 [2021-11-09T04:12:13.891Z] Running ssh-add (command line suppressed) [2021-11-09T04:12:14.026Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/private_key_3066626939669574884.key (/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/private_key_3066626939669574884.key) [2021-11-09T04:12:14.040Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-09T04:12:14.338Z] + git semver init [2021-11-09T04:12:14.338Z] # -> Open(): unable to determine branch for HEAD [2021-11-09T04:12:14.338Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1055/.git [2021-11-09T04:12:14.338Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1055 [2021-11-09T04:12:14.338Z] # $SEMVER_REMOTE_NAME = origin [2021-11-09T04:12:14.338Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-09T04:12:14.338Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-09T04:12:14.338Z] # $SEMVER_BRANCH = PR-1055 [2021-11-09T04:12:14.338Z] # $SEMVER_TEMP = /tmp/semver-735199124 [2021-11-09T04:12:14.338Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-11-09T04:12:15.284Z] # '/tmp/semver-735199124' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1055/.semver' [2021-11-09T04:12:15.284Z] # -> Force: false [2021-11-09T04:12:15.284Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1055/.semver [Pipeline] } [2021-11-09T04:12:15.294Z] $ docker exec --env ******** --env ******** 83a90195f68e17ded0fc47bde953d79883c484d98b72447d2f0c522fb465727b ssh-agent -k [2021-11-09T04:12:15.406Z] unset SSH_AUTH_SOCK; [2021-11-09T04:12:15.407Z] unset SSH_AGENT_PID; [2021-11-09T04:12:15.407Z] echo Agent pid 60 killed; [2021-11-09T04:12:15.418Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-09T04:12:15.740Z] + git semver [Pipeline] } [2021-11-09T04:12:15.754Z] $ docker stop --time=1 83a90195f68e17ded0fc47bde953d79883c484d98b72447d2f0c522fb465727b [2021-11-09T04:12:17.665Z] $ docker rm -f 83a90195f68e17ded0fc47bde953d79883c484d98b72447d2f0c522fb465727b [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-09T04:12:18.001Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-09T04:12:18.251Z] Stashed 1 file(s) [Pipeline] echo [2021-11-09T04:12:18.254Z] [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] node [Pipeline] node [2021-11-09T04:12:33.381Z] Still waiting to schedule task [2021-11-09T04:12:33.382Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-09T04:12:33.383Z] Still waiting to schedule task [2021-11-09T04:12:33.383Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-11-09T04:13:19.741Z] Running on prd-centos7-docker-4c-2g-28039 in /w/workspace/gexfoundry_device-sdk-go_PR-1055 [Pipeline] { [Pipeline] ws [2021-11-09T04:13:19.753Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-11-09T04:13:19.844Z] Selected Git installation does not exist. Using Default [2021-11-09T04:13:19.844Z] The recommended git tool is: NONE [2021-11-09T04:13:23.020Z] using credential edgex-jenkins-ssh [2021-11-09T04:13:23.036Z] Cloning the remote Git repository [2021-11-09T04:13:22.942Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T04:13:23.001Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-11-09T04:13:23.027Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T04:13:23.028Z] > git --version # timeout=10 [2021-11-09T04:13:23.038Z] > git --version # 'git version 2.24.4' [2021-11-09T04:13:23.039Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T04:13:23.063Z] [INFO] Currently running in a labeled security context [2021-11-09T04:13:23.064Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-09T04:13:23.064Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh3820633793330538519.key [2021-11-09T04:13:23.082Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-09T04:13:23.818Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-09T04:13:23.834Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-09T04:13:23.843Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-09T04:13:23.855Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T04:13:23.855Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T04:13:23.856Z] [INFO] Currently running in a labeled security context [2021-11-09T04:13:23.856Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-09T04:13:23.856Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh9076213345721750258.key [2021-11-09T04:13:23.863Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1055/head:refs/remotes/origin/PR-1055 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-09T04:13:24.600Z] Merging remotes/origin/main commit 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc into PR head commit 9ebc0a267d74b8439ac3babc29c7da197ae8c506 [2021-11-09T04:13:24.697Z] Merge succeeded, producing 9ebc0a267d74b8439ac3babc29c7da197ae8c506 [2021-11-09T04:13:24.698Z] Checking out Revision 9ebc0a267d74b8439ac3babc29c7da197ae8c506 (PR-1055) [2021-11-09T04:13:24.457Z] > git config core.sparsecheckout # timeout=10 [2021-11-09T04:13:24.468Z] > git checkout -f 9ebc0a267d74b8439ac3babc29c7da197ae8c506 # timeout=10 [2021-11-09T04:13:24.502Z] > git remote # timeout=10 [2021-11-09T04:13:24.509Z] > git config --get remote.origin.url # timeout=10 [2021-11-09T04:13:24.514Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T04:13:24.515Z] [INFO] Currently running in a labeled security context [2021-11-09T04:13:24.515Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-09T04:13:24.515Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh484644564048583409.key [2021-11-09T04:13:24.519Z] > git merge 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc # timeout=10 [2021-11-09T04:13:24.535Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-09T04:13:24.546Z] > git config core.sparsecheckout # timeout=10 [2021-11-09T04:13:24.554Z] > git checkout -f 9ebc0a267d74b8439ac3babc29c7da197ae8c506 # timeout=10 [2021-11-09T04:13:28.192Z] Commit message: "feat: Cache the profile when loading the predefined profile at startup" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-09T04:13:28.497Z] provisioning config files... [2021-11-09T04:13:28.515Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config5977618355980411317tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T04:13:28.943Z] ---> docker-login.sh [2021-11-09T04:13:28.943Z] nexus3.edgexfoundry.org:10001 [2021-11-09T04:13:28.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T04:13:28.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T04:13:28.943Z] Configure a credential helper to remove this warning. See [2021-11-09T04:13:28.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T04:13:28.943Z] [2021-11-09T04:13:28.943Z] Login Succeeded [2021-11-09T04:13:28.943Z] nexus3.edgexfoundry.org:10002 [2021-11-09T04:13:29.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T04:13:29.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T04:13:29.211Z] Configure a credential helper to remove this warning. See [2021-11-09T04:13:29.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T04:13:29.211Z] [2021-11-09T04:13:29.211Z] Login Succeeded [2021-11-09T04:13:29.211Z] nexus3.edgexfoundry.org:10003 [2021-11-09T04:13:29.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T04:13:29.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T04:13:29.475Z] Configure a credential helper to remove this warning. See [2021-11-09T04:13:29.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T04:13:29.475Z] [2021-11-09T04:13:29.475Z] Login Succeeded [2021-11-09T04:13:29.475Z] nexus3.edgexfoundry.org:10004 [2021-11-09T04:13:29.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T04:13:29.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T04:13:29.475Z] Configure a credential helper to remove this warning. See [2021-11-09T04:13:29.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T04:13:29.475Z] [2021-11-09T04:13:29.475Z] Login Succeeded [2021-11-09T04:13:29.475Z] docker.io [2021-11-09T04:13:29.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T04:13:30.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T04:13:30.056Z] Configure a credential helper to remove this warning. See [2021-11-09T04:13:30.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T04:13:30.056Z] [2021-11-09T04:13:30.056Z] Login Succeeded [2021-11-09T04:13:30.056Z] ---> docker-login.sh ends [Pipeline] } [2021-11-09T04:13:30.100Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-09T04:13:30.258Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-09T04:13:30.266Z] ========================================================= [2021-11-09T04:13:30.266Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-09T04:13:30.266Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-09T04:13:30.578Z] + 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.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-11-09T04:13:30.578Z] Sending build context to Docker daemon 2.783MB [2021-11-09T04:13:30.578Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-09T04:13:30.578Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-09T04:13:30.578Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-09T04:13:30.578Z] a0d0a0d46f8b: Pulling fs layer [2021-11-09T04:13:30.578Z] 31adcdaf11c8: Pulling fs layer [2021-11-09T04:13:30.578Z] b8b176561691: Pulling fs layer [2021-11-09T04:13:30.578Z] 4527c011a84f: Pulling fs layer [2021-11-09T04:13:30.578Z] 5d74067f8e1e: Pulling fs layer [2021-11-09T04:13:30.578Z] e0aca202a116: Pulling fs layer [2021-11-09T04:13:30.578Z] 3a43be97a3b4: Pulling fs layer [2021-11-09T04:13:30.578Z] 34cad66bf833: Pulling fs layer [2021-11-09T04:13:30.578Z] b4e3c513aaa6: Pulling fs layer [2021-11-09T04:13:30.578Z] e0aca202a116: Waiting [2021-11-09T04:13:30.578Z] 3a43be97a3b4: Waiting [2021-11-09T04:13:30.578Z] 34cad66bf833: Waiting [2021-11-09T04:13:30.578Z] b4e3c513aaa6: Waiting [2021-11-09T04:13:30.578Z] 4527c011a84f: Waiting [2021-11-09T04:13:30.578Z] 5d74067f8e1e: Waiting [2021-11-09T04:13:30.850Z] b8b176561691: Verifying Checksum [2021-11-09T04:13:30.850Z] b8b176561691: Download complete [2021-11-09T04:13:30.850Z] 31adcdaf11c8: Verifying Checksum [2021-11-09T04:13:30.850Z] 31adcdaf11c8: Download complete [2021-11-09T04:13:30.850Z] 5d74067f8e1e: Verifying Checksum [2021-11-09T04:13:30.850Z] 5d74067f8e1e: Download complete [2021-11-09T04:13:30.850Z] e0aca202a116: Verifying Checksum [2021-11-09T04:13:30.850Z] e0aca202a116: Download complete [2021-11-09T04:13:30.850Z] 3a43be97a3b4: Verifying Checksum [2021-11-09T04:13:30.850Z] 3a43be97a3b4: Download complete [2021-11-09T04:13:30.850Z] a0d0a0d46f8b: Verifying Checksum [2021-11-09T04:13:30.850Z] a0d0a0d46f8b: Download complete [2021-11-09T04:13:31.124Z] 34cad66bf833: Verifying Checksum [2021-11-09T04:13:31.124Z] 34cad66bf833: Download complete [2021-11-09T04:13:31.124Z] a0d0a0d46f8b: Pull complete [2021-11-09T04:13:31.124Z] 31adcdaf11c8: Pull complete [2021-11-09T04:13:31.403Z] b8b176561691: Pull complete [2021-11-09T04:13:31.403Z] 4527c011a84f: Download complete [2021-11-09T04:13:31.671Z] b4e3c513aaa6: Verifying Checksum [2021-11-09T04:13:31.671Z] b4e3c513aaa6: Download complete [2021-11-09T04:13:35.952Z] 4527c011a84f: Pull complete [2021-11-09T04:13:35.952Z] 5d74067f8e1e: Pull complete [2021-11-09T04:13:35.952Z] e0aca202a116: Pull complete [2021-11-09T04:13:35.952Z] 3a43be97a3b4: Pull complete [2021-11-09T04:13:35.952Z] 34cad66bf833: Pull complete [2021-11-09T04:13:38.552Z] b4e3c513aaa6: Pull complete [2021-11-09T04:13:38.552Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-09T04:13:38.552Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-09T04:13:38.552Z] ---> 9f6097aaca64 [2021-11-09T04:13:38.552Z] Step 3/10 : ARG MAKE=make build [2021-11-09T04:13:39.956Z] ---> Running in 0b2707aaef47 [2021-11-09T04:13:39.956Z] Removing intermediate container 0b2707aaef47 [2021-11-09T04:13:39.956Z] ---> f32d3362b220 [2021-11-09T04:13:39.956Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-09T04:13:40.225Z] ---> Running in 0bc6d4daa1a6 [2021-11-09T04:13:40.225Z] Removing intermediate container 0bc6d4daa1a6 [2021-11-09T04:13:40.225Z] ---> 76861adb8e13 [2021-11-09T04:13:40.225Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T04:13:40.225Z] ---> Running in 931ae52a857e [2021-11-09T04:13:40.225Z] Removing intermediate container 931ae52a857e [2021-11-09T04:13:40.225Z] ---> c3afe9101f1e [2021-11-09T04:13:40.225Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T04:13:40.225Z] ---> Running in eb4db1dae6a7 [2021-11-09T04:13:40.810Z] Removing intermediate container eb4db1dae6a7 [2021-11-09T04:13:40.810Z] ---> 74e74dafdfeb [2021-11-09T04:13:40.810Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-09T04:13:40.810Z] ---> Running in 96b6c3554541 [2021-11-09T04:13:41.392Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-09T04:13:41.975Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-09T04:13:42.558Z] OK: 220 MiB in 52 packages [2021-11-09T04:13:42.822Z] Removing intermediate container 96b6c3554541 [2021-11-09T04:13:42.822Z] ---> a604c62076fc [2021-11-09T04:13:42.822Z] Step 8/10 : COPY . . [2021-11-09T04:13:43.089Z] ---> 7a1c00d82c83 [2021-11-09T04:13:43.089Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-09T04:13:43.089Z] ---> Running in 3f46f7f61dd7 [2021-11-09T04:14:21.977Z] Removing intermediate container 3f46f7f61dd7 [2021-11-09T04:14:21.977Z] ---> 824036ae56cf [2021-11-09T04:14:21.977Z] Step 10/10 : RUN ${MAKE} [2021-11-09T04:14:21.977Z] ---> Running in f1df62dffd2c [2021-11-09T04:14:21.977Z] noop [2021-11-09T04:14:21.977Z] Removing intermediate container f1df62dffd2c [2021-11-09T04:14:21.977Z] ---> 7fed861a7996 [2021-11-09T04:14:21.977Z] Successfully built 7fed861a7996 [2021-11-09T04:14:21.977Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T04:14:22.300Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-09T04:14:22.300Z] . [Pipeline] withDockerContainer [2021-11-09T04:14:22.389Z] prd-centos7-docker-4c-2g-28039 does not seem to be running inside a container [2021-11-09T04:14:22.441Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-x86_64 cat [2021-11-09T04:14:22.876Z] $ docker top 06f7d0119138b6b7ff6a9a77982ff40954912c4df74022d2601f70a926a036fb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-09T04:14:23.265Z] + go version [2021-11-09T04:14:23.265Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-09T04:14:23.277Z] $ docker stop --time=1 06f7d0119138b6b7ff6a9a77982ff40954912c4df74022d2601f70a926a036fb [2021-11-09T04:14:24.467Z] $ docker rm -f 06f7d0119138b6b7ff6a9a77982ff40954912c4df74022d2601f70a926a036fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-09T04:14:24.945Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-09T04:14:24.945Z] . [Pipeline] withDockerContainer [2021-11-09T04:14:25.018Z] prd-centos7-docker-4c-2g-28039 does not seem to be running inside a container [2021-11-09T04:14:25.059Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-x86_64 cat [2021-11-09T04:14:25.415Z] $ docker top b3e5781c9071989b57c7505290fbd98b1ded7b080b919a2e58813e2527adf928 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-09T04:14:25.806Z] + make test [2021-11-09T04:14:25.806Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-09T04:14:32.458Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-09T04:14:59.156Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-09T04:14:59.156Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-09T04:14:59.156Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-09T04:14:59.746Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.060s coverage: 23.3% of statements [2021-11-09T04:14:59.746Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-09T04:14:59.746Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.055s coverage: 27.6% of statements [2021-11-09T04:15:00.330Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.054s coverage: 78.9% of statements [2021-11-09T04:15:00.607Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.057s coverage: 9.0% of statements [2021-11-09T04:15:00.607Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-09T04:15:00.607Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-09T04:15:00.607Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-09T04:15:01.207Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.063s coverage: 28.7% of statements [2021-11-09T04:15:01.207Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-09T04:15:02.619Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.050s coverage: 83.3% of statements [2021-11-09T04:15:02.619Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-09T04:15:02.619Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-09T04:15:02.619Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.074s coverage: 57.8% of statements [2021-11-09T04:15:04.032Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.815s coverage: 89.2% of statements [2021-11-09T04:15:04.032Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-09T04:15:04.032Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.052s coverage: 4.9% of statements [2021-11-09T04:15:04.032Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-09T04:15:04.032Z] GO111MODULE=on go vet ./... [2021-11-09T04:15:18.012Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-28041 in /w/workspace/gexfoundry_device-sdk-go_PR-1055 [Pipeline] { [Pipeline] ws [2021-11-09T04:15:18.025Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-11-09T04:15:18.310Z] Selected Git installation does not exist. Using Default [2021-11-09T04:15:18.310Z] The recommended git tool is: NONE [2021-11-09T04:15:23.391Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-09T04:15:23.391Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-09T04:15:23.391Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-09T04:15:23.404Z] $ docker stop --time=1 b3e5781c9071989b57c7505290fbd98b1ded7b080b919a2e58813e2527adf928 [2021-11-09T04:15:24.971Z] $ docker rm -f b3e5781c9071989b57c7505290fbd98b1ded7b080b919a2e58813e2527adf928 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-09T04:15:25.442Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-09T04:15:25.656Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-09T04:15:26.081Z] using credential edgex-jenkins-ssh [2021-11-09T04:15:26.098Z] Cloning the remote Git repository [2021-11-09T04:15:26.269Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-09T04:15:26.569Z] + ls -al . [2021-11-09T04:15:26.569Z] total 264 [2021-11-09T04:15:26.569Z] drwxrwxr-x. 10 jenkins jenkins 4096 Nov 9 04:15 . [2021-11-09T04:15:26.569Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 9 04:13 .. [2021-11-09T04:15:26.569Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 9 04:13 bin [2021-11-09T04:15:26.569Z] -rw-rw-r--. 1 jenkins jenkins 24816 Nov 9 04:13 CHANGELOG.md [2021-11-09T04:15:26.569Z] -rw-r--r--. 1 jenkins jenkins 128021 Nov 9 04:15 coverage.out [2021-11-09T04:15:26.569Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 9 04:13 .dockerignore [2021-11-09T04:15:26.569Z] drwxrwxr-x. 5 jenkins jenkins 62 Nov 9 04:13 example [2021-11-09T04:15:26.569Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 9 04:13 .git [2021-11-09T04:15:26.569Z] drwxrwxr-x. 3 jenkins jenkins 125 Nov 9 04:13 .github [2021-11-09T04:15:26.569Z] -rw-rw-r--. 1 jenkins jenkins 131 Nov 9 04:13 .gitignore [2021-11-09T04:15:26.569Z] -rw-rw-r--. 1 jenkins jenkins 602 Nov 9 04:13 go.mod [2021-11-09T04:15:26.569Z] -rw-rw-r--. 1 jenkins jenkins 49022 Nov 9 04:13 go.sum [2021-11-09T04:15:26.569Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 9 04:13 GOVERNANCE.md [2021-11-09T04:15:26.569Z] drwxrwxr-x. 15 jenkins jenkins 224 Nov 9 04:13 internal [2021-11-09T04:15:26.569Z] -rw-rw-r--. 1 jenkins jenkins 880 Nov 9 04:13 Jenkinsfile [2021-11-09T04:15:26.569Z] -rw-rw-r--. 1 jenkins jenkins 11341 Nov 9 04:13 LICENSE [2021-11-09T04:15:26.569Z] -rw-rw-r--. 1 jenkins jenkins 1120 Nov 9 04:13 Makefile [2021-11-09T04:15:26.569Z] drwxrwxr-x. 3 jenkins jenkins 16 Nov 9 04:13 openapi [2021-11-09T04:15:26.569Z] -rw-rw-r--. 1 jenkins jenkins 619 Nov 9 04:13 OWNERS.md [2021-11-09T04:15:26.569Z] drwxrwxr-x. 5 jenkins jenkins 50 Nov 9 04:13 pkg [2021-11-09T04:15:26.569Z] -rw-rw-r--. 1 jenkins jenkins 4877 Nov 9 04:13 README.md [2021-11-09T04:15:26.569Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 9 04:13 snap [2021-11-09T04:15:26.569Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 9 04:12 VERSION [2021-11-09T04:15:26.569Z] -rw-rw-r--. 1 jenkins jenkins 222 Nov 9 04:13 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-09T04:15:26.872Z] + 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=9ebc0a267d74b8439ac3babc29c7da197ae8c506 --label arch=amd64 --label version=0.0.0 . [2021-11-09T04:15:26.872Z] Sending build context to Docker daemon 2.912MB [2021-11-09T04:15:26.872Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-09T04:15:26.872Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-09T04:15:26.872Z] ---> 7fed861a7996 [2021-11-09T04:15:26.872Z] Step 3/24 : ARG MAKE=make build [2021-11-09T04:15:27.137Z] ---> Running in fc723b987a09 [2021-11-09T04:15:27.137Z] Removing intermediate container fc723b987a09 [2021-11-09T04:15:27.137Z] ---> 4a44511bc720 [2021-11-09T04:15:27.137Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-09T04:15:26.165Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T04:15:26.282Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-11-09T04:15:26.383Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T04:15:26.385Z] > git --version # timeout=10 [2021-11-09T04:15:26.431Z] > git --version # 'git version 2.17.1' [2021-11-09T04:15:26.436Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T04:15:26.529Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-09T04:15:27.404Z] ---> Running in 2142d0e874c2 [2021-11-09T04:15:27.404Z] Removing intermediate container 2142d0e874c2 [2021-11-09T04:15:27.404Z] ---> e25f63a89e15 [2021-11-09T04:15:27.404Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T04:15:27.404Z] ---> Running in 16d968519867 [2021-11-09T04:15:27.404Z] Removing intermediate container 16d968519867 [2021-11-09T04:15:27.404Z] ---> 51f8381551de [2021-11-09T04:15:27.404Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T04:15:27.404Z] ---> Running in 1fd57134718d [2021-11-09T04:15:27.982Z] Removing intermediate container 1fd57134718d [2021-11-09T04:15:27.982Z] ---> 9eec13b6cf3e [2021-11-09T04:15:27.982Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-09T04:15:27.982Z] ---> Running in 7227ec9990fd [2021-11-09T04:15:28.571Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-09T04:15:28.741Z] Merging remotes/origin/main commit 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc into PR head commit 9ebc0a267d74b8439ac3babc29c7da197ae8c506 [2021-11-09T04:15:27.875Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-09T04:15:27.898Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-09T04:15:27.927Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-09T04:15:27.987Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T04:15:27.988Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T04:15:28.005Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1055/head:refs/remotes/origin/PR-1055 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-09T04:15:29.018Z] Merge succeeded, producing 9ebc0a267d74b8439ac3babc29c7da197ae8c506 [2021-11-09T04:15:29.018Z] Checking out Revision 9ebc0a267d74b8439ac3babc29c7da197ae8c506 (PR-1055) [2021-11-09T04:15:29.146Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-09T04:15:29.735Z] OK: 220 MiB in 52 packages [2021-11-09T04:15:29.735Z] Removing intermediate container 7227ec9990fd [2021-11-09T04:15:29.735Z] ---> 307985ec7f04 [2021-11-09T04:15:29.735Z] Step 8/24 : COPY . . [2021-11-09T04:15:28.776Z] > git config core.sparsecheckout # timeout=10 [2021-11-09T04:15:28.799Z] > git checkout -f 9ebc0a267d74b8439ac3babc29c7da197ae8c506 # timeout=10 [2021-11-09T04:15:28.920Z] > git remote # timeout=10 [2021-11-09T04:15:28.944Z] > git config --get remote.origin.url # timeout=10 [2021-11-09T04:15:28.962Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T04:15:28.976Z] > git merge 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc # timeout=10 [2021-11-09T04:15:29.003Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-09T04:15:29.030Z] > git config core.sparsecheckout # timeout=10 [2021-11-09T04:15:29.052Z] > git checkout -f 9ebc0a267d74b8439ac3babc29c7da197ae8c506 # timeout=10 [2021-11-09T04:15:30.316Z] ---> b73a9b0f3ca4 [2021-11-09T04:15:30.316Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-09T04:15:30.316Z] ---> Running in 97bb65231361 [2021-11-09T04:15:30.900Z] Removing intermediate container 97bb65231361 [2021-11-09T04:15:30.900Z] ---> f93602651635 [2021-11-09T04:15:30.900Z] Step 10/24 : RUN ${MAKE} [2021-11-09T04:15:30.900Z] ---> Running in 3f8412a42b3b [2021-11-09T04:15:31.171Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-11-09T04:15:33.565Z] Commit message: "feat: Cache the profile when loading the predefined profile at startup" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-09T04:15:34.438Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-09T04:15:34.438Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-09T04:15:34.438Z] Dload Upload Total Spent Left Speed [2021-11-09T04:15:34.438Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 151k 0 --:--:-- --:--:-- --:--:-- 153k [Pipeline] sh [2021-11-09T04:15:34.922Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-09T04:15:35.295Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-09T04:15:35.295Z] + sudo tee /etc/docker/daemon.new [2021-11-09T04:15:35.295Z] { [2021-11-09T04:15:35.295Z] "registry-mirrors": [ [2021-11-09T04:15:35.295Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-09T04:15:35.295Z] ], [2021-11-09T04:15:35.295Z] "bip": "10.250.0.254/24", [2021-11-09T04:15:35.295Z] "hosts": [ [2021-11-09T04:15:35.295Z] "tcp://0.0.0.0:5555", [2021-11-09T04:15:35.295Z] "unix:///var/run/docker.sock" [2021-11-09T04:15:35.295Z] ], [2021-11-09T04:15:35.295Z] "mtu": 1458, [2021-11-09T04:15:35.295Z] "selinux-enabled": true, [2021-11-09T04:15:35.295Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-09T04:15:35.295Z] } [Pipeline] sh [2021-11-09T04:15:35.654Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-09T04:15:36.007Z] + sudo service docker restart [2021-11-09T04:15:43.473Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-09T04:15:44.051Z] Removing intermediate container 3f8412a42b3b [2021-11-09T04:15:44.051Z] ---> b956da17f5c0 [2021-11-09T04:15:44.051Z] Step 11/24 : FROM alpine:3.14 [2021-11-09T04:15:48.275Z] 3.14: Pulling from library/alpine [2021-11-09T04:15:48.275Z] a0d0a0d46f8b: Already exists [2021-11-09T04:15:48.275Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-09T04:15:48.275Z] Status: Downloaded newer image for alpine:3.14 [2021-11-09T04:15:48.275Z] ---> 14119a10abf4 [2021-11-09T04:15:48.275Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T04:15:48.275Z] ---> Running in a62290d96438 [2021-11-09T04:15:48.275Z] Removing intermediate container a62290d96438 [2021-11-09T04:15:48.275Z] ---> cb39df18f2a6 [2021-11-09T04:15:48.275Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T04:15:48.275Z] ---> Running in 562963f55f65 [2021-11-09T04:15:48.849Z] Removing intermediate container 562963f55f65 [2021-11-09T04:15:48.849Z] ---> 3a523d0922ee [2021-11-09T04:15:48.849Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-09T04:15:48.849Z] ---> Running in da2617fa787e [2021-11-09T04:15:49.108Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-09T04:15:50.056Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-09T04:15:50.056Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-09T04:15:50.320Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-09T04:15:50.320Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-09T04:15:50.583Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-09T04:15:50.583Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-09T04:15:50.583Z] Executing busybox-1.33.1-r3.trigger [2021-11-09T04:15:50.583Z] OK: 8 MiB in 19 packages [2021-11-09T04:15:50.848Z] Removing intermediate container da2617fa787e [2021-11-09T04:15:50.848Z] ---> 3cb9aa580c5f [2021-11-09T04:15:50.848Z] Step 15/24 : WORKDIR / [2021-11-09T04:15:51.113Z] ---> Running in 18094bdd4ec0 [2021-11-09T04:15:51.113Z] Removing intermediate container 18094bdd4ec0 [2021-11-09T04:15:51.113Z] ---> d74f3d5166a1 [2021-11-09T04:15:51.113Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-09T04:15:51.113Z] ---> 232df43a7d4c [2021-11-09T04:15:51.113Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-09T04:15:51.693Z] ---> c7298198b10e [2021-11-09T04:15:51.693Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-09T04:15:51.693Z] ---> 9c5ce5a94546 [2021-11-09T04:15:51.693Z] Step 19/24 : EXPOSE 59999 [2021-11-09T04:15:51.693Z] ---> Running in 397a77913a69 [2021-11-09T04:15:51.693Z] Removing intermediate container 397a77913a69 [2021-11-09T04:15:51.693Z] ---> 28ed2a488893 [2021-11-09T04:15:51.693Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-09T04:15:51.693Z] ---> Running in 182d66768a61 [2021-11-09T04:15:51.966Z] Removing intermediate container 182d66768a61 [2021-11-09T04:15:51.966Z] ---> 5870c8101c2c [2021-11-09T04:15:51.966Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-09T04:15:51.966Z] ---> Running in 4e10343247c8 [2021-11-09T04:15:51.966Z] Removing intermediate container 4e10343247c8 [2021-11-09T04:15:51.966Z] ---> 65372f76041d [2021-11-09T04:15:51.966Z] Step 22/24 : LABEL arch=amd64 [2021-11-09T04:15:51.966Z] ---> Running in 16ff3558620f [2021-11-09T04:15:52.233Z] Removing intermediate container 16ff3558620f [2021-11-09T04:15:52.233Z] ---> d2251e4c6126 [2021-11-09T04:15:52.233Z] Step 23/24 : LABEL git_sha=9ebc0a267d74b8439ac3babc29c7da197ae8c506 [2021-11-09T04:15:52.233Z] ---> Running in a18980357991 [2021-11-09T04:15:52.233Z] Removing intermediate container a18980357991 [2021-11-09T04:15:52.233Z] ---> 602acae1bfae [2021-11-09T04:15:52.233Z] Step 24/24 : LABEL version=0.0.0 [2021-11-09T04:15:52.233Z] ---> Running in e2ce3e78ff80 [2021-11-09T04:15:52.500Z] Removing intermediate container e2ce3e78ff80 [2021-11-09T04:15:52.500Z] ---> 902f6690d1bf [2021-11-09T04:15:52.500Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-09T04:15:52.501Z] Successfully built 902f6690d1bf [2021-11-09T04:15:52.501Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-09T04:15:53.123Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T04:15:53.123Z] [2021-11-09T04:15:53.123Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T04:15:53.437Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T04:15:53.438Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-09T04:15:53.438Z] b4d181a07f80: Pulling fs layer [2021-11-09T04:15:53.438Z] a1111a8f2ec3: Pulling fs layer [2021-11-09T04:15:53.438Z] ed53099fbce6: Pulling fs layer [2021-11-09T04:15:53.438Z] dc539afda2c1: Pulling fs layer [2021-11-09T04:15:53.438Z] 77bc0d833cb6: Pulling fs layer [2021-11-09T04:15:53.438Z] 9065ff56babe: Pulling fs layer [2021-11-09T04:15:53.438Z] d287ab97295c: Pulling fs layer [2021-11-09T04:15:53.438Z] dc539afda2c1: Waiting [2021-11-09T04:15:53.438Z] 77bc0d833cb6: Waiting [2021-11-09T04:15:53.438Z] 9065ff56babe: Waiting [2021-11-09T04:15:53.438Z] d287ab97295c: Waiting [2021-11-09T04:15:53.438Z] a1111a8f2ec3: Verifying Checksum [2021-11-09T04:15:53.438Z] a1111a8f2ec3: Download complete [2021-11-09T04:15:53.438Z] dc539afda2c1: Download complete [2021-11-09T04:15:53.707Z] 77bc0d833cb6: Verifying Checksum [2021-11-09T04:15:53.707Z] 77bc0d833cb6: Download complete [2021-11-09T04:15:53.707Z] ed53099fbce6: Verifying Checksum [2021-11-09T04:15:53.707Z] ed53099fbce6: Download complete [2021-11-09T04:15:53.707Z] 9065ff56babe: Verifying Checksum [2021-11-09T04:15:53.707Z] 9065ff56babe: Download complete [2021-11-09T04:15:53.707Z] b4d181a07f80: Verifying Checksum [2021-11-09T04:15:53.707Z] b4d181a07f80: Download complete [2021-11-09T04:15:54.674Z] d287ab97295c: Verifying Checksum [2021-11-09T04:15:54.674Z] d287ab97295c: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-09T04:15:55.001Z] provisioning config files... [2021-11-09T04:15:55.029Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config1399868935663080545tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T04:15:55.259Z] b4d181a07f80: Pull complete [2021-11-09T04:15:55.413Z] ---> docker-login.sh [2021-11-09T04:15:55.414Z] nexus3.edgexfoundry.org:10001 [2021-11-09T04:15:55.528Z] a1111a8f2ec3: Pull complete [2021-11-09T04:15:56.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T04:15:56.101Z] ed53099fbce6: Pull complete [2021-11-09T04:15:56.101Z] dc539afda2c1: Pull complete [2021-11-09T04:15:56.366Z] 77bc0d833cb6: Pull complete [2021-11-09T04:15:56.366Z] 9065ff56babe: Pull complete [2021-11-09T04:15:56.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T04:15:56.634Z] Configure a credential helper to remove this warning. See [2021-11-09T04:15:56.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T04:15:56.635Z] [2021-11-09T04:15:56.635Z] Login Succeeded [2021-11-09T04:15:56.635Z] nexus3.edgexfoundry.org:10002 [2021-11-09T04:15:57.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T04:15:57.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T04:15:57.238Z] Configure a credential helper to remove this warning. See [2021-11-09T04:15:57.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T04:15:57.238Z] [2021-11-09T04:15:57.238Z] Login Succeeded [2021-11-09T04:15:57.238Z] nexus3.edgexfoundry.org:10003 [2021-11-09T04:15:57.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T04:15:57.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T04:15:57.843Z] Configure a credential helper to remove this warning. See [2021-11-09T04:15:57.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T04:15:57.843Z] [2021-11-09T04:15:57.843Z] Login Succeeded [2021-11-09T04:15:57.843Z] nexus3.edgexfoundry.org:10004 [2021-11-09T04:15:58.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T04:15:58.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T04:15:58.444Z] Configure a credential helper to remove this warning. See [2021-11-09T04:15:58.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T04:15:58.444Z] [2021-11-09T04:15:58.444Z] Login Succeeded [2021-11-09T04:15:58.444Z] docker.io [2021-11-09T04:15:59.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T04:15:59.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T04:15:59.314Z] Configure a credential helper to remove this warning. See [2021-11-09T04:15:59.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T04:15:59.314Z] [2021-11-09T04:15:59.314Z] Login Succeeded [2021-11-09T04:15:59.314Z] ---> docker-login.sh ends [Pipeline] } [2021-11-09T04:15:59.332Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-09T04:15:59.853Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-09T04:15:59.866Z] ========================================================= [2021-11-09T04:15:59.866Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-09T04:15:59.866Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-09T04:16:00.315Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-11-09T04:16:00.920Z] Sending build context to Docker daemon 2.782MB [2021-11-09T04:16:00.920Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-09T04:16:00.920Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-09T04:16:01.198Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-09T04:16:01.198Z] 552d1f2373af: Pulling fs layer [2021-11-09T04:16:01.198Z] ea3f2d53f512: Pulling fs layer [2021-11-09T04:16:01.198Z] 9e70ebbbe112: Pulling fs layer [2021-11-09T04:16:01.198Z] 7a9cfe048b4a: Pulling fs layer [2021-11-09T04:16:01.198Z] 72dc09318566: Pulling fs layer [2021-11-09T04:16:01.198Z] f4f7b4309257: Pulling fs layer [2021-11-09T04:16:01.198Z] 0ac9a79272e3: Pulling fs layer [2021-11-09T04:16:01.198Z] b78e95d17946: Pulling fs layer [2021-11-09T04:16:01.198Z] 72dc09318566: Waiting [2021-11-09T04:16:01.198Z] f4f7b4309257: Waiting [2021-11-09T04:16:01.198Z] 0ac9a79272e3: Waiting [2021-11-09T04:16:01.198Z] b78e95d17946: Waiting [2021-11-09T04:16:01.198Z] 7a9cfe048b4a: Waiting [2021-11-09T04:16:01.198Z] 9e70ebbbe112: Verifying Checksum [2021-11-09T04:16:01.198Z] 9e70ebbbe112: Download complete [2021-11-09T04:16:01.198Z] ea3f2d53f512: Verifying Checksum [2021-11-09T04:16:01.198Z] ea3f2d53f512: Download complete [2021-11-09T04:16:01.198Z] 72dc09318566: Verifying Checksum [2021-11-09T04:16:01.198Z] 72dc09318566: Download complete [2021-11-09T04:16:01.198Z] 552d1f2373af: Verifying Checksum [2021-11-09T04:16:01.198Z] 552d1f2373af: Download complete [2021-11-09T04:16:01.198Z] f4f7b4309257: Verifying Checksum [2021-11-09T04:16:01.198Z] f4f7b4309257: Download complete [2021-11-09T04:16:01.476Z] 0ac9a79272e3: Download complete [2021-11-09T04:16:01.717Z] d287ab97295c: Pull complete [2021-11-09T04:16:01.717Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-09T04:16:01.717Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T04:16:01.717Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-09T04:16:01.800Z] prd-centos7-docker-4c-2g-28039 does not seem to be running inside a container [2021-11-09T04:16:01.853Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-09T04:16:02.081Z] 552d1f2373af: Pull complete [2021-11-09T04:16:03.070Z] ea3f2d53f512: Pull complete [2021-11-09T04:16:03.357Z] 9e70ebbbe112: Pull complete [2021-11-09T04:16:03.357Z] b78e95d17946: Verifying Checksum [2021-11-09T04:16:03.357Z] b78e95d17946: Download complete [2021-11-09T04:16:03.955Z] 7a9cfe048b4a: Verifying Checksum [2021-11-09T04:16:03.955Z] 7a9cfe048b4a: Download complete [2021-11-09T04:16:05.001Z] $ docker top c5ef47639cb20da7429c36f4e9d1534d64048289cd76a938f0bb5b354204376e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T04:16:05.439Z] ---> job-cost.sh [2021-11-09T04:16:05.439Z] lf-activate-venv: SKIPPING [2021-11-09T04:16:05.439Z] INFO: No Stack... [2021-11-09T04:16:05.698Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-09T04:16:05.960Z] INFO: Archiving Costs [Pipeline] sh [2021-11-09T04:16:06.264Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-11-09T04:16:06.264Z] + cut -d, -f6 [Pipeline] lock [2021-11-09T04:16:06.307Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1055-2-stack-cost] [2021-11-09T04:16:06.315Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1055-2-stack-cost] did not exist. Created. [2021-11-09T04:16:06.316Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1055-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-09T04:16:06.633Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-09T04:16:06.672Z] Stashed 1 file(s) [Pipeline] } [2021-11-09T04:16:06.678Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1055-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-09T04:16:06.694Z] $ docker stop --time=1 c5ef47639cb20da7429c36f4e9d1534d64048289cd76a938f0bb5b354204376e [2021-11-09T04:16:07.842Z] $ docker rm -f c5ef47639cb20da7429c36f4e9d1534d64048289cd76a938f0bb5b354204376e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-09T04:16:14.960Z] 7a9cfe048b4a: Pull complete [2021-11-09T04:16:14.960Z] 72dc09318566: Pull complete [2021-11-09T04:16:14.960Z] f4f7b4309257: Pull complete [2021-11-09T04:16:14.960Z] 0ac9a79272e3: Pull complete [2021-11-09T04:16:20.366Z] b78e95d17946: Pull complete [2021-11-09T04:16:20.366Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-09T04:16:20.366Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-09T04:16:20.366Z] ---> 8b459fc5aaf0 [2021-11-09T04:16:20.366Z] Step 3/10 : ARG MAKE=make build [2021-11-09T04:16:22.345Z] ---> Running in 7d08d3ace81b [2021-11-09T04:16:22.940Z] Removing intermediate container 7d08d3ace81b [2021-11-09T04:16:22.940Z] ---> 426450670b2b [2021-11-09T04:16:22.940Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-09T04:16:22.940Z] ---> Running in bed305e64e56 [2021-11-09T04:16:23.543Z] Removing intermediate container bed305e64e56 [2021-11-09T04:16:23.543Z] ---> 2b02a27c9d61 [2021-11-09T04:16:23.543Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T04:16:23.543Z] ---> Running in b2ed165a274f [2021-11-09T04:16:24.147Z] Removing intermediate container b2ed165a274f [2021-11-09T04:16:24.147Z] ---> 39963de4d9b8 [2021-11-09T04:16:24.147Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T04:16:24.421Z] ---> Running in ac48ed5fc291 [2021-11-09T04:16:26.399Z] Removing intermediate container ac48ed5fc291 [2021-11-09T04:16:26.399Z] ---> 05f7268cc2b7 [2021-11-09T04:16:26.399Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-09T04:16:26.681Z] ---> Running in cf6234a8dd23 [2021-11-09T04:16:28.126Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-09T04:16:28.724Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-09T04:16:29.721Z] OK: 219 MiB in 52 packages [2021-11-09T04:16:30.705Z] Removing intermediate container cf6234a8dd23 [2021-11-09T04:16:30.705Z] ---> f190a7a248a0 [2021-11-09T04:16:30.705Z] Step 8/10 : COPY . . [2021-11-09T04:16:32.146Z] ---> 439e0adf0a00 [2021-11-09T04:16:32.146Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-09T04:16:32.146Z] ---> Running in e6d2a3856ed5 [2021-11-09T04:17:53.948Z] Removing intermediate container e6d2a3856ed5 [2021-11-09T04:17:53.948Z] ---> 66331ef12eaf [2021-11-09T04:17:53.948Z] Step 10/10 : RUN ${MAKE} [2021-11-09T04:17:53.948Z] ---> Running in 282c8acf0bc2 [2021-11-09T04:17:53.948Z] noop [2021-11-09T04:17:53.948Z] Removing intermediate container 282c8acf0bc2 [2021-11-09T04:17:53.948Z] ---> d73db03e955f [2021-11-09T04:17:53.948Z] Successfully built d73db03e955f [2021-11-09T04:17:53.948Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T04:17:54.289Z] + docker inspect -f . ci-base-image-arm64 [2021-11-09T04:17:54.289Z] . [Pipeline] withDockerContainer [2021-11-09T04:17:54.546Z] prd-ubuntu18.04-docker-arm64-4c-16g-28041 does not seem to be running inside a container [2021-11-09T04:17:54.630Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-09T04:17:56.167Z] $ docker top ec8d2e315f592c39af9d60416043654dd69b75b74cb31da4f77c1bc07a481425 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-09T04:17:57.112Z] + go version [2021-11-09T04:17:57.112Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-09T04:17:57.136Z] $ docker stop --time=1 ec8d2e315f592c39af9d60416043654dd69b75b74cb31da4f77c1bc07a481425 [2021-11-09T04:17:58.855Z] $ docker rm -f ec8d2e315f592c39af9d60416043654dd69b75b74cb31da4f77c1bc07a481425 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-09T04:17:59.582Z] + docker inspect -f . ci-base-image-arm64 [2021-11-09T04:17:59.582Z] . [Pipeline] withDockerContainer [2021-11-09T04:17:59.841Z] prd-ubuntu18.04-docker-arm64-4c-16g-28041 does not seem to be running inside a container [2021-11-09T04:17:59.935Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-09T04:18:01.547Z] $ docker top 081521b8f9fbd5d331e09f41c89e4d9a9b9a95023103194198c5230786b334f1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-09T04:18:02.531Z] + make test [2021-11-09T04:18:02.531Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-09T04:18:30.172Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-09T04:19:52.026Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-09T04:19:52.026Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-09T04:19:52.026Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-09T04:19:52.630Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.351s coverage: 23.3% of statements [2021-11-09T04:19:52.630Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-09T04:19:52.630Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.312s coverage: 27.6% of statements [2021-11-09T04:19:52.630Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.311s coverage: 78.9% of statements [2021-11-09T04:19:52.630Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.239s coverage: 9.0% of statements [2021-11-09T04:19:52.630Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-09T04:19:52.631Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-09T04:19:52.631Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-09T04:19:54.078Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.365s coverage: 28.7% of statements [2021-11-09T04:19:54.078Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-09T04:19:57.503Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.208s coverage: 83.3% of statements [2021-11-09T04:19:57.503Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-09T04:19:57.503Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-09T04:19:57.503Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.643s coverage: 57.8% of statements [2021-11-09T04:19:58.940Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.403s coverage: 89.2% of statements [2021-11-09T04:19:58.940Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-09T04:19:59.214Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.213s coverage: 4.9% of statements [2021-11-09T04:19:59.214Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-09T04:19:59.807Z] GO111MODULE=on go vet ./... [2021-11-09T04:21:07.849Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-09T04:21:07.849Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-09T04:21:07.849Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-09T04:21:07.867Z] $ docker stop --time=1 081521b8f9fbd5d331e09f41c89e4d9a9b9a95023103194198c5230786b334f1 [2021-11-09T04:21:09.668Z] $ docker rm -f 081521b8f9fbd5d331e09f41c89e4d9a9b9a95023103194198c5230786b334f1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-09T04:21:10.769Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-09T04:21:10.794Z] Warning: overwriting stash ‘coverage-report’ [2021-11-09T04:21:11.594Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-09T04:21:13.039Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-09T04:21:13.445Z] + ls -al . [2021-11-09T04:21:13.445Z] total 300 [2021-11-09T04:21:13.445Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 04:21 . [2021-11-09T04:21:13.445Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 04:15 .. [2021-11-09T04:21:13.445Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 9 04:15 .dockerignore [2021-11-09T04:21:13.445Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 04:15 .git [2021-11-09T04:21:13.445Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 04:15 .github [2021-11-09T04:21:13.445Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 9 04:15 .gitignore [2021-11-09T04:21:13.445Z] -rw-rw-r-- 1 jenkins jenkins 24816 Nov 9 04:15 CHANGELOG.md [2021-11-09T04:21:13.445Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 04:15 GOVERNANCE.md [2021-11-09T04:21:13.445Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 9 04:15 Jenkinsfile [2021-11-09T04:21:13.445Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 9 04:15 LICENSE [2021-11-09T04:21:13.445Z] -rw-rw-r-- 1 jenkins jenkins 1120 Nov 9 04:15 Makefile [2021-11-09T04:21:13.445Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 9 04:15 OWNERS.md [2021-11-09T04:21:13.445Z] -rw-rw-r-- 1 jenkins jenkins 4877 Nov 9 04:15 README.md [2021-11-09T04:21:13.445Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 04:12 VERSION [2021-11-09T04:21:13.445Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 04:15 bin [2021-11-09T04:21:13.445Z] -rw-r--r-- 1 jenkins jenkins 128022 Nov 9 04:19 coverage.out [2021-11-09T04:21:13.445Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 9 04:15 example [2021-11-09T04:21:13.445Z] -rw-rw-r-- 1 jenkins jenkins 602 Nov 9 04:15 go.mod [2021-11-09T04:21:13.445Z] -rw-rw-r-- 1 jenkins jenkins 49022 Nov 9 04:15 go.sum [2021-11-09T04:21:13.445Z] drwxrwxr-x 15 jenkins jenkins 4096 Nov 9 04:15 internal [2021-11-09T04:21:13.445Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 04:15 openapi [2021-11-09T04:21:13.445Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 9 04:15 pkg [2021-11-09T04:21:13.445Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 04:15 snap [2021-11-09T04:21:13.445Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 9 04:15 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-09T04:21:13.883Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=9ebc0a267d74b8439ac3babc29c7da197ae8c506 --label arch=arm64 --label version=0.0.0 . [2021-11-09T04:21:14.499Z] Sending build context to Docker daemon 2.911MB [2021-11-09T04:21:14.499Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-09T04:21:14.499Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-09T04:21:14.499Z] ---> d73db03e955f [2021-11-09T04:21:14.499Z] Step 3/24 : ARG MAKE=make build [2021-11-09T04:21:14.773Z] ---> Running in ee121722e6f6 [2021-11-09T04:21:15.370Z] Removing intermediate container ee121722e6f6 [2021-11-09T04:21:15.370Z] ---> b7d987b713b3 [2021-11-09T04:21:15.370Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-09T04:21:15.370Z] ---> Running in bdfbdedf6206 [2021-11-09T04:21:15.966Z] Removing intermediate container bdfbdedf6206 [2021-11-09T04:21:15.966Z] ---> 813e6bf3d67f [2021-11-09T04:21:15.966Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T04:21:15.966Z] ---> Running in 140285d87c6a [2021-11-09T04:21:16.239Z] Removing intermediate container 140285d87c6a [2021-11-09T04:21:16.239Z] ---> ff6fe0d01b4f [2021-11-09T04:21:16.239Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T04:21:16.511Z] ---> Running in 4e9ce995ff3c [2021-11-09T04:21:18.498Z] Removing intermediate container 4e9ce995ff3c [2021-11-09T04:21:18.498Z] ---> 4ada39bbed8a [2021-11-09T04:21:18.498Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-09T04:21:18.498Z] ---> Running in 509594ab795d [2021-11-09T04:21:19.938Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-09T04:21:20.920Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-09T04:21:21.896Z] OK: 219 MiB in 52 packages [2021-11-09T04:21:22.498Z] Removing intermediate container 509594ab795d [2021-11-09T04:21:22.498Z] ---> cdaae04eb22b [2021-11-09T04:21:22.498Z] Step 8/24 : COPY . . [2021-11-09T04:21:23.937Z] ---> 26023aa928df [2021-11-09T04:21:23.938Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-09T04:21:24.216Z] ---> Running in 2670bb1e3342 [2021-11-09T04:21:26.835Z] Removing intermediate container 2670bb1e3342 [2021-11-09T04:21:26.835Z] ---> 4759cd7357f5 [2021-11-09T04:21:26.835Z] Step 10/24 : RUN ${MAKE} [2021-11-09T04:21:26.835Z] ---> Running in 4ae2d6413bcb [2021-11-09T04:21:27.818Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-11-09T04:22:06.824Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-09T04:22:07.099Z] Removing intermediate container 4ae2d6413bcb [2021-11-09T04:22:07.099Z] ---> 47021e843b49 [2021-11-09T04:22:07.099Z] Step 11/24 : FROM alpine:3.14 [2021-11-09T04:22:11.405Z] 3.14: Pulling from library/alpine [2021-11-09T04:22:11.405Z] 552d1f2373af: Already exists [2021-11-09T04:22:11.405Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-09T04:22:11.405Z] Status: Downloaded newer image for alpine:3.14 [2021-11-09T04:22:11.405Z] ---> bb3de5531c18 [2021-11-09T04:22:11.405Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T04:22:11.405Z] ---> Running in 56590cb7b563 [2021-11-09T04:22:11.677Z] Removing intermediate container 56590cb7b563 [2021-11-09T04:22:11.677Z] ---> 5ee793aa7971 [2021-11-09T04:22:11.677Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T04:22:11.677Z] ---> Running in b59f1a558d14 [2021-11-09T04:22:13.667Z] Removing intermediate container b59f1a558d14 [2021-11-09T04:22:13.667Z] ---> 1c0b7d640b4c [2021-11-09T04:22:13.667Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-09T04:22:13.944Z] ---> Running in 44fcd2480a7b [2021-11-09T04:22:15.374Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-09T04:22:15.967Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-09T04:22:16.952Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-09T04:22:16.952Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-09T04:22:16.952Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-09T04:22:17.224Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-09T04:22:17.224Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-09T04:22:17.495Z] Executing busybox-1.33.1-r3.trigger [2021-11-09T04:22:17.495Z] OK: 8 MiB in 19 packages [2021-11-09T04:22:18.474Z] Removing intermediate container 44fcd2480a7b [2021-11-09T04:22:18.474Z] ---> c3e757664ee1 [2021-11-09T04:22:18.474Z] Step 15/24 : WORKDIR / [2021-11-09T04:22:18.474Z] ---> Running in 22f2056f2804 [2021-11-09T04:22:19.068Z] Removing intermediate container 22f2056f2804 [2021-11-09T04:22:19.068Z] ---> 64d541874676 [2021-11-09T04:22:19.068Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-09T04:22:20.041Z] ---> 4773f353f603 [2021-11-09T04:22:20.041Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-09T04:22:21.018Z] ---> 1f7e55550d0d [2021-11-09T04:22:21.018Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-09T04:22:21.998Z] ---> a3f9439864da [2021-11-09T04:22:21.998Z] Step 19/24 : EXPOSE 59999 [2021-11-09T04:22:21.998Z] ---> Running in becb6136da24 [2021-11-09T04:22:22.272Z] Removing intermediate container becb6136da24 [2021-11-09T04:22:22.272Z] ---> 7241b44f896c [2021-11-09T04:22:22.272Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-09T04:22:22.547Z] ---> Running in 5ec872f9c5f6 [2021-11-09T04:22:22.820Z] Removing intermediate container 5ec872f9c5f6 [2021-11-09T04:22:22.820Z] ---> 87b446d007a9 [2021-11-09T04:22:22.820Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-09T04:22:23.095Z] ---> Running in 94452c6f3d75 [2021-11-09T04:22:23.369Z] Removing intermediate container 94452c6f3d75 [2021-11-09T04:22:23.369Z] ---> 177594e05074 [2021-11-09T04:22:23.369Z] Step 22/24 : LABEL arch=arm64 [2021-11-09T04:22:23.644Z] ---> Running in 9a734881a926 [2021-11-09T04:22:23.918Z] Removing intermediate container 9a734881a926 [2021-11-09T04:22:23.918Z] ---> 2d42ecf91f69 [2021-11-09T04:22:23.918Z] Step 23/24 : LABEL git_sha=9ebc0a267d74b8439ac3babc29c7da197ae8c506 [2021-11-09T04:22:23.918Z] ---> Running in ce8976472308 [2021-11-09T04:22:24.520Z] Removing intermediate container ce8976472308 [2021-11-09T04:22:24.520Z] ---> f88cb5d6a033 [2021-11-09T04:22:24.520Z] Step 24/24 : LABEL version=0.0.0 [2021-11-09T04:22:24.520Z] ---> Running in 5bb8a6ef07bf [2021-11-09T04:22:25.118Z] Removing intermediate container 5bb8a6ef07bf [2021-11-09T04:22:25.118Z] ---> a3f28e1498f1 [2021-11-09T04:22:25.118Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-09T04:22:25.118Z] Successfully built a3f28e1498f1 [2021-11-09T04:22:25.118Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-09T04:22:25.724Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-09T04:22:25.998Z] [2021-11-09T04:22:25.998Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-09T04:22:26.349Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-09T04:22:26.623Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-09T04:22:26.623Z] 448f6bf000e3: Pulling fs layer [2021-11-09T04:22:26.623Z] f757da607395: Pulling fs layer [2021-11-09T04:22:26.623Z] 05883995daec: Pulling fs layer [2021-11-09T04:22:26.623Z] 8603b9c90790: Pulling fs layer [2021-11-09T04:22:26.623Z] 1560dd03e051: Pulling fs layer [2021-11-09T04:22:26.623Z] 27f5ce0e4adf: Pulling fs layer [2021-11-09T04:22:26.623Z] c2d8d7efcc4b: Pulling fs layer [2021-11-09T04:22:26.623Z] 8603b9c90790: Waiting [2021-11-09T04:22:26.623Z] 1560dd03e051: Waiting [2021-11-09T04:22:26.623Z] 27f5ce0e4adf: Waiting [2021-11-09T04:22:26.623Z] c2d8d7efcc4b: Waiting [2021-11-09T04:22:26.623Z] f757da607395: Verifying Checksum [2021-11-09T04:22:26.623Z] f757da607395: Download complete [2021-11-09T04:22:26.623Z] 8603b9c90790: Verifying Checksum [2021-11-09T04:22:26.623Z] 8603b9c90790: Download complete [2021-11-09T04:22:26.903Z] 1560dd03e051: Verifying Checksum [2021-11-09T04:22:26.903Z] 1560dd03e051: Download complete [2021-11-09T04:22:26.903Z] 27f5ce0e4adf: Verifying Checksum [2021-11-09T04:22:26.903Z] 27f5ce0e4adf: Download complete [2021-11-09T04:22:26.903Z] 05883995daec: Verifying Checksum [2021-11-09T04:22:26.903Z] 05883995daec: Download complete [2021-11-09T04:22:27.189Z] 448f6bf000e3: Verifying Checksum [2021-11-09T04:22:27.189Z] 448f6bf000e3: Download complete [2021-11-09T04:22:29.814Z] c2d8d7efcc4b: Verifying Checksum [2021-11-09T04:22:29.814Z] c2d8d7efcc4b: Download complete [2021-11-09T04:22:31.252Z] 448f6bf000e3: Pull complete [2021-11-09T04:22:31.851Z] f757da607395: Pull complete [2021-11-09T04:22:33.435Z] 05883995daec: Pull complete [2021-11-09T04:22:33.711Z] 8603b9c90790: Pull complete [2021-11-09T04:22:34.691Z] 1560dd03e051: Pull complete [2021-11-09T04:22:34.965Z] 27f5ce0e4adf: Pull complete [2021-11-09T04:22:50.138Z] c2d8d7efcc4b: Pull complete [2021-11-09T04:22:50.138Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-09T04:22:50.138Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-09T04:22:50.138Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-09T04:22:50.417Z] prd-ubuntu18.04-docker-arm64-4c-16g-28041 does not seem to be running inside a container [2021-11-09T04:22:50.514Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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:arm64 cat [2021-11-09T04:22:53.998Z] $ docker top 037391d771c318d706aa62ea01c228598e2f771031d15bc4ca60522e818eaef6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T04:22:55.011Z] ---> job-cost.sh [2021-11-09T04:22:55.011Z] lf-activate-venv: SKIPPING [2021-11-09T04:22:55.011Z] INFO: No Stack... [2021-11-09T04:22:59.316Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-09T04:22:59.316Z] INFO: Archiving Costs [Pipeline] sh [2021-11-09T04:22:59.975Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-11-09T04:22:59.975Z] + cut -d, -f6 [Pipeline] lock [2021-11-09T04:23:00.039Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1055-2-stack-cost] [2021-11-09T04:23:00.045Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1055-2-stack-cost] did not exist. Created. [2021-11-09T04:23:00.045Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1055-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-09T04:23:00.726Z] /w/workspace/device-sdk-go/2@tmp/durable-90ff1e3b/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-90ff1e3b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-09T04:23:01.400Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-09T04:23:01.420Z] Warning: overwriting stash ‘stack-cost’ [2021-11-09T04:23:01.497Z] Stashed 1 file(s) [Pipeline] } [2021-11-09T04:23:01.509Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1055-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-09T04:23:01.524Z] $ docker stop --time=1 037391d771c318d706aa62ea01c228598e2f771031d15bc4ca60522e818eaef6 [2021-11-09T04:23:03.116Z] $ docker rm -f 037391d771c318d706aa62ea01c228598e2f771031d15bc4ca60522e818eaef6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-11-09T04:23:03.722Z] provisioning config files... [2021-11-09T04:23:03.731Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/config8631987582641048355tmp [Pipeline] { [Pipeline] sh [2021-11-09T04:23:04.044Z] + set +x [2021-11-09T04:23:04.044Z] + bash -s -- [2021-11-09T04:23:04.044Z] + curl -s https://codecov.io/bash [2021-11-09T04:23:04.044Z] [2021-11-09T04:23:04.044Z] _____ _ [2021-11-09T04:23:04.044Z] / ____| | | [2021-11-09T04:23:04.044Z] | | ___ __| | ___ ___ _____ __ [2021-11-09T04:23:04.044Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-09T04:23:04.044Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-09T04:23:04.044Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-09T04:23:04.044Z] Bash-1.0.6 [2021-11-09T04:23:04.044Z] [2021-11-09T04:23:04.044Z] [2021-11-09T04:23:04.044Z] ==> git version 2.24.4 found [2021-11-09T04:23:04.044Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-11-09T04:23:04.044Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-09T04:23:04.044Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-09T04:23:04.044Z] ==> Jenkins CI detected. [2021-11-09T04:23:04.044Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1055 [2021-11-09T04:23:04.044Z] project root: . [2021-11-09T04:23:04.044Z] --> token set from env [2021-11-09T04:23:04.044Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-09T04:23:04.044Z] ==> Running gcov in . (disable via -X gcov) [2021-11-09T04:23:04.044Z] ==> Python coveragepy not found [2021-11-09T04:23:04.044Z] ==> Searching for coverage reports in: [2021-11-09T04:23:04.044Z] + . [2021-11-09T04:23:04.044Z] -> Found 1 reports [2021-11-09T04:23:04.044Z] ==> Detecting git/mercurial file structure [2021-11-09T04:23:04.044Z] ==> Reading reports [2021-11-09T04:23:04.044Z] + ./coverage.out bytes=128022 [2021-11-09T04:23:04.044Z] ==> Appending adjustments [2021-11-09T04:23:04.044Z] https://docs.codecov.io/docs/fixing-reports [2021-11-09T04:23:04.306Z] + Found adjustments [2021-11-09T04:23:04.306Z] ==> Gzipping contents [2021-11-09T04:23:04.572Z] 16K /tmp/codecov.GoGCWA.gz [2021-11-09T04:23:04.572Z] ==> Uploading reports [2021-11-09T04:23:04.572Z] url: https://codecov.io [2021-11-09T04:23:04.572Z] query: branch=PR-1055&commit=9ebc0a267d74b8439ac3babc29c7da197ae8c506&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1055%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1055&job=&cmd_args= [2021-11-09T04:23:04.572Z] -> Pinging Codecov [2021-11-09T04:23:04.572Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1055&commit=9ebc0a267d74b8439ac3babc29c7da197ae8c506&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1055%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1055&job=&cmd_args= [2021-11-09T04:23:04.832Z] -> Uploading to [2021-11-09T04:23:04.832Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-09/7E55EF52A471D76F132DFD9A03CDDE97/9ebc0a267d74b8439ac3babc29c7da197ae8c506/cb7b4670-a5f0-43f4-b3c5-13603ac2450b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211109T042304Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f1acd35ed6fa0d0e69e3e40a1c6a356aed35231eb9e1d1f1aa5409c5efe6b63c [2021-11-09T04:23:04.832Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-09T04:23:04.832Z] Dload Upload Total Spent Left Speed [2021-11-09T04:23:05.094Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16268 0 0 100 16268 0 46134 --:--:-- --:--:-- --:--:-- 46215 [2021-11-09T04:23:05.094Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9ebc0a267d74b8439ac3babc29c7da197ae8c506 [Pipeline] } [2021-11-09T04:23:05.102Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-11-09T04:23:07.158Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1055/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-09T04:23:07.454Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T04:23:08.007Z] ---> package-listing.sh [2021-11-09T04:23:08.007Z] ++ facter osfamily [2021-11-09T04:23:08.007Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-09T04:23:08.282Z] + OS_FAMILY=redhat [2021-11-09T04:23:08.282Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1055 [2021-11-09T04:23:08.282Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-09T04:23:08.282Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-09T04:23:08.282Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-09T04:23:08.282Z] + PACKAGES=/tmp/packages_start.txt [2021-11-09T04:23:08.282Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1055 ']' [2021-11-09T04:23:08.282Z] + PACKAGES=/tmp/packages_end.txt [2021-11-09T04:23:08.282Z] + case "${OS_FAMILY}" in [2021-11-09T04:23:08.282Z] + rpm -qa [2021-11-09T04:23:08.282Z] + sort [2021-11-09T04:23:08.868Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-09T04:23:08.868Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-09T04:23:08.868Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-09T04:23:08.868Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1055 ']' [2021-11-09T04:23:08.868Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1055/archives/ [2021-11-09T04:23:08.868Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1055/archives/ [Pipeline] echo [2021-11-09T04:23:08.878Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1055/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-09T04:23:09.160Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-09T04:23:09.717Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T04:23:09.718Z] [2021-11-09T04:23:09.718Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T04:23:10.014Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T04:23:10.014Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-09T04:23:10.014Z] b4d181a07f80: Pulling fs layer [2021-11-09T04:23:10.014Z] a1111a8f2ec3: Pulling fs layer [2021-11-09T04:23:10.014Z] ed53099fbce6: Pulling fs layer [2021-11-09T04:23:10.014Z] dc539afda2c1: Pulling fs layer [2021-11-09T04:23:10.014Z] 77bc0d833cb6: Pulling fs layer [2021-11-09T04:23:10.014Z] 9065ff56babe: Pulling fs layer [2021-11-09T04:23:10.014Z] d287ab97295c: Pulling fs layer [2021-11-09T04:23:10.014Z] 77bc0d833cb6: Waiting [2021-11-09T04:23:10.014Z] 9065ff56babe: Waiting [2021-11-09T04:23:10.014Z] d287ab97295c: Waiting [2021-11-09T04:23:10.014Z] dc539afda2c1: Waiting [2021-11-09T04:23:10.014Z] a1111a8f2ec3: Verifying Checksum [2021-11-09T04:23:10.014Z] a1111a8f2ec3: Download complete [2021-11-09T04:23:10.014Z] dc539afda2c1: Verifying Checksum [2021-11-09T04:23:10.014Z] dc539afda2c1: Download complete [2021-11-09T04:23:10.014Z] 77bc0d833cb6: Verifying Checksum [2021-11-09T04:23:10.014Z] 77bc0d833cb6: Download complete [2021-11-09T04:23:10.275Z] ed53099fbce6: Verifying Checksum [2021-11-09T04:23:10.275Z] ed53099fbce6: Download complete [2021-11-09T04:23:10.275Z] 9065ff56babe: Verifying Checksum [2021-11-09T04:23:10.275Z] 9065ff56babe: Download complete [2021-11-09T04:23:10.275Z] b4d181a07f80: Verifying Checksum [2021-11-09T04:23:10.275Z] b4d181a07f80: Download complete [2021-11-09T04:23:10.847Z] d287ab97295c: Verifying Checksum [2021-11-09T04:23:10.847Z] d287ab97295c: Download complete [2021-11-09T04:23:11.798Z] b4d181a07f80: Pull complete [2021-11-09T04:23:11.798Z] a1111a8f2ec3: Pull complete [2021-11-09T04:23:12.373Z] ed53099fbce6: Pull complete [2021-11-09T04:23:12.635Z] dc539afda2c1: Pull complete [2021-11-09T04:23:12.901Z] 77bc0d833cb6: Pull complete [2021-11-09T04:23:12.901Z] 9065ff56babe: Pull complete [2021-11-09T04:23:18.245Z] d287ab97295c: Pull complete [2021-11-09T04:23:18.245Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-09T04:23:18.245Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T04:23:18.245Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-09T04:23:18.316Z] prd-centos7-docker-4c-2g-28035 does not seem to be running inside a container [2021-11-09T04:23:18.349Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1055/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-1055 -v /w/workspace/gexfoundry_device-sdk-go_PR-1055:/w/workspace/gexfoundry_device-sdk-go_PR-1055:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-09T04:23:21.139Z] $ docker top 156f2767e04a915628bb633198283f35971785eb0f7185077475f7c773c6d7fc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-09T04:23:21.492Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-09T04:23:21.779Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-09T04:23:22.081Z] + ls /var/log/sa-host [2021-11-09T04:23:22.081Z] + sadf -c /var/log/sa-host/sa09 [2021-11-09T04:23:22.081Z] file_magic: OK [2021-11-09T04:23:22.081Z] HZ: Using current value: 100 [2021-11-09T04:23:22.081Z] file_header: OK [2021-11-09T04:23:22.081Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-09T04:23:22.081Z] Statistics: [2021-11-09T04:23:22.081Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-09T04:23:22.081Z] File successfully converted to sysstat format version 12.0.3 [2021-11-09T04:23:22.081Z] + sadf -c /var/log/sa-host/sa30 [2021-11-09T04:23:22.081Z] file_magic: OK [2021-11-09T04:23:22.081Z] HZ: Using current value: 100 [2021-11-09T04:23:22.081Z] file_header: OK [2021-11-09T04:23:22.081Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-09T04:23:22.081Z] Statistics: [2021-11-09T04:23:22.081Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-09T04:23:22.081Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-09T04:23:22.170Z] provisioning config files... [2021-11-09T04:23:22.178Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/config7811608384778453531tmp [Pipeline] { [Pipeline] echo [2021-11-09T04:23:22.195Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T04:23:22.481Z] ---> create-netrc.sh [Pipeline] } [2021-11-09T04:23:22.489Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-09T04:23:22.814Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-09T04:23:22.822Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T04:23:23.109Z] ---> sudo-logs.sh [2021-11-09T04:23:23.109Z] Archiving 'sudo' log.. [2021-11-09T04:23:23.109Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-28035.novalocal: Name or service not known [2021-11-09T04:23:23.109Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-28035.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-09T04:23:23.132Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T04:23:23.426Z] ---> job-cost.sh [2021-11-09T04:23:23.426Z] lf-activate-venv: SKIPPING [2021-11-09T04:23:23.426Z] DEBUG: total: 0.10999999940395355 [2021-11-09T04:23:23.426Z] INFO: Retrieving Stack Cost... [2021-11-09T04:23:23.685Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-09T04:23:24.255Z] INFO: Archiving Costs [Pipeline] echo [2021-11-09T04:23:24.264Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T04:23:24.560Z] ---> logs-deploy.sh [2021-11-09T04:23:24.560Z] lf-activate-venv: SKIPPING [2021-11-09T04:23:24.560Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1055/2 [2021-11-09T04:23:24.560Z] INFO: archiving workspace using pattern(s): [2021-11-09T04:23:25.130Z] Archives upload complete.