Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 696a5e317d56c84bbe6f088dbfeead2f4669ae0b+39ad16619dd8276d7242ae1e5c4bbb2c20ba6f5d (bd98df64256f7b16e383d5651d16237984a6de7a) 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-ssh3225494883714994868.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-ssh1009108419185522174.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-998/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-998/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1578998573047494229.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > 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-ssh6437315412699169875.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 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-998/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-998/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh353770715089589533.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 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-686 in /w/workspace/dgexfoundry_device-sdk-go_PR-998 [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/dgexfoundry_device-sdk-go_PR-998 # 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/dgexfoundry_device-sdk-go_PR-998@tmp/jenkins-gitclient-ssh7387428691344432080.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 39ad16619dd8276d7242ae1e5c4bbb2c20ba6f5d into PR head commit 696a5e317d56c84bbe6f088dbfeead2f4669ae0b Merge succeeded, producing 0c26055a70568c57fb8c94bf2acd4339f812a6e0 Checking out Revision 0c26055a70568c57fb8c94bf2acd4339f812a6e0 (PR-998) > 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/dgexfoundry_device-sdk-go_PR-998@tmp/jenkins-gitclient-ssh370762995530295151.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/998/head:refs/remotes/origin/PR-998 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 696a5e317d56c84bbe6f088dbfeead2f4669ae0b # timeout=10 > 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/dgexfoundry_device-sdk-go_PR-998@tmp/jenkins-gitclient-ssh3099741237480069758.key > git merge 39ad16619dd8276d7242ae1e5c4bbb2c20ba6f5d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0c26055a70568c57fb8c94bf2acd4339f812a6e0 # timeout=10 Commit message: "Merge commit '39ad16619dd8276d7242ae1e5c4bbb2c20ba6f5d' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 1200333b21c5e54638cd9fff8ca7f3b0751632ea # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-08-12T06:41:41.698Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-12T06:41:41.801Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-12T06:41:41.833Z] ========================================================= [2021-08-12T06:41:41.834Z] EdgeX Global Pipelines Version Info [2021-08-12T06:41:41.834Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-12T06:41:43.085Z] ------------------- [2021-08-12T06:41:43.085Z] stable info: [2021-08-12T06:41:43.085Z] ------------------- [2021-08-12T06:41:43.085Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-12T06:41:43.085Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-12T06:41:43.085Z] Message: update stable to v1.0.205 [2021-08-12T06:41:43.666Z] ------------------- [2021-08-12T06:41:43.666Z] experimental info: [2021-08-12T06:41:43.666Z] ------------------- [2021-08-12T06:41:43.666Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-12T06:41:43.666Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-12T06:41:43.666Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-12T06:41:43.865Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-08-12T06:41:43.890Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-08-12T06:41:43.914Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-12T06:41:43.939Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-12T06:41:43.963Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-12T06:41:43.989Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-08-12T06:41:44.014Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-08-12T06:41:44.040Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-08-12T06:41:44.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-08-12T06:41:44.091Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-08-12T06:41:44.117Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-12T06:41:44.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-12T06:41:44.168Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-08-12T06:41:44.193Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-12T06:41:44.223Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-12T06:41:44.249Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-08-12T06:41:44.274Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-08-12T06:41:44.299Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-08-12T06:41:44.325Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-08-12T06:41:44.350Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-12T06:41:44.375Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-08-12T06:41:44.400Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-08-12T06:41:44.425Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-08-12T06:41:44.450Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-08-12T06:41:44.476Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-08-12T06:41:44.501Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-08-12T06:41:44.528Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-12T06:41:44.554Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-998 [Pipeline] echo [2021-08-12T06:41:44.581Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-998 [Pipeline] echo [2021-08-12T06:41:44.608Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-998 [Pipeline] echo [2021-08-12T06:41:44.636Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0c26055a70568c57fb8c94bf2acd4339f812a6e0 [Pipeline] echo [2021-08-12T06:41:44.672Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0c26055 [Pipeline] echo [2021-08-12T06:41:44.699Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-12T06:41:44.776Z] provisioning config files... [2021-08-12T06:41:44.795Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-998@tmp/config8572874841021196785tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-12T06:41:45.126Z] ---> docker-login.sh [2021-08-12T06:41:45.126Z] nexus3.edgexfoundry.org:10001 [2021-08-12T06:41:45.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T06:41:45.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T06:41:45.390Z] Configure a credential helper to remove this warning. See [2021-08-12T06:41:45.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T06:41:45.390Z] [2021-08-12T06:41:45.390Z] Login Succeeded [2021-08-12T06:41:45.390Z] nexus3.edgexfoundry.org:10002 [2021-08-12T06:41:45.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T06:41:45.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T06:41:45.390Z] Configure a credential helper to remove this warning. See [2021-08-12T06:41:45.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T06:41:45.390Z] [2021-08-12T06:41:45.390Z] Login Succeeded [2021-08-12T06:41:45.390Z] nexus3.edgexfoundry.org:10003 [2021-08-12T06:41:45.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T06:41:45.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T06:41:45.664Z] Configure a credential helper to remove this warning. See [2021-08-12T06:41:45.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T06:41:45.664Z] [2021-08-12T06:41:45.664Z] Login Succeeded [2021-08-12T06:41:45.664Z] nexus3.edgexfoundry.org:10004 [2021-08-12T06:41:45.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T06:41:45.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T06:41:45.932Z] Configure a credential helper to remove this warning. See [2021-08-12T06:41:45.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T06:41:45.932Z] [2021-08-12T06:41:45.932Z] Login Succeeded [2021-08-12T06:41:45.932Z] docker.io [2021-08-12T06:41:45.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T06:41:46.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T06:41:46.202Z] Configure a credential helper to remove this warning. See [2021-08-12T06:41:46.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T06:41:46.202Z] [2021-08-12T06:41:46.202Z] Login Succeeded [2021-08-12T06:41:46.202Z] ---> docker-login.sh ends [Pipeline] } [2021-08-12T06:41:46.214Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-12T06:41:46.694Z] + git log --format=format:%s -1 0c26055a70568c57fb8c94bf2acd4339f812a6e0 [Pipeline] echo [2021-08-12T06:41:46.752Z] GIT_COMMIT: 0c26055a70568c57fb8c94bf2acd4339f812a6e0, Commit Message: Merge commit '39ad16619dd8276d7242ae1e5c4bbb2c20ba6f5d' into HEAD [Pipeline] echo [2021-08-12T06:41:46.768Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-08-12T06:41:47.712Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-12T06:41:47.712Z] [2021-08-12T06:41:47.712Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-08-12T06:41:48.042Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-12T06:41:48.042Z] latest: Pulling from edgex-devops/git-semver [2021-08-12T06:41:48.042Z] 31603596830f: Pulling fs layer [2021-08-12T06:41:48.042Z] d4622e32a9a9: Pulling fs layer [2021-08-12T06:41:48.042Z] 1030fce36090: Pulling fs layer [2021-08-12T06:41:48.042Z] 6c6cb7e1b49b: Pulling fs layer [2021-08-12T06:41:48.042Z] 6c6cb7e1b49b: Waiting [2021-08-12T06:41:48.042Z] d4622e32a9a9: Download complete [2021-08-12T06:41:48.316Z] 31603596830f: Verifying Checksum [2021-08-12T06:41:48.316Z] 31603596830f: Download complete [2021-08-12T06:41:48.584Z] 6c6cb7e1b49b: Verifying Checksum [2021-08-12T06:41:48.584Z] 6c6cb7e1b49b: Download complete [2021-08-12T06:41:48.584Z] 31603596830f: Pull complete [2021-08-12T06:41:48.584Z] d4622e32a9a9: Pull complete [2021-08-12T06:41:48.584Z] 1030fce36090: Verifying Checksum [2021-08-12T06:41:48.584Z] 1030fce36090: Download complete [2021-08-12T06:41:49.172Z] 1030fce36090: Pull complete [2021-08-12T06:41:49.439Z] 6c6cb7e1b49b: Pull complete [2021-08-12T06:41:49.439Z] Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab [2021-08-12T06:41:49.439Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-12T06:41:49.439Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-08-12T06:41:49.531Z] prd-centos7-docker-4c-2g-686 does not seem to be running inside a container [2021-08-12T06:41:49.589Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-998 -v /w/workspace/dgexfoundry_device-sdk-go_PR-998:/w/workspace/dgexfoundry_device-sdk-go_PR-998:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-998@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-998@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-12T06:41:50.422Z] $ docker top 712d489309bd0f0f21ef63a8947c079adb7acfe992eb8b1dd460e0b71659cdca -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-12T06:41:50.583Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-12T06:41:50.583Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-12T06:41:50.721Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-12T06:41:50.723Z] $ docker exec 712d489309bd0f0f21ef63a8947c079adb7acfe992eb8b1dd460e0b71659cdca ssh-agent [2021-08-12T06:41:50.859Z] SSH_AUTH_SOCK=/tmp/ssh-8CfPIMNdSCkP/agent.15 [2021-08-12T06:41:50.859Z] SSH_AGENT_PID=21 [2021-08-12T06:41:50.871Z] Running ssh-add (command line suppressed) [2021-08-12T06:41:50.990Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-998@tmp/private_key_2234210897486387628.key (/w/workspace/dgexfoundry_device-sdk-go_PR-998@tmp/private_key_2234210897486387628.key) [2021-08-12T06:41:51.012Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-12T06:41:51.330Z] + git tag --points-at HEAD [Pipeline] } [2021-08-12T06:41:51.350Z] $ docker exec --env ******** --env ******** 712d489309bd0f0f21ef63a8947c079adb7acfe992eb8b1dd460e0b71659cdca ssh-agent -k [2021-08-12T06:41:51.451Z] unset SSH_AUTH_SOCK; [2021-08-12T06:41:51.452Z] unset SSH_AGENT_PID; [2021-08-12T06:41:51.452Z] echo Agent pid 21 killed; [2021-08-12T06:41:51.471Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-08-12T06:41:51.515Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-12T06:41:51.515Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-12T06:41:51.652Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-12T06:41:51.654Z] $ docker exec 712d489309bd0f0f21ef63a8947c079adb7acfe992eb8b1dd460e0b71659cdca ssh-agent [2021-08-12T06:41:51.786Z] SSH_AUTH_SOCK=/tmp/ssh-SojNhf0aeEEP/agent.55 [2021-08-12T06:41:51.786Z] SSH_AGENT_PID=62 [2021-08-12T06:41:51.796Z] Running ssh-add (command line suppressed) [2021-08-12T06:41:51.897Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-998@tmp/private_key_2354301110034114146.key (/w/workspace/dgexfoundry_device-sdk-go_PR-998@tmp/private_key_2354301110034114146.key) [2021-08-12T06:41:51.917Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-12T06:41:52.233Z] + git semver init [2021-08-12T06:41:52.233Z] # -> Open(): unable to determine branch for HEAD [2021-08-12T06:41:52.233Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-998/.git [2021-08-12T06:41:52.233Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-998 [2021-08-12T06:41:52.233Z] # $SEMVER_REMOTE_NAME = origin [2021-08-12T06:41:52.233Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-12T06:41:52.233Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-12T06:41:52.233Z] # $SEMVER_BRANCH = PR-998 [2021-08-12T06:41:52.233Z] # $SEMVER_TEMP = /tmp/semver-341787568 [2021-08-12T06:41:52.233Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-08-12T06:41:52.824Z] # '/tmp/semver-341787568' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-998/.semver' [2021-08-12T06:41:52.824Z] # -> Force: false [2021-08-12T06:41:52.824Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-998/.semver [Pipeline] } [2021-08-12T06:41:52.841Z] $ docker exec --env ******** --env ******** 712d489309bd0f0f21ef63a8947c079adb7acfe992eb8b1dd460e0b71659cdca ssh-agent -k [2021-08-12T06:41:52.950Z] unset SSH_AUTH_SOCK; [2021-08-12T06:41:52.950Z] unset SSH_AGENT_PID; [2021-08-12T06:41:52.950Z] echo Agent pid 62 killed; [2021-08-12T06:41:52.970Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-12T06:41:53.317Z] + git semver [Pipeline] } [2021-08-12T06:41:53.335Z] $ docker stop --time=1 712d489309bd0f0f21ef63a8947c079adb7acfe992eb8b1dd460e0b71659cdca [2021-08-12T06:41:54.603Z] $ docker rm -f 712d489309bd0f0f21ef63a8947c079adb7acfe992eb8b1dd460e0b71659cdca [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-12T06:41:54.992Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-08-12T06:41:55.332Z] Stashed 1 file(s) [Pipeline] echo [2021-08-12T06:41:55.335Z] [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-08-12T06:42:10.523Z] Still waiting to schedule task [2021-08-12T06:42:10.524Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-686’ [2021-08-12T06:42:10.526Z] Still waiting to schedule task [2021-08-12T06:42:10.527Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ is offline [2021-08-12T06:44:08.717Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-687 in /w/workspace/dgexfoundry_device-sdk-go_PR-998 [Pipeline] { [Pipeline] ws [2021-08-12T06:44:08.738Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-08-12T06:44:08.947Z] Selected Git installation does not exist. Using Default [2021-08-12T06:44:08.947Z] The recommended git tool is: NONE [2021-08-12T06:44:14.218Z] using credential edgex-jenkins-ssh [2021-08-12T06:44:14.236Z] Cloning the remote Git repository [2021-08-12T06:44:14.282Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-08-12T06:44:14.383Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-08-12T06:44:14.551Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-08-12T06:44:14.552Z] > git --version # timeout=10 [2021-08-12T06:44:14.607Z] > git --version # 'git version 2.17.1' [2021-08-12T06:44:14.608Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-12T06:44:14.695Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-12T06:44:15.922Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-08-12T06:44:15.939Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-12T06:44:15.961Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-08-12T06:44:15.994Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-08-12T06:44:15.995Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-12T06:44:16.014Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/998/head:refs/remotes/origin/PR-998 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-08-12T06:44:16.546Z] Merging remotes/origin/main commit 39ad16619dd8276d7242ae1e5c4bbb2c20ba6f5d into PR head commit 696a5e317d56c84bbe6f088dbfeead2f4669ae0b [2021-08-12T06:44:16.823Z] Merge succeeded, producing 73d02c5511af0806282943e4d67636dbedda6a68 [2021-08-12T06:44:16.824Z] Checking out Revision 73d02c5511af0806282943e4d67636dbedda6a68 (PR-998) [2021-08-12T06:44:16.562Z] > git config core.sparsecheckout # timeout=10 [2021-08-12T06:44:16.574Z] > git checkout -f 696a5e317d56c84bbe6f088dbfeead2f4669ae0b # timeout=10 [2021-08-12T06:44:16.673Z] > git remote # timeout=10 [2021-08-12T06:44:16.694Z] > git config --get remote.origin.url # timeout=10 [2021-08-12T06:44:16.716Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-12T06:44:16.727Z] > git merge 39ad16619dd8276d7242ae1e5c4bbb2c20ba6f5d # timeout=10 [2021-08-12T06:44:16.806Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-12T06:44:16.827Z] > git config core.sparsecheckout # timeout=10 [2021-08-12T06:44:16.854Z] > git checkout -f 73d02c5511af0806282943e4d67636dbedda6a68 # timeout=10 [2021-08-12T06:44:21.112Z] Commit message: "Merge commit '39ad16619dd8276d7242ae1e5c4bbb2c20ba6f5d' into HEAD" [2021-08-12T06:44:21.138Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-12T06:44:21.852Z] provisioning config files... [2021-08-12T06:44:21.880Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config4238829705971818608tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-12T06:44:21.120Z] > git rev-list --no-walk 1200333b21c5e54638cd9fff8ca7f3b0751632ea # timeout=10 [2021-08-12T06:44:22.449Z] ---> docker-login.sh [2021-08-12T06:44:22.449Z] nexus3.edgexfoundry.org:10001 [2021-08-12T06:44:23.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T06:44:23.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T06:44:23.799Z] Configure a credential helper to remove this warning. See [2021-08-12T06:44:23.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T06:44:23.799Z] [2021-08-12T06:44:23.799Z] Login Succeeded [2021-08-12T06:44:23.799Z] nexus3.edgexfoundry.org:10002 [2021-08-12T06:44:24.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T06:44:24.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T06:44:24.074Z] Configure a credential helper to remove this warning. See [2021-08-12T06:44:24.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T06:44:24.074Z] [2021-08-12T06:44:24.074Z] Login Succeeded [2021-08-12T06:44:24.074Z] nexus3.edgexfoundry.org:10003 [2021-08-12T06:44:24.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T06:44:24.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T06:44:24.670Z] Configure a credential helper to remove this warning. See [2021-08-12T06:44:24.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T06:44:24.670Z] [2021-08-12T06:44:24.670Z] Login Succeeded [2021-08-12T06:44:24.670Z] nexus3.edgexfoundry.org:10004 [2021-08-12T06:44:24.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T06:44:25.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T06:44:25.216Z] Configure a credential helper to remove this warning. See [2021-08-12T06:44:25.216Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T06:44:25.216Z] [2021-08-12T06:44:25.216Z] Login Succeeded [2021-08-12T06:44:25.216Z] docker.io [2021-08-12T06:44:25.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T06:44:25.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T06:44:25.765Z] Configure a credential helper to remove this warning. See [2021-08-12T06:44:25.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T06:44:25.765Z] [2021-08-12T06:44:25.765Z] Login Succeeded [2021-08-12T06:44:25.765Z] ---> docker-login.sh ends [Pipeline] } [2021-08-12T06:44:25.995Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-12T06:44:26.486Z] ========================================================= [2021-08-12T06:44:26.486Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-08-12T06:44:26.486Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-12T06:44:26.839Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-08-12T06:44:27.439Z] Sending build context to Docker daemon 2.608MB [2021-08-12T06:44:27.439Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-08-12T06:44:27.439Z] Step 2/8 : FROM ${BASE} [2021-08-12T06:44:27.717Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-08-12T06:44:27.717Z] 595b0fe564bb: Pulling fs layer [2021-08-12T06:44:27.717Z] 24495759ef45: Pulling fs layer [2021-08-12T06:44:27.717Z] d148012ef14d: Pulling fs layer [2021-08-12T06:44:27.717Z] e90a11edd702: Pulling fs layer [2021-08-12T06:44:27.717Z] d77568369979: Pulling fs layer [2021-08-12T06:44:27.717Z] fc1c9f9a7f3b: Pulling fs layer [2021-08-12T06:44:27.717Z] 170f2ba95c9a: Pulling fs layer [2021-08-12T06:44:27.717Z] 97ac5df62f85: Pulling fs layer [2021-08-12T06:44:27.717Z] e90a11edd702: Waiting [2021-08-12T06:44:27.717Z] d77568369979: Waiting [2021-08-12T06:44:27.717Z] 170f2ba95c9a: Waiting [2021-08-12T06:44:27.717Z] fc1c9f9a7f3b: Waiting [2021-08-12T06:44:27.717Z] 97ac5df62f85: Waiting [2021-08-12T06:44:27.717Z] d148012ef14d: Verifying Checksum [2021-08-12T06:44:27.717Z] d148012ef14d: Download complete [2021-08-12T06:44:27.717Z] 24495759ef45: Download complete [2021-08-12T06:44:27.717Z] d77568369979: Verifying Checksum [2021-08-12T06:44:27.717Z] d77568369979: Download complete [2021-08-12T06:44:27.717Z] fc1c9f9a7f3b: Verifying Checksum [2021-08-12T06:44:27.717Z] fc1c9f9a7f3b: Download complete [2021-08-12T06:44:27.717Z] 595b0fe564bb: Download complete [2021-08-12T06:44:27.717Z] 170f2ba95c9a: Download complete [2021-08-12T06:44:28.327Z] 595b0fe564bb: Pull complete [2021-08-12T06:44:28.930Z] 24495759ef45: Pull complete [2021-08-12T06:44:29.534Z] d148012ef14d: Pull complete [2021-08-12T06:44:32.169Z] 97ac5df62f85: Verifying Checksum [2021-08-12T06:44:32.169Z] 97ac5df62f85: Download complete [2021-08-12T06:44:32.769Z] e90a11edd702: Verifying Checksum [2021-08-12T06:44:32.769Z] e90a11edd702: Download complete [2021-08-12T06:44:35.443Z] Running on prd-centos7-docker-4c-2g-688 in /w/workspace/dgexfoundry_device-sdk-go_PR-998 [Pipeline] { [Pipeline] ws [2021-08-12T06:44:35.462Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-08-12T06:44:35.574Z] Selected Git installation does not exist. Using Default [2021-08-12T06:44:35.574Z] The recommended git tool is: NONE [2021-08-12T06:44:38.319Z] using credential edgex-jenkins-ssh [2021-08-12T06:44:38.332Z] Cloning the remote Git repository [2021-08-12T06:44:37.844Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-08-12T06:44:37.911Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-08-12T06:44:37.947Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-08-12T06:44:37.948Z] > git --version # timeout=10 [2021-08-12T06:44:37.956Z] > git --version # 'git version 2.24.4' [2021-08-12T06:44:37.956Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-12T06:44:37.985Z] [INFO] Currently running in a labeled security context [2021-08-12T06:44:37.985Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-12T06:44:37.985Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh4405009143576978175.key [2021-08-12T06:44:38.001Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-12T06:44:39.734Z] Merging remotes/origin/main commit 39ad16619dd8276d7242ae1e5c4bbb2c20ba6f5d into PR head commit 696a5e317d56c84bbe6f088dbfeead2f4669ae0b [2021-08-12T06:44:39.855Z] Merge succeeded, producing 0dec1ad974eb74557988596ecd6a7c6005bdf510 [2021-08-12T06:44:39.856Z] Checking out Revision 0dec1ad974eb74557988596ecd6a7c6005bdf510 (PR-998) [2021-08-12T06:44:38.742Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-08-12T06:44:38.759Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-12T06:44:38.773Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-08-12T06:44:38.799Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-08-12T06:44:38.799Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-12T06:44:38.801Z] [INFO] Currently running in a labeled security context [2021-08-12T06:44:38.801Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-12T06:44:38.801Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh6144769177079391485.key [2021-08-12T06:44:38.809Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/998/head:refs/remotes/origin/PR-998 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-08-12T06:44:39.234Z] > git config core.sparsecheckout # timeout=10 [2021-08-12T06:44:39.243Z] > git checkout -f 696a5e317d56c84bbe6f088dbfeead2f4669ae0b # timeout=10 [2021-08-12T06:44:39.284Z] > git remote # timeout=10 [2021-08-12T06:44:39.295Z] > git config --get remote.origin.url # timeout=10 [2021-08-12T06:44:39.302Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-12T06:44:39.303Z] [INFO] Currently running in a labeled security context [2021-08-12T06:44:39.303Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-12T06:44:39.303Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh2332022959345889247.key [2021-08-12T06:44:39.311Z] > git merge 39ad16619dd8276d7242ae1e5c4bbb2c20ba6f5d # timeout=10 [2021-08-12T06:44:39.338Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-12T06:44:39.350Z] > git config core.sparsecheckout # timeout=10 [2021-08-12T06:44:39.363Z] > git checkout -f 0dec1ad974eb74557988596ecd6a7c6005bdf510 # timeout=10 [2021-08-12T06:44:42.950Z] e90a11edd702: Pull complete [2021-08-12T06:44:43.230Z] d77568369979: Pull complete [2021-08-12T06:44:43.360Z] Commit message: "Merge commit '39ad16619dd8276d7242ae1e5c4bbb2c20ba6f5d' into HEAD" [2021-08-12T06:44:43.399Z] First time build. Skipping changelog. [2021-08-12T06:44:43.507Z] fc1c9f9a7f3b: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2021-08-12T06:44:43.133Z] > git rev-list --no-walk 1200333b21c5e54638cd9fff8ca7f3b0751632ea # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-12T06:44:43.761Z] provisioning config files... [2021-08-12T06:44:43.779Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config1469864838155996728tmp [2021-08-12T06:44:43.789Z] 170f2ba95c9a: Pull complete [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-12T06:44:44.214Z] ---> docker-login.sh [2021-08-12T06:44:44.214Z] nexus3.edgexfoundry.org:10001 [2021-08-12T06:44:44.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T06:44:44.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T06:44:44.214Z] Configure a credential helper to remove this warning. See [2021-08-12T06:44:44.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T06:44:44.214Z] [2021-08-12T06:44:44.214Z] Login Succeeded [2021-08-12T06:44:44.214Z] nexus3.edgexfoundry.org:10002 [2021-08-12T06:44:44.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T06:44:44.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T06:44:44.481Z] Configure a credential helper to remove this warning. See [2021-08-12T06:44:44.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T06:44:44.481Z] [2021-08-12T06:44:44.481Z] Login Succeeded [2021-08-12T06:44:44.481Z] nexus3.edgexfoundry.org:10003 [2021-08-12T06:44:44.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T06:44:44.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T06:44:44.748Z] Configure a credential helper to remove this warning. See [2021-08-12T06:44:44.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T06:44:44.748Z] [2021-08-12T06:44:44.748Z] Login Succeeded [2021-08-12T06:44:44.748Z] nexus3.edgexfoundry.org:10004 [2021-08-12T06:44:44.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T06:44:44.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T06:44:44.748Z] Configure a credential helper to remove this warning. See [2021-08-12T06:44:44.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T06:44:44.748Z] [2021-08-12T06:44:44.748Z] Login Succeeded [2021-08-12T06:44:44.748Z] docker.io [2021-08-12T06:44:45.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T06:44:45.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T06:44:45.282Z] Configure a credential helper to remove this warning. See [2021-08-12T06:44:45.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T06:44:45.282Z] [2021-08-12T06:44:45.282Z] Login Succeeded [2021-08-12T06:44:45.282Z] ---> docker-login.sh ends [Pipeline] } [2021-08-12T06:44:45.326Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-12T06:44:45.502Z] ========================================================= [2021-08-12T06:44:45.502Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-08-12T06:44:45.502Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-12T06:44:45.827Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-08-12T06:44:45.827Z] Sending build context to Docker daemon 2.599MB [2021-08-12T06:44:45.827Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-08-12T06:44:45.827Z] Step 2/8 : FROM ${BASE} [2021-08-12T06:44:46.096Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-08-12T06:44:46.096Z] 540db60ca938: Pulling fs layer [2021-08-12T06:44:46.096Z] adcc1eea9eea: Pulling fs layer [2021-08-12T06:44:46.096Z] 4c4ab2625f07: Pulling fs layer [2021-08-12T06:44:46.096Z] db62176df00c: Pulling fs layer [2021-08-12T06:44:46.096Z] 3b30891b0d05: Pulling fs layer [2021-08-12T06:44:46.096Z] 06b49ca38bd5: Pulling fs layer [2021-08-12T06:44:46.096Z] c788192a36de: Pulling fs layer [2021-08-12T06:44:46.096Z] a77e37c0d609: Pulling fs layer [2021-08-12T06:44:46.096Z] c3185cebc471: Pulling fs layer [2021-08-12T06:44:46.096Z] db62176df00c: Waiting [2021-08-12T06:44:46.096Z] 3b30891b0d05: Waiting [2021-08-12T06:44:46.096Z] 06b49ca38bd5: Waiting [2021-08-12T06:44:46.096Z] c788192a36de: Waiting [2021-08-12T06:44:46.096Z] a77e37c0d609: Waiting [2021-08-12T06:44:46.096Z] c3185cebc471: Waiting [2021-08-12T06:44:46.096Z] 4c4ab2625f07: Verifying Checksum [2021-08-12T06:44:46.096Z] 4c4ab2625f07: Download complete [2021-08-12T06:44:46.096Z] adcc1eea9eea: Verifying Checksum [2021-08-12T06:44:46.096Z] adcc1eea9eea: Download complete [2021-08-12T06:44:46.096Z] 3b30891b0d05: Verifying Checksum [2021-08-12T06:44:46.096Z] 3b30891b0d05: Download complete [2021-08-12T06:44:46.096Z] 06b49ca38bd5: Verifying Checksum [2021-08-12T06:44:46.096Z] 06b49ca38bd5: Download complete [2021-08-12T06:44:46.096Z] c788192a36de: Verifying Checksum [2021-08-12T06:44:46.096Z] c788192a36de: Download complete [2021-08-12T06:44:46.096Z] 540db60ca938: Verifying Checksum [2021-08-12T06:44:46.096Z] 540db60ca938: Download complete [2021-08-12T06:44:46.365Z] 540db60ca938: Pull complete [2021-08-12T06:44:46.365Z] adcc1eea9eea: Pull complete [2021-08-12T06:44:46.634Z] 4c4ab2625f07: Pull complete [2021-08-12T06:44:46.634Z] a77e37c0d609: Verifying Checksum [2021-08-12T06:44:46.634Z] a77e37c0d609: Download complete [2021-08-12T06:44:50.513Z] 97ac5df62f85: Pull complete [2021-08-12T06:44:50.513Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-08-12T06:44:50.513Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-12T06:44:50.513Z] ---> 04bc70af865f [2021-08-12T06:44:50.513Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-12T06:44:50.895Z] c3185cebc471: Verifying Checksum [2021-08-12T06:44:50.895Z] c3185cebc471: Download complete [2021-08-12T06:44:51.169Z] db62176df00c: Download complete [2021-08-12T06:44:53.137Z] ---> Running in fe44ed752f89 [2021-08-12T06:44:53.411Z] Removing intermediate container fe44ed752f89 [2021-08-12T06:44:53.411Z] ---> 24c6ade9d3f2 [2021-08-12T06:44:53.411Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-12T06:44:53.687Z] ---> Running in 49b9c9a943e1 [2021-08-12T06:44:54.572Z] db62176df00c: Pull complete [2021-08-12T06:44:54.572Z] 3b30891b0d05: Pull complete [2021-08-12T06:44:54.572Z] 06b49ca38bd5: Pull complete [2021-08-12T06:44:54.572Z] c788192a36de: Pull complete [2021-08-12T06:44:54.572Z] a77e37c0d609: Pull complete [2021-08-12T06:44:56.319Z] Removing intermediate container 49b9c9a943e1 [2021-08-12T06:44:56.320Z] ---> 795b4a520a5d [2021-08-12T06:44:56.320Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-08-12T06:44:56.320Z] ---> Running in c14444f64b4e [2021-08-12T06:44:57.179Z] c3185cebc471: Pull complete [2021-08-12T06:44:57.179Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-08-12T06:44:57.179Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-12T06:44:57.179Z] ---> 031687cdd783 [2021-08-12T06:44:57.179Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-12T06:44:57.306Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-08-12T06:44:58.599Z] ---> Running in d6cfcd50dbb9 [2021-08-12T06:44:58.599Z] Removing intermediate container d6cfcd50dbb9 [2021-08-12T06:44:58.599Z] ---> 973d0353d861 [2021-08-12T06:44:58.599Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-12T06:44:58.599Z] ---> Running in e041e10fe70c [2021-08-12T06:44:58.733Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-08-12T06:44:58.870Z] Removing intermediate container e041e10fe70c [2021-08-12T06:44:58.870Z] ---> ee122e033d66 [2021-08-12T06:44:58.870Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-08-12T06:44:58.870Z] ---> Running in dc0a1b184c38 [2021-08-12T06:44:59.138Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-08-12T06:45:00.105Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-08-12T06:45:00.160Z] OK: 218 MiB in 52 packages [2021-08-12T06:45:01.064Z] OK: 219 MiB in 52 packages [2021-08-12T06:45:01.140Z] Removing intermediate container c14444f64b4e [2021-08-12T06:45:01.140Z] ---> e8979a317e27 [2021-08-12T06:45:01.140Z] Step 6/8 : WORKDIR /device-sdk-go [2021-08-12T06:45:01.140Z] ---> Running in d7862ee3bde3 [2021-08-12T06:45:01.337Z] Removing intermediate container dc0a1b184c38 [2021-08-12T06:45:01.337Z] ---> 1acb27c4e96d [2021-08-12T06:45:01.337Z] Step 6/8 : WORKDIR /device-sdk-go [2021-08-12T06:45:01.337Z] ---> Running in 265520e4fb6b [2021-08-12T06:45:01.623Z] Removing intermediate container 265520e4fb6b [2021-08-12T06:45:01.623Z] ---> 69c382f9ca28 [2021-08-12T06:45:01.623Z] Step 7/8 : COPY . . [2021-08-12T06:45:01.737Z] Removing intermediate container d7862ee3bde3 [2021-08-12T06:45:01.737Z] ---> a1e92c175cd9 [2021-08-12T06:45:01.737Z] Step 7/8 : COPY . . [2021-08-12T06:45:01.903Z] ---> 73ba02ef3d06 [2021-08-12T06:45:01.903Z] Step 8/8 : RUN go mod download [2021-08-12T06:45:01.903Z] ---> Running in e61181045413 [2021-08-12T06:45:03.172Z] ---> 55f127ec9409 [2021-08-12T06:45:03.173Z] Step 8/8 : RUN go mod download [2021-08-12T06:45:03.173Z] ---> Running in 1dfd06c71cd4 [2021-08-12T06:45:20.155Z] Removing intermediate container e61181045413 [2021-08-12T06:45:20.155Z] ---> 566a53ebad90 [2021-08-12T06:45:20.155Z] Successfully built 566a53ebad90 [2021-08-12T06:45:20.155Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-12T06:45:20.475Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-12T06:45:20.475Z] . [Pipeline] withDockerContainer [2021-08-12T06:45:20.567Z] prd-centos7-docker-4c-2g-688 does not seem to be running inside a container [2021-08-12T06:45:20.616Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-08-12T06:45:20.964Z] $ docker top 27b1cc5c182051d8b0a6afc76592b4049a75034164257d095221452ac9c6bfe3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-12T06:45:21.360Z] + go version [2021-08-12T06:45:21.360Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-08-12T06:45:21.370Z] $ docker stop --time=1 27b1cc5c182051d8b0a6afc76592b4049a75034164257d095221452ac9c6bfe3 [2021-08-12T06:45:22.551Z] $ docker rm -f 27b1cc5c182051d8b0a6afc76592b4049a75034164257d095221452ac9c6bfe3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-12T06:45:23.032Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-12T06:45:23.033Z] . [Pipeline] withDockerContainer [2021-08-12T06:45:23.132Z] prd-centos7-docker-4c-2g-688 does not seem to be running inside a container [2021-08-12T06:45:23.182Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-08-12T06:45:23.509Z] $ docker top 1b4488b6965c97e23d498e26d8cc97972e12b7c9be42a7ffc4d4dc601dc8a394 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-12T06:45:23.933Z] + go mod tidy [Pipeline] sh [2021-08-12T06:45:24.525Z] + make test [2021-08-12T06:45:24.525Z] go mod tidy [2021-08-12T06:45:24.525Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-08-12T06:45:29.944Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-08-12T06:45:29.964Z] Removing intermediate container 1dfd06c71cd4 [2021-08-12T06:45:29.964Z] ---> 28f2d9ab3641 [2021-08-12T06:45:29.964Z] Successfully built 28f2d9ab3641 [2021-08-12T06:45:29.964Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-12T06:45:30.308Z] + docker inspect -f . ci-base-image-arm64 [2021-08-12T06:45:30.308Z] . [Pipeline] withDockerContainer [2021-08-12T06:45:30.541Z] prd-ubuntu18.04-docker-arm64-4c-16g-687 does not seem to be running inside a container [2021-08-12T06:45:30.644Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-08-12T06:45:32.277Z] $ docker top 451429432b1d20ef75db5fc9972f4eb12060f295977d5255b630dfc00c51a70f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-12T06:45:33.278Z] + go version [2021-08-12T06:45:33.279Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-08-12T06:45:33.309Z] $ docker stop --time=1 451429432b1d20ef75db5fc9972f4eb12060f295977d5255b630dfc00c51a70f [2021-08-12T06:45:35.193Z] $ docker rm -f 451429432b1d20ef75db5fc9972f4eb12060f295977d5255b630dfc00c51a70f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-12T06:45:35.876Z] + docker inspect -f . ci-base-image-arm64 [2021-08-12T06:45:35.876Z] . [Pipeline] withDockerContainer [2021-08-12T06:45:36.132Z] prd-ubuntu18.04-docker-arm64-4c-16g-687 does not seem to be running inside a container [2021-08-12T06:45:36.220Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-08-12T06:45:37.894Z] $ docker top ea717728726a89af45ee870bbdb1181531679f4ef3e39ad1b0e1419bec755b3f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-12T06:45:38.880Z] + go mod tidy [Pipeline] sh [2021-08-12T06:45:40.149Z] + make test [2021-08-12T06:45:40.149Z] go mod tidy [2021-08-12T06:45:40.754Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-08-12T06:45:52.040Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-08-12T06:45:52.040Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-08-12T06:45:52.040Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-08-12T06:45:53.991Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.053s coverage: 24.2% of statements [2021-08-12T06:45:53.991Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-08-12T06:45:53.991Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.046s coverage: 28.1% of statements [2021-08-12T06:45:54.572Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.047s coverage: 78.9% of statements [2021-08-12T06:45:54.839Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.043s coverage: 9.0% of statements [2021-08-12T06:45:54.839Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-08-12T06:45:54.839Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-08-12T06:45:54.839Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-08-12T06:45:55.429Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.070s coverage: 28.7% of statements [2021-08-12T06:45:55.429Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-08-12T06:45:56.843Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.047s coverage: 83.3% of statements [2021-08-12T06:45:56.843Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-08-12T06:45:56.843Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-08-12T06:45:56.843Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.076s coverage: 58.0% of statements [2021-08-12T06:45:57.818Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.817s coverage: 89.2% of statements [2021-08-12T06:45:57.818Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-08-12T06:45:57.818Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.047s coverage: 4.9% of statements [2021-08-12T06:45:57.818Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-08-12T06:45:57.818Z] GO111MODULE=on go vet ./... [2021-08-12T06:46:02.942Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-08-12T06:46:16.101Z] gofmt -l . [2021-08-12T06:46:16.101Z] [ "`gofmt -l .`" = "" ] [2021-08-12T06:46:16.101Z] ./bin/test-attribution-txt.sh [2021-08-12T06:46:16.101Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-08-12T06:46:16.113Z] $ docker stop --time=1 1b4488b6965c97e23d498e26d8cc97972e12b7c9be42a7ffc4d4dc601dc8a394 [2021-08-12T06:46:17.628Z] $ docker rm -f 1b4488b6965c97e23d498e26d8cc97972e12b7c9be42a7ffc4d4dc601dc8a394 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-12T06:46:18.097Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-12T06:46:18.353Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-08-12T06:46:20.519Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-12T06:46:20.835Z] + ls -al . [2021-08-12T06:46:20.835Z] total 236 [2021-08-12T06:46:20.835Z] drwxrwxr-x. 10 jenkins jenkins 4096 Aug 12 06:46 . [2021-08-12T06:46:20.835Z] drwxrwxr-x. 4 jenkins jenkins 28 Aug 12 06:44 .. [2021-08-12T06:46:20.835Z] drwxrwxr-x. 2 jenkins jenkins 64 Aug 12 06:44 bin [2021-08-12T06:46:20.835Z] -rw-rw-r--. 1 jenkins jenkins 24816 Aug 12 06:44 CHANGELOG.md [2021-08-12T06:46:20.835Z] -rw-r--r--. 1 jenkins jenkins 125634 Aug 12 06:45 coverage.out [2021-08-12T06:46:20.835Z] -rw-rw-r--. 1 jenkins jenkins 987 Aug 12 06:44 Dockerfile.build [2021-08-12T06:46:20.835Z] -rw-rw-r--. 1 jenkins jenkins 140 Aug 12 06:44 .dockerignore [2021-08-12T06:46:20.835Z] drwxrwxr-x. 5 jenkins jenkins 62 Aug 12 06:44 example [2021-08-12T06:46:20.835Z] drwxrwxr-x. 8 jenkins jenkins 179 Aug 12 06:44 .git [2021-08-12T06:46:20.835Z] drwxrwxr-x. 3 jenkins jenkins 125 Aug 12 06:44 .github [2021-08-12T06:46:20.835Z] -rw-rw-r--. 1 jenkins jenkins 138 Aug 12 06:44 .gitignore [2021-08-12T06:46:20.835Z] -rw-r--r--. 1 jenkins jenkins 548 Aug 12 06:46 go.mod [2021-08-12T06:46:20.835Z] -rw-r--r--. 1 jenkins jenkins 20386 Aug 12 06:45 go.sum [2021-08-12T06:46:20.835Z] -rw-rw-r--. 1 jenkins jenkins 677 Aug 12 06:44 GOVERNANCE.md [2021-08-12T06:46:20.835Z] drwxrwxr-x. 15 jenkins jenkins 224 Aug 12 06:44 internal [2021-08-12T06:46:20.835Z] -rw-rw-r--. 1 jenkins jenkins 880 Aug 12 06:44 Jenkinsfile [2021-08-12T06:46:20.835Z] -rw-rw-r--. 1 jenkins jenkins 11341 Aug 12 06:44 LICENSE [2021-08-12T06:46:20.835Z] -rw-rw-r--. 1 jenkins jenkins 1026 Aug 12 06:44 Makefile [2021-08-12T06:46:20.835Z] drwxrwxr-x. 3 jenkins jenkins 16 Aug 12 06:44 openapi [2021-08-12T06:46:20.835Z] -rw-rw-r--. 1 jenkins jenkins 619 Aug 12 06:44 OWNERS.md [2021-08-12T06:46:20.835Z] drwxrwxr-x. 5 jenkins jenkins 50 Aug 12 06:44 pkg [2021-08-12T06:46:20.835Z] -rw-rw-r--. 1 jenkins jenkins 7646 Aug 12 06:44 README.md [2021-08-12T06:46:20.835Z] drwxrwxr-x. 4 jenkins jenkins 54 Aug 12 06:44 snap [2021-08-12T06:46:20.835Z] -rw-rw-r--. 1 jenkins jenkins 5 Aug 12 06:41 VERSION [2021-08-12T06:46:20.835Z] -rw-rw-r--. 1 jenkins jenkins 222 Aug 12 06:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-08-12T06:46:21.157Z] + 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=0dec1ad974eb74557988596ecd6a7c6005bdf510 --label arch=amd64 --label version=0.0.0 . [2021-08-12T06:46:21.157Z] Sending build context to Docker daemon 2.725MB [2021-08-12T06:46:21.157Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-08-12T06:46:21.157Z] Step 2/23 : FROM ${BASE} AS builder [2021-08-12T06:46:21.157Z] ---> 566a53ebad90 [2021-08-12T06:46:21.157Z] Step 3/23 : WORKDIR /device-sdk-go [2021-08-12T06:46:21.157Z] ---> Running in ea3e86756512 [2021-08-12T06:46:21.426Z] Removing intermediate container ea3e86756512 [2021-08-12T06:46:21.426Z] ---> 615736e0c2e0 [2021-08-12T06:46:21.426Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-12T06:46:21.426Z] ---> Running in 36574a73dabf [2021-08-12T06:46:21.426Z] Removing intermediate container 36574a73dabf [2021-08-12T06:46:21.426Z] ---> 8497d6240198 [2021-08-12T06:46:21.426Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-12T06:46:21.426Z] ---> Running in 4d460c8f65a8 [2021-08-12T06:46:22.005Z] Removing intermediate container 4d460c8f65a8 [2021-08-12T06:46:22.005Z] ---> 82451dbb85ee [2021-08-12T06:46:22.005Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-08-12T06:46:22.005Z] ---> Running in 27a017b30dd3 [2021-08-12T06:46:22.005Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-08-12T06:46:22.959Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-08-12T06:46:23.227Z] OK: 219 MiB in 52 packages [2021-08-12T06:46:23.492Z] Removing intermediate container 27a017b30dd3 [2021-08-12T06:46:23.492Z] ---> 21eb63cf9eef [2021-08-12T06:46:23.492Z] Step 7/23 : COPY . . [2021-08-12T06:46:23.759Z] ---> 9189812de2cc [2021-08-12T06:46:23.759Z] Step 8/23 : RUN go mod download [2021-08-12T06:46:23.759Z] ---> Running in edb8caf0cbb0 [2021-08-12T06:46:24.345Z] Removing intermediate container edb8caf0cbb0 [2021-08-12T06:46:24.346Z] ---> ec7693db1ae4 [2021-08-12T06:46:24.346Z] Step 9/23 : RUN make build [2021-08-12T06:46:24.346Z] ---> Running in 982e41126adc [2021-08-12T06:46:24.622Z] go mod tidy [2021-08-12T06:46:24.892Z] 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-08-12T06:46:35.014Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-08-12T06:46:35.604Z] Removing intermediate container 982e41126adc [2021-08-12T06:46:35.604Z] ---> a545c784d6b7 [2021-08-12T06:46:35.604Z] Step 10/23 : FROM alpine:3.12 [2021-08-12T06:46:36.186Z] 3.12: Pulling from library/alpine [2021-08-12T06:46:36.452Z] 339de151aab4: Pulling fs layer [2021-08-12T06:46:36.716Z] 339de151aab4: Verifying Checksum [2021-08-12T06:46:36.716Z] 339de151aab4: Download complete [2021-08-12T06:46:36.716Z] 339de151aab4: Pull complete [2021-08-12T06:46:36.716Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-08-12T06:46:36.716Z] Status: Downloaded newer image for alpine:3.12 [2021-08-12T06:46:36.716Z] ---> 13621d1b12d4 [2021-08-12T06:46:36.716Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-12T06:46:36.983Z] ---> Running in bc5968f2c4ef [2021-08-12T06:46:36.983Z] Removing intermediate container bc5968f2c4ef [2021-08-12T06:46:36.983Z] ---> 3cd388bbbde0 [2021-08-12T06:46:36.983Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-12T06:46:36.983Z] ---> Running in 40109385db69 [2021-08-12T06:46:37.583Z] Removing intermediate container 40109385db69 [2021-08-12T06:46:37.583Z] ---> d54104228dd3 [2021-08-12T06:46:37.583Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-08-12T06:46:37.583Z] ---> Running in 225a865cf35e [2021-08-12T06:46:37.583Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-08-12T06:46:38.538Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-08-12T06:46:38.815Z] (1/5) Installing libgcc (9.3.0-r2) [2021-08-12T06:46:38.815Z] (2/5) Installing libsodium (1.0.18-r0) [2021-08-12T06:46:38.815Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-08-12T06:46:39.771Z] (4/5) Installing libzmq (4.3.3-r0) [2021-08-12T06:46:39.771Z] (5/5) Installing zeromq (4.3.3-r0) [2021-08-12T06:46:40.039Z] Executing busybox-1.31.1-r20.trigger [2021-08-12T06:46:40.039Z] OK: 8 MiB in 19 packages [2021-08-12T06:46:40.039Z] Removing intermediate container 225a865cf35e [2021-08-12T06:46:40.039Z] ---> f183d421d4c0 [2021-08-12T06:46:40.039Z] Step 14/23 : WORKDIR / [2021-08-12T06:46:40.305Z] ---> Running in a27f52199d77 [2021-08-12T06:46:40.305Z] Removing intermediate container a27f52199d77 [2021-08-12T06:46:40.305Z] ---> 22558c0e79dd [2021-08-12T06:46:40.305Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-08-12T06:46:40.305Z] ---> ca7dadd3fddd [2021-08-12T06:46:40.305Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-08-12T06:46:40.887Z] ---> 38eed83c3d3c [2021-08-12T06:46:40.887Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-08-12T06:46:40.887Z] ---> bcf43485bc8b [2021-08-12T06:46:40.887Z] Step 18/23 : EXPOSE 59999 [2021-08-12T06:46:40.887Z] ---> Running in 34ada79c3391 [2021-08-12T06:46:40.887Z] Removing intermediate container 34ada79c3391 [2021-08-12T06:46:40.887Z] ---> f7b56adac569 [2021-08-12T06:46:40.887Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-08-12T06:46:40.887Z] ---> Running in f2c3b813f470 [2021-08-12T06:46:41.153Z] Removing intermediate container f2c3b813f470 [2021-08-12T06:46:41.153Z] ---> 20dcbc9fe178 [2021-08-12T06:46:41.153Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-08-12T06:46:41.153Z] ---> Running in c3f368abbe13 [2021-08-12T06:46:41.153Z] Removing intermediate container c3f368abbe13 [2021-08-12T06:46:41.153Z] ---> b0adbbb271f1 [2021-08-12T06:46:41.153Z] Step 21/23 : LABEL arch=amd64 [2021-08-12T06:46:41.153Z] ---> Running in 392a9b7315c4 [2021-08-12T06:46:41.419Z] Removing intermediate container 392a9b7315c4 [2021-08-12T06:46:41.419Z] ---> 38ddd721c332 [2021-08-12T06:46:41.419Z] Step 22/23 : LABEL git_sha=0dec1ad974eb74557988596ecd6a7c6005bdf510 [2021-08-12T06:46:41.419Z] ---> Running in 503dcc5a94aa [2021-08-12T06:46:41.419Z] Removing intermediate container 503dcc5a94aa [2021-08-12T06:46:41.419Z] ---> b61045472538 [2021-08-12T06:46:41.419Z] Step 23/23 : LABEL version=0.0.0 [2021-08-12T06:46:41.419Z] ---> Running in 7519a28fead6 [2021-08-12T06:46:41.419Z] Removing intermediate container 7519a28fead6 [2021-08-12T06:46:41.419Z] ---> 7f8dfae2d8ea [2021-08-12T06:46:41.419Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-08-12T06:46:41.419Z] Successfully built 7f8dfae2d8ea [2021-08-12T06:46:41.419Z] 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-08-12T06:46:41.905Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-12T06:46:41.905Z] [2021-08-12T06:46:41.905Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-12T06:46:42.237Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-12T06:46:42.237Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-12T06:46:42.237Z] b4d181a07f80: Pulling fs layer [2021-08-12T06:46:42.237Z] a1111a8f2ec3: Pulling fs layer [2021-08-12T06:46:42.237Z] ed53099fbce6: Pulling fs layer [2021-08-12T06:46:42.237Z] dc539afda2c1: Pulling fs layer [2021-08-12T06:46:42.237Z] 77bc0d833cb6: Pulling fs layer [2021-08-12T06:46:42.237Z] 9065ff56babe: Pulling fs layer [2021-08-12T06:46:42.237Z] d287ab97295c: Pulling fs layer [2021-08-12T06:46:42.237Z] dc539afda2c1: Waiting [2021-08-12T06:46:42.237Z] 77bc0d833cb6: Waiting [2021-08-12T06:46:42.237Z] 9065ff56babe: Waiting [2021-08-12T06:46:42.237Z] d287ab97295c: Waiting [2021-08-12T06:46:42.504Z] a1111a8f2ec3: Verifying Checksum [2021-08-12T06:46:42.504Z] a1111a8f2ec3: Download complete [2021-08-12T06:46:42.504Z] dc539afda2c1: Verifying Checksum [2021-08-12T06:46:42.504Z] dc539afda2c1: Download complete [2021-08-12T06:46:42.769Z] 77bc0d833cb6: Verifying Checksum [2021-08-12T06:46:42.769Z] 77bc0d833cb6: Download complete [2021-08-12T06:46:42.769Z] 9065ff56babe: Verifying Checksum [2021-08-12T06:46:42.769Z] 9065ff56babe: Download complete [2021-08-12T06:46:42.769Z] ed53099fbce6: Verifying Checksum [2021-08-12T06:46:42.769Z] ed53099fbce6: Download complete [2021-08-12T06:46:43.723Z] b4d181a07f80: Verifying Checksum [2021-08-12T06:46:43.723Z] b4d181a07f80: Download complete [2021-08-12T06:46:44.695Z] b4d181a07f80: Pull complete [2021-08-12T06:46:44.969Z] a1111a8f2ec3: Pull complete [2021-08-12T06:46:45.237Z] ed53099fbce6: Pull complete [2021-08-12T06:46:45.507Z] dc539afda2c1: Pull complete [2021-08-12T06:46:45.777Z] 77bc0d833cb6: Pull complete [2021-08-12T06:46:45.777Z] 9065ff56babe: Pull complete [2021-08-12T06:46:47.181Z] d287ab97295c: Verifying Checksum [2021-08-12T06:46:47.181Z] d287ab97295c: Download complete [2021-08-12T06:46:51.452Z] d287ab97295c: Pull complete [2021-08-12T06:46:51.452Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-12T06:46:51.452Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-12T06:46:51.452Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-12T06:46:51.547Z] prd-centos7-docker-4c-2g-688 does not seem to be running inside a container [2021-08-12T06:46:51.609Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-12T06:46:54.025Z] $ docker top 32f0a0a25e89f76ec8ec17fc11c52225a1e9d49e9a69c22889816cc08b9fa8c8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-12T06:46:54.612Z] ---> job-cost.sh [2021-08-12T06:46:54.612Z] lf-activate-venv: SKIPPING [2021-08-12T06:46:54.612Z] INFO: No Stack... [2021-08-12T06:46:56.017Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-12T06:46:56.284Z] INFO: Archiving Costs [Pipeline] sh [2021-08-12T06:46:56.610Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-08-12T06:46:56.610Z] + cut -d, -f6 [Pipeline] lock [2021-08-12T06:46:56.658Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-998-3-stack-cost] [2021-08-12T06:46:56.668Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-998-3-stack-cost] did not exist. Created. [2021-08-12T06:46:56.668Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-998-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-12T06:46:57.011Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-08-12T06:46:57.063Z] Stashed 1 file(s) [Pipeline] } [2021-08-12T06:46:57.076Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-998-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-12T06:46:57.105Z] $ docker stop --time=1 32f0a0a25e89f76ec8ec17fc11c52225a1e9d49e9a69c22889816cc08b9fa8c8 [2021-08-12T06:46:58.249Z] $ docker rm -f 32f0a0a25e89f76ec8ec17fc11c52225a1e9d49e9a69c22889816cc08b9fa8c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-08-12T06:47:11.059Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-08-12T06:47:11.059Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-08-12T06:47:11.060Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-08-12T06:47:19.397Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.458s coverage: 24.2% of statements [2021-08-12T06:47:19.397Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-08-12T06:47:19.397Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.183s coverage: 28.1% of statements [2021-08-12T06:47:19.397Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.231s coverage: 78.9% of statements [2021-08-12T06:47:19.397Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.202s coverage: 9.0% of statements [2021-08-12T06:47:19.397Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-08-12T06:47:19.397Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-08-12T06:47:19.397Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-08-12T06:47:20.003Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.341s coverage: 28.7% of statements [2021-08-12T06:47:20.003Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-08-12T06:47:22.671Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.188s coverage: 83.3% of statements [2021-08-12T06:47:22.671Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-08-12T06:47:22.671Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-08-12T06:47:22.671Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.395s coverage: 58.0% of statements [2021-08-12T06:47:24.121Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.050s coverage: 89.2% of statements [2021-08-12T06:47:24.121Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-08-12T06:47:24.719Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.180s coverage: 4.9% of statements [2021-08-12T06:47:24.719Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-08-12T06:47:24.993Z] GO111MODULE=on go vet ./... [2021-08-12T06:48:21.609Z] gofmt -l . [2021-08-12T06:48:21.610Z] [ "`gofmt -l .`" = "" ] [2021-08-12T06:48:21.610Z] ./bin/test-attribution-txt.sh [2021-08-12T06:48:22.208Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-08-12T06:48:22.523Z] $ docker stop --time=1 ea717728726a89af45ee870bbdb1181531679f4ef3e39ad1b0e1419bec755b3f [2021-08-12T06:48:24.483Z] $ docker rm -f ea717728726a89af45ee870bbdb1181531679f4ef3e39ad1b0e1419bec755b3f [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-12T06:48:25.559Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-12T06:48:25.584Z] Warning: overwriting stash ‘coverage-report’ [2021-08-12T06:48:26.198Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-12T06:48:26.654Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-12T06:48:26.991Z] + ls -al . [2021-08-12T06:48:26.991Z] total 272 [2021-08-12T06:48:26.991Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 12 06:48 . [2021-08-12T06:48:26.991Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 06:44 .. [2021-08-12T06:48:26.991Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 12 06:44 .dockerignore [2021-08-12T06:48:26.991Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 06:44 .git [2021-08-12T06:48:26.991Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 06:44 .github [2021-08-12T06:48:26.991Z] -rw-rw-r-- 1 jenkins jenkins 138 Aug 12 06:44 .gitignore [2021-08-12T06:48:26.991Z] -rw-rw-r-- 1 jenkins jenkins 24816 Aug 12 06:44 CHANGELOG.md [2021-08-12T06:48:26.991Z] -rw-rw-r-- 1 jenkins jenkins 987 Aug 12 06:44 Dockerfile.build [2021-08-12T06:48:26.991Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 12 06:44 GOVERNANCE.md [2021-08-12T06:48:26.991Z] -rw-rw-r-- 1 jenkins jenkins 880 Aug 12 06:44 Jenkinsfile [2021-08-12T06:48:26.991Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 12 06:44 LICENSE [2021-08-12T06:48:26.991Z] -rw-rw-r-- 1 jenkins jenkins 1026 Aug 12 06:44 Makefile [2021-08-12T06:48:26.991Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 12 06:44 OWNERS.md [2021-08-12T06:48:26.991Z] -rw-rw-r-- 1 jenkins jenkins 7646 Aug 12 06:44 README.md [2021-08-12T06:48:26.991Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 12 06:41 VERSION [2021-08-12T06:48:26.991Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 06:44 bin [2021-08-12T06:48:26.991Z] -rw-r--r-- 1 jenkins jenkins 125634 Aug 12 06:47 coverage.out [2021-08-12T06:48:26.991Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 12 06:44 example [2021-08-12T06:48:26.991Z] -rw-r--r-- 1 jenkins jenkins 548 Aug 12 06:48 go.mod [2021-08-12T06:48:26.991Z] -rw-r--r-- 1 jenkins jenkins 20386 Aug 12 06:45 go.sum [2021-08-12T06:48:26.991Z] drwxrwxr-x 15 jenkins jenkins 4096 Aug 12 06:44 internal [2021-08-12T06:48:26.991Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 06:44 openapi [2021-08-12T06:48:26.991Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 12 06:44 pkg [2021-08-12T06:48:26.991Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 06:44 snap [2021-08-12T06:48:26.991Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 12 06:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-08-12T06:48:27.332Z] + 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=73d02c5511af0806282943e4d67636dbedda6a68 --label arch=arm64 --label version=0.0.0 . [2021-08-12T06:48:27.935Z] Sending build context to Docker daemon 2.735MB [2021-08-12T06:48:27.935Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-08-12T06:48:27.935Z] Step 2/23 : FROM ${BASE} AS builder [2021-08-12T06:48:27.935Z] ---> 28f2d9ab3641 [2021-08-12T06:48:27.935Z] Step 3/23 : WORKDIR /device-sdk-go [2021-08-12T06:48:28.529Z] ---> Running in 60f8241902fa [2021-08-12T06:48:28.803Z] Removing intermediate container 60f8241902fa [2021-08-12T06:48:28.803Z] ---> 47ce0a608d0d [2021-08-12T06:48:28.803Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-12T06:48:29.089Z] ---> Running in a45dcd112199 [2021-08-12T06:48:29.693Z] Removing intermediate container a45dcd112199 [2021-08-12T06:48:29.693Z] ---> 07ef92d42a31 [2021-08-12T06:48:29.693Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-12T06:48:29.693Z] ---> Running in be3aca89d35d [2021-08-12T06:48:32.315Z] Removing intermediate container be3aca89d35d [2021-08-12T06:48:32.315Z] ---> eae92ed83f38 [2021-08-12T06:48:32.315Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-08-12T06:48:32.315Z] ---> Running in fad131088952 [2021-08-12T06:48:33.752Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-08-12T06:48:34.725Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-08-12T06:48:40.111Z] OK: 218 MiB in 52 packages [2021-08-12T06:48:41.089Z] Removing intermediate container fad131088952 [2021-08-12T06:48:41.089Z] ---> 212deb0133ac [2021-08-12T06:48:41.089Z] Step 7/23 : COPY . . [2021-08-12T06:48:42.533Z] ---> 8d37f97a6927 [2021-08-12T06:48:42.533Z] Step 8/23 : RUN go mod download [2021-08-12T06:48:42.533Z] ---> Running in 82e9ea118590 [2021-08-12T06:48:45.155Z] Removing intermediate container 82e9ea118590 [2021-08-12T06:48:45.155Z] ---> 0b7a8a4dd5cb [2021-08-12T06:48:45.155Z] Step 9/23 : RUN make build [2021-08-12T06:48:45.155Z] ---> Running in f6660f0436b0 [2021-08-12T06:48:46.593Z] go mod tidy [2021-08-12T06:48:47.196Z] 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-08-12T06:49:19.602Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-08-12T06:49:22.217Z] Removing intermediate container f6660f0436b0 [2021-08-12T06:49:22.217Z] ---> ab6e50601205 [2021-08-12T06:49:22.217Z] Step 10/23 : FROM alpine:3.12 [2021-08-12T06:49:22.489Z] 3.12: Pulling from library/alpine [2021-08-12T06:49:22.768Z] d2f70382dc9a: Pulling fs layer [2021-08-12T06:49:23.044Z] d2f70382dc9a: Verifying Checksum [2021-08-12T06:49:23.044Z] d2f70382dc9a: Download complete [2021-08-12T06:49:23.644Z] d2f70382dc9a: Pull complete [2021-08-12T06:49:23.644Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-08-12T06:49:23.644Z] Status: Downloaded newer image for alpine:3.12 [2021-08-12T06:49:23.644Z] ---> c4fd0aeabfcf [2021-08-12T06:49:23.644Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-12T06:49:23.922Z] ---> Running in 51795c3d7932 [2021-08-12T06:49:24.518Z] Removing intermediate container 51795c3d7932 [2021-08-12T06:49:24.518Z] ---> f6e85108bcb8 [2021-08-12T06:49:24.518Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-12T06:49:24.790Z] ---> Running in dabac0810dd7 [2021-08-12T06:49:26.765Z] Removing intermediate container dabac0810dd7 [2021-08-12T06:49:26.765Z] ---> 530d9940fd97 [2021-08-12T06:49:26.765Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-08-12T06:49:27.049Z] ---> Running in afe0a87773b6 [2021-08-12T06:49:28.028Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-08-12T06:49:29.008Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-08-12T06:49:29.986Z] (1/5) Installing libgcc (9.3.0-r2) [2021-08-12T06:49:30.263Z] (2/5) Installing libsodium (1.0.18-r0) [2021-08-12T06:49:30.263Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-08-12T06:49:30.534Z] (4/5) Installing libzmq (4.3.3-r0) [2021-08-12T06:49:30.534Z] (5/5) Installing zeromq (4.3.3-r0) [2021-08-12T06:49:30.534Z] Executing busybox-1.31.1-r20.trigger [2021-08-12T06:49:30.534Z] OK: 8 MiB in 19 packages [2021-08-12T06:49:31.969Z] Removing intermediate container afe0a87773b6 [2021-08-12T06:49:31.969Z] ---> bb77a759b843 [2021-08-12T06:49:31.969Z] Step 14/23 : WORKDIR / [2021-08-12T06:49:31.969Z] ---> Running in 07b6168dd26b [2021-08-12T06:49:32.564Z] Removing intermediate container 07b6168dd26b [2021-08-12T06:49:32.564Z] ---> 116041ff9ccf [2021-08-12T06:49:32.564Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-08-12T06:49:33.542Z] ---> 86ffd06a2696 [2021-08-12T06:49:33.542Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-08-12T06:49:34.978Z] ---> 3887eb42939e [2021-08-12T06:49:34.978Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-08-12T06:49:35.594Z] ---> 1491a6080c0e [2021-08-12T06:49:35.594Z] Step 18/23 : EXPOSE 59999 [2021-08-12T06:49:35.870Z] ---> Running in 9ef1965d6125 [2021-08-12T06:49:36.464Z] Removing intermediate container 9ef1965d6125 [2021-08-12T06:49:36.464Z] ---> 95da25a8e541 [2021-08-12T06:49:36.464Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-08-12T06:49:36.464Z] ---> Running in a6f47acfb989 [2021-08-12T06:49:37.058Z] Removing intermediate container a6f47acfb989 [2021-08-12T06:49:37.058Z] ---> 6bd6fbd51a61 [2021-08-12T06:49:37.058Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-08-12T06:49:37.058Z] ---> Running in 90b183dad682 [2021-08-12T06:49:37.652Z] Removing intermediate container 90b183dad682 [2021-08-12T06:49:37.652Z] ---> b9945df980e0 [2021-08-12T06:49:37.652Z] Step 21/23 : LABEL arch=arm64 [2021-08-12T06:49:37.652Z] ---> Running in 91b3769ec328 [2021-08-12T06:49:38.252Z] Removing intermediate container 91b3769ec328 [2021-08-12T06:49:38.252Z] ---> 9562b75a595a [2021-08-12T06:49:38.252Z] Step 22/23 : LABEL git_sha=73d02c5511af0806282943e4d67636dbedda6a68 [2021-08-12T06:49:38.528Z] ---> Running in 542d6efe0ef2 [2021-08-12T06:49:38.802Z] Removing intermediate container 542d6efe0ef2 [2021-08-12T06:49:38.802Z] ---> 7e6924ada29d [2021-08-12T06:49:38.802Z] Step 23/23 : LABEL version=0.0.0 [2021-08-12T06:49:39.075Z] ---> Running in 534206af0a79 [2021-08-12T06:49:39.671Z] Removing intermediate container 534206af0a79 [2021-08-12T06:49:39.671Z] ---> 6d3b86542b22 [2021-08-12T06:49:39.671Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-08-12T06:49:39.671Z] Successfully built 6d3b86542b22 [2021-08-12T06:49:39.671Z] 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-08-12T06:49:40.158Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-12T06:49:40.433Z] [2021-08-12T06:49:40.433Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-12T06:49:40.796Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-12T06:49:41.071Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-12T06:49:41.071Z] 448f6bf000e3: Pulling fs layer [2021-08-12T06:49:41.071Z] f757da607395: Pulling fs layer [2021-08-12T06:49:41.071Z] 05883995daec: Pulling fs layer [2021-08-12T06:49:41.071Z] 8603b9c90790: Pulling fs layer [2021-08-12T06:49:41.071Z] 1560dd03e051: Pulling fs layer [2021-08-12T06:49:41.071Z] 27f5ce0e4adf: Pulling fs layer [2021-08-12T06:49:41.071Z] c2d8d7efcc4b: Pulling fs layer [2021-08-12T06:49:41.071Z] 1560dd03e051: Waiting [2021-08-12T06:49:41.071Z] 27f5ce0e4adf: Waiting [2021-08-12T06:49:41.071Z] c2d8d7efcc4b: Waiting [2021-08-12T06:49:41.071Z] 8603b9c90790: Waiting [2021-08-12T06:49:41.349Z] f757da607395: Verifying Checksum [2021-08-12T06:49:41.349Z] f757da607395: Download complete [2021-08-12T06:49:41.349Z] 8603b9c90790: Verifying Checksum [2021-08-12T06:49:41.349Z] 8603b9c90790: Download complete [2021-08-12T06:49:41.624Z] 05883995daec: Verifying Checksum [2021-08-12T06:49:41.624Z] 05883995daec: Download complete [2021-08-12T06:49:41.624Z] 1560dd03e051: Verifying Checksum [2021-08-12T06:49:41.624Z] 1560dd03e051: Download complete [2021-08-12T06:49:41.624Z] 27f5ce0e4adf: Download complete [2021-08-12T06:49:43.060Z] 448f6bf000e3: Verifying Checksum [2021-08-12T06:49:43.061Z] 448f6bf000e3: Download complete [2021-08-12T06:49:45.694Z] c2d8d7efcc4b: Verifying Checksum [2021-08-12T06:49:45.694Z] c2d8d7efcc4b: Download complete [2021-08-12T06:49:46.303Z] 448f6bf000e3: Pull complete [2021-08-12T06:49:47.286Z] f757da607395: Pull complete [2021-08-12T06:49:48.723Z] 05883995daec: Pull complete [2021-08-12T06:49:48.998Z] 8603b9c90790: Pull complete [2021-08-12T06:49:49.983Z] 1560dd03e051: Pull complete [2021-08-12T06:49:50.258Z] 27f5ce0e4adf: Pull complete [2021-08-12T06:50:05.366Z] c2d8d7efcc4b: Pull complete [2021-08-12T06:50:05.366Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-12T06:50:05.366Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-12T06:50:05.366Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-12T06:50:05.588Z] prd-ubuntu18.04-docker-arm64-4c-16g-687 does not seem to be running inside a container [2021-08-12T06:50:05.688Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-08-12T06:50:09.097Z] $ docker top 6eea799f8ca8497133424738d5e6b17ed6836d53ff21843314d55f370a0c81cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-12T06:50:10.007Z] ---> job-cost.sh [2021-08-12T06:50:10.007Z] lf-activate-venv: SKIPPING [2021-08-12T06:50:10.007Z] INFO: No Stack... [2021-08-12T06:50:10.985Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-08-12T06:50:11.581Z] INFO: Archiving Costs [Pipeline] sh [2021-08-12T06:50:12.254Z] + cut -d, -f6 [2021-08-12T06:50:12.254Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [Pipeline] lock [2021-08-12T06:50:12.320Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-998-3-stack-cost] [2021-08-12T06:50:12.329Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-998-3-stack-cost] did not exist. Created. [2021-08-12T06:50:12.329Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-998-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-12T06:50:13.033Z] /w/workspace/device-sdk-go/3@tmp/durable-4240eb89/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-4240eb89/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-08-12T06:50:13.709Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-08-12T06:50:13.743Z] Warning: overwriting stash ‘stack-cost’ [2021-08-12T06:50:13.802Z] Stashed 1 file(s) [Pipeline] } [2021-08-12T06:50:13.812Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-998-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-12T06:50:13.863Z] $ docker stop --time=1 6eea799f8ca8497133424738d5e6b17ed6836d53ff21843314d55f370a0c81cc [2021-08-12T06:50:15.455Z] $ docker rm -f 6eea799f8ca8497133424738d5e6b17ed6836d53ff21843314d55f370a0c81cc [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-08-12T06:50:16.260Z] provisioning config files... [2021-08-12T06:50:16.282Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-998@tmp/config6461001066403823308tmp [Pipeline] { [Pipeline] sh [2021-08-12T06:50:16.637Z] + set +x [2021-08-12T06:50:16.637Z] + curl -s https://codecov.io/bash [2021-08-12T06:50:16.637Z] + bash -s -- [2021-08-12T06:50:16.637Z] [2021-08-12T06:50:16.637Z] _____ _ [2021-08-12T06:50:16.637Z] / ____| | | [2021-08-12T06:50:16.637Z] | | ___ __| | ___ ___ _____ __ [2021-08-12T06:50:16.637Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-08-12T06:50:16.637Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-08-12T06:50:16.637Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-08-12T06:50:16.637Z] Bash-1.0.6 [2021-08-12T06:50:16.637Z] [2021-08-12T06:50:16.637Z] [2021-08-12T06:50:16.637Z] ==> git version 2.24.4 found [2021-08-12T06:50:16.637Z] ==> 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-08-12T06:50:16.637Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-08-12T06:50:16.637Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-08-12T06:50:16.637Z] ==> Jenkins CI detected. [2021-08-12T06:50:16.637Z] current dir:  /w/workspace/dgexfoundry_device-sdk-go_PR-998 [2021-08-12T06:50:16.637Z] project root: . [2021-08-12T06:50:16.637Z] --> token set from env [2021-08-12T06:50:16.907Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-08-12T06:50:16.907Z] ==> Running gcov in . (disable via -X gcov) [2021-08-12T06:50:16.907Z] ==> Python coveragepy not found [2021-08-12T06:50:16.907Z] ==> Searching for coverage reports in: [2021-08-12T06:50:16.907Z] + . [2021-08-12T06:50:16.907Z] -> Found 1 reports [2021-08-12T06:50:16.907Z] ==> Detecting git/mercurial file structure [2021-08-12T06:50:16.907Z] ==> Reading reports [2021-08-12T06:50:16.907Z] + ./coverage.out bytes=125634 [2021-08-12T06:50:16.907Z] ==> Appending adjustments [2021-08-12T06:50:16.907Z] https://docs.codecov.io/docs/fixing-reports [2021-08-12T06:50:17.175Z] + Found adjustments [2021-08-12T06:50:17.175Z] ==> Gzipping contents [2021-08-12T06:50:17.175Z] 16K /tmp/codecov.fdSpl2.gz [2021-08-12T06:50:17.175Z] ==> Uploading reports [2021-08-12T06:50:17.175Z] url: https://codecov.io [2021-08-12T06:50:17.175Z] query: branch=PR-998&commit=0c26055a70568c57fb8c94bf2acd4339f812a6e0&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-998%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=998&job=&cmd_args= [2021-08-12T06:50:17.175Z] -> Pinging Codecov [2021-08-12T06:50:17.175Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-998&commit=0c26055a70568c57fb8c94bf2acd4339f812a6e0&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-998%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=998&job=&cmd_args= [2021-08-12T06:50:17.446Z] -> Uploading to [2021-08-12T06:50:17.446Z] https://storage.googleapis.com/codecov/v4/raw/2021-08-12/7E55EF52A471D76F132DFD9A03CDDE97/0c26055a70568c57fb8c94bf2acd4339f812a6e0/9b934ab9-4312-4a0d-918a-f83b99e1300e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210812%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210812T065017Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=938017fc1de31e929dd204ff485e99694bdc3abe2fc54f048c245ac6a6baa2c1 [2021-08-12T06:50:17.446Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-08-12T06:50:17.446Z] Dload Upload Total Spent Left Speed [2021-08-12T06:50:17.978Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16060 0 0 100 16060 0 31747 --:--:-- --:--:-- --:--:-- 31739 [2021-08-12T06:50:17.978Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0c26055a70568c57fb8c94bf2acd4339f812a6e0 [Pipeline] } [2021-08-12T06:50:17.990Z] 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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-08-12T06:50:19.181Z] + '[' -d /w/workspace/dgexfoundry_device-sdk-go_PR-998/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-08-12T06:50:19.505Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-12T06:50:20.094Z] ---> package-listing.sh [2021-08-12T06:50:20.095Z] ++ facter osfamily [2021-08-12T06:50:20.095Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-12T06:50:20.361Z] + OS_FAMILY=redhat [2021-08-12T06:50:20.361Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-998 [2021-08-12T06:50:20.361Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-12T06:50:20.361Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-12T06:50:20.361Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-12T06:50:20.361Z] + PACKAGES=/tmp/packages_start.txt [2021-08-12T06:50:20.361Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-998 ']' [2021-08-12T06:50:20.361Z] + PACKAGES=/tmp/packages_end.txt [2021-08-12T06:50:20.361Z] + case "${OS_FAMILY}" in [2021-08-12T06:50:20.361Z] + sort [2021-08-12T06:50:20.361Z] + rpm -qa [2021-08-12T06:50:20.942Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-12T06:50:20.942Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-12T06:50:20.942Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-12T06:50:20.942Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-998 ']' [2021-08-12T06:50:20.942Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-998/archives/ [2021-08-12T06:50:20.942Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-998/archives/ [Pipeline] echo [2021-08-12T06:50:20.959Z] 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/dgexfoundry_device-sdk-go_PR-998/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-08-12T06:50:21.269Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-12T06:50:21.869Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-12T06:50:21.869Z] [2021-08-12T06:50:21.869Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-12T06:50:22.228Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-12T06:50:22.228Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-12T06:50:22.228Z] b4d181a07f80: Pulling fs layer [2021-08-12T06:50:22.229Z] a1111a8f2ec3: Pulling fs layer [2021-08-12T06:50:22.229Z] ed53099fbce6: Pulling fs layer [2021-08-12T06:50:22.229Z] dc539afda2c1: Pulling fs layer [2021-08-12T06:50:22.229Z] 77bc0d833cb6: Pulling fs layer [2021-08-12T06:50:22.229Z] 9065ff56babe: Pulling fs layer [2021-08-12T06:50:22.229Z] d287ab97295c: Pulling fs layer [2021-08-12T06:50:22.229Z] 77bc0d833cb6: Waiting [2021-08-12T06:50:22.229Z] 9065ff56babe: Waiting [2021-08-12T06:50:22.229Z] d287ab97295c: Waiting [2021-08-12T06:50:22.229Z] dc539afda2c1: Waiting [2021-08-12T06:50:22.494Z] a1111a8f2ec3: Verifying Checksum [2021-08-12T06:50:22.494Z] a1111a8f2ec3: Download complete [2021-08-12T06:50:22.494Z] dc539afda2c1: Verifying Checksum [2021-08-12T06:50:22.494Z] dc539afda2c1: Download complete [2021-08-12T06:50:22.760Z] 77bc0d833cb6: Verifying Checksum [2021-08-12T06:50:22.761Z] 77bc0d833cb6: Download complete [2021-08-12T06:50:22.761Z] 9065ff56babe: Verifying Checksum [2021-08-12T06:50:22.761Z] 9065ff56babe: Download complete [2021-08-12T06:50:23.026Z] ed53099fbce6: Verifying Checksum [2021-08-12T06:50:23.026Z] ed53099fbce6: Download complete [2021-08-12T06:50:23.674Z] b4d181a07f80: Verifying Checksum [2021-08-12T06:50:23.674Z] b4d181a07f80: Download complete [2021-08-12T06:50:25.091Z] b4d181a07f80: Pull complete [2021-08-12T06:50:25.091Z] a1111a8f2ec3: Pull complete [2021-08-12T06:50:25.689Z] ed53099fbce6: Pull complete [2021-08-12T06:50:25.689Z] dc539afda2c1: Pull complete [2021-08-12T06:50:25.956Z] 77bc0d833cb6: Pull complete [2021-08-12T06:50:26.220Z] 9065ff56babe: Pull complete [2021-08-12T06:50:27.175Z] d287ab97295c: Verifying Checksum [2021-08-12T06:50:27.175Z] d287ab97295c: Download complete [2021-08-12T06:50:31.448Z] d287ab97295c: Pull complete [2021-08-12T06:50:31.448Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-12T06:50:31.448Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-12T06:50:31.448Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-12T06:50:31.547Z] prd-centos7-docker-4c-2g-686 does not seem to be running inside a container [2021-08-12T06:50:31.606Z] $ 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/dgexfoundry_device-sdk-go_PR-998/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-998 -v /w/workspace/dgexfoundry_device-sdk-go_PR-998:/w/workspace/dgexfoundry_device-sdk-go_PR-998:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-998@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-998@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-12T06:50:33.876Z] $ docker top 33bf9b4d7940fdf4538ee6a8500cb72e5c21f4198e861beb81f309b3a793a2ff -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-12T06:50:34.299Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-12T06:50:34.616Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-12T06:50:34.926Z] + ls /var/log/sa-host [2021-08-12T06:50:34.926Z] + sadf -c /var/log/sa-host/sa05 [2021-08-12T06:50:34.926Z] file_magic: OK [2021-08-12T06:50:34.926Z] HZ: Using current value: 100 [2021-08-12T06:50:34.926Z] file_header: OK [2021-08-12T06:50:34.926Z] 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-08-12T06:50:34.926Z] Statistics: [2021-08-12T06:50:34.926Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-12T06:50:34.926Z] File successfully converted to sysstat format version 12.0.3 [2021-08-12T06:50:34.926Z] + sadf -c /var/log/sa-host/sa12 [2021-08-12T06:50:34.926Z] file_magic: OK [2021-08-12T06:50:34.926Z] HZ: Using current value: 100 [2021-08-12T06:50:34.926Z] file_header: OK [2021-08-12T06:50:34.926Z] 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-08-12T06:50:34.926Z] Statistics: [2021-08-12T06:50:34.926Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-12T06:50:34.926Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-12T06:50:35.431Z] provisioning config files... [2021-08-12T06:50:35.449Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-998@tmp/config1854087008446460580tmp [Pipeline] { [Pipeline] echo [2021-08-12T06:50:35.473Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-12T06:50:35.793Z] ---> create-netrc.sh [Pipeline] } [2021-08-12T06:50:35.804Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-12T06:50:36.201Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-12T06:50:36.215Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-12T06:50:36.520Z] ---> sudo-logs.sh [2021-08-12T06:50:36.520Z] Archiving 'sudo' log.. [2021-08-12T06:50:36.520Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-686.vexxhost.local: Name or service not known [2021-08-12T06:50:36.520Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-686.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-12T06:50:36.554Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-12T06:50:36.870Z] ---> job-cost.sh [2021-08-12T06:50:36.870Z] lf-activate-venv: SKIPPING [2021-08-12T06:50:36.870Z] DEBUG: total: 0.18000000715255737 [2021-08-12T06:50:36.870Z] INFO: Retrieving Stack Cost... [2021-08-12T06:50:38.273Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-12T06:50:38.273Z] INFO: Archiving Costs [Pipeline] echo [2021-08-12T06:50:38.290Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-12T06:50:38.617Z] ---> logs-deploy.sh [2021-08-12T06:50:38.617Z] lf-activate-venv: SKIPPING [2021-08-12T06:50:38.617Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-998/3 [2021-08-12T06:50:38.617Z] INFO: archiving workspace using pattern(s): [2021-08-12T06:50:39.575Z] Archives upload complete. [2021-08-12T06:50:39.575Z] INFO: archiving logs to Nexus