Pull request #1045 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6944188b877e2ade48ac0988d8c98ba8f53b82e6+1be87f15213c05ab1957194b5dea87ff4eff74a4 (3a781c75a068305e5599fb43d30427edb02aacee) Running in Durability level: MAX_SURVIVABILITY 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-ssh4518474611852593422.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6e30de53e58ee600d2faf3c85e3282d6a9cdf22 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-ssh5456850950798746914.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 d6e30de53e58ee600d2faf3c85e3282d6a9cdf22 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-1045/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-1045/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6608132903451280458.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-1045/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3847402304147222894.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6e30de53e58ee600d2faf3c85e3282d6a9cdf22 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6e30de53e58ee600d2faf3c85e3282d6a9cdf22 # timeout=10 Commit message: "feat: implement new function to grab latest lts commit" > 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-ssh896449414751825097.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-1045/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-1045/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh574270660143950730.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 d6e30de53e58ee600d2faf3c85e3282d6a9cdf22 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1818 in /w/workspace/gexfoundry_device-sdk-go_PR-1045 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1045 # 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-1045@tmp/jenkins-gitclient-ssh3649813493331298945.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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-1045@tmp/jenkins-gitclient-ssh1267990693550429758.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1045/head:refs/remotes/origin/PR-1045 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1be87f15213c05ab1957194b5dea87ff4eff74a4 into PR head commit 6944188b877e2ade48ac0988d8c98ba8f53b82e6 Merge succeeded, producing 6944188b877e2ade48ac0988d8c98ba8f53b82e6 Checking out Revision 6944188b877e2ade48ac0988d8c98ba8f53b82e6 (PR-1045) > git config core.sparsecheckout # timeout=10 > git checkout -f 6944188b877e2ade48ac0988d8c98ba8f53b82e6 # 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-1045@tmp/jenkins-gitclient-ssh6264525555862397947.key > git merge 1be87f15213c05ab1957194b5dea87ff4eff74a4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6944188b877e2ade48ac0988d8c98ba8f53b82e6 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object d6e30de53e58ee600d2faf3c85e3282d6a9cdf22 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-26T04:08:53.753Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-26T04:08:53.893Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-26T04:08:53.985Z] ========================================================= [2021-10-26T04:08:53.985Z] EdgeX Global Pipelines Version Info [2021-10-26T04:08:53.985Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-26T04:08:55.196Z] ------------------- [2021-10-26T04:08:55.196Z] stable info: [2021-10-26T04:08:55.196Z] ------------------- [2021-10-26T04:08:55.196Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-26T04:08:55.196Z] Commit SHA: d6e30de53e58ee600d2faf3c85e3282d6a9cdf22 [2021-10-26T04:08:55.196Z] Message: testing jakarta lts changes [2021-10-26T04:08:55.774Z] ------------------- [2021-10-26T04:08:55.774Z] experimental info: [2021-10-26T04:08:55.774Z] ------------------- [2021-10-26T04:08:55.774Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-26T04:08:55.774Z] Commit SHA: d6e30de53e58ee600d2faf3c85e3282d6a9cdf22 [2021-10-26T04:08:55.774Z] Message: testing jakarta lts changes [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-26T04:08:55.939Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-10-26T04:08:55.982Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-10-26T04:08:56.019Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-26T04:08:56.054Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-26T04:08:56.087Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-26T04:08:56.125Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-26T04:08:56.162Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-10-26T04:08:56.199Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-10-26T04:08:56.232Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-26T04:08:56.290Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-26T04:08:56.324Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-26T04:08:56.356Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-10-26T04:08:56.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-26T04:08:56.431Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-26T04:08:56.465Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-26T04:08:56.497Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-26T04:08:56.534Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-26T04:08:56.570Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-26T04:08:56.604Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-26T04:08:56.641Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-26T04:08:56.676Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-26T04:08:56.714Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-26T04:08:56.754Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-26T04:08:56.793Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-26T04:08:56.827Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-26T04:08:56.862Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-26T04:08:56.898Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1045 [Pipeline] echo [2021-10-26T04:08:56.932Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1045 [Pipeline] echo [2021-10-26T04:08:56.969Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1045 [Pipeline] echo [2021-10-26T04:08:57.007Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6944188b877e2ade48ac0988d8c98ba8f53b82e6 [Pipeline] echo [2021-10-26T04:08:57.050Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6944188 [Pipeline] echo [2021-10-26T04:08:57.087Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-26T04:08:57.184Z] provisioning config files... [2021-10-26T04:08:57.198Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1045@tmp/config6822530848616832439tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-26T04:08:57.555Z] ---> docker-login.sh [2021-10-26T04:08:57.555Z] nexus3.edgexfoundry.org:10001 [2021-10-26T04:08:57.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-26T04:08:57.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-26T04:08:57.819Z] Configure a credential helper to remove this warning. See [2021-10-26T04:08:57.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-26T04:08:57.819Z] [2021-10-26T04:08:57.819Z] Login Succeeded [2021-10-26T04:08:57.819Z] nexus3.edgexfoundry.org:10002 [2021-10-26T04:08:57.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-26T04:08:57.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-26T04:08:57.819Z] Configure a credential helper to remove this warning. See [2021-10-26T04:08:57.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-26T04:08:57.819Z] [2021-10-26T04:08:57.819Z] Login Succeeded [2021-10-26T04:08:57.819Z] nexus3.edgexfoundry.org:10003 [2021-10-26T04:08:57.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-26T04:08:58.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-26T04:08:58.082Z] Configure a credential helper to remove this warning. See [2021-10-26T04:08:58.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-26T04:08:58.082Z] [2021-10-26T04:08:58.082Z] Login Succeeded [2021-10-26T04:08:58.082Z] nexus3.edgexfoundry.org:10004 [2021-10-26T04:08:58.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-26T04:08:58.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-26T04:08:58.082Z] Configure a credential helper to remove this warning. See [2021-10-26T04:08:58.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-26T04:08:58.082Z] [2021-10-26T04:08:58.082Z] Login Succeeded [2021-10-26T04:08:58.082Z] docker.io [2021-10-26T04:08:58.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-26T04:08:58.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-26T04:08:58.659Z] Configure a credential helper to remove this warning. See [2021-10-26T04:08:58.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-26T04:08:58.659Z] [2021-10-26T04:08:58.659Z] Login Succeeded [2021-10-26T04:08:58.659Z] ---> docker-login.sh ends [Pipeline] } [2021-10-26T04:08:58.680Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-10-26T04:08:59.303Z] + git rev-list -1 --merges 6944188b877e2ade48ac0988d8c98ba8f53b82e6~1..6944188b877e2ade48ac0988d8c98ba8f53b82e6 [Pipeline] echo [2021-10-26T04:08:59.360Z] -----------> git rev-list -1 --merges 6944188b877e2ade48ac0988d8c98ba8f53b82e6~1..6944188b877e2ade48ac0988d8c98ba8f53b82e6 6944188b877e2ade48ac0988d8c98ba8f53b82e6 [false] [Pipeline] sh [2021-10-26T04:08:59.674Z] + git log --format=format:%s -1 6944188b877e2ade48ac0988d8c98ba8f53b82e6 [Pipeline] echo [2021-10-26T04:08:59.701Z] ========================================================= [2021-10-26T04:08:59.701Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-10-26T04:08:59.701Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-26T04:09:00.099Z] + git log --format=format:%s -1 6944188b877e2ade48ac0988d8c98ba8f53b82e6 [Pipeline] echo [2021-10-26T04:09:00.128Z] [semverPrep] GIT_COMMIT: 6944188b877e2ade48ac0988d8c98ba8f53b82e6, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2021-10-26T04:09:00.156Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-26T04:09:00.791Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-26T04:09:00.791Z] [2021-10-26T04:09:00.791Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-26T04:09:01.149Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-26T04:09:01.149Z] latest: Pulling from edgex-devops/git-semver [2021-10-26T04:09:01.149Z] a0d0a0d46f8b: Pulling fs layer [2021-10-26T04:09:01.149Z] 3e5f54012d9b: Pulling fs layer [2021-10-26T04:09:01.149Z] 4c7163046ea9: Pulling fs layer [2021-10-26T04:09:01.149Z] 0c2d73faf560: Pulling fs layer [2021-10-26T04:09:01.149Z] 0c2d73faf560: Waiting [2021-10-26T04:09:01.149Z] 3e5f54012d9b: Verifying Checksum [2021-10-26T04:09:01.149Z] 3e5f54012d9b: Download complete [2021-10-26T04:09:01.149Z] a0d0a0d46f8b: Verifying Checksum [2021-10-26T04:09:01.149Z] a0d0a0d46f8b: Download complete [2021-10-26T04:09:01.149Z] 4c7163046ea9: Verifying Checksum [2021-10-26T04:09:01.149Z] 4c7163046ea9: Download complete [2021-10-26T04:09:01.418Z] 0c2d73faf560: Verifying Checksum [2021-10-26T04:09:01.418Z] 0c2d73faf560: Download complete [2021-10-26T04:09:01.418Z] a0d0a0d46f8b: Pull complete [2021-10-26T04:09:01.418Z] 3e5f54012d9b: Pull complete [2021-10-26T04:09:01.682Z] 4c7163046ea9: Pull complete [2021-10-26T04:09:01.944Z] 0c2d73faf560: Pull complete [2021-10-26T04:09:01.944Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-26T04:09:01.944Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-26T04:09:01.944Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-26T04:09:02.034Z] prd-centos7-docker-4c-2g-1818 does not seem to be running inside a container [2021-10-26T04:09:02.073Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1045 -v /w/workspace/gexfoundry_device-sdk-go_PR-1045:/w/workspace/gexfoundry_device-sdk-go_PR-1045:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1045@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1045@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-26T04:09:02.759Z] $ docker top 59ee6347bd7e7c901d1ab5cbc931a3390ea8834d89e6e1ee950b91f28f93e05d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-26T04:09:02.923Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-26T04:09:02.923Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-26T04:09:03.050Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-26T04:09:03.051Z] $ docker exec 59ee6347bd7e7c901d1ab5cbc931a3390ea8834d89e6e1ee950b91f28f93e05d ssh-agent [2021-10-26T04:09:03.172Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFphAaj/agent.14 [2021-10-26T04:09:03.172Z] SSH_AGENT_PID=20 [2021-10-26T04:09:03.180Z] Running ssh-add (command line suppressed) [2021-10-26T04:09:03.285Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1045@tmp/private_key_9071605571375419569.key (/w/workspace/gexfoundry_device-sdk-go_PR-1045@tmp/private_key_9071605571375419569.key) [2021-10-26T04:09:03.314Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-26T04:09:03.658Z] + git tag --points-at HEAD [Pipeline] } [2021-10-26T04:09:03.676Z] $ docker exec --env ******** --env ******** 59ee6347bd7e7c901d1ab5cbc931a3390ea8834d89e6e1ee950b91f28f93e05d ssh-agent -k [2021-10-26T04:09:03.773Z] unset SSH_AUTH_SOCK; [2021-10-26T04:09:03.773Z] unset SSH_AGENT_PID; [2021-10-26T04:09:03.773Z] echo Agent pid 20 killed; [2021-10-26T04:09:03.787Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-26T04:09:03.852Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-26T04:09:03.852Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-26T04:09:03.968Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-26T04:09:03.967Z] $ docker exec 59ee6347bd7e7c901d1ab5cbc931a3390ea8834d89e6e1ee950b91f28f93e05d ssh-agent [2021-10-26T04:09:04.076Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeKPNPp/agent.53 [2021-10-26T04:09:04.076Z] SSH_AGENT_PID=59 [2021-10-26T04:09:04.084Z] Running ssh-add (command line suppressed) [2021-10-26T04:09:04.197Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1045@tmp/private_key_7890138235227678469.key (/w/workspace/gexfoundry_device-sdk-go_PR-1045@tmp/private_key_7890138235227678469.key) [2021-10-26T04:09:04.217Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-26T04:09:04.536Z] + git semver init [2021-10-26T04:09:04.536Z] # -> Open(): unable to determine branch for HEAD [2021-10-26T04:09:04.536Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1045/.git [2021-10-26T04:09:04.536Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1045 [2021-10-26T04:09:04.536Z] # $SEMVER_REMOTE_NAME = origin [2021-10-26T04:09:04.536Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-26T04:09:04.536Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-26T04:09:04.536Z] # $SEMVER_BRANCH = PR-1045 [2021-10-26T04:09:04.536Z] # $SEMVER_TEMP = /tmp/semver-391492365 [2021-10-26T04:09:04.536Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-10-26T04:09:05.937Z] # '/tmp/semver-391492365' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1045/.semver' [2021-10-26T04:09:05.937Z] # -> Force: false [2021-10-26T04:09:05.937Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1045/.semver [Pipeline] } [2021-10-26T04:09:05.956Z] $ docker exec --env ******** --env ******** 59ee6347bd7e7c901d1ab5cbc931a3390ea8834d89e6e1ee950b91f28f93e05d ssh-agent -k [2021-10-26T04:09:06.055Z] unset SSH_AUTH_SOCK; [2021-10-26T04:09:06.056Z] unset SSH_AGENT_PID; [2021-10-26T04:09:06.056Z] echo Agent pid 59 killed; [2021-10-26T04:09:06.068Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-26T04:09:06.451Z] + git semver [Pipeline] } [2021-10-26T04:09:06.474Z] $ docker stop --time=1 59ee6347bd7e7c901d1ab5cbc931a3390ea8834d89e6e1ee950b91f28f93e05d [2021-10-26T04:09:07.745Z] $ docker rm -f 59ee6347bd7e7c901d1ab5cbc931a3390ea8834d89e6e1ee950b91f28f93e05d [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-26T04:09:08.172Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-26T04:09:08.474Z] Stashed 1 file(s) [Pipeline] echo [2021-10-26T04:09:08.488Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-10-26T04:09:23.849Z] Still waiting to schedule task [2021-10-26T04:09:23.849Z] ‘prd-centos7-docker-4c-2g-1820’ is offline [2021-10-26T04:09:23.849Z] ‘prd-centos7-docker-4c-2g-1821’ is offline [2021-10-26T04:09:23.849Z] ‘prd-ubuntu18.04-docker-8c-8g-1716’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-10-26T04:09:23.849Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1765’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-10-26T04:09:23.865Z] Still waiting to schedule task [2021-10-26T04:09:23.865Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1765’ is offline [2021-10-26T04:10:05.692Z] Running on prd-centos7-docker-4c-2g-1824 in /w/workspace/gexfoundry_device-sdk-go_PR-1045 [Pipeline] { [Pipeline] ws [2021-10-26T04:10:05.735Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-10-26T04:10:05.863Z] Selected Git installation does not exist. Using Default [2021-10-26T04:10:05.863Z] The recommended git tool is: NONE [2021-10-26T04:10:08.326Z] using credential edgex-jenkins-ssh [2021-10-26T04:10:08.337Z] Cloning the remote Git repository [2021-10-26T04:10:07.729Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-26T04:10:07.799Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-10-26T04:10:07.842Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-26T04:10:07.843Z] > git --version # timeout=10 [2021-10-26T04:10:07.853Z] > git --version # 'git version 2.24.4' [2021-10-26T04:10:07.854Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-26T04:10:07.879Z] [INFO] Currently running in a labeled security context [2021-10-26T04:10:07.879Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-26T04:10:07.879Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh4433680315140426987.key [2021-10-26T04:10:07.905Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-26T04:10:09.840Z] Merging remotes/origin/main commit 1be87f15213c05ab1957194b5dea87ff4eff74a4 into PR head commit 6944188b877e2ade48ac0988d8c98ba8f53b82e6 [2021-10-26T04:10:09.944Z] Merge succeeded, producing 6944188b877e2ade48ac0988d8c98ba8f53b82e6 [2021-10-26T04:10:09.944Z] Checking out Revision 6944188b877e2ade48ac0988d8c98ba8f53b82e6 (PR-1045) [2021-10-26T04:10:08.668Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-26T04:10:08.686Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-26T04:10:08.697Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-26T04:10:08.707Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-26T04:10:08.708Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-26T04:10:08.708Z] [INFO] Currently running in a labeled security context [2021-10-26T04:10:08.709Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-26T04:10:08.709Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh2131890925904909882.key [2021-10-26T04:10:08.716Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1045/head:refs/remotes/origin/PR-1045 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-26T04:10:09.204Z] > git config core.sparsecheckout # timeout=10 [2021-10-26T04:10:09.215Z] > git checkout -f 6944188b877e2ade48ac0988d8c98ba8f53b82e6 # timeout=10 [2021-10-26T04:10:09.255Z] > git remote # timeout=10 [2021-10-26T04:10:09.261Z] > git config --get remote.origin.url # timeout=10 [2021-10-26T04:10:09.266Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-26T04:10:09.267Z] [INFO] Currently running in a labeled security context [2021-10-26T04:10:09.267Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-26T04:10:09.267Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh1275382235171452000.key [2021-10-26T04:10:09.275Z] > git merge 1be87f15213c05ab1957194b5dea87ff4eff74a4 # timeout=10 [2021-10-26T04:10:09.286Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-26T04:10:09.303Z] > git config core.sparsecheckout # timeout=10 [2021-10-26T04:10:09.314Z] > git checkout -f 6944188b877e2ade48ac0988d8c98ba8f53b82e6 # timeout=10 [2021-10-26T04:10:13.541Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2021-10-26T04:10:13.088Z] > git --version # timeout=10 [2021-10-26T04:10:13.098Z] > git --version # 'git version 2.24.4' [2021-10-26T04:10:13.116Z] fatal: bad object d6e30de53e58ee600d2faf3c85e3282d6a9cdf22 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-26T04:10:14.172Z] provisioning config files... [2021-10-26T04:10:14.190Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6781090874274186465tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-26T04:10:14.602Z] ---> docker-login.sh [2021-10-26T04:10:14.602Z] nexus3.edgexfoundry.org:10001 [2021-10-26T04:10:14.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-26T04:10:14.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-26T04:10:14.602Z] Configure a credential helper to remove this warning. See [2021-10-26T04:10:14.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-26T04:10:14.602Z] [2021-10-26T04:10:14.602Z] Login Succeeded [2021-10-26T04:10:14.602Z] nexus3.edgexfoundry.org:10002 [2021-10-26T04:10:14.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-26T04:10:14.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-26T04:10:14.880Z] Configure a credential helper to remove this warning. See [2021-10-26T04:10:14.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-26T04:10:14.880Z] [2021-10-26T04:10:14.880Z] Login Succeeded [2021-10-26T04:10:14.880Z] nexus3.edgexfoundry.org:10003 [2021-10-26T04:10:14.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-26T04:10:14.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-26T04:10:14.880Z] Configure a credential helper to remove this warning. See [2021-10-26T04:10:14.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-26T04:10:14.880Z] [2021-10-26T04:10:14.880Z] Login Succeeded [2021-10-26T04:10:14.880Z] nexus3.edgexfoundry.org:10004 [2021-10-26T04:10:15.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-26T04:10:15.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-26T04:10:15.141Z] Configure a credential helper to remove this warning. See [2021-10-26T04:10:15.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-26T04:10:15.141Z] [2021-10-26T04:10:15.141Z] Login Succeeded [2021-10-26T04:10:15.141Z] docker.io [2021-10-26T04:10:15.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-26T04:10:15.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-26T04:10:15.402Z] Configure a credential helper to remove this warning. See [2021-10-26T04:10:15.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-26T04:10:15.402Z] [2021-10-26T04:10:15.402Z] Login Succeeded [2021-10-26T04:10:15.402Z] ---> docker-login.sh ends [Pipeline] } [2021-10-26T04:10:15.445Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-26T04:10:15.673Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-10-26T04:10:15.702Z] ========================================================= [2021-10-26T04:10:15.702Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-26T04:10:15.702Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-26T04:10:16.083Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-10-26T04:10:16.083Z] Sending build context to Docker daemon 2.717MB [2021-10-26T04:10:16.083Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-26T04:10:16.083Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-26T04:10:16.083Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-26T04:10:16.083Z] a0d0a0d46f8b: Pulling fs layer [2021-10-26T04:10:16.083Z] 31adcdaf11c8: Pulling fs layer [2021-10-26T04:10:16.083Z] b8b176561691: Pulling fs layer [2021-10-26T04:10:16.083Z] 4527c011a84f: Pulling fs layer [2021-10-26T04:10:16.083Z] 5d74067f8e1e: Pulling fs layer [2021-10-26T04:10:16.083Z] e0aca202a116: Pulling fs layer [2021-10-26T04:10:16.083Z] 3a43be97a3b4: Pulling fs layer [2021-10-26T04:10:16.083Z] 34cad66bf833: Pulling fs layer [2021-10-26T04:10:16.083Z] b4e3c513aaa6: Pulling fs layer [2021-10-26T04:10:16.083Z] e0aca202a116: Waiting [2021-10-26T04:10:16.083Z] 3a43be97a3b4: Waiting [2021-10-26T04:10:16.083Z] 34cad66bf833: Waiting [2021-10-26T04:10:16.083Z] b4e3c513aaa6: Waiting [2021-10-26T04:10:16.083Z] 4527c011a84f: Waiting [2021-10-26T04:10:16.083Z] 5d74067f8e1e: Waiting [2021-10-26T04:10:16.083Z] b8b176561691: Verifying Checksum [2021-10-26T04:10:16.083Z] b8b176561691: Download complete [2021-10-26T04:10:16.083Z] 31adcdaf11c8: Verifying Checksum [2021-10-26T04:10:16.083Z] 31adcdaf11c8: Download complete [2021-10-26T04:10:16.348Z] 5d74067f8e1e: Verifying Checksum [2021-10-26T04:10:16.348Z] 5d74067f8e1e: Download complete [2021-10-26T04:10:16.348Z] e0aca202a116: Verifying Checksum [2021-10-26T04:10:16.348Z] e0aca202a116: Download complete [2021-10-26T04:10:16.348Z] a0d0a0d46f8b: Verifying Checksum [2021-10-26T04:10:16.348Z] a0d0a0d46f8b: Download complete [2021-10-26T04:10:16.348Z] 3a43be97a3b4: Verifying Checksum [2021-10-26T04:10:16.348Z] 3a43be97a3b4: Download complete [2021-10-26T04:10:16.348Z] 34cad66bf833: Verifying Checksum [2021-10-26T04:10:16.348Z] 34cad66bf833: Download complete [2021-10-26T04:10:16.616Z] a0d0a0d46f8b: Pull complete [2021-10-26T04:10:16.894Z] 31adcdaf11c8: Pull complete [2021-10-26T04:10:16.894Z] 4527c011a84f: Verifying Checksum [2021-10-26T04:10:16.894Z] 4527c011a84f: Download complete [2021-10-26T04:10:16.894Z] b8b176561691: Pull complete [2021-10-26T04:10:17.166Z] b4e3c513aaa6: Verifying Checksum [2021-10-26T04:10:17.166Z] b4e3c513aaa6: Download complete [2021-10-26T04:10:21.421Z] 4527c011a84f: Pull complete [2021-10-26T04:10:21.421Z] 5d74067f8e1e: Pull complete [2021-10-26T04:10:21.421Z] e0aca202a116: Pull complete [2021-10-26T04:10:21.421Z] 3a43be97a3b4: Pull complete [2021-10-26T04:10:21.421Z] 34cad66bf833: Pull complete [2021-10-26T04:10:23.989Z] b4e3c513aaa6: Pull complete [2021-10-26T04:10:23.989Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-26T04:10:23.989Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-26T04:10:23.989Z] ---> 9f6097aaca64 [2021-10-26T04:10:23.989Z] Step 3/10 : ARG MAKE=make build [2021-10-26T04:10:25.927Z] ---> Running in 2cee52bcb410 [2021-10-26T04:10:25.927Z] Removing intermediate container 2cee52bcb410 [2021-10-26T04:10:25.927Z] ---> 3d9843e4010e [2021-10-26T04:10:25.927Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-26T04:10:25.927Z] ---> Running in 9cd11059feb8 [2021-10-26T04:10:25.927Z] Removing intermediate container 9cd11059feb8 [2021-10-26T04:10:25.927Z] ---> d50afdf17570 [2021-10-26T04:10:25.927Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-26T04:10:25.927Z] ---> Running in 8150b8ec8dab [2021-10-26T04:10:25.927Z] Removing intermediate container 8150b8ec8dab [2021-10-26T04:10:25.927Z] ---> b721031b9cb4 [2021-10-26T04:10:25.927Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-26T04:10:25.927Z] ---> Running in 3d5a827f440c [2021-10-26T04:10:26.499Z] Removing intermediate container 3d5a827f440c [2021-10-26T04:10:26.499Z] ---> f95217547322 [2021-10-26T04:10:26.499Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-26T04:10:26.499Z] ---> Running in 00b29ac4f8ee [2021-10-26T04:10:26.761Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-26T04:10:27.714Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-26T04:10:28.291Z] OK: 220 MiB in 52 packages [2021-10-26T04:10:28.291Z] Removing intermediate container 00b29ac4f8ee [2021-10-26T04:10:28.291Z] ---> 5f5fd8e22549 [2021-10-26T04:10:28.291Z] Step 8/10 : COPY . . [2021-10-26T04:10:28.554Z] ---> 613eb6ece662 [2021-10-26T04:10:28.554Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-26T04:10:28.554Z] ---> Running in ff78b87399d5 [2021-10-26T04:10:55.848Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1823 in /w/workspace/gexfoundry_device-sdk-go_PR-1045 [Pipeline] { [Pipeline] ws [2021-10-26T04:10:55.887Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-10-26T04:10:56.116Z] Selected Git installation does not exist. Using Default [2021-10-26T04:10:56.116Z] The recommended git tool is: NONE [2021-10-26T04:11:01.226Z] using credential edgex-jenkins-ssh [2021-10-26T04:11:01.260Z] Cloning the remote Git repository [2021-10-26T04:11:01.316Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-26T04:11:01.416Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-10-26T04:11:01.490Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-26T04:11:01.492Z] > git --version # timeout=10 [2021-10-26T04:11:01.510Z] > git --version # 'git version 2.17.1' [2021-10-26T04:11:01.512Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-26T04:11:01.573Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-26T04:11:03.767Z] Merging remotes/origin/main commit 1be87f15213c05ab1957194b5dea87ff4eff74a4 into PR head commit 6944188b877e2ade48ac0988d8c98ba8f53b82e6 [2021-10-26T04:11:03.984Z] Merge succeeded, producing 6944188b877e2ade48ac0988d8c98ba8f53b82e6 [2021-10-26T04:11:03.985Z] Checking out Revision 6944188b877e2ade48ac0988d8c98ba8f53b82e6 (PR-1045) [2021-10-26T04:11:03.078Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-26T04:11:03.102Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-26T04:11:03.127Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-26T04:11:03.163Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-26T04:11:03.164Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-26T04:11:03.178Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1045/head:refs/remotes/origin/PR-1045 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-26T04:11:03.790Z] > git config core.sparsecheckout # timeout=10 [2021-10-26T04:11:03.805Z] > git checkout -f 6944188b877e2ade48ac0988d8c98ba8f53b82e6 # timeout=10 [2021-10-26T04:11:03.911Z] > git remote # timeout=10 [2021-10-26T04:11:03.928Z] > git config --get remote.origin.url # timeout=10 [2021-10-26T04:11:03.941Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-26T04:11:03.952Z] > git merge 1be87f15213c05ab1957194b5dea87ff4eff74a4 # timeout=10 [2021-10-26T04:11:03.974Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-26T04:11:03.995Z] > git config core.sparsecheckout # timeout=10 [2021-10-26T04:11:04.006Z] > git checkout -f 6944188b877e2ade48ac0988d8c98ba8f53b82e6 # timeout=10 [2021-10-26T04:11:07.383Z] Removing intermediate container ff78b87399d5 [2021-10-26T04:11:07.383Z] ---> 9485ace45fd0 [2021-10-26T04:11:07.383Z] Step 10/10 : RUN ${MAKE} [2021-10-26T04:11:07.383Z] ---> Running in 1d8517dbf129 [2021-10-26T04:11:07.383Z] noop [2021-10-26T04:11:07.383Z] Removing intermediate container 1d8517dbf129 [2021-10-26T04:11:07.383Z] ---> f04d918c0394 [2021-10-26T04:11:07.383Z] Successfully built f04d918c0394 [2021-10-26T04:11:07.383Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-26T04:11:07.710Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-26T04:11:07.710Z] . [Pipeline] withDockerContainer [2021-10-26T04:11:07.796Z] prd-centos7-docker-4c-2g-1824 does not seem to be running inside a container [2021-10-26T04:11:07.833Z] $ 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 ******** ci-base-image-x86_64 cat [2021-10-26T04:11:08.191Z] $ docker top 04434741955a2036f4779b9030264d46f5619d52e6621b92238aa23369b98893 -eo pid,comm [Pipeline] { [2021-10-26T04:11:08.290Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [Pipeline] sh [2021-10-26T04:11:08.361Z] > git --version # timeout=10 [2021-10-26T04:11:08.375Z] > git --version # 'git version 2.17.1' [2021-10-26T04:11:08.390Z] fatal: bad object d6e30de53e58ee600d2faf3c85e3282d6a9cdf22 [2021-10-26T04:11:08.601Z] + go version [2021-10-26T04:11:08.601Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-26T04:11:08.627Z] $ docker stop --time=1 04434741955a2036f4779b9030264d46f5619d52e6621b92238aa23369b98893 [2021-10-26T04:11:09.808Z] $ docker rm -f 04434741955a2036f4779b9030264d46f5619d52e6621b92238aa23369b98893 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-26T04:11:10.498Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-26T04:11:10.498Z] . [Pipeline] withDockerContainer [2021-10-26T04:11:10.583Z] prd-centos7-docker-4c-2g-1824 does not seem to be running inside a container [2021-10-26T04:11:10.619Z] $ 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 ******** ci-base-image-x86_64 cat [2021-10-26T04:11:10.807Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-26T04:11:10.808Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-26T04:11:10.808Z] Dload Upload Total Spent Left Speed [2021-10-26T04:11:10.808Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 83858 0 --:--:-- --:--:-- --:--:-- 84457 [2021-10-26T04:11:10.972Z] $ docker top 11126b13196bc32b6deaca53ca02aded2b6c0562724e4001b091e7f7fd692e73 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] fileExists [Pipeline] sh [2021-10-26T04:11:11.435Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-26T04:11:11.518Z] + make test [2021-10-26T04:11:11.519Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-26T04:11:11.794Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2021-10-26T04:11:11.794Z] /etc/docker/daemon.json [2021-10-26T04:11:11.794Z] { [2021-10-26T04:11:11.794Z] "registry-mirrors": [ [2021-10-26T04:11:11.794Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-26T04:11:11.794Z] ], [2021-10-26T04:11:11.794Z] "bip": "10.250.0.254/24", [2021-10-26T04:11:11.794Z] "hosts": [ [2021-10-26T04:11:11.794Z] "tcp://0.0.0.0:5555", [2021-10-26T04:11:11.794Z] "unix:///var/run/docker.sock" [2021-10-26T04:11:11.794Z] ], [2021-10-26T04:11:11.794Z] "mtu": 1458, [2021-10-26T04:11:11.794Z] "selinux-enabled": true, [2021-10-26T04:11:11.794Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-26T04:11:11.794Z] } [Pipeline] sh [2021-10-26T04:11:12.146Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-26T04:11:12.525Z] + sudo service docker restart [2021-10-26T04:11:16.888Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-26T04:11:30.903Z] provisioning config files... [2021-10-26T04:11:30.934Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8708761139284397060tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-26T04:11:31.328Z] ---> docker-login.sh [2021-10-26T04:11:31.328Z] nexus3.edgexfoundry.org:10001 [2021-10-26T04:11:31.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-26T04:11:32.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-26T04:11:32.528Z] Configure a credential helper to remove this warning. See [2021-10-26T04:11:32.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-26T04:11:32.528Z] [2021-10-26T04:11:32.528Z] Login Succeeded [2021-10-26T04:11:32.528Z] nexus3.edgexfoundry.org:10002 [2021-10-26T04:11:32.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-26T04:11:33.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-26T04:11:33.081Z] Configure a credential helper to remove this warning. See [2021-10-26T04:11:33.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-26T04:11:33.081Z] [2021-10-26T04:11:33.081Z] Login Succeeded [2021-10-26T04:11:33.081Z] nexus3.edgexfoundry.org:10003 [2021-10-26T04:11:33.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-26T04:11:33.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-26T04:11:33.627Z] Configure a credential helper to remove this warning. See [2021-10-26T04:11:33.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-26T04:11:33.627Z] [2021-10-26T04:11:33.627Z] Login Succeeded [2021-10-26T04:11:33.627Z] nexus3.edgexfoundry.org:10004 [2021-10-26T04:11:33.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-26T04:11:34.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-26T04:11:34.180Z] Configure a credential helper to remove this warning. See [2021-10-26T04:11:34.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-26T04:11:34.180Z] [2021-10-26T04:11:34.180Z] Login Succeeded [2021-10-26T04:11:34.180Z] docker.io [2021-10-26T04:11:34.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-26T04:11:35.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-26T04:11:35.053Z] Configure a credential helper to remove this warning. See [2021-10-26T04:11:35.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-26T04:11:35.053Z] [2021-10-26T04:11:35.053Z] Login Succeeded [2021-10-26T04:11:35.053Z] ---> docker-login.sh ends [Pipeline] } [2021-10-26T04:11:35.088Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-26T04:11:36.884Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-10-26T04:11:36.913Z] ========================================================= [2021-10-26T04:11:36.913Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-26T04:11:36.913Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-26T04:11:37.387Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-10-26T04:11:37.992Z] Sending build context to Docker daemon 2.716MB [2021-10-26T04:11:37.992Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-26T04:11:37.992Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-26T04:11:38.267Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-26T04:11:38.267Z] 552d1f2373af: Pulling fs layer [2021-10-26T04:11:38.267Z] ea3f2d53f512: Pulling fs layer [2021-10-26T04:11:38.267Z] 9e70ebbbe112: Pulling fs layer [2021-10-26T04:11:38.267Z] 7a9cfe048b4a: Pulling fs layer [2021-10-26T04:11:38.267Z] 72dc09318566: Pulling fs layer [2021-10-26T04:11:38.267Z] f4f7b4309257: Pulling fs layer [2021-10-26T04:11:38.267Z] 0ac9a79272e3: Pulling fs layer [2021-10-26T04:11:38.267Z] b78e95d17946: Pulling fs layer [2021-10-26T04:11:38.267Z] 7a9cfe048b4a: Waiting [2021-10-26T04:11:38.267Z] 72dc09318566: Waiting [2021-10-26T04:11:38.267Z] f4f7b4309257: Waiting [2021-10-26T04:11:38.267Z] 0ac9a79272e3: Waiting [2021-10-26T04:11:38.267Z] b78e95d17946: Waiting [2021-10-26T04:11:38.267Z] 9e70ebbbe112: Verifying Checksum [2021-10-26T04:11:38.267Z] 9e70ebbbe112: Download complete [2021-10-26T04:11:38.267Z] ea3f2d53f512: Verifying Checksum [2021-10-26T04:11:38.267Z] ea3f2d53f512: Download complete [2021-10-26T04:11:38.267Z] 72dc09318566: Verifying Checksum [2021-10-26T04:11:38.267Z] 72dc09318566: Download complete [2021-10-26T04:11:38.267Z] f4f7b4309257: Download complete [2021-10-26T04:11:38.267Z] 552d1f2373af: Download complete [2021-10-26T04:11:38.267Z] 0ac9a79272e3: Verifying Checksum [2021-10-26T04:11:38.267Z] 0ac9a79272e3: Download complete [2021-10-26T04:11:39.259Z] 552d1f2373af: Pull complete [2021-10-26T04:11:39.867Z] ea3f2d53f512: Pull complete [2021-10-26T04:11:40.475Z] b78e95d17946: Verifying Checksum [2021-10-26T04:11:40.475Z] b78e95d17946: Download complete [2021-10-26T04:11:40.475Z] 9e70ebbbe112: Pull complete [2021-10-26T04:11:40.748Z] 7a9cfe048b4a: Verifying Checksum [2021-10-26T04:11:40.748Z] 7a9cfe048b4a: Download complete [2021-10-26T04:11:43.643Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-26T04:11:43.643Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-26T04:11:43.643Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-26T04:11:43.643Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.061s coverage: 23.8% of statements [2021-10-26T04:11:43.643Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-26T04:11:43.643Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.060s coverage: 28.1% of statements [2021-10-26T04:11:43.643Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.071s coverage: 78.9% of statements [2021-10-26T04:11:43.643Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.059s coverage: 9.0% of statements [2021-10-26T04:11:43.643Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-26T04:11:43.643Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-26T04:11:43.643Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-26T04:11:44.229Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.065s coverage: 28.7% of statements [2021-10-26T04:11:44.229Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-26T04:11:45.199Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.050s coverage: 83.3% of statements [2021-10-26T04:11:45.199Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-26T04:11:45.199Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-26T04:11:45.199Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.078s coverage: 57.8% of statements [2021-10-26T04:11:46.599Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.836s coverage: 88.8% of statements [2021-10-26T04:11:46.599Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-26T04:11:46.599Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.052s coverage: 4.9% of statements [2021-10-26T04:11:46.599Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-26T04:11:46.599Z] GO111MODULE=on go vet ./... [2021-10-26T04:11:50.936Z] 7a9cfe048b4a: Pull complete [2021-10-26T04:11:50.936Z] 72dc09318566: Pull complete [2021-10-26T04:11:50.936Z] f4f7b4309257: Pull complete [2021-10-26T04:11:51.209Z] 0ac9a79272e3: Pull complete [2021-10-26T04:11:57.952Z] b78e95d17946: Pull complete [2021-10-26T04:11:57.952Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-26T04:11:57.952Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-26T04:11:57.952Z] ---> 8b459fc5aaf0 [2021-10-26T04:11:57.952Z] Step 3/10 : ARG MAKE=make build [2021-10-26T04:11:58.931Z] ---> Running in ee12890e30bc [2021-10-26T04:11:59.214Z] Removing intermediate container ee12890e30bc [2021-10-26T04:11:59.214Z] ---> 9fe460cb8ed5 [2021-10-26T04:11:59.214Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-26T04:11:59.489Z] ---> Running in 631e6272bb4f [2021-10-26T04:11:59.762Z] Removing intermediate container 631e6272bb4f [2021-10-26T04:11:59.762Z] ---> 21aa55c1d6d1 [2021-10-26T04:11:59.762Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-26T04:12:00.038Z] ---> Running in a238b724148b [2021-10-26T04:12:00.638Z] Removing intermediate container a238b724148b [2021-10-26T04:12:00.638Z] ---> 2326bb42f228 [2021-10-26T04:12:00.638Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-26T04:12:00.638Z] ---> Running in 82952a0526dd [2021-10-26T04:12:02.624Z] Removing intermediate container 82952a0526dd [2021-10-26T04:12:02.624Z] ---> 01fbf413c9d4 [2021-10-26T04:12:02.624Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-26T04:12:02.906Z] ---> Running in d879d18b169a [2021-10-26T04:12:03.885Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-26T04:12:04.862Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-26T04:12:05.844Z] OK: 219 MiB in 52 packages [2021-10-26T04:12:06.452Z] Removing intermediate container d879d18b169a [2021-10-26T04:12:06.452Z] ---> 65079c091607 [2021-10-26T04:12:06.452Z] Step 8/10 : COPY . . [2021-10-26T04:12:07.917Z] ---> 43e67e7304e7 [2021-10-26T04:12:07.917Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-26T04:12:07.917Z] ---> Running in 5a15c5f08ca6 [2021-10-26T04:12:08.675Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-26T04:12:08.676Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-26T04:12:08.676Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-26T04:12:08.700Z] $ docker stop --time=1 11126b13196bc32b6deaca53ca02aded2b6c0562724e4001b091e7f7fd692e73 [2021-10-26T04:12:10.218Z] $ docker rm -f 11126b13196bc32b6deaca53ca02aded2b6c0562724e4001b091e7f7fd692e73 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-26T04:12:10.750Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-26T04:12:10.980Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-26T04:12:12.620Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-26T04:12:12.935Z] + ls -al . [2021-10-26T04:12:12.935Z] total 264 [2021-10-26T04:12:12.935Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 26 04:12 . [2021-10-26T04:12:12.935Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 26 04:10 .. [2021-10-26T04:12:12.935Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 26 04:10 bin [2021-10-26T04:12:12.935Z] -rw-rw-r--. 1 jenkins jenkins 24816 Oct 26 04:10 CHANGELOG.md [2021-10-26T04:12:12.935Z] -rw-r--r--. 1 jenkins jenkins 126786 Oct 26 04:11 coverage.out [2021-10-26T04:12:12.935Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 26 04:10 .dockerignore [2021-10-26T04:12:12.935Z] drwxrwxr-x. 5 jenkins jenkins 62 Oct 26 04:10 example [2021-10-26T04:12:12.935Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 26 04:10 .git [2021-10-26T04:12:12.935Z] drwxrwxr-x. 3 jenkins jenkins 125 Oct 26 04:10 .github [2021-10-26T04:12:12.935Z] -rw-rw-r--. 1 jenkins jenkins 131 Oct 26 04:10 .gitignore [2021-10-26T04:12:12.935Z] -rw-rw-r--. 1 jenkins jenkins 602 Oct 26 04:10 go.mod [2021-10-26T04:12:12.935Z] -rw-rw-r--. 1 jenkins jenkins 49868 Oct 26 04:10 go.sum [2021-10-26T04:12:12.935Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 26 04:10 GOVERNANCE.md [2021-10-26T04:12:12.935Z] drwxrwxr-x. 15 jenkins jenkins 224 Oct 26 04:10 internal [2021-10-26T04:12:12.935Z] -rw-rw-r--. 1 jenkins jenkins 880 Oct 26 04:10 Jenkinsfile [2021-10-26T04:12:12.935Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 26 04:10 LICENSE [2021-10-26T04:12:12.935Z] -rw-rw-r--. 1 jenkins jenkins 1120 Oct 26 04:10 Makefile [2021-10-26T04:12:12.935Z] drwxrwxr-x. 3 jenkins jenkins 16 Oct 26 04:10 openapi [2021-10-26T04:12:12.935Z] -rw-rw-r--. 1 jenkins jenkins 619 Oct 26 04:10 OWNERS.md [2021-10-26T04:12:12.935Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 26 04:10 pkg [2021-10-26T04:12:12.935Z] -rw-rw-r--. 1 jenkins jenkins 4877 Oct 26 04:10 README.md [2021-10-26T04:12:12.935Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 26 04:10 snap [2021-10-26T04:12:12.935Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 26 04:09 VERSION [2021-10-26T04:12:12.935Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 26 04:10 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-26T04:12:13.264Z] + 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=6944188b877e2ade48ac0988d8c98ba8f53b82e6 --label arch=amd64 --label version=0.0.0 . [2021-10-26T04:12:13.265Z] Sending build context to Docker daemon 2.845MB [2021-10-26T04:12:13.265Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-26T04:12:13.265Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-26T04:12:13.265Z] ---> f04d918c0394 [2021-10-26T04:12:13.265Z] Step 3/24 : ARG MAKE=make build [2021-10-26T04:12:13.265Z] ---> Running in db3c36139021 [2021-10-26T04:12:13.527Z] Removing intermediate container db3c36139021 [2021-10-26T04:12:13.527Z] ---> 7d5c4b422df2 [2021-10-26T04:12:13.527Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-26T04:12:13.527Z] ---> Running in 026e4dbbf509 [2021-10-26T04:12:13.527Z] Removing intermediate container 026e4dbbf509 [2021-10-26T04:12:13.527Z] ---> 8903b639b9df [2021-10-26T04:12:13.527Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-26T04:12:13.527Z] ---> Running in beb780fab833 [2021-10-26T04:12:13.798Z] Removing intermediate container beb780fab833 [2021-10-26T04:12:13.798Z] ---> 9b422fa054d3 [2021-10-26T04:12:13.798Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-26T04:12:13.798Z] ---> Running in 05c08a22e6e3 [2021-10-26T04:12:14.059Z] Removing intermediate container 05c08a22e6e3 [2021-10-26T04:12:14.059Z] ---> e39a04a3039d [2021-10-26T04:12:14.059Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-26T04:12:14.321Z] ---> Running in 8bbe027cea7a [2021-10-26T04:12:14.591Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-26T04:12:15.538Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-26T04:12:15.800Z] OK: 220 MiB in 52 packages [2021-10-26T04:12:16.068Z] Removing intermediate container 8bbe027cea7a [2021-10-26T04:12:16.068Z] ---> fda318773205 [2021-10-26T04:12:16.068Z] Step 8/24 : COPY . . [2021-10-26T04:12:16.330Z] ---> 8fa63ba28965 [2021-10-26T04:12:16.330Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-26T04:12:16.330Z] ---> Running in 35f375fedbe8 [2021-10-26T04:12:16.901Z] Removing intermediate container 35f375fedbe8 [2021-10-26T04:12:16.901Z] ---> 96897498a6a2 [2021-10-26T04:12:16.901Z] Step 10/24 : RUN ${MAKE} [2021-10-26T04:12:16.901Z] ---> Running in 7c26e30f2af5 [2021-10-26T04:12:17.163Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-26T04:12:29.580Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-26T04:12:29.839Z] Removing intermediate container 7c26e30f2af5 [2021-10-26T04:12:29.839Z] ---> 5f5e1ce5afae [2021-10-26T04:12:29.839Z] Step 11/24 : FROM alpine:3.14 [2021-10-26T04:12:30.418Z] 3.14: Pulling from library/alpine [2021-10-26T04:12:30.677Z] a0d0a0d46f8b: Already exists [2021-10-26T04:12:30.677Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-26T04:12:30.677Z] Status: Downloaded newer image for alpine:3.14 [2021-10-26T04:12:30.677Z] ---> 14119a10abf4 [2021-10-26T04:12:30.677Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-26T04:12:30.677Z] ---> Running in 1c5c71718072 [2021-10-26T04:12:30.940Z] Removing intermediate container 1c5c71718072 [2021-10-26T04:12:30.940Z] ---> 819108e9b7a1 [2021-10-26T04:12:30.940Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-26T04:12:30.940Z] ---> Running in f9007c0b96b6 [2021-10-26T04:12:31.201Z] Removing intermediate container f9007c0b96b6 [2021-10-26T04:12:31.201Z] ---> f6aaed820f72 [2021-10-26T04:12:31.201Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-26T04:12:31.466Z] ---> Running in e816b5d06b9e [2021-10-26T04:12:31.729Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-26T04:12:32.674Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-26T04:12:32.936Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-26T04:12:32.936Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-26T04:12:32.936Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-26T04:12:33.210Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-26T04:12:33.210Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-26T04:12:33.210Z] Executing busybox-1.33.1-r3.trigger [2021-10-26T04:12:33.210Z] OK: 8 MiB in 19 packages [2021-10-26T04:12:33.473Z] Removing intermediate container e816b5d06b9e [2021-10-26T04:12:33.473Z] ---> ec945bf7d79d [2021-10-26T04:12:33.473Z] Step 15/24 : WORKDIR / [2021-10-26T04:12:33.735Z] ---> Running in 3d1811498155 [2021-10-26T04:12:33.735Z] Removing intermediate container 3d1811498155 [2021-10-26T04:12:33.735Z] ---> d26ab7df4857 [2021-10-26T04:12:33.735Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-26T04:12:33.735Z] ---> 03255f74ea05 [2021-10-26T04:12:33.735Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-26T04:12:34.310Z] ---> 0aa91d0ee9c8 [2021-10-26T04:12:34.310Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-26T04:12:34.310Z] ---> e22e0f517187 [2021-10-26T04:12:34.310Z] Step 19/24 : EXPOSE 59999 [2021-10-26T04:12:34.310Z] ---> Running in b5092fdb19c0 [2021-10-26T04:12:34.570Z] Removing intermediate container b5092fdb19c0 [2021-10-26T04:12:34.570Z] ---> 4d92525eca1f [2021-10-26T04:12:34.570Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-26T04:12:34.570Z] ---> Running in ab86b57e388d [2021-10-26T04:12:34.570Z] Removing intermediate container ab86b57e388d [2021-10-26T04:12:34.570Z] ---> 0dcbdd8f4331 [2021-10-26T04:12:34.570Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-26T04:12:34.570Z] ---> Running in b90b3f11940b [2021-10-26T04:12:34.570Z] Removing intermediate container b90b3f11940b [2021-10-26T04:12:34.570Z] ---> e45d01273645 [2021-10-26T04:12:34.570Z] Step 22/24 : LABEL arch=amd64 [2021-10-26T04:12:34.833Z] ---> Running in d7e573ebce25 [2021-10-26T04:12:34.833Z] Removing intermediate container d7e573ebce25 [2021-10-26T04:12:34.833Z] ---> 801387fcea2b [2021-10-26T04:12:34.833Z] Step 23/24 : LABEL git_sha=6944188b877e2ade48ac0988d8c98ba8f53b82e6 [2021-10-26T04:12:34.833Z] ---> Running in 2cc527ba0c66 [2021-10-26T04:12:34.833Z] Removing intermediate container 2cc527ba0c66 [2021-10-26T04:12:34.833Z] ---> 89dcc7e8c992 [2021-10-26T04:12:34.833Z] Step 24/24 : LABEL version=0.0.0 [2021-10-26T04:12:34.833Z] ---> Running in f6469312d9b5 [2021-10-26T04:12:35.093Z] Removing intermediate container f6469312d9b5 [2021-10-26T04:12:35.093Z] ---> 2fcadbc9cff5 [2021-10-26T04:12:35.093Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-26T04:12:35.093Z] Successfully built 2fcadbc9cff5 [2021-10-26T04:12:35.093Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-26T04:12:35.926Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-26T04:12:35.926Z] [2021-10-26T04:12:35.926Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-26T04:12:36.260Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-26T04:12:36.261Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-26T04:12:36.261Z] b4d181a07f80: Pulling fs layer [2021-10-26T04:12:36.261Z] a1111a8f2ec3: Pulling fs layer [2021-10-26T04:12:36.261Z] ed53099fbce6: Pulling fs layer [2021-10-26T04:12:36.261Z] dc539afda2c1: Pulling fs layer [2021-10-26T04:12:36.261Z] 77bc0d833cb6: Pulling fs layer [2021-10-26T04:12:36.261Z] 9065ff56babe: Pulling fs layer [2021-10-26T04:12:36.261Z] d287ab97295c: Pulling fs layer [2021-10-26T04:12:36.261Z] 77bc0d833cb6: Waiting [2021-10-26T04:12:36.261Z] 9065ff56babe: Waiting [2021-10-26T04:12:36.261Z] d287ab97295c: Waiting [2021-10-26T04:12:36.261Z] dc539afda2c1: Waiting [2021-10-26T04:12:36.261Z] a1111a8f2ec3: Verifying Checksum [2021-10-26T04:12:36.261Z] a1111a8f2ec3: Download complete [2021-10-26T04:12:36.261Z] dc539afda2c1: Verifying Checksum [2021-10-26T04:12:36.261Z] dc539afda2c1: Download complete [2021-10-26T04:12:36.261Z] ed53099fbce6: Verifying Checksum [2021-10-26T04:12:36.261Z] ed53099fbce6: Download complete [2021-10-26T04:12:36.261Z] 77bc0d833cb6: Verifying Checksum [2021-10-26T04:12:36.261Z] 77bc0d833cb6: Download complete [2021-10-26T04:12:36.261Z] 9065ff56babe: Verifying Checksum [2021-10-26T04:12:36.261Z] 9065ff56babe: Download complete [2021-10-26T04:12:36.526Z] b4d181a07f80: Verifying Checksum [2021-10-26T04:12:36.526Z] b4d181a07f80: Download complete [2021-10-26T04:12:37.108Z] d287ab97295c: Verifying Checksum [2021-10-26T04:12:37.108Z] d287ab97295c: Download complete [2021-10-26T04:12:38.061Z] b4d181a07f80: Pull complete [2021-10-26T04:12:38.061Z] a1111a8f2ec3: Pull complete [2021-10-26T04:12:38.639Z] ed53099fbce6: Pull complete [2021-10-26T04:12:38.639Z] dc539afda2c1: Pull complete [2021-10-26T04:12:38.900Z] 77bc0d833cb6: Pull complete [2021-10-26T04:12:38.900Z] 9065ff56babe: Pull complete [2021-10-26T04:12:44.235Z] d287ab97295c: Pull complete [2021-10-26T04:12:44.235Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-26T04:12:44.235Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-26T04:12:44.235Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-26T04:12:44.324Z] prd-centos7-docker-4c-2g-1824 does not seem to be running inside a container [2021-10-26T04:12:44.370Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-26T04:12:46.769Z] $ docker top 9956cb26bf649966fc66f99090513e269caec5c54cdad4f6449732c1c6d996ab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-26T04:12:47.217Z] ---> job-cost.sh [2021-10-26T04:12:47.217Z] lf-activate-venv: SKIPPING [2021-10-26T04:12:47.217Z] INFO: No Stack... [2021-10-26T04:12:48.167Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-26T04:12:48.168Z] INFO: Archiving Costs [Pipeline] sh [2021-10-26T04:12:48.481Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-10-26T04:12:48.481Z] + cut -d, -f6 [Pipeline] lock [2021-10-26T04:12:48.527Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1045-1-stack-cost] [2021-10-26T04:12:48.532Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1045-1-stack-cost] did not exist. Created. [2021-10-26T04:12:48.532Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1045-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-26T04:12:48.918Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-26T04:12:48.966Z] Stashed 1 file(s) [Pipeline] } [2021-10-26T04:12:48.986Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1045-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-26T04:12:49.054Z] $ docker stop --time=1 9956cb26bf649966fc66f99090513e269caec5c54cdad4f6449732c1c6d996ab [2021-10-26T04:12:50.190Z] $ docker rm -f 9956cb26bf649966fc66f99090513e269caec5c54cdad4f6449732c1c6d996ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-26T04:13:29.737Z] Removing intermediate container 5a15c5f08ca6 [2021-10-26T04:13:29.737Z] ---> b4aea1846108 [2021-10-26T04:13:29.737Z] Step 10/10 : RUN ${MAKE} [2021-10-26T04:13:29.737Z] ---> Running in 74c4da70a677 [2021-10-26T04:13:29.737Z] noop [2021-10-26T04:13:29.737Z] Removing intermediate container 74c4da70a677 [2021-10-26T04:13:29.737Z] ---> ae07afd2ceed [2021-10-26T04:13:29.737Z] Successfully built ae07afd2ceed [2021-10-26T04:13:29.737Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-26T04:13:30.107Z] + docker inspect -f . ci-base-image-arm64 [2021-10-26T04:13:30.107Z] . [Pipeline] withDockerContainer [2021-10-26T04:13:30.415Z] prd-ubuntu18.04-docker-arm64-4c-16g-1823 does not seem to be running inside a container [2021-10-26T04:13:30.502Z] $ 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 ******** ci-base-image-arm64 cat [2021-10-26T04:13:32.195Z] $ docker top cd6ff09c0c383a23c3d84459c7ada49ac184451abd636027ccce3a75dac27237 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-26T04:13:33.279Z] + go version [2021-10-26T04:13:33.279Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-26T04:13:33.312Z] $ docker stop --time=1 cd6ff09c0c383a23c3d84459c7ada49ac184451abd636027ccce3a75dac27237 [2021-10-26T04:13:35.166Z] $ docker rm -f cd6ff09c0c383a23c3d84459c7ada49ac184451abd636027ccce3a75dac27237 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-26T04:13:36.100Z] + docker inspect -f . ci-base-image-arm64 [2021-10-26T04:13:36.100Z] . [Pipeline] withDockerContainer [2021-10-26T04:13:36.381Z] prd-ubuntu18.04-docker-arm64-4c-16g-1823 does not seem to be running inside a container [2021-10-26T04:13:36.477Z] $ 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 ******** ci-base-image-arm64 cat [2021-10-26T04:13:38.212Z] $ docker top a3b350b412c691a98f3d6a3626cdbb2fed1da72a0ed7e9f79178b6d7c2ecda79 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-26T04:13:39.325Z] + make test [2021-10-26T04:13:39.325Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-26T04:14:11.768Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-26T04:15:33.626Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-26T04:15:33.626Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-26T04:15:33.626Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-26T04:15:40.386Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.366s coverage: 23.8% of statements [2021-10-26T04:15:40.386Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-26T04:15:40.386Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.260s coverage: 28.1% of statements [2021-10-26T04:15:40.386Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.291s coverage: 78.9% of statements [2021-10-26T04:15:40.386Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.231s coverage: 9.0% of statements [2021-10-26T04:15:40.386Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-26T04:15:40.386Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-26T04:15:40.386Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-26T04:15:41.844Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.373s coverage: 28.7% of statements [2021-10-26T04:15:41.844Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-26T04:15:44.486Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.297s coverage: 83.3% of statements [2021-10-26T04:15:44.486Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-26T04:15:44.486Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-26T04:15:44.486Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.442s coverage: 57.8% of statements [2021-10-26T04:15:46.505Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.495s coverage: 88.8% of statements [2021-10-26T04:15:46.505Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-26T04:15:47.103Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.226s coverage: 4.9% of statements [2021-10-26T04:15:47.103Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-26T04:15:47.701Z] GO111MODULE=on go vet ./... [2021-10-26T04:17:09.881Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-26T04:17:09.881Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-26T04:17:09.881Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-26T04:17:09.907Z] $ docker stop --time=1 a3b350b412c691a98f3d6a3626cdbb2fed1da72a0ed7e9f79178b6d7c2ecda79 [2021-10-26T04:17:11.920Z] $ docker rm -f a3b350b412c691a98f3d6a3626cdbb2fed1da72a0ed7e9f79178b6d7c2ecda79 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-26T04:17:13.400Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-26T04:17:13.438Z] Warning: overwriting stash ‘coverage-report’ [2021-10-26T04:17:14.354Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-26T04:17:15.015Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-26T04:17:15.385Z] + ls -al . [2021-10-26T04:17:15.385Z] total 300 [2021-10-26T04:17:15.385Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 04:17 . [2021-10-26T04:17:15.385Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 04:11 .. [2021-10-26T04:17:15.385Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 04:11 .dockerignore [2021-10-26T04:17:15.385Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 04:11 .git [2021-10-26T04:17:15.385Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 04:11 .github [2021-10-26T04:17:15.385Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 26 04:11 .gitignore [2021-10-26T04:17:15.385Z] -rw-rw-r-- 1 jenkins jenkins 24816 Oct 26 04:11 CHANGELOG.md [2021-10-26T04:17:15.385Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 04:11 GOVERNANCE.md [2021-10-26T04:17:15.385Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 26 04:11 Jenkinsfile [2021-10-26T04:17:15.385Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 26 04:11 LICENSE [2021-10-26T04:17:15.385Z] -rw-rw-r-- 1 jenkins jenkins 1120 Oct 26 04:11 Makefile [2021-10-26T04:17:15.385Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 26 04:11 OWNERS.md [2021-10-26T04:17:15.385Z] -rw-rw-r-- 1 jenkins jenkins 4877 Oct 26 04:11 README.md [2021-10-26T04:17:15.385Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 04:09 VERSION [2021-10-26T04:17:15.385Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 04:11 bin [2021-10-26T04:17:15.385Z] -rw-r--r-- 1 jenkins jenkins 126785 Oct 26 04:15 coverage.out [2021-10-26T04:17:15.385Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 26 04:11 example [2021-10-26T04:17:15.385Z] -rw-rw-r-- 1 jenkins jenkins 602 Oct 26 04:11 go.mod [2021-10-26T04:17:15.385Z] -rw-rw-r-- 1 jenkins jenkins 49868 Oct 26 04:11 go.sum [2021-10-26T04:17:15.385Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 26 04:11 internal [2021-10-26T04:17:15.385Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 04:11 openapi [2021-10-26T04:17:15.385Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 26 04:11 pkg [2021-10-26T04:17:15.385Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 04:11 snap [2021-10-26T04:17:15.385Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 26 04:11 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-26T04:17:15.755Z] + 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=6944188b877e2ade48ac0988d8c98ba8f53b82e6 --label arch=arm64 --label version=0.0.0 . [2021-10-26T04:17:16.352Z] Sending build context to Docker daemon 2.844MB [2021-10-26T04:17:16.352Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-26T04:17:16.352Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-26T04:17:16.352Z] ---> ae07afd2ceed [2021-10-26T04:17:16.352Z] Step 3/24 : ARG MAKE=make build [2021-10-26T04:17:16.628Z] ---> Running in 5d2872c5753b [2021-10-26T04:17:17.231Z] Removing intermediate container 5d2872c5753b [2021-10-26T04:17:17.231Z] ---> 444325c995cb [2021-10-26T04:17:17.231Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-26T04:17:17.231Z] ---> Running in 9a6dedcab6ee [2021-10-26T04:17:17.828Z] Removing intermediate container 9a6dedcab6ee [2021-10-26T04:17:17.828Z] ---> 087adab622d4 [2021-10-26T04:17:17.828Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-26T04:17:17.828Z] ---> Running in d1a45cbc9beb [2021-10-26T04:17:18.432Z] Removing intermediate container d1a45cbc9beb [2021-10-26T04:17:18.432Z] ---> 740b237f9812 [2021-10-26T04:17:18.432Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-26T04:17:18.432Z] ---> Running in 8588aba27e79 [2021-10-26T04:17:21.070Z] Removing intermediate container 8588aba27e79 [2021-10-26T04:17:21.070Z] ---> a987bfd6201b [2021-10-26T04:17:21.070Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-26T04:17:21.070Z] ---> Running in 25b91451ac72 [2021-10-26T04:17:22.053Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-26T04:17:23.036Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-26T04:17:24.480Z] OK: 219 MiB in 52 packages [2021-10-26T04:17:25.463Z] Removing intermediate container 25b91451ac72 [2021-10-26T04:17:25.463Z] ---> 8a9137ae19dd [2021-10-26T04:17:25.463Z] Step 8/24 : COPY . . [2021-10-26T04:17:26.899Z] ---> 2bbb5ee97325 [2021-10-26T04:17:26.899Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-26T04:17:26.899Z] ---> Running in 3ef8358eae2d [2021-10-26T04:17:29.533Z] Removing intermediate container 3ef8358eae2d [2021-10-26T04:17:29.533Z] ---> 14da10fd9640 [2021-10-26T04:17:29.533Z] Step 10/24 : RUN ${MAKE} [2021-10-26T04:17:29.533Z] ---> Running in 7834500a1827 [2021-10-26T04:17:30.979Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-26T04:18:18.015Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-26T04:18:18.015Z] Removing intermediate container 7834500a1827 [2021-10-26T04:18:18.015Z] ---> 593f8cbfe714 [2021-10-26T04:18:18.015Z] Step 11/24 : FROM alpine:3.14 [2021-10-26T04:18:18.015Z] 3.14: Pulling from library/alpine [2021-10-26T04:18:18.015Z] 552d1f2373af: Already exists [2021-10-26T04:18:18.015Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-26T04:18:18.015Z] Status: Downloaded newer image for alpine:3.14 [2021-10-26T04:18:18.015Z] ---> bb3de5531c18 [2021-10-26T04:18:18.015Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-26T04:18:18.015Z] ---> Running in a868e35b3a13 [2021-10-26T04:18:18.015Z] Removing intermediate container a868e35b3a13 [2021-10-26T04:18:18.015Z] ---> f41217f6d3ec [2021-10-26T04:18:18.015Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-26T04:18:18.015Z] ---> Running in f52a56654b68 [2021-10-26T04:18:19.457Z] Removing intermediate container f52a56654b68 [2021-10-26T04:18:19.457Z] ---> d8d0a4868db3 [2021-10-26T04:18:19.457Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-26T04:18:19.457Z] ---> Running in 97a040241d39 [2021-10-26T04:18:20.892Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-26T04:18:21.877Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-26T04:18:22.478Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-26T04:18:22.478Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-26T04:18:22.753Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-26T04:18:22.753Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-26T04:18:23.031Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-26T04:18:23.031Z] Executing busybox-1.33.1-r3.trigger [2021-10-26T04:18:23.031Z] OK: 8 MiB in 19 packages [2021-10-26T04:18:24.014Z] Removing intermediate container 97a040241d39 [2021-10-26T04:18:24.014Z] ---> 3cf36592c84e [2021-10-26T04:18:24.014Z] Step 15/24 : WORKDIR / [2021-10-26T04:18:24.287Z] ---> Running in 814ca5c7bf3b [2021-10-26T04:18:24.564Z] Removing intermediate container 814ca5c7bf3b [2021-10-26T04:18:24.564Z] ---> 16bfbf8f8306 [2021-10-26T04:18:24.564Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-26T04:18:25.544Z] ---> f71a26fc2866 [2021-10-26T04:18:25.544Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-26T04:18:26.973Z] ---> 344f2784782e [2021-10-26T04:18:26.973Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-26T04:18:27.569Z] ---> 342e5df1e6af [2021-10-26T04:18:27.569Z] Step 19/24 : EXPOSE 59999 [2021-10-26T04:18:27.569Z] ---> Running in 670f2135876b [2021-10-26T04:18:28.179Z] Removing intermediate container 670f2135876b [2021-10-26T04:18:28.179Z] ---> a4860c2ab2e7 [2021-10-26T04:18:28.179Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-26T04:18:28.179Z] ---> Running in 68739d5e36ba [2021-10-26T04:18:28.781Z] Removing intermediate container 68739d5e36ba [2021-10-26T04:18:28.781Z] ---> f8f210a783ff [2021-10-26T04:18:28.781Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-26T04:18:28.781Z] ---> Running in 459d9ac08b74 [2021-10-26T04:18:29.379Z] Removing intermediate container 459d9ac08b74 [2021-10-26T04:18:29.379Z] ---> a15d464ee6df [2021-10-26T04:18:29.379Z] Step 22/24 : LABEL arch=arm64 [2021-10-26T04:18:29.379Z] ---> Running in 80e187be0ec6 [2021-10-26T04:18:29.656Z] Removing intermediate container 80e187be0ec6 [2021-10-26T04:18:29.656Z] ---> 3880d50713ac [2021-10-26T04:18:29.656Z] Step 23/24 : LABEL git_sha=6944188b877e2ade48ac0988d8c98ba8f53b82e6 [2021-10-26T04:18:29.929Z] ---> Running in 7c941e05591b [2021-10-26T04:18:30.201Z] Removing intermediate container 7c941e05591b [2021-10-26T04:18:30.201Z] ---> 20b715c905d1 [2021-10-26T04:18:30.201Z] Step 24/24 : LABEL version=0.0.0 [2021-10-26T04:18:30.475Z] ---> Running in 2ca4d3311ae7 [2021-10-26T04:18:30.749Z] Removing intermediate container 2ca4d3311ae7 [2021-10-26T04:18:30.749Z] ---> 28ddcbeba6ff [2021-10-26T04:18:30.749Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-26T04:18:31.021Z] Successfully built 28ddcbeba6ff [2021-10-26T04:18:31.021Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-26T04:18:33.170Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-26T04:18:33.445Z] [2021-10-26T04:18:33.445Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-26T04:18:33.828Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-26T04:18:34.105Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-26T04:18:34.105Z] 448f6bf000e3: Pulling fs layer [2021-10-26T04:18:34.105Z] f757da607395: Pulling fs layer [2021-10-26T04:18:34.105Z] 05883995daec: Pulling fs layer [2021-10-26T04:18:34.105Z] 8603b9c90790: Pulling fs layer [2021-10-26T04:18:34.105Z] 1560dd03e051: Pulling fs layer [2021-10-26T04:18:34.105Z] 27f5ce0e4adf: Pulling fs layer [2021-10-26T04:18:34.105Z] c2d8d7efcc4b: Pulling fs layer [2021-10-26T04:18:34.105Z] 8603b9c90790: Waiting [2021-10-26T04:18:34.105Z] 1560dd03e051: Waiting [2021-10-26T04:18:34.105Z] 27f5ce0e4adf: Waiting [2021-10-26T04:18:34.105Z] c2d8d7efcc4b: Waiting [2021-10-26T04:18:34.105Z] f757da607395: Verifying Checksum [2021-10-26T04:18:34.105Z] f757da607395: Download complete [2021-10-26T04:18:34.105Z] 8603b9c90790: Verifying Checksum [2021-10-26T04:18:34.105Z] 8603b9c90790: Download complete [2021-10-26T04:18:34.381Z] 1560dd03e051: Verifying Checksum [2021-10-26T04:18:34.381Z] 1560dd03e051: Download complete [2021-10-26T04:18:34.381Z] 05883995daec: Verifying Checksum [2021-10-26T04:18:34.381Z] 05883995daec: Download complete [2021-10-26T04:18:34.381Z] 27f5ce0e4adf: Verifying Checksum [2021-10-26T04:18:34.381Z] 27f5ce0e4adf: Download complete [2021-10-26T04:18:34.660Z] 448f6bf000e3: Verifying Checksum [2021-10-26T04:18:34.660Z] 448f6bf000e3: Download complete [2021-10-26T04:18:37.292Z] c2d8d7efcc4b: Verifying Checksum [2021-10-26T04:18:37.292Z] c2d8d7efcc4b: Download complete [2021-10-26T04:18:38.733Z] 448f6bf000e3: Pull complete [2021-10-26T04:18:39.339Z] f757da607395: Pull complete [2021-10-26T04:18:40.921Z] 05883995daec: Pull complete [2021-10-26T04:18:41.553Z] 8603b9c90790: Pull complete [2021-10-26T04:18:42.548Z] 1560dd03e051: Pull complete [2021-10-26T04:18:42.826Z] 27f5ce0e4adf: Pull complete [2021-10-26T04:19:01.222Z] c2d8d7efcc4b: Pull complete [2021-10-26T04:19:01.222Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-26T04:19:01.222Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-26T04:19:01.222Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-26T04:19:01.569Z] prd-ubuntu18.04-docker-arm64-4c-16g-1823 does not seem to be running inside a container [2021-10-26T04:19:01.668Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-26T04:19:05.314Z] $ docker top b8647d13b5b6949e2a6195ddc4e79a275c537963c1d4391ae122feb94835fc48 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-26T04:19:06.494Z] ---> job-cost.sh [2021-10-26T04:19:06.494Z] lf-activate-venv: SKIPPING [2021-10-26T04:19:06.494Z] INFO: No Stack... [2021-10-26T04:19:28.679Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-26T04:19:28.679Z] INFO: Archiving Costs [Pipeline] sh [2021-10-26T04:19:29.391Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-10-26T04:19:29.391Z] + cut -d, -f6 [Pipeline] lock [2021-10-26T04:19:29.499Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1045-1-stack-cost] [2021-10-26T04:19:29.505Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1045-1-stack-cost] did not exist. Created. [2021-10-26T04:19:29.505Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1045-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-26T04:19:30.263Z] /w/workspace/device-sdk-go/1@tmp/durable-947e1be8/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-947e1be8/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-26T04:19:30.971Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-26T04:19:31.007Z] Warning: overwriting stash ‘stack-cost’ [2021-10-26T04:19:31.094Z] Stashed 1 file(s) [Pipeline] } [2021-10-26T04:19:31.112Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1045-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-26T04:19:31.164Z] $ docker stop --time=1 b8647d13b5b6949e2a6195ddc4e79a275c537963c1d4391ae122feb94835fc48 [2021-10-26T04:19:32.816Z] $ docker rm -f b8647d13b5b6949e2a6195ddc4e79a275c537963c1d4391ae122feb94835fc48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-10-26T04:19:33.861Z] provisioning config files... [2021-10-26T04:19:33.876Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1045@tmp/config1154789664674475356tmp [Pipeline] { [Pipeline] sh [2021-10-26T04:19:34.222Z] + set +x [2021-10-26T04:19:34.222Z] + bash -s -- [2021-10-26T04:19:34.222Z] + curl -s https://codecov.io/bash [2021-10-26T04:19:34.222Z] [2021-10-26T04:19:34.222Z] _____ _ [2021-10-26T04:19:34.222Z] / ____| | | [2021-10-26T04:19:34.222Z] | | ___ __| | ___ ___ _____ __ [2021-10-26T04:19:34.222Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-26T04:19:34.222Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-26T04:19:34.222Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-26T04:19:34.222Z] Bash-1.0.6 [2021-10-26T04:19:34.222Z] [2021-10-26T04:19:34.222Z] [2021-10-26T04:19:34.222Z] ==> git version 2.24.4 found [2021-10-26T04:19:34.222Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-10-26T04:19:34.222Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-26T04:19:34.222Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-26T04:19:34.222Z] ==> Jenkins CI detected. [2021-10-26T04:19:34.222Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1045 [2021-10-26T04:19:34.222Z] project root: . [2021-10-26T04:19:34.222Z] --> token set from env [2021-10-26T04:19:34.222Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-26T04:19:34.222Z] ==> Running gcov in . (disable via -X gcov) [2021-10-26T04:19:34.222Z] ==> Python coveragepy not found [2021-10-26T04:19:34.222Z] ==> Searching for coverage reports in: [2021-10-26T04:19:34.222Z] + . [2021-10-26T04:19:34.222Z] -> Found 1 reports [2021-10-26T04:19:34.222Z] ==> Detecting git/mercurial file structure [2021-10-26T04:19:34.222Z] ==> Reading reports [2021-10-26T04:19:34.222Z] + ./coverage.out bytes=126785 [2021-10-26T04:19:34.487Z] ==> Appending adjustments [2021-10-26T04:19:34.487Z] https://docs.codecov.io/docs/fixing-reports [2021-10-26T04:19:34.752Z] + Found adjustments [2021-10-26T04:19:34.752Z] ==> Gzipping contents [2021-10-26T04:19:34.752Z] 16K /tmp/codecov.DIsyfQ.gz [2021-10-26T04:19:34.752Z] ==> Uploading reports [2021-10-26T04:19:34.752Z] url: https://codecov.io [2021-10-26T04:19:34.752Z] query: branch=PR-1045&commit=6944188b877e2ade48ac0988d8c98ba8f53b82e6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1045%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1045&job=&cmd_args= [2021-10-26T04:19:34.752Z] -> Pinging Codecov [2021-10-26T04:19:34.752Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1045&commit=6944188b877e2ade48ac0988d8c98ba8f53b82e6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1045%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1045&job=&cmd_args= [2021-10-26T04:19:35.013Z] -> Uploading to [2021-10-26T04:19:35.013Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-26/7E55EF52A471D76F132DFD9A03CDDE97/6944188b877e2ade48ac0988d8c98ba8f53b82e6/ea642273-af90-45d4-baca-3d745b801e3c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211026T041934Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cc77957a5689cab3bc67d3a8c7a0f8e6d584538f05728bf9297dadc7d2dfc9a8 [2021-10-26T04:19:35.013Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-26T04:19:35.013Z] Dload Upload Total Spent Left Speed [2021-10-26T04:19:35.275Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16163 0 0 100 16163 0 57584 --:--:-- --:--:-- --:--:-- 57725 [2021-10-26T04:19:35.275Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/6944188b877e2ade48ac0988d8c98ba8f53b82e6 [Pipeline] } [2021-10-26T04:19:35.298Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-26T04:19:37.341Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1045/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-26T04:19:37.675Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-26T04:19:38.269Z] ---> package-listing.sh [2021-10-26T04:19:38.269Z] ++ facter osfamily [2021-10-26T04:19:38.269Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-26T04:19:38.531Z] + OS_FAMILY=redhat [2021-10-26T04:19:38.531Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1045 [2021-10-26T04:19:38.531Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-26T04:19:38.531Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-26T04:19:38.531Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-26T04:19:38.531Z] + PACKAGES=/tmp/packages_start.txt [2021-10-26T04:19:38.531Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1045 ']' [2021-10-26T04:19:38.531Z] + PACKAGES=/tmp/packages_end.txt [2021-10-26T04:19:38.531Z] + case "${OS_FAMILY}" in [2021-10-26T04:19:38.531Z] + rpm -qa [2021-10-26T04:19:38.531Z] + sort [2021-10-26T04:19:39.105Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-26T04:19:39.105Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-26T04:19:39.105Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-26T04:19:39.105Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1045 ']' [2021-10-26T04:19:39.105Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1045/archives/ [2021-10-26T04:19:39.105Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1045/archives/ [Pipeline] echo [2021-10-26T04:19:39.129Z] 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-1045/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-26T04:19:39.429Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-26T04:19:40.021Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-26T04:19:40.021Z] [2021-10-26T04:19:40.021Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-26T04:19:40.363Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-26T04:19:40.363Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-26T04:19:40.363Z] b4d181a07f80: Pulling fs layer [2021-10-26T04:19:40.363Z] a1111a8f2ec3: Pulling fs layer [2021-10-26T04:19:40.363Z] ed53099fbce6: Pulling fs layer [2021-10-26T04:19:40.363Z] dc539afda2c1: Pulling fs layer [2021-10-26T04:19:40.363Z] 77bc0d833cb6: Pulling fs layer [2021-10-26T04:19:40.363Z] 9065ff56babe: Pulling fs layer [2021-10-26T04:19:40.363Z] d287ab97295c: Pulling fs layer [2021-10-26T04:19:40.363Z] dc539afda2c1: Waiting [2021-10-26T04:19:40.363Z] 77bc0d833cb6: Waiting [2021-10-26T04:19:40.363Z] 9065ff56babe: Waiting [2021-10-26T04:19:40.363Z] d287ab97295c: Waiting [2021-10-26T04:19:40.363Z] a1111a8f2ec3: Verifying Checksum [2021-10-26T04:19:40.363Z] a1111a8f2ec3: Download complete [2021-10-26T04:19:40.363Z] dc539afda2c1: Verifying Checksum [2021-10-26T04:19:40.363Z] dc539afda2c1: Download complete [2021-10-26T04:19:40.363Z] ed53099fbce6: Verifying Checksum [2021-10-26T04:19:40.363Z] ed53099fbce6: Download complete [2021-10-26T04:19:40.363Z] 9065ff56babe: Verifying Checksum [2021-10-26T04:19:40.363Z] 9065ff56babe: Download complete [2021-10-26T04:19:40.363Z] 77bc0d833cb6: Verifying Checksum [2021-10-26T04:19:40.363Z] 77bc0d833cb6: Download complete [2021-10-26T04:19:40.623Z] b4d181a07f80: Verifying Checksum [2021-10-26T04:19:40.623Z] b4d181a07f80: Download complete [2021-10-26T04:19:41.200Z] d287ab97295c: Verifying Checksum [2021-10-26T04:19:41.200Z] d287ab97295c: Download complete [2021-10-26T04:19:42.164Z] b4d181a07f80: Pull complete [2021-10-26T04:19:42.164Z] a1111a8f2ec3: Pull complete [2021-10-26T04:19:43.109Z] ed53099fbce6: Pull complete [2021-10-26T04:19:43.109Z] dc539afda2c1: Pull complete [2021-10-26T04:19:43.109Z] 77bc0d833cb6: Pull complete [2021-10-26T04:19:43.372Z] 9065ff56babe: Pull complete [2021-10-26T04:19:48.696Z] d287ab97295c: Pull complete [2021-10-26T04:19:48.696Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-26T04:19:48.696Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-26T04:19:48.696Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-26T04:19:48.780Z] prd-centos7-docker-4c-2g-1818 does not seem to be running inside a container [2021-10-26T04:19:48.821Z] $ 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-1045/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-1045 -v /w/workspace/gexfoundry_device-sdk-go_PR-1045:/w/workspace/gexfoundry_device-sdk-go_PR-1045:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1045@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1045@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-26T04:19:50.900Z] $ docker top 2959e2c63ecd515a400d371e1cfdd1eeecdbbfbebaf36dfc2fe1f59af0423595 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-26T04:19:51.288Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-26T04:19:51.593Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-26T04:19:51.916Z] + ls /var/log/sa-host [2021-10-26T04:19:51.916Z] + sadf -c /var/log/sa-host/sa26 [2021-10-26T04:19:51.916Z] file_magic: OK [2021-10-26T04:19:51.916Z] HZ: Using current value: 100 [2021-10-26T04:19:51.916Z] file_header: OK [2021-10-26T04:19:51.916Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-10-26T04:19:51.916Z] Statistics: [2021-10-26T04:19:51.916Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-26T04:19:51.916Z] File successfully converted to sysstat format version 12.0.3 [2021-10-26T04:19:51.916Z] + sadf -c /var/log/sa-host/sa30 [2021-10-26T04:19:51.916Z] file_magic: OK [2021-10-26T04:19:51.916Z] HZ: Using current value: 100 [2021-10-26T04:19:51.916Z] file_header: OK [2021-10-26T04:19:51.916Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-10-26T04:19:51.916Z] Statistics: [2021-10-26T04:19:51.916Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-26T04:19:51.916Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-26T04:19:52.045Z] provisioning config files... [2021-10-26T04:19:52.054Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1045@tmp/config373983683853117238tmp [Pipeline] { [Pipeline] echo [2021-10-26T04:19:52.088Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-26T04:19:52.403Z] ---> create-netrc.sh [Pipeline] } [2021-10-26T04:19:52.421Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-26T04:19:52.807Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-26T04:19:52.832Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-26T04:19:53.159Z] ---> sudo-logs.sh [2021-10-26T04:19:53.159Z] Archiving 'sudo' log.. [2021-10-26T04:19:53.159Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1818.novalocal: Name or service not known [2021-10-26T04:19:53.159Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1818.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-26T04:19:53.236Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-26T04:19:53.560Z] ---> job-cost.sh [2021-10-26T04:19:53.560Z] lf-activate-venv: SKIPPING [2021-10-26T04:19:53.560Z] DEBUG: total: 0.10999999940395355 [2021-10-26T04:19:53.560Z] INFO: Retrieving Stack Cost... [2021-10-26T04:19:53.821Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-26T04:19:54.080Z] INFO: Archiving Costs [Pipeline] echo [2021-10-26T04:19:54.110Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-26T04:19:54.440Z] ---> logs-deploy.sh [2021-10-26T04:19:54.440Z] lf-activate-venv: SKIPPING [2021-10-26T04:19:54.440Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1045/1 [2021-10-26T04:19:54.440Z] INFO: archiving workspace using pattern(s): [2021-10-26T04:19:55.011Z] Archives upload complete. [2021-10-26T04:19:55.270Z] INFO: archiving logs to Nexus