Pull request #1101 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1e6ea99a192d919204bf6fc5a79637f16a363d57+ff2bdc244935d5b40da6f20198b29dfc476efd7a (5855d31ba65afbb68a245d74f377747ba8530928) 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-ssh14568814870272877086.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh11610165700789356387.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1101/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1101/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1632500019512265474.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1101/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5728573877043343711.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh207322455935173059.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1101/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1101/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh15049344386811688031.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-5876’ Running on prd-centos7-docker-4c-2g-5878 in /w/workspace/gexfoundry_device-sdk-go_PR-1101 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1101 # 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-1101@tmp/jenkins-gitclient-ssh3222877937327132517.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit ff2bdc244935d5b40da6f20198b29dfc476efd7a into PR head commit 1e6ea99a192d919204bf6fc5a79637f16a363d57 Merge succeeded, producing 1e6ea99a192d919204bf6fc5a79637f16a363d57 Checking out Revision 1e6ea99a192d919204bf6fc5a79637f16a363d57 (PR-1101) > 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-1101@tmp/jenkins-gitclient-ssh8226046901231782055.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1101/head:refs/remotes/origin/PR-1101 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1e6ea99a192d919204bf6fc5a79637f16a363d57 # 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-1101@tmp/jenkins-gitclient-ssh5724424470591643001.key > git merge ff2bdc244935d5b40da6f20198b29dfc476efd7a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1e6ea99a192d919204bf6fc5a79637f16a363d57 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-02-23T04:09:54.264Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-02-23T04:09:54.436Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-02-23T04:09:54.541Z] ========================================================= [2022-02-23T04:09:54.541Z] EdgeX Global Pipelines Version Info [2022-02-23T04:09:54.541Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-02-23T04:09:55.733Z] ------------------- [2022-02-23T04:09:55.733Z] stable info: [2022-02-23T04:09:55.733Z] ------------------- [2022-02-23T04:09:55.733Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-23T04:09:55.733Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-23T04:09:55.733Z] Message: update stable to v1.0.220 [2022-02-23T04:09:56.307Z] ------------------- [2022-02-23T04:09:56.307Z] experimental info: [2022-02-23T04:09:56.307Z] ------------------- [2022-02-23T04:09:56.307Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-23T04:09:56.307Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-23T04:09:56.307Z] Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-02-23T04:09:56.573Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-02-23T04:09:56.614Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-02-23T04:09:56.650Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-02-23T04:09:56.726Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-02-23T04:09:56.778Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-02-23T04:09:56.821Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-02-23T04:09:56.862Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-02-23T04:09:56.905Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-02-23T04:09:56.950Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-02-23T04:09:56.993Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-02-23T04:09:57.035Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-02-23T04:09:57.072Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-02-23T04:09:57.112Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-02-23T04:09:57.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-02-23T04:09:57.194Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-02-23T04:09:57.240Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-02-23T04:09:57.278Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-02-23T04:09:57.321Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-02-23T04:09:57.357Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-02-23T04:09:57.402Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-02-23T04:09:57.444Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-02-23T04:09:57.482Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-02-23T04:09:57.523Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-02-23T04:09:57.566Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-02-23T04:09:57.609Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-02-23T04:09:57.650Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-02-23T04:09:57.689Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1101 [Pipeline] echo [2022-02-23T04:09:57.728Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1101 [Pipeline] echo [2022-02-23T04:09:57.765Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1101 [Pipeline] echo [2022-02-23T04:09:57.809Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1e6ea99a192d919204bf6fc5a79637f16a363d57 [Pipeline] echo [2022-02-23T04:09:57.848Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1e6ea99 [Pipeline] echo [2022-02-23T04:09:57.887Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-23T04:09:57.987Z] provisioning config files... [2022-02-23T04:09:58.003Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1101@tmp/config1774045797959646773tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-23T04:09:58.364Z] ---> docker-login.sh [2022-02-23T04:09:58.364Z] nexus3.edgexfoundry.org:10001 [2022-02-23T04:09:58.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-23T04:09:58.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-23T04:09:58.364Z] Configure a credential helper to remove this warning. See [2022-02-23T04:09:58.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-23T04:09:58.364Z] [2022-02-23T04:09:58.364Z] Login Succeeded [2022-02-23T04:09:58.364Z] nexus3.edgexfoundry.org:10002 [2022-02-23T04:09:58.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-23T04:09:58.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-23T04:09:58.624Z] Configure a credential helper to remove this warning. See [2022-02-23T04:09:58.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-23T04:09:58.624Z] [2022-02-23T04:09:58.624Z] Login Succeeded [2022-02-23T04:09:58.624Z] nexus3.edgexfoundry.org:10003 [2022-02-23T04:09:58.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-23T04:09:58.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-23T04:09:58.624Z] Configure a credential helper to remove this warning. See [2022-02-23T04:09:58.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-23T04:09:58.624Z] [2022-02-23T04:09:58.624Z] Login Succeeded [2022-02-23T04:09:58.624Z] nexus3.edgexfoundry.org:10004 [2022-02-23T04:09:58.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-23T04:09:58.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-23T04:09:58.886Z] Configure a credential helper to remove this warning. See [2022-02-23T04:09:58.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-23T04:09:58.886Z] [2022-02-23T04:09:58.886Z] Login Succeeded [2022-02-23T04:09:58.886Z] docker.io [2022-02-23T04:09:58.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-23T04:09:59.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-23T04:09:59.153Z] Configure a credential helper to remove this warning. See [2022-02-23T04:09:59.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-23T04:09:59.153Z] [2022-02-23T04:09:59.153Z] Login Succeeded [2022-02-23T04:09:59.153Z] ---> docker-login.sh ends [Pipeline] } [2022-02-23T04:09:59.182Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-02-23T04:09:59.829Z] + git rev-list -1 --merges 1e6ea99a192d919204bf6fc5a79637f16a363d57~1..1e6ea99a192d919204bf6fc5a79637f16a363d57 [Pipeline] echo [2022-02-23T04:09:59.875Z] -----------> git rev-list -1 --merges 1e6ea99a192d919204bf6fc5a79637f16a363d57~1..1e6ea99a192d919204bf6fc5a79637f16a363d57 1e6ea99a192d919204bf6fc5a79637f16a363d57 [false] [Pipeline] sh [2022-02-23T04:10:00.191Z] + git log --format=format:%s -1 1e6ea99a192d919204bf6fc5a79637f16a363d57 [Pipeline] echo [2022-02-23T04:10:00.228Z] ========================================================= [2022-02-23T04:10:00.228Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-23T04:10:00.228Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-23T04:10:00.667Z] + git log --format=format:%s -1 1e6ea99a192d919204bf6fc5a79637f16a363d57 [Pipeline] echo [2022-02-23T04:10:00.715Z] [semverPrep] GIT_COMMIT: 1e6ea99a192d919204bf6fc5a79637f16a363d57, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-02-23T04:10:00.751Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-02-23T04:10:01.214Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-23T04:10:01.214Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-02-23T04:10:01.214Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-02-23T04:10:01.214Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-02-23T04:10:01.214Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-02-23T04:10:01.214Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-02-23T04:10:01.214Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-23T04:10:01.592Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-23T04:10:01.592Z] [2022-02-23T04:10:01.592Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-02-23T04:10:01.941Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-23T04:10:01.941Z] latest: Pulling from edgex-devops/git-semver [2022-02-23T04:10:01.941Z] a0d0a0d46f8b: Pulling fs layer [2022-02-23T04:10:01.941Z] 3e5f54012d9b: Pulling fs layer [2022-02-23T04:10:01.941Z] 4c7163046ea9: Pulling fs layer [2022-02-23T04:10:01.941Z] 0c2d73faf560: Pulling fs layer [2022-02-23T04:10:01.941Z] 0c2d73faf560: Waiting [2022-02-23T04:10:01.941Z] 3e5f54012d9b: Verifying Checksum [2022-02-23T04:10:01.941Z] 3e5f54012d9b: Download complete [2022-02-23T04:10:01.941Z] a0d0a0d46f8b: Verifying Checksum [2022-02-23T04:10:01.941Z] a0d0a0d46f8b: Download complete [2022-02-23T04:10:01.941Z] 4c7163046ea9: Verifying Checksum [2022-02-23T04:10:01.941Z] 4c7163046ea9: Download complete [2022-02-23T04:10:01.941Z] 0c2d73faf560: Verifying Checksum [2022-02-23T04:10:01.941Z] 0c2d73faf560: Download complete [2022-02-23T04:10:02.204Z] a0d0a0d46f8b: Pull complete [2022-02-23T04:10:02.204Z] 3e5f54012d9b: Pull complete [2022-02-23T04:10:02.481Z] 4c7163046ea9: Pull complete [2022-02-23T04:10:02.742Z] 0c2d73faf560: Pull complete [2022-02-23T04:10:02.742Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-02-23T04:10:02.742Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-23T04:10:02.742Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-02-23T04:10:02.835Z] prd-centos7-docker-4c-2g-5878 does not seem to be running inside a container [2022-02-23T04:10:02.871Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1101 -v /w/workspace/gexfoundry_device-sdk-go_PR-1101:/w/workspace/gexfoundry_device-sdk-go_PR-1101:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1101@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1101@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-02-23T04:10:03.349Z] $ docker top c0cb617eb89215476506d953002f71f2574cdee305ee383d6c77daa4bbd43303 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-23T04:10:03.533Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-23T04:10:03.533Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-23T04:10:03.627Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-23T04:10:03.629Z] $ docker exec c0cb617eb89215476506d953002f71f2574cdee305ee383d6c77daa4bbd43303 ssh-agent [2022-02-23T04:10:03.715Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgfMNph/agent.15 [2022-02-23T04:10:03.715Z] SSH_AGENT_PID=21 [2022-02-23T04:10:03.722Z] Running ssh-add (command line suppressed) [2022-02-23T04:10:03.806Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1101@tmp/private_key_1927229519020184436.key (/w/workspace/gexfoundry_device-sdk-go_PR-1101@tmp/private_key_1927229519020184436.key) [2022-02-23T04:10:03.818Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-23T04:10:04.163Z] + git tag --points-at HEAD [Pipeline] } [2022-02-23T04:10:04.187Z] $ docker exec --env ******** --env ******** c0cb617eb89215476506d953002f71f2574cdee305ee383d6c77daa4bbd43303 ssh-agent -k [2022-02-23T04:10:04.266Z] unset SSH_AUTH_SOCK; [2022-02-23T04:10:04.266Z] unset SSH_AGENT_PID; [2022-02-23T04:10:04.266Z] echo Agent pid 21 killed; [2022-02-23T04:10:04.273Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-02-23T04:10:04.368Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-23T04:10:04.368Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-23T04:10:04.463Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-23T04:10:04.465Z] $ docker exec c0cb617eb89215476506d953002f71f2574cdee305ee383d6c77daa4bbd43303 ssh-agent [2022-02-23T04:10:04.557Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcebmmE/agent.54 [2022-02-23T04:10:04.557Z] SSH_AGENT_PID=60 [2022-02-23T04:10:04.562Z] Running ssh-add (command line suppressed) [2022-02-23T04:10:04.642Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1101@tmp/private_key_3241509912904918746.key (/w/workspace/gexfoundry_device-sdk-go_PR-1101@tmp/private_key_3241509912904918746.key) [2022-02-23T04:10:04.653Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-23T04:10:04.990Z] + git semver init [2022-02-23T04:10:04.990Z] # -> Open(): unable to determine branch for HEAD [2022-02-23T04:10:04.990Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1101/.git [2022-02-23T04:10:04.990Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1101 [2022-02-23T04:10:04.990Z] # $SEMVER_REMOTE_NAME = origin [2022-02-23T04:10:04.990Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-23T04:10:04.990Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-23T04:10:04.990Z] # $SEMVER_BRANCH = PR-1101 [2022-02-23T04:10:04.990Z] # $SEMVER_TEMP = /tmp/semver-038266227 [2022-02-23T04:10:04.990Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-02-23T04:10:05.931Z] # '/tmp/semver-038266227' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1101/.semver' [2022-02-23T04:10:05.931Z] # -> Force: false [2022-02-23T04:10:05.931Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1101/.semver [Pipeline] } [2022-02-23T04:10:05.958Z] $ docker exec --env ******** --env ******** c0cb617eb89215476506d953002f71f2574cdee305ee383d6c77daa4bbd43303 ssh-agent -k [2022-02-23T04:10:06.028Z] unset SSH_AUTH_SOCK; [2022-02-23T04:10:06.029Z] unset SSH_AGENT_PID; [2022-02-23T04:10:06.029Z] echo Agent pid 60 killed; [2022-02-23T04:10:06.035Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-23T04:10:06.467Z] + git semver [Pipeline] } [2022-02-23T04:10:06.498Z] $ docker stop --time=1 c0cb617eb89215476506d953002f71f2574cdee305ee383d6c77daa4bbd43303 [2022-02-23T04:10:07.721Z] $ docker rm -f c0cb617eb89215476506d953002f71f2574cdee305ee383d6c77daa4bbd43303 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-23T04:10:08.129Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-02-23T04:10:08.417Z] Stashed 1 file(s) [Pipeline] echo [2022-02-23T04:10:08.436Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-23T04:10:09.030Z] provisioning config files... [2022-02-23T04:10:09.040Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1101@tmp/config541268358414653108tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-23T04:10:09.395Z] ---> docker-login.sh [2022-02-23T04:10:09.395Z] nexus3.edgexfoundry.org:10001 [2022-02-23T04:10:09.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-23T04:10:09.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-23T04:10:09.395Z] Configure a credential helper to remove this warning. See [2022-02-23T04:10:09.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-23T04:10:09.395Z] [2022-02-23T04:10:09.395Z] Login Succeeded [2022-02-23T04:10:09.395Z] nexus3.edgexfoundry.org:10002 [2022-02-23T04:10:09.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-23T04:10:09.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-23T04:10:09.395Z] Configure a credential helper to remove this warning. See [2022-02-23T04:10:09.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-23T04:10:09.395Z] [2022-02-23T04:10:09.395Z] Login Succeeded [2022-02-23T04:10:09.395Z] nexus3.edgexfoundry.org:10003 [2022-02-23T04:10:09.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-23T04:10:09.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-23T04:10:09.658Z] Configure a credential helper to remove this warning. See [2022-02-23T04:10:09.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-23T04:10:09.658Z] [2022-02-23T04:10:09.658Z] Login Succeeded [2022-02-23T04:10:09.658Z] nexus3.edgexfoundry.org:10004 [2022-02-23T04:10:09.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-23T04:10:09.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-23T04:10:09.658Z] Configure a credential helper to remove this warning. See [2022-02-23T04:10:09.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-23T04:10:09.658Z] [2022-02-23T04:10:09.658Z] Login Succeeded [2022-02-23T04:10:09.658Z] docker.io [2022-02-23T04:10:09.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-23T04:10:10.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-23T04:10:10.233Z] Configure a credential helper to remove this warning. See [2022-02-23T04:10:10.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-23T04:10:10.233Z] [2022-02-23T04:10:10.233Z] Login Succeeded [2022-02-23T04:10:10.233Z] ---> docker-login.sh ends [Pipeline] } [2022-02-23T04:10:10.261Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-23T04:10:10.457Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-23T04:10:10.487Z] ========================================================= [2022-02-23T04:10:10.487Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-02-23T04:10:10.487Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-23T04:10:10.896Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-02-23T04:10:10.896Z] Sending build context to Docker daemon 9.482MB [2022-02-23T04:10:10.896Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-02-23T04:10:10.896Z] Step 2/11 : FROM ${BASE} AS builder [2022-02-23T04:10:10.896Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-02-23T04:10:10.896Z] 59bf1c3509f3: Pulling fs layer [2022-02-23T04:10:10.896Z] 666ba61612fd: Pulling fs layer [2022-02-23T04:10:10.896Z] 8ed8ca486205: Pulling fs layer [2022-02-23T04:10:10.896Z] 4fe6c5a15a65: Pulling fs layer [2022-02-23T04:10:10.896Z] 22a0e8bec74d: Pulling fs layer [2022-02-23T04:10:10.896Z] 640e595b4fbd: Pulling fs layer [2022-02-23T04:10:10.896Z] 763cafe07f6e: Pulling fs layer [2022-02-23T04:10:10.896Z] 0c0b528cf693: Pulling fs layer [2022-02-23T04:10:10.896Z] 10935f4eaf8b: Pulling fs layer [2022-02-23T04:10:10.896Z] 4fe6c5a15a65: Waiting [2022-02-23T04:10:10.896Z] 22a0e8bec74d: Waiting [2022-02-23T04:10:10.896Z] 640e595b4fbd: Waiting [2022-02-23T04:10:10.896Z] 763cafe07f6e: Waiting [2022-02-23T04:10:10.896Z] 0c0b528cf693: Waiting [2022-02-23T04:10:10.896Z] 10935f4eaf8b: Waiting [2022-02-23T04:10:11.164Z] 8ed8ca486205: Verifying Checksum [2022-02-23T04:10:11.164Z] 8ed8ca486205: Download complete [2022-02-23T04:10:11.164Z] 666ba61612fd: Verifying Checksum [2022-02-23T04:10:11.164Z] 666ba61612fd: Download complete [2022-02-23T04:10:11.164Z] 22a0e8bec74d: Verifying Checksum [2022-02-23T04:10:11.164Z] 22a0e8bec74d: Download complete [2022-02-23T04:10:11.164Z] 59bf1c3509f3: Verifying Checksum [2022-02-23T04:10:11.164Z] 59bf1c3509f3: Download complete [2022-02-23T04:10:11.164Z] 640e595b4fbd: Verifying Checksum [2022-02-23T04:10:11.164Z] 640e595b4fbd: Download complete [2022-02-23T04:10:11.164Z] 763cafe07f6e: Verifying Checksum [2022-02-23T04:10:11.164Z] 763cafe07f6e: Download complete [2022-02-23T04:10:11.164Z] 0c0b528cf693: Verifying Checksum [2022-02-23T04:10:11.164Z] 0c0b528cf693: Download complete [2022-02-23T04:10:11.434Z] 59bf1c3509f3: Pull complete [2022-02-23T04:10:11.699Z] 4fe6c5a15a65: Verifying Checksum [2022-02-23T04:10:11.699Z] 4fe6c5a15a65: Download complete [2022-02-23T04:10:11.699Z] 666ba61612fd: Pull complete [2022-02-23T04:10:11.699Z] 10935f4eaf8b: Verifying Checksum [2022-02-23T04:10:11.699Z] 10935f4eaf8b: Download complete [2022-02-23T04:10:11.699Z] 8ed8ca486205: Pull complete [2022-02-23T04:10:15.960Z] 4fe6c5a15a65: Pull complete [2022-02-23T04:10:15.960Z] 22a0e8bec74d: Pull complete [2022-02-23T04:10:15.960Z] 640e595b4fbd: Pull complete [2022-02-23T04:10:15.960Z] 763cafe07f6e: Pull complete [2022-02-23T04:10:15.960Z] 0c0b528cf693: Pull complete [2022-02-23T04:10:18.508Z] 10935f4eaf8b: Pull complete [2022-02-23T04:10:18.508Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-02-23T04:10:18.508Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-02-23T04:10:18.508Z] ---> 99d49a6021b9 [2022-02-23T04:10:18.508Z] Step 3/11 : ARG MAKE=make build [2022-02-23T04:10:20.427Z] ---> Running in 7925f4bd87c0 [2022-02-23T04:10:20.427Z] Removing intermediate container 7925f4bd87c0 [2022-02-23T04:10:20.427Z] ---> e4e18cb23cd3 [2022-02-23T04:10:20.427Z] Step 4/11 : WORKDIR /device-sdk-go [2022-02-23T04:10:20.427Z] ---> Running in 399e2e190366 [2022-02-23T04:10:20.427Z] Removing intermediate container 399e2e190366 [2022-02-23T04:10:20.427Z] ---> df553b0f9fd0 [2022-02-23T04:10:20.427Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-23T04:10:20.427Z] ---> Running in a5dd7aab077f [2022-02-23T04:10:20.427Z] Removing intermediate container a5dd7aab077f [2022-02-23T04:10:20.427Z] ---> a5366d732c99 [2022-02-23T04:10:20.427Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-23T04:10:20.427Z] ---> Running in ceebf761a531 [2022-02-23T04:10:20.999Z] Removing intermediate container ceebf761a531 [2022-02-23T04:10:20.999Z] ---> 8fbe82127aa1 [2022-02-23T04:10:20.999Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-02-23T04:10:20.999Z] ---> Running in 9a36aba3fa34 [2022-02-23T04:10:20.999Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-23T04:10:21.942Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-23T04:10:22.515Z] OK: 221 MiB in 52 packages [2022-02-23T04:10:22.780Z] Removing intermediate container 9a36aba3fa34 [2022-02-23T04:10:22.780Z] ---> 711f589c70b1 [2022-02-23T04:10:22.780Z] Step 8/11 : COPY go.mod vendor* ./ [2022-02-23T04:10:23.044Z] ---> 0cb3ef43d3c6 [2022-02-23T04:10:23.044Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-23T04:10:23.044Z] ---> Running in f89a859868dc [2022-02-23T04:10:23.842Z] Still waiting to schedule task [2022-02-23T04:10:23.842Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-02-23T04:11:01.832Z] Removing intermediate container f89a859868dc [2022-02-23T04:11:01.832Z] ---> 5e7998e8d4d4 [2022-02-23T04:11:01.832Z] Step 10/11 : COPY . . [2022-02-23T04:11:01.832Z] ---> 39f0dc1b2554 [2022-02-23T04:11:01.832Z] Step 11/11 : RUN ${MAKE} [2022-02-23T04:11:01.832Z] ---> Running in 5bef3800bf09 [2022-02-23T04:11:01.832Z] noop [2022-02-23T04:11:01.832Z] Removing intermediate container 5bef3800bf09 [2022-02-23T04:11:01.832Z] ---> ffa34ec207b6 [2022-02-23T04:11:01.832Z] Successfully built ffa34ec207b6 [2022-02-23T04:11:01.832Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-23T04:11:02.164Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-23T04:11:02.164Z] . [Pipeline] withDockerContainer [2022-02-23T04:11:02.264Z] prd-centos7-docker-4c-2g-5878 does not seem to be running inside a container [2022-02-23T04:11:02.300Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1101 -v /w/workspace/gexfoundry_device-sdk-go_PR-1101:/w/workspace/gexfoundry_device-sdk-go_PR-1101:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1101@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1101@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 ******** ci-base-image-x86_64 cat [2022-02-23T04:11:02.661Z] $ docker top 8d3143ea8509f2cb14ecc07a43616a8cec8018a4c9c28dd3dd315dbe72f6b4ae -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-23T04:11:03.090Z] + go version [2022-02-23T04:11:03.090Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-02-23T04:11:03.119Z] $ docker stop --time=1 8d3143ea8509f2cb14ecc07a43616a8cec8018a4c9c28dd3dd315dbe72f6b4ae [2022-02-23T04:11:04.286Z] $ docker rm -f 8d3143ea8509f2cb14ecc07a43616a8cec8018a4c9c28dd3dd315dbe72f6b4ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-23T04:11:04.969Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-23T04:11:04.969Z] . [Pipeline] withDockerContainer [2022-02-23T04:11:05.056Z] prd-centos7-docker-4c-2g-5878 does not seem to be running inside a container [2022-02-23T04:11:05.086Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1101 -v /w/workspace/gexfoundry_device-sdk-go_PR-1101:/w/workspace/gexfoundry_device-sdk-go_PR-1101:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1101@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1101@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 ******** ci-base-image-x86_64 cat [2022-02-23T04:11:05.399Z] $ docker top 782f6c61c42b2bb2c687934814260ba5b6df1d9cb43bc0e62bbe640cc69919b1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-23T04:11:05.853Z] + make test [2022-02-23T04:11:05.853Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-02-23T04:11:06.122Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-02-23T04:11:21.153Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-02-23T04:11:21.153Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-02-23T04:11:21.153Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-02-23T04:11:21.153Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.009s coverage: 23.3% of statements [2022-02-23T04:11:21.153Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-02-23T04:11:21.153Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.008s coverage: 27.6% of statements [2022-02-23T04:11:21.421Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.007s coverage: 78.9% of statements [2022-02-23T04:11:21.690Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.007s coverage: 10.8% of statements [2022-02-23T04:11:21.690Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-02-23T04:11:21.690Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-02-23T04:11:21.690Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-02-23T04:11:22.268Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.009s coverage: 28.7% of statements [2022-02-23T04:11:22.268Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-02-23T04:11:23.649Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.014s coverage: 86.1% of statements [2022-02-23T04:11:23.649Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-02-23T04:11:23.649Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-02-23T04:11:23.649Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.011s coverage: 57.4% of statements [2022-02-23T04:11:23.649Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.028s coverage: 89.2% of statements [2022-02-23T04:11:23.650Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-02-23T04:11:23.650Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.012s coverage: 4.8% of statements [2022-02-23T04:11:23.650Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-02-23T04:11:36.499Z] GO111MODULE=on go vet ./... [2022-02-23T04:11:39.806Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-02-23T04:11:39.807Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-02-23T04:11:39.807Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-02-23T04:11:40.409Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-02-23T04:11:40.434Z] $ docker stop --time=1 782f6c61c42b2bb2c687934814260ba5b6df1d9cb43bc0e62bbe640cc69919b1 [2022-02-23T04:11:41.767Z] $ docker rm -f 782f6c61c42b2bb2c687934814260ba5b6df1d9cb43bc0e62bbe640cc69919b1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-23T04:11:42.296Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-02-23T04:11:42.386Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-02-23T04:11:43.527Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-02-23T04:11:43.837Z] + ls -al . [2022-02-23T04:11:43.837Z] total 272 [2022-02-23T04:11:43.837Z] drwxrwxr-x. 11 jenkins jenkins 4096 Feb 23 04:11 . [2022-02-23T04:11:43.837Z] drwxrwxr-x. 4 jenkins jenkins 112 Feb 23 04:04 .. [2022-02-23T04:11:43.837Z] drwxrwxr-x. 2 jenkins jenkins 37 Feb 23 04:04 bin [2022-02-23T04:11:43.837Z] -rw-rw-r--. 1 jenkins jenkins 26321 Feb 23 04:04 CHANGELOG.md [2022-02-23T04:11:43.837Z] -rw-r--r--. 1 jenkins jenkins 128110 Feb 23 04:11 coverage.out [2022-02-23T04:11:43.837Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 23 04:04 .dockerignore [2022-02-23T04:11:43.837Z] drwxrwxr-x. 5 jenkins jenkins 62 Feb 23 04:04 example [2022-02-23T04:11:43.837Z] drwxrwxr-x. 8 jenkins jenkins 179 Feb 23 04:04 .git [2022-02-23T04:11:43.837Z] drwxrwxr-x. 3 jenkins jenkins 125 Feb 23 04:04 .github [2022-02-23T04:11:43.837Z] -rw-rw-r--. 1 jenkins jenkins 131 Feb 23 04:04 .gitignore [2022-02-23T04:11:43.837Z] -rw-rw-r--. 1 jenkins jenkins 42 Feb 23 04:04 .golangci.yml [2022-02-23T04:11:43.837Z] -rw-rw-r--. 1 jenkins jenkins 2774 Feb 23 04:04 go.mod [2022-02-23T04:11:43.837Z] -rw-rw-r--. 1 jenkins jenkins 49778 Feb 23 04:04 go.sum [2022-02-23T04:11:43.837Z] -rw-rw-r--. 1 jenkins jenkins 677 Feb 23 04:04 GOVERNANCE.md [2022-02-23T04:11:43.837Z] drwxrwxr-x. 15 jenkins jenkins 224 Feb 23 04:04 internal [2022-02-23T04:11:43.837Z] -rw-rw-r--. 1 jenkins jenkins 880 Feb 23 04:04 Jenkinsfile [2022-02-23T04:11:43.837Z] -rw-rw-r--. 1 jenkins jenkins 11341 Feb 23 04:04 LICENSE [2022-02-23T04:11:43.837Z] -rw-rw-r--. 1 jenkins jenkins 1614 Feb 23 04:04 Makefile [2022-02-23T04:11:43.837Z] drwxrwxr-x. 3 jenkins jenkins 16 Feb 23 04:04 openapi [2022-02-23T04:11:43.837Z] -rw-rw-r--. 1 jenkins jenkins 619 Feb 23 04:04 OWNERS.md [2022-02-23T04:11:43.837Z] drwxrwxr-x. 5 jenkins jenkins 50 Feb 23 04:04 pkg [2022-02-23T04:11:43.837Z] -rw-rw-r--. 1 jenkins jenkins 4881 Feb 23 04:04 README.md [2022-02-23T04:11:43.837Z] drwx------. 3 jenkins jenkins 72 Feb 23 04:10 .semver [2022-02-23T04:11:43.837Z] drwxrwxr-x. 4 jenkins jenkins 54 Feb 23 04:04 snap [2022-02-23T04:11:43.837Z] -rw-rw-r--. 1 jenkins jenkins 5 Feb 23 04:10 VERSION [2022-02-23T04:11:43.837Z] -rw-rw-r--. 1 jenkins jenkins 222 Feb 23 04:04 version.go [Pipeline] isUnix [Pipeline] sh [2022-02-23T04:11:44.176Z] + 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=1e6ea99a192d919204bf6fc5a79637f16a363d57 --label arch=amd64 --label version=0.0.0 . [2022-02-23T04:11:44.176Z] Sending build context to Docker daemon 9.611MB [2022-02-23T04:11:44.176Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-02-23T04:11:44.176Z] Step 2/25 : FROM ${BASE} AS builder [2022-02-23T04:11:44.176Z] ---> ffa34ec207b6 [2022-02-23T04:11:44.176Z] Step 3/25 : ARG MAKE=make build [2022-02-23T04:11:44.436Z] ---> Running in da04874e9b58 [2022-02-23T04:11:44.436Z] Removing intermediate container da04874e9b58 [2022-02-23T04:11:44.436Z] ---> 6c75060e41f7 [2022-02-23T04:11:44.436Z] Step 4/25 : WORKDIR /device-sdk-go [2022-02-23T04:11:44.436Z] ---> Running in 672c4d30939d [2022-02-23T04:11:44.436Z] Removing intermediate container 672c4d30939d [2022-02-23T04:11:44.437Z] ---> 4a19431937f6 [2022-02-23T04:11:44.437Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-23T04:11:44.437Z] ---> Running in a34bf6f53675 [2022-02-23T04:11:44.699Z] Removing intermediate container a34bf6f53675 [2022-02-23T04:11:44.699Z] ---> d7a5c68b478c [2022-02-23T04:11:44.699Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-23T04:11:44.699Z] ---> Running in 075c25831fd6 [2022-02-23T04:11:44.961Z] Removing intermediate container 075c25831fd6 [2022-02-23T04:11:44.961Z] ---> f3ffcdec6b4b [2022-02-23T04:11:44.961Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-02-23T04:11:44.961Z] ---> Running in 2e96424aadb1 [2022-02-23T04:11:45.222Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-23T04:11:46.164Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-23T04:11:46.736Z] OK: 221 MiB in 52 packages [2022-02-23T04:11:46.736Z] Removing intermediate container 2e96424aadb1 [2022-02-23T04:11:46.736Z] ---> e2e0895ea31e [2022-02-23T04:11:46.736Z] Step 8/25 : COPY go.mod vendor* ./ [2022-02-23T04:11:46.998Z] ---> 493de91e1fa4 [2022-02-23T04:11:46.998Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-23T04:11:46.998Z] ---> Running in c23dff1ec660 [2022-02-23T04:11:47.568Z] Removing intermediate container c23dff1ec660 [2022-02-23T04:11:47.568Z] ---> bde1710e5795 [2022-02-23T04:11:47.568Z] Step 10/25 : COPY . . [2022-02-23T04:11:47.832Z] ---> 282fcad7883f [2022-02-23T04:11:47.832Z] Step 11/25 : RUN ${MAKE} [2022-02-23T04:11:47.832Z] ---> Running in eed5924a8bea [2022-02-23T04:11:48.097Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-02-23T04:12:00.418Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-02-23T04:12:00.418Z] Removing intermediate container eed5924a8bea [2022-02-23T04:12:00.418Z] ---> 3fe3876447ad [2022-02-23T04:12:00.418Z] Step 12/25 : FROM alpine:3.14 [2022-02-23T04:12:00.418Z] 3.14: Pulling from library/alpine [2022-02-23T04:12:00.418Z] 97518928ae5f: Pulling fs layer [2022-02-23T04:12:00.418Z] 97518928ae5f: Download complete [2022-02-23T04:12:00.418Z] 97518928ae5f: Pull complete [2022-02-23T04:12:00.418Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-02-23T04:12:00.418Z] Status: Downloaded newer image for alpine:3.14 [2022-02-23T04:12:00.418Z] ---> 0a97eee8041e [2022-02-23T04:12:00.418Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-23T04:12:00.680Z] ---> Running in c9d25ed07264 [2022-02-23T04:12:00.680Z] Removing intermediate container c9d25ed07264 [2022-02-23T04:12:00.680Z] ---> d6b7ff1bde03 [2022-02-23T04:12:00.680Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-23T04:12:00.680Z] ---> Running in 1f89893196a2 [2022-02-23T04:12:00.939Z] Removing intermediate container 1f89893196a2 [2022-02-23T04:12:00.939Z] ---> c28ab1cef814 [2022-02-23T04:12:00.939Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-02-23T04:12:01.200Z] ---> Running in 634e51e9f510 [2022-02-23T04:12:01.200Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-02-23T04:12:02.139Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-02-23T04:12:02.398Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-02-23T04:12:02.658Z] (2/5) Installing libsodium (1.0.18-r0) [2022-02-23T04:12:02.658Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-02-23T04:12:02.917Z] (4/5) Installing libzmq (4.3.4-r0) [2022-02-23T04:12:02.917Z] (5/5) Installing zeromq (4.3.4-r0) [2022-02-23T04:12:02.917Z] Executing busybox-1.33.1-r6.trigger [2022-02-23T04:12:02.917Z] OK: 8 MiB in 19 packages [2022-02-23T04:12:03.179Z] Removing intermediate container 634e51e9f510 [2022-02-23T04:12:03.179Z] ---> bd68e5f2199e [2022-02-23T04:12:03.179Z] Step 16/25 : WORKDIR / [2022-02-23T04:12:03.179Z] ---> Running in c01bf7d5dbf6 [2022-02-23T04:12:03.446Z] Removing intermediate container c01bf7d5dbf6 [2022-02-23T04:12:03.446Z] ---> 3699abf2211c [2022-02-23T04:12:03.446Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-02-23T04:12:03.446Z] ---> 0dc5a950223e [2022-02-23T04:12:03.446Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-02-23T04:12:03.706Z] ---> 12d991984107 [2022-02-23T04:12:03.706Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-02-23T04:12:03.967Z] ---> 28df6246fdf3 [2022-02-23T04:12:03.967Z] Step 20/25 : EXPOSE 59999 [2022-02-23T04:12:03.967Z] ---> Running in 66bac0518711 [2022-02-23T04:12:03.967Z] Removing intermediate container 66bac0518711 [2022-02-23T04:12:03.967Z] ---> 3ce86bbe5717 [2022-02-23T04:12:03.967Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-02-23T04:12:03.967Z] ---> Running in bc863f2d9050 [2022-02-23T04:12:04.237Z] Removing intermediate container bc863f2d9050 [2022-02-23T04:12:04.237Z] ---> 9f7a208fef68 [2022-02-23T04:12:04.237Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-02-23T04:12:04.237Z] ---> Running in c12d253ef4ae [2022-02-23T04:12:04.237Z] Removing intermediate container c12d253ef4ae [2022-02-23T04:12:04.237Z] ---> a526ee058336 [2022-02-23T04:12:04.237Z] Step 23/25 : LABEL arch=amd64 [2022-02-23T04:12:04.237Z] ---> Running in 1c33659a3215 [2022-02-23T04:12:04.237Z] Removing intermediate container 1c33659a3215 [2022-02-23T04:12:04.237Z] ---> 21c9edf39649 [2022-02-23T04:12:04.237Z] Step 24/25 : LABEL git_sha=1e6ea99a192d919204bf6fc5a79637f16a363d57 [2022-02-23T04:12:04.237Z] ---> Running in 1aa936b081c6 [2022-02-23T04:12:04.500Z] Removing intermediate container 1aa936b081c6 [2022-02-23T04:12:04.500Z] ---> 1919268e52c3 [2022-02-23T04:12:04.500Z] Step 25/25 : LABEL version=0.0.0 [2022-02-23T04:12:04.500Z] ---> Running in 3f4168b5a6fd [2022-02-23T04:12:04.500Z] Removing intermediate container 3f4168b5a6fd [2022-02-23T04:12:04.500Z] ---> 204bf85ad6f4 [2022-02-23T04:12:04.500Z] [Warning] One or more build-args [ARCH] were not consumed [2022-02-23T04:12:04.500Z] Successfully built 204bf85ad6f4 [2022-02-23T04:12:04.500Z] 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 [2022-02-23T04:12:05.291Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5879 in /w/workspace/gexfoundry_device-sdk-go_PR-1101 [Pipeline] { [2022-02-23T04:12:05.321Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-23T04:12:05.321Z] [2022-02-23T04:12:05.321Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] ws [2022-02-23T04:12:05.331Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [Pipeline] isUnix [Pipeline] sh [2022-02-23T04:12:05.598Z] The recommended git tool is: git [2022-02-23T04:12:05.833Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-23T04:12:05.833Z] latest: Pulling from edgex-lftools-log-publisher [2022-02-23T04:12:05.833Z] b4d181a07f80: Pulling fs layer [2022-02-23T04:12:05.833Z] a1111a8f2ec3: Pulling fs layer [2022-02-23T04:12:05.833Z] ed53099fbce6: Pulling fs layer [2022-02-23T04:12:05.833Z] dc539afda2c1: Pulling fs layer [2022-02-23T04:12:05.833Z] 77bc0d833cb6: Pulling fs layer [2022-02-23T04:12:05.833Z] 9065ff56babe: Pulling fs layer [2022-02-23T04:12:05.833Z] d287ab97295c: Pulling fs layer [2022-02-23T04:12:05.833Z] dc539afda2c1: Waiting [2022-02-23T04:12:05.833Z] 77bc0d833cb6: Waiting [2022-02-23T04:12:05.833Z] 9065ff56babe: Waiting [2022-02-23T04:12:05.833Z] d287ab97295c: Waiting [2022-02-23T04:12:05.833Z] a1111a8f2ec3: Verifying Checksum [2022-02-23T04:12:05.833Z] a1111a8f2ec3: Download complete [2022-02-23T04:12:05.833Z] dc539afda2c1: Verifying Checksum [2022-02-23T04:12:05.833Z] dc539afda2c1: Download complete [2022-02-23T04:12:05.833Z] ed53099fbce6: Verifying Checksum [2022-02-23T04:12:05.833Z] ed53099fbce6: Download complete [2022-02-23T04:12:05.833Z] 9065ff56babe: Verifying Checksum [2022-02-23T04:12:05.833Z] 9065ff56babe: Download complete [2022-02-23T04:12:05.833Z] 77bc0d833cb6: Verifying Checksum [2022-02-23T04:12:05.833Z] 77bc0d833cb6: Download complete [2022-02-23T04:12:06.098Z] b4d181a07f80: Verifying Checksum [2022-02-23T04:12:06.098Z] b4d181a07f80: Download complete [2022-02-23T04:12:06.681Z] d287ab97295c: Verifying Checksum [2022-02-23T04:12:06.681Z] d287ab97295c: Download complete [2022-02-23T04:12:07.268Z] b4d181a07f80: Pull complete [2022-02-23T04:12:07.530Z] a1111a8f2ec3: Pull complete [2022-02-23T04:12:08.110Z] ed53099fbce6: Pull complete [2022-02-23T04:12:08.110Z] dc539afda2c1: Pull complete [2022-02-23T04:12:08.378Z] 77bc0d833cb6: Pull complete [2022-02-23T04:12:08.378Z] 9065ff56babe: Pull complete [2022-02-23T04:12:10.821Z] using credential edgex-jenkins-ssh [2022-02-23T04:12:10.842Z] Cloning the remote Git repository [2022-02-23T04:12:10.905Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-02-23T04:12:10.992Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-02-23T04:12:11.093Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-02-23T04:12:11.094Z] > git --version # timeout=10 [2022-02-23T04:12:11.118Z] > git --version # 'git version 2.17.1' [2022-02-23T04:12:11.120Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-23T04:12:11.201Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-23T04:12:12.900Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-02-23T04:12:12.924Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-23T04:12:12.956Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-02-23T04:12:12.998Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-02-23T04:12:13.680Z] d287ab97295c: Pull complete [2022-02-23T04:12:13.680Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-02-23T04:12:13.680Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-23T04:12:13.681Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-23T04:12:13.708Z] Merging remotes/origin/main commit ff2bdc244935d5b40da6f20198b29dfc476efd7a into PR head commit 1e6ea99a192d919204bf6fc5a79637f16a363d57 [Pipeline] withDockerContainer [2022-02-23T04:12:13.770Z] prd-centos7-docker-4c-2g-5878 does not seem to be running inside a container [2022-02-23T04:12:13.806Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1101 -v /w/workspace/gexfoundry_device-sdk-go_PR-1101:/w/workspace/gexfoundry_device-sdk-go_PR-1101:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1101@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1101@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-02-23T04:12:13.979Z] Merge succeeded, producing 1e6ea99a192d919204bf6fc5a79637f16a363d57 [2022-02-23T04:12:13.980Z] Checking out Revision 1e6ea99a192d919204bf6fc5a79637f16a363d57 (PR-1101) [2022-02-23T04:12:12.999Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-23T04:12:13.076Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1101/head:refs/remotes/origin/PR-1101 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-02-23T04:12:13.731Z] > git config core.sparsecheckout # timeout=10 [2022-02-23T04:12:13.750Z] > git checkout -f 1e6ea99a192d919204bf6fc5a79637f16a363d57 # timeout=10 [2022-02-23T04:12:13.870Z] > git remote # timeout=10 [2022-02-23T04:12:13.896Z] > git config --get remote.origin.url # timeout=10 [2022-02-23T04:12:13.913Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-23T04:12:13.927Z] > git merge ff2bdc244935d5b40da6f20198b29dfc476efd7a # timeout=10 [2022-02-23T04:12:13.953Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-02-23T04:12:13.990Z] > git config core.sparsecheckout # timeout=10 [2022-02-23T04:12:14.003Z] > git checkout -f 1e6ea99a192d919204bf6fc5a79637f16a363d57 # timeout=10 [2022-02-23T04:12:16.290Z] $ docker top 17987dc67e0cedf60bec16e1fdceb4124558a12707e66ddc10408e0e5095085a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-23T04:12:16.794Z] ---> job-cost.sh [2022-02-23T04:12:16.794Z] lf-activate-venv: SKIPPING [2022-02-23T04:12:16.794Z] INFO: No Stack... [2022-02-23T04:12:17.363Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-23T04:12:17.624Z] INFO: Archiving Costs [Pipeline] sh [2022-02-23T04:12:17.945Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1101/archives/cost.csv [2022-02-23T04:12:17.945Z] + cut -d, -f6 [Pipeline] lock [2022-02-23T04:12:17.988Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1101-1-stack-cost] [2022-02-23T04:12:17.992Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1101-1-stack-cost] did not exist. Created. [2022-02-23T04:12:17.992Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1101-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-23T04:12:18.390Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-02-23T04:12:18.450Z] Stashed 1 file(s) [Pipeline] } [2022-02-23T04:12:18.472Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1101-1-stack-cost] [2022-02-23T04:12:18.484Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] // lock [Pipeline] } [2022-02-23T04:12:18.553Z] $ docker stop --time=1 17987dc67e0cedf60bec16e1fdceb4124558a12707e66ddc10408e0e5095085a [2022-02-23T04:12:18.551Z] > git --version # timeout=10 [2022-02-23T04:12:18.564Z] > git --version # 'git version 2.17.1' [2022-02-23T04:12:18.579Z] fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-23T04:12:18.933Z] [2022-02-23T04:12:18.933Z] GitHub has been notified of this commit’s build result [2022-02-23T04:12:18.933Z] [2022-02-23T04:12:19.679Z] $ docker rm -f 17987dc67e0cedf60bec16e1fdceb4124558a12707e66ddc10408e0e5095085a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-23T04:12:20.688Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-02-23T04:12:20.688Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-23T04:12:20.688Z] Dload Upload Total Spent Left Speed [2022-02-23T04:12:20.688Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 78430 0 --:--:-- --:--:-- --:--:-- 78430 [Pipeline] sh [2022-02-23T04:12:21.279Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-02-23T04:12:21.641Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-02-23T04:12:21.641Z] + sudo tee /etc/docker/daemon.new [2022-02-23T04:12:21.641Z] { [2022-02-23T04:12:21.641Z] "registry-mirrors": [ [2022-02-23T04:12:21.641Z] "https://nexus3.edgexfoundry.org:10001" [2022-02-23T04:12:21.641Z] ], [2022-02-23T04:12:21.641Z] "bip": "10.250.0.254/24", [2022-02-23T04:12:21.641Z] "hosts": [ [2022-02-23T04:12:21.641Z] "tcp://0.0.0.0:5555", [2022-02-23T04:12:21.641Z] "unix:///var/run/docker.sock" [2022-02-23T04:12:21.642Z] ], [2022-02-23T04:12:21.642Z] "mtu": 1458, [2022-02-23T04:12:21.642Z] "selinux-enabled": true, [2022-02-23T04:12:21.642Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-02-23T04:12:21.642Z] } [Pipeline] sh [2022-02-23T04:12:22.018Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-02-23T04:12:22.394Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-23T04:12:40.891Z] provisioning config files... [2022-02-23T04:12:40.925Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5773844154189624542tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-23T04:12:41.537Z] ---> docker-login.sh [2022-02-23T04:12:41.537Z] nexus3.edgexfoundry.org:10001 [2022-02-23T04:12:42.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-23T04:12:42.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-23T04:12:42.412Z] Configure a credential helper to remove this warning. See [2022-02-23T04:12:42.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-23T04:12:42.412Z] [2022-02-23T04:12:42.412Z] Login Succeeded [2022-02-23T04:12:42.412Z] nexus3.edgexfoundry.org:10002 [2022-02-23T04:12:42.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-23T04:12:42.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-23T04:12:42.968Z] Configure a credential helper to remove this warning. See [2022-02-23T04:12:42.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-23T04:12:42.968Z] [2022-02-23T04:12:42.968Z] Login Succeeded [2022-02-23T04:12:42.968Z] nexus3.edgexfoundry.org:10003 [2022-02-23T04:12:43.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-23T04:12:43.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-23T04:12:43.250Z] Configure a credential helper to remove this warning. See [2022-02-23T04:12:43.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-23T04:12:43.250Z] [2022-02-23T04:12:43.250Z] Login Succeeded [2022-02-23T04:12:43.250Z] nexus3.edgexfoundry.org:10004 [2022-02-23T04:12:43.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-23T04:12:43.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-23T04:12:43.804Z] Configure a credential helper to remove this warning. See [2022-02-23T04:12:43.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-23T04:12:43.804Z] [2022-02-23T04:12:43.804Z] Login Succeeded [2022-02-23T04:12:43.804Z] docker.io [2022-02-23T04:12:44.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-23T04:12:44.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-23T04:12:44.694Z] Configure a credential helper to remove this warning. See [2022-02-23T04:12:44.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-23T04:12:44.694Z] [2022-02-23T04:12:44.694Z] Login Succeeded [2022-02-23T04:12:44.694Z] ---> docker-login.sh ends [Pipeline] } [2022-02-23T04:12:44.726Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-23T04:12:45.131Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-23T04:12:45.166Z] ========================================================= [2022-02-23T04:12:45.166Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-02-23T04:12:45.166Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-23T04:12:45.630Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-02-23T04:12:46.244Z] Sending build context to Docker daemon 5.112MB [2022-02-23T04:12:46.244Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-02-23T04:12:46.244Z] Step 2/11 : FROM ${BASE} AS builder [2022-02-23T04:12:46.244Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-02-23T04:12:46.244Z] 9b3977197b4f: Pulling fs layer [2022-02-23T04:12:46.244Z] 1a89e8eeedd5: Pulling fs layer [2022-02-23T04:12:46.244Z] 94645a83ff95: Pulling fs layer [2022-02-23T04:12:46.244Z] 3f3a8bcf1eab: Pulling fs layer [2022-02-23T04:12:46.244Z] 0c92f367c5e7: Pulling fs layer [2022-02-23T04:12:46.244Z] f7c0051592d6: Pulling fs layer [2022-02-23T04:12:46.244Z] a227ed2f7395: Pulling fs layer [2022-02-23T04:12:46.244Z] 7b1c46037f91: Pulling fs layer [2022-02-23T04:12:46.244Z] f7c0051592d6: Waiting [2022-02-23T04:12:46.244Z] a227ed2f7395: Waiting [2022-02-23T04:12:46.244Z] 7b1c46037f91: Waiting [2022-02-23T04:12:46.244Z] 3f3a8bcf1eab: Waiting [2022-02-23T04:12:46.244Z] 0c92f367c5e7: Waiting [2022-02-23T04:12:46.527Z] 94645a83ff95: Verifying Checksum [2022-02-23T04:12:46.527Z] 94645a83ff95: Download complete [2022-02-23T04:12:46.527Z] 1a89e8eeedd5: Verifying Checksum [2022-02-23T04:12:46.527Z] 1a89e8eeedd5: Download complete [2022-02-23T04:12:46.527Z] 0c92f367c5e7: Verifying Checksum [2022-02-23T04:12:46.527Z] 0c92f367c5e7: Download complete [2022-02-23T04:12:46.527Z] f7c0051592d6: Verifying Checksum [2022-02-23T04:12:46.527Z] f7c0051592d6: Download complete [2022-02-23T04:12:46.527Z] 9b3977197b4f: Download complete [2022-02-23T04:12:46.527Z] a227ed2f7395: Verifying Checksum [2022-02-23T04:12:46.527Z] a227ed2f7395: Download complete [2022-02-23T04:12:47.137Z] 9b3977197b4f: Pull complete [2022-02-23T04:12:47.745Z] 1a89e8eeedd5: Pull complete [2022-02-23T04:12:48.348Z] 94645a83ff95: Pull complete [2022-02-23T04:12:48.626Z] 7b1c46037f91: Verifying Checksum [2022-02-23T04:12:48.626Z] 7b1c46037f91: Download complete [2022-02-23T04:12:49.236Z] 3f3a8bcf1eab: Verifying Checksum [2022-02-23T04:12:49.236Z] 3f3a8bcf1eab: Download complete [2022-02-23T04:13:01.656Z] 3f3a8bcf1eab: Pull complete [2022-02-23T04:13:01.656Z] 0c92f367c5e7: Pull complete [2022-02-23T04:13:01.656Z] f7c0051592d6: Pull complete [2022-02-23T04:13:01.656Z] a227ed2f7395: Pull complete [2022-02-23T04:13:08.392Z] 7b1c46037f91: Pull complete [2022-02-23T04:13:08.392Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-02-23T04:13:08.392Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-02-23T04:13:08.392Z] ---> f79e39bc4007 [2022-02-23T04:13:08.392Z] Step 3/11 : ARG MAKE=make build [2022-02-23T04:13:08.995Z] ---> Running in 40c3a5f2f8b7 [2022-02-23T04:13:09.273Z] Removing intermediate container 40c3a5f2f8b7 [2022-02-23T04:13:09.273Z] ---> 059e6253356b [2022-02-23T04:13:09.273Z] Step 4/11 : WORKDIR /device-sdk-go [2022-02-23T04:13:09.548Z] ---> Running in 4d4625ab386e [2022-02-23T04:13:09.824Z] Removing intermediate container 4d4625ab386e [2022-02-23T04:13:09.824Z] ---> a85e0bf3f340 [2022-02-23T04:13:09.824Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-23T04:13:10.101Z] ---> Running in bfaa54b3fb51 [2022-02-23T04:13:10.390Z] Removing intermediate container bfaa54b3fb51 [2022-02-23T04:13:10.390Z] ---> 0e31685bb4fd [2022-02-23T04:13:10.390Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-23T04:13:10.666Z] ---> Running in e6333cea95aa [2022-02-23T04:13:12.653Z] Removing intermediate container e6333cea95aa [2022-02-23T04:13:12.653Z] ---> 751b34e63581 [2022-02-23T04:13:12.653Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-02-23T04:13:12.653Z] ---> Running in 9c1b9d8d835b [2022-02-23T04:13:13.639Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-23T04:13:14.623Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-23T04:13:15.609Z] OK: 220 MiB in 52 packages [2022-02-23T04:13:16.594Z] Removing intermediate container 9c1b9d8d835b [2022-02-23T04:13:16.594Z] ---> ff67f83b1ff1 [2022-02-23T04:13:16.594Z] Step 8/11 : COPY go.mod vendor* ./ [2022-02-23T04:13:17.575Z] ---> 0561fe4f0ec3 [2022-02-23T04:13:17.575Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-23T04:13:17.575Z] ---> Running in cdf2cf8219a1 [2022-02-23T04:14:39.381Z] Removing intermediate container cdf2cf8219a1 [2022-02-23T04:14:39.381Z] ---> f3c151b6a686 [2022-02-23T04:14:39.381Z] Step 10/11 : COPY . . [2022-02-23T04:14:39.381Z] ---> 24c56926a026 [2022-02-23T04:14:39.381Z] Step 11/11 : RUN ${MAKE} [2022-02-23T04:14:39.381Z] ---> Running in 8cb7c3a08cd7 [2022-02-23T04:14:39.381Z] noop [2022-02-23T04:14:39.381Z] Removing intermediate container 8cb7c3a08cd7 [2022-02-23T04:14:39.381Z] ---> 04de15ed7ca4 [2022-02-23T04:14:39.381Z] Successfully built 04de15ed7ca4 [2022-02-23T04:14:39.381Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-23T04:14:39.770Z] + docker inspect -f . ci-base-image-arm64 [2022-02-23T04:14:39.770Z] . [Pipeline] withDockerContainer [2022-02-23T04:14:40.054Z] prd-ubuntu18.04-docker-arm64-4c-16g-5879 does not seem to be running inside a container [2022-02-23T04:14:40.155Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-02-23T04:14:41.681Z] $ docker top 3abff083fc9ea7849c127a252272fa4cac807b1846a18fa714fdafed3362619e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-23T04:14:42.689Z] + go version [2022-02-23T04:14:42.689Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-02-23T04:14:42.732Z] $ docker stop --time=1 3abff083fc9ea7849c127a252272fa4cac807b1846a18fa714fdafed3362619e [2022-02-23T04:14:44.438Z] $ docker rm -f 3abff083fc9ea7849c127a252272fa4cac807b1846a18fa714fdafed3362619e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-23T04:14:45.318Z] + docker inspect -f . ci-base-image-arm64 [2022-02-23T04:14:45.318Z] . [Pipeline] withDockerContainer [2022-02-23T04:14:45.579Z] prd-ubuntu18.04-docker-arm64-4c-16g-5879 does not seem to be running inside a container [2022-02-23T04:14:45.678Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-02-23T04:14:47.151Z] $ docker top ed1497bd780ba86e1e2b94c4e580b99aa47b074bb49ae46b6ae34fe5792d88c9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-23T04:14:48.212Z] + make test [2022-02-23T04:14:48.212Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-02-23T04:14:49.675Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-02-23T04:15:46.351Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-02-23T04:15:46.352Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-02-23T04:15:46.352Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-02-23T04:15:54.675Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.112s coverage: 23.3% of statements [2022-02-23T04:15:54.675Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-02-23T04:15:54.675Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.070s coverage: 27.6% of statements [2022-02-23T04:15:54.675Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.065s coverage: 78.9% of statements [2022-02-23T04:15:54.675Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.094s coverage: 10.8% of statements [2022-02-23T04:15:54.675Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-02-23T04:15:54.675Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-02-23T04:15:54.675Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-02-23T04:15:56.122Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.165s coverage: 28.7% of statements [2022-02-23T04:15:56.122Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-02-23T04:15:58.115Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.062s coverage: 86.1% of statements [2022-02-23T04:15:58.115Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-02-23T04:15:58.115Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-02-23T04:15:58.115Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.099s coverage: 57.4% of statements [2022-02-23T04:15:58.115Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.201s coverage: 89.2% of statements [2022-02-23T04:15:58.115Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-02-23T04:15:58.711Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 4.8% of statements [2022-02-23T04:15:58.711Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-02-23T04:15:58.984Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-02-23T04:15:58.984Z] GO111MODULE=on go vet ./... [2022-02-23T04:16:25.801Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-02-23T04:16:25.801Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-02-23T04:16:25.801Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-02-23T04:16:27.287Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-02-23T04:16:27.330Z] $ docker stop --time=1 ed1497bd780ba86e1e2b94c4e580b99aa47b074bb49ae46b6ae34fe5792d88c9 [2022-02-23T04:16:29.175Z] $ docker rm -f ed1497bd780ba86e1e2b94c4e580b99aa47b074bb49ae46b6ae34fe5792d88c9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-23T04:16:30.135Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-02-23T04:16:30.174Z] Warning: overwriting stash ‘coverage-report’ [2022-02-23T04:16:30.994Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-23T04:16:31.617Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-02-23T04:16:32.019Z] + ls -al . [2022-02-23T04:16:32.019Z] total 308 [2022-02-23T04:16:32.019Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 23 04:16 . [2022-02-23T04:16:32.019Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 04:12 .. [2022-02-23T04:16:32.019Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 23 04:12 .dockerignore [2022-02-23T04:16:32.019Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 23 04:12 .git [2022-02-23T04:16:32.019Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 04:12 .github [2022-02-23T04:16:32.019Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 23 04:12 .gitignore [2022-02-23T04:16:32.019Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 23 04:12 .golangci.yml [2022-02-23T04:16:32.019Z] -rw-rw-r-- 1 jenkins jenkins 26321 Feb 23 04:12 CHANGELOG.md [2022-02-23T04:16:32.019Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 23 04:12 GOVERNANCE.md [2022-02-23T04:16:32.019Z] -rw-rw-r-- 1 jenkins jenkins 880 Feb 23 04:12 Jenkinsfile [2022-02-23T04:16:32.019Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 23 04:12 LICENSE [2022-02-23T04:16:32.019Z] -rw-rw-r-- 1 jenkins jenkins 1614 Feb 23 04:12 Makefile [2022-02-23T04:16:32.019Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 23 04:12 OWNERS.md [2022-02-23T04:16:32.019Z] -rw-rw-r-- 1 jenkins jenkins 4881 Feb 23 04:12 README.md [2022-02-23T04:16:32.019Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 23 04:10 VERSION [2022-02-23T04:16:32.019Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 04:12 bin [2022-02-23T04:16:32.019Z] -rw-r--r-- 1 jenkins jenkins 128110 Feb 23 04:15 coverage.out [2022-02-23T04:16:32.019Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 23 04:12 example [2022-02-23T04:16:32.019Z] -rw-rw-r-- 1 jenkins jenkins 2774 Feb 23 04:12 go.mod [2022-02-23T04:16:32.019Z] -rw-rw-r-- 1 jenkins jenkins 49778 Feb 23 04:12 go.sum [2022-02-23T04:16:32.019Z] drwxrwxr-x 15 jenkins jenkins 4096 Feb 23 04:12 internal [2022-02-23T04:16:32.019Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 04:12 openapi [2022-02-23T04:16:32.019Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 23 04:12 pkg [2022-02-23T04:16:32.019Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 04:12 snap [2022-02-23T04:16:32.019Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 23 04:12 version.go [Pipeline] isUnix [Pipeline] sh [2022-02-23T04:16:32.412Z] + 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=1e6ea99a192d919204bf6fc5a79637f16a363d57 --label arch=arm64 --label version=0.0.0 . [2022-02-23T04:16:33.034Z] Sending build context to Docker daemon 5.241MB [2022-02-23T04:16:33.034Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-02-23T04:16:33.034Z] Step 2/25 : FROM ${BASE} AS builder [2022-02-23T04:16:33.034Z] ---> 04de15ed7ca4 [2022-02-23T04:16:33.034Z] Step 3/25 : ARG MAKE=make build [2022-02-23T04:16:33.034Z] ---> Running in aaf6083bad0e [2022-02-23T04:16:33.645Z] Removing intermediate container aaf6083bad0e [2022-02-23T04:16:33.645Z] ---> a4fce4a1ec1d [2022-02-23T04:16:33.645Z] Step 4/25 : WORKDIR /device-sdk-go [2022-02-23T04:16:33.645Z] ---> Running in 851e05cc64e9 [2022-02-23T04:16:33.917Z] Removing intermediate container 851e05cc64e9 [2022-02-23T04:16:33.917Z] ---> 701ae954cbde [2022-02-23T04:16:33.917Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-23T04:16:34.191Z] ---> Running in b951c6b22ed9 [2022-02-23T04:16:34.467Z] Removing intermediate container b951c6b22ed9 [2022-02-23T04:16:34.467Z] ---> 3e2508bb7d64 [2022-02-23T04:16:34.467Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-23T04:16:34.467Z] ---> Running in 22f929fcc453 [2022-02-23T04:16:36.452Z] Removing intermediate container 22f929fcc453 [2022-02-23T04:16:36.452Z] ---> 453bc20deb58 [2022-02-23T04:16:36.452Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-02-23T04:16:36.728Z] ---> Running in 43575613ddf1 [2022-02-23T04:16:38.185Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-23T04:16:38.783Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-23T04:16:40.226Z] OK: 220 MiB in 52 packages [2022-02-23T04:16:41.220Z] Removing intermediate container 43575613ddf1 [2022-02-23T04:16:41.220Z] ---> b877caeac839 [2022-02-23T04:16:41.220Z] Step 8/25 : COPY go.mod vendor* ./ [2022-02-23T04:16:41.817Z] ---> 64c18d1df50a [2022-02-23T04:16:41.817Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-23T04:16:41.817Z] ---> Running in 50bf60b720b4 [2022-02-23T04:16:44.440Z] Removing intermediate container 50bf60b720b4 [2022-02-23T04:16:44.440Z] ---> e7d4ac2594e9 [2022-02-23T04:16:44.440Z] Step 10/25 : COPY . . [2022-02-23T04:16:45.423Z] ---> 3538c9a42089 [2022-02-23T04:16:45.423Z] Step 11/25 : RUN ${MAKE} [2022-02-23T04:16:45.423Z] ---> Running in 4d4e9a0448d1 [2022-02-23T04:16:46.888Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-02-23T04:17:33.944Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-02-23T04:17:33.944Z] Removing intermediate container 4d4e9a0448d1 [2022-02-23T04:17:33.944Z] ---> 20bd5df14dea [2022-02-23T04:17:33.944Z] Step 12/25 : FROM alpine:3.14 [2022-02-23T04:17:34.221Z] 3.14: Pulling from library/alpine [2022-02-23T04:17:34.496Z] be307f383ecc: Pulling fs layer [2022-02-23T04:17:34.770Z] be307f383ecc: Verifying Checksum [2022-02-23T04:17:34.770Z] be307f383ecc: Download complete [2022-02-23T04:17:35.367Z] be307f383ecc: Pull complete [2022-02-23T04:17:35.367Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-02-23T04:17:35.367Z] Status: Downloaded newer image for alpine:3.14 [2022-02-23T04:17:35.367Z] ---> 5b8b7b635229 [2022-02-23T04:17:35.367Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-23T04:17:35.647Z] ---> Running in 3c44c0e800cb [2022-02-23T04:17:35.924Z] Removing intermediate container 3c44c0e800cb [2022-02-23T04:17:35.924Z] ---> 2a0d753be60c [2022-02-23T04:17:35.924Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-23T04:17:36.200Z] ---> Running in feb9e479cb6d [2022-02-23T04:17:38.184Z] Removing intermediate container feb9e479cb6d [2022-02-23T04:17:38.184Z] ---> 95849d149df1 [2022-02-23T04:17:38.184Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-02-23T04:17:38.184Z] ---> Running in bc07c1d056f5 [2022-02-23T04:17:39.170Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-02-23T04:17:40.153Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-02-23T04:17:41.137Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-02-23T04:17:41.137Z] (2/5) Installing libsodium (1.0.18-r0) [2022-02-23T04:17:41.412Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-02-23T04:17:41.412Z] (4/5) Installing libzmq (4.3.4-r0) [2022-02-23T04:17:41.686Z] (5/5) Installing zeromq (4.3.4-r0) [2022-02-23T04:17:41.686Z] Executing busybox-1.33.1-r6.trigger [2022-02-23T04:17:41.686Z] OK: 8 MiB in 19 packages [2022-02-23T04:17:42.668Z] Removing intermediate container bc07c1d056f5 [2022-02-23T04:17:42.668Z] ---> 6161fef15347 [2022-02-23T04:17:42.668Z] Step 16/25 : WORKDIR / [2022-02-23T04:17:42.668Z] ---> Running in fbcd10192dfc [2022-02-23T04:17:43.278Z] Removing intermediate container fbcd10192dfc [2022-02-23T04:17:43.278Z] ---> d8e7fdf53fd1 [2022-02-23T04:17:43.278Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-02-23T04:17:43.884Z] ---> d4c9afc76496 [2022-02-23T04:17:43.884Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-02-23T04:17:45.321Z] ---> e3030c549367 [2022-02-23T04:17:45.321Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-02-23T04:17:45.605Z] ---> f7e3a9076ccf [2022-02-23T04:17:45.605Z] Step 20/25 : EXPOSE 59999 [2022-02-23T04:17:45.881Z] ---> Running in fed988888fa9 [2022-02-23T04:17:46.164Z] Removing intermediate container fed988888fa9 [2022-02-23T04:17:46.164Z] ---> 63b9222cd039 [2022-02-23T04:17:46.164Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-02-23T04:17:46.439Z] ---> Running in e24b8b8587be [2022-02-23T04:17:46.713Z] Removing intermediate container e24b8b8587be [2022-02-23T04:17:46.713Z] ---> 5eea48098e04 [2022-02-23T04:17:46.713Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-02-23T04:17:46.987Z] ---> Running in 6b1d01a035fe [2022-02-23T04:17:47.263Z] Removing intermediate container 6b1d01a035fe [2022-02-23T04:17:47.263Z] ---> 246ff9a25c6c [2022-02-23T04:17:47.263Z] Step 23/25 : LABEL arch=arm64 [2022-02-23T04:17:47.536Z] ---> Running in 7bbcb607790e [2022-02-23T04:17:47.811Z] Removing intermediate container 7bbcb607790e [2022-02-23T04:17:47.811Z] ---> 3e105334dc51 [2022-02-23T04:17:47.811Z] Step 24/25 : LABEL git_sha=1e6ea99a192d919204bf6fc5a79637f16a363d57 [2022-02-23T04:17:47.811Z] ---> Running in 2d8819f7b989 [2022-02-23T04:17:48.411Z] Removing intermediate container 2d8819f7b989 [2022-02-23T04:17:48.411Z] ---> e95a9f3c8b2e [2022-02-23T04:17:48.411Z] Step 25/25 : LABEL version=0.0.0 [2022-02-23T04:17:48.411Z] ---> Running in d10c5cca9036 [2022-02-23T04:17:48.681Z] Removing intermediate container d10c5cca9036 [2022-02-23T04:17:48.681Z] ---> 6b50b777f2aa [2022-02-23T04:17:48.681Z] [Warning] One or more build-args [ARCH] were not consumed [2022-02-23T04:17:48.681Z] Successfully built 6b50b777f2aa [2022-02-23T04:17:48.681Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-23T04:17:49.382Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-23T04:17:49.382Z] [2022-02-23T04:17:49.382Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-02-23T04:17:49.780Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-23T04:17:50.057Z] arm64: Pulling from edgex-lftools-log-publisher [2022-02-23T04:17:50.057Z] 448f6bf000e3: Pulling fs layer [2022-02-23T04:17:50.057Z] f757da607395: Pulling fs layer [2022-02-23T04:17:50.057Z] 05883995daec: Pulling fs layer [2022-02-23T04:17:50.057Z] 8603b9c90790: Pulling fs layer [2022-02-23T04:17:50.057Z] 1560dd03e051: Pulling fs layer [2022-02-23T04:17:50.057Z] 27f5ce0e4adf: Pulling fs layer [2022-02-23T04:17:50.057Z] c2d8d7efcc4b: Pulling fs layer [2022-02-23T04:17:50.057Z] 1560dd03e051: Waiting [2022-02-23T04:17:50.057Z] 27f5ce0e4adf: Waiting [2022-02-23T04:17:50.057Z] c2d8d7efcc4b: Waiting [2022-02-23T04:17:50.057Z] 8603b9c90790: Waiting [2022-02-23T04:17:50.057Z] f757da607395: Verifying Checksum [2022-02-23T04:17:50.057Z] f757da607395: Download complete [2022-02-23T04:17:50.057Z] 8603b9c90790: Verifying Checksum [2022-02-23T04:17:50.057Z] 8603b9c90790: Download complete [2022-02-23T04:17:50.337Z] 1560dd03e051: Verifying Checksum [2022-02-23T04:17:50.337Z] 1560dd03e051: Download complete [2022-02-23T04:17:50.337Z] 27f5ce0e4adf: Download complete [2022-02-23T04:17:50.337Z] 05883995daec: Verifying Checksum [2022-02-23T04:17:50.625Z] 448f6bf000e3: Verifying Checksum [2022-02-23T04:17:50.625Z] 448f6bf000e3: Download complete [2022-02-23T04:17:53.255Z] c2d8d7efcc4b: Verifying Checksum [2022-02-23T04:17:53.255Z] c2d8d7efcc4b: Download complete [2022-02-23T04:17:54.696Z] 448f6bf000e3: Pull complete [2022-02-23T04:17:55.296Z] f757da607395: Pull complete [2022-02-23T04:17:57.282Z] 05883995daec: Pull complete [2022-02-23T04:17:57.282Z] 8603b9c90790: Pull complete [2022-02-23T04:17:58.265Z] 1560dd03e051: Pull complete [2022-02-23T04:17:58.547Z] 27f5ce0e4adf: Pull complete [2022-02-23T04:18:16.937Z] c2d8d7efcc4b: Pull complete [2022-02-23T04:18:16.937Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-02-23T04:18:16.937Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-23T04:18:16.937Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-02-23T04:18:17.220Z] prd-ubuntu18.04-docker-arm64-4c-16g-5879 does not seem to be running inside a container [2022-02-23T04:18:17.344Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-02-23T04:18:20.855Z] $ docker top 5c559b4512a79ecb3694e3ddbab9b0cbc43c1735823d4620d54af857d1fbf4b2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-23T04:18:21.879Z] ---> job-cost.sh [2022-02-23T04:18:21.879Z] lf-activate-venv: SKIPPING [2022-02-23T04:18:21.879Z] INFO: No Stack... [2022-02-23T04:18:22.154Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-02-23T04:18:22.753Z] INFO: Archiving Costs [Pipeline] sh [2022-02-23T04:18:23.448Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-02-23T04:18:23.448Z] + cut -d, -f6 [Pipeline] lock [2022-02-23T04:18:23.548Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1101-1-stack-cost] [2022-02-23T04:18:23.552Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1101-1-stack-cost] did not exist. Created. [2022-02-23T04:18:23.552Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1101-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-23T04:18:24.302Z] /w/workspace/device-sdk-go/1@tmp/durable-ead364e5/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-ead364e5/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-02-23T04:18:25.018Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-02-23T04:18:25.054Z] Warning: overwriting stash ‘stack-cost’ [2022-02-23T04:18:25.127Z] Stashed 1 file(s) [Pipeline] } [2022-02-23T04:18:25.143Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1101-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-23T04:18:25.241Z] $ docker stop --time=1 5c559b4512a79ecb3694e3ddbab9b0cbc43c1735823d4620d54af857d1fbf4b2 [2022-02-23T04:18:26.821Z] $ docker rm -f 5c559b4512a79ecb3694e3ddbab9b0cbc43c1735823d4620d54af857d1fbf4b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-02-23T04:18:27.921Z] provisioning config files... [2022-02-23T04:18:27.931Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1101@tmp/config5755834253866348767tmp [Pipeline] { [Pipeline] sh [2022-02-23T04:18:28.270Z] + set +x [2022-02-23T04:18:28.271Z] + bash -s -- [2022-02-23T04:18:28.271Z] + curl -s https://codecov.io/bash [2022-02-23T04:18:28.271Z] [2022-02-23T04:18:28.271Z] _____ _ [2022-02-23T04:18:28.271Z] / ____| | | [2022-02-23T04:18:28.271Z] | | ___ __| | ___ ___ _____ __ [2022-02-23T04:18:28.271Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-02-23T04:18:28.271Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-02-23T04:18:28.271Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-02-23T04:18:28.271Z] Bash-1.0.6 [2022-02-23T04:18:28.271Z] [2022-02-23T04:18:28.271Z] [2022-02-23T04:18:28.271Z] ==> git version 2.24.4 found [2022-02-23T04:18:28.271Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2022-02-23T04:18:28.271Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-02-23T04:18:28.271Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-02-23T04:18:28.271Z] ==> Jenkins CI detected. [2022-02-23T04:18:28.271Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1101 [2022-02-23T04:18:28.271Z] project root: . [2022-02-23T04:18:28.271Z] --> token set from env [2022-02-23T04:18:28.271Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-02-23T04:18:28.531Z] ==> Running gcov in . (disable via -X gcov) [2022-02-23T04:18:28.531Z] ==> Python coveragepy not found [2022-02-23T04:18:28.531Z] ==> Searching for coverage reports in: [2022-02-23T04:18:28.531Z] + . [2022-02-23T04:18:28.531Z] -> Found 1 reports [2022-02-23T04:18:28.531Z] ==> Detecting git/mercurial file structure [2022-02-23T04:18:28.531Z] ==> Reading reports [2022-02-23T04:18:28.531Z] + ./coverage.out bytes=128110 [2022-02-23T04:18:28.531Z] ==> Appending adjustments [2022-02-23T04:18:28.531Z] https://docs.codecov.io/docs/fixing-reports [2022-02-23T04:18:28.792Z] + Found adjustments [2022-02-23T04:18:28.792Z] ==> Gzipping contents [2022-02-23T04:18:28.792Z] 16K /tmp/codecov.s3L0af.gz [2022-02-23T04:18:28.792Z] ==> Uploading reports [2022-02-23T04:18:28.792Z] url: https://codecov.io [2022-02-23T04:18:28.792Z] query: branch=PR-1101&commit=1e6ea99a192d919204bf6fc5a79637f16a363d57&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1101%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1101&job=&cmd_args= [2022-02-23T04:18:28.792Z] -> Pinging Codecov [2022-02-23T04:18:28.792Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1101&commit=1e6ea99a192d919204bf6fc5a79637f16a363d57&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1101%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1101&job=&cmd_args= [2022-02-23T04:18:29.052Z] -> Uploading to [2022-02-23T04:18:29.052Z] https://storage.googleapis.com/codecov/v4/raw/2022-02-23/7E55EF52A471D76F132DFD9A03CDDE97/1e6ea99a192d919204bf6fc5a79637f16a363d57/fb115803-deb7-40b2-a95d-d9cf338bf57d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220223%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220223T041828Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eb84ea3246aa71a2d57b7f7486e426067de0c54f050111212cc0bc3aaa74ebc1 [2022-02-23T04:18:29.052Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-23T04:18:29.052Z] Dload Upload Total Spent Left Speed [2022-02-23T04:18:29.313Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16037 0 0 100 16037 0 48316 --:--:-- --:--:-- --:--:-- 48450 [2022-02-23T04:18:29.313Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1e6ea99a192d919204bf6fc5a79637f16a363d57 [Pipeline] } [2022-02-23T04:18:29.340Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-02-23T04:18:31.191Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1101/archives ']' [2022-02-23T04:18:31.191Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1101/archives [2022-02-23T04:18:31.191Z] total 8 [2022-02-23T04:18:31.191Z] drwxr-xr-x. 3 root root 34 Feb 23 04:12 . [2022-02-23T04:18:31.191Z] drwxrwxr-x. 12 jenkins jenkins 4096 Feb 23 04:12 .. [2022-02-23T04:18:31.191Z] drwxr-xr-x. 2 root root 6 Feb 23 04:12 cost [2022-02-23T04:18:31.191Z] -rw-r--r--. 1 root root 85 Feb 23 04:12 cost.csv [2022-02-23T04:18:31.191Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1101/archives [2022-02-23T04:18:31.191Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1101/archives [2022-02-23T04:18:31.191Z] total 8 [2022-02-23T04:18:31.191Z] drwxr-xr-x. 3 jenkins jenkins 34 Feb 23 04:12 . [2022-02-23T04:18:31.191Z] drwxrwxr-x. 12 jenkins jenkins 4096 Feb 23 04:12 .. [2022-02-23T04:18:31.191Z] drwxr-xr-x. 2 jenkins jenkins 6 Feb 23 04:12 cost [2022-02-23T04:18:31.191Z] -rw-r--r--. 1 jenkins jenkins 85 Feb 23 04:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-02-23T04:18:31.526Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-23T04:18:32.117Z] ---> package-listing.sh [2022-02-23T04:18:32.117Z] ++ tr '[:upper:]' '[:lower:]' [2022-02-23T04:18:32.117Z] ++ facter osfamily [2022-02-23T04:18:32.377Z] + OS_FAMILY=redhat [2022-02-23T04:18:32.377Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1101 [2022-02-23T04:18:32.377Z] + START_PACKAGES=/tmp/packages_start.txt [2022-02-23T04:18:32.377Z] + END_PACKAGES=/tmp/packages_end.txt [2022-02-23T04:18:32.377Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-02-23T04:18:32.377Z] + PACKAGES=/tmp/packages_start.txt [2022-02-23T04:18:32.377Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1101 ']' [2022-02-23T04:18:32.377Z] + PACKAGES=/tmp/packages_end.txt [2022-02-23T04:18:32.377Z] + case "${OS_FAMILY}" in [2022-02-23T04:18:32.377Z] + sort [2022-02-23T04:18:32.377Z] + rpm -qa [2022-02-23T04:18:32.949Z] + '[' -f /tmp/packages_start.txt ']' [2022-02-23T04:18:32.949Z] + '[' -f /tmp/packages_end.txt ']' [2022-02-23T04:18:32.949Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-02-23T04:18:32.949Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1101 ']' [2022-02-23T04:18:32.949Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1101/archives/ [2022-02-23T04:18:32.949Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1101/archives/ [Pipeline] echo [2022-02-23T04:18:32.987Z] 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-1101/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-02-23T04:18:33.294Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-02-23T04:18:33.883Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-23T04:18:33.883Z] . [Pipeline] withDockerContainer [2022-02-23T04:18:33.971Z] prd-centos7-docker-4c-2g-5878 does not seem to be running inside a container [2022-02-23T04:18:34.003Z] $ 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-1101/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-1101 -v /w/workspace/gexfoundry_device-sdk-go_PR-1101:/w/workspace/gexfoundry_device-sdk-go_PR-1101:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1101@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1101@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-02-23T04:18:34.218Z] $ docker top 78319bd868cb0dddeae28644d0db3a6fce35da1b123dd5223605ea5695e768da -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-23T04:18:34.623Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-02-23T04:18:34.939Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-02-23T04:18:35.256Z] + ls /var/log/sa-host [2022-02-23T04:18:35.256Z] + sadf -c /var/log/sa-host/sa17 [2022-02-23T04:18:35.256Z] file_magic: OK [2022-02-23T04:18:35.256Z] HZ: Using current value: 100 [2022-02-23T04:18:35.256Z] file_header: OK [2022-02-23T04:18:35.256Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-02-23T04:18:35.256Z] Statistics: [2022-02-23T04:18:35.256Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-23T04:18:35.256Z] File successfully converted to sysstat format version 12.0.3 [2022-02-23T04:18:35.256Z] + sadf -c /var/log/sa-host/sa23 [2022-02-23T04:18:35.256Z] file_magic: OK [2022-02-23T04:18:35.256Z] HZ: Using current value: 100 [2022-02-23T04:18:35.256Z] file_header: OK [2022-02-23T04:18:35.256Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-02-23T04:18:35.256Z] Statistics: [2022-02-23T04:18:35.256Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-23T04:18:35.256Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-23T04:18:35.572Z] provisioning config files... [2022-02-23T04:18:35.583Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1101@tmp/config1579840935225837200tmp [Pipeline] { [Pipeline] echo [2022-02-23T04:18:35.630Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-23T04:18:35.956Z] ---> create-netrc.sh [Pipeline] } [2022-02-23T04:18:35.982Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-02-23T04:18:36.413Z] ---> python-tools-install.sh [Pipeline] echo [2022-02-23T04:18:36.445Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-23T04:18:36.763Z] ---> sudo-logs.sh [2022-02-23T04:18:36.763Z] Archiving 'sudo' log.. [2022-02-23T04:18:36.763Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-5878.novalocal: Name or service not known [2022-02-23T04:18:36.763Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-5878.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-02-23T04:18:36.840Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-23T04:18:37.152Z] ---> job-cost.sh [2022-02-23T04:18:37.153Z] lf-activate-venv: SKIPPING [2022-02-23T04:18:37.153Z] DEBUG: total: 0.05999999865889549 [2022-02-23T04:18:37.153Z] INFO: Retrieving Stack Cost... [2022-02-23T04:18:37.417Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-23T04:18:37.989Z] INFO: Archiving Costs [Pipeline] echo [2022-02-23T04:18:38.031Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-23T04:18:38.351Z] ---> logs-deploy.sh [2022-02-23T04:18:38.351Z] lf-activate-venv: SKIPPING [2022-02-23T04:18:38.351Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1101/1 [2022-02-23T04:18:38.351Z] INFO: archiving workspace using pattern(s): [2022-02-23T04:18:38.923Z] Archives upload complete. [2022-02-23T04:18:39.184Z] INFO: archiving logs to Nexus