Pull request #1055 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc rather than 333f929eaa98416a42bc989c1799fcf4bcae3bfa Obtained Jenkinsfile from 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5723159167539829182.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1441608439474601197.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1055/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1055/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6908538872619468889.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a07f3f07dd1acff74ab8b51a5ea399813bb16af # timeout=10 Commit message: "Merge pull request #362 from edgexfoundry/lts-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8539886094726501259.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1055/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1055/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5294747214011753408.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-28051 in /w/workspace/gexfoundry_device-sdk-go_PR-1055 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1055 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/jenkins-gitclient-ssh8868165061679849437.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-1055@tmp/jenkins-gitclient-ssh6618846517164352465.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1055/head:refs/remotes/origin/PR-1055 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc into PR head commit 333f929eaa98416a42bc989c1799fcf4bcae3bfa Merge succeeded, producing 333f929eaa98416a42bc989c1799fcf4bcae3bfa Checking out Revision 333f929eaa98416a42bc989c1799fcf4bcae3bfa (PR-1055) > git config core.sparsecheckout # timeout=10 > git checkout -f 333f929eaa98416a42bc989c1799fcf4bcae3bfa # 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-1055@tmp/jenkins-gitclient-ssh4754628232972751250.key > git merge 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 333f929eaa98416a42bc989c1799fcf4bcae3bfa # timeout=10 Commit message: "feat: Cache the profile when loading the predefined profile at startup" > git rev-list --no-walk b972f8d7600f8bbaad2456189b6d7b77b78f649a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-09T06:04:41.845Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-09T06:04:41.906Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-09T06:04:41.923Z] ========================================================= [2021-11-09T06:04:41.923Z] EdgeX Global Pipelines Version Info [2021-11-09T06:04:41.923Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-09T06:04:43.103Z] ------------------- [2021-11-09T06:04:43.103Z] stable info: [2021-11-09T06:04:43.103Z] ------------------- [2021-11-09T06:04:43.103Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-09T06:04:43.103Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-09T06:04:43.103Z] Message: update stable to v1.0.211 [2021-11-09T06:04:43.678Z] ------------------- [2021-11-09T06:04:43.678Z] experimental info: [2021-11-09T06:04:43.678Z] ------------------- [2021-11-09T06:04:43.678Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-09T06:04:43.678Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-09T06:04:43.678Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-09T06:04:43.819Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-11-09T06:04:43.830Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-11-09T06:04:43.843Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-09T06:04:43.858Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-09T06:04:43.873Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-09T06:04:43.887Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-09T06:04:43.899Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-09T06:04:43.912Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-11-09T06:04:43.924Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-09T06:04:43.940Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-09T06:04:45.210Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-09T06:04:45.226Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-11-09T06:04:45.243Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-09T06:04:45.259Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-09T06:04:45.269Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-09T06:04:45.278Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-11-09T06:04:45.291Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-09T06:04:45.302Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-09T06:04:45.311Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-09T06:04:45.321Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-09T06:04:45.330Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-11-09T06:04:45.340Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-11-09T06:04:45.353Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-09T06:04:45.369Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-09T06:04:45.392Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-09T06:04:45.405Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-09T06:04:45.420Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1055 [Pipeline] echo [2021-11-09T06:04:45.429Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1055 [Pipeline] echo [2021-11-09T06:04:45.441Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1055 [Pipeline] echo [2021-11-09T06:04:45.453Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 333f929eaa98416a42bc989c1799fcf4bcae3bfa [Pipeline] echo [2021-11-09T06:04:45.466Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 333f929 [Pipeline] echo [2021-11-09T06:04:45.479Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-09T06:04:45.516Z] provisioning config files... [2021-11-09T06:04:45.528Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/config2467079202039549818tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T06:04:45.831Z] ---> docker-login.sh [2021-11-09T06:04:45.831Z] nexus3.edgexfoundry.org:10001 [2021-11-09T06:04:45.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T06:04:46.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T06:04:46.090Z] Configure a credential helper to remove this warning. See [2021-11-09T06:04:46.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T06:04:46.090Z] [2021-11-09T06:04:46.090Z] Login Succeeded [2021-11-09T06:04:46.090Z] nexus3.edgexfoundry.org:10002 [2021-11-09T06:04:46.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T06:04:46.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T06:04:46.090Z] Configure a credential helper to remove this warning. See [2021-11-09T06:04:46.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T06:04:46.090Z] [2021-11-09T06:04:46.090Z] Login Succeeded [2021-11-09T06:04:46.090Z] nexus3.edgexfoundry.org:10003 [2021-11-09T06:04:46.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T06:04:46.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T06:04:46.350Z] Configure a credential helper to remove this warning. See [2021-11-09T06:04:46.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T06:04:46.350Z] [2021-11-09T06:04:46.350Z] Login Succeeded [2021-11-09T06:04:46.350Z] nexus3.edgexfoundry.org:10004 [2021-11-09T06:04:46.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T06:04:46.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T06:04:46.350Z] Configure a credential helper to remove this warning. See [2021-11-09T06:04:46.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T06:04:46.350Z] [2021-11-09T06:04:46.350Z] Login Succeeded [2021-11-09T06:04:46.350Z] docker.io [2021-11-09T06:04:46.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T06:04:46.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T06:04:46.883Z] Configure a credential helper to remove this warning. See [2021-11-09T06:04:46.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T06:04:46.883Z] [2021-11-09T06:04:46.883Z] Login Succeeded [2021-11-09T06:04:46.883Z] ---> docker-login.sh ends [Pipeline] } [2021-11-09T06:04:46.890Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-09T06:04:47.349Z] + git rev-list -1 --merges 333f929eaa98416a42bc989c1799fcf4bcae3bfa~1..333f929eaa98416a42bc989c1799fcf4bcae3bfa [Pipeline] echo [2021-11-09T06:04:47.396Z] -----------> git rev-list -1 --merges 333f929eaa98416a42bc989c1799fcf4bcae3bfa~1..333f929eaa98416a42bc989c1799fcf4bcae3bfa 333f929eaa98416a42bc989c1799fcf4bcae3bfa [false] [Pipeline] sh [2021-11-09T06:04:47.702Z] + git log --format=format:%s -1 333f929eaa98416a42bc989c1799fcf4bcae3bfa [Pipeline] echo [2021-11-09T06:04:47.718Z] ========================================================= [2021-11-09T06:04:47.718Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-09T06:04:47.718Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-09T06:04:48.075Z] + git log --format=format:%s -1 333f929eaa98416a42bc989c1799fcf4bcae3bfa [Pipeline] echo [2021-11-09T06:04:48.089Z] [semverPrep] GIT_COMMIT: 333f929eaa98416a42bc989c1799fcf4bcae3bfa, Commit Message: feat: Cache the profile when loading the predefined profile at startup [Pipeline] echo [2021-11-09T06:04:48.097Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-09T06:04:48.660Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-09T06:04:48.660Z] [2021-11-09T06:04:48.660Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T06:04:49.084Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-09T06:04:49.084Z] latest: Pulling from edgex-devops/git-semver [2021-11-09T06:04:49.084Z] a0d0a0d46f8b: Pulling fs layer [2021-11-09T06:04:49.084Z] 3e5f54012d9b: Pulling fs layer [2021-11-09T06:04:49.084Z] 4c7163046ea9: Pulling fs layer [2021-11-09T06:04:49.084Z] 0c2d73faf560: Pulling fs layer [2021-11-09T06:04:49.084Z] 0c2d73faf560: Waiting [2021-11-09T06:04:49.084Z] 3e5f54012d9b: Verifying Checksum [2021-11-09T06:04:49.084Z] 3e5f54012d9b: Download complete [2021-11-09T06:04:49.371Z] a0d0a0d46f8b: Verifying Checksum [2021-11-09T06:04:49.371Z] a0d0a0d46f8b: Download complete [2021-11-09T06:04:49.371Z] a0d0a0d46f8b: Pull complete [2021-11-09T06:04:49.669Z] 0c2d73faf560: Verifying Checksum [2021-11-09T06:04:49.669Z] 0c2d73faf560: Download complete [2021-11-09T06:04:49.669Z] 3e5f54012d9b: Pull complete [2021-11-09T06:04:49.669Z] 4c7163046ea9: Verifying Checksum [2021-11-09T06:04:49.669Z] 4c7163046ea9: Download complete [2021-11-09T06:04:49.957Z] 4c7163046ea9: Pull complete [2021-11-09T06:04:49.957Z] 0c2d73faf560: Pull complete [2021-11-09T06:04:49.957Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-09T06:04:49.957Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-09T06:04:49.957Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-09T06:04:50.048Z] prd-centos7-docker-4c-2g-28051 does not seem to be running inside a container [2021-11-09T06:04:50.156Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1055 -v /w/workspace/gexfoundry_device-sdk-go_PR-1055:/w/workspace/gexfoundry_device-sdk-go_PR-1055:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-09T06:04:50.856Z] $ docker top 7117731b2edb056d38b9810daf4493f9cf19f3864d30b77d618dfc83c15ca0d2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-09T06:04:51.021Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-09T06:04:51.021Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-09T06:04:51.140Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-09T06:04:51.145Z] $ docker exec 7117731b2edb056d38b9810daf4493f9cf19f3864d30b77d618dfc83c15ca0d2 ssh-agent [2021-11-09T06:04:51.274Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXiEJGln/agent.15 [2021-11-09T06:04:51.274Z] SSH_AGENT_PID=22 [2021-11-09T06:04:51.283Z] Running ssh-add (command line suppressed) [2021-11-09T06:04:51.394Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/private_key_5957568855630818093.key (/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/private_key_5957568855630818093.key) [2021-11-09T06:04:51.429Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-09T06:04:51.808Z] + git tag --points-at HEAD [Pipeline] } [2021-11-09T06:04:51.842Z] $ docker exec --env ******** --env ******** 7117731b2edb056d38b9810daf4493f9cf19f3864d30b77d618dfc83c15ca0d2 ssh-agent -k [2021-11-09T06:04:51.957Z] unset SSH_AUTH_SOCK; [2021-11-09T06:04:51.957Z] unset SSH_AGENT_PID; [2021-11-09T06:04:51.957Z] echo Agent pid 22 killed; [2021-11-09T06:04:51.973Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-09T06:04:52.040Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-09T06:04:52.041Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-09T06:04:52.181Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-09T06:04:52.183Z] $ docker exec 7117731b2edb056d38b9810daf4493f9cf19f3864d30b77d618dfc83c15ca0d2 ssh-agent [2021-11-09T06:04:52.300Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPPnHen/agent.56 [2021-11-09T06:04:52.300Z] SSH_AGENT_PID=62 [2021-11-09T06:04:52.316Z] Running ssh-add (command line suppressed) [2021-11-09T06:04:52.411Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/private_key_1148892301309796606.key (/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/private_key_1148892301309796606.key) [2021-11-09T06:04:52.429Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-09T06:04:52.746Z] + git semver init [2021-11-09T06:04:52.746Z] # -> Open(): unable to determine branch for HEAD [2021-11-09T06:04:52.746Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1055/.git [2021-11-09T06:04:52.746Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1055 [2021-11-09T06:04:52.746Z] # $SEMVER_REMOTE_NAME = origin [2021-11-09T06:04:52.746Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-09T06:04:52.746Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-09T06:04:52.746Z] # $SEMVER_BRANCH = PR-1055 [2021-11-09T06:04:52.746Z] # $SEMVER_TEMP = /tmp/semver-924392335 [2021-11-09T06:04:52.746Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-11-09T06:04:53.695Z] # '/tmp/semver-924392335' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1055/.semver' [2021-11-09T06:04:53.695Z] # -> Force: false [2021-11-09T06:04:53.695Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1055/.semver [Pipeline] } [2021-11-09T06:04:53.712Z] $ docker exec --env ******** --env ******** 7117731b2edb056d38b9810daf4493f9cf19f3864d30b77d618dfc83c15ca0d2 ssh-agent -k [2021-11-09T06:04:53.812Z] unset SSH_AUTH_SOCK; [2021-11-09T06:04:53.812Z] unset SSH_AGENT_PID; [2021-11-09T06:04:53.812Z] echo Agent pid 62 killed; [2021-11-09T06:04:53.822Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-09T06:04:54.137Z] + git semver [Pipeline] } [2021-11-09T06:04:54.150Z] $ docker stop --time=1 7117731b2edb056d38b9810daf4493f9cf19f3864d30b77d618dfc83c15ca0d2 [2021-11-09T06:04:55.429Z] $ docker rm -f 7117731b2edb056d38b9810daf4493f9cf19f3864d30b77d618dfc83c15ca0d2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-09T06:04:55.783Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-09T06:04:56.050Z] Stashed 1 file(s) [Pipeline] echo [2021-11-09T06:04:56.053Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-11-09T06:05:11.188Z] Still waiting to schedule task [2021-11-09T06:05:11.188Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-09T06:05:11.189Z] Still waiting to schedule task [2021-11-09T06:05:11.189Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-28048’ is offline [2021-11-09T06:06:54.276Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-28052 in /w/workspace/gexfoundry_device-sdk-go_PR-1055 [Pipeline] { [Pipeline] ws [2021-11-09T06:06:54.294Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-11-09T06:06:54.541Z] Selected Git installation does not exist. Using Default [2021-11-09T06:06:54.541Z] The recommended git tool is: NONE [2021-11-09T06:07:02.509Z] using credential edgex-jenkins-ssh [2021-11-09T06:07:02.557Z] Cloning the remote Git repository [2021-11-09T06:07:02.616Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T06:07:02.739Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-11-09T06:07:02.858Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T06:07:02.859Z] > git --version # timeout=10 [2021-11-09T06:07:02.879Z] > git --version # 'git version 2.17.1' [2021-11-09T06:07:02.881Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T06:07:02.973Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-09T06:07:04.346Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-09T06:07:04.365Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-09T06:07:04.399Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-09T06:07:04.445Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T06:07:04.446Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T06:07:04.463Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1055/head:refs/remotes/origin/PR-1055 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-09T06:07:05.208Z] Merging remotes/origin/main commit 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc into PR head commit 333f929eaa98416a42bc989c1799fcf4bcae3bfa [2021-11-09T06:07:05.476Z] Merge succeeded, producing 333f929eaa98416a42bc989c1799fcf4bcae3bfa [2021-11-09T06:07:05.477Z] Checking out Revision 333f929eaa98416a42bc989c1799fcf4bcae3bfa (PR-1055) [2021-11-09T06:07:05.236Z] > git config core.sparsecheckout # timeout=10 [2021-11-09T06:07:05.253Z] > git checkout -f 333f929eaa98416a42bc989c1799fcf4bcae3bfa # timeout=10 [2021-11-09T06:07:05.377Z] > git remote # timeout=10 [2021-11-09T06:07:05.395Z] > git config --get remote.origin.url # timeout=10 [2021-11-09T06:07:05.409Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T06:07:05.421Z] > git merge 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc # timeout=10 [2021-11-09T06:07:05.450Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-09T06:07:05.483Z] > git config core.sparsecheckout # timeout=10 [2021-11-09T06:07:05.497Z] > git checkout -f 333f929eaa98416a42bc989c1799fcf4bcae3bfa # timeout=10 [2021-11-09T06:07:10.391Z] Commit message: "feat: Cache the profile when loading the predefined profile at startup" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-09T06:07:11.685Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-09T06:07:11.685Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-09T06:07:11.685Z] Dload Upload Total Spent Left Speed [2021-11-09T06:07:11.685Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 72987 0 --:--:-- --:--:-- --:--:-- 72987 [Pipeline] sh [2021-11-09T06:07:12.243Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-09T06:07:12.668Z] + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json [2021-11-09T06:07:12.668Z] [2021-11-09T06:07:12.668Z] { [2021-11-09T06:07:12.668Z] "registry-mirrors": [ [2021-11-09T06:07:12.668Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-09T06:07:12.668Z] ], [2021-11-09T06:07:12.668Z] "bip": "10.250.0.254/24", [2021-11-09T06:07:12.668Z] "hosts": [ [2021-11-09T06:07:12.668Z] "tcp://0.0.0.0:5555", [2021-11-09T06:07:12.668Z] "unix:///var/run/docker.sock" [2021-11-09T06:07:12.668Z] ], [2021-11-09T06:07:12.668Z] "mtu": 1458, [2021-11-09T06:07:12.668Z] "selinux-enabled": true, [2021-11-09T06:07:12.668Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-09T06:07:12.668Z] } [Pipeline] sh [2021-11-09T06:07:13.104Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-09T06:07:13.530Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-09T06:07:32.361Z] provisioning config files... [2021-11-09T06:07:32.416Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config8355076536643121014tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T06:07:32.880Z] ---> docker-login.sh [2021-11-09T06:07:32.881Z] nexus3.edgexfoundry.org:10001 [2021-11-09T06:07:33.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T06:07:33.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T06:07:33.844Z] Configure a credential helper to remove this warning. See [2021-11-09T06:07:33.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T06:07:33.844Z] [2021-11-09T06:07:33.844Z] Login Succeeded [2021-11-09T06:07:33.844Z] nexus3.edgexfoundry.org:10002 [2021-11-09T06:07:34.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T06:07:34.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T06:07:34.772Z] Configure a credential helper to remove this warning. See [2021-11-09T06:07:34.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T06:07:34.772Z] [2021-11-09T06:07:34.772Z] Login Succeeded [2021-11-09T06:07:34.772Z] nexus3.edgexfoundry.org:10003 [2021-11-09T06:07:35.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T06:07:35.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T06:07:35.384Z] Configure a credential helper to remove this warning. See [2021-11-09T06:07:35.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T06:07:35.384Z] [2021-11-09T06:07:35.384Z] Login Succeeded [2021-11-09T06:07:35.384Z] nexus3.edgexfoundry.org:10004 [2021-11-09T06:07:35.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T06:07:35.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T06:07:35.968Z] Configure a credential helper to remove this warning. See [2021-11-09T06:07:35.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T06:07:35.968Z] [2021-11-09T06:07:35.968Z] Login Succeeded [2021-11-09T06:07:35.968Z] docker.io [2021-11-09T06:07:36.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T06:07:36.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T06:07:36.905Z] Configure a credential helper to remove this warning. See [2021-11-09T06:07:36.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T06:07:36.905Z] [2021-11-09T06:07:36.905Z] Login Succeeded [2021-11-09T06:07:36.905Z] ---> docker-login.sh ends [Pipeline] } [2021-11-09T06:07:36.951Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-09T06:07:37.595Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-09T06:07:37.617Z] ========================================================= [2021-11-09T06:07:37.617Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-09T06:07:37.617Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-09T06:07:38.084Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-11-09T06:07:38.732Z] Sending build context to Docker daemon 2.771MB [2021-11-09T06:07:38.732Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-09T06:07:38.732Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-09T06:07:39.033Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-09T06:07:39.033Z] 552d1f2373af: Pulling fs layer [2021-11-09T06:07:39.033Z] ea3f2d53f512: Pulling fs layer [2021-11-09T06:07:39.033Z] 9e70ebbbe112: Pulling fs layer [2021-11-09T06:07:39.033Z] 7a9cfe048b4a: Pulling fs layer [2021-11-09T06:07:39.033Z] 72dc09318566: Pulling fs layer [2021-11-09T06:07:39.033Z] f4f7b4309257: Pulling fs layer [2021-11-09T06:07:39.033Z] 0ac9a79272e3: Pulling fs layer [2021-11-09T06:07:39.033Z] b78e95d17946: Pulling fs layer [2021-11-09T06:07:39.033Z] 7a9cfe048b4a: Waiting [2021-11-09T06:07:39.033Z] 72dc09318566: Waiting [2021-11-09T06:07:39.033Z] f4f7b4309257: Waiting [2021-11-09T06:07:39.033Z] b78e95d17946: Waiting [2021-11-09T06:07:39.033Z] 9e70ebbbe112: Verifying Checksum [2021-11-09T06:07:39.033Z] 9e70ebbbe112: Download complete [2021-11-09T06:07:39.033Z] ea3f2d53f512: Verifying Checksum [2021-11-09T06:07:39.033Z] 72dc09318566: Verifying Checksum [2021-11-09T06:07:39.033Z] 72dc09318566: Download complete [2021-11-09T06:07:39.033Z] f4f7b4309257: Download complete [2021-11-09T06:07:39.033Z] 552d1f2373af: Download complete [2021-11-09T06:07:39.033Z] 0ac9a79272e3: Verifying Checksum [2021-11-09T06:07:39.033Z] 0ac9a79272e3: Download complete [2021-11-09T06:07:39.217Z] Running on prd-centos7-docker-4c-2g-28053 in /w/workspace/gexfoundry_device-sdk-go_PR-1055 [Pipeline] { [Pipeline] ws [2021-11-09T06:07:39.276Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-11-09T06:07:39.431Z] Selected Git installation does not exist. Using Default [2021-11-09T06:07:39.431Z] The recommended git tool is: NONE [2021-11-09T06:07:39.701Z] 552d1f2373af: Pull complete [2021-11-09T06:07:40.348Z] ea3f2d53f512: Pull complete [2021-11-09T06:07:41.006Z] 9e70ebbbe112: Pull complete [2021-11-09T06:07:41.321Z] b78e95d17946: Verifying Checksum [2021-11-09T06:07:41.321Z] b78e95d17946: Download complete [2021-11-09T06:07:41.968Z] 7a9cfe048b4a: Verifying Checksum [2021-11-09T06:07:41.968Z] 7a9cfe048b4a: Download complete [2021-11-09T06:07:44.692Z] using credential edgex-jenkins-ssh [2021-11-09T06:07:44.717Z] Cloning the remote Git repository [2021-11-09T06:07:44.204Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T06:07:44.293Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-11-09T06:07:44.345Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T06:07:44.346Z] > git --version # timeout=10 [2021-11-09T06:07:44.352Z] > git --version # 'git version 2.24.4' [2021-11-09T06:07:44.353Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T06:07:44.393Z] [INFO] Currently running in a labeled security context [2021-11-09T06:07:44.393Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-09T06:07:44.393Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh8753530486427608067.key [2021-11-09T06:07:44.402Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-09T06:07:46.314Z] Merging remotes/origin/main commit 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc into PR head commit 333f929eaa98416a42bc989c1799fcf4bcae3bfa [2021-11-09T06:07:46.464Z] Merge succeeded, producing 333f929eaa98416a42bc989c1799fcf4bcae3bfa [2021-11-09T06:07:46.465Z] Checking out Revision 333f929eaa98416a42bc989c1799fcf4bcae3bfa (PR-1055) [2021-11-09T06:07:45.225Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-09T06:07:45.240Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-09T06:07:45.249Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-09T06:07:45.273Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T06:07:45.274Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T06:07:45.275Z] [INFO] Currently running in a labeled security context [2021-11-09T06:07:45.275Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-09T06:07:45.275Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh7716862488630876784.key [2021-11-09T06:07:45.283Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1055/head:refs/remotes/origin/PR-1055 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-09T06:07:45.906Z] > git config core.sparsecheckout # timeout=10 [2021-11-09T06:07:45.918Z] > git checkout -f 333f929eaa98416a42bc989c1799fcf4bcae3bfa # timeout=10 [2021-11-09T06:07:45.986Z] > git remote # timeout=10 [2021-11-09T06:07:46.000Z] > git config --get remote.origin.url # timeout=10 [2021-11-09T06:07:46.006Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T06:07:46.007Z] [INFO] Currently running in a labeled security context [2021-11-09T06:07:46.007Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-09T06:07:46.007Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh6432443377172730194.key [2021-11-09T06:07:46.012Z] > git merge 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc # timeout=10 [2021-11-09T06:07:46.032Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-09T06:07:46.051Z] > git config core.sparsecheckout # timeout=10 [2021-11-09T06:07:46.060Z] > git checkout -f 333f929eaa98416a42bc989c1799fcf4bcae3bfa # timeout=10 [2021-11-09T06:07:51.872Z] Commit message: "feat: Cache the profile when loading the predefined profile at startup" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-09T06:07:52.249Z] provisioning config files... [2021-11-09T06:07:52.281Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config3045281511967315564tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T06:07:52.801Z] ---> docker-login.sh [2021-11-09T06:07:52.801Z] nexus3.edgexfoundry.org:10001 [2021-11-09T06:07:52.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T06:07:52.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T06:07:52.801Z] Configure a credential helper to remove this warning. See [2021-11-09T06:07:52.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T06:07:52.801Z] [2021-11-09T06:07:52.801Z] Login Succeeded [2021-11-09T06:07:52.801Z] nexus3.edgexfoundry.org:10002 [2021-11-09T06:07:53.044Z] 7a9cfe048b4a: Pull complete [2021-11-09T06:07:53.044Z] 72dc09318566: Pull complete [2021-11-09T06:07:53.044Z] f4f7b4309257: Pull complete [2021-11-09T06:07:53.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T06:07:53.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T06:07:53.110Z] Configure a credential helper to remove this warning. See [2021-11-09T06:07:53.110Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T06:07:53.110Z] [2021-11-09T06:07:53.110Z] Login Succeeded [2021-11-09T06:07:53.110Z] nexus3.edgexfoundry.org:10003 [2021-11-09T06:07:53.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T06:07:53.352Z] 0ac9a79272e3: Pull complete [2021-11-09T06:07:53.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T06:07:53.404Z] Configure a credential helper to remove this warning. See [2021-11-09T06:07:53.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T06:07:53.404Z] [2021-11-09T06:07:53.404Z] Login Succeeded [2021-11-09T06:07:53.404Z] nexus3.edgexfoundry.org:10004 [2021-11-09T06:07:53.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T06:07:53.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T06:07:53.404Z] Configure a credential helper to remove this warning. See [2021-11-09T06:07:53.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T06:07:53.404Z] [2021-11-09T06:07:53.404Z] Login Succeeded [2021-11-09T06:07:53.404Z] docker.io [2021-11-09T06:07:53.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T06:07:54.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T06:07:54.008Z] Configure a credential helper to remove this warning. See [2021-11-09T06:07:54.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T06:07:54.008Z] [2021-11-09T06:07:54.008Z] Login Succeeded [2021-11-09T06:07:54.008Z] ---> docker-login.sh ends [Pipeline] } [2021-11-09T06:07:54.136Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-09T06:07:54.481Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-09T06:07:54.506Z] ========================================================= [2021-11-09T06:07:54.506Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-09T06:07:54.506Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-09T06:07:54.928Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-11-09T06:07:54.928Z] Sending build context to Docker daemon 2.772MB [2021-11-09T06:07:54.928Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-09T06:07:54.928Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-09T06:07:55.220Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-09T06:07:55.220Z] a0d0a0d46f8b: Pulling fs layer [2021-11-09T06:07:55.220Z] 31adcdaf11c8: Pulling fs layer [2021-11-09T06:07:55.220Z] b8b176561691: Pulling fs layer [2021-11-09T06:07:55.220Z] 4527c011a84f: Pulling fs layer [2021-11-09T06:07:55.220Z] 5d74067f8e1e: Pulling fs layer [2021-11-09T06:07:55.220Z] e0aca202a116: Pulling fs layer [2021-11-09T06:07:55.220Z] 3a43be97a3b4: Pulling fs layer [2021-11-09T06:07:55.220Z] 34cad66bf833: Pulling fs layer [2021-11-09T06:07:55.220Z] b4e3c513aaa6: Pulling fs layer [2021-11-09T06:07:55.220Z] 4527c011a84f: Waiting [2021-11-09T06:07:55.220Z] 5d74067f8e1e: Waiting [2021-11-09T06:07:55.220Z] e0aca202a116: Waiting [2021-11-09T06:07:55.220Z] 3a43be97a3b4: Waiting [2021-11-09T06:07:55.220Z] 34cad66bf833: Waiting [2021-11-09T06:07:55.220Z] b4e3c513aaa6: Waiting [2021-11-09T06:07:55.220Z] b8b176561691: Download complete [2021-11-09T06:07:55.220Z] 31adcdaf11c8: Verifying Checksum [2021-11-09T06:07:55.220Z] 31adcdaf11c8: Download complete [2021-11-09T06:07:55.220Z] 5d74067f8e1e: Verifying Checksum [2021-11-09T06:07:55.220Z] 5d74067f8e1e: Download complete [2021-11-09T06:07:55.220Z] e0aca202a116: Verifying Checksum [2021-11-09T06:07:55.220Z] e0aca202a116: Download complete [2021-11-09T06:07:55.220Z] 3a43be97a3b4: Verifying Checksum [2021-11-09T06:07:55.220Z] 3a43be97a3b4: Download complete [2021-11-09T06:07:55.502Z] a0d0a0d46f8b: Verifying Checksum [2021-11-09T06:07:55.502Z] a0d0a0d46f8b: Download complete [2021-11-09T06:07:55.502Z] a0d0a0d46f8b: Pull complete [2021-11-09T06:07:55.789Z] 34cad66bf833: Verifying Checksum [2021-11-09T06:07:55.789Z] 34cad66bf833: Download complete [2021-11-09T06:07:55.789Z] 31adcdaf11c8: Pull complete [2021-11-09T06:07:55.789Z] b8b176561691: Pull complete [2021-11-09T06:07:57.297Z] b4e3c513aaa6: Verifying Checksum [2021-11-09T06:07:57.297Z] b4e3c513aaa6: Download complete [2021-11-09T06:07:57.925Z] 4527c011a84f: Verifying Checksum [2021-11-09T06:07:57.925Z] 4527c011a84f: Download complete [2021-11-09T06:07:58.960Z] b78e95d17946: Pull complete [2021-11-09T06:07:58.960Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-09T06:07:58.960Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-09T06:07:58.960Z] ---> 8b459fc5aaf0 [2021-11-09T06:07:58.960Z] Step 3/10 : ARG MAKE=make build [2021-11-09T06:08:01.031Z] ---> Running in 6dd4e132fa80 [2021-11-09T06:08:01.031Z] Removing intermediate container 6dd4e132fa80 [2021-11-09T06:08:01.031Z] ---> f130f918a307 [2021-11-09T06:08:01.031Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-09T06:08:01.341Z] ---> Running in 63582f8d6b5e [2021-11-09T06:08:01.632Z] Removing intermediate container 63582f8d6b5e [2021-11-09T06:08:01.632Z] ---> af0798f9cb9a [2021-11-09T06:08:01.632Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T06:08:01.632Z] ---> Running in 86ef13e83b02 [2021-11-09T06:08:02.257Z] Removing intermediate container 86ef13e83b02 [2021-11-09T06:08:02.257Z] ---> 829bb176e748 [2021-11-09T06:08:02.257Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T06:08:02.257Z] ---> Running in ddb5c132a32e [2021-11-09T06:08:02.324Z] 4527c011a84f: Pull complete [2021-11-09T06:08:02.324Z] 5d74067f8e1e: Pull complete [2021-11-09T06:08:02.324Z] e0aca202a116: Pull complete [2021-11-09T06:08:02.324Z] 3a43be97a3b4: Pull complete [2021-11-09T06:08:02.620Z] 34cad66bf833: Pull complete [2021-11-09T06:08:04.328Z] Removing intermediate container ddb5c132a32e [2021-11-09T06:08:04.328Z] ---> 69e18e0677e8 [2021-11-09T06:08:04.328Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-09T06:08:04.328Z] ---> Running in c1a8afd0121f [2021-11-09T06:08:05.280Z] b4e3c513aaa6: Pull complete [2021-11-09T06:08:05.280Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-09T06:08:05.328Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-09T06:08:05.552Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-09T06:08:05.553Z] ---> 9f6097aaca64 [2021-11-09T06:08:05.553Z] Step 3/10 : ARG MAKE=make build [2021-11-09T06:08:06.389Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-09T06:08:07.030Z] OK: 219 MiB in 52 packages [2021-11-09T06:08:07.578Z] ---> Running in 624b5ba4b273 [2021-11-09T06:08:07.673Z] Removing intermediate container c1a8afd0121f [2021-11-09T06:08:07.673Z] ---> 5f719ce39061 [2021-11-09T06:08:07.673Z] Step 8/10 : COPY . . [2021-11-09T06:08:07.856Z] Removing intermediate container 624b5ba4b273 [2021-11-09T06:08:07.856Z] ---> 310889e03ca1 [2021-11-09T06:08:07.856Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-09T06:08:07.856Z] ---> Running in 26383bcc402f [2021-11-09T06:08:07.856Z] Removing intermediate container 26383bcc402f [2021-11-09T06:08:07.856Z] ---> f65876125fbe [2021-11-09T06:08:07.856Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T06:08:07.856Z] ---> Running in 994178b45442 [2021-11-09T06:08:07.856Z] Removing intermediate container 994178b45442 [2021-11-09T06:08:07.856Z] ---> 004f2463765f [2021-11-09T06:08:07.856Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T06:08:07.856Z] ---> Running in 349d1e69b3b1 [2021-11-09T06:08:08.485Z] Removing intermediate container 349d1e69b3b1 [2021-11-09T06:08:08.485Z] ---> d981a2a877cb [2021-11-09T06:08:08.485Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-09T06:08:08.485Z] ---> Running in 2df78d2f0a3c [2021-11-09T06:08:08.732Z] ---> 4d49051f21b8 [2021-11-09T06:08:08.732Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-09T06:08:08.770Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-09T06:08:09.036Z] ---> Running in 470388a6b96b [2021-11-09T06:08:09.773Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-09T06:08:10.052Z] OK: 220 MiB in 52 packages [2021-11-09T06:08:10.348Z] Removing intermediate container 2df78d2f0a3c [2021-11-09T06:08:10.348Z] ---> decd4eaf8c80 [2021-11-09T06:08:10.348Z] Step 8/10 : COPY . . [2021-11-09T06:08:10.641Z] ---> 37e66fac806f [2021-11-09T06:08:10.641Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-09T06:08:10.641Z] ---> Running in 3a56ec28a874 [2021-11-09T06:08:43.345Z] Removing intermediate container 3a56ec28a874 [2021-11-09T06:08:43.345Z] ---> 5c67b19d34ce [2021-11-09T06:08:43.345Z] Step 10/10 : RUN ${MAKE} [2021-11-09T06:08:43.345Z] ---> Running in ab1f22823677 [2021-11-09T06:08:43.609Z] noop [2021-11-09T06:08:43.609Z] Removing intermediate container ab1f22823677 [2021-11-09T06:08:43.609Z] ---> 79350b76d08f [2021-11-09T06:08:43.609Z] Successfully built 79350b76d08f [2021-11-09T06:08:43.609Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T06:08:43.921Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-09T06:08:43.921Z] . [Pipeline] withDockerContainer [2021-11-09T06:08:43.999Z] prd-centos7-docker-4c-2g-28053 does not seem to be running inside a container [2021-11-09T06:08:44.043Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-09T06:08:44.407Z] $ docker top 1321d0c3d0707d3f79f51661b19a3174220279301988fa2295e4fbaffafa1e11 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-09T06:08:44.809Z] + go version [2021-11-09T06:08:44.809Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-09T06:08:44.819Z] $ docker stop --time=1 1321d0c3d0707d3f79f51661b19a3174220279301988fa2295e4fbaffafa1e11 [2021-11-09T06:08:46.025Z] $ docker rm -f 1321d0c3d0707d3f79f51661b19a3174220279301988fa2295e4fbaffafa1e11 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-09T06:08:46.496Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-09T06:08:46.496Z] . [Pipeline] withDockerContainer [2021-11-09T06:08:46.574Z] prd-centos7-docker-4c-2g-28053 does not seem to be running inside a container [2021-11-09T06:08:46.616Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-09T06:08:47.013Z] $ docker top 84e7d6a37c76e0d6c687197b4e79c27c0ecfb01fac0ba8ccfb3d6c949195c76c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-09T06:08:47.393Z] + make test [2021-11-09T06:08:47.393Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-09T06:08:54.037Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-09T06:09:20.824Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-09T06:09:20.824Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-09T06:09:20.824Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-09T06:09:23.366Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.063s coverage: 23.3% of statements [2021-11-09T06:09:23.366Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-09T06:09:23.366Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 27.6% of statements [2021-11-09T06:09:23.969Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.059s coverage: 78.9% of statements [2021-11-09T06:09:24.249Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.052s coverage: 9.0% of statements [2021-11-09T06:09:24.249Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-09T06:09:24.249Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-09T06:09:24.249Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-09T06:09:25.225Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.066s coverage: 28.7% of statements [2021-11-09T06:09:25.225Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-09T06:09:26.175Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.054s coverage: 83.3% of statements [2021-11-09T06:09:26.175Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-09T06:09:26.175Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-09T06:09:26.442Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.096s coverage: 57.8% of statements [2021-11-09T06:09:28.388Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.847s coverage: 89.2% of statements [2021-11-09T06:09:28.388Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-09T06:09:28.388Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.053s coverage: 4.9% of statements [2021-11-09T06:09:28.388Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-09T06:09:28.388Z] GO111MODULE=on go vet ./... [2021-11-09T06:09:31.107Z] Removing intermediate container 470388a6b96b [2021-11-09T06:09:31.107Z] ---> 05fa9b5e564f [2021-11-09T06:09:31.107Z] Step 10/10 : RUN ${MAKE} [2021-11-09T06:09:31.107Z] ---> Running in 550489fadc8b [2021-11-09T06:09:31.107Z] noop [2021-11-09T06:09:31.107Z] Removing intermediate container 550489fadc8b [2021-11-09T06:09:31.107Z] ---> 8163467cfbab [2021-11-09T06:09:31.107Z] Successfully built 8163467cfbab [2021-11-09T06:09:31.107Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T06:09:31.462Z] + docker inspect -f . ci-base-image-arm64 [2021-11-09T06:09:31.462Z] . [Pipeline] withDockerContainer [2021-11-09T06:09:31.761Z] prd-ubuntu18.04-docker-arm64-4c-16g-28052 does not seem to be running inside a container [2021-11-09T06:09:31.855Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-09T06:09:33.437Z] $ docker top 15e8f60a7024ac8f19305f9fdd19a7c15f009d0233a11a6a35c47cc9baae9105 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-09T06:09:34.464Z] + go version [2021-11-09T06:09:34.464Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-09T06:09:34.483Z] $ docker stop --time=1 15e8f60a7024ac8f19305f9fdd19a7c15f009d0233a11a6a35c47cc9baae9105 [2021-11-09T06:09:36.188Z] $ docker rm -f 15e8f60a7024ac8f19305f9fdd19a7c15f009d0233a11a6a35c47cc9baae9105 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-09T06:09:36.949Z] + docker inspect -f . ci-base-image-arm64 [2021-11-09T06:09:36.949Z] . [Pipeline] withDockerContainer [2021-11-09T06:09:37.231Z] prd-ubuntu18.04-docker-arm64-4c-16g-28052 does not seem to be running inside a container [2021-11-09T06:09:37.323Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-09T06:09:38.931Z] $ docker top 4eac4399b89afa0ce1ae2f8daa78c6e60509a700866abe4cfd67e0277d2406a4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-09T06:09:39.955Z] + make test [2021-11-09T06:09:39.955Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-09T06:09:50.445Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-09T06:09:50.445Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-09T06:09:50.445Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-09T06:09:50.458Z] $ docker stop --time=1 84e7d6a37c76e0d6c687197b4e79c27c0ecfb01fac0ba8ccfb3d6c949195c76c [2021-11-09T06:09:51.938Z] $ docker rm -f 84e7d6a37c76e0d6c687197b4e79c27c0ecfb01fac0ba8ccfb3d6c949195c76c [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-09T06:09:52.401Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-09T06:09:52.617Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-09T06:09:53.581Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-09T06:09:53.877Z] + ls -al . [2021-11-09T06:09:53.877Z] total 264 [2021-11-09T06:09:53.877Z] drwxrwxr-x. 10 jenkins jenkins 4096 Nov 9 06:09 . [2021-11-09T06:09:53.877Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 9 06:07 .. [2021-11-09T06:09:53.877Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 9 06:07 bin [2021-11-09T06:09:53.877Z] -rw-rw-r--. 1 jenkins jenkins 24816 Nov 9 06:07 CHANGELOG.md [2021-11-09T06:09:53.877Z] -rw-r--r--. 1 jenkins jenkins 128021 Nov 9 06:09 coverage.out [2021-11-09T06:09:53.877Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 9 06:07 .dockerignore [2021-11-09T06:09:53.877Z] drwxrwxr-x. 5 jenkins jenkins 62 Nov 9 06:07 example [2021-11-09T06:09:53.877Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 9 06:07 .git [2021-11-09T06:09:53.877Z] drwxrwxr-x. 3 jenkins jenkins 125 Nov 9 06:07 .github [2021-11-09T06:09:53.877Z] -rw-rw-r--. 1 jenkins jenkins 131 Nov 9 06:07 .gitignore [2021-11-09T06:09:53.877Z] -rw-rw-r--. 1 jenkins jenkins 602 Nov 9 06:07 go.mod [2021-11-09T06:09:53.877Z] -rw-rw-r--. 1 jenkins jenkins 49022 Nov 9 06:07 go.sum [2021-11-09T06:09:53.877Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 9 06:07 GOVERNANCE.md [2021-11-09T06:09:53.877Z] drwxrwxr-x. 15 jenkins jenkins 224 Nov 9 06:07 internal [2021-11-09T06:09:53.877Z] -rw-rw-r--. 1 jenkins jenkins 880 Nov 9 06:07 Jenkinsfile [2021-11-09T06:09:53.877Z] -rw-rw-r--. 1 jenkins jenkins 11341 Nov 9 06:07 LICENSE [2021-11-09T06:09:53.877Z] -rw-rw-r--. 1 jenkins jenkins 1120 Nov 9 06:07 Makefile [2021-11-09T06:09:53.877Z] drwxrwxr-x. 3 jenkins jenkins 16 Nov 9 06:07 openapi [2021-11-09T06:09:53.877Z] -rw-rw-r--. 1 jenkins jenkins 619 Nov 9 06:07 OWNERS.md [2021-11-09T06:09:53.877Z] drwxrwxr-x. 5 jenkins jenkins 50 Nov 9 06:07 pkg [2021-11-09T06:09:53.877Z] -rw-rw-r--. 1 jenkins jenkins 4877 Nov 9 06:07 README.md [2021-11-09T06:09:53.877Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 9 06:07 snap [2021-11-09T06:09:53.877Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 9 06:04 VERSION [2021-11-09T06:09:53.877Z] -rw-rw-r--. 1 jenkins jenkins 222 Nov 9 06:07 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-09T06:09:54.184Z] + 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=333f929eaa98416a42bc989c1799fcf4bcae3bfa --label arch=amd64 --label version=0.0.0 . [2021-11-09T06:09:54.184Z] Sending build context to Docker daemon 2.901MB [2021-11-09T06:09:54.184Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-09T06:09:54.184Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-09T06:09:54.184Z] ---> 79350b76d08f [2021-11-09T06:09:54.184Z] Step 3/24 : ARG MAKE=make build [2021-11-09T06:09:54.184Z] ---> Running in 8cec99812a3c [2021-11-09T06:09:54.447Z] Removing intermediate container 8cec99812a3c [2021-11-09T06:09:54.447Z] ---> d75b1189b85a [2021-11-09T06:09:54.447Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-09T06:09:54.447Z] ---> Running in b9eb4e8ff09b [2021-11-09T06:09:54.447Z] Removing intermediate container b9eb4e8ff09b [2021-11-09T06:09:54.447Z] ---> a33734adfb33 [2021-11-09T06:09:54.447Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T06:09:54.447Z] ---> Running in 52c9aa1e454e [2021-11-09T06:09:54.447Z] Removing intermediate container 52c9aa1e454e [2021-11-09T06:09:54.447Z] ---> 842f5dfe489a [2021-11-09T06:09:54.447Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T06:09:54.712Z] ---> Running in 591febc65af0 [2021-11-09T06:09:54.975Z] Removing intermediate container 591febc65af0 [2021-11-09T06:09:54.975Z] ---> beb8ed05ec56 [2021-11-09T06:09:54.975Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-09T06:09:54.975Z] ---> Running in 21dbb08f2e28 [2021-11-09T06:09:55.236Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-09T06:09:56.177Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-09T06:09:56.437Z] OK: 220 MiB in 52 packages [2021-11-09T06:09:56.702Z] Removing intermediate container 21dbb08f2e28 [2021-11-09T06:09:56.702Z] ---> f5b13f01f81b [2021-11-09T06:09:56.702Z] Step 8/24 : COPY . . [2021-11-09T06:09:56.963Z] ---> 293b003aa0e7 [2021-11-09T06:09:56.963Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-09T06:09:57.224Z] ---> Running in 1ce21d990aea [2021-11-09T06:09:57.799Z] Removing intermediate container 1ce21d990aea [2021-11-09T06:09:57.799Z] ---> d6e2887f9f24 [2021-11-09T06:09:57.799Z] Step 10/24 : RUN ${MAKE} [2021-11-09T06:09:57.799Z] ---> Running in d4d7fa41330d [2021-11-09T06:09:58.071Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-11-09T06:10:06.792Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-09T06:10:13.157Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-09T06:10:13.157Z] Removing intermediate container d4d7fa41330d [2021-11-09T06:10:13.157Z] ---> a5966a109838 [2021-11-09T06:10:13.157Z] Step 11/24 : FROM alpine:3.14 [2021-11-09T06:10:16.467Z] 3.14: Pulling from library/alpine [2021-11-09T06:10:16.467Z] a0d0a0d46f8b: Already exists [2021-11-09T06:10:16.467Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-09T06:10:16.467Z] Status: Downloaded newer image for alpine:3.14 [2021-11-09T06:10:16.467Z] ---> 14119a10abf4 [2021-11-09T06:10:16.467Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T06:10:16.467Z] ---> Running in 1c8268f0d001 [2021-11-09T06:10:16.467Z] Removing intermediate container 1c8268f0d001 [2021-11-09T06:10:16.467Z] ---> d6e87782578f [2021-11-09T06:10:16.467Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T06:10:16.467Z] ---> Running in 5aeb536401f2 [2021-11-09T06:10:16.735Z] Removing intermediate container 5aeb536401f2 [2021-11-09T06:10:16.735Z] ---> b78474a012aa [2021-11-09T06:10:16.735Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-09T06:10:16.735Z] ---> Running in 32471e99d4e4 [2021-11-09T06:10:16.995Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-09T06:10:17.936Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-09T06:10:18.198Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-09T06:10:18.458Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-09T06:10:18.458Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-09T06:10:18.458Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-09T06:10:18.721Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-09T06:10:18.721Z] Executing busybox-1.33.1-r3.trigger [2021-11-09T06:10:18.721Z] OK: 8 MiB in 19 packages [2021-11-09T06:10:18.981Z] Removing intermediate container 32471e99d4e4 [2021-11-09T06:10:18.981Z] ---> adfd89128227 [2021-11-09T06:10:18.981Z] Step 15/24 : WORKDIR / [2021-11-09T06:10:18.981Z] ---> Running in 18da2cc30445 [2021-11-09T06:10:19.244Z] Removing intermediate container 18da2cc30445 [2021-11-09T06:10:19.244Z] ---> df98472211e9 [2021-11-09T06:10:19.244Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-09T06:10:19.244Z] ---> 66610be4ba77 [2021-11-09T06:10:19.244Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-09T06:10:19.820Z] ---> 1b42d3cd1483 [2021-11-09T06:10:19.820Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-09T06:10:19.820Z] ---> 3d2e91798082 [2021-11-09T06:10:19.820Z] Step 19/24 : EXPOSE 59999 [2021-11-09T06:10:19.820Z] ---> Running in dbe01d9300a9 [2021-11-09T06:10:19.820Z] Removing intermediate container dbe01d9300a9 [2021-11-09T06:10:19.820Z] ---> 640dbb394a63 [2021-11-09T06:10:19.820Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-09T06:10:19.820Z] ---> Running in 6babc9e5ce0a [2021-11-09T06:10:20.090Z] Removing intermediate container 6babc9e5ce0a [2021-11-09T06:10:20.090Z] ---> d415c59bad21 [2021-11-09T06:10:20.090Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-09T06:10:20.090Z] ---> Running in 600cc9a5f7f5 [2021-11-09T06:10:20.090Z] Removing intermediate container 600cc9a5f7f5 [2021-11-09T06:10:20.090Z] ---> fdd347bf5c26 [2021-11-09T06:10:20.090Z] Step 22/24 : LABEL arch=amd64 [2021-11-09T06:10:20.090Z] ---> Running in 6db4bde5bd8f [2021-11-09T06:10:20.354Z] Removing intermediate container 6db4bde5bd8f [2021-11-09T06:10:20.354Z] ---> 3f4b56218763 [2021-11-09T06:10:20.354Z] Step 23/24 : LABEL git_sha=333f929eaa98416a42bc989c1799fcf4bcae3bfa [2021-11-09T06:10:20.354Z] ---> Running in 6f73647b7421 [2021-11-09T06:10:20.354Z] Removing intermediate container 6f73647b7421 [2021-11-09T06:10:20.354Z] ---> 3791c4fbd0b4 [2021-11-09T06:10:20.354Z] Step 24/24 : LABEL version=0.0.0 [2021-11-09T06:10:20.354Z] ---> Running in b8d01142a315 [2021-11-09T06:10:20.619Z] Removing intermediate container b8d01142a315 [2021-11-09T06:10:20.619Z] ---> aa945fcabe44 [2021-11-09T06:10:20.619Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-09T06:10:20.619Z] Successfully built aa945fcabe44 [2021-11-09T06:10:20.619Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-09T06:10:21.245Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T06:10:21.245Z] [2021-11-09T06:10:21.245Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T06:10:21.552Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T06:10:21.552Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-09T06:10:21.552Z] b4d181a07f80: Pulling fs layer [2021-11-09T06:10:21.552Z] a1111a8f2ec3: Pulling fs layer [2021-11-09T06:10:21.552Z] ed53099fbce6: Pulling fs layer [2021-11-09T06:10:21.552Z] dc539afda2c1: Pulling fs layer [2021-11-09T06:10:21.552Z] 77bc0d833cb6: Pulling fs layer [2021-11-09T06:10:21.552Z] 9065ff56babe: Pulling fs layer [2021-11-09T06:10:21.552Z] d287ab97295c: Pulling fs layer [2021-11-09T06:10:21.552Z] 77bc0d833cb6: Waiting [2021-11-09T06:10:21.552Z] 9065ff56babe: Waiting [2021-11-09T06:10:21.552Z] d287ab97295c: Waiting [2021-11-09T06:10:21.552Z] dc539afda2c1: Waiting [2021-11-09T06:10:21.552Z] a1111a8f2ec3: Verifying Checksum [2021-11-09T06:10:21.552Z] a1111a8f2ec3: Download complete [2021-11-09T06:10:21.552Z] dc539afda2c1: Verifying Checksum [2021-11-09T06:10:21.552Z] dc539afda2c1: Download complete [2021-11-09T06:10:21.552Z] ed53099fbce6: Verifying Checksum [2021-11-09T06:10:21.552Z] ed53099fbce6: Download complete [2021-11-09T06:10:21.827Z] 9065ff56babe: Verifying Checksum [2021-11-09T06:10:21.827Z] 9065ff56babe: Download complete [2021-11-09T06:10:21.827Z] 77bc0d833cb6: Verifying Checksum [2021-11-09T06:10:21.827Z] 77bc0d833cb6: Download complete [2021-11-09T06:10:21.827Z] b4d181a07f80: Verifying Checksum [2021-11-09T06:10:21.827Z] b4d181a07f80: Download complete [2021-11-09T06:10:22.781Z] d287ab97295c: Verifying Checksum [2021-11-09T06:10:22.781Z] d287ab97295c: Download complete [2021-11-09T06:10:23.739Z] b4d181a07f80: Pull complete [2021-11-09T06:10:23.739Z] a1111a8f2ec3: Pull complete [2021-11-09T06:10:24.316Z] ed53099fbce6: Pull complete [2021-11-09T06:10:24.316Z] dc539afda2c1: Pull complete [2021-11-09T06:10:24.582Z] 77bc0d833cb6: Pull complete [2021-11-09T06:10:24.582Z] 9065ff56babe: Pull complete [2021-11-09T06:10:31.229Z] d287ab97295c: Pull complete [2021-11-09T06:10:31.229Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-09T06:10:31.229Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T06:10:31.229Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-09T06:10:31.335Z] prd-centos7-docker-4c-2g-28053 does not seem to be running inside a container [2021-11-09T06:10:31.383Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-09T06:10:34.084Z] $ docker top 6f2168ab0f269daf86921135019b5f8c910613705db9faf7be60c8e3254575aa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T06:10:34.496Z] ---> job-cost.sh [2021-11-09T06:10:34.496Z] lf-activate-venv: SKIPPING [2021-11-09T06:10:34.496Z] INFO: No Stack... [2021-11-09T06:10:34.757Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-09T06:10:35.016Z] INFO: Archiving Costs [Pipeline] sh [2021-11-09T06:10:35.315Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2021-11-09T06:10:35.315Z] + cut -d, -f6 [Pipeline] lock [2021-11-09T06:10:35.342Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1055-4-stack-cost] [2021-11-09T06:10:35.350Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1055-4-stack-cost] did not exist. Created. [2021-11-09T06:10:35.350Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1055-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-09T06:10:35.656Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-09T06:10:35.685Z] Stashed 1 file(s) [Pipeline] } [2021-11-09T06:10:35.692Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1055-4-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-09T06:10:35.711Z] $ docker stop --time=1 6f2168ab0f269daf86921135019b5f8c910613705db9faf7be60c8e3254575aa [2021-11-09T06:10:36.861Z] $ docker rm -f 6f2168ab0f269daf86921135019b5f8c910613705db9faf7be60c8e3254575aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-09T06:11:14.960Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-09T06:11:14.960Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-09T06:11:14.960Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-09T06:11:27.420Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.280s coverage: 23.3% of statements [2021-11-09T06:11:27.420Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-09T06:11:27.420Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.224s coverage: 27.6% of statements [2021-11-09T06:11:27.420Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.253s coverage: 78.9% of statements [2021-11-09T06:11:27.420Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.196s coverage: 9.0% of statements [2021-11-09T06:11:27.420Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-09T06:11:27.420Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-09T06:11:27.420Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-09T06:11:27.420Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.256s coverage: 28.7% of statements [2021-11-09T06:11:27.420Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-09T06:11:28.035Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.242s coverage: 83.3% of statements [2021-11-09T06:11:28.035Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-09T06:11:28.035Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-09T06:11:29.021Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.369s coverage: 57.8% of statements [2021-11-09T06:11:34.426Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.128s coverage: 89.2% of statements [2021-11-09T06:11:34.426Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-09T06:11:34.426Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.213s coverage: 4.9% of statements [2021-11-09T06:11:34.426Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-09T06:11:34.426Z] GO111MODULE=on go vet ./... [2021-11-09T06:12:31.050Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-09T06:12:31.050Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-09T06:12:31.050Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-09T06:12:33.089Z] $ docker stop --time=1 4eac4399b89afa0ce1ae2f8daa78c6e60509a700866abe4cfd67e0277d2406a4 [2021-11-09T06:12:35.011Z] $ docker rm -f 4eac4399b89afa0ce1ae2f8daa78c6e60509a700866abe4cfd67e0277d2406a4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-09T06:12:36.185Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-09T06:12:36.218Z] Warning: overwriting stash ‘coverage-report’ [2021-11-09T06:12:37.086Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-09T06:12:37.598Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-09T06:12:37.942Z] + ls -al . [2021-11-09T06:12:37.942Z] total 300 [2021-11-09T06:12:37.942Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 06:12 . [2021-11-09T06:12:37.942Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 06:07 .. [2021-11-09T06:12:37.942Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 9 06:07 .dockerignore [2021-11-09T06:12:37.942Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 06:07 .git [2021-11-09T06:12:37.942Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 06:07 .github [2021-11-09T06:12:37.942Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 9 06:07 .gitignore [2021-11-09T06:12:37.942Z] -rw-rw-r-- 1 jenkins jenkins 24816 Nov 9 06:07 CHANGELOG.md [2021-11-09T06:12:37.942Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 06:07 GOVERNANCE.md [2021-11-09T06:12:37.942Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 9 06:07 Jenkinsfile [2021-11-09T06:12:37.942Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 9 06:07 LICENSE [2021-11-09T06:12:37.942Z] -rw-rw-r-- 1 jenkins jenkins 1120 Nov 9 06:07 Makefile [2021-11-09T06:12:37.942Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 9 06:07 OWNERS.md [2021-11-09T06:12:37.942Z] -rw-rw-r-- 1 jenkins jenkins 4877 Nov 9 06:07 README.md [2021-11-09T06:12:37.942Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 06:04 VERSION [2021-11-09T06:12:37.942Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 06:07 bin [2021-11-09T06:12:37.942Z] -rw-r--r-- 1 jenkins jenkins 128021 Nov 9 06:11 coverage.out [2021-11-09T06:12:37.942Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 9 06:07 example [2021-11-09T06:12:37.942Z] -rw-rw-r-- 1 jenkins jenkins 602 Nov 9 06:07 go.mod [2021-11-09T06:12:37.942Z] -rw-rw-r-- 1 jenkins jenkins 49022 Nov 9 06:07 go.sum [2021-11-09T06:12:37.942Z] drwxrwxr-x 15 jenkins jenkins 4096 Nov 9 06:07 internal [2021-11-09T06:12:37.942Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 06:07 openapi [2021-11-09T06:12:37.942Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 9 06:07 pkg [2021-11-09T06:12:37.942Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 06:07 snap [2021-11-09T06:12:37.942Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 9 06:07 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-09T06:12:38.280Z] + 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=333f929eaa98416a42bc989c1799fcf4bcae3bfa --label arch=arm64 --label version=0.0.0 . [2021-11-09T06:12:38.875Z] Sending build context to Docker daemon 2.9MB [2021-11-09T06:12:38.875Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-09T06:12:38.875Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-09T06:12:38.875Z] ---> 8163467cfbab [2021-11-09T06:12:38.875Z] Step 3/24 : ARG MAKE=make build [2021-11-09T06:12:39.149Z] ---> Running in f6822a1f113c [2021-11-09T06:12:39.423Z] Removing intermediate container f6822a1f113c [2021-11-09T06:12:39.423Z] ---> 50207983582e [2021-11-09T06:12:39.423Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-09T06:12:39.423Z] ---> Running in 4b9729b7e3e0 [2021-11-09T06:12:40.033Z] Removing intermediate container 4b9729b7e3e0 [2021-11-09T06:12:40.033Z] ---> a71a6063471e [2021-11-09T06:12:40.033Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T06:12:40.033Z] ---> Running in 957f1fefea1d [2021-11-09T06:12:40.631Z] Removing intermediate container 957f1fefea1d [2021-11-09T06:12:40.631Z] ---> ef656a4cec5c [2021-11-09T06:12:40.631Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T06:12:40.631Z] ---> Running in 1d864b1c10ec [2021-11-09T06:12:42.638Z] Removing intermediate container 1d864b1c10ec [2021-11-09T06:12:42.638Z] ---> 708f7a5b5c01 [2021-11-09T06:12:42.638Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-09T06:12:42.638Z] ---> Running in 298729a46fad [2021-11-09T06:12:43.635Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-09T06:12:44.623Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-09T06:12:45.612Z] OK: 219 MiB in 52 packages [2021-11-09T06:12:46.625Z] Removing intermediate container 298729a46fad [2021-11-09T06:12:46.625Z] ---> 99f97ca50a34 [2021-11-09T06:12:46.625Z] Step 8/24 : COPY . . [2021-11-09T06:12:48.088Z] ---> 93d3c87b6920 [2021-11-09T06:12:48.088Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-09T06:12:48.088Z] ---> Running in ed56a7be6cfb [2021-11-09T06:12:50.753Z] Removing intermediate container ed56a7be6cfb [2021-11-09T06:12:50.753Z] ---> 9df887dd1b5e [2021-11-09T06:12:50.753Z] Step 10/24 : RUN ${MAKE} [2021-11-09T06:12:50.753Z] ---> Running in 63c1ce0f535f [2021-11-09T06:12:51.353Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-11-09T06:13:30.507Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-09T06:13:30.507Z] Removing intermediate container 63c1ce0f535f [2021-11-09T06:13:30.507Z] ---> 360a070878c1 [2021-11-09T06:13:30.507Z] Step 11/24 : FROM alpine:3.14 [2021-11-09T06:13:33.144Z] 3.14: Pulling from library/alpine [2021-11-09T06:13:33.144Z] 552d1f2373af: Already exists [2021-11-09T06:13:33.144Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-09T06:13:33.144Z] Status: Downloaded newer image for alpine:3.14 [2021-11-09T06:13:33.144Z] ---> bb3de5531c18 [2021-11-09T06:13:33.144Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T06:13:33.421Z] ---> Running in 67197a418b7c [2021-11-09T06:13:33.698Z] Removing intermediate container 67197a418b7c [2021-11-09T06:13:33.698Z] ---> 0eae567a54cb [2021-11-09T06:13:33.698Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T06:13:33.976Z] ---> Running in 9ae6baa1bbec [2021-11-09T06:13:35.947Z] Removing intermediate container 9ae6baa1bbec [2021-11-09T06:13:35.947Z] ---> fc3b79111f74 [2021-11-09T06:13:35.947Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-09T06:13:35.947Z] ---> Running in 8cbce9c049d7 [2021-11-09T06:13:37.379Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-09T06:13:37.973Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-09T06:13:38.952Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-09T06:13:38.952Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-09T06:13:38.952Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-09T06:13:39.234Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-09T06:13:39.234Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-09T06:13:39.234Z] Executing busybox-1.33.1-r3.trigger [2021-11-09T06:13:39.234Z] OK: 8 MiB in 19 packages [2021-11-09T06:13:40.674Z] Removing intermediate container 8cbce9c049d7 [2021-11-09T06:13:40.674Z] ---> b35cc0e2c1ed [2021-11-09T06:13:40.674Z] Step 15/24 : WORKDIR / [2021-11-09T06:13:40.674Z] ---> Running in 19ec66a67aea [2021-11-09T06:13:40.949Z] Removing intermediate container 19ec66a67aea [2021-11-09T06:13:40.949Z] ---> 000cf6410985 [2021-11-09T06:13:40.949Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-09T06:13:41.939Z] ---> 484e843d3d0d [2021-11-09T06:13:41.939Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-09T06:13:42.919Z] ---> 4ce6459d95db [2021-11-09T06:13:42.919Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-09T06:13:43.901Z] ---> db1933c60f51 [2021-11-09T06:13:43.902Z] Step 19/24 : EXPOSE 59999 [2021-11-09T06:13:43.902Z] ---> Running in d1d77a3d8a47 [2021-11-09T06:13:44.178Z] Removing intermediate container d1d77a3d8a47 [2021-11-09T06:13:44.178Z] ---> b4c6a35a5dd5 [2021-11-09T06:13:44.178Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-09T06:13:44.455Z] ---> Running in bcb79de79842 [2021-11-09T06:13:44.730Z] Removing intermediate container bcb79de79842 [2021-11-09T06:13:44.730Z] ---> 244fb86ad9e3 [2021-11-09T06:13:44.730Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-09T06:13:45.005Z] ---> Running in 4380d4657be5 [2021-11-09T06:13:45.279Z] Removing intermediate container 4380d4657be5 [2021-11-09T06:13:45.279Z] ---> 969ffcaf3df0 [2021-11-09T06:13:45.279Z] Step 22/24 : LABEL arch=arm64 [2021-11-09T06:13:45.557Z] ---> Running in 3e40851efa27 [2021-11-09T06:13:45.831Z] Removing intermediate container 3e40851efa27 [2021-11-09T06:13:45.831Z] ---> 03318d541cc9 [2021-11-09T06:13:45.831Z] Step 23/24 : LABEL git_sha=333f929eaa98416a42bc989c1799fcf4bcae3bfa [2021-11-09T06:13:46.105Z] ---> Running in 975d95a224ee [2021-11-09T06:13:46.379Z] Removing intermediate container 975d95a224ee [2021-11-09T06:13:46.379Z] ---> 420ad2982b68 [2021-11-09T06:13:46.379Z] Step 24/24 : LABEL version=0.0.0 [2021-11-09T06:13:46.652Z] ---> Running in 86e6059ff585 [2021-11-09T06:13:46.925Z] Removing intermediate container 86e6059ff585 [2021-11-09T06:13:46.925Z] ---> 401841a6db23 [2021-11-09T06:13:46.925Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-09T06:13:46.925Z] Successfully built 401841a6db23 [2021-11-09T06:13:46.925Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-09T06:13:47.453Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-09T06:13:47.734Z] [2021-11-09T06:13:47.734Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-09T06:13:48.089Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-09T06:13:48.363Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-09T06:13:48.363Z] 448f6bf000e3: Pulling fs layer [2021-11-09T06:13:48.363Z] f757da607395: Pulling fs layer [2021-11-09T06:13:48.363Z] 05883995daec: Pulling fs layer [2021-11-09T06:13:48.363Z] 8603b9c90790: Pulling fs layer [2021-11-09T06:13:48.363Z] 1560dd03e051: Pulling fs layer [2021-11-09T06:13:48.363Z] 27f5ce0e4adf: Pulling fs layer [2021-11-09T06:13:48.363Z] c2d8d7efcc4b: Pulling fs layer [2021-11-09T06:13:48.363Z] 8603b9c90790: Waiting [2021-11-09T06:13:48.363Z] 27f5ce0e4adf: Waiting [2021-11-09T06:13:48.363Z] c2d8d7efcc4b: Waiting [2021-11-09T06:13:48.363Z] 1560dd03e051: Waiting [2021-11-09T06:13:48.363Z] f757da607395: Verifying Checksum [2021-11-09T06:13:48.363Z] f757da607395: Download complete [2021-11-09T06:13:48.363Z] 8603b9c90790: Verifying Checksum [2021-11-09T06:13:48.363Z] 8603b9c90790: Download complete [2021-11-09T06:13:48.643Z] 1560dd03e051: Verifying Checksum [2021-11-09T06:13:48.643Z] 1560dd03e051: Download complete [2021-11-09T06:13:48.643Z] 27f5ce0e4adf: Verifying Checksum [2021-11-09T06:13:48.643Z] 27f5ce0e4adf: Download complete [2021-11-09T06:13:48.643Z] 05883995daec: Verifying Checksum [2021-11-09T06:13:48.643Z] 05883995daec: Download complete [2021-11-09T06:13:48.918Z] 448f6bf000e3: Verifying Checksum [2021-11-09T06:13:48.919Z] 448f6bf000e3: Download complete [2021-11-09T06:13:51.545Z] c2d8d7efcc4b: Verifying Checksum [2021-11-09T06:13:51.545Z] c2d8d7efcc4b: Download complete [2021-11-09T06:13:52.526Z] 448f6bf000e3: Pull complete [2021-11-09T06:13:53.582Z] f757da607395: Pull complete [2021-11-09T06:13:55.052Z] 05883995daec: Pull complete [2021-11-09T06:13:55.651Z] 8603b9c90790: Pull complete [2021-11-09T06:13:56.634Z] 1560dd03e051: Pull complete [2021-11-09T06:13:56.915Z] 27f5ce0e4adf: Pull complete [2021-11-09T06:14:12.188Z] c2d8d7efcc4b: Pull complete [2021-11-09T06:14:12.188Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-09T06:14:12.188Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-09T06:14:12.188Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-09T06:14:12.584Z] prd-ubuntu18.04-docker-arm64-4c-16g-28052 does not seem to be running inside a container [2021-11-09T06:14:12.720Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-09T06:14:16.138Z] $ docker top 3321fc4df4c0baa4faae20f9f0aa4dac89e2cb7ee10329bf658eb1cea734131f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T06:14:17.244Z] ---> job-cost.sh [2021-11-09T06:14:17.244Z] lf-activate-venv: SKIPPING [2021-11-09T06:14:17.244Z] INFO: No Stack... [2021-11-09T06:14:17.892Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-09T06:14:18.176Z] INFO: Archiving Costs [Pipeline] sh [2021-11-09T06:14:18.905Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2021-11-09T06:14:18.905Z] + cut -d, -f6 [Pipeline] lock [2021-11-09T06:14:18.980Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1055-4-stack-cost] [2021-11-09T06:14:19.006Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1055-4-stack-cost] did not exist. Created. [2021-11-09T06:14:19.007Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1055-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-09T06:14:19.831Z] /w/workspace/device-sdk-go/4@tmp/durable-c20bed4b/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-c20bed4b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-09T06:14:20.583Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-09T06:14:20.639Z] Warning: overwriting stash ‘stack-cost’ [2021-11-09T06:14:20.709Z] Stashed 1 file(s) [Pipeline] } [2021-11-09T06:14:20.750Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1055-4-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-09T06:14:20.770Z] $ docker stop --time=1 3321fc4df4c0baa4faae20f9f0aa4dac89e2cb7ee10329bf658eb1cea734131f [2021-11-09T06:14:22.376Z] $ docker rm -f 3321fc4df4c0baa4faae20f9f0aa4dac89e2cb7ee10329bf658eb1cea734131f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-11-09T06:14:24.488Z] provisioning config files... [2021-11-09T06:14:24.495Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/config1593312098699870513tmp [Pipeline] { [Pipeline] sh [2021-11-09T06:14:24.794Z] + set +x [2021-11-09T06:14:24.794Z] + curl -s https://codecov.io/bash [2021-11-09T06:14:24.794Z] + bash -s -- [2021-11-09T06:14:24.794Z] [2021-11-09T06:14:24.794Z] _____ _ [2021-11-09T06:14:24.794Z] / ____| | | [2021-11-09T06:14:24.794Z] | | ___ __| | ___ ___ _____ __ [2021-11-09T06:14:24.794Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-09T06:14:24.794Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-09T06:14:24.794Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-09T06:14:24.794Z] Bash-1.0.6 [2021-11-09T06:14:24.794Z] [2021-11-09T06:14:24.794Z] [2021-11-09T06:14:24.794Z] ==> git version 2.24.4 found [2021-11-09T06:14:25.070Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-11-09T06:14:25.070Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-09T06:14:25.070Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-09T06:14:25.070Z] ==> Jenkins CI detected. [2021-11-09T06:14:25.070Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1055 [2021-11-09T06:14:25.070Z] project root: . [2021-11-09T06:14:25.070Z] --> token set from env [2021-11-09T06:14:25.070Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-09T06:14:25.070Z] ==> Running gcov in . (disable via -X gcov) [2021-11-09T06:14:25.070Z] ==> Python coveragepy not found [2021-11-09T06:14:25.070Z] ==> Searching for coverage reports in: [2021-11-09T06:14:25.070Z] + . [2021-11-09T06:14:25.070Z] -> Found 1 reports [2021-11-09T06:14:25.070Z] ==> Detecting git/mercurial file structure [2021-11-09T06:14:25.070Z] ==> Reading reports [2021-11-09T06:14:25.070Z] + ./coverage.out bytes=128021 [2021-11-09T06:14:25.070Z] ==> Appending adjustments [2021-11-09T06:14:25.070Z] https://docs.codecov.io/docs/fixing-reports [2021-11-09T06:14:25.331Z] + Found adjustments [2021-11-09T06:14:25.331Z] ==> Gzipping contents [2021-11-09T06:14:25.331Z] 16K /tmp/codecov.FHkeAT.gz [2021-11-09T06:14:25.331Z] ==> Uploading reports [2021-11-09T06:14:25.331Z] url: https://codecov.io [2021-11-09T06:14:25.331Z] query: branch=PR-1055&commit=333f929eaa98416a42bc989c1799fcf4bcae3bfa&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1055%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1055&job=&cmd_args= [2021-11-09T06:14:25.331Z] -> Pinging Codecov [2021-11-09T06:14:25.331Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1055&commit=333f929eaa98416a42bc989c1799fcf4bcae3bfa&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1055%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1055&job=&cmd_args= [2021-11-09T06:14:25.593Z] -> Uploading to [2021-11-09T06:14:25.593Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-09/7E55EF52A471D76F132DFD9A03CDDE97/333f929eaa98416a42bc989c1799fcf4bcae3bfa/601b4347-90dd-4310-bab8-5460519043fb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211109T061425Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d01d407a935f87efc2ad7aa1fb21c795f89b142b2794587bed6d1b1a77ffad3e [2021-11-09T06:14:25.593Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-09T06:14:25.593Z] Dload Upload Total Spent Left Speed [2021-11-09T06:14:26.165Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16281 0 0 100 16281 0 44792 --:--:-- --:--:-- --:--:-- 44851 [2021-11-09T06:14:26.165Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/333f929eaa98416a42bc989c1799fcf4bcae3bfa [Pipeline] } [2021-11-09T06:14:26.173Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-11-09T06:14:27.390Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1055/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-09T06:14:27.685Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T06:14:28.242Z] ---> package-listing.sh [2021-11-09T06:14:28.242Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-09T06:14:28.242Z] ++ facter osfamily [2021-11-09T06:14:28.502Z] + OS_FAMILY=redhat [2021-11-09T06:14:28.502Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1055 [2021-11-09T06:14:28.502Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-09T06:14:28.502Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-09T06:14:28.502Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-09T06:14:28.502Z] + PACKAGES=/tmp/packages_start.txt [2021-11-09T06:14:28.502Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1055 ']' [2021-11-09T06:14:28.502Z] + PACKAGES=/tmp/packages_end.txt [2021-11-09T06:14:28.502Z] + case "${OS_FAMILY}" in [2021-11-09T06:14:28.502Z] + sort [2021-11-09T06:14:28.502Z] + rpm -qa [2021-11-09T06:14:29.444Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-09T06:14:29.444Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-09T06:14:29.444Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-09T06:14:29.444Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1055 ']' [2021-11-09T06:14:29.444Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1055/archives/ [2021-11-09T06:14:29.444Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1055/archives/ [Pipeline] echo [2021-11-09T06:14:29.456Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1055/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-09T06:14:29.750Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-09T06:14:30.307Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T06:14:30.307Z] [2021-11-09T06:14:30.307Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T06:14:30.616Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T06:14:30.616Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-09T06:14:30.616Z] b4d181a07f80: Pulling fs layer [2021-11-09T06:14:30.616Z] a1111a8f2ec3: Pulling fs layer [2021-11-09T06:14:30.616Z] ed53099fbce6: Pulling fs layer [2021-11-09T06:14:30.616Z] dc539afda2c1: Pulling fs layer [2021-11-09T06:14:30.616Z] 77bc0d833cb6: Pulling fs layer [2021-11-09T06:14:30.616Z] 9065ff56babe: Pulling fs layer [2021-11-09T06:14:30.616Z] d287ab97295c: Pulling fs layer [2021-11-09T06:14:30.616Z] dc539afda2c1: Waiting [2021-11-09T06:14:30.616Z] 77bc0d833cb6: Waiting [2021-11-09T06:14:30.616Z] 9065ff56babe: Waiting [2021-11-09T06:14:30.616Z] d287ab97295c: Waiting [2021-11-09T06:14:30.616Z] a1111a8f2ec3: Verifying Checksum [2021-11-09T06:14:30.616Z] a1111a8f2ec3: Download complete [2021-11-09T06:14:30.616Z] dc539afda2c1: Verifying Checksum [2021-11-09T06:14:30.616Z] dc539afda2c1: Download complete [2021-11-09T06:14:30.616Z] ed53099fbce6: Verifying Checksum [2021-11-09T06:14:30.616Z] ed53099fbce6: Download complete [2021-11-09T06:14:30.885Z] 9065ff56babe: Verifying Checksum [2021-11-09T06:14:30.885Z] 9065ff56babe: Download complete [2021-11-09T06:14:30.885Z] 77bc0d833cb6: Verifying Checksum [2021-11-09T06:14:30.885Z] 77bc0d833cb6: Download complete [2021-11-09T06:14:30.885Z] b4d181a07f80: Verifying Checksum [2021-11-09T06:14:30.885Z] b4d181a07f80: Download complete [2021-11-09T06:14:31.475Z] d287ab97295c: Verifying Checksum [2021-11-09T06:14:31.475Z] d287ab97295c: Download complete [2021-11-09T06:14:32.420Z] b4d181a07f80: Pull complete [2021-11-09T06:14:32.686Z] a1111a8f2ec3: Pull complete [2021-11-09T06:14:33.272Z] ed53099fbce6: Pull complete [2021-11-09T06:14:33.531Z] dc539afda2c1: Pull complete [2021-11-09T06:14:33.808Z] 77bc0d833cb6: Pull complete [2021-11-09T06:14:33.808Z] 9065ff56babe: Pull complete [2021-11-09T06:14:39.138Z] d287ab97295c: Pull complete [2021-11-09T06:14:39.138Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-09T06:14:39.138Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T06:14:39.138Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-09T06:14:39.200Z] prd-centos7-docker-4c-2g-28051 does not seem to be running inside a container [2021-11-09T06:14:39.243Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1055/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1055 -v /w/workspace/gexfoundry_device-sdk-go_PR-1055:/w/workspace/gexfoundry_device-sdk-go_PR-1055:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-09T06:14:41.597Z] $ docker top b3793dc34405449e80a8925377d2cc187e50ac445ebe0e98365c87021052ec9a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-09T06:14:41.955Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-09T06:14:42.249Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-09T06:14:42.540Z] + ls /var/log/sa-host [2021-11-09T06:14:42.540Z] + sadf -c /var/log/sa-host/sa09 [2021-11-09T06:14:42.540Z] file_magic: OK [2021-11-09T06:14:42.540Z] HZ: Using current value: 100 [2021-11-09T06:14:42.540Z] file_header: OK [2021-11-09T06:14:42.540Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-09T06:14:42.540Z] Statistics: [2021-11-09T06:14:42.540Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-09T06:14:42.540Z] File successfully converted to sysstat format version 12.0.3 [2021-11-09T06:14:42.540Z] + sadf -c /var/log/sa-host/sa30 [2021-11-09T06:14:42.540Z] file_magic: OK [2021-11-09T06:14:42.540Z] HZ: Using current value: 100 [2021-11-09T06:14:42.540Z] file_header: OK [2021-11-09T06:14:42.540Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-09T06:14:42.540Z] Statistics: [2021-11-09T06:14:42.540Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-09T06:14:42.540Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-09T06:14:42.633Z] provisioning config files... [2021-11-09T06:14:42.643Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/config3075364618470398631tmp [Pipeline] { [Pipeline] echo [2021-11-09T06:14:42.662Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T06:14:42.950Z] ---> create-netrc.sh [Pipeline] } [2021-11-09T06:14:42.958Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-09T06:14:43.297Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-09T06:14:43.308Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T06:14:43.596Z] ---> sudo-logs.sh [2021-11-09T06:14:43.596Z] Archiving 'sudo' log.. [2021-11-09T06:14:43.596Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-28051.novalocal: Name or service not known [2021-11-09T06:14:43.596Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-28051.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-09T06:14:43.617Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T06:14:43.927Z] ---> job-cost.sh [2021-11-09T06:14:43.928Z] lf-activate-venv: SKIPPING [2021-11-09T06:14:43.928Z] DEBUG: total: 0.10999999940395355 [2021-11-09T06:14:43.928Z] INFO: Retrieving Stack Cost... [2021-11-09T06:14:44.190Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-09T06:14:44.764Z] INFO: Archiving Costs [Pipeline] echo [2021-11-09T06:14:44.778Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T06:14:45.081Z] ---> logs-deploy.sh [2021-11-09T06:14:45.081Z] lf-activate-venv: SKIPPING [2021-11-09T06:14:45.081Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1055/4 [2021-11-09T06:14:45.081Z] INFO: archiving workspace using pattern(s): [2021-11-09T06:14:46.021Z] Archives upload complete. [2021-11-09T06:14:46.021Z] INFO: archiving logs to Nexus