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 04:11:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:11:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:11:51 ========================================================= 04:11:51 EdgeX Global Pipelines Version Info 04:11:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:11:52 ------------------- 04:11:52 stable info: 04:11:52 ------------------- 04:11:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:11:52 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 04:11:52 Message: update stable to v1.0.217 04:11:53 ------------------- 04:11:53 experimental info: 04:11:53 ------------------- 04:11:53 Commited By: **** collab-it+edgex@linuxfoundation.org 04:11:53 Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 04:11:53 Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:11:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:11:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:11:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:11:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:11:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:11:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 04:11:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:11:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:11:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:11:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:11:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:11:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:11:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:11:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:11:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:11:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:11:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:11:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:11:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:11:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:11:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:11:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:11:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:11:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:11:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:11:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:11:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1079 [Pipeline] echo 04:11:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1079 [Pipeline] echo 04:11:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1079 [Pipeline] echo 04:11:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 10932634760dd5b3c37209df0a9c794168345d39 [Pipeline] echo 04:11:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1093263 [Pipeline] echo 04:11:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:11:55 provisioning config files... 04:11:55 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1079@tmp/config7005964230464661962tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:11:55 ---> docker-login.sh 04:11:55 nexus3.edgexfoundry.org:10001 04:11:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:55 Configure a credential helper to remove this warning. See 04:11:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:55 04:11:55 Login Succeeded 04:11:55 nexus3.edgexfoundry.org:10002 04:11:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:55 Configure a credential helper to remove this warning. See 04:11:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:55 04:11:55 Login Succeeded 04:11:55 nexus3.edgexfoundry.org:10003 04:11:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:55 Configure a credential helper to remove this warning. See 04:11:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:55 04:11:55 Login Succeeded 04:11:55 nexus3.edgexfoundry.org:10004 04:11:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:55 Configure a credential helper to remove this warning. See 04:11:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:55 04:11:55 Login Succeeded 04:11:55 docker.io 04:11:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:56 Configure a credential helper to remove this warning. See 04:11:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:56 04:11:56 Login Succeeded 04:11:56 ---> docker-login.sh ends [Pipeline] } 04:11:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:11:57 + git rev-list -1 --merges 10932634760dd5b3c37209df0a9c794168345d39~1..10932634760dd5b3c37209df0a9c794168345d39 [Pipeline] echo 04:11:57 -----------> git rev-list -1 --merges 10932634760dd5b3c37209df0a9c794168345d39~1..10932634760dd5b3c37209df0a9c794168345d39 10932634760dd5b3c37209df0a9c794168345d39 [false] [Pipeline] sh 04:11:57 + git log --format=format:%s -1 10932634760dd5b3c37209df0a9c794168345d39 [Pipeline] echo 04:11:57 ========================================================= 04:11:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:11:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:11:58 + git log --format=format:%s -1 10932634760dd5b3c37209df0a9c794168345d39 [Pipeline] echo 04:11:58 [semverPrep] GIT_COMMIT: 10932634760dd5b3c37209df0a9c794168345d39, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo 04:11:58 [semverPrep] This is not a build commit. [Pipeline] sh 04:11:58 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 04:11:58 + grep -v github /etc/ssh/ssh_known_hosts 04:11:58 + '[' -e /tmp/ssh_known_hosts ']' 04:11:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:11:58 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 04:11:58 + sudo tee -a /etc/ssh/ssh_known_hosts 04:11:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:11:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:11:58 04:11:58 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:11:59 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:11:59 latest: Pulling from edgex-devops/git-semver 04:11:59 a0d0a0d46f8b: Pulling fs layer 04:11:59 3e5f54012d9b: Pulling fs layer 04:11:59 4c7163046ea9: Pulling fs layer 04:11:59 0c2d73faf560: Pulling fs layer 04:11:59 0c2d73faf560: Waiting 04:11:59 3e5f54012d9b: Verifying Checksum 04:11:59 3e5f54012d9b: Download complete 04:11:59 a0d0a0d46f8b: Verifying Checksum 04:11:59 a0d0a0d46f8b: Download complete 04:11:59 4c7163046ea9: Verifying Checksum 04:11:59 4c7163046ea9: Download complete 04:11:59 0c2d73faf560: Verifying Checksum 04:11:59 0c2d73faf560: Download complete 04:11:59 a0d0a0d46f8b: Pull complete 04:11:59 3e5f54012d9b: Pull complete 04:11:59 4c7163046ea9: Pull complete 04:12:00 0c2d73faf560: Pull complete 04:12:00 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 04:12:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:12:00 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:12:00 prd-centos7-docker-4c-2g-1196 does not seem to be running inside a container 04:12:00 $ 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 04:12:01 $ docker top 78088c2c1b86520e4c8e3dde5b7265d288e1bbbbbcad4f9b234b1338e9462185 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:12:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:12:01 [ssh-agent] Looking for ssh-agent implementation... 04:12:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:12:01 $ docker exec 78088c2c1b86520e4c8e3dde5b7265d288e1bbbbbcad4f9b234b1338e9462185 ssh-agent 04:12:01 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFChoMj/agent.13 04:12:01 SSH_AGENT_PID=20 04:12:01 Running ssh-add (command line suppressed) 04:12:01 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) 04:12:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:12:02 + git tag --points-at HEAD [Pipeline] } 04:12:02 $ docker exec --env ******** --env ******** 78088c2c1b86520e4c8e3dde5b7265d288e1bbbbbcad4f9b234b1338e9462185 ssh-agent -k 04:12:02 unset SSH_AUTH_SOCK; 04:12:02 unset SSH_AGENT_PID; 04:12:02 echo Agent pid 20 killed; 04:12:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:12:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:12:02 [ssh-agent] Looking for ssh-agent implementation... 04:12:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:12:02 $ docker exec 78088c2c1b86520e4c8e3dde5b7265d288e1bbbbbcad4f9b234b1338e9462185 ssh-agent 04:12:02 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnAfaim/agent.54 04:12:02 SSH_AGENT_PID=60 04:12:02 Running ssh-add (command line suppressed) 04:12:02 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) 04:12:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:12:03 + git semver init 04:12:03 # -> Open(): unable to determine branch for HEAD 04:12:03 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1079/.git 04:12:03 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1079 04:12:03 # $SEMVER_REMOTE_NAME = origin 04:12:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:12:03 # $SEMVER_USER_NAME = edgex-jenkins 04:12:03 # $SEMVER_BRANCH = PR-1079 04:12:03 # $SEMVER_TEMP = /tmp/semver-043020930 04:12:03 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 04:12:04 # '/tmp/semver-043020930' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1079/.semver' 04:12:04 # -> Force: false 04:12:04 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1079/.semver [Pipeline] } 04:12:04 $ docker exec --env ******** --env ******** 78088c2c1b86520e4c8e3dde5b7265d288e1bbbbbcad4f9b234b1338e9462185 ssh-agent -k 04:12:04 unset SSH_AUTH_SOCK; 04:12:04 unset SSH_AGENT_PID; 04:12:04 echo Agent pid 60 killed; 04:12:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:12:04 + git semver [Pipeline] } 04:12:04 $ docker stop --time=1 78088c2c1b86520e4c8e3dde5b7265d288e1bbbbbcad4f9b234b1338e9462185 04:12:06 $ docker rm -f 78088c2c1b86520e4c8e3dde5b7265d288e1bbbbbcad4f9b234b1338e9462185 [Pipeline] // withDockerContainer [Pipeline] sh 04:12:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:12:06 Stashed 1 file(s) [Pipeline] echo 04:12:06 [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 04:12:22 Still waiting to schedule task 04:12:22 ‘prd-centos7-blackbox-4c-2g-1012’ doesn’t have label ‘centos7-docker-4c-2g’ 04:12:22 ‘prd-centos7-builder-2c-1g-1194’ doesn’t have label ‘centos7-docker-4c-2g’ 04:12:22 ‘prd-centos7-docker-4c-2g-1193’ is offline 04:12:22 ‘prd-centos7-docker-4c-2g-1197’ is offline 04:12:22 Still waiting to schedule task 04:12:22 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1191’ 04:14:14 Running on prd-centos7-docker-4c-2g-1198 in /w/workspace/gexfoundry_device-sdk-go_PR-1079 [Pipeline] { [Pipeline] ws 04:14:14 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:14:14 The recommended git tool is: git 04:14:16 using credential edgex-jenkins-ssh 04:14:16 Cloning the remote Git repository 04:14:15 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:14:15 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:14:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:14:15 > git --version # timeout=10 04:14:15 > git --version # 'git version 2.24.4' 04:14:15 using GIT_SSH to set credentials SSH Credentials for GitHub 04:14:15 [INFO] Currently running in a labeled security context 04:14:15 [INFO] Currently SELinux is 'enforcing' on the host 04:14:15 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh6022330906864481500.key 04:14:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:14:17 Merging remotes/origin/main commit 633449dbefca29cf62edd9030bbe74b52352fb22 into PR head commit 10932634760dd5b3c37209df0a9c794168345d39 04:14:17 Merge succeeded, producing 10932634760dd5b3c37209df0a9c794168345d39 04:14:17 Checking out Revision 10932634760dd5b3c37209df0a9c794168345d39 (PR-1079) 04:14:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:14:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:14:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:14:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:14:16 using GIT_SSH to set credentials SSH Credentials for GitHub 04:14:16 [INFO] Currently running in a labeled security context 04:14:16 [INFO] Currently SELinux is 'enforcing' on the host 04:14:16 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh4041387470724755350.key 04:14:16 > 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 04:14:17 > git config core.sparsecheckout # timeout=10 04:14:17 > git checkout -f 10932634760dd5b3c37209df0a9c794168345d39 # timeout=10 04:14:17 > git remote # timeout=10 04:14:17 > git config --get remote.origin.url # timeout=10 04:14:17 using GIT_SSH to set credentials SSH Credentials for GitHub 04:14:17 [INFO] Currently running in a labeled security context 04:14:17 [INFO] Currently SELinux is 'enforcing' on the host 04:14:17 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh3444762615920418391.key 04:14:17 > git merge 633449dbefca29cf62edd9030bbe74b52352fb22 # timeout=10 04:14:17 > git rev-parse HEAD^{commit} # timeout=10 04:14:17 > git config core.sparsecheckout # timeout=10 04:14:17 > git checkout -f 10932634760dd5b3c37209df0a9c794168345d39 # timeout=10 04:14:21 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" 04:14:20 > git --version # timeout=10 04:14:20 > git --version # 'git version 2.24.4' 04:14:20 fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:14:21 provisioning config files... 04:14:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4785780699844151722tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:14:22 ---> docker-login.sh 04:14:22 nexus3.edgexfoundry.org:10001 04:14:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:22 Configure a credential helper to remove this warning. See 04:14:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:22 04:14:22 Login Succeeded 04:14:22 nexus3.edgexfoundry.org:10002 04:14:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:22 Configure a credential helper to remove this warning. See 04:14:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:22 04:14:22 Login Succeeded 04:14:22 nexus3.edgexfoundry.org:10003 04:14:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:22 Configure a credential helper to remove this warning. See 04:14:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:22 04:14:22 Login Succeeded 04:14:22 nexus3.edgexfoundry.org:10004 04:14:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:22 Configure a credential helper to remove this warning. See 04:14:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:22 04:14:22 Login Succeeded 04:14:22 docker.io 04:14:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:23 Configure a credential helper to remove this warning. See 04:14:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:23 04:14:23 Login Succeeded 04:14:23 ---> docker-login.sh ends [Pipeline] } 04:14:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:14:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:14:23 ========================================================= 04:14:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 04:14:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:14:23 + 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 . 04:14:23 Sending build context to Docker daemon 5.032MB 04:14:23 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 04:14:23 Step 2/10 : FROM ${BASE} AS builder 04:14:23 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 04:14:23 a0d0a0d46f8b: Pulling fs layer 04:14:23 31adcdaf11c8: Pulling fs layer 04:14:23 b8b176561691: Pulling fs layer 04:14:23 4527c011a84f: Pulling fs layer 04:14:23 5d74067f8e1e: Pulling fs layer 04:14:23 e0aca202a116: Pulling fs layer 04:14:23 3a43be97a3b4: Pulling fs layer 04:14:23 34cad66bf833: Pulling fs layer 04:14:23 b4e3c513aaa6: Pulling fs layer 04:14:23 4527c011a84f: Waiting 04:14:23 5d74067f8e1e: Waiting 04:14:23 e0aca202a116: Waiting 04:14:23 3a43be97a3b4: Waiting 04:14:23 34cad66bf833: Waiting 04:14:23 b4e3c513aaa6: Waiting 04:14:24 b8b176561691: Verifying Checksum 04:14:24 b8b176561691: Download complete 04:14:24 31adcdaf11c8: Verifying Checksum 04:14:24 31adcdaf11c8: Download complete 04:14:24 5d74067f8e1e: Verifying Checksum 04:14:24 5d74067f8e1e: Download complete 04:14:24 e0aca202a116: Verifying Checksum 04:14:24 e0aca202a116: Download complete 04:14:24 3a43be97a3b4: Verifying Checksum 04:14:24 3a43be97a3b4: Download complete 04:14:24 a0d0a0d46f8b: Verifying Checksum 04:14:24 a0d0a0d46f8b: Download complete 04:14:24 34cad66bf833: Verifying Checksum 04:14:24 34cad66bf833: Download complete 04:14:24 a0d0a0d46f8b: Pull complete 04:14:24 31adcdaf11c8: Pull complete 04:14:24 b8b176561691: Pull complete 04:14:25 b4e3c513aaa6: Verifying Checksum 04:14:25 b4e3c513aaa6: Download complete 04:14:25 4527c011a84f: Verifying Checksum 04:14:25 4527c011a84f: Download complete 04:14:29 4527c011a84f: Pull complete 04:14:29 5d74067f8e1e: Pull complete 04:14:29 e0aca202a116: Pull complete 04:14:29 3a43be97a3b4: Pull complete 04:14:29 34cad66bf833: Pull complete 04:14:32 b4e3c513aaa6: Pull complete 04:14:32 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 04:14:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 04:14:32 ---> 9f6097aaca64 04:14:32 Step 3/10 : ARG MAKE=make build 04:14:36 ---> Running in 0e10cde2a26f 04:14:36 Removing intermediate container 0e10cde2a26f 04:14:36 ---> 1a1b5bdbbc18 04:14:36 Step 4/10 : WORKDIR /device-sdk-go 04:14:36 ---> Running in 1d302b174291 04:14:36 Removing intermediate container 1d302b174291 04:14:36 ---> 37044676f21a 04:14:36 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:14:36 ---> Running in 32e4b33b9ccd 04:14:36 Removing intermediate container 32e4b33b9ccd 04:14:36 ---> f2f772716cfc 04:14:36 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:14:36 ---> Running in fb117ab59234 04:14:37 Removing intermediate container fb117ab59234 04:14:37 ---> d8258b8ad576 04:14:37 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:14:37 ---> Running in 6e982f5b6114 04:14:37 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:14:38 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:14:38 OK: 220 MiB in 52 packages 04:14:38 Removing intermediate container 6e982f5b6114 04:14:38 ---> 24f088467c4c 04:14:38 Step 8/10 : COPY . . 04:14:39 ---> 8e3858ce9bc0 04:14:39 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:14:39 ---> Running in e06da6ad4e60 04:15:11 Removing intermediate container e06da6ad4e60 04:15:11 ---> 4802f9db9575 04:15:11 Step 10/10 : RUN ${MAKE} 04:15:11 ---> Running in 2859290780bc 04:15:11 noop 04:15:11 Removing intermediate container 2859290780bc 04:15:11 ---> ab49885466c5 04:15:11 Successfully built ab49885466c5 04:15:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:15:11 + docker inspect -f . ci-base-image-x86_64 04:15:11 . [Pipeline] withDockerContainer 04:15:11 prd-centos7-docker-4c-2g-1198 does not seem to be running inside a container 04:15:11 $ 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 04:15:12 $ docker top f54f47d083c3a42c246c36d8b01bdbeca057044d9fde410be363fe1c4fe8bf83 -eo pid,comm [Pipeline] { [Pipeline] sh 04:15:12 + go version 04:15:12 go version go1.16.8 linux/amd64 [Pipeline] } 04:15:12 $ docker stop --time=1 f54f47d083c3a42c246c36d8b01bdbeca057044d9fde410be363fe1c4fe8bf83 04:15:13 $ docker rm -f f54f47d083c3a42c246c36d8b01bdbeca057044d9fde410be363fe1c4fe8bf83 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:15:14 + docker inspect -f . ci-base-image-x86_64 04:15:14 . [Pipeline] withDockerContainer 04:15:14 prd-centos7-docker-4c-2g-1198 does not seem to be running inside a container 04:15:14 $ 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 04:15:14 $ docker top be0edbac72806f902bf17fb941240a16e447fbef7f0e87d4c975d6da679a3ac4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:15:15 + make test 04:15:15 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:15:20 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:15:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:15:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:15:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:15:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.062s coverage: 23.3% of statements 04:15:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:15:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.055s coverage: 27.6% of statements 04:15:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.065s coverage: 78.9% of statements 04:15:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.043s coverage: 9.0% of statements 04:15:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:15:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:15:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:15:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.059s coverage: 28.7% of statements 04:15:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:15:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.051s coverage: 86.1% of statements 04:15:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:15:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:15:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.077s coverage: 57.4% of statements 04:15:49 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.851s coverage: 89.2% of statements 04:15:49 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:15:49 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.046s coverage: 4.8% of statements 04:15:49 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:16:11 GO111MODULE=on go vet ./... 04:16:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:16:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:16:17 ./bin/test-attribution-txt.sh [Pipeline] echo 04:16:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:16:18 $ docker stop --time=1 be0edbac72806f902bf17fb941240a16e447fbef7f0e87d4c975d6da679a3ac4 04:16:19 $ docker rm -f be0edbac72806f902bf17fb941240a16e447fbef7f0e87d4c975d6da679a3ac4 [Pipeline] // withDockerContainer [Pipeline] sh 04:16:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:16:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:16:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:16:22 + ls -al . 04:16:22 total 268 04:16:22 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 11 04:16 . 04:16:22 drwxrwxr-x. 4 jenkins jenkins 28 Jan 11 04:14 .. 04:16:22 drwxrwxr-x. 2 jenkins jenkins 37 Jan 11 04:14 bin 04:16:22 -rw-rw-r--. 1 jenkins jenkins 26321 Jan 11 04:14 CHANGELOG.md 04:16:22 -rw-r--r--. 1 jenkins jenkins 128667 Jan 11 04:15 coverage.out 04:16:22 -rw-rw-r--. 1 jenkins jenkins 140 Jan 11 04:14 .dockerignore 04:16:22 drwxrwxr-x. 5 jenkins jenkins 62 Jan 11 04:14 example 04:16:22 drwxrwxr-x. 8 jenkins jenkins 179 Jan 11 04:14 .git 04:16:22 drwxrwxr-x. 3 jenkins jenkins 125 Jan 11 04:14 .github 04:16:22 -rw-rw-r--. 1 jenkins jenkins 131 Jan 11 04:14 .gitignore 04:16:22 -rw-rw-r--. 1 jenkins jenkins 42 Jan 11 04:14 .golangci.yml 04:16:22 -rw-rw-r--. 1 jenkins jenkins 582 Jan 11 04:14 go.mod 04:16:22 -rw-rw-r--. 1 jenkins jenkins 48958 Jan 11 04:14 go.sum 04:16:22 -rw-rw-r--. 1 jenkins jenkins 677 Jan 11 04:14 GOVERNANCE.md 04:16:22 drwxrwxr-x. 15 jenkins jenkins 224 Jan 11 04:14 internal 04:16:22 -rw-rw-r--. 1 jenkins jenkins 880 Jan 11 04:14 Jenkinsfile 04:16:22 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 11 04:14 LICENSE 04:16:22 -rw-rw-r--. 1 jenkins jenkins 1590 Jan 11 04:14 Makefile 04:16:22 drwxrwxr-x. 3 jenkins jenkins 16 Jan 11 04:14 openapi 04:16:22 -rw-rw-r--. 1 jenkins jenkins 619 Jan 11 04:14 OWNERS.md 04:16:22 drwxrwxr-x. 5 jenkins jenkins 50 Jan 11 04:14 pkg 04:16:22 -rw-rw-r--. 1 jenkins jenkins 4881 Jan 11 04:14 README.md 04:16:22 drwxrwxr-x. 4 jenkins jenkins 54 Jan 11 04:14 snap 04:16:22 -rw-rw-r--. 1 jenkins jenkins 5 Jan 11 04:12 VERSION 04:16:22 -rw-rw-r--. 1 jenkins jenkins 222 Jan 11 04:14 version.go [Pipeline] isUnix [Pipeline] sh 04:16:22 + 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 . 04:16:22 Sending build context to Docker daemon 5.161MB 04:16:22 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 04:16:22 Step 2/24 : FROM ${BASE} AS builder 04:16:22 ---> ab49885466c5 04:16:22 Step 3/24 : ARG MAKE=make build 04:16:22 ---> Running in 8d1f2e35d367 04:16:22 Removing intermediate container 8d1f2e35d367 04:16:22 ---> 06d1ecde25e3 04:16:22 Step 4/24 : WORKDIR /device-sdk-go 04:16:22 ---> Running in 19eac77169de 04:16:22 Removing intermediate container 19eac77169de 04:16:22 ---> 04f8e85f4d01 04:16:22 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:16:22 ---> Running in 02b2038c806f 04:16:22 Removing intermediate container 02b2038c806f 04:16:22 ---> 974407075fbd 04:16:22 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:16:22 ---> Running in 3f5250545aea 04:16:23 Removing intermediate container 3f5250545aea 04:16:23 ---> cc5a32c32c72 04:16:23 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:16:23 ---> Running in 4732d626ee45 04:16:23 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:16:24 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:16:24 OK: 220 MiB in 52 packages 04:16:24 Removing intermediate container 4732d626ee45 04:16:24 ---> 6cbffb97eea2 04:16:24 Step 8/24 : COPY . . 04:16:25 ---> 80862504d99a 04:16:25 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:16:25 ---> Running in 33bf0d182387 04:16:25 Removing intermediate container 33bf0d182387 04:16:25 ---> a67234a1a1a7 04:16:25 Step 10/24 : RUN ${MAKE} 04:16:25 ---> Running in 2612776924d3 04:16:25 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 04:16:27 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1199 in /w/workspace/gexfoundry_device-sdk-go_PR-1079 [Pipeline] { [Pipeline] ws 04:16:27 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:16:27 The recommended git tool is: git 04:16:32 using credential edgex-jenkins-ssh 04:16:32 Cloning the remote Git repository 04:16:32 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:16:32 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:16:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:16:32 > git --version # timeout=10 04:16:32 > git --version # 'git version 2.17.1' 04:16:32 using GIT_SSH to set credentials SSH Credentials for GitHub 04:16:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:16:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:16:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:16:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:16:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:16:34 using GIT_SSH to set credentials SSH Credentials for GitHub 04:16:34 > 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 04:16:35 Merging remotes/origin/main commit 633449dbefca29cf62edd9030bbe74b52352fb22 into PR head commit 10932634760dd5b3c37209df0a9c794168345d39 04:16:35 Merge succeeded, producing 10932634760dd5b3c37209df0a9c794168345d39 04:16:35 Checking out Revision 10932634760dd5b3c37209df0a9c794168345d39 (PR-1079) 04:16:36 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:16:35 > git config core.sparsecheckout # timeout=10 04:16:35 > git checkout -f 10932634760dd5b3c37209df0a9c794168345d39 # timeout=10 04:16:35 > git remote # timeout=10 04:16:35 > git config --get remote.origin.url # timeout=10 04:16:35 using GIT_SSH to set credentials SSH Credentials for GitHub 04:16:35 > git merge 633449dbefca29cf62edd9030bbe74b52352fb22 # timeout=10 04:16:35 > git rev-parse HEAD^{commit} # timeout=10 04:16:35 > git config core.sparsecheckout # timeout=10 04:16:35 > git checkout -f 10932634760dd5b3c37209df0a9c794168345d39 # timeout=10 04:16:36 Removing intermediate container 2612776924d3 04:16:36 ---> b4c2dc46bca0 04:16:36 Step 11/24 : FROM alpine:3.14 04:16:37 3.14: Pulling from library/alpine 04:16:37 97518928ae5f: Pulling fs layer 04:16:37 97518928ae5f: Verifying Checksum 04:16:37 97518928ae5f: Download complete 04:16:38 97518928ae5f: Pull complete 04:16:38 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 04:16:38 Status: Downloaded newer image for alpine:3.14 04:16:38 ---> 0a97eee8041e 04:16:38 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:16:38 ---> Running in 8cce19b29fa1 04:16:38 Removing intermediate container 8cce19b29fa1 04:16:38 ---> 0715bcf55f8c 04:16:38 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:16:38 ---> Running in 72e3bba9324f 04:16:38 Removing intermediate container 72e3bba9324f 04:16:38 ---> 560dfb17d2d2 04:16:38 Step 14/24 : RUN apk add --update --no-cache zeromq 04:16:38 ---> Running in 2f9f0917776a 04:16:38 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:16:39 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" 04:16:39 > git --version # timeout=10 04:16:39 > git --version # 'git version 2.17.1' 04:16:39 fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 04:16:39 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:16:40 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:16:40 (2/5) Installing libsodium (1.0.18-r0) 04:16:40 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 04:16:40 (4/5) Installing libzmq (4.3.4-r0) 04:16:40 (5/5) Installing zeromq (4.3.4-r0) 04:16:40 Executing busybox-1.33.1-r6.trigger [Pipeline] sh 04:16:40 OK: 8 MiB in 19 packages 04:16:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:16:40 % Total % Received % Xferd Average Speed Time Time Time Current 04:16:40 Dload Upload Total Spent Left Speed 04:16:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 84592 0 --:--:-- --:--:-- --:--:-- 85201 04:16:40 Removing intermediate container 2f9f0917776a 04:16:40 ---> b9b9ed2a2272 04:16:40 Step 15/24 : WORKDIR / 04:16:40 ---> Running in 39c6a8941dc8 04:16:40 Removing intermediate container 39c6a8941dc8 04:16:40 ---> 6cd5144d38fb 04:16:40 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [Pipeline] sh 04:16:41 ---> 98572d8c3640 04:16:41 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:16:41 ---> b3a68d038d05 04:16:41 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:16:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:16:41 ---> 0bfcc245842f 04:16:41 Step 19/24 : EXPOSE 59999 04:16:41 ---> Running in 1971d5496213 04:16:41 Removing intermediate container 1971d5496213 04:16:41 ---> ce5cdedde315 04:16:41 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:16:41 ---> Running in 66491221eae5 04:16:41 Removing intermediate container 66491221eae5 04:16:41 ---> f63ec6755555 04:16:41 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:16:41 ---> Running in 521d8da272c9 04:16:41 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 04:16:41 /etc/docker/daemon.new 04:16:41 { 04:16:41 "registry-mirrors": [ 04:16:41 "https://nexus3.edgexfoundry.org:10001" 04:16:41 ], 04:16:41 "bip": "10.250.0.254/24", 04:16:41 "hosts": [ 04:16:41 "tcp://0.0.0.0:5555", 04:16:41 "unix:///var/run/docker.sock" 04:16:41 ], 04:16:41 "mtu": 1458, 04:16:41 "selinux-enabled": true, 04:16:41 "seccomp-profile": "/etc/docker/seccomp.json" 04:16:41 } [Pipeline] sh 04:16:41 Removing intermediate container 521d8da272c9 04:16:41 ---> cb7f0c5d52f3 04:16:41 Step 22/24 : LABEL arch=amd64 04:16:41 ---> Running in 7c7b111acc34 04:16:41 Removing intermediate container 7c7b111acc34 04:16:41 ---> 2527f43a984e 04:16:41 Step 23/24 : LABEL git_sha=10932634760dd5b3c37209df0a9c794168345d39 04:16:41 ---> Running in 422b72b31ac3 04:16:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 04:16:42 Removing intermediate container 422b72b31ac3 04:16:42 ---> 453adeed727b 04:16:42 Step 24/24 : LABEL version=0.0.0 04:16:42 ---> Running in f50d3d0ac28e 04:16:42 Removing intermediate container f50d3d0ac28e 04:16:42 ---> 7e914ceee7e0 04:16:42 [Warning] One or more build-args [ARCH] were not consumed 04:16:42 Successfully built 7e914ceee7e0 04:16:42 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 04:16:42 + 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 04:16:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:16:43 04:16:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:16:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:16:43 latest: Pulling from edgex-lftools-log-publisher 04:16:43 b4d181a07f80: Pulling fs layer 04:16:43 a1111a8f2ec3: Pulling fs layer 04:16:43 ed53099fbce6: Pulling fs layer 04:16:43 dc539afda2c1: Pulling fs layer 04:16:43 77bc0d833cb6: Pulling fs layer 04:16:43 9065ff56babe: Pulling fs layer 04:16:43 d287ab97295c: Pulling fs layer 04:16:43 dc539afda2c1: Waiting 04:16:43 77bc0d833cb6: Waiting 04:16:43 9065ff56babe: Waiting 04:16:43 d287ab97295c: Waiting 04:16:43 a1111a8f2ec3: Verifying Checksum 04:16:43 a1111a8f2ec3: Download complete 04:16:43 dc539afda2c1: Verifying Checksum 04:16:43 dc539afda2c1: Download complete 04:16:43 77bc0d833cb6: Verifying Checksum 04:16:43 77bc0d833cb6: Download complete 04:16:43 9065ff56babe: Verifying Checksum 04:16:43 9065ff56babe: Download complete 04:16:43 ed53099fbce6: Verifying Checksum 04:16:43 ed53099fbce6: Download complete 04:16:43 b4d181a07f80: Verifying Checksum 04:16:43 b4d181a07f80: Download complete 04:16:44 d287ab97295c: Verifying Checksum 04:16:44 d287ab97295c: Download complete 04:16:45 b4d181a07f80: Pull complete 04:16:45 a1111a8f2ec3: Pull complete 04:16:45 ed53099fbce6: Pull complete 04:16:45 dc539afda2c1: Pull complete 04:16:46 77bc0d833cb6: Pull complete 04:16:46 9065ff56babe: Pull complete 04:16:51 d287ab97295c: Pull complete 04:16:51 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:16:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:16:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:16:51 prd-centos7-docker-4c-2g-1198 does not seem to be running inside a container 04:16:51 $ 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 04:16:54 $ docker top 96bf22eb36a31e7a3b388f999020f0327d7f67168cdf142a2840e424f1e62e4c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:16:55 ---> job-cost.sh 04:16:55 lf-activate-venv: SKIPPING 04:16:55 INFO: No Stack... 04:16:55 INFO: Retrieving Pricing Info for: v3-standard-2 04:16:55 INFO: Archiving Costs [Pipeline] sh 04:16:55 + cut -d, -f6 04:16:55 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 04:16:55 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1079-1-stack-cost] 04:16:56 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1079-1-stack-cost] did not exist. Created. 04:16:56 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1079-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:16:56 + echo total: 0.05999999865889549 [Pipeline] stash 04:16:56 Stashed 1 file(s) [Pipeline] } 04:16:56 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1079-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:16:56 $ docker stop --time=1 96bf22eb36a31e7a3b388f999020f0327d7f67168cdf142a2840e424f1e62e4c 04:16:57 $ 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 04:17:00 provisioning config files... 04:17:01 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6374706916172015075tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:17:01 ---> docker-login.sh 04:17:01 nexus3.edgexfoundry.org:10001 04:17:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:17:02 Configure a credential helper to remove this warning. See 04:17:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:17:02 04:17:02 Login Succeeded 04:17:02 nexus3.edgexfoundry.org:10002 04:17:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:17:02 Configure a credential helper to remove this warning. See 04:17:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:17:02 04:17:02 Login Succeeded 04:17:02 nexus3.edgexfoundry.org:10003 04:17:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:17:03 Configure a credential helper to remove this warning. See 04:17:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:17:03 04:17:03 Login Succeeded 04:17:03 nexus3.edgexfoundry.org:10004 04:17:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:17:03 Configure a credential helper to remove this warning. See 04:17:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:17:03 04:17:03 Login Succeeded 04:17:03 docker.io 04:17:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:17:04 Configure a credential helper to remove this warning. See 04:17:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:17:04 04:17:04 Login Succeeded 04:17:04 ---> docker-login.sh ends [Pipeline] } 04:17:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:17:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:17:05 ========================================================= 04:17:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 04:17:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:17:05 + 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 . 04:17:05 Sending build context to Docker daemon 5.024MB 04:17:06 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 04:17:06 Step 2/10 : FROM ${BASE} AS builder 04:17:06 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:17:06 552d1f2373af: Pulling fs layer 04:17:06 ea3f2d53f512: Pulling fs layer 04:17:06 9e70ebbbe112: Pulling fs layer 04:17:06 7a9cfe048b4a: Pulling fs layer 04:17:06 72dc09318566: Pulling fs layer 04:17:06 f4f7b4309257: Pulling fs layer 04:17:06 0ac9a79272e3: Pulling fs layer 04:17:06 b78e95d17946: Pulling fs layer 04:17:06 f4f7b4309257: Waiting 04:17:06 0ac9a79272e3: Waiting 04:17:06 b78e95d17946: Waiting 04:17:06 7a9cfe048b4a: Waiting 04:17:06 72dc09318566: Waiting 04:17:06 9e70ebbbe112: Verifying Checksum 04:17:06 9e70ebbbe112: Download complete 04:17:06 ea3f2d53f512: Download complete 04:17:06 72dc09318566: Verifying Checksum 04:17:06 72dc09318566: Download complete 04:17:06 552d1f2373af: Verifying Checksum 04:17:06 552d1f2373af: Download complete 04:17:06 f4f7b4309257: Verifying Checksum 04:17:06 f4f7b4309257: Download complete 04:17:06 0ac9a79272e3: Verifying Checksum 04:17:06 0ac9a79272e3: Download complete 04:17:06 552d1f2373af: Pull complete 04:17:07 ea3f2d53f512: Pull complete 04:17:07 9e70ebbbe112: Pull complete 04:17:08 b78e95d17946: Verifying Checksum 04:17:08 b78e95d17946: Download complete 04:17:08 7a9cfe048b4a: Verifying Checksum 04:17:08 7a9cfe048b4a: Download complete 04:17:20 7a9cfe048b4a: Pull complete 04:17:20 72dc09318566: Pull complete 04:17:20 f4f7b4309257: Pull complete 04:17:20 0ac9a79272e3: Pull complete 04:17:26 b78e95d17946: Pull complete 04:17:26 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 04:17:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 04:17:26 ---> 8b459fc5aaf0 04:17:26 Step 3/10 : ARG MAKE=make build 04:17:26 ---> Running in 4321ef5b5a7e 04:17:27 Removing intermediate container 4321ef5b5a7e 04:17:27 ---> 7f2e424d97a4 04:17:27 Step 4/10 : WORKDIR /device-sdk-go 04:17:27 ---> Running in 805e658708b8 04:17:27 Removing intermediate container 805e658708b8 04:17:27 ---> d25f35a9e6b6 04:17:27 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:17:27 ---> Running in 7d2f01c7bbd7 04:17:28 Removing intermediate container 7d2f01c7bbd7 04:17:28 ---> ed89f6085795 04:17:28 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:17:28 ---> Running in 0114f6455466 04:17:30 Removing intermediate container 0114f6455466 04:17:30 ---> b30e33c6e905 04:17:30 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:17:30 ---> Running in b6696077493d 04:17:31 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:17:32 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:17:32 OK: 219 MiB in 52 packages 04:17:33 Removing intermediate container b6696077493d 04:17:33 ---> 1a888de93e52 04:17:33 Step 8/10 : COPY . . 04:17:34 ---> 95c214c59e4b 04:17:34 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:17:34 ---> Running in fba00e44c123 04:18:56 Removing intermediate container fba00e44c123 04:18:56 ---> b1a5cec1997f 04:18:56 Step 10/10 : RUN ${MAKE} 04:18:56 ---> Running in f9f2fcc4992c 04:18:56 noop 04:18:56 Removing intermediate container f9f2fcc4992c 04:18:56 ---> 306cb0a792bf 04:18:56 Successfully built 306cb0a792bf 04:18:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:18:57 + docker inspect -f . ci-base-image-arm64 04:18:57 . [Pipeline] withDockerContainer 04:18:57 prd-ubuntu18.04-docker-arm64-4c-16g-1199 does not seem to be running inside a container 04:18:57 $ 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 04:18:58 $ docker top 22cdce5c2a86b41447f2ad1bce0fc8ded8973c6ef46c77220dbc7d9db9a768f6 -eo pid,comm [Pipeline] { [Pipeline] sh 04:18:59 + go version 04:18:59 go version go1.16.8 linux/arm64 [Pipeline] } 04:18:59 $ docker stop --time=1 22cdce5c2a86b41447f2ad1bce0fc8ded8973c6ef46c77220dbc7d9db9a768f6 04:19:01 $ docker rm -f 22cdce5c2a86b41447f2ad1bce0fc8ded8973c6ef46c77220dbc7d9db9a768f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:19:02 + docker inspect -f . ci-base-image-arm64 04:19:02 . [Pipeline] withDockerContainer 04:19:02 prd-ubuntu18.04-docker-arm64-4c-16g-1199 does not seem to be running inside a container 04:19:02 $ 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 04:19:03 $ docker top 8d5cc14da2c259a86f363b90c268b5a649ecb3e252fea9e1704122b88451c2c3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:19:04 + make test 04:19:04 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:19:26 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:20:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:20:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:20:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:20:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.428s coverage: 23.3% of statements 04:20:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:20:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.250s coverage: 27.6% of statements 04:20:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.220s coverage: 78.9% of statements 04:20:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.183s coverage: 9.0% of statements 04:20:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:20:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:20:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:20:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.347s coverage: 28.7% of statements 04:20:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:20:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.342s coverage: 86.1% of statements 04:20:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:20:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:20:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.522s coverage: 57.4% of statements 04:20:46 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.068s coverage: 89.2% of statements 04:20:46 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:20:46 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.187s coverage: 4.8% of statements 04:20:46 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:20:47 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:20:47 GO111MODULE=on go vet ./... 04:21:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:21:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:21:43 ./bin/test-attribution-txt.sh [Pipeline] echo 04:21:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:21:43 $ docker stop --time=1 8d5cc14da2c259a86f363b90c268b5a649ecb3e252fea9e1704122b88451c2c3 04:21:45 $ docker rm -f 8d5cc14da2c259a86f363b90c268b5a649ecb3e252fea9e1704122b88451c2c3 [Pipeline] // withDockerContainer [Pipeline] sh 04:21:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:21:46 Warning: overwriting stash ‘coverage-report’ 04:21:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:21:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:21:48 + ls -al . 04:21:48 total 304 04:21:48 drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 04:21 . 04:21:48 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 04:16 .. 04:21:48 -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 04:16 .dockerignore 04:21:48 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 04:16 .git 04:21:48 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 04:16 .github 04:21:48 -rw-rw-r-- 1 jenkins jenkins 131 Jan 11 04:16 .gitignore 04:21:48 -rw-rw-r-- 1 jenkins jenkins 42 Jan 11 04:16 .golangci.yml 04:21:48 -rw-rw-r-- 1 jenkins jenkins 26321 Jan 11 04:16 CHANGELOG.md 04:21:48 -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 04:16 GOVERNANCE.md 04:21:48 -rw-rw-r-- 1 jenkins jenkins 880 Jan 11 04:16 Jenkinsfile 04:21:48 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 11 04:16 LICENSE 04:21:48 -rw-rw-r-- 1 jenkins jenkins 1590 Jan 11 04:16 Makefile 04:21:48 -rw-rw-r-- 1 jenkins jenkins 619 Jan 11 04:16 OWNERS.md 04:21:48 -rw-rw-r-- 1 jenkins jenkins 4881 Jan 11 04:16 README.md 04:21:48 -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 04:12 VERSION 04:21:48 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 04:16 bin 04:21:48 -rw-r--r-- 1 jenkins jenkins 128667 Jan 11 04:20 coverage.out 04:21:48 drwxrwxr-x 5 jenkins jenkins 4096 Jan 11 04:16 example 04:21:48 -rw-rw-r-- 1 jenkins jenkins 582 Jan 11 04:16 go.mod 04:21:48 -rw-rw-r-- 1 jenkins jenkins 48958 Jan 11 04:16 go.sum 04:21:48 drwxrwxr-x 15 jenkins jenkins 4096 Jan 11 04:16 internal 04:21:48 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 04:16 openapi 04:21:48 drwxrwxr-x 5 jenkins jenkins 4096 Jan 11 04:16 pkg 04:21:48 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 04:16 snap 04:21:48 -rw-rw-r-- 1 jenkins jenkins 222 Jan 11 04:16 version.go [Pipeline] isUnix [Pipeline] sh 04:21:48 + 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 . 04:21:48 Sending build context to Docker daemon 5.154MB 04:21:49 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 04:21:49 Step 2/24 : FROM ${BASE} AS builder 04:21:49 ---> 306cb0a792bf 04:21:49 Step 3/24 : ARG MAKE=make build 04:21:49 ---> Running in e74235f26b82 04:21:49 Removing intermediate container e74235f26b82 04:21:49 ---> 2ba6931374ab 04:21:49 Step 4/24 : WORKDIR /device-sdk-go 04:21:49 ---> Running in 55601ad9d9c4 04:21:49 Removing intermediate container 55601ad9d9c4 04:21:49 ---> 9ccfd0d025d9 04:21:49 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:21:49 ---> Running in e382fd896c05 04:21:50 Removing intermediate container e382fd896c05 04:21:50 ---> 2be43a8143c6 04:21:50 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:21:50 ---> Running in 5d2c46d6dae7 04:21:52 Removing intermediate container 5d2c46d6dae7 04:21:52 ---> 2843e7cee480 04:21:52 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:21:52 ---> Running in 87bd562f9faf 04:21:53 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:21:54 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:21:54 OK: 219 MiB in 52 packages 04:21:55 Removing intermediate container 87bd562f9faf 04:21:55 ---> 74814f0eacf8 04:21:55 Step 8/24 : COPY . . 04:21:56 ---> bbff371b0860 04:21:56 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:21:56 ---> Running in 12057c869d23 04:21:58 Removing intermediate container 12057c869d23 04:21:58 ---> 9a50a89ac65c 04:21:58 Step 10/24 : RUN ${MAKE} 04:21:58 ---> Running in a4f1c3df625a 04:21:59 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 04:22:31 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:22:34 Removing intermediate container a4f1c3df625a 04:22:34 ---> 9d22b6878378 04:22:34 Step 11/24 : FROM alpine:3.14 04:22:34 3.14: Pulling from library/alpine 04:22:35 be307f383ecc: Pulling fs layer 04:22:35 be307f383ecc: Verifying Checksum 04:22:35 be307f383ecc: Download complete 04:22:35 be307f383ecc: Pull complete 04:22:35 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 04:22:35 Status: Downloaded newer image for alpine:3.14 04:22:35 ---> 5b8b7b635229 04:22:35 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:22:35 ---> Running in 5daa8cdd44ee 04:22:36 Removing intermediate container 5daa8cdd44ee 04:22:36 ---> cb250a919cb9 04:22:36 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:22:36 ---> Running in 0c83144ecb42 04:22:37 Removing intermediate container 0c83144ecb42 04:22:37 ---> f2867583a7c2 04:22:37 Step 14/24 : RUN apk add --update --no-cache zeromq 04:22:38 ---> Running in 424537b0bd81 04:22:39 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:22:40 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:22:40 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:22:40 (2/5) Installing libsodium (1.0.18-r0) 04:22:41 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:22:41 (4/5) Installing libzmq (4.3.4-r0) 04:22:41 (5/5) Installing zeromq (4.3.4-r0) 04:22:41 Executing busybox-1.33.1-r6.trigger 04:22:41 OK: 8 MiB in 19 packages 04:22:42 Removing intermediate container 424537b0bd81 04:22:42 ---> 0003d27d2354 04:22:42 Step 15/24 : WORKDIR / 04:22:42 ---> Running in 4303c9f72f6f 04:22:42 Removing intermediate container 4303c9f72f6f 04:22:42 ---> 3500fe78513c 04:22:42 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:22:43 ---> 5314b734a646 04:22:43 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:22:44 ---> f1f9aab4e804 04:22:44 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:22:44 ---> a6729d0da832 04:22:44 Step 19/24 : EXPOSE 59999 04:22:44 ---> Running in 418e19072346 04:22:45 Removing intermediate container 418e19072346 04:22:45 ---> ce428d864452 04:22:45 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:22:45 ---> Running in 583c5b5112d5 04:22:45 Removing intermediate container 583c5b5112d5 04:22:45 ---> a501e4d57589 04:22:45 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:22:45 ---> Running in 12e444748045 04:22:45 Removing intermediate container 12e444748045 04:22:45 ---> d9b365460cf5 04:22:45 Step 22/24 : LABEL arch=arm64 04:22:46 ---> Running in 8d5bf315ee86 04:22:46 Removing intermediate container 8d5bf315ee86 04:22:46 ---> e1fe1ad915b5 04:22:46 Step 23/24 : LABEL git_sha=10932634760dd5b3c37209df0a9c794168345d39 04:22:46 ---> Running in 59956dde05dc 04:22:46 Removing intermediate container 59956dde05dc 04:22:46 ---> 299cb87a2f31 04:22:46 Step 24/24 : LABEL version=0.0.0 04:22:46 ---> Running in 666dae156112 04:22:47 Removing intermediate container 666dae156112 04:22:47 ---> 6e9fd32a2da8 04:22:47 [Warning] One or more build-args [ARCH] were not consumed 04:22:47 Successfully built 6e9fd32a2da8 04:22:47 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 04:22:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:22:47 04:22:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 04:22:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:22:48 arm64: Pulling from edgex-lftools-log-publisher 04:22:48 448f6bf000e3: Pulling fs layer 04:22:48 f757da607395: Pulling fs layer 04:22:48 05883995daec: Pulling fs layer 04:22:48 8603b9c90790: Pulling fs layer 04:22:48 1560dd03e051: Pulling fs layer 04:22:48 27f5ce0e4adf: Pulling fs layer 04:22:48 c2d8d7efcc4b: Pulling fs layer 04:22:48 1560dd03e051: Waiting 04:22:48 27f5ce0e4adf: Waiting 04:22:48 8603b9c90790: Waiting 04:22:48 c2d8d7efcc4b: Waiting 04:22:48 f757da607395: Verifying Checksum 04:22:48 f757da607395: Download complete 04:22:48 8603b9c90790: Verifying Checksum 04:22:48 8603b9c90790: Download complete 04:22:48 1560dd03e051: Verifying Checksum 04:22:48 1560dd03e051: Download complete 04:22:48 05883995daec: Verifying Checksum 04:22:48 05883995daec: Download complete 04:22:48 27f5ce0e4adf: Verifying Checksum 04:22:48 27f5ce0e4adf: Download complete 04:22:49 448f6bf000e3: Verifying Checksum 04:22:49 448f6bf000e3: Download complete 04:22:51 c2d8d7efcc4b: Verifying Checksum 04:22:51 c2d8d7efcc4b: Download complete 04:22:52 448f6bf000e3: Pull complete 04:22:53 f757da607395: Pull complete 04:22:54 05883995daec: Pull complete 04:22:54 8603b9c90790: Pull complete 04:22:55 1560dd03e051: Pull complete 04:22:56 27f5ce0e4adf: Pull complete 04:23:11 c2d8d7efcc4b: Pull complete 04:23:11 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 04:23:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:23:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 04:23:11 prd-ubuntu18.04-docker-arm64-4c-16g-1199 does not seem to be running inside a container 04:23:11 $ 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 04:23:13 $ docker top 3205e27e08b8e5e7915c92c786897c36bf7f9e51c1fe61df7e5066ed5a0c9fcd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:23:14 ---> job-cost.sh 04:23:14 lf-activate-venv: SKIPPING 04:23:14 INFO: No Stack... 04:23:14 INFO: Retrieving Pricing Info for: v3-standard-4 04:23:15 INFO: Archiving Costs [Pipeline] sh 04:23:15 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:23:15 + cut -d, -f6 [Pipeline] lock 04:23:15 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1079-1-stack-cost] 04:23:15 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1079-1-stack-cost] did not exist. Created. 04:23:15 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1079-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:23:16 /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 04:23:16 + echo total: 0.10999999940395355 [Pipeline] stash 04:23:16 Warning: overwriting stash ‘stack-cost’ 04:23:16 Stashed 1 file(s) [Pipeline] } 04:23:16 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1079-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:23:16 $ docker stop --time=1 3205e27e08b8e5e7915c92c786897c36bf7f9e51c1fe61df7e5066ed5a0c9fcd 04:23:18 $ 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 04:23:19 provisioning config files... 04:23:19 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1079@tmp/config2836464430617142639tmp [Pipeline] { [Pipeline] sh 04:23:19 + set +x 04:23:19 + bash -s -- 04:23:19 + curl -s https://codecov.io/bash 04:23:19 04:23:19 _____ _ 04:23:19 / ____| | | 04:23:19 | | ___ __| | ___ ___ _____ __ 04:23:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:23:19 | |___| (_) | (_| | __/ (_| (_) \ V / 04:23:19 \_____\___/ \__,_|\___|\___\___/ \_/ 04:23:19 Bash-1.0.6 04:23:19 04:23:19 04:23:19 ==> git version 2.24.4 found 04:23:19 ==> 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 04:23:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 04:23:19 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 04:23:19 ==> Jenkins CI detected. 04:23:19 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1079 04:23:19 project root: . 04:23:19 --> token set from env 04:23:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:23:19 ==> Running gcov in . (disable via -X gcov) 04:23:19 ==> Python coveragepy not found 04:23:19 ==> Searching for coverage reports in: 04:23:19 + . 04:23:19 -> Found 1 reports 04:23:19 ==> Detecting git/mercurial file structure 04:23:19 ==> Reading reports 04:23:19 + ./coverage.out bytes=128667 04:23:19 ==> Appending adjustments 04:23:19 https://docs.codecov.io/docs/fixing-reports 04:23:19 + Found adjustments 04:23:19 ==> Gzipping contents 04:23:19 16K /tmp/codecov.d2nuA4.gz 04:23:19 ==> Uploading reports 04:23:19 url: https://codecov.io 04:23:19 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= 04:23:19 -> Pinging Codecov 04:23:19 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= 04:23:20 -> Uploading to 04:23:20 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 04:23:20 % Total % Received % Xferd Average Speed Time Time Time Current 04:23:20 Dload Upload Total Spent Left Speed 04:23:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16332 0 0 100 16332 0 47880 --:--:-- --:--:-- --:--:-- 48035 04:23:20 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/10932634760dd5b3c37209df0a9c794168345d39 [Pipeline] } 04:23:20 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 04:23:22 + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1079/archives ']' [Pipeline] libraryResource [Pipeline] sh 04:23:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:23:23 ---> package-listing.sh 04:23:23 ++ facter osfamily 04:23:23 ++ tr '[:upper:]' '[:lower:]' 04:23:23 + OS_FAMILY=redhat 04:23:23 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1079 04:23:23 + START_PACKAGES=/tmp/packages_start.txt 04:23:23 + END_PACKAGES=/tmp/packages_end.txt 04:23:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:23:23 + PACKAGES=/tmp/packages_start.txt 04:23:23 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1079 ']' 04:23:23 + PACKAGES=/tmp/packages_end.txt 04:23:23 + case "${OS_FAMILY}" in 04:23:23 + rpm -qa 04:23:23 + sort 04:23:23 + '[' -f /tmp/packages_start.txt ']' 04:23:23 + '[' -f /tmp/packages_end.txt ']' 04:23:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:23:23 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1079 ']' 04:23:23 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1079/archives/ 04:23:23 + 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 04:23:24 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 04:23:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:23:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:23:24 04:23:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:23:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:23:25 latest: Pulling from edgex-lftools-log-publisher 04:23:25 b4d181a07f80: Pulling fs layer 04:23:25 a1111a8f2ec3: Pulling fs layer 04:23:25 ed53099fbce6: Pulling fs layer 04:23:25 dc539afda2c1: Pulling fs layer 04:23:25 77bc0d833cb6: Pulling fs layer 04:23:25 9065ff56babe: Pulling fs layer 04:23:25 d287ab97295c: Pulling fs layer 04:23:25 dc539afda2c1: Waiting 04:23:25 77bc0d833cb6: Waiting 04:23:25 9065ff56babe: Waiting 04:23:25 d287ab97295c: Waiting 04:23:25 a1111a8f2ec3: Verifying Checksum 04:23:25 a1111a8f2ec3: Download complete 04:23:25 dc539afda2c1: Verifying Checksum 04:23:25 dc539afda2c1: Download complete 04:23:25 77bc0d833cb6: Verifying Checksum 04:23:25 77bc0d833cb6: Download complete 04:23:25 ed53099fbce6: Verifying Checksum 04:23:25 ed53099fbce6: Download complete 04:23:25 9065ff56babe: Verifying Checksum 04:23:25 9065ff56babe: Download complete 04:23:25 b4d181a07f80: Verifying Checksum 04:23:25 b4d181a07f80: Download complete 04:23:26 d287ab97295c: Verifying Checksum 04:23:26 d287ab97295c: Download complete 04:23:27 b4d181a07f80: Pull complete 04:23:27 a1111a8f2ec3: Pull complete 04:23:27 ed53099fbce6: Pull complete 04:23:27 dc539afda2c1: Pull complete 04:23:28 77bc0d833cb6: Pull complete 04:23:28 9065ff56babe: Pull complete 04:23:34 d287ab97295c: Pull complete 04:23:34 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:23:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:23:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:23:34 prd-centos7-docker-4c-2g-1196 does not seem to be running inside a container 04:23:34 $ 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 04:23:37 $ docker top ab885920f0723ffcdb900f04f9a6d18cdce36537e61b6e303bd059fcdde22c15 -eo pid,comm [Pipeline] { [Pipeline] sh 04:23:37 + touch /tmp/pre-build-complete [Pipeline] sh 04:23:38 + mkdir -p /var/log/sysstat [Pipeline] sh 04:23:38 + ls /var/log/sa-host 04:23:38 + sadf -c /var/log/sa-host/sa11 04:23:38 file_magic: OK 04:23:38 HZ: Using current value: 100 04:23:38 file_header: OK 04:23:38 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 04:23:38 Statistics: 04:23:38 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:23:38 File successfully converted to sysstat format version 12.0.3 04:23:38 + sadf -c /var/log/sa-host/sa17 04:23:38 file_magic: OK 04:23:38 HZ: Using current value: 100 04:23:38 file_header: OK 04:23:38 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 04:23:38 Statistics: 04:23:38 Hnuu...uuuununununu...Hnuu...uuuununununu... 04:23:38 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:23:38 provisioning config files... 04:23:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1079@tmp/config1360192382085996899tmp [Pipeline] { [Pipeline] echo 04:23:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:23:39 ---> create-netrc.sh [Pipeline] } 04:23:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:23:39 ---> python-tools-install.sh [Pipeline] echo 04:23:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:23:39 ---> sudo-logs.sh 04:23:39 Archiving 'sudo' log.. 04:23:39 sudo: unable to resolve host prd-centos7-docker-4c-2g-1196.novalocal: Name or service not known 04:23:39 sudo: unable to resolve host prd-centos7-docker-4c-2g-1196.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 04:23:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:23:40 ---> job-cost.sh 04:23:40 lf-activate-venv: SKIPPING 04:23:40 DEBUG: total: 0.10999999940395355 04:23:40 INFO: Retrieving Stack Cost... 04:23:40 INFO: Retrieving Pricing Info for: v3-standard-2 04:23:40 INFO: Archiving Costs [Pipeline] echo 04:23:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:23:41 ---> logs-deploy.sh 04:23:41 lf-activate-venv: SKIPPING 04:23:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1079/1 04:23:41 INFO: archiving workspace using pattern(s): 04:23:41 Archives upload complete. 04:23:42 INFO: archiving logs to Nexus 04:23:42 ---> uname -a: 04:23:42 Linux prd-centos7-docker-4c-2g-1196.novalocal 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64 GNU/Linux 04:23:42 04:23:42 04:23:42 ---> lscpu: 04:23:42 Architecture: x86_64 04:23:42 CPU op-mode(s): 32-bit, 64-bit 04:23:42 Byte Order: Little Endian 04:23:42 Address sizes: 40 bits physical, 48 bits virtual 04:23:42 CPU(s): 2 04:23:42 On-line CPU(s) list: 0,1 04:23:42 Thread(s) per core: 1 04:23:42 Core(s) per socket: 1 04:23:42 Socket(s): 2 04:23:42 NUMA node(s): 1 04:23:42 Vendor ID: AuthenticAMD 04:23:42 CPU family: 23 04:23:42 Model: 49 04:23:42 Model name: AMD EPYC-Rome Processor 04:23:42 Stepping: 0 04:23:42 CPU MHz: 2799.998 04:23:42 BogoMIPS: 5599.99 04:23:42 Virtualization: AMD-V 04:23:42 Hypervisor vendor: KVM 04:23:42 Virtualization type: full 04:23:42 L1d cache: 32K 04:23:42 L1i cache: 32K 04:23:42 L2 cache: 512K 04:23:42 L3 cache: 16384K 04:23:42 NUMA node0 CPU(s): 0,1 04:23:42 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 04:23:42 04:23:42 04:23:42 ---> nproc: 04:23:42 2 04:23:42 04:23:42 04:23:42 ---> df -h: 04:23:42 Filesystem Size Used Avail Use% Mounted on 04:23:42 overlay 40G 7.7G 33G 20% / 04:23:42 tmpfs 64M 0 64M 0% /dev 04:23:42 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 04:23:42 shm 64M 0 64M 0% /dev/shm 04:23:42 /dev/vda1 40G 7.7G 33G 20% /facter-os 04:23:42 04:23:42 04:23:42 ---> sar -b -r -n DEV: 04:23:42 Linux 3.10.0-1160.45.1.el7.x86_64 (centos-7-docker-61956895-6fad-6945-99d6-2040f50c295e.novalocal) 01/11/22 _x86_64_ (2 CPU) 04:23:42 04:23:42 04:11:17 LINUX RESTART (2 CPU) 04:23:42 04:23:42 04:12:02 tps rtps wtps bread/s bwrtn/s 04:23:42 04:13:01 7.33 0.05 7.28 1.08 424.28 04:23:42 04:14:01 0.55 0.00 0.55 0.00 9.23 04:23:42 04:15:01 0.27 0.00 0.27 0.00 4.66 04:23:42 04:16:01 0.17 0.00 0.17 0.00 2.02 04:23:42 04:17:01 0.33 0.00 0.33 0.00 3.83 04:23:42 04:18:01 0.62 0.00 0.62 0.00 8.68 04:23:42 04:19:01 0.47 0.00 0.47 0.00 6.78 04:23:42 04:20:01 0.18 0.00 0.18 0.00 1.35 04:23:42 04:21:01 0.22 0.00 0.22 0.00 2.15 04:23:42 04:22:01 0.23 0.00 0.23 0.00 3.20 04:23:42 04:23:02 0.25 0.00 0.25 0.00 3.36 04:23:42 Average: 0.96 0.00 0.95 0.10 42.11 04:23:42 04:23:42 04:12:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 04:23:42 04:13:01 5696632 0 608508 7.60 2620 1701172 1202976 13.28 559304 1520224 28 04:23:42 04:14:01 5696588 0 608544 7.60 2620 1701180 1164416 12.86 559588 1520188 20 04:23:42 04:15:01 5698904 0 606228 7.57 2620 1701180 1164500 12.86 557400 1520188 8 04:23:42 04:16:01 5700596 0 604524 7.55 2620 1701192 1164032 12.85 556088 1520192 8 04:23:42 04:17:01 5701676 0 603440 7.53 2620 1701196 1164260 12.85 555880 1520188 20 04:23:42 04:18:01 5701248 0 603868 7.54 2620 1701196 1164308 12.85 555992 1520188 8 04:23:42 04:19:01 5702256 0 602852 7.53 2620 1701204 1164032 12.85 554940 1520188 8 04:23:42 04:20:01 5697324 0 607780 7.59 2620 1701208 1164032 12.85 559844 1520188 8 04:23:42 04:21:01 5691132 0 613968 7.67 2620 1701212 1164032 12.85 566172 1520188 8 04:23:42 04:22:01 5691068 0 614028 7.67 2620 1701216 1164116 12.85 566680 1520188 8 04:23:42 04:23:02 5687572 0 617520 7.71 2620 1701220 1164192 12.85 569296 1520188 8 04:23:42 Average: 5696818 0 608296 7.60 2620 1701198 1167718 12.89 560108 1520192 12 04:23:42 04:23:42 04:12:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 04:23:42 04:13:01 eth0 24.47 27.33 81.76 7.75 0.00 0.00 0.00 0.00 04:23:42 04:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:42 04:13:01 docker0 17.66 9.92 2.47 67.13 0.00 0.00 0.00 0.00 04:23:42 04:14:01 eth0 2.93 1.25 2.63 0.08 0.00 0.00 0.00 0.00 04:23:42 04:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:42 04:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:42 04:15:01 eth0 6.46 1.73 6.69 0.27 0.00 0.00 0.00 0.00 04:23:42 04:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:42 04:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:42 04:16:01 eth0 0.82 0.08 0.07 0.04 0.00 0.00 0.00 0.00 04:23:42 04:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:42 04:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:42 04:17:01 eth0 1.22 0.50 0.47 0.30 0.00 0.00 0.00 0.00 04:23:42 04:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:42 04:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:42 04:18:01 eth0 0.53 0.32 0.27 0.20 0.00 0.00 0.00 0.00 04:23:42 04:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:42 04:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:42 04:19:01 eth0 0.13 0.10 0.01 0.04 0.00 0.00 0.00 0.00 04:23:42 04:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:42 04:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:42 04:20:01 eth0 0.13 0.10 0.01 0.01 0.00 0.00 0.00 0.00 04:23:42 04:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:42 04:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:42 04:21:01 eth0 0.15 0.10 0.01 0.01 0.00 0.00 0.00 0.00 04:23:42 04:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:42 04:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:42 04:22:01 eth0 0.25 0.17 0.08 0.04 0.00 0.00 0.00 0.00 04:23:42 04:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:42 04:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:42 04:23:02 eth0 0.28 0.17 0.13 0.04 0.00 0.00 0.00 0.00 04:23:42 04:23:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:42 04:23:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:42 Average: eth0 3.37 2.86 8.27 0.79 0.00 0.00 0.00 0.00 04:23:42 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:42 Average: docker0 1.58 0.89 0.22 6.01 0.00 0.00 0.00 0.00 04:23:42 04:23:42 04:23:42 ---> sar -P ALL: 04:23:42 Linux 3.10.0-1160.45.1.el7.x86_64 (centos-7-docker-61956895-6fad-6945-99d6-2040f50c295e.novalocal) 01/11/22 _x86_64_ (2 CPU) 04:23:42 04:23:42 04:11:17 LINUX RESTART (2 CPU) 04:23:42 04:23:42 04:12:02 CPU %user %nice %system %iowait %steal %idle 04:23:42 04:13:01 all 1.48 0.00 0.55 0.07 0.02 97.88 04:23:42 04:13:01 0 1.46 0.00 0.58 0.12 0.02 97.82 04:23:42 04:13:01 1 1.50 0.00 0.53 0.02 0.02 97.94 04:23:42 04:14:01 all 0.39 0.00 0.05 0.00 0.00 99.56 04:23:42 04:14:01 0 0.47 0.00 0.05 0.00 0.00 99.48 04:23:42 04:14:01 1 0.32 0.00 0.05 0.00 0.00 99.63 04:23:42 04:15:01 all 0.28 0.00 0.08 0.00 0.01 99.63 04:23:42 04:15:01 0 0.45 0.00 0.10 0.00 0.00 99.45 04:23:42 04:15:01 1 0.12 0.00 0.05 0.00 0.02 99.82 04:23:42 04:16:01 all 0.17 0.00 0.06 0.00 0.02 99.76 04:23:42 04:16:01 0 0.18 0.00 0.05 0.00 0.02 99.75 04:23:42 04:16:01 1 0.15 0.00 0.07 0.00 0.02 99.77 04:23:42 04:17:01 all 0.22 0.00 0.06 0.00 0.01 99.72 04:23:42 04:17:01 0 0.07 0.00 0.07 0.00 0.02 99.85 04:23:42 04:17:01 1 0.37 0.00 0.05 0.00 0.00 99.58 04:23:42 04:18:01 all 0.22 0.00 0.04 0.00 0.02 99.72 04:23:42 04:18:01 0 0.10 0.00 0.05 0.00 0.02 99.83 04:23:42 04:18:01 1 0.33 0.00 0.03 0.00 0.02 99.62 04:23:42 04:19:01 all 0.24 0.00 0.05 0.00 0.00 99.71 04:23:42 04:19:01 0 0.40 0.00 0.08 0.00 0.00 99.52 04:23:42 04:19:01 1 0.08 0.00 0.02 0.00 0.00 99.90 04:23:42 04:20:01 all 0.18 0.00 0.04 0.00 0.01 99.77 04:23:42 04:20:01 0 0.33 0.00 0.05 0.00 0.00 99.62 04:23:42 04:20:01 1 0.03 0.00 0.03 0.00 0.02 99.92 04:23:42 04:21:01 all 0.23 0.00 0.05 0.00 0.01 99.71 04:23:42 04:21:01 0 0.40 0.00 0.05 0.00 0.02 99.53 04:23:42 04:21:01 1 0.07 0.00 0.05 0.00 0.00 99.88 04:23:42 04:22:01 all 0.19 0.00 0.04 0.00 0.01 99.76 04:23:42 04:22:01 0 0.33 0.00 0.05 0.00 0.00 99.62 04:23:42 04:22:01 1 0.05 0.00 0.03 0.00 0.02 99.90 04:23:42 04:23:02 all 0.27 0.00 0.05 0.00 0.01 99.67 04:23:42 04:23:02 0 0.17 0.00 0.03 0.00 0.00 99.80 04:23:42 04:23:02 1 0.37 0.00 0.07 0.00 0.02 99.55 04:23:42 04:23:42 Average: CPU %user %nice %system %iowait %steal %idle 04:23:42 Average: all 0.35 0.00 0.10 0.01 0.01 99.54 04:23:42 Average: 0 0.40 0.00 0.10 0.01 0.01 99.48 04:23:42 Average: 1 0.31 0.00 0.09 0.00 0.01 99.59 04:23:42 04:23:42 04:23:42