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 6b8b5fafede3c273b57c7e6f52168c21266c8a7a 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-ssh5057365550656000356.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-ssh3089342006045183004.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-ssh6573028894831503794.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-ssh2770802802831770663.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-ssh3352551246027280121.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-28066 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-ssh4177189435819840098.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-ssh3008982369457725272.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 6b8b5fafede3c273b57c7e6f52168c21266c8a7a Merge succeeded, producing 6b8b5fafede3c273b57c7e6f52168c21266c8a7a Checking out Revision 6b8b5fafede3c273b57c7e6f52168c21266c8a7a (PR-1055) > git config core.sparsecheckout # timeout=10 > git checkout -f 6b8b5fafede3c273b57c7e6f52168c21266c8a7a # 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-ssh5679783310466716673.key > git merge 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6b8b5fafede3c273b57c7e6f52168c21266c8a7a # timeout=10 Commit message: "feat: Cache the profile when loading the profile" First time build. Skipping changelog. > git rev-list --no-walk 333f929eaa98416a42bc989c1799fcf4bcae3bfa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-09T07:35:38.190Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-09T07:35:38.244Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-09T07:35:38.263Z] ========================================================= [2021-11-09T07:35:38.263Z] EdgeX Global Pipelines Version Info [2021-11-09T07:35:38.263Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-09T07:35:39.411Z] ------------------- [2021-11-09T07:35:39.412Z] stable info: [2021-11-09T07:35:39.412Z] ------------------- [2021-11-09T07:35:39.412Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-09T07:35:39.412Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-09T07:35:39.412Z] Message: update stable to v1.0.211 [2021-11-09T07:35:39.984Z] ------------------- [2021-11-09T07:35:39.984Z] experimental info: [2021-11-09T07:35:39.984Z] ------------------- [2021-11-09T07:35:39.984Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-09T07:35:39.984Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-09T07:35:39.984Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-09T07:35:40.065Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-11-09T07:35:40.078Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-11-09T07:35:40.089Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-09T07:35:40.102Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-09T07:35:40.113Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-09T07:35:40.123Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-09T07:35:40.134Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-09T07:35:40.144Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-11-09T07:35:40.154Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-09T07:35:40.165Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-09T07:35:40.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-09T07:35:40.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-11-09T07:35:40.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-09T07:35:40.207Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-09T07:35:40.217Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-09T07:35:40.227Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-11-09T07:35:40.237Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-09T07:35:40.249Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-09T07:35:40.259Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-09T07:35:40.268Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-09T07:35:40.278Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-11-09T07:35:40.288Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-11-09T07:35:40.299Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-09T07:35:40.311Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-09T07:35:40.321Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-09T07:35:40.331Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-09T07:35:40.341Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1055 [Pipeline] echo [2021-11-09T07:35:40.352Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1055 [Pipeline] echo [2021-11-09T07:35:40.362Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1055 [Pipeline] echo [2021-11-09T07:35:40.372Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6b8b5fafede3c273b57c7e6f52168c21266c8a7a [Pipeline] echo [2021-11-09T07:35:40.383Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6b8b5fa [Pipeline] echo [2021-11-09T07:35:40.398Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-09T07:35:40.436Z] provisioning config files... [2021-11-09T07:35:40.448Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/config5828042787224734353tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T07:35:40.753Z] ---> docker-login.sh [2021-11-09T07:35:40.753Z] nexus3.edgexfoundry.org:10001 [2021-11-09T07:35:40.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T07:35:41.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T07:35:41.012Z] Configure a credential helper to remove this warning. See [2021-11-09T07:35:41.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T07:35:41.012Z] [2021-11-09T07:35:41.012Z] Login Succeeded [2021-11-09T07:35:41.012Z] nexus3.edgexfoundry.org:10002 [2021-11-09T07:35:41.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T07:35:41.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T07:35:41.012Z] Configure a credential helper to remove this warning. See [2021-11-09T07:35:41.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T07:35:41.012Z] [2021-11-09T07:35:41.012Z] Login Succeeded [2021-11-09T07:35:41.012Z] nexus3.edgexfoundry.org:10003 [2021-11-09T07:35:41.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T07:35:41.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T07:35:41.273Z] Configure a credential helper to remove this warning. See [2021-11-09T07:35:41.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T07:35:41.273Z] [2021-11-09T07:35:41.273Z] Login Succeeded [2021-11-09T07:35:41.273Z] nexus3.edgexfoundry.org:10004 [2021-11-09T07:35:41.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T07:35:41.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T07:35:41.273Z] Configure a credential helper to remove this warning. See [2021-11-09T07:35:41.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T07:35:41.273Z] [2021-11-09T07:35:41.273Z] Login Succeeded [2021-11-09T07:35:41.273Z] docker.io [2021-11-09T07:35:41.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T07:35:41.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T07:35:41.850Z] Configure a credential helper to remove this warning. See [2021-11-09T07:35:41.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T07:35:41.850Z] [2021-11-09T07:35:41.850Z] Login Succeeded [2021-11-09T07:35:41.850Z] ---> docker-login.sh ends [Pipeline] } [2021-11-09T07:35:41.858Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-09T07:35:44.358Z] + git rev-list -1 --merges 6b8b5fafede3c273b57c7e6f52168c21266c8a7a~1..6b8b5fafede3c273b57c7e6f52168c21266c8a7a [Pipeline] echo [2021-11-09T07:35:44.393Z] -----------> git rev-list -1 --merges 6b8b5fafede3c273b57c7e6f52168c21266c8a7a~1..6b8b5fafede3c273b57c7e6f52168c21266c8a7a 6b8b5fafede3c273b57c7e6f52168c21266c8a7a [false] [Pipeline] sh [2021-11-09T07:35:44.689Z] + git log --format=format:%s -1 6b8b5fafede3c273b57c7e6f52168c21266c8a7a [Pipeline] echo [2021-11-09T07:35:44.703Z] ========================================================= [2021-11-09T07:35:44.703Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-09T07:35:44.703Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-09T07:35:45.035Z] + git log --format=format:%s -1 6b8b5fafede3c273b57c7e6f52168c21266c8a7a [Pipeline] echo [2021-11-09T07:35:45.045Z] [semverPrep] GIT_COMMIT: 6b8b5fafede3c273b57c7e6f52168c21266c8a7a, Commit Message: feat: Cache the profile when loading the profile [Pipeline] echo [2021-11-09T07:35:45.053Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-09T07:35:45.640Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-09T07:35:45.640Z] [2021-11-09T07:35:45.640Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T07:35:45.948Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-09T07:35:45.949Z] latest: Pulling from edgex-devops/git-semver [2021-11-09T07:35:45.949Z] a0d0a0d46f8b: Pulling fs layer [2021-11-09T07:35:45.949Z] 3e5f54012d9b: Pulling fs layer [2021-11-09T07:35:45.949Z] 4c7163046ea9: Pulling fs layer [2021-11-09T07:35:45.949Z] 0c2d73faf560: Pulling fs layer [2021-11-09T07:35:45.949Z] 0c2d73faf560: Waiting [2021-11-09T07:35:45.949Z] 3e5f54012d9b: Verifying Checksum [2021-11-09T07:35:45.949Z] 3e5f54012d9b: Download complete [2021-11-09T07:35:45.949Z] a0d0a0d46f8b: Verifying Checksum [2021-11-09T07:35:45.949Z] a0d0a0d46f8b: Download complete [2021-11-09T07:35:45.949Z] 4c7163046ea9: Verifying Checksum [2021-11-09T07:35:45.949Z] 4c7163046ea9: Download complete [2021-11-09T07:35:45.949Z] 0c2d73faf560: Verifying Checksum [2021-11-09T07:35:45.949Z] 0c2d73faf560: Download complete [2021-11-09T07:35:46.221Z] a0d0a0d46f8b: Pull complete [2021-11-09T07:35:46.221Z] 3e5f54012d9b: Pull complete [2021-11-09T07:35:46.489Z] 4c7163046ea9: Pull complete [2021-11-09T07:35:46.750Z] 0c2d73faf560: Pull complete [2021-11-09T07:35:46.750Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-09T07:35:46.750Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-09T07:35:46.750Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-09T07:35:46.818Z] prd-centos7-docker-4c-2g-28066 does not seem to be running inside a container [2021-11-09T07:35:46.864Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1055 -v /w/workspace/gexfoundry_device-sdk-go_PR-1055:/w/workspace/gexfoundry_device-sdk-go_PR-1055:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-09T07:35:47.527Z] $ docker top bd0f3dd5cc10d613c0df18813c079be6d0fd5e8f04eb043281c7b75c3001c995 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-09T07:35:47.614Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-09T07:35:47.614Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-09T07:35:47.702Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-09T07:35:47.703Z] $ docker exec bd0f3dd5cc10d613c0df18813c079be6d0fd5e8f04eb043281c7b75c3001c995 ssh-agent [2021-11-09T07:35:47.799Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXopkFeL/agent.13 [2021-11-09T07:35:47.799Z] SSH_AGENT_PID=19 [2021-11-09T07:35:47.805Z] Running ssh-add (command line suppressed) [2021-11-09T07:35:47.891Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/private_key_180175158524764410.key (/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/private_key_180175158524764410.key) [2021-11-09T07:35:47.903Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-09T07:35:48.202Z] + git tag --points-at HEAD [Pipeline] } [2021-11-09T07:35:48.214Z] $ docker exec --env ******** --env ******** bd0f3dd5cc10d613c0df18813c079be6d0fd5e8f04eb043281c7b75c3001c995 ssh-agent -k [2021-11-09T07:35:48.297Z] unset SSH_AUTH_SOCK; [2021-11-09T07:35:48.298Z] unset SSH_AGENT_PID; [2021-11-09T07:35:48.298Z] echo Agent pid 19 killed; [2021-11-09T07:35:48.310Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-09T07:35:48.335Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-09T07:35:48.335Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-09T07:35:48.427Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-09T07:35:48.429Z] $ docker exec bd0f3dd5cc10d613c0df18813c079be6d0fd5e8f04eb043281c7b75c3001c995 ssh-agent [2021-11-09T07:35:48.528Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFLaiDI/agent.52 [2021-11-09T07:35:48.528Z] SSH_AGENT_PID=58 [2021-11-09T07:35:48.536Z] Running ssh-add (command line suppressed) [2021-11-09T07:35:48.630Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/private_key_3313679079395270638.key (/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/private_key_3313679079395270638.key) [2021-11-09T07:35:48.645Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-09T07:35:48.936Z] + git semver init [2021-11-09T07:35:48.936Z] # -> Open(): unable to determine branch for HEAD [2021-11-09T07:35:48.936Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1055/.git [2021-11-09T07:35:48.936Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1055 [2021-11-09T07:35:48.936Z] # $SEMVER_REMOTE_NAME = origin [2021-11-09T07:35:48.936Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-09T07:35:48.936Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-09T07:35:48.936Z] # $SEMVER_BRANCH = PR-1055 [2021-11-09T07:35:48.936Z] # $SEMVER_TEMP = /tmp/semver-620636071 [2021-11-09T07:35:48.936Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-11-09T07:35:49.888Z] # '/tmp/semver-620636071' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1055/.semver' [2021-11-09T07:35:49.888Z] # -> Force: false [2021-11-09T07:35:49.888Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1055/.semver [Pipeline] } [2021-11-09T07:35:49.902Z] $ docker exec --env ******** --env ******** bd0f3dd5cc10d613c0df18813c079be6d0fd5e8f04eb043281c7b75c3001c995 ssh-agent -k [2021-11-09T07:35:50.003Z] unset SSH_AUTH_SOCK; [2021-11-09T07:35:50.004Z] unset SSH_AGENT_PID; [2021-11-09T07:35:50.004Z] echo Agent pid 58 killed; [2021-11-09T07:35:50.011Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-09T07:35:50.323Z] + git semver [Pipeline] } [2021-11-09T07:35:50.335Z] $ docker stop --time=1 bd0f3dd5cc10d613c0df18813c079be6d0fd5e8f04eb043281c7b75c3001c995 [2021-11-09T07:35:51.598Z] $ docker rm -f bd0f3dd5cc10d613c0df18813c079be6d0fd5e8f04eb043281c7b75c3001c995 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-09T07:35:51.948Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-09T07:35:52.181Z] Stashed 1 file(s) [Pipeline] echo [2021-11-09T07:35:52.183Z] [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-09T07:36:08.330Z] Still waiting to schedule task [2021-11-09T07:36:08.330Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-09T07:36:08.331Z] Still waiting to schedule task [2021-11-09T07:36:08.331Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-28062’ is offline [2021-11-09T07:37:50.225Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-28067 in /w/workspace/gexfoundry_device-sdk-go_PR-1055 [Pipeline] { [Pipeline] ws [2021-11-09T07:37:50.236Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-11-09T07:37:50.452Z] Selected Git installation does not exist. Using Default [2021-11-09T07:37:50.452Z] The recommended git tool is: NONE [2021-11-09T07:37:55.701Z] using credential edgex-jenkins-ssh [2021-11-09T07:37:55.719Z] Cloning the remote Git repository [2021-11-09T07:37:55.783Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T07:37:55.877Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-11-09T07:37:55.952Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T07:37:55.953Z] > git --version # timeout=10 [2021-11-09T07:37:55.976Z] > git --version # 'git version 2.17.1' [2021-11-09T07:37:55.977Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T07:37:56.055Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-09T07:37:57.288Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-09T07:37:57.309Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-09T07:37:57.334Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-09T07:37:57.370Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T07:37:57.370Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T07:37:57.387Z] > 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-09T07:37:58.076Z] Merging remotes/origin/main commit 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc into PR head commit 6b8b5fafede3c273b57c7e6f52168c21266c8a7a [2021-11-09T07:37:58.303Z] Merge succeeded, producing 6b8b5fafede3c273b57c7e6f52168c21266c8a7a [2021-11-09T07:37:58.303Z] Checking out Revision 6b8b5fafede3c273b57c7e6f52168c21266c8a7a (PR-1055) [2021-11-09T07:37:58.107Z] > git config core.sparsecheckout # timeout=10 [2021-11-09T07:37:58.120Z] > git checkout -f 6b8b5fafede3c273b57c7e6f52168c21266c8a7a # timeout=10 [2021-11-09T07:37:58.223Z] > git remote # timeout=10 [2021-11-09T07:37:58.251Z] > git config --get remote.origin.url # timeout=10 [2021-11-09T07:37:58.267Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T07:37:58.278Z] > git merge 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc # timeout=10 [2021-11-09T07:37:58.302Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-09T07:37:58.323Z] > git config core.sparsecheckout # timeout=10 [2021-11-09T07:37:58.342Z] > git checkout -f 6b8b5fafede3c273b57c7e6f52168c21266c8a7a # timeout=10 [2021-11-09T07:38:03.702Z] Commit message: "feat: Cache the profile when loading the profile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-09T07:38:04.709Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-09T07:38:04.709Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-09T07:38:04.709Z] Dload Upload Total Spent Left Speed [2021-11-09T07:38:04.709Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 96130 0 --:--:-- --:--:-- --:--:-- 96130 [Pipeline] sh [2021-11-09T07:38:05.121Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-09T07:38:05.462Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-09T07:38:05.462Z] + sudo tee /etc/docker/daemon.new [2021-11-09T07:38:05.462Z] { [2021-11-09T07:38:05.462Z] "registry-mirrors": [ [2021-11-09T07:38:05.462Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-09T07:38:05.462Z] ], [2021-11-09T07:38:05.462Z] "bip": "10.250.0.254/24", [2021-11-09T07:38:05.462Z] "hosts": [ [2021-11-09T07:38:05.462Z] "tcp://0.0.0.0:5555", [2021-11-09T07:38:05.462Z] "unix:///var/run/docker.sock" [2021-11-09T07:38:05.462Z] ], [2021-11-09T07:38:05.462Z] "mtu": 1458, [2021-11-09T07:38:05.462Z] "selinux-enabled": true, [2021-11-09T07:38:05.462Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-09T07:38:05.462Z] } [Pipeline] sh [2021-11-09T07:38:05.807Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-09T07:38:06.148Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-09T07:38:24.542Z] provisioning config files... [2021-11-09T07:38:24.567Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config6962930832177498626tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T07:38:24.931Z] ---> docker-login.sh [2021-11-09T07:38:24.931Z] nexus3.edgexfoundry.org:10001 [2021-11-09T07:38:25.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T07:38:25.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T07:38:25.818Z] Configure a credential helper to remove this warning. See [2021-11-09T07:38:25.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T07:38:25.818Z] [2021-11-09T07:38:25.818Z] Login Succeeded [2021-11-09T07:38:25.818Z] nexus3.edgexfoundry.org:10002 [2021-11-09T07:38:26.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T07:38:26.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T07:38:26.412Z] Configure a credential helper to remove this warning. See [2021-11-09T07:38:26.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T07:38:26.412Z] [2021-11-09T07:38:26.412Z] Login Succeeded [2021-11-09T07:38:26.412Z] nexus3.edgexfoundry.org:10003 [2021-11-09T07:38:26.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T07:38:26.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T07:38:26.966Z] Configure a credential helper to remove this warning. See [2021-11-09T07:38:26.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T07:38:26.966Z] [2021-11-09T07:38:26.966Z] Login Succeeded [2021-11-09T07:38:26.966Z] nexus3.edgexfoundry.org:10004 [2021-11-09T07:38:27.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T07:38:27.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T07:38:27.515Z] Configure a credential helper to remove this warning. See [2021-11-09T07:38:27.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T07:38:27.515Z] [2021-11-09T07:38:27.515Z] Login Succeeded [2021-11-09T07:38:27.515Z] docker.io [2021-11-09T07:38:27.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T07:38:28.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T07:38:28.382Z] Configure a credential helper to remove this warning. See [2021-11-09T07:38:28.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T07:38:28.382Z] [2021-11-09T07:38:28.382Z] Login Succeeded [2021-11-09T07:38:28.382Z] ---> docker-login.sh ends [Pipeline] } [2021-11-09T07:38:28.400Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-09T07:38:28.804Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-09T07:38:28.813Z] ========================================================= [2021-11-09T07:38:28.813Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-09T07:38:28.813Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-09T07:38:29.210Z] + 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-09T07:38:29.486Z] Sending build context to Docker daemon 2.79MB [2021-11-09T07:38:29.698Z] Running on prd-centos7-docker-4c-2g-28068 in /w/workspace/gexfoundry_device-sdk-go_PR-1055 [Pipeline] { [Pipeline] ws [2021-11-09T07:38:29.712Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-11-09T07:38:29.762Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-09T07:38:29.762Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-09T07:38:29.762Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-09T07:38:29.762Z] 552d1f2373af: Pulling fs layer [2021-11-09T07:38:29.762Z] ea3f2d53f512: Pulling fs layer [2021-11-09T07:38:29.762Z] 9e70ebbbe112: Pulling fs layer [2021-11-09T07:38:29.762Z] 7a9cfe048b4a: Pulling fs layer [2021-11-09T07:38:29.762Z] 72dc09318566: Pulling fs layer [2021-11-09T07:38:29.762Z] f4f7b4309257: Pulling fs layer [2021-11-09T07:38:29.762Z] 0ac9a79272e3: Pulling fs layer [2021-11-09T07:38:29.762Z] b78e95d17946: Pulling fs layer [2021-11-09T07:38:29.762Z] f4f7b4309257: Waiting [2021-11-09T07:38:29.762Z] 0ac9a79272e3: Waiting [2021-11-09T07:38:29.762Z] b78e95d17946: Waiting [2021-11-09T07:38:29.762Z] 7a9cfe048b4a: Waiting [2021-11-09T07:38:29.762Z] 72dc09318566: Waiting [2021-11-09T07:38:29.762Z] 9e70ebbbe112: Verifying Checksum [2021-11-09T07:38:29.762Z] 9e70ebbbe112: Download complete [2021-11-09T07:38:29.762Z] ea3f2d53f512: Verifying Checksum [2021-11-09T07:38:29.762Z] ea3f2d53f512: Download complete [2021-11-09T07:38:29.762Z] 72dc09318566: Verifying Checksum [2021-11-09T07:38:29.762Z] 72dc09318566: Download complete [2021-11-09T07:38:29.762Z] f4f7b4309257: Verifying Checksum [2021-11-09T07:38:29.762Z] f4f7b4309257: Download complete [2021-11-09T07:38:29.827Z] Selected Git installation does not exist. Using Default [2021-11-09T07:38:29.827Z] The recommended git tool is: NONE [2021-11-09T07:38:30.037Z] 552d1f2373af: Verifying Checksum [2021-11-09T07:38:30.037Z] 552d1f2373af: Download complete [2021-11-09T07:38:30.037Z] 0ac9a79272e3: Verifying Checksum [2021-11-09T07:38:30.037Z] 0ac9a79272e3: Download complete [2021-11-09T07:38:30.639Z] 552d1f2373af: Pull complete [2021-11-09T07:38:31.247Z] ea3f2d53f512: Pull complete [2021-11-09T07:38:31.845Z] 9e70ebbbe112: Pull complete [2021-11-09T07:38:31.845Z] b78e95d17946: Download complete [2021-11-09T07:38:31.888Z] using credential edgex-jenkins-ssh [2021-11-09T07:38:31.901Z] Cloning the remote Git repository [2021-11-09T07:38:31.751Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T07:38:31.805Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-11-09T07:38:31.843Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T07:38:31.843Z] > git --version # timeout=10 [2021-11-09T07:38:31.849Z] > git --version # 'git version 2.24.4' [2021-11-09T07:38:31.849Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T07:38:31.881Z] [INFO] Currently running in a labeled security context [2021-11-09T07:38:31.881Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-09T07:38:31.881Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/5@tmp/jenkins-gitclient-ssh2257966515862702652.key [2021-11-09T07:38:31.899Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-09T07:38:32.123Z] 7a9cfe048b4a: Verifying Checksum [2021-11-09T07:38:32.123Z] 7a9cfe048b4a: Download complete [2021-11-09T07:38:32.762Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-09T07:38:32.772Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-09T07:38:32.782Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-09T07:38:32.794Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T07:38:32.794Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T07:38:32.795Z] [INFO] Currently running in a labeled security context [2021-11-09T07:38:32.795Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-09T07:38:32.795Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/5@tmp/jenkins-gitclient-ssh7647037004547600069.key [2021-11-09T07:38:32.804Z] > 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-09T07:38:33.558Z] Merging remotes/origin/main commit 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc into PR head commit 6b8b5fafede3c273b57c7e6f52168c21266c8a7a [2021-11-09T07:38:33.664Z] Merge succeeded, producing 6b8b5fafede3c273b57c7e6f52168c21266c8a7a [2021-11-09T07:38:33.664Z] Checking out Revision 6b8b5fafede3c273b57c7e6f52168c21266c8a7a (PR-1055) [2021-11-09T07:38:33.395Z] > git config core.sparsecheckout # timeout=10 [2021-11-09T07:38:33.404Z] > git checkout -f 6b8b5fafede3c273b57c7e6f52168c21266c8a7a # timeout=10 [2021-11-09T07:38:33.441Z] > git remote # timeout=10 [2021-11-09T07:38:33.451Z] > git config --get remote.origin.url # timeout=10 [2021-11-09T07:38:33.456Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T07:38:33.457Z] [INFO] Currently running in a labeled security context [2021-11-09T07:38:33.457Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-09T07:38:33.457Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/5@tmp/jenkins-gitclient-ssh2374175455429589706.key [2021-11-09T07:38:33.464Z] > git merge 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc # timeout=10 [2021-11-09T07:38:33.478Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-09T07:38:33.495Z] > git config core.sparsecheckout # timeout=10 [2021-11-09T07:38:33.502Z] > git checkout -f 6b8b5fafede3c273b57c7e6f52168c21266c8a7a # timeout=10 [2021-11-09T07:38:38.083Z] Commit message: "feat: Cache the profile when loading the profile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-09T07:38:38.440Z] provisioning config files... [2021-11-09T07:38:38.459Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config5583291770996096369tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T07:38:38.849Z] ---> docker-login.sh [2021-11-09T07:38:38.849Z] nexus3.edgexfoundry.org:10001 [2021-11-09T07:38:38.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T07:38:38.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T07:38:38.849Z] Configure a credential helper to remove this warning. See [2021-11-09T07:38:38.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T07:38:38.849Z] [2021-11-09T07:38:38.849Z] Login Succeeded [2021-11-09T07:38:38.849Z] nexus3.edgexfoundry.org:10002 [2021-11-09T07:38:39.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T07:38:39.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T07:38:39.114Z] Configure a credential helper to remove this warning. See [2021-11-09T07:38:39.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T07:38:39.114Z] [2021-11-09T07:38:39.114Z] Login Succeeded [2021-11-09T07:38:39.114Z] nexus3.edgexfoundry.org:10003 [2021-11-09T07:38:39.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T07:38:39.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T07:38:39.115Z] Configure a credential helper to remove this warning. See [2021-11-09T07:38:39.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T07:38:39.115Z] [2021-11-09T07:38:39.115Z] Login Succeeded [2021-11-09T07:38:39.115Z] nexus3.edgexfoundry.org:10004 [2021-11-09T07:38:39.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T07:38:39.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T07:38:39.379Z] Configure a credential helper to remove this warning. See [2021-11-09T07:38:39.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T07:38:39.379Z] [2021-11-09T07:38:39.379Z] Login Succeeded [2021-11-09T07:38:39.379Z] docker.io [2021-11-09T07:38:39.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T07:38:39.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T07:38:39.640Z] Configure a credential helper to remove this warning. See [2021-11-09T07:38:39.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T07:38:39.640Z] [2021-11-09T07:38:39.640Z] Login Succeeded [2021-11-09T07:38:39.640Z] ---> docker-login.sh ends [Pipeline] } [2021-11-09T07:38:39.673Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-09T07:38:39.821Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-09T07:38:39.829Z] ========================================================= [2021-11-09T07:38:39.830Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-09T07:38:39.830Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-09T07:38:40.141Z] + 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-09T07:38:40.141Z] Sending build context to Docker daemon 2.78MB [2021-11-09T07:38:40.141Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-09T07:38:40.141Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-09T07:38:40.141Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-09T07:38:40.141Z] a0d0a0d46f8b: Pulling fs layer [2021-11-09T07:38:40.141Z] 31adcdaf11c8: Pulling fs layer [2021-11-09T07:38:40.141Z] b8b176561691: Pulling fs layer [2021-11-09T07:38:40.141Z] 4527c011a84f: Pulling fs layer [2021-11-09T07:38:40.141Z] 5d74067f8e1e: Pulling fs layer [2021-11-09T07:38:40.141Z] e0aca202a116: Pulling fs layer [2021-11-09T07:38:40.141Z] 3a43be97a3b4: Pulling fs layer [2021-11-09T07:38:40.141Z] 34cad66bf833: Pulling fs layer [2021-11-09T07:38:40.141Z] b4e3c513aaa6: Pulling fs layer [2021-11-09T07:38:40.141Z] 4527c011a84f: Waiting [2021-11-09T07:38:40.141Z] 5d74067f8e1e: Waiting [2021-11-09T07:38:40.141Z] e0aca202a116: Waiting [2021-11-09T07:38:40.141Z] 3a43be97a3b4: Waiting [2021-11-09T07:38:40.141Z] 34cad66bf833: Waiting [2021-11-09T07:38:40.141Z] b4e3c513aaa6: Waiting [2021-11-09T07:38:40.141Z] b8b176561691: Verifying Checksum [2021-11-09T07:38:40.141Z] b8b176561691: Download complete [2021-11-09T07:38:40.141Z] 31adcdaf11c8: Download complete [2021-11-09T07:38:40.141Z] 5d74067f8e1e: Verifying Checksum [2021-11-09T07:38:40.141Z] 5d74067f8e1e: Download complete [2021-11-09T07:38:40.141Z] e0aca202a116: Verifying Checksum [2021-11-09T07:38:40.141Z] e0aca202a116: Download complete [2021-11-09T07:38:40.409Z] a0d0a0d46f8b: Verifying Checksum [2021-11-09T07:38:40.409Z] a0d0a0d46f8b: Download complete [2021-11-09T07:38:40.409Z] 3a43be97a3b4: Verifying Checksum [2021-11-09T07:38:40.409Z] 3a43be97a3b4: Download complete [2021-11-09T07:38:40.409Z] 34cad66bf833: Verifying Checksum [2021-11-09T07:38:40.409Z] 34cad66bf833: Download complete [2021-11-09T07:38:40.680Z] a0d0a0d46f8b: Pull complete [2021-11-09T07:38:40.946Z] b4e3c513aaa6: Verifying Checksum [2021-11-09T07:38:40.946Z] b4e3c513aaa6: Download complete [2021-11-09T07:38:40.946Z] 4527c011a84f: Verifying Checksum [2021-11-09T07:38:40.946Z] 4527c011a84f: Download complete [2021-11-09T07:38:40.946Z] 31adcdaf11c8: Pull complete [2021-11-09T07:38:40.946Z] b8b176561691: Pull complete [2021-11-09T07:38:42.646Z] 7a9cfe048b4a: Pull complete [2021-11-09T07:38:42.646Z] 72dc09318566: Pull complete [2021-11-09T07:38:42.919Z] f4f7b4309257: Pull complete [2021-11-09T07:38:43.191Z] 0ac9a79272e3: Pull complete [2021-11-09T07:38:45.179Z] 4527c011a84f: Pull complete [2021-11-09T07:38:45.179Z] 5d74067f8e1e: Pull complete [2021-11-09T07:38:45.179Z] e0aca202a116: Pull complete [2021-11-09T07:38:45.179Z] 3a43be97a3b4: Pull complete [2021-11-09T07:38:45.179Z] 34cad66bf833: Pull complete [2021-11-09T07:38:47.128Z] b4e3c513aaa6: Pull complete [2021-11-09T07:38:47.129Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-09T07:38:47.129Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-09T07:38:47.129Z] ---> 9f6097aaca64 [2021-11-09T07:38:47.129Z] Step 3/10 : ARG MAKE=make build [2021-11-09T07:38:49.053Z] ---> Running in e54dc1479b57 [2021-11-09T07:38:49.053Z] Removing intermediate container e54dc1479b57 [2021-11-09T07:38:49.053Z] ---> d76ffd55b86b [2021-11-09T07:38:49.053Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-09T07:38:49.053Z] ---> Running in 290ccb7a101d [2021-11-09T07:38:49.053Z] Removing intermediate container 290ccb7a101d [2021-11-09T07:38:49.053Z] ---> f7f8b530fd8e [2021-11-09T07:38:49.053Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T07:38:49.053Z] ---> Running in 81dc7b71ea42 [2021-11-09T07:38:49.318Z] Removing intermediate container 81dc7b71ea42 [2021-11-09T07:38:49.318Z] ---> 46c0925b524c [2021-11-09T07:38:49.318Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T07:38:49.318Z] ---> Running in a61b212090ba [2021-11-09T07:38:49.901Z] Removing intermediate container a61b212090ba [2021-11-09T07:38:49.901Z] ---> 9e1cca8d0a12 [2021-11-09T07:38:49.901Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-09T07:38:49.901Z] ---> Running in 808a43f5583f [2021-11-09T07:38:49.931Z] b78e95d17946: Pull complete [2021-11-09T07:38:49.931Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-09T07:38:49.931Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-09T07:38:49.931Z] ---> 8b459fc5aaf0 [2021-11-09T07:38:49.931Z] Step 3/10 : ARG MAKE=make build [2021-11-09T07:38:50.165Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-09T07:38:50.527Z] ---> Running in 90d1eebf58d3 [2021-11-09T07:38:50.736Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-09T07:38:51.132Z] Removing intermediate container 90d1eebf58d3 [2021-11-09T07:38:51.132Z] ---> e6a005759c98 [2021-11-09T07:38:51.132Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-09T07:38:51.132Z] ---> Running in b57ea3556fa6 [2021-11-09T07:38:51.308Z] OK: 220 MiB in 52 packages [2021-11-09T07:38:51.309Z] Removing intermediate container 808a43f5583f [2021-11-09T07:38:51.309Z] ---> d1b794d9e175 [2021-11-09T07:38:51.309Z] Step 8/10 : COPY . . [2021-11-09T07:38:51.407Z] Removing intermediate container b57ea3556fa6 [2021-11-09T07:38:51.407Z] ---> b75ab8bee49c [2021-11-09T07:38:51.407Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T07:38:51.684Z] ---> Running in 676b89000d71 [2021-11-09T07:38:51.885Z] ---> 4eb61fddc973 [2021-11-09T07:38:51.886Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-09T07:38:51.886Z] ---> Running in f5458b5ac198 [2021-11-09T07:38:51.960Z] Removing intermediate container 676b89000d71 [2021-11-09T07:38:51.960Z] ---> c83393194f08 [2021-11-09T07:38:51.960Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T07:38:52.235Z] ---> Running in 9085dc2ca0ec [2021-11-09T07:38:54.214Z] Removing intermediate container 9085dc2ca0ec [2021-11-09T07:38:54.214Z] ---> 2016d95e4a54 [2021-11-09T07:38:54.214Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-09T07:38:54.214Z] ---> Running in a590768dbe8f [2021-11-09T07:38:55.649Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-09T07:38:56.243Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-09T07:38:57.222Z] OK: 219 MiB in 52 packages [2021-11-09T07:38:57.832Z] Removing intermediate container a590768dbe8f [2021-11-09T07:38:57.832Z] ---> b5c07e6cc183 [2021-11-09T07:38:57.832Z] Step 8/10 : COPY . . [2021-11-09T07:38:59.276Z] ---> 97267b6fd60e [2021-11-09T07:38:59.276Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-09T07:38:59.276Z] ---> Running in b618627225a1 [2021-11-09T07:39:24.062Z] Removing intermediate container f5458b5ac198 [2021-11-09T07:39:24.062Z] ---> b46f9056699f [2021-11-09T07:39:24.062Z] Step 10/10 : RUN ${MAKE} [2021-11-09T07:39:24.062Z] ---> Running in 7f2cb4dc7c89 [2021-11-09T07:39:24.062Z] noop [2021-11-09T07:39:24.321Z] Removing intermediate container 7f2cb4dc7c89 [2021-11-09T07:39:24.322Z] ---> 2e1505723882 [2021-11-09T07:39:24.322Z] Successfully built 2e1505723882 [2021-11-09T07:39:24.322Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T07:39:24.619Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-09T07:39:24.619Z] . [Pipeline] withDockerContainer [2021-11-09T07:39:24.684Z] prd-centos7-docker-4c-2g-28068 does not seem to be running inside a container [2021-11-09T07:39:24.739Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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-09T07:39:25.064Z] $ docker top 37dfcac4a47cc0d19495c5bb062a6fddcd38106a6e113696618d0845e4d4bb24 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-09T07:39:25.427Z] + go version [2021-11-09T07:39:25.427Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-09T07:39:25.440Z] $ docker stop --time=1 37dfcac4a47cc0d19495c5bb062a6fddcd38106a6e113696618d0845e4d4bb24 [2021-11-09T07:39:26.604Z] $ docker rm -f 37dfcac4a47cc0d19495c5bb062a6fddcd38106a6e113696618d0845e4d4bb24 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-09T07:39:27.082Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-09T07:39:27.082Z] . [Pipeline] withDockerContainer [2021-11-09T07:39:27.138Z] prd-centos7-docker-4c-2g-28068 does not seem to be running inside a container [2021-11-09T07:39:27.168Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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-09T07:39:27.471Z] $ docker top 036e4f75d77d1276634afc42b079755830c5a609faea45ec9c44375c43ca2a45 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-09T07:39:27.838Z] + make test [2021-11-09T07:39:27.838Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-09T07:39:33.179Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-09T07:39:55.233Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-09T07:39:55.233Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-09T07:39:55.233Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-09T07:39:57.185Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.052s coverage: 23.3% of statements [2021-11-09T07:39:57.185Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-09T07:39:57.185Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 27.6% of statements [2021-11-09T07:39:57.446Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.074s coverage: 78.9% of statements [2021-11-09T07:39:57.713Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.045s coverage: 9.0% of statements [2021-11-09T07:39:57.713Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-09T07:39:57.713Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-09T07:39:57.714Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-09T07:39:58.307Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.066s coverage: 28.7% of statements [2021-11-09T07:39:58.307Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-09T07:39:59.250Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.060s coverage: 83.3% of statements [2021-11-09T07:39:59.250Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-09T07:39:59.250Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-09T07:39:59.250Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.076s coverage: 57.8% of statements [2021-11-09T07:40:00.650Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.821s coverage: 89.2% of statements [2021-11-09T07:40:00.650Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-09T07:40:00.650Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.048s coverage: 4.8% of statements [2021-11-09T07:40:00.650Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-09T07:40:00.650Z] GO111MODULE=on go vet ./... [2021-11-09T07:40:18.820Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-09T07:40:18.820Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-09T07:40:18.820Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-09T07:40:18.831Z] $ docker stop --time=1 036e4f75d77d1276634afc42b079755830c5a609faea45ec9c44375c43ca2a45 [2021-11-09T07:40:20.255Z] $ docker rm -f 036e4f75d77d1276634afc42b079755830c5a609faea45ec9c44375c43ca2a45 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-09T07:40:20.702Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-09T07:40:20.893Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-11-09T07:40:21.076Z] Removing intermediate container b618627225a1 [2021-11-09T07:40:21.076Z] ---> 71311f16a8df [2021-11-09T07:40:21.076Z] Step 10/10 : RUN ${MAKE} [2021-11-09T07:40:21.076Z] ---> Running in ea87ce7efdee [2021-11-09T07:40:21.076Z] noop [2021-11-09T07:40:21.076Z] Removing intermediate container ea87ce7efdee [2021-11-09T07:40:21.076Z] ---> 807988f6c73a [2021-11-09T07:40:21.076Z] Successfully built 807988f6c73a [2021-11-09T07:40:21.076Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-11-09T07:40:22.931Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-09T07:40:23.004Z] + docker inspect -f . ci-base-image-arm64 [2021-11-09T07:40:23.004Z] . [Pipeline] withDockerContainer [2021-11-09T07:40:23.219Z] + ls -al . [2021-11-09T07:40:23.220Z] total 264 [2021-11-09T07:40:23.220Z] drwxrwxr-x. 10 jenkins jenkins 4096 Nov 9 07:40 . [2021-11-09T07:40:23.220Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 9 07:38 .. [2021-11-09T07:40:23.220Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 9 07:38 bin [2021-11-09T07:40:23.220Z] -rw-rw-r--. 1 jenkins jenkins 24816 Nov 9 07:38 CHANGELOG.md [2021-11-09T07:40:23.220Z] -rw-r--r--. 1 jenkins jenkins 128369 Nov 9 07:40 coverage.out [2021-11-09T07:40:23.220Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 9 07:38 .dockerignore [2021-11-09T07:40:23.220Z] drwxrwxr-x. 5 jenkins jenkins 62 Nov 9 07:38 example [2021-11-09T07:40:23.220Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 9 07:38 .git [2021-11-09T07:40:23.220Z] drwxrwxr-x. 3 jenkins jenkins 125 Nov 9 07:38 .github [2021-11-09T07:40:23.220Z] -rw-rw-r--. 1 jenkins jenkins 131 Nov 9 07:38 .gitignore [2021-11-09T07:40:23.220Z] -rw-rw-r--. 1 jenkins jenkins 602 Nov 9 07:38 go.mod [2021-11-09T07:40:23.220Z] -rw-rw-r--. 1 jenkins jenkins 49022 Nov 9 07:38 go.sum [2021-11-09T07:40:23.220Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 9 07:38 GOVERNANCE.md [2021-11-09T07:40:23.220Z] drwxrwxr-x. 15 jenkins jenkins 224 Nov 9 07:38 internal [2021-11-09T07:40:23.220Z] -rw-rw-r--. 1 jenkins jenkins 880 Nov 9 07:38 Jenkinsfile [2021-11-09T07:40:23.220Z] -rw-rw-r--. 1 jenkins jenkins 11341 Nov 9 07:38 LICENSE [2021-11-09T07:40:23.220Z] -rw-rw-r--. 1 jenkins jenkins 1120 Nov 9 07:38 Makefile [2021-11-09T07:40:23.220Z] drwxrwxr-x. 3 jenkins jenkins 16 Nov 9 07:38 openapi [2021-11-09T07:40:23.220Z] -rw-rw-r--. 1 jenkins jenkins 619 Nov 9 07:38 OWNERS.md [2021-11-09T07:40:23.220Z] drwxrwxr-x. 5 jenkins jenkins 50 Nov 9 07:38 pkg [2021-11-09T07:40:23.220Z] -rw-rw-r--. 1 jenkins jenkins 4877 Nov 9 07:38 README.md [2021-11-09T07:40:23.220Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 9 07:38 snap [2021-11-09T07:40:23.220Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 9 07:35 VERSION [2021-11-09T07:40:23.220Z] -rw-rw-r--. 1 jenkins jenkins 222 Nov 9 07:38 version.go [2021-11-09T07:40:23.257Z] prd-ubuntu18.04-docker-arm64-4c-16g-28067 does not seem to be running inside a container [2021-11-09T07:40:23.347Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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-09T07:40:24.865Z] $ docker top 455556d039010f50daeb3c4e478a02d254a8b46fe9bd032276e91a2556228fc4 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-11-09T07:40:25.536Z] + 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=6b8b5fafede3c273b57c7e6f52168c21266c8a7a --label arch=amd64 --label version=0.0.0 . [2021-11-09T07:40:25.536Z] Sending build context to Docker daemon 2.909MB [2021-11-09T07:40:25.536Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-09T07:40:25.536Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-09T07:40:25.536Z] ---> 2e1505723882 [2021-11-09T07:40:25.536Z] Step 3/24 : ARG MAKE=make build [2021-11-09T07:40:25.536Z] ---> Running in eb6ff6f0eeeb [2021-11-09T07:40:25.797Z] Removing intermediate container eb6ff6f0eeeb [2021-11-09T07:40:25.797Z] ---> 53cd8775b5e9 [2021-11-09T07:40:25.797Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-09T07:40:25.797Z] ---> Running in 9e269783b871 [2021-11-09T07:40:25.797Z] Removing intermediate container 9e269783b871 [2021-11-09T07:40:25.797Z] ---> f1e1c6a344dd [2021-11-09T07:40:25.797Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T07:40:25.797Z] ---> Running in 3e3c28a352a4 [2021-11-09T07:40:25.797Z] Removing intermediate container 3e3c28a352a4 [2021-11-09T07:40:25.797Z] ---> 1f6a6220c46e [2021-11-09T07:40:25.797Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T07:40:25.797Z] ---> Running in e37f11d76e6c [2021-11-09T07:40:25.823Z] + go version [2021-11-09T07:40:25.823Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-09T07:40:25.854Z] $ docker stop --time=1 455556d039010f50daeb3c4e478a02d254a8b46fe9bd032276e91a2556228fc4 [2021-11-09T07:40:26.367Z] Removing intermediate container e37f11d76e6c [2021-11-09T07:40:26.367Z] ---> c2b2927574f4 [2021-11-09T07:40:26.367Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-09T07:40:26.367Z] ---> Running in 4db7a9dd3b49 [2021-11-09T07:40:26.628Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-09T07:40:27.537Z] $ docker rm -f 455556d039010f50daeb3c4e478a02d254a8b46fe9bd032276e91a2556228fc4 [2021-11-09T07:40:27.576Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2021-11-09T07:40:27.837Z] OK: 220 MiB in 52 packages [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-09T07:40:28.105Z] Removing intermediate container 4db7a9dd3b49 [2021-11-09T07:40:28.105Z] ---> 37c6adfe24c6 [2021-11-09T07:40:28.105Z] Step 8/24 : COPY . . [2021-11-09T07:40:28.246Z] + docker inspect -f . ci-base-image-arm64 [2021-11-09T07:40:28.246Z] . [Pipeline] withDockerContainer [2021-11-09T07:40:28.366Z] ---> 93f48e0e4bc2 [2021-11-09T07:40:28.366Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-09T07:40:28.366Z] ---> Running in 682f1eb5e1cc [2021-11-09T07:40:28.495Z] prd-ubuntu18.04-docker-arm64-4c-16g-28067 does not seem to be running inside a container [2021-11-09T07:40:28.586Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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-09T07:40:28.939Z] Removing intermediate container 682f1eb5e1cc [2021-11-09T07:40:28.939Z] ---> 1b2d4606dd74 [2021-11-09T07:40:28.939Z] Step 10/24 : RUN ${MAKE} [2021-11-09T07:40:28.939Z] ---> Running in 2d58804068b1 [2021-11-09T07:40:29.204Z] 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-09T07:40:30.077Z] $ docker top 751a751a0327a89d8f55a7e011a23293bfd20b3b9cbde43437aa9103c7878208 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-09T07:40:31.018Z] + make test [2021-11-09T07:40:31.018Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-09T07:40:39.248Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-09T07:40:40.197Z] Removing intermediate container 2d58804068b1 [2021-11-09T07:40:40.197Z] ---> 18b681e66516 [2021-11-09T07:40:40.197Z] Step 11/24 : FROM alpine:3.14 [2021-11-09T07:40:44.397Z] 3.14: Pulling from library/alpine [2021-11-09T07:40:44.397Z] a0d0a0d46f8b: Already exists [2021-11-09T07:40:44.397Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-09T07:40:44.397Z] Status: Downloaded newer image for alpine:3.14 [2021-11-09T07:40:44.397Z] ---> 14119a10abf4 [2021-11-09T07:40:44.397Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T07:40:44.397Z] ---> Running in 2e866e08675c [2021-11-09T07:40:44.397Z] Removing intermediate container 2e866e08675c [2021-11-09T07:40:44.397Z] ---> dbee71899f8b [2021-11-09T07:40:44.397Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T07:40:44.397Z] ---> Running in 3988371a2513 [2021-11-09T07:40:44.969Z] Removing intermediate container 3988371a2513 [2021-11-09T07:40:44.969Z] ---> 28a9ac21389c [2021-11-09T07:40:44.969Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-09T07:40:44.969Z] ---> Running in 65225e72698e [2021-11-09T07:40:44.969Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-09T07:40:45.908Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-09T07:40:46.168Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-09T07:40:46.429Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-09T07:40:46.429Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-09T07:40:46.429Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-09T07:40:46.690Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-09T07:40:46.690Z] Executing busybox-1.33.1-r3.trigger [2021-11-09T07:40:46.690Z] OK: 8 MiB in 19 packages [2021-11-09T07:40:46.958Z] Removing intermediate container 65225e72698e [2021-11-09T07:40:46.958Z] ---> 497602e0a1cd [2021-11-09T07:40:46.958Z] Step 15/24 : WORKDIR / [2021-11-09T07:40:46.958Z] ---> Running in 56ee5ecee122 [2021-11-09T07:40:46.958Z] Removing intermediate container 56ee5ecee122 [2021-11-09T07:40:46.958Z] ---> 89b8056206b9 [2021-11-09T07:40:46.958Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-09T07:40:47.225Z] ---> 5562f905a84e [2021-11-09T07:40:47.225Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-09T07:40:47.484Z] ---> 63d5ec22fc61 [2021-11-09T07:40:47.484Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-09T07:40:47.743Z] ---> 36ffae62ef29 [2021-11-09T07:40:47.743Z] Step 19/24 : EXPOSE 59999 [2021-11-09T07:40:47.743Z] ---> Running in 117ddf21469d [2021-11-09T07:40:47.743Z] Removing intermediate container 117ddf21469d [2021-11-09T07:40:47.743Z] ---> c88701de7f87 [2021-11-09T07:40:47.743Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-09T07:40:47.744Z] ---> Running in 508b62e7822c [2021-11-09T07:40:48.012Z] Removing intermediate container 508b62e7822c [2021-11-09T07:40:48.012Z] ---> 12573b212625 [2021-11-09T07:40:48.012Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-09T07:40:48.012Z] ---> Running in 071606ad9318 [2021-11-09T07:40:48.012Z] Removing intermediate container 071606ad9318 [2021-11-09T07:40:48.012Z] ---> ef62bc57cbeb [2021-11-09T07:40:48.012Z] Step 22/24 : LABEL arch=amd64 [2021-11-09T07:40:48.012Z] ---> Running in c305d11d10fb [2021-11-09T07:40:48.012Z] Removing intermediate container c305d11d10fb [2021-11-09T07:40:48.012Z] ---> d916d38b8db9 [2021-11-09T07:40:48.012Z] Step 23/24 : LABEL git_sha=6b8b5fafede3c273b57c7e6f52168c21266c8a7a [2021-11-09T07:40:48.012Z] ---> Running in 138e60da5c5d [2021-11-09T07:40:48.274Z] Removing intermediate container 138e60da5c5d [2021-11-09T07:40:48.274Z] ---> 867175d9f1ae [2021-11-09T07:40:48.274Z] Step 24/24 : LABEL version=0.0.0 [2021-11-09T07:40:48.274Z] ---> Running in 50e4b691c0a6 [2021-11-09T07:40:48.274Z] Removing intermediate container 50e4b691c0a6 [2021-11-09T07:40:48.274Z] ---> ff62021eb05f [2021-11-09T07:40:48.274Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-09T07:40:48.274Z] Successfully built ff62021eb05f [2021-11-09T07:40:48.274Z] 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-09T07:40:48.809Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T07:40:48.809Z] [2021-11-09T07:40:48.809Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T07:40:49.109Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T07:40:49.109Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-09T07:40:49.109Z] b4d181a07f80: Pulling fs layer [2021-11-09T07:40:49.109Z] a1111a8f2ec3: Pulling fs layer [2021-11-09T07:40:49.109Z] ed53099fbce6: Pulling fs layer [2021-11-09T07:40:49.109Z] dc539afda2c1: Pulling fs layer [2021-11-09T07:40:49.109Z] 77bc0d833cb6: Pulling fs layer [2021-11-09T07:40:49.109Z] 9065ff56babe: Pulling fs layer [2021-11-09T07:40:49.109Z] d287ab97295c: Pulling fs layer [2021-11-09T07:40:49.109Z] dc539afda2c1: Waiting [2021-11-09T07:40:49.109Z] 77bc0d833cb6: Waiting [2021-11-09T07:40:49.109Z] 9065ff56babe: Waiting [2021-11-09T07:40:49.109Z] d287ab97295c: Waiting [2021-11-09T07:40:49.109Z] a1111a8f2ec3: Verifying Checksum [2021-11-09T07:40:49.109Z] a1111a8f2ec3: Download complete [2021-11-09T07:40:49.109Z] dc539afda2c1: Verifying Checksum [2021-11-09T07:40:49.109Z] dc539afda2c1: Download complete [2021-11-09T07:40:49.373Z] ed53099fbce6: Verifying Checksum [2021-11-09T07:40:49.373Z] ed53099fbce6: Download complete [2021-11-09T07:40:49.373Z] 77bc0d833cb6: Verifying Checksum [2021-11-09T07:40:49.373Z] 77bc0d833cb6: Download complete [2021-11-09T07:40:49.373Z] 9065ff56babe: Verifying Checksum [2021-11-09T07:40:49.373Z] 9065ff56babe: Download complete [2021-11-09T07:40:49.373Z] b4d181a07f80: Verifying Checksum [2021-11-09T07:40:49.373Z] b4d181a07f80: Download complete [2021-11-09T07:40:49.947Z] d287ab97295c: Verifying Checksum [2021-11-09T07:40:49.947Z] d287ab97295c: Download complete [2021-11-09T07:40:50.907Z] b4d181a07f80: Pull complete [2021-11-09T07:40:51.167Z] a1111a8f2ec3: Pull complete [2021-11-09T07:40:51.745Z] ed53099fbce6: Pull complete [2021-11-09T07:40:51.745Z] dc539afda2c1: Pull complete [2021-11-09T07:40:52.014Z] 77bc0d833cb6: Pull complete [2021-11-09T07:40:52.014Z] 9065ff56babe: Pull complete [2021-11-09T07:40:57.311Z] d287ab97295c: Pull complete [2021-11-09T07:40:57.311Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-09T07:40:57.311Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T07:40:57.311Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-09T07:40:57.376Z] prd-centos7-docker-4c-2g-28068 does not seem to be running inside a container [2021-11-09T07:40:57.412Z] $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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-09T07:40:57.810Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-09T07:40:59.961Z] $ docker top 6aa83c7767e9bee22931b8309c1076a42f6651fd98d75da74aaea8a7495e7acf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T07:41:00.422Z] ---> job-cost.sh [2021-11-09T07:41:00.422Z] lf-activate-venv: SKIPPING [2021-11-09T07:41:00.422Z] INFO: No Stack... [2021-11-09T07:41:00.681Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-09T07:41:00.942Z] INFO: Archiving Costs [Pipeline] sh [2021-11-09T07:41:01.241Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [2021-11-09T07:41:01.241Z] + cut -d, -f6 [Pipeline] lock [2021-11-09T07:41:01.277Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1055-5-stack-cost] [2021-11-09T07:41:01.285Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1055-5-stack-cost] did not exist. Created. [2021-11-09T07:41:01.285Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1055-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-09T07:41:01.584Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-09T07:41:01.618Z] Stashed 1 file(s) [Pipeline] } [2021-11-09T07:41:01.626Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1055-5-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-09T07:41:01.643Z] $ docker stop --time=1 6aa83c7767e9bee22931b8309c1076a42f6651fd98d75da74aaea8a7495e7acf [2021-11-09T07:41:02.883Z] $ docker rm -f 6aa83c7767e9bee22931b8309c1076a42f6651fd98d75da74aaea8a7495e7acf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-09T07:41:55.250Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-09T07:41:55.251Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-09T07:41:55.251Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-09T07:42:07.669Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.294s coverage: 23.3% of statements [2021-11-09T07:42:07.669Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-09T07:42:07.669Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.239s coverage: 27.6% of statements [2021-11-09T07:42:07.669Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.265s coverage: 78.9% of statements [2021-11-09T07:42:07.669Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.221s coverage: 9.0% of statements [2021-11-09T07:42:07.669Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-09T07:42:07.669Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-09T07:42:07.669Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-09T07:42:07.669Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.331s coverage: 28.7% of statements [2021-11-09T07:42:07.669Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-09T07:42:09.673Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.231s coverage: 83.3% of statements [2021-11-09T07:42:09.673Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-09T07:42:09.673Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-09T07:42:09.673Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.330s coverage: 57.8% of statements [2021-11-09T07:42:13.988Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.002s coverage: 89.2% of statements [2021-11-09T07:42:13.988Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-09T07:42:13.988Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.200s coverage: 4.8% of statements [2021-11-09T07:42:13.988Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-09T07:42:13.988Z] GO111MODULE=on go vet ./... [2021-11-09T07:43:10.548Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-09T07:43:10.548Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-09T07:43:10.548Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-09T07:43:10.582Z] $ docker stop --time=1 751a751a0327a89d8f55a7e011a23293bfd20b3b9cbde43437aa9103c7878208 [2021-11-09T07:43:12.447Z] $ docker rm -f 751a751a0327a89d8f55a7e011a23293bfd20b3b9cbde43437aa9103c7878208 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-09T07:43:13.480Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-09T07:43:13.504Z] Warning: overwriting stash ‘coverage-report’ [2021-11-09T07:43:14.057Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-09T07:43:14.546Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-09T07:43:14.886Z] + ls -al . [2021-11-09T07:43:14.886Z] total 300 [2021-11-09T07:43:14.886Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 07:43 . [2021-11-09T07:43:14.886Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 07:37 .. [2021-11-09T07:43:14.886Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 9 07:37 .dockerignore [2021-11-09T07:43:14.886Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 07:38 .git [2021-11-09T07:43:14.886Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 07:37 .github [2021-11-09T07:43:14.886Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 9 07:37 .gitignore [2021-11-09T07:43:14.886Z] -rw-rw-r-- 1 jenkins jenkins 24816 Nov 9 07:37 CHANGELOG.md [2021-11-09T07:43:14.886Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 07:37 GOVERNANCE.md [2021-11-09T07:43:14.886Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 9 07:37 Jenkinsfile [2021-11-09T07:43:14.886Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 9 07:37 LICENSE [2021-11-09T07:43:14.886Z] -rw-rw-r-- 1 jenkins jenkins 1120 Nov 9 07:37 Makefile [2021-11-09T07:43:14.886Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 9 07:37 OWNERS.md [2021-11-09T07:43:14.886Z] -rw-rw-r-- 1 jenkins jenkins 4877 Nov 9 07:37 README.md [2021-11-09T07:43:14.886Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 07:35 VERSION [2021-11-09T07:43:14.886Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 07:37 bin [2021-11-09T07:43:14.886Z] -rw-r--r-- 1 jenkins jenkins 128369 Nov 9 07:42 coverage.out [2021-11-09T07:43:14.886Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 9 07:37 example [2021-11-09T07:43:14.886Z] -rw-rw-r-- 1 jenkins jenkins 602 Nov 9 07:37 go.mod [2021-11-09T07:43:14.886Z] -rw-rw-r-- 1 jenkins jenkins 49022 Nov 9 07:37 go.sum [2021-11-09T07:43:14.886Z] drwxrwxr-x 15 jenkins jenkins 4096 Nov 9 07:37 internal [2021-11-09T07:43:14.886Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 07:37 openapi [2021-11-09T07:43:14.886Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 9 07:37 pkg [2021-11-09T07:43:14.886Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 07:37 snap [2021-11-09T07:43:14.886Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 9 07:37 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-09T07:43:15.221Z] + 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=6b8b5fafede3c273b57c7e6f52168c21266c8a7a --label arch=arm64 --label version=0.0.0 . [2021-11-09T07:43:15.818Z] Sending build context to Docker daemon 2.919MB [2021-11-09T07:43:15.818Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-09T07:43:15.818Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-09T07:43:15.818Z] ---> 807988f6c73a [2021-11-09T07:43:15.818Z] Step 3/24 : ARG MAKE=make build [2021-11-09T07:43:15.818Z] ---> Running in a38ae0167567 [2021-11-09T07:43:16.415Z] Removing intermediate container a38ae0167567 [2021-11-09T07:43:16.415Z] ---> 6b2f4dd7857d [2021-11-09T07:43:16.415Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-09T07:43:16.415Z] ---> Running in 98bb240740c8 [2021-11-09T07:43:16.688Z] Removing intermediate container 98bb240740c8 [2021-11-09T07:43:16.688Z] ---> 6decad948565 [2021-11-09T07:43:16.688Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T07:43:16.967Z] ---> Running in aa3fb17f3370 [2021-11-09T07:43:17.243Z] Removing intermediate container aa3fb17f3370 [2021-11-09T07:43:17.243Z] ---> 274ad1ef4079 [2021-11-09T07:43:17.243Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T07:43:17.514Z] ---> Running in 4abf10e24c2a [2021-11-09T07:43:19.483Z] Removing intermediate container 4abf10e24c2a [2021-11-09T07:43:19.483Z] ---> dd7481215ca2 [2021-11-09T07:43:19.483Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-09T07:43:19.483Z] ---> Running in 18cdcdeb77b4 [2021-11-09T07:43:20.460Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-09T07:43:21.436Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-09T07:43:22.032Z] OK: 219 MiB in 52 packages [2021-11-09T07:43:23.025Z] Removing intermediate container 18cdcdeb77b4 [2021-11-09T07:43:23.025Z] ---> 722019d1179c [2021-11-09T07:43:23.025Z] Step 8/24 : COPY . . [2021-11-09T07:43:24.464Z] ---> 69bd704fa7cb [2021-11-09T07:43:24.464Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-09T07:43:24.464Z] ---> Running in 651faf425f5e [2021-11-09T07:43:27.086Z] Removing intermediate container 651faf425f5e [2021-11-09T07:43:27.086Z] ---> bc5663a136ad [2021-11-09T07:43:27.086Z] Step 10/24 : RUN ${MAKE} [2021-11-09T07:43:27.086Z] ---> Running in ac905ee02270 [2021-11-09T07:43:27.682Z] 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-09T07:44:00.051Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-09T07:44:02.673Z] Removing intermediate container ac905ee02270 [2021-11-09T07:44:02.673Z] ---> 5be554027243 [2021-11-09T07:44:02.673Z] Step 11/24 : FROM alpine:3.14 [2021-11-09T07:44:06.974Z] 3.14: Pulling from library/alpine [2021-11-09T07:44:06.974Z] 552d1f2373af: Already exists [2021-11-09T07:44:06.974Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-09T07:44:06.974Z] Status: Downloaded newer image for alpine:3.14 [2021-11-09T07:44:06.974Z] ---> bb3de5531c18 [2021-11-09T07:44:06.974Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T07:44:06.974Z] ---> Running in 71ee75bafcaa [2021-11-09T07:44:07.249Z] Removing intermediate container 71ee75bafcaa [2021-11-09T07:44:07.249Z] ---> e0c7941cc907 [2021-11-09T07:44:07.249Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T07:44:07.249Z] ---> Running in 4213bdd81eed [2021-11-09T07:44:09.225Z] Removing intermediate container 4213bdd81eed [2021-11-09T07:44:09.225Z] ---> f092ebe44e7a [2021-11-09T07:44:09.225Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-09T07:44:09.225Z] ---> Running in bc41dbfcbc6c [2021-11-09T07:44:10.662Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-09T07:44:11.255Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-09T07:44:12.233Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-09T07:44:12.233Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-09T07:44:12.233Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-09T07:44:12.508Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-09T07:44:12.508Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-09T07:44:12.508Z] Executing busybox-1.33.1-r3.trigger [2021-11-09T07:44:12.508Z] OK: 8 MiB in 19 packages [2021-11-09T07:44:13.495Z] Removing intermediate container bc41dbfcbc6c [2021-11-09T07:44:13.495Z] ---> 7569efb1339b [2021-11-09T07:44:13.495Z] Step 15/24 : WORKDIR / [2021-11-09T07:44:13.770Z] ---> Running in 3129271e50a7 [2021-11-09T07:44:14.044Z] Removing intermediate container 3129271e50a7 [2021-11-09T07:44:14.044Z] ---> 68797436b539 [2021-11-09T07:44:14.044Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-09T07:44:15.025Z] ---> 9c1eb41845ee [2021-11-09T07:44:15.025Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-09T07:44:16.006Z] ---> 2c5e26241344 [2021-11-09T07:44:16.006Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-09T07:44:16.601Z] ---> 025d8687d5ca [2021-11-09T07:44:16.601Z] Step 19/24 : EXPOSE 59999 [2021-11-09T07:44:16.875Z] ---> Running in 929b67705991 [2021-11-09T07:44:17.149Z] Removing intermediate container 929b67705991 [2021-11-09T07:44:17.149Z] ---> f17ec4f29e1a [2021-11-09T07:44:17.149Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-09T07:44:17.149Z] ---> Running in af1ffed4700a [2021-11-09T07:44:17.753Z] Removing intermediate container af1ffed4700a [2021-11-09T07:44:17.753Z] ---> f7a183ed8592 [2021-11-09T07:44:17.753Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-09T07:44:17.753Z] ---> Running in 804136237cbf [2021-11-09T07:44:18.026Z] Removing intermediate container 804136237cbf [2021-11-09T07:44:18.026Z] ---> 46583f10ee17 [2021-11-09T07:44:18.026Z] Step 22/24 : LABEL arch=arm64 [2021-11-09T07:44:18.298Z] ---> Running in 68c5e2361a20 [2021-11-09T07:44:18.572Z] Removing intermediate container 68c5e2361a20 [2021-11-09T07:44:18.572Z] ---> 06b57f94e66b [2021-11-09T07:44:18.572Z] Step 23/24 : LABEL git_sha=6b8b5fafede3c273b57c7e6f52168c21266c8a7a [2021-11-09T07:44:18.572Z] ---> Running in dfe58e390a70 [2021-11-09T07:44:19.169Z] Removing intermediate container dfe58e390a70 [2021-11-09T07:44:19.169Z] ---> 303ed4e9260e [2021-11-09T07:44:19.169Z] Step 24/24 : LABEL version=0.0.0 [2021-11-09T07:44:19.169Z] ---> Running in 21a6f51b148d [2021-11-09T07:44:19.441Z] Removing intermediate container 21a6f51b148d [2021-11-09T07:44:19.441Z] ---> 513e9941c506 [2021-11-09T07:44:19.441Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-09T07:44:19.713Z] Successfully built 513e9941c506 [2021-11-09T07:44:19.713Z] 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-09T07:44:20.221Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-09T07:44:20.221Z] [2021-11-09T07:44:20.221Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-09T07:44:20.845Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-09T07:44:21.120Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-09T07:44:21.120Z] 448f6bf000e3: Pulling fs layer [2021-11-09T07:44:21.120Z] f757da607395: Pulling fs layer [2021-11-09T07:44:21.120Z] 05883995daec: Pulling fs layer [2021-11-09T07:44:21.120Z] 8603b9c90790: Pulling fs layer [2021-11-09T07:44:21.120Z] 1560dd03e051: Pulling fs layer [2021-11-09T07:44:21.120Z] 27f5ce0e4adf: Pulling fs layer [2021-11-09T07:44:21.120Z] c2d8d7efcc4b: Pulling fs layer [2021-11-09T07:44:21.120Z] 8603b9c90790: Waiting [2021-11-09T07:44:21.120Z] 1560dd03e051: Waiting [2021-11-09T07:44:21.120Z] c2d8d7efcc4b: Waiting [2021-11-09T07:44:21.120Z] 27f5ce0e4adf: Waiting [2021-11-09T07:44:21.120Z] f757da607395: Verifying Checksum [2021-11-09T07:44:21.120Z] f757da607395: Download complete [2021-11-09T07:44:21.120Z] 8603b9c90790: Verifying Checksum [2021-11-09T07:44:21.120Z] 8603b9c90790: Download complete [2021-11-09T07:44:21.120Z] 1560dd03e051: Verifying Checksum [2021-11-09T07:44:21.120Z] 1560dd03e051: Download complete [2021-11-09T07:44:21.120Z] 27f5ce0e4adf: Verifying Checksum [2021-11-09T07:44:21.120Z] 27f5ce0e4adf: Download complete [2021-11-09T07:44:21.395Z] 05883995daec: Verifying Checksum [2021-11-09T07:44:21.395Z] 05883995daec: Download complete [2021-11-09T07:44:21.669Z] 448f6bf000e3: Verifying Checksum [2021-11-09T07:44:21.669Z] 448f6bf000e3: Download complete [2021-11-09T07:44:24.303Z] c2d8d7efcc4b: Verifying Checksum [2021-11-09T07:44:24.303Z] c2d8d7efcc4b: Download complete [2021-11-09T07:44:25.283Z] 448f6bf000e3: Pull complete [2021-11-09T07:44:25.882Z] f757da607395: Pull complete [2021-11-09T07:44:27.327Z] 05883995daec: Pull complete [2021-11-09T07:44:27.600Z] 8603b9c90790: Pull complete [2021-11-09T07:44:28.577Z] 1560dd03e051: Pull complete [2021-11-09T07:44:28.853Z] 27f5ce0e4adf: Pull complete [2021-11-09T07:44:43.941Z] c2d8d7efcc4b: Pull complete [2021-11-09T07:44:43.941Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-09T07:44:43.941Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-09T07:44:43.941Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-09T07:44:44.198Z] prd-ubuntu18.04-docker-arm64-4c-16g-28067 does not seem to be running inside a container [2021-11-09T07:44:44.294Z] $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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-09T07:44:47.032Z] $ docker top 6b19ac7c689d6bb30775394dd2c3a514d80cf7b00421553e2baa121a72fadb12 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T07:44:47.985Z] ---> job-cost.sh [2021-11-09T07:44:47.985Z] lf-activate-venv: SKIPPING [2021-11-09T07:44:47.985Z] INFO: No Stack... [2021-11-09T07:44:48.963Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-09T07:44:49.235Z] INFO: Archiving Costs [Pipeline] sh [2021-11-09T07:44:49.895Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [2021-11-09T07:44:49.895Z] + cut -d, -f6 [Pipeline] lock [2021-11-09T07:44:49.953Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1055-5-stack-cost] [2021-11-09T07:44:49.960Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1055-5-stack-cost] did not exist. Created. [2021-11-09T07:44:49.960Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1055-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-09T07:44:50.633Z] /w/workspace/device-sdk-go/5@tmp/durable-59e8de7c/script.sh: 1: /w/workspace/device-sdk-go/5@tmp/durable-59e8de7c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-09T07:44:51.294Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-09T07:44:51.315Z] Warning: overwriting stash ‘stack-cost’ [2021-11-09T07:44:51.371Z] Stashed 1 file(s) [Pipeline] } [2021-11-09T07:44:51.382Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1055-5-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-09T07:44:51.416Z] $ docker stop --time=1 6b19ac7c689d6bb30775394dd2c3a514d80cf7b00421553e2baa121a72fadb12 [2021-11-09T07:44:52.955Z] $ docker rm -f 6b19ac7c689d6bb30775394dd2c3a514d80cf7b00421553e2baa121a72fadb12 [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-09T07:44:53.615Z] provisioning config files... [2021-11-09T07:44:53.626Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/config6265370403614645382tmp [Pipeline] { [Pipeline] sh [2021-11-09T07:44:53.934Z] + set +x [2021-11-09T07:44:53.934Z] + bash -s -- [2021-11-09T07:44:53.934Z] + curl -s https://codecov.io/bash [2021-11-09T07:44:53.934Z] [2021-11-09T07:44:53.934Z] _____ _ [2021-11-09T07:44:53.934Z] / ____| | | [2021-11-09T07:44:53.934Z] | | ___ __| | ___ ___ _____ __ [2021-11-09T07:44:53.934Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-09T07:44:53.934Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-09T07:44:53.934Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-09T07:44:53.934Z] Bash-1.0.6 [2021-11-09T07:44:53.934Z] [2021-11-09T07:44:53.934Z] [2021-11-09T07:44:53.934Z] ==> git version 2.24.4 found [2021-11-09T07:44:53.934Z] ==> 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-09T07:44:53.934Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-09T07:44:53.934Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-09T07:44:53.934Z] ==> Jenkins CI detected. [2021-11-09T07:44:53.934Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1055 [2021-11-09T07:44:53.934Z] project root: . [2021-11-09T07:44:53.934Z] --> token set from env [2021-11-09T07:44:53.934Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-09T07:44:53.934Z] ==> Running gcov in . (disable via -X gcov) [2021-11-09T07:44:53.934Z] ==> Python coveragepy not found [2021-11-09T07:44:53.934Z] ==> Searching for coverage reports in: [2021-11-09T07:44:53.934Z] + . [2021-11-09T07:44:53.934Z] -> Found 1 reports [2021-11-09T07:44:53.934Z] ==> Detecting git/mercurial file structure [2021-11-09T07:44:54.197Z] ==> Reading reports [2021-11-09T07:44:54.197Z] + ./coverage.out bytes=128369 [2021-11-09T07:44:54.197Z] ==> Appending adjustments [2021-11-09T07:44:54.197Z] https://docs.codecov.io/docs/fixing-reports [2021-11-09T07:44:54.457Z] + Found adjustments [2021-11-09T07:44:54.457Z] ==> Gzipping contents [2021-11-09T07:44:54.457Z] 16K /tmp/codecov.OflCk4.gz [2021-11-09T07:44:54.457Z] ==> Uploading reports [2021-11-09T07:44:54.457Z] url: https://codecov.io [2021-11-09T07:44:54.457Z] query: branch=PR-1055&commit=6b8b5fafede3c273b57c7e6f52168c21266c8a7a&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1055%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1055&job=&cmd_args= [2021-11-09T07:44:54.457Z] -> Pinging Codecov [2021-11-09T07:44:54.457Z] 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=6b8b5fafede3c273b57c7e6f52168c21266c8a7a&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1055%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1055&job=&cmd_args= [2021-11-09T07:44:54.718Z] -> Uploading to [2021-11-09T07:44:54.718Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-09/7E55EF52A471D76F132DFD9A03CDDE97/6b8b5fafede3c273b57c7e6f52168c21266c8a7a/d6043ad9-3d90-414b-8265-f92de7dfc303.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211109T074454Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=18a8afdc91dda29ba08179babe71172d7c046433ae764859b2ab3ec117f0a9d5 [2021-11-09T07:44:54.718Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-09T07:44:54.718Z] Dload Upload Total Spent Left Speed [2021-11-09T07:44:54.980Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16329 0 0 100 16329 0 52602 --:--:-- --:--:-- --:--:-- 52674 [2021-11-09T07:44:54.980Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/6b8b5fafede3c273b57c7e6f52168c21266c8a7a [Pipeline] } [2021-11-09T07:44:54.988Z] 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-09T07:44:57.157Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1055/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-09T07:44:57.458Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T07:44:58.018Z] ---> package-listing.sh [2021-11-09T07:44:58.018Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-09T07:44:58.018Z] ++ facter osfamily [2021-11-09T07:44:58.282Z] + OS_FAMILY=redhat [2021-11-09T07:44:58.282Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1055 [2021-11-09T07:44:58.282Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-09T07:44:58.282Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-09T07:44:58.282Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-09T07:44:58.282Z] + PACKAGES=/tmp/packages_start.txt [2021-11-09T07:44:58.282Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1055 ']' [2021-11-09T07:44:58.282Z] + PACKAGES=/tmp/packages_end.txt [2021-11-09T07:44:58.282Z] + case "${OS_FAMILY}" in [2021-11-09T07:44:58.282Z] + sort [2021-11-09T07:44:58.282Z] + rpm -qa [2021-11-09T07:44:58.869Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-09T07:44:58.869Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-09T07:44:58.869Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-09T07:44:58.869Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1055 ']' [2021-11-09T07:44:58.869Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1055/archives/ [2021-11-09T07:44:58.869Z] + 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-09T07:44:58.881Z] 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-09T07:44:59.173Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-09T07:44:59.738Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T07:44:59.738Z] [2021-11-09T07:44:59.738Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T07:45:00.051Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T07:45:00.051Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-09T07:45:00.051Z] b4d181a07f80: Pulling fs layer [2021-11-09T07:45:00.051Z] a1111a8f2ec3: Pulling fs layer [2021-11-09T07:45:00.051Z] ed53099fbce6: Pulling fs layer [2021-11-09T07:45:00.051Z] dc539afda2c1: Pulling fs layer [2021-11-09T07:45:00.051Z] 77bc0d833cb6: Pulling fs layer [2021-11-09T07:45:00.051Z] 9065ff56babe: Pulling fs layer [2021-11-09T07:45:00.051Z] d287ab97295c: Pulling fs layer [2021-11-09T07:45:00.051Z] dc539afda2c1: Waiting [2021-11-09T07:45:00.051Z] 77bc0d833cb6: Waiting [2021-11-09T07:45:00.051Z] 9065ff56babe: Waiting [2021-11-09T07:45:00.051Z] d287ab97295c: Waiting [2021-11-09T07:45:00.051Z] a1111a8f2ec3: Verifying Checksum [2021-11-09T07:45:00.051Z] a1111a8f2ec3: Download complete [2021-11-09T07:45:00.051Z] dc539afda2c1: Verifying Checksum [2021-11-09T07:45:00.051Z] dc539afda2c1: Download complete [2021-11-09T07:45:00.312Z] 77bc0d833cb6: Verifying Checksum [2021-11-09T07:45:00.312Z] 77bc0d833cb6: Download complete [2021-11-09T07:45:00.312Z] ed53099fbce6: Verifying Checksum [2021-11-09T07:45:00.312Z] ed53099fbce6: Download complete [2021-11-09T07:45:00.312Z] 9065ff56babe: Verifying Checksum [2021-11-09T07:45:00.312Z] 9065ff56babe: Download complete [2021-11-09T07:45:00.312Z] b4d181a07f80: Verifying Checksum [2021-11-09T07:45:00.312Z] b4d181a07f80: Download complete [2021-11-09T07:45:00.901Z] d287ab97295c: Verifying Checksum [2021-11-09T07:45:00.901Z] d287ab97295c: Download complete [2021-11-09T07:45:01.863Z] b4d181a07f80: Pull complete [2021-11-09T07:45:02.130Z] a1111a8f2ec3: Pull complete [2021-11-09T07:45:02.390Z] ed53099fbce6: Pull complete [2021-11-09T07:45:02.657Z] dc539afda2c1: Pull complete [2021-11-09T07:45:02.922Z] 77bc0d833cb6: Pull complete [2021-11-09T07:45:02.922Z] 9065ff56babe: Pull complete [2021-11-09T07:45:08.246Z] d287ab97295c: Pull complete [2021-11-09T07:45:08.246Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-09T07:45:08.246Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T07:45:08.246Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-09T07:45:08.320Z] prd-centos7-docker-4c-2g-28066 does not seem to be running inside a container [2021-11-09T07:45:08.365Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1055/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1055 -v /w/workspace/gexfoundry_device-sdk-go_PR-1055:/w/workspace/gexfoundry_device-sdk-go_PR-1055:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-09T07:45:11.199Z] $ docker top fc00ed63a9511278f448b4ce9ac89d7651f09d267aec44d77e00462598df7369 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-09T07:45:11.579Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-09T07:45:11.870Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-09T07:45:12.163Z] + ls /var/log/sa-host [2021-11-09T07:45:12.163Z] + sadf -c /var/log/sa-host/sa09 [2021-11-09T07:45:12.163Z] file_magic: OK [2021-11-09T07:45:12.163Z] HZ: Using current value: 100 [2021-11-09T07:45:12.163Z] file_header: OK [2021-11-09T07:45:12.163Z] 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-09T07:45:12.163Z] Statistics: [2021-11-09T07:45:12.163Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-09T07:45:12.163Z] File successfully converted to sysstat format version 12.0.3 [2021-11-09T07:45:12.163Z] + sadf -c /var/log/sa-host/sa30 [2021-11-09T07:45:12.163Z] file_magic: OK [2021-11-09T07:45:12.163Z] HZ: Using current value: 100 [2021-11-09T07:45:12.163Z] file_header: OK [2021-11-09T07:45:12.163Z] 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-09T07:45:12.163Z] Statistics: [2021-11-09T07:45:12.163Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-09T07:45:12.163Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-09T07:45:12.419Z] provisioning config files... [2021-11-09T07:45:12.432Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/config1623832314278454236tmp [Pipeline] { [Pipeline] echo [2021-11-09T07:45:12.454Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T07:45:12.745Z] ---> create-netrc.sh [Pipeline] } [2021-11-09T07:45:12.754Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-09T07:45:13.104Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-09T07:45:13.113Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T07:45:13.435Z] ---> sudo-logs.sh [2021-11-09T07:45:13.435Z] Archiving 'sudo' log.. [2021-11-09T07:45:13.435Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-28066.novalocal: Name or service not known [2021-11-09T07:45:13.435Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-28066.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-09T07:45:13.463Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T07:45:13.754Z] ---> job-cost.sh [2021-11-09T07:45:13.755Z] lf-activate-venv: SKIPPING [2021-11-09T07:45:13.755Z] DEBUG: total: 0.10999999940395355 [2021-11-09T07:45:13.755Z] INFO: Retrieving Stack Cost... [2021-11-09T07:45:15.668Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-09T07:45:15.668Z] INFO: Archiving Costs [Pipeline] echo [2021-11-09T07:45:15.686Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T07:45:15.988Z] ---> logs-deploy.sh [2021-11-09T07:45:15.988Z] lf-activate-venv: SKIPPING [2021-11-09T07:45:15.988Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1055/5 [2021-11-09T07:45:15.988Z] INFO: archiving workspace using pattern(s): [2021-11-09T07:45:16.566Z] Archives upload complete. [2021-11-09T07:45:16.829Z] INFO: archiving logs to Nexus