Pull request #1079 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b046b792cd49ba6012780e889ec4390b4d411e42+7840aa2a6988a424d7f9f25b5b8792b244d6e548 (c7f71a822d2abf6b062b71d75affc72d5499fdd3) 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-ssh8893081583505921334.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-ssh14274465439739279180.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1079/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1079/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17551830896105008010.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 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-ssh341134367443135967.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1079/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1079/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh13547764734202888611.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1204’ Running on prd-centos7-docker-4c-2g-1206 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-ssh227158813949312108.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 7840aa2a6988a424d7f9f25b5b8792b244d6e548 into PR head commit b046b792cd49ba6012780e889ec4390b4d411e42 > 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-ssh3685463449139574433.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 > git checkout -f b046b792cd49ba6012780e889ec4390b4d411e42 # 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-ssh5466782695188037469.key Merge succeeded, producing b046b792cd49ba6012780e889ec4390b4d411e42 Checking out Revision b046b792cd49ba6012780e889ec4390b4d411e42 (PR-1079) > git merge 7840aa2a6988a424d7f9f25b5b8792b244d6e548 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b046b792cd49ba6012780e889ec4390b4d411e42 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. > git rev-list --no-walk 10932634760dd5b3c37209df0a9c794168345d39 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-11T06:10:51.440Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-11T06:10:51.482Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-11T06:10:51.500Z] ========================================================= [2022-01-11T06:10:51.500Z] EdgeX Global Pipelines Version Info [2022-01-11T06:10:51.500Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-11T06:10:52.647Z] ------------------- [2022-01-11T06:10:52.647Z] stable info: [2022-01-11T06:10:52.647Z] ------------------- [2022-01-11T06:10:52.647Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-11T06:10:52.647Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2022-01-11T06:10:52.647Z] Message: update stable to v1.0.217 [2022-01-11T06:10:53.220Z] ------------------- [2022-01-11T06:10:53.220Z] experimental info: [2022-01-11T06:10:53.220Z] ------------------- [2022-01-11T06:10:53.220Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-11T06:10:53.220Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-11T06:10:53.220Z] Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-11T06:10:53.350Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-01-11T06:10:53.365Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-01-11T06:10:53.383Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-11T06:10:53.398Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-11T06:10:53.408Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-11T06:10:53.420Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2022-01-11T06:10:53.432Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-11T06:10:53.444Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-01-11T06:10:53.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-11T06:10:53.471Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-11T06:10:53.482Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-11T06:10:53.493Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-01-11T06:10:53.505Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-11T06:10:53.516Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-11T06:10:53.532Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-11T06:10:53.545Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-01-11T06:10:53.557Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-11T06:10:53.568Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-11T06:10:53.580Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-11T06:10:53.594Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-11T06:10:53.605Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-01-11T06:10:53.617Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-01-11T06:10:53.632Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-11T06:10:53.644Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-11T06:10:53.657Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-11T06:10:53.668Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-11T06:10:53.680Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1079 [Pipeline] echo [2022-01-11T06:10:53.693Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1079 [Pipeline] echo [2022-01-11T06:10:53.709Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1079 [Pipeline] echo [2022-01-11T06:10:53.722Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b046b792cd49ba6012780e889ec4390b4d411e42 [Pipeline] echo [2022-01-11T06:10:53.735Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b046b79 [Pipeline] echo [2022-01-11T06:10:53.751Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-11T06:10:53.795Z] provisioning config files... [2022-01-11T06:10:53.809Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1079@tmp/config7603057538724570941tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T06:10:54.126Z] ---> docker-login.sh [2022-01-11T06:10:54.126Z] nexus3.edgexfoundry.org:10001 [2022-01-11T06:10:54.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T06:10:54.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T06:10:54.393Z] Configure a credential helper to remove this warning. See [2022-01-11T06:10:54.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T06:10:54.393Z] [2022-01-11T06:10:54.393Z] Login Succeeded [2022-01-11T06:10:54.393Z] nexus3.edgexfoundry.org:10002 [2022-01-11T06:10:54.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T06:10:54.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T06:10:54.393Z] Configure a credential helper to remove this warning. See [2022-01-11T06:10:54.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T06:10:54.393Z] [2022-01-11T06:10:54.393Z] Login Succeeded [2022-01-11T06:10:54.393Z] nexus3.edgexfoundry.org:10003 [2022-01-11T06:10:54.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T06:10:54.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T06:10:54.662Z] Configure a credential helper to remove this warning. See [2022-01-11T06:10:54.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T06:10:54.662Z] [2022-01-11T06:10:54.662Z] Login Succeeded [2022-01-11T06:10:54.662Z] nexus3.edgexfoundry.org:10004 [2022-01-11T06:10:54.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T06:10:54.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T06:10:54.662Z] Configure a credential helper to remove this warning. See [2022-01-11T06:10:54.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T06:10:54.662Z] [2022-01-11T06:10:54.662Z] Login Succeeded [2022-01-11T06:10:54.662Z] docker.io [2022-01-11T06:10:54.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T06:10:55.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T06:10:55.235Z] Configure a credential helper to remove this warning. See [2022-01-11T06:10:55.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T06:10:55.235Z] [2022-01-11T06:10:55.235Z] Login Succeeded [2022-01-11T06:10:55.235Z] ---> docker-login.sh ends [Pipeline] } [2022-01-11T06:10:55.244Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-11T06:10:55.605Z] + git rev-list -1 --merges b046b792cd49ba6012780e889ec4390b4d411e42~1..b046b792cd49ba6012780e889ec4390b4d411e42 [Pipeline] echo [2022-01-11T06:10:55.642Z] -----------> git rev-list -1 --merges b046b792cd49ba6012780e889ec4390b4d411e42~1..b046b792cd49ba6012780e889ec4390b4d411e42 b046b792cd49ba6012780e889ec4390b4d411e42 [false] [Pipeline] sh [2022-01-11T06:10:55.938Z] + git log --format=format:%s -1 b046b792cd49ba6012780e889ec4390b4d411e42 [Pipeline] echo [2022-01-11T06:10:55.957Z] ========================================================= [2022-01-11T06:10:55.957Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-11T06:10:55.957Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-11T06:10:56.288Z] + git log --format=format:%s -1 b046b792cd49ba6012780e889ec4390b4d411e42 [Pipeline] echo [2022-01-11T06:10:56.302Z] [semverPrep] GIT_COMMIT: b046b792cd49ba6012780e889ec4390b4d411e42, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2022-01-11T06:10:56.312Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-11T06:10:56.709Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-11T06:10:56.709Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-11T06:10:56.709Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-11T06:10:56.709Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-11T06:10:56.709Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-11T06:10:56.709Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-11T06:10:56.709Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-11T06:10:57.063Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-11T06:10:57.063Z] [2022-01-11T06:10:57.063Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-11T06:10:57.378Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-11T06:10:57.378Z] latest: Pulling from edgex-devops/git-semver [2022-01-11T06:10:57.378Z] a0d0a0d46f8b: Pulling fs layer [2022-01-11T06:10:57.378Z] 3e5f54012d9b: Pulling fs layer [2022-01-11T06:10:57.378Z] 4c7163046ea9: Pulling fs layer [2022-01-11T06:10:57.378Z] 0c2d73faf560: Pulling fs layer [2022-01-11T06:10:57.378Z] 0c2d73faf560: Waiting [2022-01-11T06:10:57.378Z] 3e5f54012d9b: Verifying Checksum [2022-01-11T06:10:57.378Z] 3e5f54012d9b: Download complete [2022-01-11T06:10:57.378Z] a0d0a0d46f8b: Verifying Checksum [2022-01-11T06:10:57.378Z] a0d0a0d46f8b: Download complete [2022-01-11T06:10:57.378Z] 4c7163046ea9: Verifying Checksum [2022-01-11T06:10:57.378Z] 4c7163046ea9: Download complete [2022-01-11T06:10:57.644Z] 0c2d73faf560: Verifying Checksum [2022-01-11T06:10:57.644Z] 0c2d73faf560: Download complete [2022-01-11T06:10:57.644Z] a0d0a0d46f8b: Pull complete [2022-01-11T06:10:57.644Z] 3e5f54012d9b: Pull complete [2022-01-11T06:10:57.909Z] 4c7163046ea9: Pull complete [2022-01-11T06:10:58.175Z] 0c2d73faf560: Pull complete [2022-01-11T06:10:58.175Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-11T06:10:58.175Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-11T06:10:58.175Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-11T06:10:58.250Z] prd-centos7-docker-4c-2g-1206 does not seem to be running inside a container [2022-01-11T06:10:58.181Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-11T06:10:59.013Z] $ docker top 5d88be0bd94d1ff00f7e84ec61a00323ff3fb5d75bb68e2d47a20b13f209cf27 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-11T06:10:59.163Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-11T06:10:59.163Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-11T06:10:59.279Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-11T06:10:59.256Z] $ docker exec 5d88be0bd94d1ff00f7e84ec61a00323ff3fb5d75bb68e2d47a20b13f209cf27 ssh-agent [2022-01-11T06:10:59.397Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOFKepf/agent.14 [2022-01-11T06:10:59.397Z] SSH_AGENT_PID=20 [2022-01-11T06:10:59.405Z] Running ssh-add (command line suppressed) [2022-01-11T06:10:59.493Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1079@tmp/private_key_3278158105557583853.key (/w/workspace/gexfoundry_device-sdk-go_PR-1079@tmp/private_key_3278158105557583853.key) [2022-01-11T06:10:59.516Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-11T06:10:59.811Z] + git tag --points-at HEAD [Pipeline] } [2022-01-11T06:10:59.822Z] $ docker exec --env ******** --env ******** 5d88be0bd94d1ff00f7e84ec61a00323ff3fb5d75bb68e2d47a20b13f209cf27 ssh-agent -k [2022-01-11T06:10:59.914Z] unset SSH_AUTH_SOCK; [2022-01-11T06:10:59.916Z] unset SSH_AGENT_PID; [2022-01-11T06:10:59.916Z] echo Agent pid 20 killed; [2022-01-11T06:10:59.923Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-11T06:10:59.950Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-11T06:10:59.950Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-11T06:11:00.064Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-11T06:11:00.067Z] $ docker exec 5d88be0bd94d1ff00f7e84ec61a00323ff3fb5d75bb68e2d47a20b13f209cf27 ssh-agent [2022-01-11T06:11:00.176Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdcfiHL/agent.52 [2022-01-11T06:11:00.176Z] SSH_AGENT_PID=58 [2022-01-11T06:11:00.181Z] Running ssh-add (command line suppressed) [2022-01-11T06:11:00.277Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1079@tmp/private_key_3105262637753066214.key (/w/workspace/gexfoundry_device-sdk-go_PR-1079@tmp/private_key_3105262637753066214.key) [2022-01-11T06:11:00.291Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-11T06:11:00.585Z] + git semver init [2022-01-11T06:11:00.585Z] # -> Open(): unable to determine branch for HEAD [2022-01-11T06:11:00.585Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1079/.git [2022-01-11T06:11:00.585Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1079 [2022-01-11T06:11:00.585Z] # $SEMVER_REMOTE_NAME = origin [2022-01-11T06:11:00.585Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-11T06:11:00.585Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-11T06:11:00.585Z] # $SEMVER_BRANCH = PR-1079 [2022-01-11T06:11:00.585Z] # $SEMVER_TEMP = /tmp/semver-159518320 [2022-01-11T06:11:00.585Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-01-11T06:11:01.532Z] # '/tmp/semver-159518320' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1079/.semver' [2022-01-11T06:11:01.532Z] # -> Force: false [2022-01-11T06:11:01.532Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1079/.semver [Pipeline] } [2022-01-11T06:11:01.543Z] $ docker exec --env ******** --env ******** 5d88be0bd94d1ff00f7e84ec61a00323ff3fb5d75bb68e2d47a20b13f209cf27 ssh-agent -k [2022-01-11T06:11:01.660Z] unset SSH_AUTH_SOCK; [2022-01-11T06:11:01.660Z] unset SSH_AGENT_PID; [2022-01-11T06:11:01.661Z] echo Agent pid 58 killed; [2022-01-11T06:11:01.668Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-11T06:11:01.997Z] + git semver [Pipeline] } [2022-01-11T06:11:02.011Z] $ docker stop --time=1 5d88be0bd94d1ff00f7e84ec61a00323ff3fb5d75bb68e2d47a20b13f209cf27 [2022-01-11T06:11:03.300Z] $ docker rm -f 5d88be0bd94d1ff00f7e84ec61a00323ff3fb5d75bb68e2d47a20b13f209cf27 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-11T06:11:03.672Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-11T06:11:03.917Z] Stashed 1 file(s) [Pipeline] echo [2022-01-11T06:11:03.920Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2022-01-11T06:11:19.017Z] Still waiting to schedule task [2022-01-11T06:11:19.017Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2022-01-11T06:11:19.021Z] Still waiting to schedule task [2022-01-11T06:11:19.021Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1200’ [2022-01-11T06:13:23.304Z] Running on prd-centos7-docker-4c-2g-1208 in /w/workspace/gexfoundry_device-sdk-go_PR-1079 [Pipeline] { [Pipeline] ws [2022-01-11T06:13:23.317Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2022-01-11T06:13:23.391Z] The recommended git tool is: git [2022-01-11T06:13:24.896Z] using credential edgex-jenkins-ssh [2022-01-11T06:13:24.907Z] Cloning the remote Git repository [2022-01-11T06:13:24.305Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-01-11T06:13:24.337Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2022-01-11T06:13:24.367Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-11T06:13:24.367Z] > git --version # timeout=10 [2022-01-11T06:13:24.375Z] > git --version # 'git version 2.24.4' [2022-01-11T06:13:24.375Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-11T06:13:24.393Z] [INFO] Currently running in a labeled security context [2022-01-11T06:13:24.393Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-11T06:13:24.393Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh8642458414951277509.key [2022-01-11T06:13:24.429Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-11T06:13:26.380Z] Merging remotes/origin/main commit 7840aa2a6988a424d7f9f25b5b8792b244d6e548 into PR head commit b046b792cd49ba6012780e889ec4390b4d411e42 [2022-01-11T06:13:26.479Z] Merge succeeded, producing b046b792cd49ba6012780e889ec4390b4d411e42 [2022-01-11T06:13:26.479Z] Checking out Revision b046b792cd49ba6012780e889ec4390b4d411e42 (PR-1079) [2022-01-11T06:13:25.239Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-11T06:13:25.250Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-11T06:13:25.267Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-11T06:13:25.284Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-11T06:13:25.284Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-11T06:13:25.285Z] [INFO] Currently running in a labeled security context [2022-01-11T06:13:25.285Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-11T06:13:25.285Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh1950166689968192637.key [2022-01-11T06:13:25.297Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1079/head:refs/remotes/origin/PR-1079 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-11T06:13:25.766Z] > git config core.sparsecheckout # timeout=10 [2022-01-11T06:13:25.773Z] > git checkout -f b046b792cd49ba6012780e889ec4390b4d411e42 # timeout=10 [2022-01-11T06:13:25.812Z] > git remote # timeout=10 [2022-01-11T06:13:25.819Z] > git config --get remote.origin.url # timeout=10 [2022-01-11T06:13:25.824Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-11T06:13:25.825Z] [INFO] Currently running in a labeled security context [2022-01-11T06:13:25.825Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-11T06:13:25.825Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh5564022464222975055.key [2022-01-11T06:13:25.834Z] > git merge 7840aa2a6988a424d7f9f25b5b8792b244d6e548 # timeout=10 [2022-01-11T06:13:25.846Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-11T06:13:25.859Z] > git config core.sparsecheckout # timeout=10 [2022-01-11T06:13:25.863Z] > git checkout -f b046b792cd49ba6012780e889ec4390b4d411e42 # timeout=10 [2022-01-11T06:13:30.256Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-11T06:13:30.711Z] provisioning config files... [2022-01-11T06:13:30.727Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config252177853675362853tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T06:13:31.126Z] ---> docker-login.sh [2022-01-11T06:13:31.126Z] nexus3.edgexfoundry.org:10001 [2022-01-11T06:13:31.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T06:13:31.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T06:13:31.394Z] Configure a credential helper to remove this warning. See [2022-01-11T06:13:31.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T06:13:31.394Z] [2022-01-11T06:13:31.394Z] Login Succeeded [2022-01-11T06:13:31.394Z] nexus3.edgexfoundry.org:10002 [2022-01-11T06:13:31.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T06:13:31.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T06:13:31.394Z] Configure a credential helper to remove this warning. See [2022-01-11T06:13:31.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T06:13:31.394Z] [2022-01-11T06:13:31.394Z] Login Succeeded [2022-01-11T06:13:31.394Z] nexus3.edgexfoundry.org:10003 [2022-01-11T06:13:31.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T06:13:31.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T06:13:31.656Z] Configure a credential helper to remove this warning. See [2022-01-11T06:13:31.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T06:13:31.656Z] [2022-01-11T06:13:31.656Z] Login Succeeded [2022-01-11T06:13:31.656Z] nexus3.edgexfoundry.org:10004 [2022-01-11T06:13:31.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T06:13:31.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T06:13:31.656Z] Configure a credential helper to remove this warning. See [2022-01-11T06:13:31.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T06:13:31.656Z] [2022-01-11T06:13:31.656Z] Login Succeeded [2022-01-11T06:13:31.656Z] docker.io [2022-01-11T06:13:31.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T06:13:32.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T06:13:32.229Z] Configure a credential helper to remove this warning. See [2022-01-11T06:13:32.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T06:13:32.229Z] [2022-01-11T06:13:32.229Z] Login Succeeded [2022-01-11T06:13:32.229Z] ---> docker-login.sh ends [Pipeline] } [2022-01-11T06:13:32.317Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-11T06:13:32.442Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-11T06:13:32.455Z] ========================================================= [2022-01-11T06:13:32.455Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2022-01-11T06:13:32.455Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-11T06:13:32.764Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-01-11T06:13:32.765Z] Sending build context to Docker daemon 5.041MB [2022-01-11T06:13:32.765Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-01-11T06:13:32.765Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-11T06:13:32.765Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-11T06:13:32.765Z] a0d0a0d46f8b: Pulling fs layer [2022-01-11T06:13:32.765Z] 31adcdaf11c8: Pulling fs layer [2022-01-11T06:13:32.765Z] b8b176561691: Pulling fs layer [2022-01-11T06:13:32.765Z] 4527c011a84f: Pulling fs layer [2022-01-11T06:13:32.765Z] 5d74067f8e1e: Pulling fs layer [2022-01-11T06:13:32.765Z] e0aca202a116: Pulling fs layer [2022-01-11T06:13:32.765Z] 3a43be97a3b4: Pulling fs layer [2022-01-11T06:13:32.765Z] 34cad66bf833: Pulling fs layer [2022-01-11T06:13:32.765Z] b4e3c513aaa6: Pulling fs layer [2022-01-11T06:13:32.765Z] 4527c011a84f: Waiting [2022-01-11T06:13:32.765Z] 5d74067f8e1e: Waiting [2022-01-11T06:13:32.765Z] 34cad66bf833: Waiting [2022-01-11T06:13:32.765Z] b4e3c513aaa6: Waiting [2022-01-11T06:13:32.765Z] e0aca202a116: Waiting [2022-01-11T06:13:32.765Z] 3a43be97a3b4: Waiting [2022-01-11T06:13:33.027Z] b8b176561691: Verifying Checksum [2022-01-11T06:13:33.027Z] b8b176561691: Download complete [2022-01-11T06:13:33.027Z] 31adcdaf11c8: Verifying Checksum [2022-01-11T06:13:33.027Z] 31adcdaf11c8: Download complete [2022-01-11T06:13:33.027Z] 5d74067f8e1e: Verifying Checksum [2022-01-11T06:13:33.027Z] 5d74067f8e1e: Download complete [2022-01-11T06:13:33.027Z] e0aca202a116: Verifying Checksum [2022-01-11T06:13:33.027Z] e0aca202a116: Download complete [2022-01-11T06:13:33.027Z] a0d0a0d46f8b: Verifying Checksum [2022-01-11T06:13:33.027Z] a0d0a0d46f8b: Download complete [2022-01-11T06:13:33.027Z] 3a43be97a3b4: Verifying Checksum [2022-01-11T06:13:33.027Z] 3a43be97a3b4: Download complete [2022-01-11T06:13:33.027Z] 34cad66bf833: Verifying Checksum [2022-01-11T06:13:33.027Z] 34cad66bf833: Download complete [2022-01-11T06:13:33.611Z] a0d0a0d46f8b: Pull complete [2022-01-11T06:13:33.611Z] 4527c011a84f: Verifying Checksum [2022-01-11T06:13:33.611Z] 4527c011a84f: Download complete [2022-01-11T06:13:33.611Z] b4e3c513aaa6: Verifying Checksum [2022-01-11T06:13:33.611Z] b4e3c513aaa6: Download complete [2022-01-11T06:13:33.611Z] 31adcdaf11c8: Pull complete [2022-01-11T06:13:33.611Z] b8b176561691: Pull complete [2022-01-11T06:13:37.856Z] 4527c011a84f: Pull complete [2022-01-11T06:13:37.856Z] 5d74067f8e1e: Pull complete [2022-01-11T06:13:37.856Z] e0aca202a116: Pull complete [2022-01-11T06:13:37.856Z] 3a43be97a3b4: Pull complete [2022-01-11T06:13:37.856Z] 34cad66bf833: Pull complete [2022-01-11T06:13:39.793Z] b4e3c513aaa6: Pull complete [2022-01-11T06:13:39.793Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2022-01-11T06:13:39.793Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-11T06:13:39.793Z] ---> 9f6097aaca64 [2022-01-11T06:13:39.793Z] Step 3/10 : ARG MAKE=make build [2022-01-11T06:13:44.011Z] ---> Running in 4d2893475a8c [2022-01-11T06:13:44.011Z] Removing intermediate container 4d2893475a8c [2022-01-11T06:13:44.011Z] ---> fdbfdc7b4165 [2022-01-11T06:13:44.011Z] Step 4/10 : WORKDIR /device-sdk-go [2022-01-11T06:13:44.011Z] ---> Running in b92783546113 [2022-01-11T06:13:44.011Z] Removing intermediate container b92783546113 [2022-01-11T06:13:44.011Z] ---> 724693ad0c8e [2022-01-11T06:13:44.011Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-11T06:13:44.011Z] ---> Running in 0bb8b7946dc5 [2022-01-11T06:13:44.011Z] Removing intermediate container 0bb8b7946dc5 [2022-01-11T06:13:44.011Z] ---> 38d77129e580 [2022-01-11T06:13:44.011Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-11T06:13:44.274Z] ---> Running in b3cd046b048c [2022-01-11T06:13:44.846Z] Removing intermediate container b3cd046b048c [2022-01-11T06:13:44.846Z] ---> 2b36a6b2e5b1 [2022-01-11T06:13:44.846Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-11T06:13:44.846Z] ---> Running in 240fe3ec3a41 [2022-01-11T06:13:45.107Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-11T06:13:45.683Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-11T06:13:46.259Z] OK: 220 MiB in 52 packages [2022-01-11T06:13:46.259Z] Removing intermediate container 240fe3ec3a41 [2022-01-11T06:13:46.259Z] ---> b887840896a4 [2022-01-11T06:13:46.259Z] Step 8/10 : COPY . . [2022-01-11T06:13:46.832Z] ---> f70ef53054fc [2022-01-11T06:13:46.832Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-11T06:13:46.832Z] ---> Running in 0a8b9e0e1c74 [2022-01-11T06:14:19.035Z] Removing intermediate container 0a8b9e0e1c74 [2022-01-11T06:14:19.035Z] ---> 946319aedf0d [2022-01-11T06:14:19.035Z] Step 10/10 : RUN ${MAKE} [2022-01-11T06:14:19.035Z] ---> Running in 37300ae295b7 [2022-01-11T06:14:19.035Z] noop [2022-01-11T06:14:19.035Z] Removing intermediate container 37300ae295b7 [2022-01-11T06:14:19.035Z] ---> 5e8d74037b55 [2022-01-11T06:14:19.035Z] Successfully built 5e8d74037b55 [2022-01-11T06:14:19.035Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-11T06:14:19.353Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-11T06:14:19.353Z] . [Pipeline] withDockerContainer [2022-01-11T06:14:19.429Z] prd-centos7-docker-4c-2g-1208 does not seem to be running inside a container [2022-01-11T06:14:19.467Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-11T06:14:19.905Z] $ docker top 6dbde7b1d1deebf230a7a3edbc2fc06070e959b7ce1a8a6cb599bbe569811209 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-11T06:14:20.303Z] + go version [2022-01-11T06:14:20.303Z] go version go1.16.8 linux/amd64 [Pipeline] } [2022-01-11T06:14:20.315Z] $ docker stop --time=1 6dbde7b1d1deebf230a7a3edbc2fc06070e959b7ce1a8a6cb599bbe569811209 [2022-01-11T06:14:21.529Z] $ docker rm -f 6dbde7b1d1deebf230a7a3edbc2fc06070e959b7ce1a8a6cb599bbe569811209 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-11T06:14:21.986Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-11T06:14:21.986Z] . [Pipeline] withDockerContainer [2022-01-11T06:14:22.079Z] prd-centos7-docker-4c-2g-1208 does not seem to be running inside a container [2022-01-11T06:14:22.127Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-11T06:14:22.527Z] $ docker top 412656b7b4faa3afe3d2220f17b8de605d3fa871b44806f9bed143e6bc034c86 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-11T06:14:22.929Z] + make test [2022-01-11T06:14:22.929Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-11T06:14:28.260Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-11T06:14:51.176Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1209 in /w/workspace/gexfoundry_device-sdk-go_PR-1079 [Pipeline] { [Pipeline] ws [2022-01-11T06:14:51.189Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2022-01-11T06:14:51.407Z] The recommended git tool is: git [2022-01-11T06:14:55.036Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-11T06:14:55.036Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-11T06:14:55.036Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-11T06:14:55.036Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.075s coverage: 23.3% of statements [2022-01-11T06:14:55.036Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-11T06:14:55.036Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.052s coverage: 27.6% of statements [2022-01-11T06:14:55.614Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.069s coverage: 78.9% of statements [2022-01-11T06:14:55.614Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.049s coverage: 9.0% of statements [2022-01-11T06:14:55.614Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-11T06:14:55.614Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-11T06:14:55.614Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-11T06:14:56.094Z] using credential edgex-jenkins-ssh [2022-01-11T06:14:56.115Z] Cloning the remote Git repository [2022-01-11T06:14:56.173Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-01-11T06:14:56.258Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2022-01-11T06:14:56.357Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-11T06:14:56.357Z] > git --version # timeout=10 [2022-01-11T06:14:56.576Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.068s coverage: 28.7% of statements [2022-01-11T06:14:56.576Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-11T06:14:56.377Z] > git --version # 'git version 2.17.1' [2022-01-11T06:14:56.379Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-11T06:14:56.445Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-11T06:14:57.964Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.063s coverage: 86.1% of statements [2022-01-11T06:14:57.964Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-11T06:14:57.964Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-11T06:14:57.964Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.101s coverage: 57.4% of statements [2022-01-11T06:14:58.717Z] Merging remotes/origin/main commit 7840aa2a6988a424d7f9f25b5b8792b244d6e548 into PR head commit b046b792cd49ba6012780e889ec4390b4d411e42 [2022-01-11T06:14:58.011Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-11T06:14:58.034Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-11T06:14:58.065Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-11T06:14:58.100Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-11T06:14:58.101Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-11T06:14:58.113Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1079/head:refs/remotes/origin/PR-1079 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-11T06:14:58.732Z] > git config core.sparsecheckout # timeout=10 [2022-01-11T06:14:58.751Z] > git checkout -f b046b792cd49ba6012780e889ec4390b4d411e42 # timeout=10 [2022-01-11T06:14:58.852Z] > git remote # timeout=10 [2022-01-11T06:14:59.020Z] Merge succeeded, producing b046b792cd49ba6012780e889ec4390b4d411e42 [2022-01-11T06:14:59.021Z] Checking out Revision b046b792cd49ba6012780e889ec4390b4d411e42 (PR-1079) [2022-01-11T06:14:59.360Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.828s coverage: 89.2% of statements [2022-01-11T06:14:59.360Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-11T06:14:59.360Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.045s coverage: 4.8% of statements [2022-01-11T06:14:59.360Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-11T06:14:58.911Z] > git config --get remote.origin.url # timeout=10 [2022-01-11T06:14:58.931Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-11T06:14:58.947Z] > git merge 7840aa2a6988a424d7f9f25b5b8792b244d6e548 # timeout=10 [2022-01-11T06:14:58.990Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-11T06:14:59.025Z] > git config core.sparsecheckout # timeout=10 [2022-01-11T06:14:59.050Z] > git checkout -f b046b792cd49ba6012780e889ec4390b4d411e42 # timeout=10 [2022-01-11T06:15:03.225Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-11T06:15:04.134Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-11T06:15:04.134Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-11T06:15:04.134Z] Dload Upload Total Spent Left Speed [2022-01-11T06:15:04.134Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 57212 0 --:--:-- --:--:-- --:--:-- 57490 [Pipeline] sh [2022-01-11T06:15:04.676Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-11T06:15:05.019Z] + sudo tee /etc/docker/daemon.new [2022-01-11T06:15:05.019Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-11T06:15:05.019Z] { [2022-01-11T06:15:05.019Z] "registry-mirrors": [ [2022-01-11T06:15:05.019Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-11T06:15:05.019Z] ], [2022-01-11T06:15:05.019Z] "bip": "10.250.0.254/24", [2022-01-11T06:15:05.019Z] "hosts": [ [2022-01-11T06:15:05.019Z] "tcp://0.0.0.0:5555", [2022-01-11T06:15:05.019Z] "unix:///var/run/docker.sock" [2022-01-11T06:15:05.019Z] ], [2022-01-11T06:15:05.019Z] "mtu": 1458, [2022-01-11T06:15:05.019Z] "selinux-enabled": true, [2022-01-11T06:15:05.019Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-11T06:15:05.019Z] } [Pipeline] sh [2022-01-11T06:15:05.362Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-11T06:15:05.728Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-11T06:15:24.077Z] provisioning config files... [2022-01-11T06:15:24.101Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config3279352025556064296tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T06:15:24.537Z] ---> docker-login.sh [2022-01-11T06:15:24.537Z] nexus3.edgexfoundry.org:10001 [2022-01-11T06:15:25.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T06:15:25.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T06:15:25.402Z] Configure a credential helper to remove this warning. See [2022-01-11T06:15:25.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T06:15:25.402Z] [2022-01-11T06:15:25.402Z] Login Succeeded [2022-01-11T06:15:25.402Z] nexus3.edgexfoundry.org:10002 [2022-01-11T06:15:25.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T06:15:25.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T06:15:25.677Z] Configure a credential helper to remove this warning. See [2022-01-11T06:15:25.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T06:15:25.677Z] [2022-01-11T06:15:25.677Z] Login Succeeded [2022-01-11T06:15:25.677Z] nexus3.edgexfoundry.org:10003 [2022-01-11T06:15:26.085Z] GO111MODULE=on go vet ./... [2022-01-11T06:15:26.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T06:15:26.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T06:15:26.272Z] Configure a credential helper to remove this warning. See [2022-01-11T06:15:26.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T06:15:26.272Z] [2022-01-11T06:15:26.272Z] Login Succeeded [2022-01-11T06:15:26.272Z] nexus3.edgexfoundry.org:10004 [2022-01-11T06:15:26.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T06:15:26.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T06:15:26.547Z] Configure a credential helper to remove this warning. See [2022-01-11T06:15:26.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T06:15:26.547Z] [2022-01-11T06:15:26.547Z] Login Succeeded [2022-01-11T06:15:26.547Z] docker.io [2022-01-11T06:15:27.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T06:15:27.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T06:15:27.413Z] Configure a credential helper to remove this warning. See [2022-01-11T06:15:27.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T06:15:27.413Z] [2022-01-11T06:15:27.413Z] Login Succeeded [2022-01-11T06:15:27.413Z] ---> docker-login.sh ends [Pipeline] } [2022-01-11T06:15:27.430Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-11T06:15:27.905Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-11T06:15:27.920Z] ========================================================= [2022-01-11T06:15:27.920Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2022-01-11T06:15:27.920Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-11T06:15:28.260Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2022-01-11T06:15:28.533Z] Sending build context to Docker daemon 5.04MB [2022-01-11T06:15:28.809Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-01-11T06:15:28.809Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-11T06:15:28.809Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-11T06:15:28.809Z] 552d1f2373af: Pulling fs layer [2022-01-11T06:15:28.809Z] ea3f2d53f512: Pulling fs layer [2022-01-11T06:15:28.809Z] 9e70ebbbe112: Pulling fs layer [2022-01-11T06:15:28.809Z] 7a9cfe048b4a: Pulling fs layer [2022-01-11T06:15:28.809Z] 72dc09318566: Pulling fs layer [2022-01-11T06:15:28.809Z] f4f7b4309257: Pulling fs layer [2022-01-11T06:15:28.809Z] 0ac9a79272e3: Pulling fs layer [2022-01-11T06:15:28.809Z] b78e95d17946: Pulling fs layer [2022-01-11T06:15:28.809Z] f4f7b4309257: Waiting [2022-01-11T06:15:28.809Z] 0ac9a79272e3: Waiting [2022-01-11T06:15:28.809Z] b78e95d17946: Waiting [2022-01-11T06:15:28.809Z] 7a9cfe048b4a: Waiting [2022-01-11T06:15:28.809Z] 72dc09318566: Waiting [2022-01-11T06:15:28.809Z] 9e70ebbbe112: Download complete [2022-01-11T06:15:28.809Z] ea3f2d53f512: Verifying Checksum [2022-01-11T06:15:28.809Z] ea3f2d53f512: Download complete [2022-01-11T06:15:28.809Z] 72dc09318566: Verifying Checksum [2022-01-11T06:15:28.809Z] 72dc09318566: Download complete [2022-01-11T06:15:29.082Z] f4f7b4309257: Verifying Checksum [2022-01-11T06:15:29.082Z] f4f7b4309257: Download complete [2022-01-11T06:15:29.082Z] 552d1f2373af: Download complete [2022-01-11T06:15:29.082Z] 0ac9a79272e3: Verifying Checksum [2022-01-11T06:15:29.082Z] 0ac9a79272e3: Download complete [2022-01-11T06:15:29.680Z] 552d1f2373af: Pull complete [2022-01-11T06:15:30.277Z] ea3f2d53f512: Pull complete [2022-01-11T06:15:30.553Z] 9e70ebbbe112: Pull complete [2022-01-11T06:15:30.827Z] b78e95d17946: Verifying Checksum [2022-01-11T06:15:30.827Z] b78e95d17946: Download complete [2022-01-11T06:15:31.420Z] 7a9cfe048b4a: Verifying Checksum [2022-01-11T06:15:31.420Z] 7a9cfe048b4a: Download complete [2022-01-11T06:15:31.474Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-11T06:15:31.474Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-11T06:15:31.474Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-11T06:15:32.061Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-11T06:15:32.076Z] $ docker stop --time=1 412656b7b4faa3afe3d2220f17b8de605d3fa871b44806f9bed143e6bc034c86 [2022-01-11T06:15:33.512Z] $ docker rm -f 412656b7b4faa3afe3d2220f17b8de605d3fa871b44806f9bed143e6bc034c86 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-11T06:15:34.030Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-11T06:15:34.208Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-11T06:15:34.785Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-11T06:15:35.075Z] + ls -al . [2022-01-11T06:15:35.075Z] total 268 [2022-01-11T06:15:35.075Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 11 06:15 . [2022-01-11T06:15:35.075Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 11 06:13 .. [2022-01-11T06:15:35.075Z] drwxrwxr-x. 2 jenkins jenkins 37 Jan 11 06:13 bin [2022-01-11T06:15:35.075Z] -rw-rw-r--. 1 jenkins jenkins 26321 Jan 11 06:13 CHANGELOG.md [2022-01-11T06:15:35.075Z] -rw-r--r--. 1 jenkins jenkins 128667 Jan 11 06:14 coverage.out [2022-01-11T06:15:35.075Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 11 06:13 .dockerignore [2022-01-11T06:15:35.075Z] drwxrwxr-x. 5 jenkins jenkins 62 Jan 11 06:13 example [2022-01-11T06:15:35.075Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 11 06:13 .git [2022-01-11T06:15:35.075Z] drwxrwxr-x. 3 jenkins jenkins 125 Jan 11 06:13 .github [2022-01-11T06:15:35.075Z] -rw-rw-r--. 1 jenkins jenkins 131 Jan 11 06:13 .gitignore [2022-01-11T06:15:35.075Z] -rw-rw-r--. 1 jenkins jenkins 42 Jan 11 06:13 .golangci.yml [2022-01-11T06:15:35.075Z] -rw-rw-r--. 1 jenkins jenkins 582 Jan 11 06:13 go.mod [2022-01-11T06:15:35.075Z] -rw-rw-r--. 1 jenkins jenkins 48958 Jan 11 06:13 go.sum [2022-01-11T06:15:35.075Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 11 06:13 GOVERNANCE.md [2022-01-11T06:15:35.075Z] drwxrwxr-x. 15 jenkins jenkins 224 Jan 11 06:13 internal [2022-01-11T06:15:35.075Z] -rw-rw-r--. 1 jenkins jenkins 880 Jan 11 06:13 Jenkinsfile [2022-01-11T06:15:35.075Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 11 06:13 LICENSE [2022-01-11T06:15:35.075Z] -rw-rw-r--. 1 jenkins jenkins 1590 Jan 11 06:13 Makefile [2022-01-11T06:15:35.075Z] drwxrwxr-x. 3 jenkins jenkins 16 Jan 11 06:13 openapi [2022-01-11T06:15:35.075Z] -rw-rw-r--. 1 jenkins jenkins 619 Jan 11 06:13 OWNERS.md [2022-01-11T06:15:35.075Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 11 06:13 pkg [2022-01-11T06:15:35.075Z] -rw-rw-r--. 1 jenkins jenkins 4881 Jan 11 06:13 README.md [2022-01-11T06:15:35.075Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 11 06:13 snap [2022-01-11T06:15:35.075Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 11 06:11 VERSION [2022-01-11T06:15:35.075Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 11 06:13 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-11T06:15:35.380Z] + 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=b046b792cd49ba6012780e889ec4390b4d411e42 --label arch=amd64 --label version=0.0.0 . [2022-01-11T06:15:35.380Z] Sending build context to Docker daemon 5.17MB [2022-01-11T06:15:35.380Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-01-11T06:15:35.380Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-11T06:15:35.380Z] ---> 5e8d74037b55 [2022-01-11T06:15:35.380Z] Step 3/24 : ARG MAKE=make build [2022-01-11T06:15:35.645Z] ---> Running in 8a95a45832c9 [2022-01-11T06:15:35.645Z] Removing intermediate container 8a95a45832c9 [2022-01-11T06:15:35.645Z] ---> d8148b90f607 [2022-01-11T06:15:35.645Z] Step 4/24 : WORKDIR /device-sdk-go [2022-01-11T06:15:35.645Z] ---> Running in b5bfd3d15860 [2022-01-11T06:15:35.645Z] Removing intermediate container b5bfd3d15860 [2022-01-11T06:15:35.645Z] ---> a4914f8191a4 [2022-01-11T06:15:35.645Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-11T06:15:35.645Z] ---> Running in b81adb299189 [2022-01-11T06:15:35.909Z] Removing intermediate container b81adb299189 [2022-01-11T06:15:35.909Z] ---> 5587dc8eaf29 [2022-01-11T06:15:35.909Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-11T06:15:35.909Z] ---> Running in 70ce1273b562 [2022-01-11T06:15:36.488Z] Removing intermediate container 70ce1273b562 [2022-01-11T06:15:36.488Z] ---> f1a4eeb024ab [2022-01-11T06:15:36.488Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-11T06:15:36.488Z] ---> Running in 6e99b6f0f9c2 [2022-01-11T06:15:36.749Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-11T06:15:37.697Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-11T06:15:37.960Z] OK: 220 MiB in 52 packages [2022-01-11T06:15:37.960Z] Removing intermediate container 6e99b6f0f9c2 [2022-01-11T06:15:37.960Z] ---> 202ab1b8ae29 [2022-01-11T06:15:37.960Z] Step 8/24 : COPY . . [2022-01-11T06:15:38.537Z] ---> 87444d00ca72 [2022-01-11T06:15:38.537Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-11T06:15:38.537Z] ---> Running in 2fe5875ea7ae [2022-01-11T06:15:39.111Z] Removing intermediate container 2fe5875ea7ae [2022-01-11T06:15:39.111Z] ---> a188a881001b [2022-01-11T06:15:39.111Z] Step 10/24 : RUN ${MAKE} [2022-01-11T06:15:39.111Z] ---> Running in 4f09a1c78d44 [2022-01-11T06:15:39.381Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-01-11T06:15:43.806Z] 7a9cfe048b4a: Pull complete [2022-01-11T06:15:43.806Z] 72dc09318566: Pull complete [2022-01-11T06:15:43.806Z] f4f7b4309257: Pull complete [2022-01-11T06:15:43.806Z] 0ac9a79272e3: Pull complete [2022-01-11T06:15:49.237Z] b78e95d17946: Pull complete [2022-01-11T06:15:49.237Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2022-01-11T06:15:49.237Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-11T06:15:49.237Z] ---> 8b459fc5aaf0 [2022-01-11T06:15:49.237Z] Step 3/10 : ARG MAKE=make build [2022-01-11T06:15:50.217Z] ---> Running in a9be01c5a1a8 [2022-01-11T06:15:50.814Z] Removing intermediate container a9be01c5a1a8 [2022-01-11T06:15:50.814Z] ---> 6b3514696188 [2022-01-11T06:15:50.814Z] Step 4/10 : WORKDIR /device-sdk-go [2022-01-11T06:15:50.814Z] ---> Running in 577f40da2678 [2022-01-11T06:15:51.413Z] Removing intermediate container 577f40da2678 [2022-01-11T06:15:51.413Z] ---> 0fcef5f6fdb3 [2022-01-11T06:15:51.413Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-11T06:15:51.413Z] ---> Running in e55530379712 [2022-01-11T06:15:51.686Z] Removing intermediate container e55530379712 [2022-01-11T06:15:51.686Z] ---> da31e8cf217a [2022-01-11T06:15:51.686Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-11T06:15:51.690Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-11T06:15:51.690Z] Removing intermediate container 4f09a1c78d44 [2022-01-11T06:15:51.690Z] ---> a52694e56ff2 [2022-01-11T06:15:51.690Z] Step 11/24 : FROM alpine:3.14 [2022-01-11T06:15:51.961Z] ---> Running in 0a72f2fbebac [2022-01-11T06:15:52.263Z] 3.14: Pulling from library/alpine [2022-01-11T06:15:52.525Z] 97518928ae5f: Pulling fs layer [2022-01-11T06:15:52.525Z] 97518928ae5f: Verifying Checksum [2022-01-11T06:15:52.525Z] 97518928ae5f: Download complete [2022-01-11T06:15:52.786Z] 97518928ae5f: Pull complete [2022-01-11T06:15:52.786Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-11T06:15:52.786Z] Status: Downloaded newer image for alpine:3.14 [2022-01-11T06:15:52.786Z] ---> 0a97eee8041e [2022-01-11T06:15:52.786Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-11T06:15:53.052Z] ---> Running in b7ebbdec69ca [2022-01-11T06:15:53.052Z] Removing intermediate container b7ebbdec69ca [2022-01-11T06:15:53.052Z] ---> 36542f66b5fd [2022-01-11T06:15:53.052Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-11T06:15:53.052Z] ---> Running in c2a2b476f35c [2022-01-11T06:15:53.641Z] Removing intermediate container c2a2b476f35c [2022-01-11T06:15:53.641Z] ---> 43df8e37ab29 [2022-01-11T06:15:53.641Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2022-01-11T06:15:53.641Z] ---> Running in 0a3a552356bc [2022-01-11T06:15:53.906Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-11T06:15:53.934Z] Removing intermediate container 0a72f2fbebac [2022-01-11T06:15:53.934Z] ---> 44f82eb4f2f2 [2022-01-11T06:15:53.934Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-11T06:15:53.934Z] ---> Running in 70570e1b04fb [2022-01-11T06:15:54.851Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-11T06:15:54.909Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-11T06:15:55.113Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-11T06:15:55.113Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-11T06:15:55.113Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-11T06:15:55.375Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-11T06:15:55.375Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-11T06:15:55.375Z] Executing busybox-1.33.1-r6.trigger [2022-01-11T06:15:55.375Z] OK: 8 MiB in 19 packages [2022-01-11T06:15:55.637Z] Removing intermediate container 0a3a552356bc [2022-01-11T06:15:55.637Z] ---> b378089c2e52 [2022-01-11T06:15:55.637Z] Step 15/24 : WORKDIR / [2022-01-11T06:15:55.884Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-11T06:15:55.897Z] ---> Running in e90715bfe70b [2022-01-11T06:15:55.897Z] Removing intermediate container e90715bfe70b [2022-01-11T06:15:55.897Z] ---> 33b622b3e570 [2022-01-11T06:15:55.897Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-11T06:15:56.160Z] ---> daf54129bf28 [2022-01-11T06:15:56.160Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-11T06:15:56.421Z] ---> 656cbeed9f05 [2022-01-11T06:15:56.421Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-11T06:15:56.477Z] OK: 219 MiB in 52 packages [2022-01-11T06:15:56.683Z] ---> 13a8003accc9 [2022-01-11T06:15:56.684Z] Step 19/24 : EXPOSE 59999 [2022-01-11T06:15:56.684Z] ---> Running in 4c68f8e40811 [2022-01-11T06:15:56.684Z] Removing intermediate container 4c68f8e40811 [2022-01-11T06:15:56.684Z] ---> 7736e99f7cc2 [2022-01-11T06:15:56.684Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2022-01-11T06:15:56.684Z] ---> Running in d746b961aa9a [2022-01-11T06:15:56.945Z] Removing intermediate container d746b961aa9a [2022-01-11T06:15:56.945Z] ---> 86dd36f9d2c4 [2022-01-11T06:15:56.945Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-11T06:15:56.945Z] ---> Running in bd1df470abae [2022-01-11T06:15:56.945Z] Removing intermediate container bd1df470abae [2022-01-11T06:15:56.945Z] ---> ebe00e4215d4 [2022-01-11T06:15:56.945Z] Step 22/24 : LABEL arch=amd64 [2022-01-11T06:15:56.945Z] ---> Running in 2ed92fcebb4f [2022-01-11T06:15:56.945Z] Removing intermediate container 2ed92fcebb4f [2022-01-11T06:15:56.945Z] ---> 741a4af80c77 [2022-01-11T06:15:56.945Z] Step 23/24 : LABEL git_sha=b046b792cd49ba6012780e889ec4390b4d411e42 [2022-01-11T06:15:57.206Z] ---> Running in b40140c96bb5 [2022-01-11T06:15:57.206Z] Removing intermediate container b40140c96bb5 [2022-01-11T06:15:57.206Z] ---> 45a739428288 [2022-01-11T06:15:57.206Z] Step 24/24 : LABEL version=0.0.0 [2022-01-11T06:15:57.206Z] ---> Running in 9737720bde0b [2022-01-11T06:15:57.206Z] Removing intermediate container 9737720bde0b [2022-01-11T06:15:57.206Z] ---> 19e76b9db22d [2022-01-11T06:15:57.206Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-11T06:15:57.206Z] Successfully built 19e76b9db22d [2022-01-11T06:15:57.206Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-11T06:15:57.550Z] Removing intermediate container 70570e1b04fb [2022-01-11T06:15:57.550Z] ---> a9a237c072a1 [2022-01-11T06:15:57.550Z] Step 8/10 : COPY . . [2022-01-11T06:15:57.661Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T06:15:57.661Z] [2022-01-11T06:15:57.661Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-11T06:15:57.970Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T06:15:57.970Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-11T06:15:57.970Z] b4d181a07f80: Pulling fs layer [2022-01-11T06:15:57.970Z] a1111a8f2ec3: Pulling fs layer [2022-01-11T06:15:57.970Z] ed53099fbce6: Pulling fs layer [2022-01-11T06:15:57.970Z] dc539afda2c1: Pulling fs layer [2022-01-11T06:15:57.970Z] 77bc0d833cb6: Pulling fs layer [2022-01-11T06:15:57.970Z] 9065ff56babe: Pulling fs layer [2022-01-11T06:15:57.970Z] d287ab97295c: Pulling fs layer [2022-01-11T06:15:57.970Z] dc539afda2c1: Waiting [2022-01-11T06:15:57.970Z] 77bc0d833cb6: Waiting [2022-01-11T06:15:57.970Z] 9065ff56babe: Waiting [2022-01-11T06:15:57.970Z] d287ab97295c: Waiting [2022-01-11T06:15:57.970Z] a1111a8f2ec3: Verifying Checksum [2022-01-11T06:15:57.970Z] a1111a8f2ec3: Download complete [2022-01-11T06:15:57.970Z] dc539afda2c1: Verifying Checksum [2022-01-11T06:15:57.970Z] dc539afda2c1: Download complete [2022-01-11T06:15:58.248Z] ed53099fbce6: Verifying Checksum [2022-01-11T06:15:58.248Z] ed53099fbce6: Download complete [2022-01-11T06:15:58.248Z] 9065ff56babe: Verifying Checksum [2022-01-11T06:15:58.248Z] 9065ff56babe: Download complete [2022-01-11T06:15:58.248Z] 77bc0d833cb6: Verifying Checksum [2022-01-11T06:15:58.248Z] 77bc0d833cb6: Download complete [2022-01-11T06:15:58.248Z] b4d181a07f80: Verifying Checksum [2022-01-11T06:15:58.248Z] b4d181a07f80: Download complete [2022-01-11T06:15:58.530Z] ---> 3c0f8f9f5722 [2022-01-11T06:15:58.530Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-11T06:15:58.808Z] ---> Running in fb1bab7964f6 [2022-01-11T06:15:58.827Z] d287ab97295c: Verifying Checksum [2022-01-11T06:15:58.827Z] d287ab97295c: Download complete [2022-01-11T06:15:59.793Z] b4d181a07f80: Pull complete [2022-01-11T06:16:00.067Z] a1111a8f2ec3: Pull complete [2022-01-11T06:16:00.647Z] ed53099fbce6: Pull complete [2022-01-11T06:16:00.647Z] dc539afda2c1: Pull complete [2022-01-11T06:16:00.918Z] 77bc0d833cb6: Pull complete [2022-01-11T06:16:01.186Z] 9065ff56babe: Pull complete [2022-01-11T06:16:06.526Z] d287ab97295c: Pull complete [2022-01-11T06:16:06.526Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-11T06:16:06.526Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T06:16:06.526Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-11T06:16:06.625Z] prd-centos7-docker-4c-2g-1208 does not seem to be running inside a container [2022-01-11T06:16:06.671Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-11T06:16:09.224Z] $ docker top b5ac5c9d1a8792e6dd3bcb7db3f9889146146e9b367a635bcb273e7ae7857f89 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T06:16:09.642Z] ---> job-cost.sh [2022-01-11T06:16:09.642Z] lf-activate-venv: SKIPPING [2022-01-11T06:16:09.642Z] INFO: No Stack... [2022-01-11T06:16:09.904Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-11T06:16:10.166Z] INFO: Archiving Costs [Pipeline] sh [2022-01-11T06:16:10.468Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2022-01-11T06:16:10.469Z] + cut -d, -f6 [Pipeline] lock [2022-01-11T06:16:10.509Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1079-3-stack-cost] [2022-01-11T06:16:10.517Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1079-3-stack-cost] did not exist. Created. [2022-01-11T06:16:10.517Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1079-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-11T06:16:10.829Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-11T06:16:10.870Z] Stashed 1 file(s) [Pipeline] } [2022-01-11T06:16:10.876Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1079-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-11T06:16:10.893Z] $ docker stop --time=1 b5ac5c9d1a8792e6dd3bcb7db3f9889146146e9b367a635bcb273e7ae7857f89 [2022-01-11T06:16:12.054Z] $ docker rm -f b5ac5c9d1a8792e6dd3bcb7db3f9889146146e9b367a635bcb273e7ae7857f89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-11T06:17:20.588Z] Removing intermediate container fb1bab7964f6 [2022-01-11T06:17:20.588Z] ---> 70497ffbbc3d [2022-01-11T06:17:20.588Z] Step 10/10 : RUN ${MAKE} [2022-01-11T06:17:20.588Z] ---> Running in b7454fe960ab [2022-01-11T06:17:20.588Z] noop [2022-01-11T06:17:20.588Z] Removing intermediate container b7454fe960ab [2022-01-11T06:17:20.588Z] ---> 6c96275bf79e [2022-01-11T06:17:20.588Z] Successfully built 6c96275bf79e [2022-01-11T06:17:20.588Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-11T06:17:20.925Z] + docker inspect -f . ci-base-image-arm64 [2022-01-11T06:17:20.925Z] . [Pipeline] withDockerContainer [2022-01-11T06:17:21.120Z] prd-ubuntu18.04-docker-arm64-4c-16g-1209 does not seem to be running inside a container [2022-01-11T06:17:21.192Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-11T06:17:22.384Z] $ docker top 2886fbbe79b3bc311c03dfd73d46c3a05e4948e152f958268be42c09a8ecc842 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-11T06:17:23.242Z] + go version [2022-01-11T06:17:23.242Z] go version go1.16.8 linux/arm64 [Pipeline] } [2022-01-11T06:17:23.262Z] $ docker stop --time=1 2886fbbe79b3bc311c03dfd73d46c3a05e4948e152f958268be42c09a8ecc842 [2022-01-11T06:17:24.844Z] $ docker rm -f 2886fbbe79b3bc311c03dfd73d46c3a05e4948e152f958268be42c09a8ecc842 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-11T06:17:25.425Z] + docker inspect -f . ci-base-image-arm64 [2022-01-11T06:17:25.425Z] . [Pipeline] withDockerContainer [2022-01-11T06:17:25.616Z] prd-ubuntu18.04-docker-arm64-4c-16g-1209 does not seem to be running inside a container [2022-01-11T06:17:25.687Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-11T06:17:26.938Z] $ docker top 676eec318e14d684f8868bb965d0d75dd8fd857ec81e88ed5c6bb2b44fca9a89 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-11T06:17:27.816Z] + make test [2022-01-11T06:17:27.816Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-11T06:17:54.596Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-11T06:19:02.652Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-11T06:19:02.652Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-11T06:19:02.652Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-11T06:19:17.764Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.305s coverage: 23.3% of statements [2022-01-11T06:19:17.764Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-11T06:19:17.764Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.346s coverage: 27.6% of statements [2022-01-11T06:19:17.764Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.250s coverage: 78.9% of statements [2022-01-11T06:19:17.764Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.195s coverage: 9.0% of statements [2022-01-11T06:19:17.764Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-11T06:19:17.764Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-11T06:19:17.764Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-11T06:19:17.764Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.307s coverage: 28.7% of statements [2022-01-11T06:19:17.764Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-11T06:19:17.764Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.243s coverage: 86.1% of statements [2022-01-11T06:19:17.764Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-11T06:19:17.764Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-11T06:19:17.764Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.367s coverage: 57.4% of statements [2022-01-11T06:19:23.188Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.247s coverage: 89.2% of statements [2022-01-11T06:19:23.188Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-11T06:19:23.189Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.210s coverage: 4.8% of statements [2022-01-11T06:19:23.189Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-11T06:19:23.189Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-01-11T06:19:23.189Z] GO111MODULE=on go vet ./... [2022-01-11T06:20:19.752Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-11T06:20:19.752Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-11T06:20:19.752Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-11T06:20:21.208Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-11T06:20:21.217Z] $ docker stop --time=1 676eec318e14d684f8868bb965d0d75dd8fd857ec81e88ed5c6bb2b44fca9a89 [2022-01-11T06:20:23.060Z] $ docker rm -f 676eec318e14d684f8868bb965d0d75dd8fd857ec81e88ed5c6bb2b44fca9a89 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-11T06:20:24.197Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-11T06:20:24.216Z] Warning: overwriting stash ‘coverage-report’ [2022-01-11T06:20:25.005Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-11T06:20:25.426Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-11T06:20:25.802Z] + ls -al . [2022-01-11T06:20:25.802Z] total 304 [2022-01-11T06:20:25.802Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 06:20 . [2022-01-11T06:20:25.802Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 06:14 .. [2022-01-11T06:20:25.802Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 06:14 .dockerignore [2022-01-11T06:20:25.802Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 06:15 .git [2022-01-11T06:20:25.802Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 06:14 .github [2022-01-11T06:20:25.802Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 11 06:14 .gitignore [2022-01-11T06:20:25.802Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 11 06:14 .golangci.yml [2022-01-11T06:20:25.802Z] -rw-rw-r-- 1 jenkins jenkins 26321 Jan 11 06:14 CHANGELOG.md [2022-01-11T06:20:25.802Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 06:14 GOVERNANCE.md [2022-01-11T06:20:25.802Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 11 06:14 Jenkinsfile [2022-01-11T06:20:25.802Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 11 06:14 LICENSE [2022-01-11T06:20:25.802Z] -rw-rw-r-- 1 jenkins jenkins 1590 Jan 11 06:14 Makefile [2022-01-11T06:20:25.802Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 11 06:14 OWNERS.md [2022-01-11T06:20:25.802Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jan 11 06:14 README.md [2022-01-11T06:20:25.802Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 06:11 VERSION [2022-01-11T06:20:25.802Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 06:14 bin [2022-01-11T06:20:25.802Z] -rw-r--r-- 1 jenkins jenkins 128667 Jan 11 06:19 coverage.out [2022-01-11T06:20:25.802Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 11 06:14 example [2022-01-11T06:20:25.802Z] -rw-rw-r-- 1 jenkins jenkins 582 Jan 11 06:14 go.mod [2022-01-11T06:20:25.802Z] -rw-rw-r-- 1 jenkins jenkins 48958 Jan 11 06:14 go.sum [2022-01-11T06:20:25.802Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 11 06:14 internal [2022-01-11T06:20:25.802Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 06:14 openapi [2022-01-11T06:20:25.802Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 11 06:14 pkg [2022-01-11T06:20:25.802Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 06:14 snap [2022-01-11T06:20:25.802Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 11 06:14 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-11T06:20:26.184Z] + 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=b046b792cd49ba6012780e889ec4390b4d411e42 --label arch=arm64 --label version=0.0.0 . [2022-01-11T06:20:26.800Z] Sending build context to Docker daemon 5.169MB [2022-01-11T06:20:26.800Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-01-11T06:20:26.800Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-11T06:20:26.800Z] ---> 6c96275bf79e [2022-01-11T06:20:26.800Z] Step 3/24 : ARG MAKE=make build [2022-01-11T06:20:26.800Z] ---> Running in 4087f693fdc9 [2022-01-11T06:20:27.416Z] Removing intermediate container 4087f693fdc9 [2022-01-11T06:20:27.416Z] ---> 26bc59d854d6 [2022-01-11T06:20:27.416Z] Step 4/24 : WORKDIR /device-sdk-go [2022-01-11T06:20:27.416Z] ---> Running in 0b4510c04f9f [2022-01-11T06:20:27.687Z] Removing intermediate container 0b4510c04f9f [2022-01-11T06:20:27.687Z] ---> 8858cb29888c [2022-01-11T06:20:27.687Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-11T06:20:27.960Z] ---> Running in d1401132327b [2022-01-11T06:20:28.233Z] Removing intermediate container d1401132327b [2022-01-11T06:20:28.233Z] ---> 063fd533a214 [2022-01-11T06:20:28.233Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-11T06:20:28.233Z] ---> Running in c12d912775ad [2022-01-11T06:20:30.215Z] Removing intermediate container c12d912775ad [2022-01-11T06:20:30.215Z] ---> e19bd0be8d5e [2022-01-11T06:20:30.215Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-11T06:20:30.215Z] ---> Running in 554c8e3accdd [2022-01-11T06:20:31.194Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-11T06:20:32.171Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-11T06:20:33.153Z] OK: 219 MiB in 52 packages [2022-01-11T06:20:33.755Z] Removing intermediate container 554c8e3accdd [2022-01-11T06:20:33.755Z] ---> 6931b2435ae2 [2022-01-11T06:20:33.755Z] Step 8/24 : COPY . . [2022-01-11T06:20:35.186Z] ---> 9e90e257c8fa [2022-01-11T06:20:35.186Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-11T06:20:35.186Z] ---> Running in c27b9eb9054e [2022-01-11T06:20:37.807Z] Removing intermediate container c27b9eb9054e [2022-01-11T06:20:37.807Z] ---> 5a2f97826f30 [2022-01-11T06:20:37.807Z] Step 10/24 : RUN ${MAKE} [2022-01-11T06:20:37.807Z] ---> Running in 9474c38d2f3a [2022-01-11T06:20:38.405Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-01-11T06:21:17.408Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-11T06:21:17.408Z] Removing intermediate container 9474c38d2f3a [2022-01-11T06:21:17.408Z] ---> 8409d0488070 [2022-01-11T06:21:17.408Z] Step 11/24 : FROM alpine:3.14 [2022-01-11T06:21:18.003Z] 3.14: Pulling from library/alpine [2022-01-11T06:21:18.275Z] be307f383ecc: Pulling fs layer [2022-01-11T06:21:18.546Z] be307f383ecc: Download complete [2022-01-11T06:21:19.146Z] be307f383ecc: Pull complete [2022-01-11T06:21:19.146Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-11T06:21:19.146Z] Status: Downloaded newer image for alpine:3.14 [2022-01-11T06:21:19.146Z] ---> 5b8b7b635229 [2022-01-11T06:21:19.146Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-11T06:21:19.146Z] ---> Running in b2d7f9112606 [2022-01-11T06:21:19.740Z] Removing intermediate container b2d7f9112606 [2022-01-11T06:21:19.740Z] ---> d444d2265cd8 [2022-01-11T06:21:19.740Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-11T06:21:19.740Z] ---> Running in 9378a225c6ce [2022-01-11T06:21:21.713Z] Removing intermediate container 9378a225c6ce [2022-01-11T06:21:21.713Z] ---> 29bf99dc7c10 [2022-01-11T06:21:21.713Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2022-01-11T06:21:21.713Z] ---> Running in 222c34af6cc7 [2022-01-11T06:21:22.691Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-11T06:21:23.667Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-11T06:21:24.641Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-11T06:21:24.641Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-11T06:21:24.641Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-11T06:21:24.913Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-11T06:21:24.913Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-11T06:21:25.186Z] Executing busybox-1.33.1-r6.trigger [2022-01-11T06:21:25.186Z] OK: 8 MiB in 19 packages [2022-01-11T06:21:26.170Z] Removing intermediate container 222c34af6cc7 [2022-01-11T06:21:26.170Z] ---> 09f156350ddf [2022-01-11T06:21:26.170Z] Step 15/24 : WORKDIR / [2022-01-11T06:21:26.170Z] ---> Running in 75cbd257429c [2022-01-11T06:21:26.768Z] Removing intermediate container 75cbd257429c [2022-01-11T06:21:26.768Z] ---> 5eaf7c200684 [2022-01-11T06:21:26.768Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-11T06:21:27.364Z] ---> 9e80320d477f [2022-01-11T06:21:27.364Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-11T06:21:28.340Z] ---> 25332b3b961c [2022-01-11T06:21:28.340Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-11T06:21:29.318Z] ---> 2a63fc9580b3 [2022-01-11T06:21:29.318Z] Step 19/24 : EXPOSE 59999 [2022-01-11T06:21:29.318Z] ---> Running in 033217d0b265 [2022-01-11T06:21:29.590Z] Removing intermediate container 033217d0b265 [2022-01-11T06:21:29.590Z] ---> 568bc739f91c [2022-01-11T06:21:29.590Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2022-01-11T06:21:29.590Z] ---> Running in 864906a32cf9 [2022-01-11T06:21:30.184Z] Removing intermediate container 864906a32cf9 [2022-01-11T06:21:30.184Z] ---> 34d130e0164f [2022-01-11T06:21:30.184Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-11T06:21:30.184Z] ---> Running in 187b0a6daacc [2022-01-11T06:21:30.457Z] Removing intermediate container 187b0a6daacc [2022-01-11T06:21:30.457Z] ---> dbf58835f99b [2022-01-11T06:21:30.457Z] Step 22/24 : LABEL arch=arm64 [2022-01-11T06:21:30.742Z] ---> Running in 0680eea77843 [2022-01-11T06:21:31.015Z] Removing intermediate container 0680eea77843 [2022-01-11T06:21:31.015Z] ---> 9e2339498a0c [2022-01-11T06:21:31.015Z] Step 23/24 : LABEL git_sha=b046b792cd49ba6012780e889ec4390b4d411e42 [2022-01-11T06:21:31.015Z] ---> Running in a38f280d560e [2022-01-11T06:21:31.286Z] Removing intermediate container a38f280d560e [2022-01-11T06:21:31.286Z] ---> 14ddd99759ea [2022-01-11T06:21:31.286Z] Step 24/24 : LABEL version=0.0.0 [2022-01-11T06:21:31.558Z] ---> Running in 2028519bd23c [2022-01-11T06:21:31.829Z] Removing intermediate container 2028519bd23c [2022-01-11T06:21:31.829Z] ---> 6d2ac73245f9 [2022-01-11T06:21:31.829Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-11T06:21:31.829Z] Successfully built 6d2ac73245f9 [2022-01-11T06:21:31.829Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-11T06:21:32.254Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-11T06:21:32.254Z] [2022-01-11T06:21:32.254Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-11T06:21:32.608Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-11T06:21:32.882Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-11T06:21:32.882Z] 448f6bf000e3: Pulling fs layer [2022-01-11T06:21:32.882Z] f757da607395: Pulling fs layer [2022-01-11T06:21:32.882Z] 05883995daec: Pulling fs layer [2022-01-11T06:21:32.882Z] 8603b9c90790: Pulling fs layer [2022-01-11T06:21:32.882Z] 1560dd03e051: Pulling fs layer [2022-01-11T06:21:32.882Z] 27f5ce0e4adf: Pulling fs layer [2022-01-11T06:21:32.882Z] c2d8d7efcc4b: Pulling fs layer [2022-01-11T06:21:32.882Z] 1560dd03e051: Waiting [2022-01-11T06:21:32.882Z] 8603b9c90790: Waiting [2022-01-11T06:21:32.882Z] 27f5ce0e4adf: Waiting [2022-01-11T06:21:32.882Z] c2d8d7efcc4b: Waiting [2022-01-11T06:21:32.882Z] f757da607395: Verifying Checksum [2022-01-11T06:21:32.882Z] f757da607395: Download complete [2022-01-11T06:21:32.882Z] 8603b9c90790: Verifying Checksum [2022-01-11T06:21:32.882Z] 8603b9c90790: Download complete [2022-01-11T06:21:33.160Z] 1560dd03e051: Verifying Checksum [2022-01-11T06:21:33.160Z] 1560dd03e051: Download complete [2022-01-11T06:21:33.160Z] 05883995daec: Verifying Checksum [2022-01-11T06:21:33.160Z] 27f5ce0e4adf: Verifying Checksum [2022-01-11T06:21:33.160Z] 27f5ce0e4adf: Download complete [2022-01-11T06:21:33.435Z] 448f6bf000e3: Verifying Checksum [2022-01-11T06:21:33.435Z] 448f6bf000e3: Download complete [2022-01-11T06:21:36.082Z] c2d8d7efcc4b: Verifying Checksum [2022-01-11T06:21:36.082Z] c2d8d7efcc4b: Download complete [2022-01-11T06:21:37.512Z] 448f6bf000e3: Pull complete [2022-01-11T06:21:37.784Z] f757da607395: Pull complete [2022-01-11T06:21:39.221Z] 05883995daec: Pull complete [2022-01-11T06:21:39.814Z] 8603b9c90790: Pull complete [2022-01-11T06:21:40.802Z] 1560dd03e051: Pull complete [2022-01-11T06:21:40.802Z] 27f5ce0e4adf: Pull complete [2022-01-11T06:21:55.870Z] c2d8d7efcc4b: Pull complete [2022-01-11T06:21:55.870Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-11T06:21:55.870Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-11T06:21:55.870Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-11T06:21:56.090Z] prd-ubuntu18.04-docker-arm64-4c-16g-1209 does not seem to be running inside a container [2022-01-11T06:21:56.165Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-11T06:21:58.985Z] $ docker top 907bd90bd1fe6289ee676949c2ddafe957c35fdfefe544e863b8ae486bada011 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T06:21:59.933Z] ---> job-cost.sh [2022-01-11T06:21:59.933Z] lf-activate-venv: SKIPPING [2022-01-11T06:21:59.933Z] INFO: No Stack... [2022-01-11T06:22:00.210Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-11T06:22:00.816Z] INFO: Archiving Costs [Pipeline] sh [2022-01-11T06:22:01.484Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2022-01-11T06:22:01.484Z] + cut -d, -f6 [Pipeline] lock [2022-01-11T06:22:01.546Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1079-3-stack-cost] [2022-01-11T06:22:01.559Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1079-3-stack-cost] did not exist. Created. [2022-01-11T06:22:01.559Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1079-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-11T06:22:02.230Z] /w/workspace/device-sdk-go/3@tmp/durable-2322a0b6/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-2322a0b6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-11T06:22:02.902Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-11T06:22:02.921Z] Warning: overwriting stash ‘stack-cost’ [2022-01-11T06:22:02.976Z] Stashed 1 file(s) [Pipeline] } [2022-01-11T06:22:02.985Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1079-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-11T06:22:03.003Z] $ docker stop --time=1 907bd90bd1fe6289ee676949c2ddafe957c35fdfefe544e863b8ae486bada011 [2022-01-11T06:22:04.493Z] $ docker rm -f 907bd90bd1fe6289ee676949c2ddafe957c35fdfefe544e863b8ae486bada011 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-01-11T06:22:04.926Z] provisioning config files... [2022-01-11T06:22:04.935Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1079@tmp/config9055491466467750188tmp [Pipeline] { [Pipeline] sh [2022-01-11T06:22:05.237Z] + set +x [2022-01-11T06:22:05.237Z] + curl -s https://codecov.io/bash [2022-01-11T06:22:05.237Z] + bash -s -- [2022-01-11T06:22:05.237Z] [2022-01-11T06:22:05.237Z] _____ _ [2022-01-11T06:22:05.237Z] / ____| | | [2022-01-11T06:22:05.237Z] | | ___ __| | ___ ___ _____ __ [2022-01-11T06:22:05.237Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-11T06:22:05.237Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-11T06:22:05.237Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-11T06:22:05.237Z] Bash-1.0.6 [2022-01-11T06:22:05.237Z] [2022-01-11T06:22:05.237Z] [2022-01-11T06:22:05.237Z] ==> git version 2.24.4 found [2022-01-11T06:22:05.237Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2022-01-11T06:22:05.237Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-11T06:22:05.237Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-11T06:22:05.237Z] ==> Jenkins CI detected. [2022-01-11T06:22:05.237Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1079 [2022-01-11T06:22:05.237Z] project root: . [2022-01-11T06:22:05.237Z] --> token set from env [2022-01-11T06:22:05.237Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-11T06:22:05.499Z] ==> Running gcov in . (disable via -X gcov) [2022-01-11T06:22:05.499Z] ==> Python coveragepy not found [2022-01-11T06:22:05.499Z] ==> Searching for coverage reports in: [2022-01-11T06:22:05.499Z] + . [2022-01-11T06:22:05.499Z] -> Found 1 reports [2022-01-11T06:22:05.499Z] ==> Detecting git/mercurial file structure [2022-01-11T06:22:05.499Z] ==> Reading reports [2022-01-11T06:22:05.499Z] + ./coverage.out bytes=128667 [2022-01-11T06:22:05.499Z] ==> Appending adjustments [2022-01-11T06:22:05.499Z] https://docs.codecov.io/docs/fixing-reports [2022-01-11T06:22:05.763Z] + Found adjustments [2022-01-11T06:22:05.763Z] ==> Gzipping contents [2022-01-11T06:22:05.763Z] 16K /tmp/codecov.Jc1Y3A.gz [2022-01-11T06:22:05.763Z] ==> Uploading reports [2022-01-11T06:22:05.763Z] url: https://codecov.io [2022-01-11T06:22:05.763Z] query: branch=PR-1079&commit=b046b792cd49ba6012780e889ec4390b4d411e42&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1079%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1079&job=&cmd_args= [2022-01-11T06:22:05.763Z] -> Pinging Codecov [2022-01-11T06:22:05.763Z] 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=b046b792cd49ba6012780e889ec4390b4d411e42&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1079%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1079&job=&cmd_args= [2022-01-11T06:22:06.025Z] -> Uploading to [2022-01-11T06:22:06.025Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-11/7E55EF52A471D76F132DFD9A03CDDE97/b046b792cd49ba6012780e889ec4390b4d411e42/e6200c97-c27c-404b-bc48-be3154b4b2f8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220111T062205Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e2b3b3cf01f4c6d6ef8c64b6256bdb3de4fdd3aa2194e0775641b8c4f7e750ec [2022-01-11T06:22:06.025Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-11T06:22:06.025Z] Dload Upload Total Spent Left Speed [2022-01-11T06:22:06.597Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16377 0 0 100 16377 0 46752 --:--:-- --:--:-- --:--:-- 46791 [2022-01-11T06:22:06.597Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b046b792cd49ba6012780e889ec4390b4d411e42 [Pipeline] } [2022-01-11T06:22:06.606Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-01-11T06:22:07.284Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1079/archives ']' [Pipeline] libraryResource [Pipeline] sh [2022-01-11T06:22:07.590Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T06:22:08.148Z] ---> package-listing.sh [2022-01-11T06:22:08.149Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-11T06:22:08.149Z] ++ facter osfamily [2022-01-11T06:22:08.410Z] + OS_FAMILY=redhat [2022-01-11T06:22:08.410Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1079 [2022-01-11T06:22:08.410Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-11T06:22:08.410Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-11T06:22:08.410Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-11T06:22:08.410Z] + PACKAGES=/tmp/packages_start.txt [2022-01-11T06:22:08.410Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1079 ']' [2022-01-11T06:22:08.410Z] + PACKAGES=/tmp/packages_end.txt [2022-01-11T06:22:08.410Z] + case "${OS_FAMILY}" in [2022-01-11T06:22:08.410Z] + rpm -qa [2022-01-11T06:22:08.410Z] + sort [2022-01-11T06:22:08.984Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-11T06:22:08.984Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-11T06:22:08.984Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-11T06:22:08.984Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1079 ']' [2022-01-11T06:22:08.984Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1079/archives/ [2022-01-11T06:22:08.984Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1079/archives/ [Pipeline] echo [2022-01-11T06:22:08.997Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1079/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-11T06:22:09.278Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-11T06:22:09.837Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T06:22:09.837Z] [2022-01-11T06:22:09.837Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-11T06:22:10.150Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T06:22:10.150Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-11T06:22:10.150Z] b4d181a07f80: Pulling fs layer [2022-01-11T06:22:10.150Z] a1111a8f2ec3: Pulling fs layer [2022-01-11T06:22:10.150Z] ed53099fbce6: Pulling fs layer [2022-01-11T06:22:10.150Z] dc539afda2c1: Pulling fs layer [2022-01-11T06:22:10.150Z] 77bc0d833cb6: Pulling fs layer [2022-01-11T06:22:10.150Z] 9065ff56babe: Pulling fs layer [2022-01-11T06:22:10.150Z] d287ab97295c: Pulling fs layer [2022-01-11T06:22:10.150Z] dc539afda2c1: Waiting [2022-01-11T06:22:10.150Z] 77bc0d833cb6: Waiting [2022-01-11T06:22:10.150Z] 9065ff56babe: Waiting [2022-01-11T06:22:10.150Z] d287ab97295c: Waiting [2022-01-11T06:22:10.150Z] a1111a8f2ec3: Verifying Checksum [2022-01-11T06:22:10.151Z] a1111a8f2ec3: Download complete [2022-01-11T06:22:10.151Z] dc539afda2c1: Verifying Checksum [2022-01-11T06:22:10.151Z] dc539afda2c1: Download complete [2022-01-11T06:22:10.151Z] ed53099fbce6: Verifying Checksum [2022-01-11T06:22:10.151Z] ed53099fbce6: Download complete [2022-01-11T06:22:10.151Z] 9065ff56babe: Verifying Checksum [2022-01-11T06:22:10.151Z] 9065ff56babe: Download complete [2022-01-11T06:22:10.417Z] 77bc0d833cb6: Verifying Checksum [2022-01-11T06:22:10.417Z] 77bc0d833cb6: Download complete [2022-01-11T06:22:10.417Z] b4d181a07f80: Verifying Checksum [2022-01-11T06:22:10.417Z] b4d181a07f80: Download complete [2022-01-11T06:22:10.999Z] d287ab97295c: Verifying Checksum [2022-01-11T06:22:10.999Z] d287ab97295c: Download complete [2022-01-11T06:22:11.953Z] b4d181a07f80: Pull complete [2022-01-11T06:22:11.953Z] a1111a8f2ec3: Pull complete [2022-01-11T06:22:12.909Z] ed53099fbce6: Pull complete [2022-01-11T06:22:12.909Z] dc539afda2c1: Pull complete [2022-01-11T06:22:13.172Z] 77bc0d833cb6: Pull complete [2022-01-11T06:22:13.172Z] 9065ff56babe: Pull complete [2022-01-11T06:22:18.492Z] d287ab97295c: Pull complete [2022-01-11T06:22:18.492Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-11T06:22:18.492Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T06:22:18.492Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-11T06:22:18.558Z] prd-centos7-docker-4c-2g-1206 does not seem to be running inside a container [2022-01-11T06:22:18.590Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-11T06:22:20.798Z] $ docker top 7a2d8c7422e9e1652fd57a56675ac661cf06d1a3a5c31923a0814b4b9670f7a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-11T06:22:21.155Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-11T06:22:21.452Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-11T06:22:21.749Z] + ls /var/log/sa-host [2022-01-11T06:22:21.749Z] + sadf -c /var/log/sa-host/sa11 [2022-01-11T06:22:21.749Z] file_magic: OK [2022-01-11T06:22:21.749Z] HZ: Using current value: 100 [2022-01-11T06:22:21.749Z] file_header: OK [2022-01-11T06:22:21.749Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-11T06:22:21.749Z] Statistics: [2022-01-11T06:22:21.749Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-11T06:22:21.749Z] File successfully converted to sysstat format version 12.0.3 [2022-01-11T06:22:21.749Z] + sadf -c /var/log/sa-host/sa17 [2022-01-11T06:22:21.749Z] file_magic: OK [2022-01-11T06:22:21.749Z] HZ: Using current value: 100 [2022-01-11T06:22:21.749Z] file_header: OK [2022-01-11T06:22:21.749Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-11T06:22:21.749Z] Statistics: [2022-01-11T06:22:21.749Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-11T06:22:21.749Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-11T06:22:21.835Z] provisioning config files... [2022-01-11T06:22:21.845Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1079@tmp/config1053165437335922249tmp [Pipeline] { [Pipeline] echo [2022-01-11T06:22:21.859Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T06:22:22.146Z] ---> create-netrc.sh [Pipeline] } [2022-01-11T06:22:22.154Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-11T06:22:22.487Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-11T06:22:22.497Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T06:22:22.790Z] ---> sudo-logs.sh [2022-01-11T06:22:22.790Z] Archiving 'sudo' log.. [2022-01-11T06:22:22.790Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1206.novalocal: Name or service not known [2022-01-11T06:22:22.790Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1206.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-11T06:22:22.816Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T06:22:23.114Z] ---> job-cost.sh [2022-01-11T06:22:23.114Z] lf-activate-venv: SKIPPING [2022-01-11T06:22:23.114Z] DEBUG: total: 0.10999999940395355 [2022-01-11T06:22:23.114Z] INFO: Retrieving Stack Cost... [2022-01-11T06:22:23.374Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-11T06:22:23.636Z] INFO: Archiving Costs [Pipeline] echo [2022-01-11T06:22:23.651Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T06:22:23.940Z] ---> logs-deploy.sh [2022-01-11T06:22:23.940Z] lf-activate-venv: SKIPPING [2022-01-11T06:22:23.940Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1079/3 [2022-01-11T06:22:23.940Z] INFO: archiving workspace using pattern(s): [2022-01-11T06:22:24.514Z] Archives upload complete. [2022-01-11T06:22:24.775Z] INFO: archiving logs to Nexus