Pull request #1087 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from a3ef3937430ed8085c12c07045c29fb3f2da0976+010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 (a67c83d9fc56bdab5f12bd3b845f4768ba3effe6) 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-ssh2463770463239686158.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh15372887668059375063.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 dae07dc806156effb2cae02074e2f5f64a063e83 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1087/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1087/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12042465379402877186.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1087/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3072441844305130148.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh4367434449699141504.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1087/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1087/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2679423707143856885.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 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.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3862’ is offline Running on prd-centos7-docker-4c-2g-3864 in /w/workspace/gexfoundry_device-sdk-go_PR-1087 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1087 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1087@tmp/jenkins-gitclient-ssh5053378835026928325.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 010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 into PR head commit a3ef3937430ed8085c12c07045c29fb3f2da0976 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1087@tmp/jenkins-gitclient-ssh3409126189501887783.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1087/head:refs/remotes/origin/PR-1087 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a3ef3937430ed8085c12c07045c29fb3f2da0976 # 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/gexfoundry_device-sdk-go_PR-1087@tmp/jenkins-gitclient-ssh9204606637413530664.key Merge succeeded, producing a3ef3937430ed8085c12c07045c29fb3f2da0976 Checking out Revision a3ef3937430ed8085c12c07045c29fb3f2da0976 (PR-1087) > git merge 010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a3ef3937430ed8085c12c07045c29fb3f2da0976 # timeout=10 Commit message: "ci: Remove -race for unit tests for now to resolve failures in pipeline" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-25T17:59:02.531Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-25T17:59:02.698Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-25T17:59:02.808Z] ========================================================= [2022-01-25T17:59:02.808Z] EdgeX Global Pipelines Version Info [2022-01-25T17:59:02.808Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-25T17:59:03.953Z] ------------------- [2022-01-25T17:59:03.953Z] stable info: [2022-01-25T17:59:03.953Z] ------------------- [2022-01-25T17:59:03.953Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-25T17:59:03.953Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-25T17:59:03.953Z] Message: update stable to v1.0.219 [2022-01-25T17:59:04.525Z] ------------------- [2022-01-25T17:59:04.525Z] experimental info: [2022-01-25T17:59:04.525Z] ------------------- [2022-01-25T17:59:04.525Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-25T17:59:04.525Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-25T17:59:04.525Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-25T17:59:04.804Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-01-25T17:59:04.847Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-01-25T17:59:04.883Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-25T17:59:04.928Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-25T17:59:04.969Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-25T17:59:05.006Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-25T17:59:05.043Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-25T17:59:05.082Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-01-25T17:59:05.118Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-25T17:59:05.156Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-25T17:59:05.195Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-25T17:59:05.232Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-01-25T17:59:05.271Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-25T17:59:05.315Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-25T17:59:05.358Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-25T17:59:05.402Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-01-25T17:59:05.445Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-25T17:59:05.485Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-25T17:59:05.526Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-25T17:59:05.567Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-25T17:59:05.610Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-01-25T17:59:05.653Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-01-25T17:59:05.692Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-25T17:59:05.736Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-25T17:59:05.775Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-25T17:59:05.819Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-25T17:59:05.859Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1087 [Pipeline] echo [2022-01-25T17:59:05.904Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1087 [Pipeline] echo [2022-01-25T17:59:05.948Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1087 [Pipeline] echo [2022-01-25T17:59:05.985Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a3ef3937430ed8085c12c07045c29fb3f2da0976 [Pipeline] echo [2022-01-25T17:59:06.027Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a3ef393 [Pipeline] echo [2022-01-25T17:59:06.071Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-25T17:59:06.187Z] provisioning config files... [2022-01-25T17:59:06.201Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1087@tmp/config8945504838627897222tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-25T17:59:06.556Z] ---> docker-login.sh [2022-01-25T17:59:06.556Z] nexus3.edgexfoundry.org:10001 [2022-01-25T17:59:06.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T17:59:06.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T17:59:06.818Z] Configure a credential helper to remove this warning. See [2022-01-25T17:59:06.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T17:59:06.818Z] [2022-01-25T17:59:06.818Z] Login Succeeded [2022-01-25T17:59:06.818Z] nexus3.edgexfoundry.org:10002 [2022-01-25T17:59:06.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T17:59:06.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T17:59:06.818Z] Configure a credential helper to remove this warning. See [2022-01-25T17:59:06.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T17:59:06.818Z] [2022-01-25T17:59:06.818Z] Login Succeeded [2022-01-25T17:59:06.818Z] nexus3.edgexfoundry.org:10003 [2022-01-25T17:59:06.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T17:59:06.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T17:59:06.818Z] Configure a credential helper to remove this warning. See [2022-01-25T17:59:06.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T17:59:06.818Z] [2022-01-25T17:59:06.818Z] Login Succeeded [2022-01-25T17:59:06.818Z] nexus3.edgexfoundry.org:10004 [2022-01-25T17:59:07.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T17:59:07.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T17:59:07.086Z] Configure a credential helper to remove this warning. See [2022-01-25T17:59:07.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T17:59:07.086Z] [2022-01-25T17:59:07.086Z] Login Succeeded [2022-01-25T17:59:07.086Z] docker.io [2022-01-25T17:59:07.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T17:59:07.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T17:59:07.661Z] Configure a credential helper to remove this warning. See [2022-01-25T17:59:07.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T17:59:07.661Z] [2022-01-25T17:59:07.661Z] Login Succeeded [2022-01-25T17:59:07.661Z] ---> docker-login.sh ends [Pipeline] } [2022-01-25T17:59:07.693Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-25T17:59:08.315Z] + git rev-list -1 --merges a3ef3937430ed8085c12c07045c29fb3f2da0976~1..a3ef3937430ed8085c12c07045c29fb3f2da0976 [Pipeline] echo [2022-01-25T17:59:08.366Z] -----------> git rev-list -1 --merges a3ef3937430ed8085c12c07045c29fb3f2da0976~1..a3ef3937430ed8085c12c07045c29fb3f2da0976 a3ef3937430ed8085c12c07045c29fb3f2da0976 [false] [Pipeline] sh [2022-01-25T17:59:08.682Z] + git log --format=format:%s -1 a3ef3937430ed8085c12c07045c29fb3f2da0976 [Pipeline] echo [2022-01-25T17:59:08.722Z] ========================================================= [2022-01-25T17:59:08.723Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-25T17:59:08.723Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-25T17:59:09.170Z] + git log --format=format:%s -1 a3ef3937430ed8085c12c07045c29fb3f2da0976 [Pipeline] echo [2022-01-25T17:59:09.201Z] [semverPrep] GIT_COMMIT: a3ef3937430ed8085c12c07045c29fb3f2da0976, Commit Message: ci: Remove -race for unit tests for now to resolve failures in pipeline [Pipeline] echo [2022-01-25T17:59:09.232Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-25T17:59:09.634Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-25T17:59:09.634Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-25T17:59:09.634Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-25T17:59:09.634Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-25T17:59:09.634Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-25T17:59:09.634Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-25T17:59:09.634Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-25T17:59:10.018Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-25T17:59:10.018Z] [2022-01-25T17:59:10.018Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-25T17:59:10.378Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-25T17:59:10.378Z] latest: Pulling from edgex-devops/git-semver [2022-01-25T17:59:10.378Z] a0d0a0d46f8b: Pulling fs layer [2022-01-25T17:59:10.378Z] 3e5f54012d9b: Pulling fs layer [2022-01-25T17:59:10.378Z] 4c7163046ea9: Pulling fs layer [2022-01-25T17:59:10.378Z] 0c2d73faf560: Pulling fs layer [2022-01-25T17:59:10.378Z] 0c2d73faf560: Waiting [2022-01-25T17:59:10.378Z] 3e5f54012d9b: Verifying Checksum [2022-01-25T17:59:10.378Z] 3e5f54012d9b: Download complete [2022-01-25T17:59:10.378Z] a0d0a0d46f8b: Verifying Checksum [2022-01-25T17:59:10.378Z] a0d0a0d46f8b: Download complete [2022-01-25T17:59:10.378Z] 0c2d73faf560: Verifying Checksum [2022-01-25T17:59:10.378Z] 0c2d73faf560: Download complete [2022-01-25T17:59:10.378Z] 4c7163046ea9: Verifying Checksum [2022-01-25T17:59:10.378Z] 4c7163046ea9: Download complete [2022-01-25T17:59:10.646Z] a0d0a0d46f8b: Pull complete [2022-01-25T17:59:10.646Z] 3e5f54012d9b: Pull complete [2022-01-25T17:59:10.908Z] 4c7163046ea9: Pull complete [2022-01-25T17:59:10.908Z] 0c2d73faf560: Pull complete [2022-01-25T17:59:11.169Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-25T17:59:11.169Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-25T17:59:11.169Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-25T17:59:11.262Z] prd-centos7-docker-4c-2g-3864 does not seem to be running inside a container [2022-01-25T17:59:11.195Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1087 -v /w/workspace/gexfoundry_device-sdk-go_PR-1087:/w/workspace/gexfoundry_device-sdk-go_PR-1087:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1087@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1087@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-25T17:59:11.811Z] $ docker top 92d2146db86d3021012326c0a1b02181120bb88564b5fcd833c85de6d3eb7042 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-25T17:59:12.051Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-25T17:59:12.051Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-25T17:59:12.143Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-25T17:59:12.110Z] $ docker exec 92d2146db86d3021012326c0a1b02181120bb88564b5fcd833c85de6d3eb7042 ssh-agent [2022-01-25T17:59:12.239Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaNOFFG/agent.14 [2022-01-25T17:59:12.239Z] SSH_AGENT_PID=21 [2022-01-25T17:59:12.247Z] Running ssh-add (command line suppressed) [2022-01-25T17:59:12.307Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1087@tmp/private_key_2107664345071791484.key (/w/workspace/gexfoundry_device-sdk-go_PR-1087@tmp/private_key_2107664345071791484.key) [2022-01-25T17:59:12.337Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-25T17:59:12.706Z] + git tag --points-at HEAD [Pipeline] } [2022-01-25T17:59:12.736Z] $ docker exec --env ******** --env ******** 92d2146db86d3021012326c0a1b02181120bb88564b5fcd833c85de6d3eb7042 ssh-agent -k [2022-01-25T17:59:12.813Z] unset SSH_AUTH_SOCK; [2022-01-25T17:59:12.819Z] unset SSH_AGENT_PID; [2022-01-25T17:59:12.819Z] echo Agent pid 21 killed; [2022-01-25T17:59:12.824Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-25T17:59:12.913Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-25T17:59:12.913Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-25T17:59:13.005Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-25T17:59:13.008Z] $ docker exec 92d2146db86d3021012326c0a1b02181120bb88564b5fcd833c85de6d3eb7042 ssh-agent [2022-01-25T17:59:13.100Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlmegdi/agent.55 [2022-01-25T17:59:13.100Z] SSH_AGENT_PID=61 [2022-01-25T17:59:13.105Z] Running ssh-add (command line suppressed) [2022-01-25T17:59:13.191Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1087@tmp/private_key_644701947168530489.key (/w/workspace/gexfoundry_device-sdk-go_PR-1087@tmp/private_key_644701947168530489.key) [2022-01-25T17:59:13.201Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-25T17:59:13.555Z] + git semver init [2022-01-25T17:59:13.556Z] # -> Open(): unable to determine branch for HEAD [2022-01-25T17:59:13.556Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1087/.git [2022-01-25T17:59:13.556Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1087 [2022-01-25T17:59:13.556Z] # $SEMVER_REMOTE_NAME = origin [2022-01-25T17:59:13.556Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-25T17:59:13.556Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-25T17:59:13.556Z] # $SEMVER_BRANCH = PR-1087 [2022-01-25T17:59:13.556Z] # $SEMVER_TEMP = /tmp/semver-021873708 [2022-01-25T17:59:13.556Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-01-25T17:59:14.497Z] # '/tmp/semver-021873708' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1087/.semver' [2022-01-25T17:59:14.497Z] # -> Force: false [2022-01-25T17:59:14.497Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1087/.semver [Pipeline] } [2022-01-25T17:59:14.527Z] $ docker exec --env ******** --env ******** 92d2146db86d3021012326c0a1b02181120bb88564b5fcd833c85de6d3eb7042 ssh-agent -k [2022-01-25T17:59:14.622Z] unset SSH_AUTH_SOCK; [2022-01-25T17:59:14.622Z] unset SSH_AGENT_PID; [2022-01-25T17:59:14.623Z] echo Agent pid 61 killed; [2022-01-25T17:59:14.628Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-25T17:59:15.073Z] + git semver [Pipeline] } [2022-01-25T17:59:15.110Z] $ docker stop --time=1 92d2146db86d3021012326c0a1b02181120bb88564b5fcd833c85de6d3eb7042 [2022-01-25T17:59:16.378Z] $ docker rm -f 92d2146db86d3021012326c0a1b02181120bb88564b5fcd833c85de6d3eb7042 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-25T17:59:16.801Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-25T17:59:17.108Z] Stashed 1 file(s) [Pipeline] echo [2022-01-25T17:59:17.126Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-25T17:59:17.706Z] provisioning config files... [2022-01-25T17:59:17.716Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1087@tmp/config2132304617147213687tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-25T17:59:18.091Z] ---> docker-login.sh [2022-01-25T17:59:18.091Z] nexus3.edgexfoundry.org:10001 [2022-01-25T17:59:18.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T17:59:18.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T17:59:18.092Z] Configure a credential helper to remove this warning. See [2022-01-25T17:59:18.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T17:59:18.092Z] [2022-01-25T17:59:18.092Z] Login Succeeded [2022-01-25T17:59:18.092Z] nexus3.edgexfoundry.org:10002 [2022-01-25T17:59:18.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T17:59:18.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T17:59:18.092Z] Configure a credential helper to remove this warning. See [2022-01-25T17:59:18.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T17:59:18.092Z] [2022-01-25T17:59:18.092Z] Login Succeeded [2022-01-25T17:59:18.092Z] nexus3.edgexfoundry.org:10003 [2022-01-25T17:59:18.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T17:59:18.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T17:59:18.353Z] Configure a credential helper to remove this warning. See [2022-01-25T17:59:18.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T17:59:18.353Z] [2022-01-25T17:59:18.353Z] Login Succeeded [2022-01-25T17:59:18.353Z] nexus3.edgexfoundry.org:10004 [2022-01-25T17:59:18.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T17:59:18.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T17:59:18.353Z] Configure a credential helper to remove this warning. See [2022-01-25T17:59:18.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T17:59:18.353Z] [2022-01-25T17:59:18.353Z] Login Succeeded [2022-01-25T17:59:18.353Z] docker.io [2022-01-25T17:59:18.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T17:59:18.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T17:59:18.924Z] Configure a credential helper to remove this warning. See [2022-01-25T17:59:18.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T17:59:18.924Z] [2022-01-25T17:59:18.924Z] Login Succeeded [2022-01-25T17:59:18.924Z] ---> docker-login.sh ends [Pipeline] } [2022-01-25T17:59:18.955Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-25T17:59:19.187Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-25T17:59:19.220Z] ========================================================= [2022-01-25T17:59:19.220Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-25T17:59:19.220Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-25T17:59:19.632Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-01-25T17:59:19.632Z] Sending build context to Docker daemon 9.381MB [2022-01-25T17:59:19.632Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-01-25T17:59:19.632Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-25T17:59:19.632Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-25T17:59:19.632Z] 59bf1c3509f3: Pulling fs layer [2022-01-25T17:59:19.632Z] 666ba61612fd: Pulling fs layer [2022-01-25T17:59:19.632Z] 8ed8ca486205: Pulling fs layer [2022-01-25T17:59:19.632Z] 4fe6c5a15a65: Pulling fs layer [2022-01-25T17:59:19.632Z] 22a0e8bec74d: Pulling fs layer [2022-01-25T17:59:19.632Z] f965cba54748: Pulling fs layer [2022-01-25T17:59:19.632Z] 861ffc35075e: Pulling fs layer [2022-01-25T17:59:19.632Z] 4b385c91608e: Pulling fs layer [2022-01-25T17:59:19.632Z] 560528eb2ebb: Pulling fs layer [2022-01-25T17:59:19.632Z] 4fe6c5a15a65: Waiting [2022-01-25T17:59:19.632Z] 861ffc35075e: Waiting [2022-01-25T17:59:19.632Z] 22a0e8bec74d: Waiting [2022-01-25T17:59:19.632Z] f965cba54748: Waiting [2022-01-25T17:59:19.632Z] 4b385c91608e: Waiting [2022-01-25T17:59:19.632Z] 560528eb2ebb: Waiting [2022-01-25T17:59:19.632Z] 8ed8ca486205: Verifying Checksum [2022-01-25T17:59:19.632Z] 8ed8ca486205: Download complete [2022-01-25T17:59:19.900Z] 666ba61612fd: Verifying Checksum [2022-01-25T17:59:19.900Z] 666ba61612fd: Download complete [2022-01-25T17:59:19.900Z] 22a0e8bec74d: Verifying Checksum [2022-01-25T17:59:19.900Z] 22a0e8bec74d: Download complete [2022-01-25T17:59:19.900Z] 59bf1c3509f3: Verifying Checksum [2022-01-25T17:59:19.900Z] 59bf1c3509f3: Download complete [2022-01-25T17:59:19.900Z] f965cba54748: Verifying Checksum [2022-01-25T17:59:19.900Z] f965cba54748: Download complete [2022-01-25T17:59:19.900Z] 861ffc35075e: Verifying Checksum [2022-01-25T17:59:19.900Z] 861ffc35075e: Download complete [2022-01-25T17:59:19.900Z] 4b385c91608e: Verifying Checksum [2022-01-25T17:59:19.900Z] 4b385c91608e: Download complete [2022-01-25T17:59:20.163Z] 59bf1c3509f3: Pull complete [2022-01-25T17:59:20.163Z] 666ba61612fd: Pull complete [2022-01-25T17:59:20.425Z] 8ed8ca486205: Pull complete [2022-01-25T17:59:20.425Z] 4fe6c5a15a65: Verifying Checksum [2022-01-25T17:59:20.425Z] 4fe6c5a15a65: Download complete [2022-01-25T17:59:20.689Z] 560528eb2ebb: Verifying Checksum [2022-01-25T17:59:20.689Z] 560528eb2ebb: Download complete [2022-01-25T17:59:24.944Z] 4fe6c5a15a65: Pull complete [2022-01-25T17:59:24.944Z] 22a0e8bec74d: Pull complete [2022-01-25T17:59:24.944Z] f965cba54748: Pull complete [2022-01-25T17:59:24.944Z] 861ffc35075e: Pull complete [2022-01-25T17:59:24.944Z] 4b385c91608e: Pull complete [2022-01-25T17:59:27.513Z] 560528eb2ebb: Pull complete [2022-01-25T17:59:27.513Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-25T17:59:27.513Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-25T17:59:27.513Z] ---> dd4a08f94e63 [2022-01-25T17:59:27.513Z] Step 3/10 : ARG MAKE=make build [2022-01-25T17:59:28.904Z] ---> Running in 8b5369ce8588 [2022-01-25T17:59:29.171Z] Removing intermediate container 8b5369ce8588 [2022-01-25T17:59:29.171Z] ---> e4fc0036fdb6 [2022-01-25T17:59:29.171Z] Step 4/10 : WORKDIR /device-sdk-go [2022-01-25T17:59:29.171Z] ---> Running in df639075d8b0 [2022-01-25T17:59:29.171Z] Removing intermediate container df639075d8b0 [2022-01-25T17:59:29.171Z] ---> 0e3c6594301b [2022-01-25T17:59:29.171Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-25T17:59:29.171Z] ---> Running in 8ed02160322a [2022-01-25T17:59:29.171Z] Removing intermediate container 8ed02160322a [2022-01-25T17:59:29.171Z] ---> 5b5d6c83f4a2 [2022-01-25T17:59:29.171Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-25T17:59:29.434Z] ---> Running in 9ab8af0b347f [2022-01-25T17:59:29.695Z] Removing intermediate container 9ab8af0b347f [2022-01-25T17:59:29.695Z] ---> f238175e0789 [2022-01-25T17:59:29.695Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-25T17:59:29.695Z] ---> Running in f024c499e240 [2022-01-25T17:59:29.955Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-25T17:59:30.895Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-25T17:59:31.156Z] OK: 221 MiB in 52 packages [2022-01-25T17:59:31.418Z] Removing intermediate container f024c499e240 [2022-01-25T17:59:31.418Z] ---> fb0f41d054c8 [2022-01-25T17:59:31.418Z] Step 8/10 : COPY . . [2022-01-25T17:59:31.991Z] ---> ecf01301ae9a [2022-01-25T17:59:31.991Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-25T17:59:31.991Z] ---> Running in 91a45ce7dc7b [2022-01-25T17:59:32.535Z] Still waiting to schedule task [2022-01-25T17:59:32.535Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-3863’ is offline [2022-01-25T18:00:04.173Z] Removing intermediate container 91a45ce7dc7b [2022-01-25T18:00:04.173Z] ---> 1d642d561ac3 [2022-01-25T18:00:04.173Z] Step 10/10 : RUN ${MAKE} [2022-01-25T18:00:04.173Z] ---> Running in 004e27a17c8c [2022-01-25T18:00:04.173Z] noop [2022-01-25T18:00:04.173Z] Removing intermediate container 004e27a17c8c [2022-01-25T18:00:04.173Z] ---> 51e0e6b22ad6 [2022-01-25T18:00:04.173Z] Successfully built 51e0e6b22ad6 [2022-01-25T18:00:04.173Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-25T18:00:04.510Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-25T18:00:04.510Z] . [Pipeline] withDockerContainer [2022-01-25T18:00:04.600Z] prd-centos7-docker-4c-2g-3864 does not seem to be running inside a container [2022-01-25T18:00:04.641Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1087 -v /w/workspace/gexfoundry_device-sdk-go_PR-1087:/w/workspace/gexfoundry_device-sdk-go_PR-1087:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1087@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1087@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 [2022-01-25T18:00:05.072Z] $ docker top 99cb82bd0dedcb9d5053a80f2b6e1a217cc319b2765421223e654a945b2a73e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-25T18:00:05.518Z] + go version [2022-01-25T18:00:05.518Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-25T18:00:05.552Z] $ docker stop --time=1 99cb82bd0dedcb9d5053a80f2b6e1a217cc319b2765421223e654a945b2a73e0 [2022-01-25T18:00:06.758Z] $ docker rm -f 99cb82bd0dedcb9d5053a80f2b6e1a217cc319b2765421223e654a945b2a73e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-25T18:00:07.436Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-25T18:00:07.436Z] . [Pipeline] withDockerContainer [2022-01-25T18:00:07.528Z] prd-centos7-docker-4c-2g-3864 does not seem to be running inside a container [2022-01-25T18:00:07.574Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1087 -v /w/workspace/gexfoundry_device-sdk-go_PR-1087:/w/workspace/gexfoundry_device-sdk-go_PR-1087:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1087@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1087@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 [2022-01-25T18:00:07.965Z] $ docker top 4ee109ff6566c0511826999d8c34978ddd2510ca24eb97460a012e812165fb10 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-25T18:00:08.424Z] + make test [2022-01-25T18:00:08.424Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-25T18:00:08.689Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-25T18:00:23.671Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-25T18:00:23.671Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-25T18:00:23.671Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-25T18:00:24.252Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.011s coverage: 23.3% of statements [2022-01-25T18:00:24.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-25T18:00:24.252Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.009s coverage: 27.6% of statements [2022-01-25T18:00:24.829Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.013s coverage: 78.9% of statements [2022-01-25T18:00:25.099Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.007s coverage: 9.0% of statements [2022-01-25T18:00:25.099Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-25T18:00:25.099Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-25T18:00:25.099Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-25T18:00:25.690Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.016s coverage: 28.7% of statements [2022-01-25T18:00:25.690Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-25T18:00:27.084Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.013s coverage: 86.1% of statements [2022-01-25T18:00:27.084Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-25T18:00:27.084Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-25T18:00:27.084Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.013s coverage: 57.4% of statements [2022-01-25T18:00:27.084Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.031s coverage: 89.2% of statements [2022-01-25T18:00:27.084Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-25T18:00:27.661Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.009s coverage: 4.8% of statements [2022-01-25T18:00:27.661Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-25T18:00:39.982Z] GO111MODULE=on go vet ./... [2022-01-25T18:00:44.224Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-25T18:00:44.224Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-25T18:00:44.224Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-25T18:00:44.270Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-25T18:00:44.299Z] $ docker stop --time=1 4ee109ff6566c0511826999d8c34978ddd2510ca24eb97460a012e812165fb10 [2022-01-25T18:00:45.697Z] $ docker rm -f 4ee109ff6566c0511826999d8c34978ddd2510ca24eb97460a012e812165fb10 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-25T18:00:46.226Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-25T18:00:46.304Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-25T18:00:47.030Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-25T18:00:47.348Z] + ls -al . [2022-01-25T18:00:47.348Z] total 268 [2022-01-25T18:00:47.348Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jan 25 18:00 . [2022-01-25T18:00:47.348Z] drwxrwxr-x. 4 jenkins jenkins 112 Jan 25 17:58 .. [2022-01-25T18:00:47.348Z] drwxrwxr-x. 2 jenkins jenkins 37 Jan 25 17:58 bin [2022-01-25T18:00:47.348Z] -rw-rw-r--. 1 jenkins jenkins 26321 Jan 25 17:58 CHANGELOG.md [2022-01-25T18:00:47.348Z] -rw-r--r--. 1 jenkins jenkins 128608 Jan 25 18:00 coverage.out [2022-01-25T18:00:47.348Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 25 17:58 .dockerignore [2022-01-25T18:00:47.348Z] drwxrwxr-x. 5 jenkins jenkins 62 Jan 25 17:58 example [2022-01-25T18:00:47.348Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 25 17:59 .git [2022-01-25T18:00:47.348Z] drwxrwxr-x. 3 jenkins jenkins 125 Jan 25 17:58 .github [2022-01-25T18:00:47.348Z] -rw-rw-r--. 1 jenkins jenkins 131 Jan 25 17:58 .gitignore [2022-01-25T18:00:47.348Z] -rw-rw-r--. 1 jenkins jenkins 42 Jan 25 17:58 .golangci.yml [2022-01-25T18:00:47.348Z] -rw-rw-r--. 1 jenkins jenkins 582 Jan 25 17:58 go.mod [2022-01-25T18:00:47.348Z] -rw-rw-r--. 1 jenkins jenkins 48958 Jan 25 17:58 go.sum [2022-01-25T18:00:47.348Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 25 17:58 GOVERNANCE.md [2022-01-25T18:00:47.348Z] drwxrwxr-x. 15 jenkins jenkins 224 Jan 25 17:58 internal [2022-01-25T18:00:47.348Z] -rw-rw-r--. 1 jenkins jenkins 880 Jan 25 17:58 Jenkinsfile [2022-01-25T18:00:47.348Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 25 17:58 LICENSE [2022-01-25T18:00:47.348Z] -rw-rw-r--. 1 jenkins jenkins 1614 Jan 25 17:58 Makefile [2022-01-25T18:00:47.348Z] drwxrwxr-x. 3 jenkins jenkins 16 Jan 25 17:58 openapi [2022-01-25T18:00:47.348Z] -rw-rw-r--. 1 jenkins jenkins 619 Jan 25 17:58 OWNERS.md [2022-01-25T18:00:47.348Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 25 17:58 pkg [2022-01-25T18:00:47.348Z] -rw-rw-r--. 1 jenkins jenkins 4881 Jan 25 17:58 README.md [2022-01-25T18:00:47.348Z] drwx------. 3 jenkins jenkins 72 Jan 25 17:59 .semver [2022-01-25T18:00:47.348Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 25 17:58 snap [2022-01-25T18:00:47.348Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 25 17:59 VERSION [2022-01-25T18:00:47.348Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 25 17:58 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-25T18:00:47.693Z] + 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=a3ef3937430ed8085c12c07045c29fb3f2da0976 --label arch=amd64 --label version=0.0.0 . [2022-01-25T18:00:47.693Z] Sending build context to Docker daemon 9.51MB [2022-01-25T18:00:47.693Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-01-25T18:00:47.693Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-25T18:00:47.693Z] ---> 51e0e6b22ad6 [2022-01-25T18:00:47.693Z] Step 3/24 : ARG MAKE=make build [2022-01-25T18:00:47.693Z] ---> Running in e69f1875e018 [2022-01-25T18:00:47.956Z] Removing intermediate container e69f1875e018 [2022-01-25T18:00:47.956Z] ---> 50e503f3bbde [2022-01-25T18:00:47.956Z] Step 4/24 : WORKDIR /device-sdk-go [2022-01-25T18:00:47.956Z] ---> Running in 9245f9ef8736 [2022-01-25T18:00:47.956Z] Removing intermediate container 9245f9ef8736 [2022-01-25T18:00:47.956Z] ---> ed9fb73650b4 [2022-01-25T18:00:47.956Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-25T18:00:47.956Z] ---> Running in 2ef3b18a7f35 [2022-01-25T18:00:48.216Z] Removing intermediate container 2ef3b18a7f35 [2022-01-25T18:00:48.216Z] ---> 669c7fb937da [2022-01-25T18:00:48.216Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-25T18:00:48.216Z] ---> Running in 29dda78e0c85 [2022-01-25T18:00:48.481Z] Removing intermediate container 29dda78e0c85 [2022-01-25T18:00:48.481Z] ---> 5ea1340112e8 [2022-01-25T18:00:48.481Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-25T18:00:48.742Z] ---> Running in 64a6c2afa8d0 [2022-01-25T18:00:49.001Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-25T18:00:49.570Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-25T18:00:50.136Z] OK: 221 MiB in 52 packages [2022-01-25T18:00:50.136Z] Removing intermediate container 64a6c2afa8d0 [2022-01-25T18:00:50.136Z] ---> d87feba63055 [2022-01-25T18:00:50.137Z] Step 8/24 : COPY . . [2022-01-25T18:00:50.713Z] ---> 8c999339c1b4 [2022-01-25T18:00:50.713Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-25T18:00:50.713Z] ---> Running in c348a2f66ad8 [2022-01-25T18:00:51.285Z] Removing intermediate container c348a2f66ad8 [2022-01-25T18:00:51.285Z] ---> 14df36355535 [2022-01-25T18:00:51.285Z] Step 10/24 : RUN ${MAKE} [2022-01-25T18:00:51.285Z] ---> Running in 508a40f9a052 [2022-01-25T18:00:51.558Z] 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 [2022-01-25T18:00:54.828Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3865 in /w/workspace/gexfoundry_device-sdk-go_PR-1087 [Pipeline] { [Pipeline] ws [2022-01-25T18:00:54.871Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-01-25T18:00:55.086Z] The recommended git tool is: git [2022-01-25T18:00:59.607Z] using credential edgex-jenkins-ssh [2022-01-25T18:00:59.630Z] Cloning the remote Git repository [2022-01-25T18:00:59.696Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-01-25T18:00:59.763Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-01-25T18:00:59.851Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-25T18:00:59.852Z] > git --version # timeout=10 [2022-01-25T18:00:59.871Z] > git --version # 'git version 2.17.1' [2022-01-25T18:00:59.873Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-25T18:00:59.938Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-25T18:01:01.608Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-25T18:01:02.474Z] Merging remotes/origin/main commit 010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 into PR head commit a3ef3937430ed8085c12c07045c29fb3f2da0976 [2022-01-25T18:01:01.476Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-25T18:01:01.494Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-25T18:01:01.521Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-25T18:01:01.558Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-25T18:01:01.559Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-25T18:01:01.575Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1087/head:refs/remotes/origin/PR-1087 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-25T18:01:02.688Z] Merge succeeded, producing a3ef3937430ed8085c12c07045c29fb3f2da0976 [2022-01-25T18:01:02.689Z] Checking out Revision a3ef3937430ed8085c12c07045c29fb3f2da0976 (PR-1087) [2022-01-25T18:01:03.018Z] Removing intermediate container 508a40f9a052 [2022-01-25T18:01:03.018Z] ---> 68fb1ceb6984 [2022-01-25T18:01:03.018Z] Step 11/24 : FROM alpine:3.14 [2022-01-25T18:01:03.602Z] 3.14: Pulling from library/alpine [2022-01-25T18:01:03.602Z] 97518928ae5f: Pulling fs layer [2022-01-25T18:01:02.492Z] > git config core.sparsecheckout # timeout=10 [2022-01-25T18:01:02.506Z] > git checkout -f a3ef3937430ed8085c12c07045c29fb3f2da0976 # timeout=10 [2022-01-25T18:01:02.600Z] > git remote # timeout=10 [2022-01-25T18:01:02.615Z] > git config --get remote.origin.url # timeout=10 [2022-01-25T18:01:02.629Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-25T18:01:02.651Z] > git merge 010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 # timeout=10 [2022-01-25T18:01:02.672Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-25T18:01:02.696Z] > git config core.sparsecheckout # timeout=10 [2022-01-25T18:01:02.706Z] > git checkout -f a3ef3937430ed8085c12c07045c29fb3f2da0976 # timeout=10 [2022-01-25T18:01:03.869Z] 97518928ae5f: Verifying Checksum [2022-01-25T18:01:03.869Z] 97518928ae5f: Download complete [2022-01-25T18:01:03.869Z] 97518928ae5f: Pull complete [2022-01-25T18:01:03.869Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-25T18:01:03.869Z] Status: Downloaded newer image for alpine:3.14 [2022-01-25T18:01:03.869Z] ---> 0a97eee8041e [2022-01-25T18:01:03.869Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-25T18:01:04.138Z] ---> Running in dfe2314d2a25 [2022-01-25T18:01:04.138Z] Removing intermediate container dfe2314d2a25 [2022-01-25T18:01:04.138Z] ---> 78b4dbfb5e53 [2022-01-25T18:01:04.138Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-25T18:01:04.138Z] ---> Running in 40f8689482ae [2022-01-25T18:01:04.709Z] Removing intermediate container 40f8689482ae [2022-01-25T18:01:04.709Z] ---> efdf64d72cf7 [2022-01-25T18:01:04.709Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2022-01-25T18:01:04.709Z] ---> Running in b0c4adeaf328 [2022-01-25T18:01:04.709Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-25T18:01:05.653Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-25T18:01:05.914Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-25T18:01:06.178Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-25T18:01:06.178Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-25T18:01:06.178Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-25T18:01:06.438Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-25T18:01:06.438Z] Executing busybox-1.33.1-r6.trigger [2022-01-25T18:01:06.438Z] OK: 8 MiB in 19 packages [2022-01-25T18:01:06.700Z] Removing intermediate container b0c4adeaf328 [2022-01-25T18:01:06.700Z] ---> d305d93a2bc6 [2022-01-25T18:01:06.700Z] Step 15/24 : WORKDIR / [2022-01-25T18:01:06.700Z] ---> Running in d93822b53f91 [2022-01-25T18:01:06.700Z] Removing intermediate container d93822b53f91 [2022-01-25T18:01:06.700Z] ---> b8c99b36df14 [2022-01-25T18:01:06.700Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-25T18:01:06.836Z] Commit message: "ci: Remove -race for unit tests for now to resolve failures in pipeline" [2022-01-25T18:01:06.893Z] > git --version # timeout=10 [2022-01-25T18:01:06.907Z] > git --version # 'git version 2.17.1' [2022-01-25T18:01:06.918Z] fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-25T18:01:06.962Z] ---> f63b7b43d581 [2022-01-25T18:01:06.963Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2022-01-25T18:01:07.546Z] ---> 97ee16e27d90 [2022-01-25T18:01:07.546Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-25T18:01:07.546Z] ---> 9adcadc43ea3 [2022-01-25T18:01:07.546Z] Step 19/24 : EXPOSE 59999 [2022-01-25T18:01:07.546Z] ---> Running in f6d2cfdd23a2 [2022-01-25T18:01:07.546Z] Removing intermediate container f6d2cfdd23a2 [2022-01-25T18:01:07.546Z] ---> 1b239510c039 [2022-01-25T18:01:07.546Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2022-01-25T18:01:07.546Z] ---> Running in 63d0902dcb82 [Pipeline] sh [2022-01-25T18:01:07.805Z] Removing intermediate container 63d0902dcb82 [2022-01-25T18:01:07.805Z] ---> 408ac97ae9f0 [2022-01-25T18:01:07.805Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-25T18:01:07.805Z] ---> Running in d239faf2bf5e [2022-01-25T18:01:07.805Z] Removing intermediate container d239faf2bf5e [2022-01-25T18:01:07.805Z] ---> 6c440e5fbeaf [2022-01-25T18:01:07.805Z] Step 22/24 : LABEL arch=amd64 [2022-01-25T18:01:07.805Z] ---> Running in b2d952177536 [2022-01-25T18:01:07.805Z] Removing intermediate container b2d952177536 [2022-01-25T18:01:07.805Z] ---> 143defac3746 [2022-01-25T18:01:07.805Z] Step 23/24 : LABEL git_sha=a3ef3937430ed8085c12c07045c29fb3f2da0976 [2022-01-25T18:01:08.061Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-25T18:01:08.061Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-25T18:01:08.061Z] Dload Upload Total Spent Left Speed [2022-01-25T18:01:08.061Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 91806 0 --:--:-- --:--:-- --:--:-- 91806 [2022-01-25T18:01:08.070Z] ---> Running in 05f69b96ee68 [2022-01-25T18:01:08.070Z] Removing intermediate container 05f69b96ee68 [2022-01-25T18:01:08.070Z] ---> 5417061813d9 [2022-01-25T18:01:08.070Z] Step 24/24 : LABEL version=0.0.0 [2022-01-25T18:01:08.070Z] ---> Running in d52a31d20e7d [2022-01-25T18:01:08.070Z] Removing intermediate container d52a31d20e7d [2022-01-25T18:01:08.070Z] ---> 6ce0d28a0a04 [2022-01-25T18:01:08.070Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-25T18:01:08.070Z] Successfully built 6ce0d28a0a04 [2022-01-25T18:01:08.070Z] 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] sh [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-25T18:01:08.668Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-25T18:01:08.908Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-25T18:01:08.908Z] [2022-01-25T18:01:08.908Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-25T18:01:09.032Z] + + sudo teesudo /etc/docker/daemon.new jq [2022-01-25T18:01:09.032Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-25T18:01:09.032Z] { [2022-01-25T18:01:09.032Z] "registry-mirrors": [ [2022-01-25T18:01:09.032Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-25T18:01:09.032Z] ], [2022-01-25T18:01:09.032Z] "bip": "10.250.0.254/24", [2022-01-25T18:01:09.032Z] "hosts": [ [2022-01-25T18:01:09.032Z] "tcp://0.0.0.0:5555", [2022-01-25T18:01:09.032Z] "unix:///var/run/docker.sock" [2022-01-25T18:01:09.032Z] ], [2022-01-25T18:01:09.032Z] "mtu": 1458, [2022-01-25T18:01:09.032Z] "selinux-enabled": true, [2022-01-25T18:01:09.032Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-25T18:01:09.032Z] } [Pipeline] sh [2022-01-25T18:01:09.266Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-25T18:01:09.266Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-25T18:01:09.266Z] b4d181a07f80: Pulling fs layer [2022-01-25T18:01:09.266Z] a1111a8f2ec3: Pulling fs layer [2022-01-25T18:01:09.266Z] ed53099fbce6: Pulling fs layer [2022-01-25T18:01:09.266Z] dc539afda2c1: Pulling fs layer [2022-01-25T18:01:09.266Z] 77bc0d833cb6: Pulling fs layer [2022-01-25T18:01:09.266Z] 9065ff56babe: Pulling fs layer [2022-01-25T18:01:09.266Z] d287ab97295c: Pulling fs layer [2022-01-25T18:01:09.266Z] 77bc0d833cb6: Waiting [2022-01-25T18:01:09.266Z] 9065ff56babe: Waiting [2022-01-25T18:01:09.266Z] d287ab97295c: Waiting [2022-01-25T18:01:09.266Z] dc539afda2c1: Waiting [2022-01-25T18:01:09.266Z] a1111a8f2ec3: Verifying Checksum [2022-01-25T18:01:09.266Z] a1111a8f2ec3: Download complete [2022-01-25T18:01:09.266Z] dc539afda2c1: Verifying Checksum [2022-01-25T18:01:09.266Z] dc539afda2c1: Download complete [2022-01-25T18:01:09.467Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2022-01-25T18:01:09.528Z] ed53099fbce6: Verifying Checksum [2022-01-25T18:01:09.528Z] ed53099fbce6: Download complete [2022-01-25T18:01:09.528Z] 77bc0d833cb6: Verifying Checksum [2022-01-25T18:01:09.528Z] 77bc0d833cb6: Download complete [2022-01-25T18:01:09.528Z] 9065ff56babe: Verifying Checksum [2022-01-25T18:01:09.528Z] 9065ff56babe: Download complete [2022-01-25T18:01:09.528Z] b4d181a07f80: Verifying Checksum [2022-01-25T18:01:09.528Z] b4d181a07f80: Download complete [Pipeline] sh [2022-01-25T18:01:09.865Z] + sudo service docker restart [2022-01-25T18:01:10.107Z] d287ab97295c: Verifying Checksum [2022-01-25T18:01:10.107Z] d287ab97295c: Download complete [2022-01-25T18:01:11.053Z] b4d181a07f80: Pull complete [2022-01-25T18:01:11.053Z] a1111a8f2ec3: Pull complete [2022-01-25T18:01:11.626Z] ed53099fbce6: Pull complete [2022-01-25T18:01:11.626Z] dc539afda2c1: Pull complete [2022-01-25T18:01:11.885Z] 77bc0d833cb6: Pull complete [2022-01-25T18:01:11.885Z] 9065ff56babe: Pull complete [2022-01-25T18:01:17.220Z] d287ab97295c: Pull complete [2022-01-25T18:01:17.220Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-25T18:01:17.220Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-25T18:01:17.220Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-25T18:01:17.330Z] prd-centos7-docker-4c-2g-3864 does not seem to be running inside a container [2022-01-25T18:01:17.387Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1087 -v /w/workspace/gexfoundry_device-sdk-go_PR-1087:/w/workspace/gexfoundry_device-sdk-go_PR-1087:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1087@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1087@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 [2022-01-25T18:01:19.929Z] $ docker top 5c0ec4c647da88dba5e01aa936bd484c6c5f865b597108e8afd40dbb51872625 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-25T18:01:20.468Z] ---> job-cost.sh [2022-01-25T18:01:20.469Z] lf-activate-venv: SKIPPING [2022-01-25T18:01:20.469Z] INFO: No Stack... [2022-01-25T18:01:20.778Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-25T18:01:21.064Z] INFO: Archiving Costs [Pipeline] sh [2022-01-25T18:01:21.467Z] + cut -d, -f6 [2022-01-25T18:01:21.467Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1087/archives/cost.csv [Pipeline] lock [2022-01-25T18:01:21.508Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1087-1-stack-cost] [2022-01-25T18:01:21.513Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1087-1-stack-cost] did not exist. Created. [2022-01-25T18:01:21.513Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1087-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-25T18:01:21.915Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-25T18:01:21.969Z] Stashed 1 file(s) [Pipeline] } [2022-01-25T18:01:21.990Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1087-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-25T18:01:22.066Z] $ docker stop --time=1 5c0ec4c647da88dba5e01aa936bd484c6c5f865b597108e8afd40dbb51872625 [2022-01-25T18:01:23.192Z] $ docker rm -f 5c0ec4c647da88dba5e01aa936bd484c6c5f865b597108e8afd40dbb51872625 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-25T18:01:28.256Z] provisioning config files... [2022-01-25T18:01:28.282Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4212794699889302889tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-25T18:01:28.679Z] ---> docker-login.sh [2022-01-25T18:01:28.679Z] nexus3.edgexfoundry.org:10001 [2022-01-25T18:01:29.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T18:01:29.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T18:01:29.545Z] Configure a credential helper to remove this warning. See [2022-01-25T18:01:29.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T18:01:29.545Z] [2022-01-25T18:01:29.545Z] Login Succeeded [2022-01-25T18:01:29.545Z] nexus3.edgexfoundry.org:10002 [2022-01-25T18:01:29.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T18:01:29.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T18:01:29.818Z] Configure a credential helper to remove this warning. See [2022-01-25T18:01:29.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T18:01:29.818Z] [2022-01-25T18:01:29.818Z] Login Succeeded [2022-01-25T18:01:29.818Z] nexus3.edgexfoundry.org:10003 [2022-01-25T18:01:30.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T18:01:30.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T18:01:30.369Z] Configure a credential helper to remove this warning. See [2022-01-25T18:01:30.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T18:01:30.369Z] [2022-01-25T18:01:30.369Z] Login Succeeded [2022-01-25T18:01:30.369Z] nexus3.edgexfoundry.org:10004 [2022-01-25T18:01:30.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T18:01:30.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T18:01:30.916Z] Configure a credential helper to remove this warning. See [2022-01-25T18:01:30.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T18:01:30.916Z] [2022-01-25T18:01:30.916Z] Login Succeeded [2022-01-25T18:01:30.916Z] docker.io [2022-01-25T18:01:31.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T18:01:31.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T18:01:31.461Z] Configure a credential helper to remove this warning. See [2022-01-25T18:01:31.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T18:01:31.461Z] [2022-01-25T18:01:31.461Z] Login Succeeded [2022-01-25T18:01:31.461Z] ---> docker-login.sh ends [Pipeline] } [2022-01-25T18:01:31.491Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-25T18:01:32.112Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-25T18:01:32.153Z] ========================================================= [2022-01-25T18:01:32.153Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-25T18:01:32.153Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-25T18:01:32.605Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-01-25T18:01:32.885Z] Sending build context to Docker daemon 5.058MB [2022-01-25T18:01:33.160Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-01-25T18:01:33.160Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-25T18:01:33.160Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-25T18:01:33.160Z] 9b3977197b4f: Pulling fs layer [2022-01-25T18:01:33.160Z] 1a89e8eeedd5: Pulling fs layer [2022-01-25T18:01:33.160Z] 94645a83ff95: Pulling fs layer [2022-01-25T18:01:33.160Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-25T18:01:33.160Z] 0c92f367c5e7: Pulling fs layer [2022-01-25T18:01:33.160Z] 4b8299f9d1f4: Pulling fs layer [2022-01-25T18:01:33.160Z] 9a6b49a46696: Pulling fs layer [2022-01-25T18:01:33.160Z] cf05db05a679: Pulling fs layer [2022-01-25T18:01:33.160Z] 3f3a8bcf1eab: Waiting [2022-01-25T18:01:33.160Z] 0c92f367c5e7: Waiting [2022-01-25T18:01:33.160Z] 9a6b49a46696: Waiting [2022-01-25T18:01:33.160Z] cf05db05a679: Waiting [2022-01-25T18:01:33.160Z] 4b8299f9d1f4: Waiting [2022-01-25T18:01:33.160Z] 94645a83ff95: Verifying Checksum [2022-01-25T18:01:33.160Z] 94645a83ff95: Download complete [2022-01-25T18:01:33.160Z] 1a89e8eeedd5: Verifying Checksum [2022-01-25T18:01:33.160Z] 1a89e8eeedd5: Download complete [2022-01-25T18:01:33.160Z] 0c92f367c5e7: Verifying Checksum [2022-01-25T18:01:33.160Z] 0c92f367c5e7: Download complete [2022-01-25T18:01:33.160Z] 4b8299f9d1f4: Verifying Checksum [2022-01-25T18:01:33.160Z] 4b8299f9d1f4: Download complete [2022-01-25T18:01:33.438Z] 9b3977197b4f: Download complete [2022-01-25T18:01:33.438Z] 9a6b49a46696: Verifying Checksum [2022-01-25T18:01:33.438Z] 9a6b49a46696: Download complete [2022-01-25T18:01:34.044Z] 9b3977197b4f: Pull complete [2022-01-25T18:01:34.654Z] 1a89e8eeedd5: Pull complete [2022-01-25T18:01:34.931Z] 94645a83ff95: Pull complete [2022-01-25T18:01:35.205Z] cf05db05a679: Verifying Checksum [2022-01-25T18:01:35.205Z] cf05db05a679: Download complete [2022-01-25T18:01:35.801Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-25T18:01:35.801Z] 3f3a8bcf1eab: Download complete [2022-01-25T18:01:48.186Z] 3f3a8bcf1eab: Pull complete [2022-01-25T18:01:48.186Z] 0c92f367c5e7: Pull complete [2022-01-25T18:01:48.186Z] 4b8299f9d1f4: Pull complete [2022-01-25T18:01:48.186Z] 9a6b49a46696: Pull complete [2022-01-25T18:01:53.624Z] cf05db05a679: Pull complete [2022-01-25T18:01:53.624Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-25T18:01:53.624Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-25T18:01:53.624Z] ---> 0ccda1f7e2ee [2022-01-25T18:01:53.624Z] Step 3/10 : ARG MAKE=make build [2022-01-25T18:01:55.600Z] ---> Running in fd99c41b8b2d [2022-01-25T18:01:55.600Z] Removing intermediate container fd99c41b8b2d [2022-01-25T18:01:55.600Z] ---> 45d5d5c0fdbd [2022-01-25T18:01:55.600Z] Step 4/10 : WORKDIR /device-sdk-go [2022-01-25T18:01:55.872Z] ---> Running in 0cc15271d1aa [2022-01-25T18:01:56.143Z] Removing intermediate container 0cc15271d1aa [2022-01-25T18:01:56.143Z] ---> 36c3f40ec85b [2022-01-25T18:01:56.143Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-25T18:01:56.143Z] ---> Running in 813f6375bd35 [2022-01-25T18:01:56.738Z] Removing intermediate container 813f6375bd35 [2022-01-25T18:01:56.738Z] ---> 46802453e9ca [2022-01-25T18:01:56.738Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-25T18:01:56.738Z] ---> Running in 9c301c91c113 [2022-01-25T18:01:58.712Z] Removing intermediate container 9c301c91c113 [2022-01-25T18:01:58.712Z] ---> 2bb91871914f [2022-01-25T18:01:58.712Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-25T18:01:58.712Z] ---> Running in 0f584c6672c7 [2022-01-25T18:01:59.687Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-25T18:02:00.660Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-25T18:02:01.255Z] OK: 220 MiB in 52 packages [2022-01-25T18:02:01.851Z] Removing intermediate container 0f584c6672c7 [2022-01-25T18:02:01.851Z] ---> 6ded0c080036 [2022-01-25T18:02:01.851Z] Step 8/10 : COPY . . [2022-01-25T18:02:03.283Z] ---> ade6c1cccd78 [2022-01-25T18:02:03.283Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-25T18:02:03.283Z] ---> Running in edf5e9bab01b [2022-01-25T18:03:11.309Z] Removing intermediate container edf5e9bab01b [2022-01-25T18:03:11.309Z] ---> b5b6e2f42804 [2022-01-25T18:03:11.309Z] Step 10/10 : RUN ${MAKE} [2022-01-25T18:03:11.309Z] ---> Running in 4ca6ffcf6dc0 [2022-01-25T18:03:11.584Z] noop [2022-01-25T18:03:12.177Z] Removing intermediate container 4ca6ffcf6dc0 [2022-01-25T18:03:12.177Z] ---> a3bcda691c40 [2022-01-25T18:03:12.177Z] Successfully built a3bcda691c40 [2022-01-25T18:03:12.177Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-25T18:03:12.548Z] + docker inspect -f . ci-base-image-arm64 [2022-01-25T18:03:12.548Z] . [Pipeline] withDockerContainer [2022-01-25T18:03:12.764Z] prd-ubuntu18.04-docker-arm64-4c-16g-3865 does not seem to be running inside a container [2022-01-25T18:03:12.837Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-25T18:03:14.119Z] $ docker top 0d78825df1f7fd8ff030b930e2e95cf984da4ac93e000fc3c8b37d2bb2743bc2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-25T18:03:15.031Z] + go version [2022-01-25T18:03:15.031Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-25T18:03:15.067Z] $ docker stop --time=1 0d78825df1f7fd8ff030b930e2e95cf984da4ac93e000fc3c8b37d2bb2743bc2 [2022-01-25T18:03:16.660Z] $ docker rm -f 0d78825df1f7fd8ff030b930e2e95cf984da4ac93e000fc3c8b37d2bb2743bc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-25T18:03:17.522Z] + docker inspect -f . ci-base-image-arm64 [2022-01-25T18:03:17.522Z] . [Pipeline] withDockerContainer [2022-01-25T18:03:17.726Z] prd-ubuntu18.04-docker-arm64-4c-16g-3865 does not seem to be running inside a container [2022-01-25T18:03:17.797Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-25T18:03:19.008Z] $ docker top 84666c89663fcbd4ad29bbe8ec778cb786e7a59996d45b0d87ca77344530b703 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-25T18:03:19.964Z] + make test [2022-01-25T18:03:19.964Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-25T18:03:21.404Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-25T18:04:08.795Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-25T18:04:08.795Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-25T18:04:08.795Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-25T18:04:13.107Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.074s coverage: 23.3% of statements [2022-01-25T18:04:13.107Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-25T18:04:13.107Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.107s coverage: 27.6% of statements [2022-01-25T18:04:13.107Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.062s coverage: 78.9% of statements [2022-01-25T18:04:13.107Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.073s coverage: 9.0% of statements [2022-01-25T18:04:13.107Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-25T18:04:13.107Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-25T18:04:13.107Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-25T18:04:13.712Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.084s coverage: 28.7% of statements [2022-01-25T18:04:13.712Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-25T18:04:15.162Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.064s coverage: 86.1% of statements [2022-01-25T18:04:15.162Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-25T18:04:15.162Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-25T18:04:15.162Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.139s coverage: 57.4% of statements [2022-01-25T18:04:16.145Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.178s coverage: 89.2% of statements [2022-01-25T18:04:16.145Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-25T18:04:17.116Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.047s coverage: 4.8% of statements [2022-01-25T18:04:17.116Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-25T18:04:17.392Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-01-25T18:04:17.393Z] GO111MODULE=on go vet ./... [2022-01-25T18:04:39.559Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-25T18:04:39.559Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-25T18:04:39.559Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-25T18:04:39.605Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-25T18:04:39.632Z] $ docker stop --time=1 84666c89663fcbd4ad29bbe8ec778cb786e7a59996d45b0d87ca77344530b703 [2022-01-25T18:04:41.387Z] $ docker rm -f 84666c89663fcbd4ad29bbe8ec778cb786e7a59996d45b0d87ca77344530b703 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-25T18:04:42.297Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-25T18:04:42.332Z] Warning: overwriting stash ‘coverage-report’ [2022-01-25T18:04:42.857Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-25T18:04:43.456Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-25T18:04:43.808Z] + ls -al . [2022-01-25T18:04:43.808Z] total 304 [2022-01-25T18:04:43.808Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 25 18:04 . [2022-01-25T18:04:43.808Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 18:00 .. [2022-01-25T18:04:43.808Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 25 18:01 .dockerignore [2022-01-25T18:04:43.808Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 18:01 .git [2022-01-25T18:04:43.808Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 18:01 .github [2022-01-25T18:04:43.808Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 25 18:01 .gitignore [2022-01-25T18:04:43.808Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 25 18:01 .golangci.yml [2022-01-25T18:04:43.808Z] -rw-rw-r-- 1 jenkins jenkins 26321 Jan 25 18:01 CHANGELOG.md [2022-01-25T18:04:43.808Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 25 18:01 GOVERNANCE.md [2022-01-25T18:04:43.808Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 25 18:01 Jenkinsfile [2022-01-25T18:04:43.808Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 25 18:01 LICENSE [2022-01-25T18:04:43.808Z] -rw-rw-r-- 1 jenkins jenkins 1614 Jan 25 18:01 Makefile [2022-01-25T18:04:43.808Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 25 18:01 OWNERS.md [2022-01-25T18:04:43.808Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jan 25 18:01 README.md [2022-01-25T18:04:43.808Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 25 17:59 VERSION [2022-01-25T18:04:43.808Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 18:01 bin [2022-01-25T18:04:43.808Z] -rw-r--r-- 1 jenkins jenkins 128608 Jan 25 18:04 coverage.out [2022-01-25T18:04:43.808Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 25 18:01 example [2022-01-25T18:04:43.808Z] -rw-rw-r-- 1 jenkins jenkins 582 Jan 25 18:01 go.mod [2022-01-25T18:04:43.808Z] -rw-rw-r-- 1 jenkins jenkins 48958 Jan 25 18:01 go.sum [2022-01-25T18:04:43.808Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 25 18:01 internal [2022-01-25T18:04:43.808Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 18:01 openapi [2022-01-25T18:04:43.808Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 25 18:01 pkg [2022-01-25T18:04:43.808Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 18:01 snap [2022-01-25T18:04:43.808Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 25 18:01 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-25T18:04:44.177Z] + 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=a3ef3937430ed8085c12c07045c29fb3f2da0976 --label arch=arm64 --label version=0.0.0 . [2022-01-25T18:04:44.449Z] Sending build context to Docker daemon 5.188MB [2022-01-25T18:04:44.726Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-01-25T18:04:44.726Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-25T18:04:44.726Z] ---> a3bcda691c40 [2022-01-25T18:04:44.726Z] Step 3/24 : ARG MAKE=make build [2022-01-25T18:04:44.726Z] ---> Running in 773487c2e23c [2022-01-25T18:04:45.000Z] Removing intermediate container 773487c2e23c [2022-01-25T18:04:45.000Z] ---> 2add6f7f67a5 [2022-01-25T18:04:45.000Z] Step 4/24 : WORKDIR /device-sdk-go [2022-01-25T18:04:45.275Z] ---> Running in 16204ac4a5b0 [2022-01-25T18:04:45.548Z] Removing intermediate container 16204ac4a5b0 [2022-01-25T18:04:45.548Z] ---> b08d67848c3e [2022-01-25T18:04:45.548Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-25T18:04:45.548Z] ---> Running in a318e5e1852d [2022-01-25T18:04:45.821Z] Removing intermediate container a318e5e1852d [2022-01-25T18:04:45.821Z] ---> b54c45781342 [2022-01-25T18:04:45.821Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-25T18:04:46.097Z] ---> Running in 7f6506811ce0 [2022-01-25T18:04:47.536Z] Removing intermediate container 7f6506811ce0 [2022-01-25T18:04:47.536Z] ---> 38ec96facc14 [2022-01-25T18:04:47.536Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-25T18:04:47.814Z] ---> Running in 3298630bb312 [2022-01-25T18:04:48.800Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-25T18:04:49.776Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-25T18:04:50.374Z] OK: 220 MiB in 52 packages [2022-01-25T18:04:51.367Z] Removing intermediate container 3298630bb312 [2022-01-25T18:04:51.367Z] ---> 2c910e910ee8 [2022-01-25T18:04:51.367Z] Step 8/24 : COPY . . [2022-01-25T18:04:52.354Z] ---> d0c296647c14 [2022-01-25T18:04:52.354Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-25T18:04:52.631Z] ---> Running in b937363e173f [2022-01-25T18:04:54.609Z] Removing intermediate container b937363e173f [2022-01-25T18:04:54.609Z] ---> 702acb3470b6 [2022-01-25T18:04:54.609Z] Step 10/24 : RUN ${MAKE} [2022-01-25T18:04:54.609Z] ---> Running in b48334bf4ebc [2022-01-25T18:04:55.587Z] 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 [2022-01-25T18:05:34.609Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-25T18:05:34.609Z] Removing intermediate container b48334bf4ebc [2022-01-25T18:05:34.609Z] ---> 7fb1c4e2bec9 [2022-01-25T18:05:34.609Z] Step 11/24 : FROM alpine:3.14 [2022-01-25T18:05:34.609Z] 3.14: Pulling from library/alpine [2022-01-25T18:05:34.609Z] be307f383ecc: Pulling fs layer [2022-01-25T18:05:34.609Z] be307f383ecc: Download complete [2022-01-25T18:05:34.609Z] be307f383ecc: Pull complete [2022-01-25T18:05:34.609Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-25T18:05:34.609Z] Status: Downloaded newer image for alpine:3.14 [2022-01-25T18:05:34.609Z] ---> 5b8b7b635229 [2022-01-25T18:05:34.609Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-25T18:05:34.609Z] ---> Running in 29cd9eb5bb92 [2022-01-25T18:05:34.609Z] Removing intermediate container 29cd9eb5bb92 [2022-01-25T18:05:34.609Z] ---> 883700247615 [2022-01-25T18:05:34.609Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-25T18:05:34.609Z] ---> Running in 339a15d173d8 [2022-01-25T18:05:36.044Z] Removing intermediate container 339a15d173d8 [2022-01-25T18:05:36.044Z] ---> 00999df84b4f [2022-01-25T18:05:36.044Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2022-01-25T18:05:36.319Z] ---> Running in 1e69f0ef0591 [2022-01-25T18:05:37.304Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-25T18:05:38.281Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-25T18:05:38.873Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-25T18:05:38.873Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-25T18:05:38.873Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-25T18:05:39.143Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-25T18:05:39.143Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-25T18:05:39.414Z] Executing busybox-1.33.1-r6.trigger [2022-01-25T18:05:39.414Z] OK: 8 MiB in 19 packages [2022-01-25T18:05:40.387Z] Removing intermediate container 1e69f0ef0591 [2022-01-25T18:05:40.387Z] ---> fc56a2c35b5b [2022-01-25T18:05:40.387Z] Step 15/24 : WORKDIR / [2022-01-25T18:05:40.387Z] ---> Running in 421aabab00e9 [2022-01-25T18:05:40.659Z] Removing intermediate container 421aabab00e9 [2022-01-25T18:05:40.659Z] ---> 5fcc6e520df7 [2022-01-25T18:05:40.659Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-25T18:05:41.255Z] ---> 2a9e3c5295f4 [2022-01-25T18:05:41.255Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-25T18:05:42.230Z] ---> 7d459713bf6a [2022-01-25T18:05:42.230Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-25T18:05:42.822Z] ---> b2a8b58d0fa8 [2022-01-25T18:05:42.822Z] Step 19/24 : EXPOSE 59999 [2022-01-25T18:05:42.822Z] ---> Running in bdea1383c16e [2022-01-25T18:05:43.096Z] Removing intermediate container bdea1383c16e [2022-01-25T18:05:43.096Z] ---> e70582de87cd [2022-01-25T18:05:43.096Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2022-01-25T18:05:43.096Z] ---> Running in ecb5b50e4555 [2022-01-25T18:05:43.692Z] Removing intermediate container ecb5b50e4555 [2022-01-25T18:05:43.692Z] ---> e1e1fe6eca2f [2022-01-25T18:05:43.692Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-25T18:05:43.692Z] ---> Running in e3dda96c087b [2022-01-25T18:05:43.969Z] Removing intermediate container e3dda96c087b [2022-01-25T18:05:43.969Z] ---> 6410260afb02 [2022-01-25T18:05:43.969Z] Step 22/24 : LABEL arch=arm64 [2022-01-25T18:05:43.969Z] ---> Running in 0702d53ff658 [2022-01-25T18:05:44.241Z] Removing intermediate container 0702d53ff658 [2022-01-25T18:05:44.241Z] ---> 3820f59bec16 [2022-01-25T18:05:44.241Z] Step 23/24 : LABEL git_sha=a3ef3937430ed8085c12c07045c29fb3f2da0976 [2022-01-25T18:05:44.511Z] ---> Running in a85e61264bf4 [2022-01-25T18:05:44.783Z] Removing intermediate container a85e61264bf4 [2022-01-25T18:05:44.783Z] ---> c9b4347b690f [2022-01-25T18:05:44.783Z] Step 24/24 : LABEL version=0.0.0 [2022-01-25T18:05:44.783Z] ---> Running in 0ae7e35f8b73 [2022-01-25T18:05:45.055Z] Removing intermediate container 0ae7e35f8b73 [2022-01-25T18:05:45.055Z] ---> 804d4fc5b213 [2022-01-25T18:05:45.055Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-25T18:05:45.055Z] Successfully built 804d4fc5b213 [2022-01-25T18:05:45.055Z] 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 [2022-01-25T18:05:45.747Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-25T18:05:45.747Z] [2022-01-25T18:05:45.747Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-25T18:05:46.120Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-25T18:05:46.120Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-25T18:05:46.120Z] 448f6bf000e3: Pulling fs layer [2022-01-25T18:05:46.120Z] f757da607395: Pulling fs layer [2022-01-25T18:05:46.120Z] 05883995daec: Pulling fs layer [2022-01-25T18:05:46.120Z] 8603b9c90790: Pulling fs layer [2022-01-25T18:05:46.120Z] 1560dd03e051: Pulling fs layer [2022-01-25T18:05:46.120Z] 27f5ce0e4adf: Pulling fs layer [2022-01-25T18:05:46.120Z] c2d8d7efcc4b: Pulling fs layer [2022-01-25T18:05:46.120Z] 1560dd03e051: Waiting [2022-01-25T18:05:46.120Z] 27f5ce0e4adf: Waiting [2022-01-25T18:05:46.120Z] c2d8d7efcc4b: Waiting [2022-01-25T18:05:46.120Z] 8603b9c90790: Waiting [2022-01-25T18:05:46.391Z] f757da607395: Verifying Checksum [2022-01-25T18:05:46.391Z] f757da607395: Download complete [2022-01-25T18:05:46.391Z] 8603b9c90790: Download complete [2022-01-25T18:05:46.391Z] 1560dd03e051: Verifying Checksum [2022-01-25T18:05:46.391Z] 1560dd03e051: Download complete [2022-01-25T18:05:46.391Z] 27f5ce0e4adf: Verifying Checksum [2022-01-25T18:05:46.391Z] 27f5ce0e4adf: Download complete [2022-01-25T18:05:46.391Z] 05883995daec: Verifying Checksum [2022-01-25T18:05:46.391Z] 05883995daec: Download complete [2022-01-25T18:05:46.667Z] 448f6bf000e3: Verifying Checksum [2022-01-25T18:05:46.667Z] 448f6bf000e3: Download complete [2022-01-25T18:05:49.302Z] c2d8d7efcc4b: Verifying Checksum [2022-01-25T18:05:49.302Z] c2d8d7efcc4b: Download complete [2022-01-25T18:05:50.749Z] 448f6bf000e3: Pull complete [2022-01-25T18:05:51.021Z] f757da607395: Pull complete [2022-01-25T18:05:52.459Z] 05883995daec: Pull complete [2022-01-25T18:05:52.735Z] 8603b9c90790: Pull complete [2022-01-25T18:05:53.724Z] 1560dd03e051: Pull complete [2022-01-25T18:05:54.002Z] 27f5ce0e4adf: Pull complete [2022-01-25T18:06:09.087Z] c2d8d7efcc4b: Pull complete [2022-01-25T18:06:09.087Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-25T18:06:09.087Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-25T18:06:09.087Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-25T18:06:09.304Z] prd-ubuntu18.04-docker-arm64-4c-16g-3865 does not seem to be running inside a container [2022-01-25T18:06:09.378Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-25T18:06:12.014Z] $ docker top 62398572a571d3232d8efe56efc0c88c71b10ae9675a720c0e1398e73af8a600 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-25T18:06:12.990Z] ---> job-cost.sh [2022-01-25T18:06:12.991Z] lf-activate-venv: SKIPPING [2022-01-25T18:06:12.991Z] INFO: No Stack... [2022-01-25T18:06:13.261Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-25T18:06:13.535Z] INFO: Archiving Costs [Pipeline] sh [2022-01-25T18:06:14.214Z] + cut -d, -f6 [2022-01-25T18:06:14.214Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2022-01-25T18:06:14.301Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1087-1-stack-cost] [2022-01-25T18:06:14.309Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1087-1-stack-cost] did not exist. Created. [2022-01-25T18:06:14.309Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1087-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-25T18:06:15.064Z] /w/workspace/device-sdk-go/1@tmp/durable-ef1c455e/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-ef1c455e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-25T18:06:15.758Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-25T18:06:15.795Z] Warning: overwriting stash ‘stack-cost’ [2022-01-25T18:06:15.855Z] Stashed 1 file(s) [Pipeline] } [2022-01-25T18:06:15.870Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1087-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-25T18:06:15.959Z] $ docker stop --time=1 62398572a571d3232d8efe56efc0c88c71b10ae9675a720c0e1398e73af8a600 [2022-01-25T18:06:17.473Z] $ docker rm -f 62398572a571d3232d8efe56efc0c88c71b10ae9675a720c0e1398e73af8a600 [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 [2022-01-25T18:06:18.562Z] provisioning config files... [2022-01-25T18:06:18.571Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1087@tmp/config7824734770117306792tmp [Pipeline] { [Pipeline] sh [2022-01-25T18:06:18.911Z] + set +x [2022-01-25T18:06:18.911Z] + curl -s https://codecov.io/bash [2022-01-25T18:06:18.911Z] + bash -s -- [2022-01-25T18:06:18.911Z] [2022-01-25T18:06:18.911Z] _____ _ [2022-01-25T18:06:18.911Z] / ____| | | [2022-01-25T18:06:18.911Z] | | ___ __| | ___ ___ _____ __ [2022-01-25T18:06:18.911Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-25T18:06:18.911Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-25T18:06:18.911Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-25T18:06:18.911Z] Bash-1.0.6 [2022-01-25T18:06:18.911Z] [2022-01-25T18:06:18.911Z] [2022-01-25T18:06:18.911Z] ==> git version 2.24.4 found [2022-01-25T18:06:18.911Z] ==> 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 [2022-01-25T18:06:18.911Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-25T18:06:18.912Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-25T18:06:18.912Z] ==> Jenkins CI detected. [2022-01-25T18:06:18.912Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1087 [2022-01-25T18:06:18.912Z] project root: . [2022-01-25T18:06:18.912Z] --> token set from env [2022-01-25T18:06:18.912Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-25T18:06:18.912Z] ==> Running gcov in . (disable via -X gcov) [2022-01-25T18:06:18.912Z] ==> Python coveragepy not found [2022-01-25T18:06:18.912Z] ==> Searching for coverage reports in: [2022-01-25T18:06:18.912Z] + . [2022-01-25T18:06:19.174Z] -> Found 1 reports [2022-01-25T18:06:19.174Z] ==> Detecting git/mercurial file structure [2022-01-25T18:06:19.174Z] ==> Reading reports [2022-01-25T18:06:19.174Z] + ./coverage.out bytes=128608 [2022-01-25T18:06:19.174Z] ==> Appending adjustments [2022-01-25T18:06:19.174Z] https://docs.codecov.io/docs/fixing-reports [2022-01-25T18:06:19.436Z] + Found adjustments [2022-01-25T18:06:19.436Z] ==> Gzipping contents [2022-01-25T18:06:19.436Z] 16K /tmp/codecov.YV99ld.gz [2022-01-25T18:06:19.436Z] ==> Uploading reports [2022-01-25T18:06:19.436Z] url: https://codecov.io [2022-01-25T18:06:19.436Z] query: branch=PR-1087&commit=a3ef3937430ed8085c12c07045c29fb3f2da0976&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1087%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1087&job=&cmd_args= [2022-01-25T18:06:19.436Z] -> Pinging Codecov [2022-01-25T18:06:19.436Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1087&commit=a3ef3937430ed8085c12c07045c29fb3f2da0976&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1087%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1087&job=&cmd_args= [2022-01-25T18:06:19.697Z] -> Uploading to [2022-01-25T18:06:19.697Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-25/7E55EF52A471D76F132DFD9A03CDDE97/a3ef3937430ed8085c12c07045c29fb3f2da0976/5ee28343-79d9-4864-9276-3cd9a7f5031e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220125%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220125T180619Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2a8bd7c84d3526a5beacae7e3c5d91fd46b2c64a296bb0f8882769f4b489738e [2022-01-25T18:06:19.697Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-25T18:06:19.697Z] Dload Upload Total Spent Left Speed [2022-01-25T18:06:19.957Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16094 0 0 100 16094 0 48974 --:--:-- --:--:-- --:--:-- 49067 [2022-01-25T18:06:19.957Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a3ef3937430ed8085c12c07045c29fb3f2da0976 [Pipeline] } [2022-01-25T18:06:19.982Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-01-25T18:06:21.953Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1087/archives ']' [2022-01-25T18:06:21.953Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1087/archives [2022-01-25T18:06:21.953Z] total 8 [2022-01-25T18:06:21.953Z] drwxr-xr-x. 3 root root 34 Jan 25 18:01 . [2022-01-25T18:06:21.953Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 25 18:01 .. [2022-01-25T18:06:21.953Z] drwxr-xr-x. 2 root root 6 Jan 25 18:01 cost [2022-01-25T18:06:21.953Z] -rw-r--r--. 1 root root 85 Jan 25 18:01 cost.csv [2022-01-25T18:06:21.953Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1087/archives [2022-01-25T18:06:21.953Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1087/archives [2022-01-25T18:06:21.953Z] total 8 [2022-01-25T18:06:21.953Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 25 18:01 . [2022-01-25T18:06:21.953Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 25 18:01 .. [2022-01-25T18:06:21.953Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 25 18:01 cost [2022-01-25T18:06:21.953Z] -rw-r--r--. 1 jenkins jenkins 85 Jan 25 18:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-25T18:06:22.285Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-25T18:06:22.882Z] ---> package-listing.sh [2022-01-25T18:06:22.882Z] ++ facter osfamily [2022-01-25T18:06:22.882Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-25T18:06:23.143Z] + OS_FAMILY=redhat [2022-01-25T18:06:23.143Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1087 [2022-01-25T18:06:23.143Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-25T18:06:23.143Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-25T18:06:23.143Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-25T18:06:23.143Z] + PACKAGES=/tmp/packages_start.txt [2022-01-25T18:06:23.143Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1087 ']' [2022-01-25T18:06:23.143Z] + PACKAGES=/tmp/packages_end.txt [2022-01-25T18:06:23.143Z] + case "${OS_FAMILY}" in [2022-01-25T18:06:23.143Z] + rpm -qa [2022-01-25T18:06:23.143Z] + sort [2022-01-25T18:06:23.713Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-25T18:06:23.713Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-25T18:06:23.713Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-25T18:06:23.713Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1087 ']' [2022-01-25T18:06:23.713Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1087/archives/ [2022-01-25T18:06:23.713Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1087/archives/ [Pipeline] echo [2022-01-25T18:06:23.759Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1087/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-25T18:06:24.073Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-25T18:06:24.661Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-25T18:06:24.661Z] . [Pipeline] withDockerContainer [2022-01-25T18:06:24.750Z] prd-centos7-docker-4c-2g-3864 does not seem to be running inside a container [2022-01-25T18:06:24.784Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1087/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1087 -v /w/workspace/gexfoundry_device-sdk-go_PR-1087:/w/workspace/gexfoundry_device-sdk-go_PR-1087:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1087@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1087@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-25T18:06:24.998Z] $ docker top 7dcbee789a0dff78dd6e282bb7968bf352a66859201df441e57207d79ddf3e56 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-25T18:06:25.435Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-25T18:06:25.756Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-25T18:06:26.070Z] + ls /var/log/sa-host [2022-01-25T18:06:26.070Z] + sadf -c /var/log/sa-host/sa17 [2022-01-25T18:06:26.070Z] file_magic: OK [2022-01-25T18:06:26.070Z] HZ: Using current value: 100 [2022-01-25T18:06:26.070Z] file_header: OK [2022-01-25T18:06:26.070Z] 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 [2022-01-25T18:06:26.070Z] Statistics: [2022-01-25T18:06:26.070Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-25T18:06:26.070Z] File successfully converted to sysstat format version 12.0.3 [2022-01-25T18:06:26.070Z] + sadf -c /var/log/sa-host/sa25 [2022-01-25T18:06:26.070Z] file_magic: OK [2022-01-25T18:06:26.070Z] HZ: Using current value: 100 [2022-01-25T18:06:26.070Z] file_header: OK [2022-01-25T18:06:26.070Z] 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 [2022-01-25T18:06:26.070Z] Statistics: [2022-01-25T18:06:26.070Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-25T18:06:26.070Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-25T18:06:26.350Z] provisioning config files... [2022-01-25T18:06:26.361Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1087@tmp/config8743370218974819572tmp [Pipeline] { [Pipeline] echo [2022-01-25T18:06:26.410Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-25T18:06:26.722Z] ---> create-netrc.sh [Pipeline] } [2022-01-25T18:06:26.753Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-25T18:06:27.170Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-25T18:06:27.208Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-25T18:06:27.549Z] ---> sudo-logs.sh [2022-01-25T18:06:27.549Z] Archiving 'sudo' log.. [2022-01-25T18:06:27.549Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-3864.novalocal: Name or service not known [2022-01-25T18:06:27.549Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-3864.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-25T18:06:27.633Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-25T18:06:27.967Z] ---> job-cost.sh [2022-01-25T18:06:27.967Z] lf-activate-venv: SKIPPING [2022-01-25T18:06:27.967Z] DEBUG: total: 0.05999999865889549 [2022-01-25T18:06:27.967Z] INFO: Retrieving Stack Cost... [2022-01-25T18:06:28.226Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-25T18:06:28.797Z] INFO: Archiving Costs [Pipeline] echo [2022-01-25T18:06:28.857Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-25T18:06:29.175Z] ---> logs-deploy.sh [2022-01-25T18:06:29.176Z] lf-activate-venv: SKIPPING [2022-01-25T18:06:29.176Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1087/1 [2022-01-25T18:06:29.176Z] INFO: archiving workspace using pattern(s): [2022-01-25T18:06:29.746Z] Archives upload complete. [2022-01-25T18:06:30.009Z] INFO: archiving logs to Nexus