Pull request #1079 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 10932634760dd5b3c37209df0a9c794168345d39+633449dbefca29cf62edd9030bbe74b52352fb22 (06c740bc59978cc6d8e5c83842cd2de2225ef106) 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-ssh1607818045299604137.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh12050326900973620473.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-1079/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-1079/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12546499772169056648.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-1079/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh371984945110362833.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > 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-ssh10787646040800703190.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-1079/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-1079/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1039043706164077144.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-1193’ is offline Running on prd-centos7-docker-4c-2g-1196 in /w/workspace/gexfoundry_device-sdk-go_PR-1079 [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-1079 # 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-1079@tmp/jenkins-gitclient-ssh6114124751461793208.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 633449dbefca29cf62edd9030bbe74b52352fb22 into PR head commit 10932634760dd5b3c37209df0a9c794168345d39 > 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-1079@tmp/jenkins-gitclient-ssh3993198105700928883.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1079/head:refs/remotes/origin/PR-1079 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing 10932634760dd5b3c37209df0a9c794168345d39 Checking out Revision 10932634760dd5b3c37209df0a9c794168345d39 (PR-1079) > git checkout -f 10932634760dd5b3c37209df0a9c794168345d39 # 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-1079@tmp/jenkins-gitclient-ssh472514939194046924.key > git merge 633449dbefca29cf62edd9030bbe74b52352fb22 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 10932634760dd5b3c37209df0a9c794168345d39 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-11T04:11:51.214Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-11T04:11:51.382Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-11T04:11:51.483Z] ========================================================= [2022-01-11T04:11:51.483Z] EdgeX Global Pipelines Version Info [2022-01-11T04:11:51.483Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-11T04:11:52.673Z] ------------------- [2022-01-11T04:11:52.673Z] stable info: [2022-01-11T04:11:52.673Z] ------------------- [2022-01-11T04:11:52.673Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-11T04:11:52.673Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2022-01-11T04:11:52.673Z] Message: update stable to v1.0.217 [2022-01-11T04:11:53.251Z] ------------------- [2022-01-11T04:11:53.251Z] experimental info: [2022-01-11T04:11:53.251Z] ------------------- [2022-01-11T04:11:53.251Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-11T04:11:53.251Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-11T04:11:53.251Z] Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-11T04:11:53.499Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-01-11T04:11:53.542Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-01-11T04:11:53.584Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-11T04:11:53.625Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-11T04:11:53.682Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-11T04:11:53.726Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2022-01-11T04:11:53.773Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-11T04:11:53.816Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-01-11T04:11:53.859Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-11T04:11:53.933Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-11T04:11:53.985Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-11T04:11:54.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-01-11T04:11:54.074Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-11T04:11:54.115Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-11T04:11:54.159Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-11T04:11:54.200Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-01-11T04:11:54.239Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-11T04:11:54.278Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-11T04:11:54.323Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-11T04:11:54.365Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-11T04:11:54.408Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-01-11T04:11:54.449Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-01-11T04:11:54.489Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-11T04:11:54.540Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-11T04:11:54.583Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-11T04:11:54.623Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-11T04:11:54.663Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1079 [Pipeline] echo [2022-01-11T04:11:54.703Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1079 [Pipeline] echo [2022-01-11T04:11:54.744Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1079 [Pipeline] echo [2022-01-11T04:11:54.788Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 10932634760dd5b3c37209df0a9c794168345d39 [Pipeline] echo [2022-01-11T04:11:54.827Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1093263 [Pipeline] echo [2022-01-11T04:11:54.871Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-11T04:11:55.039Z] provisioning config files... [2022-01-11T04:11:55.058Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1079@tmp/config7005964230464661962tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T04:11:55.414Z] ---> docker-login.sh [2022-01-11T04:11:55.415Z] nexus3.edgexfoundry.org:10001 [2022-01-11T04:11:55.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T04:11:55.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T04:11:55.678Z] Configure a credential helper to remove this warning. See [2022-01-11T04:11:55.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T04:11:55.678Z] [2022-01-11T04:11:55.678Z] Login Succeeded [2022-01-11T04:11:55.678Z] nexus3.edgexfoundry.org:10002 [2022-01-11T04:11:55.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T04:11:55.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T04:11:55.678Z] Configure a credential helper to remove this warning. See [2022-01-11T04:11:55.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T04:11:55.678Z] [2022-01-11T04:11:55.678Z] Login Succeeded [2022-01-11T04:11:55.678Z] nexus3.edgexfoundry.org:10003 [2022-01-11T04:11:55.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T04:11:55.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T04:11:55.944Z] Configure a credential helper to remove this warning. See [2022-01-11T04:11:55.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T04:11:55.944Z] [2022-01-11T04:11:55.944Z] Login Succeeded [2022-01-11T04:11:55.944Z] nexus3.edgexfoundry.org:10004 [2022-01-11T04:11:55.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T04:11:55.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T04:11:55.944Z] Configure a credential helper to remove this warning. See [2022-01-11T04:11:55.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T04:11:55.944Z] [2022-01-11T04:11:55.944Z] Login Succeeded [2022-01-11T04:11:55.944Z] docker.io [2022-01-11T04:11:56.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T04:11:56.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T04:11:56.484Z] Configure a credential helper to remove this warning. See [2022-01-11T04:11:56.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T04:11:56.484Z] [2022-01-11T04:11:56.484Z] Login Succeeded [2022-01-11T04:11:56.484Z] ---> docker-login.sh ends [Pipeline] } [2022-01-11T04:11:56.513Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-11T04:11:57.184Z] + git rev-list -1 --merges 10932634760dd5b3c37209df0a9c794168345d39~1..10932634760dd5b3c37209df0a9c794168345d39 [Pipeline] echo [2022-01-11T04:11:57.250Z] -----------> git rev-list -1 --merges 10932634760dd5b3c37209df0a9c794168345d39~1..10932634760dd5b3c37209df0a9c794168345d39 10932634760dd5b3c37209df0a9c794168345d39 [false] [Pipeline] sh [2022-01-11T04:11:57.576Z] + git log --format=format:%s -1 10932634760dd5b3c37209df0a9c794168345d39 [Pipeline] echo [2022-01-11T04:11:57.611Z] ========================================================= [2022-01-11T04:11:57.611Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-11T04:11:57.611Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-11T04:11:58.052Z] + git log --format=format:%s -1 10932634760dd5b3c37209df0a9c794168345d39 [Pipeline] echo [2022-01-11T04:11:58.106Z] [semverPrep] GIT_COMMIT: 10932634760dd5b3c37209df0a9c794168345d39, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2022-01-11T04:11:58.136Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-11T04:11:58.547Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-11T04:11:58.547Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-11T04:11:58.547Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-11T04:11:58.547Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-11T04:11:58.547Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-11T04:11:58.547Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-11T04:11:58.547Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-11T04:11:58.952Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-11T04:11:58.952Z] [2022-01-11T04:11:58.952Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-11T04:11:59.302Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-11T04:11:59.302Z] latest: Pulling from edgex-devops/git-semver [2022-01-11T04:11:59.302Z] a0d0a0d46f8b: Pulling fs layer [2022-01-11T04:11:59.302Z] 3e5f54012d9b: Pulling fs layer [2022-01-11T04:11:59.302Z] 4c7163046ea9: Pulling fs layer [2022-01-11T04:11:59.302Z] 0c2d73faf560: Pulling fs layer [2022-01-11T04:11:59.302Z] 0c2d73faf560: Waiting [2022-01-11T04:11:59.302Z] 3e5f54012d9b: Verifying Checksum [2022-01-11T04:11:59.302Z] 3e5f54012d9b: Download complete [2022-01-11T04:11:59.302Z] a0d0a0d46f8b: Verifying Checksum [2022-01-11T04:11:59.302Z] a0d0a0d46f8b: Download complete [2022-01-11T04:11:59.302Z] 4c7163046ea9: Verifying Checksum [2022-01-11T04:11:59.302Z] 4c7163046ea9: Download complete [2022-01-11T04:11:59.302Z] 0c2d73faf560: Verifying Checksum [2022-01-11T04:11:59.302Z] 0c2d73faf560: Download complete [2022-01-11T04:11:59.568Z] a0d0a0d46f8b: Pull complete [2022-01-11T04:11:59.568Z] 3e5f54012d9b: Pull complete [2022-01-11T04:11:59.830Z] 4c7163046ea9: Pull complete [2022-01-11T04:12:00.093Z] 0c2d73faf560: Pull complete [2022-01-11T04:12:00.093Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-11T04:12:00.093Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-11T04:12:00.093Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-11T04:12:00.197Z] prd-centos7-docker-4c-2g-1196 does not seem to be running inside a container [2022-01-11T04:12:00.234Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1079 -v /w/workspace/gexfoundry_device-sdk-go_PR-1079:/w/workspace/gexfoundry_device-sdk-go_PR-1079:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1079@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1079@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-01-11T04:12:01.443Z] $ docker top 78088c2c1b86520e4c8e3dde5b7265d288e1bbbbbcad4f9b234b1338e9462185 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-11T04:12:01.644Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-11T04:12:01.644Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-11T04:12:01.764Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-11T04:12:01.767Z] $ docker exec 78088c2c1b86520e4c8e3dde5b7265d288e1bbbbbcad4f9b234b1338e9462185 ssh-agent [2022-01-11T04:12:01.868Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFChoMj/agent.13 [2022-01-11T04:12:01.868Z] SSH_AGENT_PID=20 [2022-01-11T04:12:01.875Z] Running ssh-add (command line suppressed) [2022-01-11T04:12:01.966Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1079@tmp/private_key_3449182830761230355.key (/w/workspace/gexfoundry_device-sdk-go_PR-1079@tmp/private_key_3449182830761230355.key) [2022-01-11T04:12:01.978Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-11T04:12:02.333Z] + git tag --points-at HEAD [Pipeline] } [2022-01-11T04:12:02.360Z] $ docker exec --env ******** --env ******** 78088c2c1b86520e4c8e3dde5b7265d288e1bbbbbcad4f9b234b1338e9462185 ssh-agent -k [2022-01-11T04:12:02.451Z] unset SSH_AUTH_SOCK; [2022-01-11T04:12:02.452Z] unset SSH_AGENT_PID; [2022-01-11T04:12:02.452Z] echo Agent pid 20 killed; [2022-01-11T04:12:02.462Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-11T04:12:02.557Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-11T04:12:02.557Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-11T04:12:02.661Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-11T04:12:02.664Z] $ docker exec 78088c2c1b86520e4c8e3dde5b7265d288e1bbbbbcad4f9b234b1338e9462185 ssh-agent [2022-01-11T04:12:02.761Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnAfaim/agent.54 [2022-01-11T04:12:02.761Z] SSH_AGENT_PID=60 [2022-01-11T04:12:02.766Z] Running ssh-add (command line suppressed) [2022-01-11T04:12:02.859Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1079@tmp/private_key_6365771263965086056.key (/w/workspace/gexfoundry_device-sdk-go_PR-1079@tmp/private_key_6365771263965086056.key) [2022-01-11T04:12:02.871Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-11T04:12:03.214Z] + git semver init [2022-01-11T04:12:03.214Z] # -> Open(): unable to determine branch for HEAD [2022-01-11T04:12:03.214Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1079/.git [2022-01-11T04:12:03.214Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1079 [2022-01-11T04:12:03.214Z] # $SEMVER_REMOTE_NAME = origin [2022-01-11T04:12:03.214Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-11T04:12:03.214Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-11T04:12:03.214Z] # $SEMVER_BRANCH = PR-1079 [2022-01-11T04:12:03.214Z] # $SEMVER_TEMP = /tmp/semver-043020930 [2022-01-11T04:12:03.214Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-01-11T04:12:04.159Z] # '/tmp/semver-043020930' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1079/.semver' [2022-01-11T04:12:04.159Z] # -> Force: false [2022-01-11T04:12:04.159Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1079/.semver [Pipeline] } [2022-01-11T04:12:04.185Z] $ docker exec --env ******** --env ******** 78088c2c1b86520e4c8e3dde5b7265d288e1bbbbbcad4f9b234b1338e9462185 ssh-agent -k [2022-01-11T04:12:04.276Z] unset SSH_AUTH_SOCK; [2022-01-11T04:12:04.276Z] unset SSH_AGENT_PID; [2022-01-11T04:12:04.276Z] echo Agent pid 60 killed; [2022-01-11T04:12:04.286Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-11T04:12:04.744Z] + git semver [Pipeline] } [2022-01-11T04:12:04.779Z] $ docker stop --time=1 78088c2c1b86520e4c8e3dde5b7265d288e1bbbbbcad4f9b234b1338e9462185 [2022-01-11T04:12:06.141Z] $ docker rm -f 78088c2c1b86520e4c8e3dde5b7265d288e1bbbbbcad4f9b234b1338e9462185 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-11T04:12:06.570Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-11T04:12:06.873Z] Stashed 1 file(s) [Pipeline] echo [2022-01-11T04:12:06.891Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2022-01-11T04:12:22.263Z] Still waiting to schedule task [2022-01-11T04:12:22.263Z] ‘prd-centos7-blackbox-4c-2g-1012’ doesn’t have label ‘centos7-docker-4c-2g’ [2022-01-11T04:12:22.263Z] ‘prd-centos7-builder-2c-1g-1194’ doesn’t have label ‘centos7-docker-4c-2g’ [2022-01-11T04:12:22.264Z] ‘prd-centos7-docker-4c-2g-1193’ is offline [2022-01-11T04:12:22.264Z] ‘prd-centos7-docker-4c-2g-1197’ is offline [2022-01-11T04:12:22.281Z] Still waiting to schedule task [2022-01-11T04:12:22.281Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1191’ [2022-01-11T04:14:14.231Z] Running on prd-centos7-docker-4c-2g-1198 in /w/workspace/gexfoundry_device-sdk-go_PR-1079 [Pipeline] { [Pipeline] ws [2022-01-11T04:14:14.270Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-01-11T04:14:14.401Z] The recommended git tool is: git [2022-01-11T04:14:16.019Z] using credential edgex-jenkins-ssh [2022-01-11T04:14:16.029Z] Cloning the remote Git repository [2022-01-11T04:14:15.551Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-01-11T04:14:15.584Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-01-11T04:14:15.622Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-11T04:14:15.622Z] > git --version # timeout=10 [2022-01-11T04:14:15.634Z] > git --version # 'git version 2.24.4' [2022-01-11T04:14:15.634Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-11T04:14:15.672Z] [INFO] Currently running in a labeled security context [2022-01-11T04:14:15.672Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-11T04:14:15.672Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh6022330906864481500.key [2022-01-11T04:14:15.714Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-11T04:14:17.492Z] Merging remotes/origin/main commit 633449dbefca29cf62edd9030bbe74b52352fb22 into PR head commit 10932634760dd5b3c37209df0a9c794168345d39 [2022-01-11T04:14:17.579Z] Merge succeeded, producing 10932634760dd5b3c37209df0a9c794168345d39 [2022-01-11T04:14:17.580Z] Checking out Revision 10932634760dd5b3c37209df0a9c794168345d39 (PR-1079) [2022-01-11T04:14:16.488Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-11T04:14:16.496Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-11T04:14:16.509Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-11T04:14:16.522Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-11T04:14:16.529Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-11T04:14:16.530Z] [INFO] Currently running in a labeled security context [2022-01-11T04:14:16.530Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-11T04:14:16.530Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh4041387470724755350.key [2022-01-11T04:14:16.540Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1079/head:refs/remotes/origin/PR-1079 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-11T04:14:17.004Z] > git config core.sparsecheckout # timeout=10 [2022-01-11T04:14:17.014Z] > git checkout -f 10932634760dd5b3c37209df0a9c794168345d39 # timeout=10 [2022-01-11T04:14:17.045Z] > git remote # timeout=10 [2022-01-11T04:14:17.053Z] > git config --get remote.origin.url # timeout=10 [2022-01-11T04:14:17.060Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-11T04:14:17.061Z] [INFO] Currently running in a labeled security context [2022-01-11T04:14:17.061Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-11T04:14:17.061Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh3444762615920418391.key [2022-01-11T04:14:17.067Z] > git merge 633449dbefca29cf62edd9030bbe74b52352fb22 # timeout=10 [2022-01-11T04:14:17.075Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-11T04:14:17.084Z] > git config core.sparsecheckout # timeout=10 [2022-01-11T04:14:17.090Z] > git checkout -f 10932634760dd5b3c37209df0a9c794168345d39 # timeout=10 [2022-01-11T04:14:21.133Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2022-01-11T04:14:20.660Z] > git --version # timeout=10 [2022-01-11T04:14:20.671Z] > git --version # 'git version 2.24.4' [2022-01-11T04:14:20.679Z] fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-11T04:14:21.770Z] provisioning config files... [2022-01-11T04:14:21.785Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4785780699844151722tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T04:14:22.217Z] ---> docker-login.sh [2022-01-11T04:14:22.217Z] nexus3.edgexfoundry.org:10001 [2022-01-11T04:14:22.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T04:14:22.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T04:14:22.217Z] Configure a credential helper to remove this warning. See [2022-01-11T04:14:22.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T04:14:22.217Z] [2022-01-11T04:14:22.217Z] Login Succeeded [2022-01-11T04:14:22.217Z] nexus3.edgexfoundry.org:10002 [2022-01-11T04:14:22.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T04:14:22.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T04:14:22.480Z] Configure a credential helper to remove this warning. See [2022-01-11T04:14:22.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T04:14:22.480Z] [2022-01-11T04:14:22.480Z] Login Succeeded [2022-01-11T04:14:22.480Z] nexus3.edgexfoundry.org:10003 [2022-01-11T04:14:22.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T04:14:22.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T04:14:22.480Z] Configure a credential helper to remove this warning. See [2022-01-11T04:14:22.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T04:14:22.480Z] [2022-01-11T04:14:22.480Z] Login Succeeded [2022-01-11T04:14:22.480Z] nexus3.edgexfoundry.org:10004 [2022-01-11T04:14:22.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T04:14:22.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T04:14:22.742Z] Configure a credential helper to remove this warning. See [2022-01-11T04:14:22.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T04:14:22.742Z] [2022-01-11T04:14:22.742Z] Login Succeeded [2022-01-11T04:14:22.742Z] docker.io [2022-01-11T04:14:22.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T04:14:23.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T04:14:23.003Z] Configure a credential helper to remove this warning. See [2022-01-11T04:14:23.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T04:14:23.003Z] [2022-01-11T04:14:23.003Z] Login Succeeded [2022-01-11T04:14:23.003Z] ---> docker-login.sh ends [Pipeline] } [2022-01-11T04:14:23.099Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-11T04:14:23.355Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-11T04:14:23.397Z] ========================================================= [2022-01-11T04:14:23.397Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2022-01-11T04:14:23.397Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-11T04:14:23.856Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-01-11T04:14:23.856Z] Sending build context to Docker daemon 5.032MB [2022-01-11T04:14:23.856Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-01-11T04:14:23.856Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-11T04:14:23.856Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-11T04:14:23.856Z] a0d0a0d46f8b: Pulling fs layer [2022-01-11T04:14:23.856Z] 31adcdaf11c8: Pulling fs layer [2022-01-11T04:14:23.856Z] b8b176561691: Pulling fs layer [2022-01-11T04:14:23.856Z] 4527c011a84f: Pulling fs layer [2022-01-11T04:14:23.856Z] 5d74067f8e1e: Pulling fs layer [2022-01-11T04:14:23.856Z] e0aca202a116: Pulling fs layer [2022-01-11T04:14:23.856Z] 3a43be97a3b4: Pulling fs layer [2022-01-11T04:14:23.856Z] 34cad66bf833: Pulling fs layer [2022-01-11T04:14:23.856Z] b4e3c513aaa6: Pulling fs layer [2022-01-11T04:14:23.856Z] 4527c011a84f: Waiting [2022-01-11T04:14:23.856Z] 5d74067f8e1e: Waiting [2022-01-11T04:14:23.856Z] e0aca202a116: Waiting [2022-01-11T04:14:23.856Z] 3a43be97a3b4: Waiting [2022-01-11T04:14:23.856Z] 34cad66bf833: Waiting [2022-01-11T04:14:23.856Z] b4e3c513aaa6: Waiting [2022-01-11T04:14:24.125Z] b8b176561691: Verifying Checksum [2022-01-11T04:14:24.125Z] b8b176561691: Download complete [2022-01-11T04:14:24.125Z] 31adcdaf11c8: Verifying Checksum [2022-01-11T04:14:24.125Z] 31adcdaf11c8: Download complete [2022-01-11T04:14:24.125Z] 5d74067f8e1e: Verifying Checksum [2022-01-11T04:14:24.125Z] 5d74067f8e1e: Download complete [2022-01-11T04:14:24.125Z] e0aca202a116: Verifying Checksum [2022-01-11T04:14:24.125Z] e0aca202a116: Download complete [2022-01-11T04:14:24.125Z] 3a43be97a3b4: Verifying Checksum [2022-01-11T04:14:24.125Z] 3a43be97a3b4: Download complete [2022-01-11T04:14:24.125Z] a0d0a0d46f8b: Verifying Checksum [2022-01-11T04:14:24.125Z] a0d0a0d46f8b: Download complete [2022-01-11T04:14:24.125Z] 34cad66bf833: Verifying Checksum [2022-01-11T04:14:24.125Z] 34cad66bf833: Download complete [2022-01-11T04:14:24.125Z] a0d0a0d46f8b: Pull complete [2022-01-11T04:14:24.391Z] 31adcdaf11c8: Pull complete [2022-01-11T04:14:24.654Z] b8b176561691: Pull complete [2022-01-11T04:14:25.230Z] b4e3c513aaa6: Verifying Checksum [2022-01-11T04:14:25.230Z] b4e3c513aaa6: Download complete [2022-01-11T04:14:25.230Z] 4527c011a84f: Verifying Checksum [2022-01-11T04:14:25.230Z] 4527c011a84f: Download complete [2022-01-11T04:14:29.496Z] 4527c011a84f: Pull complete [2022-01-11T04:14:29.496Z] 5d74067f8e1e: Pull complete [2022-01-11T04:14:29.496Z] e0aca202a116: Pull complete [2022-01-11T04:14:29.496Z] 3a43be97a3b4: Pull complete [2022-01-11T04:14:29.496Z] 34cad66bf833: Pull complete [2022-01-11T04:14:32.086Z] b4e3c513aaa6: Pull complete [2022-01-11T04:14:32.086Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2022-01-11T04:14:32.086Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-11T04:14:32.086Z] ---> 9f6097aaca64 [2022-01-11T04:14:32.086Z] Step 3/10 : ARG MAKE=make build [2022-01-11T04:14:36.319Z] ---> Running in 0e10cde2a26f [2022-01-11T04:14:36.319Z] Removing intermediate container 0e10cde2a26f [2022-01-11T04:14:36.319Z] ---> 1a1b5bdbbc18 [2022-01-11T04:14:36.319Z] Step 4/10 : WORKDIR /device-sdk-go [2022-01-11T04:14:36.319Z] ---> Running in 1d302b174291 [2022-01-11T04:14:36.583Z] Removing intermediate container 1d302b174291 [2022-01-11T04:14:36.583Z] ---> 37044676f21a [2022-01-11T04:14:36.583Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-11T04:14:36.583Z] ---> Running in 32e4b33b9ccd [2022-01-11T04:14:36.583Z] Removing intermediate container 32e4b33b9ccd [2022-01-11T04:14:36.583Z] ---> f2f772716cfc [2022-01-11T04:14:36.583Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-11T04:14:36.583Z] ---> Running in fb117ab59234 [2022-01-11T04:14:37.160Z] Removing intermediate container fb117ab59234 [2022-01-11T04:14:37.160Z] ---> d8258b8ad576 [2022-01-11T04:14:37.160Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-11T04:14:37.160Z] ---> Running in 6e982f5b6114 [2022-01-11T04:14:37.421Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-11T04:14:38.361Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-11T04:14:38.625Z] OK: 220 MiB in 52 packages [2022-01-11T04:14:38.887Z] Removing intermediate container 6e982f5b6114 [2022-01-11T04:14:38.887Z] ---> 24f088467c4c [2022-01-11T04:14:38.887Z] Step 8/10 : COPY . . [2022-01-11T04:14:39.156Z] ---> 8e3858ce9bc0 [2022-01-11T04:14:39.156Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-11T04:14:39.156Z] ---> Running in e06da6ad4e60 [2022-01-11T04:15:11.365Z] Removing intermediate container e06da6ad4e60 [2022-01-11T04:15:11.365Z] ---> 4802f9db9575 [2022-01-11T04:15:11.365Z] Step 10/10 : RUN ${MAKE} [2022-01-11T04:15:11.365Z] ---> Running in 2859290780bc [2022-01-11T04:15:11.365Z] noop [2022-01-11T04:15:11.365Z] Removing intermediate container 2859290780bc [2022-01-11T04:15:11.365Z] ---> ab49885466c5 [2022-01-11T04:15:11.365Z] Successfully built ab49885466c5 [2022-01-11T04:15:11.365Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-11T04:15:11.697Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-11T04:15:11.697Z] . [Pipeline] withDockerContainer [2022-01-11T04:15:11.794Z] prd-centos7-docker-4c-2g-1198 does not seem to be running inside a container [2022-01-11T04:15:11.831Z] $ 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-x86_64 cat [2022-01-11T04:15:12.166Z] $ docker top f54f47d083c3a42c246c36d8b01bdbeca057044d9fde410be363fe1c4fe8bf83 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-11T04:15:12.590Z] + go version [2022-01-11T04:15:12.590Z] go version go1.16.8 linux/amd64 [Pipeline] } [2022-01-11T04:15:12.621Z] $ docker stop --time=1 f54f47d083c3a42c246c36d8b01bdbeca057044d9fde410be363fe1c4fe8bf83 [2022-01-11T04:15:13.809Z] $ docker rm -f f54f47d083c3a42c246c36d8b01bdbeca057044d9fde410be363fe1c4fe8bf83 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-11T04:15:14.472Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-11T04:15:14.472Z] . [Pipeline] withDockerContainer [2022-01-11T04:15:14.551Z] prd-centos7-docker-4c-2g-1198 does not seem to be running inside a container [2022-01-11T04:15:14.600Z] $ 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-x86_64 cat [2022-01-11T04:15:14.974Z] $ docker top be0edbac72806f902bf17fb941240a16e447fbef7f0e87d4c975d6da679a3ac4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-11T04:15:15.428Z] + make test [2022-01-11T04:15:15.428Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-11T04:15:20.771Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-11T04:15:47.525Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-11T04:15:47.525Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-11T04:15:47.525Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-11T04:15:47.525Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.062s coverage: 23.3% of statements [2022-01-11T04:15:47.525Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-11T04:15:47.525Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.055s coverage: 27.6% of statements [2022-01-11T04:15:47.525Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.065s coverage: 78.9% of statements [2022-01-11T04:15:47.525Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.043s coverage: 9.0% of statements [2022-01-11T04:15:47.525Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-11T04:15:47.525Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-11T04:15:47.525Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-11T04:15:47.525Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.059s coverage: 28.7% of statements [2022-01-11T04:15:47.525Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-11T04:15:47.793Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.051s coverage: 86.1% of statements [2022-01-11T04:15:47.793Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-11T04:15:47.793Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-11T04:15:47.793Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.077s coverage: 57.4% of statements [2022-01-11T04:15:49.199Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.851s coverage: 89.2% of statements [2022-01-11T04:15:49.199Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-11T04:15:49.199Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.046s coverage: 4.8% of statements [2022-01-11T04:15:49.199Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-11T04:16:11.302Z] GO111MODULE=on go vet ./... [2022-01-11T04:16:17.937Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-11T04:16:17.937Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-11T04:16:17.937Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-11T04:16:18.225Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-11T04:16:18.255Z] $ docker stop --time=1 be0edbac72806f902bf17fb941240a16e447fbef7f0e87d4c975d6da679a3ac4 [2022-01-11T04:16:19.778Z] $ docker rm -f be0edbac72806f902bf17fb941240a16e447fbef7f0e87d4c975d6da679a3ac4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-11T04:16:20.359Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-11T04:16:20.567Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-11T04:16:21.703Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-11T04:16:22.020Z] + ls -al . [2022-01-11T04:16:22.020Z] total 268 [2022-01-11T04:16:22.020Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 11 04:16 . [2022-01-11T04:16:22.020Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 11 04:14 .. [2022-01-11T04:16:22.020Z] drwxrwxr-x. 2 jenkins jenkins 37 Jan 11 04:14 bin [2022-01-11T04:16:22.020Z] -rw-rw-r--. 1 jenkins jenkins 26321 Jan 11 04:14 CHANGELOG.md [2022-01-11T04:16:22.020Z] -rw-r--r--. 1 jenkins jenkins 128667 Jan 11 04:15 coverage.out [2022-01-11T04:16:22.020Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 11 04:14 .dockerignore [2022-01-11T04:16:22.020Z] drwxrwxr-x. 5 jenkins jenkins 62 Jan 11 04:14 example [2022-01-11T04:16:22.020Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 11 04:14 .git [2022-01-11T04:16:22.020Z] drwxrwxr-x. 3 jenkins jenkins 125 Jan 11 04:14 .github [2022-01-11T04:16:22.020Z] -rw-rw-r--. 1 jenkins jenkins 131 Jan 11 04:14 .gitignore [2022-01-11T04:16:22.020Z] -rw-rw-r--. 1 jenkins jenkins 42 Jan 11 04:14 .golangci.yml [2022-01-11T04:16:22.020Z] -rw-rw-r--. 1 jenkins jenkins 582 Jan 11 04:14 go.mod [2022-01-11T04:16:22.020Z] -rw-rw-r--. 1 jenkins jenkins 48958 Jan 11 04:14 go.sum [2022-01-11T04:16:22.020Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 11 04:14 GOVERNANCE.md [2022-01-11T04:16:22.020Z] drwxrwxr-x. 15 jenkins jenkins 224 Jan 11 04:14 internal [2022-01-11T04:16:22.020Z] -rw-rw-r--. 1 jenkins jenkins 880 Jan 11 04:14 Jenkinsfile [2022-01-11T04:16:22.020Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 11 04:14 LICENSE [2022-01-11T04:16:22.020Z] -rw-rw-r--. 1 jenkins jenkins 1590 Jan 11 04:14 Makefile [2022-01-11T04:16:22.020Z] drwxrwxr-x. 3 jenkins jenkins 16 Jan 11 04:14 openapi [2022-01-11T04:16:22.020Z] -rw-rw-r--. 1 jenkins jenkins 619 Jan 11 04:14 OWNERS.md [2022-01-11T04:16:22.020Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 11 04:14 pkg [2022-01-11T04:16:22.020Z] -rw-rw-r--. 1 jenkins jenkins 4881 Jan 11 04:14 README.md [2022-01-11T04:16:22.020Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 11 04:14 snap [2022-01-11T04:16:22.020Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 11 04:12 VERSION [2022-01-11T04:16:22.020Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 11 04:14 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-11T04:16:22.362Z] + 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=10932634760dd5b3c37209df0a9c794168345d39 --label arch=amd64 --label version=0.0.0 . [2022-01-11T04:16:22.362Z] Sending build context to Docker daemon 5.161MB [2022-01-11T04:16:22.362Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-01-11T04:16:22.362Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-11T04:16:22.362Z] ---> ab49885466c5 [2022-01-11T04:16:22.362Z] Step 3/24 : ARG MAKE=make build [2022-01-11T04:16:22.362Z] ---> Running in 8d1f2e35d367 [2022-01-11T04:16:22.628Z] Removing intermediate container 8d1f2e35d367 [2022-01-11T04:16:22.628Z] ---> 06d1ecde25e3 [2022-01-11T04:16:22.628Z] Step 4/24 : WORKDIR /device-sdk-go [2022-01-11T04:16:22.628Z] ---> Running in 19eac77169de [2022-01-11T04:16:22.628Z] Removing intermediate container 19eac77169de [2022-01-11T04:16:22.628Z] ---> 04f8e85f4d01 [2022-01-11T04:16:22.628Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-11T04:16:22.628Z] ---> Running in 02b2038c806f [2022-01-11T04:16:22.892Z] Removing intermediate container 02b2038c806f [2022-01-11T04:16:22.892Z] ---> 974407075fbd [2022-01-11T04:16:22.892Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-11T04:16:22.892Z] ---> Running in 3f5250545aea [2022-01-11T04:16:23.152Z] Removing intermediate container 3f5250545aea [2022-01-11T04:16:23.152Z] ---> cc5a32c32c72 [2022-01-11T04:16:23.152Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-11T04:16:23.152Z] ---> Running in 4732d626ee45 [2022-01-11T04:16:23.415Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-11T04:16:24.350Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-11T04:16:24.611Z] OK: 220 MiB in 52 packages [2022-01-11T04:16:24.874Z] Removing intermediate container 4732d626ee45 [2022-01-11T04:16:24.874Z] ---> 6cbffb97eea2 [2022-01-11T04:16:24.874Z] Step 8/24 : COPY . . [2022-01-11T04:16:25.133Z] ---> 80862504d99a [2022-01-11T04:16:25.133Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-11T04:16:25.133Z] ---> Running in 33bf0d182387 [2022-01-11T04:16:25.710Z] Removing intermediate container 33bf0d182387 [2022-01-11T04:16:25.710Z] ---> a67234a1a1a7 [2022-01-11T04:16:25.710Z] Step 10/24 : RUN ${MAKE} [2022-01-11T04:16:25.710Z] ---> Running in 2612776924d3 [2022-01-11T04:16:25.975Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-01-11T04:16:27.392Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1199 in /w/workspace/gexfoundry_device-sdk-go_PR-1079 [Pipeline] { [Pipeline] ws [2022-01-11T04:16:27.438Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-01-11T04:16:27.705Z] The recommended git tool is: git [2022-01-11T04:16:32.581Z] using credential edgex-jenkins-ssh [2022-01-11T04:16:32.597Z] Cloning the remote Git repository [2022-01-11T04:16:32.667Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-01-11T04:16:32.745Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-01-11T04:16:32.832Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-11T04:16:32.833Z] > git --version # timeout=10 [2022-01-11T04:16:32.909Z] > git --version # 'git version 2.17.1' [2022-01-11T04:16:32.911Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-11T04:16:33.010Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-11T04:16:34.599Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-11T04:16:34.619Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-11T04:16:34.649Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-11T04:16:34.695Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-11T04:16:34.696Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-11T04:16:34.708Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1079/head:refs/remotes/origin/PR-1079 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-11T04:16:35.322Z] Merging remotes/origin/main commit 633449dbefca29cf62edd9030bbe74b52352fb22 into PR head commit 10932634760dd5b3c37209df0a9c794168345d39 [2022-01-11T04:16:35.550Z] Merge succeeded, producing 10932634760dd5b3c37209df0a9c794168345d39 [2022-01-11T04:16:35.551Z] Checking out Revision 10932634760dd5b3c37209df0a9c794168345d39 (PR-1079) [2022-01-11T04:16:36.039Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-11T04:16:35.342Z] > git config core.sparsecheckout # timeout=10 [2022-01-11T04:16:35.359Z] > git checkout -f 10932634760dd5b3c37209df0a9c794168345d39 # timeout=10 [2022-01-11T04:16:35.465Z] > git remote # timeout=10 [2022-01-11T04:16:35.484Z] > git config --get remote.origin.url # timeout=10 [2022-01-11T04:16:35.501Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-11T04:16:35.512Z] > git merge 633449dbefca29cf62edd9030bbe74b52352fb22 # timeout=10 [2022-01-11T04:16:35.533Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-11T04:16:35.560Z] > git config core.sparsecheckout # timeout=10 [2022-01-11T04:16:35.580Z] > git checkout -f 10932634760dd5b3c37209df0a9c794168345d39 # timeout=10 [2022-01-11T04:16:36.985Z] Removing intermediate container 2612776924d3 [2022-01-11T04:16:36.985Z] ---> b4c2dc46bca0 [2022-01-11T04:16:36.985Z] Step 11/24 : FROM alpine:3.14 [2022-01-11T04:16:37.557Z] 3.14: Pulling from library/alpine [2022-01-11T04:16:37.557Z] 97518928ae5f: Pulling fs layer [2022-01-11T04:16:37.818Z] 97518928ae5f: Verifying Checksum [2022-01-11T04:16:37.818Z] 97518928ae5f: Download complete [2022-01-11T04:16:38.082Z] 97518928ae5f: Pull complete [2022-01-11T04:16:38.082Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-11T04:16:38.082Z] Status: Downloaded newer image for alpine:3.14 [2022-01-11T04:16:38.082Z] ---> 0a97eee8041e [2022-01-11T04:16:38.082Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-11T04:16:38.082Z] ---> Running in 8cce19b29fa1 [2022-01-11T04:16:38.082Z] Removing intermediate container 8cce19b29fa1 [2022-01-11T04:16:38.082Z] ---> 0715bcf55f8c [2022-01-11T04:16:38.082Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-11T04:16:38.082Z] ---> Running in 72e3bba9324f [2022-01-11T04:16:38.657Z] Removing intermediate container 72e3bba9324f [2022-01-11T04:16:38.657Z] ---> 560dfb17d2d2 [2022-01-11T04:16:38.657Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2022-01-11T04:16:38.657Z] ---> Running in 2f9f0917776a [2022-01-11T04:16:38.919Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-11T04:16:39.749Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2022-01-11T04:16:39.805Z] > git --version # timeout=10 [2022-01-11T04:16:39.816Z] > git --version # 'git version 2.17.1' [2022-01-11T04:16:39.831Z] fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2022-01-11T04:16:39.862Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-11T04:16:40.127Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-11T04:16:40.127Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-11T04:16:40.127Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2022-01-11T04:16:40.388Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-11T04:16:40.389Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-11T04:16:40.389Z] Executing busybox-1.33.1-r6.trigger [Pipeline] sh [2022-01-11T04:16:40.650Z] OK: 8 MiB in 19 packages [2022-01-11T04:16:40.881Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-11T04:16:40.881Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-11T04:16:40.881Z] Dload Upload Total Spent Left Speed [2022-01-11T04:16:40.881Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 84592 0 --:--:-- --:--:-- --:--:-- 85201 [2022-01-11T04:16:40.914Z] Removing intermediate container 2f9f0917776a [2022-01-11T04:16:40.914Z] ---> b9b9ed2a2272 [2022-01-11T04:16:40.914Z] Step 15/24 : WORKDIR / [2022-01-11T04:16:40.914Z] ---> Running in 39c6a8941dc8 [2022-01-11T04:16:40.914Z] Removing intermediate container 39c6a8941dc8 [2022-01-11T04:16:40.914Z] ---> 6cd5144d38fb [2022-01-11T04:16:40.914Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [Pipeline] sh [2022-01-11T04:16:41.178Z] ---> 98572d8c3640 [2022-01-11T04:16:41.178Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-11T04:16:41.439Z] ---> b3a68d038d05 [2022-01-11T04:16:41.439Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-11T04:16:41.443Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-11T04:16:41.701Z] ---> 0bfcc245842f [2022-01-11T04:16:41.701Z] Step 19/24 : EXPOSE 59999 [2022-01-11T04:16:41.701Z] ---> Running in 1971d5496213 [2022-01-11T04:16:41.701Z] Removing intermediate container 1971d5496213 [2022-01-11T04:16:41.701Z] ---> ce5cdedde315 [2022-01-11T04:16:41.701Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2022-01-11T04:16:41.701Z] ---> Running in 66491221eae5 [2022-01-11T04:16:41.701Z] Removing intermediate container 66491221eae5 [2022-01-11T04:16:41.701Z] ---> f63ec6755555 [2022-01-11T04:16:41.701Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-11T04:16:41.701Z] ---> Running in 521d8da272c9 [2022-01-11T04:16:41.866Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2022-01-11T04:16:41.866Z] /etc/docker/daemon.new [2022-01-11T04:16:41.866Z] { [2022-01-11T04:16:41.866Z] "registry-mirrors": [ [2022-01-11T04:16:41.866Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-11T04:16:41.866Z] ], [2022-01-11T04:16:41.866Z] "bip": "10.250.0.254/24", [2022-01-11T04:16:41.866Z] "hosts": [ [2022-01-11T04:16:41.866Z] "tcp://0.0.0.0:5555", [2022-01-11T04:16:41.866Z] "unix:///var/run/docker.sock" [2022-01-11T04:16:41.866Z] ], [2022-01-11T04:16:41.866Z] "mtu": 1458, [2022-01-11T04:16:41.866Z] "selinux-enabled": true, [2022-01-11T04:16:41.866Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-11T04:16:41.866Z] } [Pipeline] sh [2022-01-11T04:16:41.962Z] Removing intermediate container 521d8da272c9 [2022-01-11T04:16:41.963Z] ---> cb7f0c5d52f3 [2022-01-11T04:16:41.963Z] Step 22/24 : LABEL arch=amd64 [2022-01-11T04:16:41.963Z] ---> Running in 7c7b111acc34 [2022-01-11T04:16:41.963Z] Removing intermediate container 7c7b111acc34 [2022-01-11T04:16:41.963Z] ---> 2527f43a984e [2022-01-11T04:16:41.963Z] Step 23/24 : LABEL git_sha=10932634760dd5b3c37209df0a9c794168345d39 [2022-01-11T04:16:41.963Z] ---> Running in 422b72b31ac3 [2022-01-11T04:16:42.221Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2022-01-11T04:16:42.225Z] Removing intermediate container 422b72b31ac3 [2022-01-11T04:16:42.225Z] ---> 453adeed727b [2022-01-11T04:16:42.225Z] Step 24/24 : LABEL version=0.0.0 [2022-01-11T04:16:42.225Z] ---> Running in f50d3d0ac28e [2022-01-11T04:16:42.225Z] Removing intermediate container f50d3d0ac28e [2022-01-11T04:16:42.225Z] ---> 7e914ceee7e0 [2022-01-11T04:16:42.225Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-11T04:16:42.225Z] Successfully built 7e914ceee7e0 [2022-01-11T04:16:42.225Z] Successfully tagged device-sdk-simple:latest [Pipeline] sh [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [2022-01-11T04:16:42.600Z] + sudo service docker restart [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-11T04:16:43.104Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T04:16:43.104Z] [2022-01-11T04:16:43.104Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-11T04:16:43.456Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T04:16:43.456Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-11T04:16:43.456Z] b4d181a07f80: Pulling fs layer [2022-01-11T04:16:43.456Z] a1111a8f2ec3: Pulling fs layer [2022-01-11T04:16:43.456Z] ed53099fbce6: Pulling fs layer [2022-01-11T04:16:43.456Z] dc539afda2c1: Pulling fs layer [2022-01-11T04:16:43.456Z] 77bc0d833cb6: Pulling fs layer [2022-01-11T04:16:43.456Z] 9065ff56babe: Pulling fs layer [2022-01-11T04:16:43.456Z] d287ab97295c: Pulling fs layer [2022-01-11T04:16:43.456Z] dc539afda2c1: Waiting [2022-01-11T04:16:43.456Z] 77bc0d833cb6: Waiting [2022-01-11T04:16:43.456Z] 9065ff56babe: Waiting [2022-01-11T04:16:43.456Z] d287ab97295c: Waiting [2022-01-11T04:16:43.456Z] a1111a8f2ec3: Verifying Checksum [2022-01-11T04:16:43.456Z] a1111a8f2ec3: Download complete [2022-01-11T04:16:43.456Z] dc539afda2c1: Verifying Checksum [2022-01-11T04:16:43.456Z] dc539afda2c1: Download complete [2022-01-11T04:16:43.719Z] 77bc0d833cb6: Verifying Checksum [2022-01-11T04:16:43.720Z] 77bc0d833cb6: Download complete [2022-01-11T04:16:43.720Z] 9065ff56babe: Verifying Checksum [2022-01-11T04:16:43.720Z] 9065ff56babe: Download complete [2022-01-11T04:16:43.720Z] ed53099fbce6: Verifying Checksum [2022-01-11T04:16:43.720Z] ed53099fbce6: Download complete [2022-01-11T04:16:43.720Z] b4d181a07f80: Verifying Checksum [2022-01-11T04:16:43.720Z] b4d181a07f80: Download complete [2022-01-11T04:16:44.674Z] d287ab97295c: Verifying Checksum [2022-01-11T04:16:44.674Z] d287ab97295c: Download complete [2022-01-11T04:16:45.265Z] b4d181a07f80: Pull complete [2022-01-11T04:16:45.265Z] a1111a8f2ec3: Pull complete [2022-01-11T04:16:45.839Z] ed53099fbce6: Pull complete [2022-01-11T04:16:45.839Z] dc539afda2c1: Pull complete [2022-01-11T04:16:46.413Z] 77bc0d833cb6: Pull complete [2022-01-11T04:16:46.413Z] 9065ff56babe: Pull complete [2022-01-11T04:16:51.745Z] d287ab97295c: Pull complete [2022-01-11T04:16:51.745Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-11T04:16:51.745Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T04:16:51.745Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-11T04:16:51.837Z] prd-centos7-docker-4c-2g-1198 does not seem to be running inside a container [2022-01-11T04:16:51.873Z] $ 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:latest cat [2022-01-11T04:16:54.623Z] $ docker top 96bf22eb36a31e7a3b388f999020f0327d7f67168cdf142a2840e424f1e62e4c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T04:16:55.097Z] ---> job-cost.sh [2022-01-11T04:16:55.097Z] lf-activate-venv: SKIPPING [2022-01-11T04:16:55.097Z] INFO: No Stack... [2022-01-11T04:16:55.356Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-11T04:16:55.619Z] INFO: Archiving Costs [Pipeline] sh [2022-01-11T04:16:55.943Z] + cut -d, -f6 [2022-01-11T04:16:55.944Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2022-01-11T04:16:55.999Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1079-1-stack-cost] [2022-01-11T04:16:56.003Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1079-1-stack-cost] did not exist. Created. [2022-01-11T04:16:56.003Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1079-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-11T04:16:56.405Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-11T04:16:56.461Z] Stashed 1 file(s) [Pipeline] } [2022-01-11T04:16:56.485Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1079-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-11T04:16:56.565Z] $ docker stop --time=1 96bf22eb36a31e7a3b388f999020f0327d7f67168cdf142a2840e424f1e62e4c [2022-01-11T04:16:57.701Z] $ docker rm -f 96bf22eb36a31e7a3b388f999020f0327d7f67168cdf142a2840e424f1e62e4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-11T04:17:00.995Z] provisioning config files... [2022-01-11T04:17:01.021Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6374706916172015075tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T04:17:01.414Z] ---> docker-login.sh [2022-01-11T04:17:01.414Z] nexus3.edgexfoundry.org:10001 [2022-01-11T04:17:02.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T04:17:02.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T04:17:02.286Z] Configure a credential helper to remove this warning. See [2022-01-11T04:17:02.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T04:17:02.286Z] [2022-01-11T04:17:02.286Z] Login Succeeded [2022-01-11T04:17:02.286Z] nexus3.edgexfoundry.org:10002 [2022-01-11T04:17:02.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T04:17:02.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T04:17:02.565Z] Configure a credential helper to remove this warning. See [2022-01-11T04:17:02.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T04:17:02.565Z] [2022-01-11T04:17:02.565Z] Login Succeeded [2022-01-11T04:17:02.565Z] nexus3.edgexfoundry.org:10003 [2022-01-11T04:17:03.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T04:17:03.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T04:17:03.165Z] Configure a credential helper to remove this warning. See [2022-01-11T04:17:03.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T04:17:03.165Z] [2022-01-11T04:17:03.165Z] Login Succeeded [2022-01-11T04:17:03.165Z] nexus3.edgexfoundry.org:10004 [2022-01-11T04:17:03.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T04:17:03.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T04:17:03.439Z] Configure a credential helper to remove this warning. See [2022-01-11T04:17:03.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T04:17:03.439Z] [2022-01-11T04:17:03.439Z] Login Succeeded [2022-01-11T04:17:03.439Z] docker.io [2022-01-11T04:17:03.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T04:17:04.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T04:17:04.305Z] Configure a credential helper to remove this warning. See [2022-01-11T04:17:04.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T04:17:04.305Z] [2022-01-11T04:17:04.305Z] Login Succeeded [2022-01-11T04:17:04.305Z] ---> docker-login.sh ends [Pipeline] } [2022-01-11T04:17:04.333Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-11T04:17:05.011Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-11T04:17:05.046Z] ========================================================= [2022-01-11T04:17:05.046Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2022-01-11T04:17:05.046Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-11T04:17:05.518Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2022-01-11T04:17:05.792Z] Sending build context to Docker daemon 5.024MB [2022-01-11T04:17:06.066Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-01-11T04:17:06.066Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-11T04:17:06.066Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-11T04:17:06.066Z] 552d1f2373af: Pulling fs layer [2022-01-11T04:17:06.066Z] ea3f2d53f512: Pulling fs layer [2022-01-11T04:17:06.066Z] 9e70ebbbe112: Pulling fs layer [2022-01-11T04:17:06.066Z] 7a9cfe048b4a: Pulling fs layer [2022-01-11T04:17:06.066Z] 72dc09318566: Pulling fs layer [2022-01-11T04:17:06.066Z] f4f7b4309257: Pulling fs layer [2022-01-11T04:17:06.066Z] 0ac9a79272e3: Pulling fs layer [2022-01-11T04:17:06.066Z] b78e95d17946: Pulling fs layer [2022-01-11T04:17:06.066Z] f4f7b4309257: Waiting [2022-01-11T04:17:06.066Z] 0ac9a79272e3: Waiting [2022-01-11T04:17:06.066Z] b78e95d17946: Waiting [2022-01-11T04:17:06.066Z] 7a9cfe048b4a: Waiting [2022-01-11T04:17:06.066Z] 72dc09318566: Waiting [2022-01-11T04:17:06.066Z] 9e70ebbbe112: Verifying Checksum [2022-01-11T04:17:06.066Z] 9e70ebbbe112: Download complete [2022-01-11T04:17:06.066Z] ea3f2d53f512: Download complete [2022-01-11T04:17:06.066Z] 72dc09318566: Verifying Checksum [2022-01-11T04:17:06.066Z] 72dc09318566: Download complete [2022-01-11T04:17:06.342Z] 552d1f2373af: Verifying Checksum [2022-01-11T04:17:06.342Z] 552d1f2373af: Download complete [2022-01-11T04:17:06.342Z] f4f7b4309257: Verifying Checksum [2022-01-11T04:17:06.342Z] f4f7b4309257: Download complete [2022-01-11T04:17:06.342Z] 0ac9a79272e3: Verifying Checksum [2022-01-11T04:17:06.342Z] 0ac9a79272e3: Download complete [2022-01-11T04:17:06.956Z] 552d1f2373af: Pull complete [2022-01-11T04:17:07.559Z] ea3f2d53f512: Pull complete [2022-01-11T04:17:07.834Z] 9e70ebbbe112: Pull complete [2022-01-11T04:17:08.118Z] b78e95d17946: Verifying Checksum [2022-01-11T04:17:08.118Z] b78e95d17946: Download complete [2022-01-11T04:17:08.391Z] 7a9cfe048b4a: Verifying Checksum [2022-01-11T04:17:08.391Z] 7a9cfe048b4a: Download complete [2022-01-11T04:17:20.776Z] 7a9cfe048b4a: Pull complete [2022-01-11T04:17:20.776Z] 72dc09318566: Pull complete [2022-01-11T04:17:20.776Z] f4f7b4309257: Pull complete [2022-01-11T04:17:20.776Z] 0ac9a79272e3: Pull complete [2022-01-11T04:17:26.180Z] b78e95d17946: Pull complete [2022-01-11T04:17:26.180Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2022-01-11T04:17:26.180Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-11T04:17:26.180Z] ---> 8b459fc5aaf0 [2022-01-11T04:17:26.180Z] Step 3/10 : ARG MAKE=make build [2022-01-11T04:17:26.781Z] ---> Running in 4321ef5b5a7e [2022-01-11T04:17:27.060Z] Removing intermediate container 4321ef5b5a7e [2022-01-11T04:17:27.060Z] ---> 7f2e424d97a4 [2022-01-11T04:17:27.060Z] Step 4/10 : WORKDIR /device-sdk-go [2022-01-11T04:17:27.342Z] ---> Running in 805e658708b8 [2022-01-11T04:17:27.619Z] Removing intermediate container 805e658708b8 [2022-01-11T04:17:27.619Z] ---> d25f35a9e6b6 [2022-01-11T04:17:27.619Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-11T04:17:27.891Z] ---> Running in 7d2f01c7bbd7 [2022-01-11T04:17:28.169Z] Removing intermediate container 7d2f01c7bbd7 [2022-01-11T04:17:28.169Z] ---> ed89f6085795 [2022-01-11T04:17:28.169Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-11T04:17:28.169Z] ---> Running in 0114f6455466 [2022-01-11T04:17:30.145Z] Removing intermediate container 0114f6455466 [2022-01-11T04:17:30.145Z] ---> b30e33c6e905 [2022-01-11T04:17:30.145Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-11T04:17:30.145Z] ---> Running in b6696077493d [2022-01-11T04:17:31.124Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-11T04:17:32.098Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-11T04:17:32.692Z] OK: 219 MiB in 52 packages [2022-01-11T04:17:33.673Z] Removing intermediate container b6696077493d [2022-01-11T04:17:33.673Z] ---> 1a888de93e52 [2022-01-11T04:17:33.673Z] Step 8/10 : COPY . . [2022-01-11T04:17:34.655Z] ---> 95c214c59e4b [2022-01-11T04:17:34.655Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-11T04:17:34.930Z] ---> Running in fba00e44c123 [2022-01-11T04:18:56.720Z] Removing intermediate container fba00e44c123 [2022-01-11T04:18:56.720Z] ---> b1a5cec1997f [2022-01-11T04:18:56.720Z] Step 10/10 : RUN ${MAKE} [2022-01-11T04:18:56.720Z] ---> Running in f9f2fcc4992c [2022-01-11T04:18:56.720Z] noop [2022-01-11T04:18:56.720Z] Removing intermediate container f9f2fcc4992c [2022-01-11T04:18:56.720Z] ---> 306cb0a792bf [2022-01-11T04:18:56.720Z] Successfully built 306cb0a792bf [2022-01-11T04:18:56.720Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-11T04:18:57.100Z] + docker inspect -f . ci-base-image-arm64 [2022-01-11T04:18:57.101Z] . [Pipeline] withDockerContainer [2022-01-11T04:18:57.331Z] prd-ubuntu18.04-docker-arm64-4c-16g-1199 does not seem to be running inside a container [2022-01-11T04:18:57.417Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-11T04:18:58.698Z] $ docker top 22cdce5c2a86b41447f2ad1bce0fc8ded8973c6ef46c77220dbc7d9db9a768f6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-11T04:18:59.621Z] + go version [2022-01-11T04:18:59.621Z] go version go1.16.8 linux/arm64 [Pipeline] } [2022-01-11T04:18:59.657Z] $ docker stop --time=1 22cdce5c2a86b41447f2ad1bce0fc8ded8973c6ef46c77220dbc7d9db9a768f6 [2022-01-11T04:19:01.315Z] $ docker rm -f 22cdce5c2a86b41447f2ad1bce0fc8ded8973c6ef46c77220dbc7d9db9a768f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-11T04:19:02.157Z] + docker inspect -f . ci-base-image-arm64 [2022-01-11T04:19:02.157Z] . [Pipeline] withDockerContainer [2022-01-11T04:19:02.398Z] prd-ubuntu18.04-docker-arm64-4c-16g-1199 does not seem to be running inside a container [2022-01-11T04:19:02.473Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-11T04:19:03.765Z] $ docker top 8d5cc14da2c259a86f363b90c268b5a649ecb3e252fea9e1704122b88451c2c3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-11T04:19:04.749Z] + make test [2022-01-11T04:19:04.749Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-11T04:19:26.945Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-11T04:20:35.052Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-11T04:20:35.052Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-11T04:20:35.052Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-11T04:20:40.477Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.428s coverage: 23.3% of statements [2022-01-11T04:20:40.477Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-11T04:20:40.477Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.250s coverage: 27.6% of statements [2022-01-11T04:20:40.477Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.220s coverage: 78.9% of statements [2022-01-11T04:20:40.477Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.183s coverage: 9.0% of statements [2022-01-11T04:20:40.477Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-11T04:20:40.477Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-11T04:20:40.477Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-11T04:20:41.920Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.347s coverage: 28.7% of statements [2022-01-11T04:20:41.920Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-11T04:20:44.573Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.342s coverage: 86.1% of statements [2022-01-11T04:20:44.573Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-11T04:20:44.573Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-11T04:20:44.573Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.522s coverage: 57.4% of statements [2022-01-11T04:20:46.558Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.068s coverage: 89.2% of statements [2022-01-11T04:20:46.558Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-11T04:20:46.558Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.187s coverage: 4.8% of statements [2022-01-11T04:20:46.558Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-11T04:20:47.155Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-01-11T04:20:47.155Z] GO111MODULE=on go vet ./... [2022-01-11T04:21:43.722Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-11T04:21:43.722Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-11T04:21:43.722Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-11T04:21:43.760Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-11T04:21:43.784Z] $ docker stop --time=1 8d5cc14da2c259a86f363b90c268b5a649ecb3e252fea9e1704122b88451c2c3 [2022-01-11T04:21:45.597Z] $ docker rm -f 8d5cc14da2c259a86f363b90c268b5a649ecb3e252fea9e1704122b88451c2c3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-11T04:21:46.655Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-11T04:21:46.689Z] Warning: overwriting stash ‘coverage-report’ [2022-01-11T04:21:47.211Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-11T04:21:47.782Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-11T04:21:48.126Z] + ls -al . [2022-01-11T04:21:48.126Z] total 304 [2022-01-11T04:21:48.126Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 04:21 . [2022-01-11T04:21:48.126Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 04:16 .. [2022-01-11T04:21:48.126Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 04:16 .dockerignore [2022-01-11T04:21:48.126Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 04:16 .git [2022-01-11T04:21:48.126Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 04:16 .github [2022-01-11T04:21:48.126Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 11 04:16 .gitignore [2022-01-11T04:21:48.126Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 11 04:16 .golangci.yml [2022-01-11T04:21:48.126Z] -rw-rw-r-- 1 jenkins jenkins 26321 Jan 11 04:16 CHANGELOG.md [2022-01-11T04:21:48.126Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 04:16 GOVERNANCE.md [2022-01-11T04:21:48.126Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 11 04:16 Jenkinsfile [2022-01-11T04:21:48.126Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 11 04:16 LICENSE [2022-01-11T04:21:48.126Z] -rw-rw-r-- 1 jenkins jenkins 1590 Jan 11 04:16 Makefile [2022-01-11T04:21:48.126Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 11 04:16 OWNERS.md [2022-01-11T04:21:48.126Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jan 11 04:16 README.md [2022-01-11T04:21:48.126Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 04:12 VERSION [2022-01-11T04:21:48.126Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 04:16 bin [2022-01-11T04:21:48.126Z] -rw-r--r-- 1 jenkins jenkins 128667 Jan 11 04:20 coverage.out [2022-01-11T04:21:48.126Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 11 04:16 example [2022-01-11T04:21:48.126Z] -rw-rw-r-- 1 jenkins jenkins 582 Jan 11 04:16 go.mod [2022-01-11T04:21:48.126Z] -rw-rw-r-- 1 jenkins jenkins 48958 Jan 11 04:16 go.sum [2022-01-11T04:21:48.126Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 11 04:16 internal [2022-01-11T04:21:48.126Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 04:16 openapi [2022-01-11T04:21:48.126Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 11 04:16 pkg [2022-01-11T04:21:48.126Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 04:16 snap [2022-01-11T04:21:48.126Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 11 04:16 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-11T04:21:48.494Z] + 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=10932634760dd5b3c37209df0a9c794168345d39 --label arch=arm64 --label version=0.0.0 . [2022-01-11T04:21:48.767Z] Sending build context to Docker daemon 5.154MB [2022-01-11T04:21:49.039Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-01-11T04:21:49.039Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-11T04:21:49.039Z] ---> 306cb0a792bf [2022-01-11T04:21:49.039Z] Step 3/24 : ARG MAKE=make build [2022-01-11T04:21:49.039Z] ---> Running in e74235f26b82 [2022-01-11T04:21:49.313Z] Removing intermediate container e74235f26b82 [2022-01-11T04:21:49.313Z] ---> 2ba6931374ab [2022-01-11T04:21:49.313Z] Step 4/24 : WORKDIR /device-sdk-go [2022-01-11T04:21:49.593Z] ---> Running in 55601ad9d9c4 [2022-01-11T04:21:49.865Z] Removing intermediate container 55601ad9d9c4 [2022-01-11T04:21:49.865Z] ---> 9ccfd0d025d9 [2022-01-11T04:21:49.865Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-11T04:21:49.865Z] ---> Running in e382fd896c05 [2022-01-11T04:21:50.457Z] Removing intermediate container e382fd896c05 [2022-01-11T04:21:50.457Z] ---> 2be43a8143c6 [2022-01-11T04:21:50.457Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-11T04:21:50.457Z] ---> Running in 5d2c46d6dae7 [2022-01-11T04:21:52.430Z] Removing intermediate container 5d2c46d6dae7 [2022-01-11T04:21:52.430Z] ---> 2843e7cee480 [2022-01-11T04:21:52.430Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-11T04:21:52.430Z] ---> Running in 87bd562f9faf [2022-01-11T04:21:53.025Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-11T04:21:54.002Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-11T04:21:54.978Z] OK: 219 MiB in 52 packages [2022-01-11T04:21:55.571Z] Removing intermediate container 87bd562f9faf [2022-01-11T04:21:55.571Z] ---> 74814f0eacf8 [2022-01-11T04:21:55.571Z] Step 8/24 : COPY . . [2022-01-11T04:21:56.999Z] ---> bbff371b0860 [2022-01-11T04:21:56.999Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-11T04:21:56.999Z] ---> Running in 12057c869d23 [2022-01-11T04:21:58.976Z] Removing intermediate container 12057c869d23 [2022-01-11T04:21:58.976Z] ---> 9a50a89ac65c [2022-01-11T04:21:58.976Z] Step 10/24 : RUN ${MAKE} [2022-01-11T04:21:58.976Z] ---> Running in a4f1c3df625a [2022-01-11T04:21:59.571Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-01-11T04:22:31.933Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-11T04:22:34.555Z] Removing intermediate container a4f1c3df625a [2022-01-11T04:22:34.556Z] ---> 9d22b6878378 [2022-01-11T04:22:34.556Z] Step 11/24 : FROM alpine:3.14 [2022-01-11T04:22:34.827Z] 3.14: Pulling from library/alpine [2022-01-11T04:22:35.098Z] be307f383ecc: Pulling fs layer [2022-01-11T04:22:35.370Z] be307f383ecc: Verifying Checksum [2022-01-11T04:22:35.370Z] be307f383ecc: Download complete [2022-01-11T04:22:35.967Z] be307f383ecc: Pull complete [2022-01-11T04:22:35.967Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-11T04:22:35.967Z] Status: Downloaded newer image for alpine:3.14 [2022-01-11T04:22:35.967Z] ---> 5b8b7b635229 [2022-01-11T04:22:35.967Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-11T04:22:35.967Z] ---> Running in 5daa8cdd44ee [2022-01-11T04:22:36.240Z] Removing intermediate container 5daa8cdd44ee [2022-01-11T04:22:36.240Z] ---> cb250a919cb9 [2022-01-11T04:22:36.240Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-11T04:22:36.514Z] ---> Running in 0c83144ecb42 [2022-01-11T04:22:37.955Z] Removing intermediate container 0c83144ecb42 [2022-01-11T04:22:37.955Z] ---> f2867583a7c2 [2022-01-11T04:22:37.955Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2022-01-11T04:22:38.228Z] ---> Running in 424537b0bd81 [2022-01-11T04:22:39.204Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-11T04:22:40.184Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-11T04:22:40.780Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-11T04:22:40.780Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-11T04:22:41.052Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-11T04:22:41.052Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-11T04:22:41.325Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-11T04:22:41.325Z] Executing busybox-1.33.1-r6.trigger [2022-01-11T04:22:41.325Z] OK: 8 MiB in 19 packages [2022-01-11T04:22:42.303Z] Removing intermediate container 424537b0bd81 [2022-01-11T04:22:42.303Z] ---> 0003d27d2354 [2022-01-11T04:22:42.303Z] Step 15/24 : WORKDIR / [2022-01-11T04:22:42.303Z] ---> Running in 4303c9f72f6f [2022-01-11T04:22:42.576Z] Removing intermediate container 4303c9f72f6f [2022-01-11T04:22:42.576Z] ---> 3500fe78513c [2022-01-11T04:22:42.576Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-11T04:22:43.173Z] ---> 5314b734a646 [2022-01-11T04:22:43.173Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-11T04:22:44.154Z] ---> f1f9aab4e804 [2022-01-11T04:22:44.154Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-11T04:22:44.756Z] ---> a6729d0da832 [2022-01-11T04:22:44.756Z] Step 19/24 : EXPOSE 59999 [2022-01-11T04:22:44.756Z] ---> Running in 418e19072346 [2022-01-11T04:22:45.030Z] Removing intermediate container 418e19072346 [2022-01-11T04:22:45.030Z] ---> ce428d864452 [2022-01-11T04:22:45.030Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2022-01-11T04:22:45.304Z] ---> Running in 583c5b5112d5 [2022-01-11T04:22:45.577Z] Removing intermediate container 583c5b5112d5 [2022-01-11T04:22:45.577Z] ---> a501e4d57589 [2022-01-11T04:22:45.577Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-11T04:22:45.577Z] ---> Running in 12e444748045 [2022-01-11T04:22:45.850Z] Removing intermediate container 12e444748045 [2022-01-11T04:22:45.850Z] ---> d9b365460cf5 [2022-01-11T04:22:45.850Z] Step 22/24 : LABEL arch=arm64 [2022-01-11T04:22:46.126Z] ---> Running in 8d5bf315ee86 [2022-01-11T04:22:46.400Z] Removing intermediate container 8d5bf315ee86 [2022-01-11T04:22:46.400Z] ---> e1fe1ad915b5 [2022-01-11T04:22:46.400Z] Step 23/24 : LABEL git_sha=10932634760dd5b3c37209df0a9c794168345d39 [2022-01-11T04:22:46.676Z] ---> Running in 59956dde05dc [2022-01-11T04:22:46.950Z] Removing intermediate container 59956dde05dc [2022-01-11T04:22:46.950Z] ---> 299cb87a2f31 [2022-01-11T04:22:46.950Z] Step 24/24 : LABEL version=0.0.0 [2022-01-11T04:22:46.950Z] ---> Running in 666dae156112 [2022-01-11T04:22:47.223Z] Removing intermediate container 666dae156112 [2022-01-11T04:22:47.223Z] ---> 6e9fd32a2da8 [2022-01-11T04:22:47.223Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-11T04:22:47.223Z] Successfully built 6e9fd32a2da8 [2022-01-11T04:22:47.223Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-11T04:22:47.992Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-11T04:22:47.992Z] [2022-01-11T04:22:47.992Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-11T04:22:48.376Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-11T04:22:48.648Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-11T04:22:48.648Z] 448f6bf000e3: Pulling fs layer [2022-01-11T04:22:48.648Z] f757da607395: Pulling fs layer [2022-01-11T04:22:48.648Z] 05883995daec: Pulling fs layer [2022-01-11T04:22:48.648Z] 8603b9c90790: Pulling fs layer [2022-01-11T04:22:48.648Z] 1560dd03e051: Pulling fs layer [2022-01-11T04:22:48.648Z] 27f5ce0e4adf: Pulling fs layer [2022-01-11T04:22:48.648Z] c2d8d7efcc4b: Pulling fs layer [2022-01-11T04:22:48.648Z] 1560dd03e051: Waiting [2022-01-11T04:22:48.648Z] 27f5ce0e4adf: Waiting [2022-01-11T04:22:48.648Z] 8603b9c90790: Waiting [2022-01-11T04:22:48.648Z] c2d8d7efcc4b: Waiting [2022-01-11T04:22:48.648Z] f757da607395: Verifying Checksum [2022-01-11T04:22:48.648Z] f757da607395: Download complete [2022-01-11T04:22:48.648Z] 8603b9c90790: Verifying Checksum [2022-01-11T04:22:48.649Z] 8603b9c90790: Download complete [2022-01-11T04:22:48.649Z] 1560dd03e051: Verifying Checksum [2022-01-11T04:22:48.649Z] 1560dd03e051: Download complete [2022-01-11T04:22:48.922Z] 05883995daec: Verifying Checksum [2022-01-11T04:22:48.922Z] 05883995daec: Download complete [2022-01-11T04:22:48.922Z] 27f5ce0e4adf: Verifying Checksum [2022-01-11T04:22:48.922Z] 27f5ce0e4adf: Download complete [2022-01-11T04:22:49.196Z] 448f6bf000e3: Verifying Checksum [2022-01-11T04:22:49.196Z] 448f6bf000e3: Download complete [2022-01-11T04:22:51.818Z] c2d8d7efcc4b: Verifying Checksum [2022-01-11T04:22:51.818Z] c2d8d7efcc4b: Download complete [2022-01-11T04:22:52.795Z] 448f6bf000e3: Pull complete [2022-01-11T04:22:53.392Z] f757da607395: Pull complete [2022-01-11T04:22:54.826Z] 05883995daec: Pull complete [2022-01-11T04:22:54.826Z] 8603b9c90790: Pull complete [2022-01-11T04:22:55.806Z] 1560dd03e051: Pull complete [2022-01-11T04:22:56.078Z] 27f5ce0e4adf: Pull complete [2022-01-11T04:23:11.158Z] c2d8d7efcc4b: Pull complete [2022-01-11T04:23:11.158Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-11T04:23:11.158Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-11T04:23:11.158Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-11T04:23:11.366Z] prd-ubuntu18.04-docker-arm64-4c-16g-1199 does not seem to be running inside a container [2022-01-11T04:23:11.437Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-11T04:23:13.789Z] $ docker top 3205e27e08b8e5e7915c92c786897c36bf7f9e51c1fe61df7e5066ed5a0c9fcd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T04:23:14.401Z] ---> job-cost.sh [2022-01-11T04:23:14.680Z] lf-activate-venv: SKIPPING [2022-01-11T04:23:14.680Z] INFO: No Stack... [2022-01-11T04:23:14.952Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-11T04:23:15.221Z] INFO: Archiving Costs [Pipeline] sh [2022-01-11T04:23:15.574Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-01-11T04:23:15.574Z] + cut -d, -f6 [Pipeline] lock [2022-01-11T04:23:15.653Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1079-1-stack-cost] [2022-01-11T04:23:15.658Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1079-1-stack-cost] did not exist. Created. [2022-01-11T04:23:15.658Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1079-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-11T04:23:16.079Z] /w/workspace/device-sdk-go/1@tmp/durable-fcfc7e9a/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-fcfc7e9a/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-11T04:23:16.442Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-11T04:23:16.477Z] Warning: overwriting stash ‘stack-cost’ [2022-01-11T04:23:16.533Z] Stashed 1 file(s) [Pipeline] } [2022-01-11T04:23:16.552Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1079-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-11T04:23:16.627Z] $ docker stop --time=1 3205e27e08b8e5e7915c92c786897c36bf7f9e51c1fe61df7e5066ed5a0c9fcd [2022-01-11T04:23:18.047Z] $ docker rm -f 3205e27e08b8e5e7915c92c786897c36bf7f9e51c1fe61df7e5066ed5a0c9fcd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-01-11T04:23:19.023Z] provisioning config files... [2022-01-11T04:23:19.033Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1079@tmp/config2836464430617142639tmp [Pipeline] { [Pipeline] sh [2022-01-11T04:23:19.382Z] + set +x [2022-01-11T04:23:19.382Z] + bash -s -- [2022-01-11T04:23:19.382Z] + curl -s https://codecov.io/bash [2022-01-11T04:23:19.382Z] [2022-01-11T04:23:19.382Z] _____ _ [2022-01-11T04:23:19.382Z] / ____| | | [2022-01-11T04:23:19.382Z] | | ___ __| | ___ ___ _____ __ [2022-01-11T04:23:19.382Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-11T04:23:19.382Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-11T04:23:19.382Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-11T04:23:19.382Z] Bash-1.0.6 [2022-01-11T04:23:19.382Z] [2022-01-11T04:23:19.382Z] [2022-01-11T04:23:19.382Z] ==> git version 2.24.4 found [2022-01-11T04:23:19.382Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2022-01-11T04:23:19.382Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-11T04:23:19.382Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-11T04:23:19.382Z] ==> Jenkins CI detected. [2022-01-11T04:23:19.382Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1079 [2022-01-11T04:23:19.382Z] project root: . [2022-01-11T04:23:19.382Z] --> token set from env [2022-01-11T04:23:19.382Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-11T04:23:19.382Z] ==> Running gcov in . (disable via -X gcov) [2022-01-11T04:23:19.382Z] ==> Python coveragepy not found [2022-01-11T04:23:19.382Z] ==> Searching for coverage reports in: [2022-01-11T04:23:19.382Z] + . [2022-01-11T04:23:19.382Z] -> Found 1 reports [2022-01-11T04:23:19.382Z] ==> Detecting git/mercurial file structure [2022-01-11T04:23:19.382Z] ==> Reading reports [2022-01-11T04:23:19.643Z] + ./coverage.out bytes=128667 [2022-01-11T04:23:19.643Z] ==> Appending adjustments [2022-01-11T04:23:19.643Z] https://docs.codecov.io/docs/fixing-reports [2022-01-11T04:23:19.643Z] + Found adjustments [2022-01-11T04:23:19.643Z] ==> Gzipping contents [2022-01-11T04:23:19.643Z] 16K /tmp/codecov.d2nuA4.gz [2022-01-11T04:23:19.643Z] ==> Uploading reports [2022-01-11T04:23:19.643Z] url: https://codecov.io [2022-01-11T04:23:19.643Z] query: branch=PR-1079&commit=10932634760dd5b3c37209df0a9c794168345d39&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1079%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1079&job=&cmd_args= [2022-01-11T04:23:19.643Z] -> Pinging Codecov [2022-01-11T04:23:19.643Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1079&commit=10932634760dd5b3c37209df0a9c794168345d39&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1079%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1079&job=&cmd_args= [2022-01-11T04:23:20.216Z] -> Uploading to [2022-01-11T04:23:20.216Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-11/7E55EF52A471D76F132DFD9A03CDDE97/10932634760dd5b3c37209df0a9c794168345d39/270006fe-5911-4126-8ff2-bc5ea0bc8262.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220111T042319Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=54617afa33e2e14476de75b1d13411a0e239dc75c1adcfe9d10b7aea57a4a62c [2022-01-11T04:23:20.216Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-11T04:23:20.216Z] Dload Upload Total Spent Left Speed [2022-01-11T04:23:20.477Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16332 0 0 100 16332 0 47880 --:--:-- --:--:-- --:--:-- 48035 [2022-01-11T04:23:20.477Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/10932634760dd5b3c37209df0a9c794168345d39 [Pipeline] } [2022-01-11T04:23:20.507Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-01-11T04:23:22.215Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1079/archives ']' [Pipeline] libraryResource [Pipeline] sh [2022-01-11T04:23:22.553Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T04:23:23.144Z] ---> package-listing.sh [2022-01-11T04:23:23.144Z] ++ facter osfamily [2022-01-11T04:23:23.144Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-11T04:23:23.405Z] + OS_FAMILY=redhat [2022-01-11T04:23:23.405Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1079 [2022-01-11T04:23:23.405Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-11T04:23:23.405Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-11T04:23:23.405Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-11T04:23:23.405Z] + PACKAGES=/tmp/packages_start.txt [2022-01-11T04:23:23.405Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1079 ']' [2022-01-11T04:23:23.405Z] + PACKAGES=/tmp/packages_end.txt [2022-01-11T04:23:23.405Z] + case "${OS_FAMILY}" in [2022-01-11T04:23:23.405Z] + rpm -qa [2022-01-11T04:23:23.405Z] + sort [2022-01-11T04:23:23.981Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-11T04:23:23.981Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-11T04:23:23.981Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-11T04:23:23.981Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1079 ']' [2022-01-11T04:23:23.981Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1079/archives/ [2022-01-11T04:23:23.981Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1079/archives/ [Pipeline] echo [2022-01-11T04:23:24.012Z] 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-1079/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-11T04:23:24.316Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-11T04:23:24.911Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T04:23:24.911Z] [2022-01-11T04:23:24.911Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-11T04:23:25.265Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T04:23:25.265Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-11T04:23:25.265Z] b4d181a07f80: Pulling fs layer [2022-01-11T04:23:25.265Z] a1111a8f2ec3: Pulling fs layer [2022-01-11T04:23:25.265Z] ed53099fbce6: Pulling fs layer [2022-01-11T04:23:25.265Z] dc539afda2c1: Pulling fs layer [2022-01-11T04:23:25.265Z] 77bc0d833cb6: Pulling fs layer [2022-01-11T04:23:25.265Z] 9065ff56babe: Pulling fs layer [2022-01-11T04:23:25.265Z] d287ab97295c: Pulling fs layer [2022-01-11T04:23:25.265Z] dc539afda2c1: Waiting [2022-01-11T04:23:25.265Z] 77bc0d833cb6: Waiting [2022-01-11T04:23:25.265Z] 9065ff56babe: Waiting [2022-01-11T04:23:25.265Z] d287ab97295c: Waiting [2022-01-11T04:23:25.265Z] a1111a8f2ec3: Verifying Checksum [2022-01-11T04:23:25.265Z] a1111a8f2ec3: Download complete [2022-01-11T04:23:25.265Z] dc539afda2c1: Verifying Checksum [2022-01-11T04:23:25.265Z] dc539afda2c1: Download complete [2022-01-11T04:23:25.265Z] 77bc0d833cb6: Verifying Checksum [2022-01-11T04:23:25.265Z] 77bc0d833cb6: Download complete [2022-01-11T04:23:25.532Z] ed53099fbce6: Verifying Checksum [2022-01-11T04:23:25.532Z] ed53099fbce6: Download complete [2022-01-11T04:23:25.532Z] 9065ff56babe: Verifying Checksum [2022-01-11T04:23:25.532Z] 9065ff56babe: Download complete [2022-01-11T04:23:25.532Z] b4d181a07f80: Verifying Checksum [2022-01-11T04:23:25.532Z] b4d181a07f80: Download complete [2022-01-11T04:23:26.116Z] d287ab97295c: Verifying Checksum [2022-01-11T04:23:26.116Z] d287ab97295c: Download complete [2022-01-11T04:23:27.079Z] b4d181a07f80: Pull complete [2022-01-11T04:23:27.346Z] a1111a8f2ec3: Pull complete [2022-01-11T04:23:27.926Z] ed53099fbce6: Pull complete [2022-01-11T04:23:27.926Z] dc539afda2c1: Pull complete [2022-01-11T04:23:28.189Z] 77bc0d833cb6: Pull complete [2022-01-11T04:23:28.189Z] 9065ff56babe: Pull complete [2022-01-11T04:23:34.865Z] d287ab97295c: Pull complete [2022-01-11T04:23:34.865Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-11T04:23:34.865Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T04:23:34.865Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-11T04:23:34.951Z] prd-centos7-docker-4c-2g-1196 does not seem to be running inside a container [2022-01-11T04:23:34.990Z] $ 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-1079/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-1079 -v /w/workspace/gexfoundry_device-sdk-go_PR-1079:/w/workspace/gexfoundry_device-sdk-go_PR-1079:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1079@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1079@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-01-11T04:23:37.507Z] $ docker top ab885920f0723ffcdb900f04f9a6d18cdce36537e61b6e303bd059fcdde22c15 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-11T04:23:37.924Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-11T04:23:38.246Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-11T04:23:38.564Z] + ls /var/log/sa-host [2022-01-11T04:23:38.564Z] + sadf -c /var/log/sa-host/sa11 [2022-01-11T04:23:38.564Z] file_magic: OK [2022-01-11T04:23:38.564Z] HZ: Using current value: 100 [2022-01-11T04:23:38.564Z] file_header: OK [2022-01-11T04:23:38.564Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-11T04:23:38.564Z] Statistics: [2022-01-11T04:23:38.564Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-11T04:23:38.564Z] File successfully converted to sysstat format version 12.0.3 [2022-01-11T04:23:38.564Z] + sadf -c /var/log/sa-host/sa17 [2022-01-11T04:23:38.564Z] file_magic: OK [2022-01-11T04:23:38.564Z] HZ: Using current value: 100 [2022-01-11T04:23:38.564Z] file_header: OK [2022-01-11T04:23:38.564Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-11T04:23:38.564Z] Statistics: [2022-01-11T04:23:38.564Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-11T04:23:38.564Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-11T04:23:38.722Z] provisioning config files... [2022-01-11T04:23:38.737Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1079@tmp/config1360192382085996899tmp [Pipeline] { [Pipeline] echo [2022-01-11T04:23:38.782Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T04:23:39.106Z] ---> create-netrc.sh [Pipeline] } [2022-01-11T04:23:39.135Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-11T04:23:39.552Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-11T04:23:39.592Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T04:23:39.909Z] ---> sudo-logs.sh [2022-01-11T04:23:39.909Z] Archiving 'sudo' log.. [2022-01-11T04:23:39.909Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1196.novalocal: Name or service not known [2022-01-11T04:23:39.909Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1196.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-11T04:23:39.987Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T04:23:40.314Z] ---> job-cost.sh [2022-01-11T04:23:40.314Z] lf-activate-venv: SKIPPING [2022-01-11T04:23:40.314Z] DEBUG: total: 0.10999999940395355 [2022-01-11T04:23:40.314Z] INFO: Retrieving Stack Cost... [2022-01-11T04:23:40.578Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-11T04:23:40.840Z] INFO: Archiving Costs [Pipeline] echo [2022-01-11T04:23:40.875Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T04:23:41.213Z] ---> logs-deploy.sh [2022-01-11T04:23:41.213Z] lf-activate-venv: SKIPPING [2022-01-11T04:23:41.213Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1079/1 [2022-01-11T04:23:41.213Z] INFO: archiving workspace using pattern(s): [2022-01-11T04:23:41.789Z] Archives upload complete. [2022-01-11T04:23:42.052Z] INFO: archiving logs to Nexus