Pull request #1102 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 43b1dd0ace6555053718f84a94e095350de9135d+2d47f06130efe23f62a62eca7f2537e0d7c1e066 (a747025db4a252637511ce30437969e8a8dfb4a0) 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-ssh8079455825153887773.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2831156703233965715.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1102/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1102/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13171379090884593901.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1102/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12332104670650431481.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17556970579312791791.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1102/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1102/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh15820229200416355261.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-6820 in /w/workspace/gexfoundry_device-sdk-go_PR-1102 [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-1102 # 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-1102@tmp/jenkins-gitclient-ssh5845056713166943233.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 2d47f06130efe23f62a62eca7f2537e0d7c1e066 into PR head commit 43b1dd0ace6555053718f84a94e095350de9135d > 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-1102@tmp/jenkins-gitclient-ssh7742467424100199165.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1102/head:refs/remotes/origin/PR-1102 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 43b1dd0ace6555053718f84a94e095350de9135d # timeout=10 Merge succeeded, producing 43b1dd0ace6555053718f84a94e095350de9135d Checking out Revision 43b1dd0ace6555053718f84a94e095350de9135d (PR-1102) > 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-1102@tmp/jenkins-gitclient-ssh904493708672932216.key > git merge 2d47f06130efe23f62a62eca7f2537e0d7c1e066 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 43b1dd0ace6555053718f84a94e095350de9135d # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-11T04:04:42.972Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-11T04:04:43.126Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-11T04:04:43.226Z] ========================================================= [2022-03-11T04:04:43.226Z] EdgeX Global Pipelines Version Info [2022-03-11T04:04:43.226Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-11T04:04:44.397Z] ------------------- [2022-03-11T04:04:44.397Z] stable info: [2022-03-11T04:04:44.397Z] ------------------- [2022-03-11T04:04:44.397Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-11T04:04:44.397Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-03-11T04:04:44.397Z] Message: update stable to v1.0.220 [2022-03-11T04:04:44.973Z] ------------------- [2022-03-11T04:04:44.973Z] experimental info: [2022-03-11T04:04:44.973Z] ------------------- [2022-03-11T04:04:44.973Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-11T04:04:44.973Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-11T04:04:44.973Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-11T04:04:45.232Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-03-11T04:04:45.274Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-03-11T04:04:45.313Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-11T04:04:45.354Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-11T04:04:45.394Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-11T04:04:45.433Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-11T04:04:45.477Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-11T04:04:45.519Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-03-11T04:04:45.555Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-11T04:04:45.592Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-11T04:04:45.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-11T04:04:45.668Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-03-11T04:04:45.704Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-11T04:04:45.742Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-11T04:04:45.777Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-11T04:04:45.814Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-03-11T04:04:45.856Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-11T04:04:45.899Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-11T04:04:45.938Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-11T04:04:45.980Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-11T04:04:46.021Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-03-11T04:04:46.059Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-03-11T04:04:46.100Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-11T04:04:46.140Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-11T04:04:46.182Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-11T04:04:46.222Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-11T04:04:46.265Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1102 [Pipeline] echo [2022-03-11T04:04:46.306Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1102 [Pipeline] echo [2022-03-11T04:04:46.349Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1102 [Pipeline] echo [2022-03-11T04:04:46.386Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 43b1dd0ace6555053718f84a94e095350de9135d [Pipeline] echo [2022-03-11T04:04:46.428Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 43b1dd0 [Pipeline] echo [2022-03-11T04:04:46.471Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-11T04:04:46.593Z] provisioning config files... [2022-03-11T04:04:46.608Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1102@tmp/config8530673945784495394tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-11T04:04:46.950Z] ---> docker-login.sh [2022-03-11T04:04:46.950Z] nexus3.edgexfoundry.org:10001 [2022-03-11T04:04:46.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-11T04:04:47.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-11T04:04:47.217Z] Configure a credential helper to remove this warning. See [2022-03-11T04:04:47.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-11T04:04:47.217Z] [2022-03-11T04:04:47.217Z] Login Succeeded [2022-03-11T04:04:47.217Z] nexus3.edgexfoundry.org:10002 [2022-03-11T04:04:47.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-11T04:04:47.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-11T04:04:47.217Z] Configure a credential helper to remove this warning. See [2022-03-11T04:04:47.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-11T04:04:47.217Z] [2022-03-11T04:04:47.217Z] Login Succeeded [2022-03-11T04:04:47.217Z] nexus3.edgexfoundry.org:10003 [2022-03-11T04:04:47.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-11T04:04:47.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-11T04:04:47.484Z] Configure a credential helper to remove this warning. See [2022-03-11T04:04:47.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-11T04:04:47.484Z] [2022-03-11T04:04:47.484Z] Login Succeeded [2022-03-11T04:04:47.484Z] nexus3.edgexfoundry.org:10004 [2022-03-11T04:04:47.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-11T04:04:47.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-11T04:04:47.484Z] Configure a credential helper to remove this warning. See [2022-03-11T04:04:47.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-11T04:04:47.484Z] [2022-03-11T04:04:47.484Z] Login Succeeded [2022-03-11T04:04:47.484Z] docker.io [2022-03-11T04:04:47.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-11T04:04:48.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-11T04:04:48.011Z] Configure a credential helper to remove this warning. See [2022-03-11T04:04:48.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-11T04:04:48.011Z] [2022-03-11T04:04:48.011Z] Login Succeeded [2022-03-11T04:04:48.011Z] ---> docker-login.sh ends [Pipeline] } [2022-03-11T04:04:48.040Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-11T04:04:48.693Z] + git rev-list -1 --merges 43b1dd0ace6555053718f84a94e095350de9135d~1..43b1dd0ace6555053718f84a94e095350de9135d [Pipeline] echo [2022-03-11T04:04:48.740Z] -----------> git rev-list -1 --merges 43b1dd0ace6555053718f84a94e095350de9135d~1..43b1dd0ace6555053718f84a94e095350de9135d 43b1dd0ace6555053718f84a94e095350de9135d [false] [Pipeline] sh [2022-03-11T04:04:49.056Z] + git log --format=format:%s -1 43b1dd0ace6555053718f84a94e095350de9135d [Pipeline] echo [2022-03-11T04:04:49.092Z] ========================================================= [2022-03-11T04:04:49.092Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-11T04:04:49.092Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-11T04:04:49.534Z] + git log --format=format:%s -1 43b1dd0ace6555053718f84a94e095350de9135d [Pipeline] echo [2022-03-11T04:04:49.564Z] [semverPrep] GIT_COMMIT: 43b1dd0ace6555053718f84a94e095350de9135d, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-03-11T04:04:49.595Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-11T04:04:50.057Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-03-11T04:04:50.057Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-11T04:04:50.057Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-03-11T04:04:50.057Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-11T04:04:50.057Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-03-11T04:04:50.057Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-11T04:04:50.057Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-11T04:04:50.436Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-11T04:04:50.436Z] [2022-03-11T04:04:50.436Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-11T04:04:50.804Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-11T04:04:50.804Z] latest: Pulling from edgex-devops/git-semver [2022-03-11T04:04:50.804Z] a0d0a0d46f8b: Pulling fs layer [2022-03-11T04:04:50.804Z] 3e5f54012d9b: Pulling fs layer [2022-03-11T04:04:50.804Z] 4c7163046ea9: Pulling fs layer [2022-03-11T04:04:50.804Z] 0c2d73faf560: Pulling fs layer [2022-03-11T04:04:50.804Z] 0c2d73faf560: Waiting [2022-03-11T04:04:50.804Z] 3e5f54012d9b: Verifying Checksum [2022-03-11T04:04:50.804Z] 3e5f54012d9b: Download complete [2022-03-11T04:04:50.804Z] a0d0a0d46f8b: Verifying Checksum [2022-03-11T04:04:50.804Z] a0d0a0d46f8b: Download complete [2022-03-11T04:04:50.804Z] 4c7163046ea9: Verifying Checksum [2022-03-11T04:04:50.804Z] 4c7163046ea9: Download complete [2022-03-11T04:04:51.070Z] 0c2d73faf560: Verifying Checksum [2022-03-11T04:04:51.070Z] 0c2d73faf560: Download complete [2022-03-11T04:04:51.070Z] a0d0a0d46f8b: Pull complete [2022-03-11T04:04:51.070Z] 3e5f54012d9b: Pull complete [2022-03-11T04:04:51.333Z] 4c7163046ea9: Pull complete [2022-03-11T04:04:51.601Z] 0c2d73faf560: Pull complete [2022-03-11T04:04:51.601Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-11T04:04:51.601Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-11T04:04:51.601Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-11T04:04:51.699Z] prd-centos7-docker-4c-2g-6820 does not seem to be running inside a container [2022-03-11T04:04:51.745Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1102 -v /w/workspace/gexfoundry_device-sdk-go_PR-1102:/w/workspace/gexfoundry_device-sdk-go_PR-1102:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1102@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1102@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-11T04:04:52.402Z] $ docker top 7d8fb321732048463b10782174fcac4b5517666c3cddad10372c4caf7cfe85f8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-11T04:04:52.602Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-11T04:04:52.602Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-11T04:04:52.730Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-11T04:04:52.736Z] $ docker exec 7d8fb321732048463b10782174fcac4b5517666c3cddad10372c4caf7cfe85f8 ssh-agent [2022-03-11T04:04:52.848Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKcGkMm/agent.13 [2022-03-11T04:04:52.848Z] SSH_AGENT_PID=19 [2022-03-11T04:04:52.858Z] Running ssh-add (command line suppressed) [2022-03-11T04:04:52.964Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1102@tmp/private_key_6712465018112761314.key (/w/workspace/gexfoundry_device-sdk-go_PR-1102@tmp/private_key_6712465018112761314.key) [2022-03-11T04:04:52.974Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-11T04:04:53.314Z] + git tag --points-at HEAD [Pipeline] } [2022-03-11T04:04:53.346Z] $ docker exec --env ******** --env ******** 7d8fb321732048463b10782174fcac4b5517666c3cddad10372c4caf7cfe85f8 ssh-agent -k [2022-03-11T04:04:53.445Z] unset SSH_AUTH_SOCK; [2022-03-11T04:04:53.445Z] unset SSH_AGENT_PID; [2022-03-11T04:04:53.445Z] echo Agent pid 19 killed; [2022-03-11T04:04:53.452Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-11T04:04:53.541Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-11T04:04:53.541Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-11T04:04:53.654Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-11T04:04:53.661Z] $ docker exec 7d8fb321732048463b10782174fcac4b5517666c3cddad10372c4caf7cfe85f8 ssh-agent [2022-03-11T04:04:53.763Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmIGgim/agent.52 [2022-03-11T04:04:53.763Z] SSH_AGENT_PID=59 [2022-03-11T04:04:53.770Z] Running ssh-add (command line suppressed) [2022-03-11T04:04:53.869Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1102@tmp/private_key_519676978993552173.key (/w/workspace/gexfoundry_device-sdk-go_PR-1102@tmp/private_key_519676978993552173.key) [2022-03-11T04:04:53.879Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-11T04:04:54.225Z] + git semver init [2022-03-11T04:04:54.225Z] # -> Open(): unable to determine branch for HEAD [2022-03-11T04:04:54.225Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1102/.git [2022-03-11T04:04:54.225Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1102 [2022-03-11T04:04:54.225Z] # $SEMVER_REMOTE_NAME = origin [2022-03-11T04:04:54.225Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-11T04:04:54.225Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-11T04:04:54.225Z] # $SEMVER_BRANCH = PR-1102 [2022-03-11T04:04:54.225Z] # $SEMVER_TEMP = /tmp/semver-539556053 [2022-03-11T04:04:54.225Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-03-11T04:04:55.166Z] # '/tmp/semver-539556053' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1102/.semver' [2022-03-11T04:04:55.166Z] # -> Force: false [2022-03-11T04:04:55.166Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1102/.semver [Pipeline] } [2022-03-11T04:04:55.196Z] $ docker exec --env ******** --env ******** 7d8fb321732048463b10782174fcac4b5517666c3cddad10372c4caf7cfe85f8 ssh-agent -k [2022-03-11T04:04:55.289Z] unset SSH_AUTH_SOCK; [2022-03-11T04:04:55.289Z] unset SSH_AGENT_PID; [2022-03-11T04:04:55.289Z] echo Agent pid 59 killed; [2022-03-11T04:04:55.300Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-11T04:04:55.736Z] + git semver [Pipeline] } [2022-03-11T04:04:55.770Z] $ docker stop --time=1 7d8fb321732048463b10782174fcac4b5517666c3cddad10372c4caf7cfe85f8 [2022-03-11T04:04:57.041Z] $ docker rm -f 7d8fb321732048463b10782174fcac4b5517666c3cddad10372c4caf7cfe85f8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-11T04:04:57.462Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-11T04:04:57.772Z] Stashed 1 file(s) [Pipeline] echo [2022-03-11T04:04:57.792Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-11T04:04:58.452Z] provisioning config files... [2022-03-11T04:04:58.467Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1102@tmp/config1789253877783780006tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-11T04:04:58.825Z] ---> docker-login.sh [2022-03-11T04:04:58.825Z] nexus3.edgexfoundry.org:10001 [2022-03-11T04:04:58.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-11T04:04:58.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-11T04:04:58.825Z] Configure a credential helper to remove this warning. See [2022-03-11T04:04:58.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-11T04:04:58.825Z] [2022-03-11T04:04:58.825Z] Login Succeeded [2022-03-11T04:04:58.825Z] nexus3.edgexfoundry.org:10002 [2022-03-11T04:04:58.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-11T04:04:59.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-11T04:04:59.085Z] Configure a credential helper to remove this warning. See [2022-03-11T04:04:59.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-11T04:04:59.085Z] [2022-03-11T04:04:59.085Z] Login Succeeded [2022-03-11T04:04:59.085Z] nexus3.edgexfoundry.org:10003 [2022-03-11T04:04:59.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-11T04:04:59.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-11T04:04:59.085Z] Configure a credential helper to remove this warning. See [2022-03-11T04:04:59.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-11T04:04:59.085Z] [2022-03-11T04:04:59.085Z] Login Succeeded [2022-03-11T04:04:59.085Z] nexus3.edgexfoundry.org:10004 [2022-03-11T04:04:59.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-11T04:04:59.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-11T04:04:59.347Z] Configure a credential helper to remove this warning. See [2022-03-11T04:04:59.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-11T04:04:59.347Z] [2022-03-11T04:04:59.347Z] Login Succeeded [2022-03-11T04:04:59.347Z] docker.io [2022-03-11T04:04:59.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-11T04:04:59.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-11T04:04:59.609Z] Configure a credential helper to remove this warning. See [2022-03-11T04:04:59.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-11T04:04:59.609Z] [2022-03-11T04:04:59.609Z] Login Succeeded [2022-03-11T04:04:59.609Z] ---> docker-login.sh ends [Pipeline] } [2022-03-11T04:04:59.639Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-11T04:04:59.837Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-11T04:04:59.870Z] ========================================================= [2022-03-11T04:04:59.870Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-11T04:04:59.870Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-11T04:05:00.277Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-03-11T04:05:00.277Z] Sending build context to Docker daemon 9.508MB [2022-03-11T04:05:00.277Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-11T04:05:00.277Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-11T04:05:00.544Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-11T04:05:00.544Z] 59bf1c3509f3: Pulling fs layer [2022-03-11T04:05:00.544Z] 666ba61612fd: Pulling fs layer [2022-03-11T04:05:00.544Z] 8ed8ca486205: Pulling fs layer [2022-03-11T04:05:00.544Z] 4fe6c5a15a65: Pulling fs layer [2022-03-11T04:05:00.544Z] 22a0e8bec74d: Pulling fs layer [2022-03-11T04:05:00.544Z] 640e595b4fbd: Pulling fs layer [2022-03-11T04:05:00.544Z] 763cafe07f6e: Pulling fs layer [2022-03-11T04:05:00.544Z] 0c0b528cf693: Pulling fs layer [2022-03-11T04:05:00.544Z] 10935f4eaf8b: Pulling fs layer [2022-03-11T04:05:00.544Z] 4fe6c5a15a65: Waiting [2022-03-11T04:05:00.544Z] 22a0e8bec74d: Waiting [2022-03-11T04:05:00.544Z] 640e595b4fbd: Waiting [2022-03-11T04:05:00.544Z] 763cafe07f6e: Waiting [2022-03-11T04:05:00.544Z] 0c0b528cf693: Waiting [2022-03-11T04:05:00.544Z] 10935f4eaf8b: Waiting [2022-03-11T04:05:00.544Z] 8ed8ca486205: Verifying Checksum [2022-03-11T04:05:00.544Z] 8ed8ca486205: Download complete [2022-03-11T04:05:00.544Z] 666ba61612fd: Verifying Checksum [2022-03-11T04:05:00.544Z] 666ba61612fd: Download complete [2022-03-11T04:05:00.544Z] 22a0e8bec74d: Verifying Checksum [2022-03-11T04:05:00.544Z] 22a0e8bec74d: Download complete [2022-03-11T04:05:00.544Z] 640e595b4fbd: Verifying Checksum [2022-03-11T04:05:00.544Z] 640e595b4fbd: Download complete [2022-03-11T04:05:00.544Z] 59bf1c3509f3: Verifying Checksum [2022-03-11T04:05:00.544Z] 59bf1c3509f3: Download complete [2022-03-11T04:05:00.544Z] 763cafe07f6e: Verifying Checksum [2022-03-11T04:05:00.544Z] 763cafe07f6e: Download complete [2022-03-11T04:05:00.544Z] 0c0b528cf693: Verifying Checksum [2022-03-11T04:05:00.544Z] 0c0b528cf693: Download complete [2022-03-11T04:05:01.120Z] 59bf1c3509f3: Pull complete [2022-03-11T04:05:01.120Z] 10935f4eaf8b: Verifying Checksum [2022-03-11T04:05:01.120Z] 10935f4eaf8b: Download complete [2022-03-11T04:05:01.120Z] 4fe6c5a15a65: Verifying Checksum [2022-03-11T04:05:01.120Z] 4fe6c5a15a65: Download complete [2022-03-11T04:05:01.120Z] 666ba61612fd: Pull complete [2022-03-11T04:05:01.386Z] 8ed8ca486205: Pull complete [2022-03-11T04:05:05.671Z] 4fe6c5a15a65: Pull complete [2022-03-11T04:05:05.671Z] 22a0e8bec74d: Pull complete [2022-03-11T04:05:05.671Z] 640e595b4fbd: Pull complete [2022-03-11T04:05:05.671Z] 763cafe07f6e: Pull complete [2022-03-11T04:05:05.932Z] 0c0b528cf693: Pull complete [2022-03-11T04:05:09.327Z] 10935f4eaf8b: Pull complete [2022-03-11T04:05:09.327Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-11T04:05:09.327Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-11T04:05:09.327Z] ---> 99d49a6021b9 [2022-03-11T04:05:09.327Z] Step 3/11 : ARG MAKE=make build [2022-03-11T04:05:10.720Z] ---> Running in 2a78f4bdd8a7 [2022-03-11T04:05:10.720Z] Removing intermediate container 2a78f4bdd8a7 [2022-03-11T04:05:10.720Z] ---> 9b2f7db88242 [2022-03-11T04:05:10.720Z] Step 4/11 : WORKDIR /device-sdk-go [2022-03-11T04:05:10.720Z] ---> Running in 79b9938f0b41 [2022-03-11T04:05:10.720Z] Removing intermediate container 79b9938f0b41 [2022-03-11T04:05:10.720Z] ---> d88c5d13166b [2022-03-11T04:05:10.720Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-11T04:05:10.982Z] ---> Running in 8136b03ef91c [2022-03-11T04:05:10.982Z] Removing intermediate container 8136b03ef91c [2022-03-11T04:05:10.982Z] ---> c91a923c6102 [2022-03-11T04:05:10.982Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-11T04:05:10.982Z] ---> Running in 3991daa9c8eb [2022-03-11T04:05:11.554Z] Removing intermediate container 3991daa9c8eb [2022-03-11T04:05:11.554Z] ---> cc5e1dbd4926 [2022-03-11T04:05:11.554Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-11T04:05:11.554Z] ---> Running in b45ce5d51c1e [2022-03-11T04:05:11.817Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-11T04:05:12.759Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-11T04:05:13.029Z] OK: 221 MiB in 52 packages [2022-03-11T04:05:13.266Z] Still waiting to schedule task [2022-03-11T04:05:13.266Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-6816’ is offline [2022-03-11T04:05:13.310Z] Removing intermediate container b45ce5d51c1e [2022-03-11T04:05:13.310Z] ---> 15a8694952fd [2022-03-11T04:05:13.310Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-11T04:05:13.310Z] ---> 6efcfac0ac28 [2022-03-11T04:05:13.310Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-11T04:05:13.310Z] ---> Running in f914b1b5d787 [2022-03-11T04:05:45.474Z] Removing intermediate container f914b1b5d787 [2022-03-11T04:05:45.474Z] ---> bbbb66e81cee [2022-03-11T04:05:45.474Z] Step 10/11 : COPY . . [2022-03-11T04:05:45.474Z] ---> b10a4a87d2a0 [2022-03-11T04:05:45.474Z] Step 11/11 : RUN ${MAKE} [2022-03-11T04:05:45.474Z] ---> Running in 1499235bd4af [2022-03-11T04:05:45.474Z] noop [2022-03-11T04:05:45.474Z] Removing intermediate container 1499235bd4af [2022-03-11T04:05:45.474Z] ---> c2d2c3013469 [2022-03-11T04:05:45.474Z] Successfully built c2d2c3013469 [2022-03-11T04:05:45.474Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-11T04:05:45.802Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-11T04:05:45.802Z] . [Pipeline] withDockerContainer [2022-03-11T04:05:45.894Z] prd-centos7-docker-4c-2g-6820 does not seem to be running inside a container [2022-03-11T04:05:45.932Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1102 -v /w/workspace/gexfoundry_device-sdk-go_PR-1102:/w/workspace/gexfoundry_device-sdk-go_PR-1102:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1102@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1102@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-03-11T04:05:46.271Z] $ docker top 3fe2af7b81ddd397b7a3da5337a9e9f42042e7bf0fd55c857ca0f133e6669edd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-11T04:05:46.672Z] + go version [2022-03-11T04:05:46.672Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-11T04:05:46.711Z] $ docker stop --time=1 3fe2af7b81ddd397b7a3da5337a9e9f42042e7bf0fd55c857ca0f133e6669edd [2022-03-11T04:05:47.884Z] $ docker rm -f 3fe2af7b81ddd397b7a3da5337a9e9f42042e7bf0fd55c857ca0f133e6669edd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-11T04:05:48.527Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-11T04:05:48.527Z] . [Pipeline] withDockerContainer [2022-03-11T04:05:48.607Z] prd-centos7-docker-4c-2g-6820 does not seem to be running inside a container [2022-03-11T04:05:48.647Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1102 -v /w/workspace/gexfoundry_device-sdk-go_PR-1102:/w/workspace/gexfoundry_device-sdk-go_PR-1102:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1102@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1102@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-03-11T04:05:49.003Z] $ docker top b299516fab764a146760d96097e4fad208f24da162ccf707a0f2b3d12601cbf8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-11T04:05:49.451Z] + make test [2022-03-11T04:05:49.451Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-11T04:05:49.720Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-03-11T04:06:04.746Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-03-11T04:06:04.746Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-03-11T04:06:04.746Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-03-11T04:06:05.014Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.009s coverage: 23.3% of statements [2022-03-11T04:06:05.014Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-03-11T04:06:05.014Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.016s coverage: 27.6% of statements [2022-03-11T04:06:05.591Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.027s coverage: 78.9% of statements [2022-03-11T04:06:05.591Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.007s coverage: 10.8% of statements [2022-03-11T04:06:05.591Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-03-11T04:06:05.591Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-03-11T04:06:05.591Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-03-11T04:06:06.547Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.013s coverage: 33.0% of statements [2022-03-11T04:06:06.547Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-03-11T04:06:07.500Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.014s coverage: 86.1% of statements [2022-03-11T04:06:07.500Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-03-11T04:06:07.500Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-03-11T04:06:07.500Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.015s coverage: 57.4% of statements [2022-03-11T04:06:07.500Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.031s coverage: 89.2% of statements [2022-03-11T04:06:07.500Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-03-11T04:06:08.080Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.008s coverage: 4.8% of statements [2022-03-11T04:06:08.080Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-03-11T04:06:20.402Z] GO111MODULE=on go vet ./... [2022-03-11T04:06:24.668Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-11T04:06:24.668Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-11T04:06:24.668Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-11T04:06:24.709Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-11T04:06:24.740Z] $ docker stop --time=1 b299516fab764a146760d96097e4fad208f24da162ccf707a0f2b3d12601cbf8 [2022-03-11T04:06:26.154Z] $ docker rm -f b299516fab764a146760d96097e4fad208f24da162ccf707a0f2b3d12601cbf8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-11T04:06:26.686Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-11T04:06:26.770Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-03-11T04:06:27.961Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-11T04:06:28.277Z] + ls -al . [2022-03-11T04:06:28.277Z] total 272 [2022-03-11T04:06:28.277Z] drwxrwxr-x. 11 jenkins jenkins 4096 Mar 11 04:06 . [2022-03-11T04:06:28.277Z] drwxrwxr-x. 4 jenkins jenkins 112 Mar 11 04:04 .. [2022-03-11T04:06:28.277Z] drwxrwxr-x. 2 jenkins jenkins 37 Mar 11 04:04 bin [2022-03-11T04:06:28.277Z] -rw-rw-r--. 1 jenkins jenkins 26321 Mar 11 04:04 CHANGELOG.md [2022-03-11T04:06:28.277Z] -rw-r--r--. 1 jenkins jenkins 129001 Mar 11 04:06 coverage.out [2022-03-11T04:06:28.277Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 11 04:04 .dockerignore [2022-03-11T04:06:28.277Z] drwxrwxr-x. 5 jenkins jenkins 62 Mar 11 04:04 example [2022-03-11T04:06:28.277Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 11 04:04 .git [2022-03-11T04:06:28.277Z] drwxrwxr-x. 3 jenkins jenkins 125 Mar 11 04:04 .github [2022-03-11T04:06:28.277Z] -rw-rw-r--. 1 jenkins jenkins 131 Mar 11 04:04 .gitignore [2022-03-11T04:06:28.277Z] -rw-rw-r--. 1 jenkins jenkins 42 Mar 11 04:04 .golangci.yml [2022-03-11T04:06:28.277Z] -rw-rw-r--. 1 jenkins jenkins 2774 Mar 11 04:04 go.mod [2022-03-11T04:06:28.277Z] -rw-rw-r--. 1 jenkins jenkins 49778 Mar 11 04:04 go.sum [2022-03-11T04:06:28.277Z] -rw-rw-r--. 1 jenkins jenkins 677 Mar 11 04:04 GOVERNANCE.md [2022-03-11T04:06:28.277Z] drwxrwxr-x. 15 jenkins jenkins 224 Mar 11 04:04 internal [2022-03-11T04:06:28.277Z] -rw-rw-r--. 1 jenkins jenkins 880 Mar 11 04:04 Jenkinsfile [2022-03-11T04:06:28.277Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 11 04:04 LICENSE [2022-03-11T04:06:28.277Z] -rw-rw-r--. 1 jenkins jenkins 1614 Mar 11 04:04 Makefile [2022-03-11T04:06:28.277Z] drwxrwxr-x. 3 jenkins jenkins 16 Mar 11 04:04 openapi [2022-03-11T04:06:28.277Z] -rw-rw-r--. 1 jenkins jenkins 619 Mar 11 04:04 OWNERS.md [2022-03-11T04:06:28.277Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 11 04:04 pkg [2022-03-11T04:06:28.277Z] -rw-rw-r--. 1 jenkins jenkins 4881 Mar 11 04:04 README.md [2022-03-11T04:06:28.277Z] drwx------. 3 jenkins jenkins 72 Mar 11 04:04 .semver [2022-03-11T04:06:28.277Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 11 04:04 snap [2022-03-11T04:06:28.277Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 11 04:04 VERSION [2022-03-11T04:06:28.277Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 11 04:04 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-11T04:06:28.617Z] + 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=43b1dd0ace6555053718f84a94e095350de9135d --label arch=amd64 --label version=0.0.0 . [2022-03-11T04:06:28.618Z] Sending build context to Docker daemon 9.637MB [2022-03-11T04:06:28.618Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-11T04:06:28.618Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-11T04:06:28.618Z] ---> c2d2c3013469 [2022-03-11T04:06:28.618Z] Step 3/25 : ARG MAKE=make build [2022-03-11T04:06:28.883Z] ---> Running in 67553a7c32e5 [2022-03-11T04:06:28.883Z] Removing intermediate container 67553a7c32e5 [2022-03-11T04:06:28.883Z] ---> 55132ec7f3d1 [2022-03-11T04:06:28.883Z] Step 4/25 : WORKDIR /device-sdk-go [2022-03-11T04:06:28.883Z] ---> Running in 79f5195f88e2 [2022-03-11T04:06:28.883Z] Removing intermediate container 79f5195f88e2 [2022-03-11T04:06:28.883Z] ---> 56ae5c1a62e4 [2022-03-11T04:06:28.883Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-11T04:06:28.883Z] ---> Running in 07f8cf9cfd93 [2022-03-11T04:06:29.145Z] Removing intermediate container 07f8cf9cfd93 [2022-03-11T04:06:29.145Z] ---> b5523ad7ce0b [2022-03-11T04:06:29.145Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-11T04:06:29.145Z] ---> Running in 94b075044dce [2022-03-11T04:06:29.717Z] Removing intermediate container 94b075044dce [2022-03-11T04:06:29.717Z] ---> bbbd2bdb652a [2022-03-11T04:06:29.717Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-11T04:06:29.717Z] ---> Running in 9cc9a1bf2f04 [2022-03-11T04:06:29.977Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-11T04:06:30.920Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-11T04:06:31.182Z] OK: 221 MiB in 52 packages [2022-03-11T04:06:31.182Z] Removing intermediate container 9cc9a1bf2f04 [2022-03-11T04:06:31.182Z] ---> 52574fb6dc88 [2022-03-11T04:06:31.182Z] Step 8/25 : COPY go.mod vendor* ./ [2022-03-11T04:06:31.445Z] ---> 04e77af65f55 [2022-03-11T04:06:31.445Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-11T04:06:31.445Z] ---> Running in dcef2f58e079 [2022-03-11T04:06:32.076Z] Removing intermediate container dcef2f58e079 [2022-03-11T04:06:32.076Z] ---> f0e9ed814902 [2022-03-11T04:06:32.076Z] Step 10/25 : COPY . . [2022-03-11T04:06:32.655Z] ---> 8b46d60f00e2 [2022-03-11T04:06:32.655Z] Step 11/25 : RUN ${MAKE} [2022-03-11T04:06:32.655Z] ---> Running in d0c6ff9d5ed0 [2022-03-11T04:06:32.655Z] 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-03-11T04:06:43.809Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-6822 in /w/workspace/gexfoundry_device-sdk-go_PR-1102 [Pipeline] { [Pipeline] ws [2022-03-11T04:06:43.856Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-03-11T04:06:44.127Z] The recommended git tool is: git [2022-03-11T04:06:44.939Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-03-11T04:06:44.939Z] Removing intermediate container d0c6ff9d5ed0 [2022-03-11T04:06:44.939Z] ---> 1f7a498c8d7d [2022-03-11T04:06:44.939Z] Step 12/25 : FROM alpine:3.14 [2022-03-11T04:06:44.939Z] 3.14: Pulling from library/alpine [2022-03-11T04:06:45.203Z] 97518928ae5f: Pulling fs layer [2022-03-11T04:06:45.203Z] 97518928ae5f: Verifying Checksum [2022-03-11T04:06:45.203Z] 97518928ae5f: Download complete [2022-03-11T04:06:45.468Z] 97518928ae5f: Pull complete [2022-03-11T04:06:45.468Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-03-11T04:06:45.468Z] Status: Downloaded newer image for alpine:3.14 [2022-03-11T04:06:45.468Z] ---> 0a97eee8041e [2022-03-11T04:06:45.468Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-11T04:06:45.468Z] ---> Running in 19e95361ea36 [2022-03-11T04:06:45.468Z] Removing intermediate container 19e95361ea36 [2022-03-11T04:06:45.468Z] ---> 80cb7e8e38dd [2022-03-11T04:06:45.468Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-11T04:06:45.730Z] ---> Running in 8badb2c40f37 [2022-03-11T04:06:45.994Z] Removing intermediate container 8badb2c40f37 [2022-03-11T04:06:45.994Z] ---> 31b089521ed3 [2022-03-11T04:06:45.994Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-03-11T04:06:45.994Z] ---> Running in 7c4aded59d3e [2022-03-11T04:06:46.255Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-03-11T04:06:47.205Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-03-11T04:06:47.466Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-03-11T04:06:47.725Z] (2/5) Installing libsodium (1.0.18-r0) [2022-03-11T04:06:47.725Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-11T04:06:47.725Z] (4/5) Installing libzmq (4.3.4-r0) [2022-03-11T04:06:47.986Z] (5/5) Installing zeromq (4.3.4-r0) [2022-03-11T04:06:47.986Z] Executing busybox-1.33.1-r6.trigger [2022-03-11T04:06:47.986Z] OK: 8 MiB in 19 packages [2022-03-11T04:06:48.246Z] Removing intermediate container 7c4aded59d3e [2022-03-11T04:06:48.246Z] ---> f7a730df2d02 [2022-03-11T04:06:48.246Z] Step 16/25 : WORKDIR / [2022-03-11T04:06:48.246Z] ---> Running in 3cbb86258d24 [2022-03-11T04:06:48.505Z] Removing intermediate container 3cbb86258d24 [2022-03-11T04:06:48.505Z] ---> 9ca38304bdc2 [2022-03-11T04:06:48.505Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-03-11T04:06:48.505Z] ---> 17bda3dbad0f [2022-03-11T04:06:48.505Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-03-11T04:06:49.074Z] ---> a0c3386989bc [2022-03-11T04:06:49.074Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-03-11T04:06:49.074Z] ---> cd3a8f09069f [2022-03-11T04:06:49.074Z] Step 20/25 : EXPOSE 59999 [2022-03-11T04:06:49.074Z] ---> Running in d2ecdd5d7762 [2022-03-11T04:06:49.074Z] Removing intermediate container d2ecdd5d7762 [2022-03-11T04:06:49.074Z] ---> 786b7b5322d8 [2022-03-11T04:06:49.074Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-03-11T04:06:49.074Z] ---> Running in 8bce2771be87 [2022-03-11T04:06:49.333Z] Removing intermediate container 8bce2771be87 [2022-03-11T04:06:49.333Z] ---> 7c8c03cd6432 [2022-03-11T04:06:49.333Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-11T04:06:49.333Z] ---> Running in a3a050b3be63 [2022-03-11T04:06:49.333Z] Removing intermediate container a3a050b3be63 [2022-03-11T04:06:49.333Z] ---> 16ab3ae3c725 [2022-03-11T04:06:49.333Z] Step 23/25 : LABEL arch=amd64 [2022-03-11T04:06:49.333Z] ---> Running in d87ecf3ccb7d [2022-03-11T04:06:49.464Z] using credential edgex-jenkins-ssh [2022-03-11T04:06:49.481Z] Cloning the remote Git repository [2022-03-11T04:06:49.593Z] Removing intermediate container d87ecf3ccb7d [2022-03-11T04:06:49.593Z] ---> 0b552891468c [2022-03-11T04:06:49.593Z] Step 24/25 : LABEL git_sha=43b1dd0ace6555053718f84a94e095350de9135d [2022-03-11T04:06:49.593Z] ---> Running in 58113931dfc2 [2022-03-11T04:06:49.593Z] Removing intermediate container 58113931dfc2 [2022-03-11T04:06:49.593Z] ---> eb80d573d9b7 [2022-03-11T04:06:49.593Z] Step 25/25 : LABEL version=0.0.0 [2022-03-11T04:06:49.593Z] ---> Running in 9b8b87a73fa2 [2022-03-11T04:06:49.593Z] Removing intermediate container 9b8b87a73fa2 [2022-03-11T04:06:49.593Z] ---> c3d139f2e203 [2022-03-11T04:06:49.593Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-11T04:06:49.593Z] Successfully built c3d139f2e203 [2022-03-11T04:06:49.593Z] 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-03-11T04:06:49.540Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-03-11T04:06:49.633Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-03-11T04:06:49.730Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-03-11T04:06:49.732Z] > git --version # timeout=10 [2022-03-11T04:06:49.766Z] > git --version # 'git version 2.17.1' [2022-03-11T04:06:49.769Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-11T04:06:49.868Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-11T04:06:50.332Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-11T04:06:50.332Z] [2022-03-11T04:06:50.332Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-11T04:06:50.670Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-11T04:06:50.670Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-11T04:06:50.670Z] 5eb5b503b376: Pulling fs layer [2022-03-11T04:06:50.670Z] 5c69ac0246d0: Pulling fs layer [2022-03-11T04:06:50.670Z] ec43610c2a17: Pulling fs layer [2022-03-11T04:06:50.670Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-11T04:06:50.670Z] 33b1e0a273af: Pulling fs layer [2022-03-11T04:06:50.670Z] 5d3b04190fa2: Pulling fs layer [2022-03-11T04:06:50.670Z] 2f39f015ded8: Pulling fs layer [2022-03-11T04:06:50.670Z] 3a2ae6a8a46f: Waiting [2022-03-11T04:06:50.670Z] 33b1e0a273af: Waiting [2022-03-11T04:06:50.670Z] 5d3b04190fa2: Waiting [2022-03-11T04:06:50.670Z] 2f39f015ded8: Waiting [2022-03-11T04:06:50.670Z] 5c69ac0246d0: Verifying Checksum [2022-03-11T04:06:50.670Z] 5c69ac0246d0: Download complete [2022-03-11T04:06:50.670Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-11T04:06:50.670Z] 3a2ae6a8a46f: Download complete [2022-03-11T04:06:50.670Z] 33b1e0a273af: Verifying Checksum [2022-03-11T04:06:50.670Z] 33b1e0a273af: Download complete [2022-03-11T04:06:50.670Z] ec43610c2a17: Verifying Checksum [2022-03-11T04:06:50.670Z] ec43610c2a17: Download complete [2022-03-11T04:06:50.670Z] 5d3b04190fa2: Verifying Checksum [2022-03-11T04:06:50.670Z] 5d3b04190fa2: Download complete [2022-03-11T04:06:50.936Z] 5eb5b503b376: Verifying Checksum [2022-03-11T04:06:50.936Z] 5eb5b503b376: Download complete [2022-03-11T04:06:51.516Z] 2f39f015ded8: Verifying Checksum [2022-03-11T04:06:51.516Z] 2f39f015ded8: Download complete [2022-03-11T04:06:52.309Z] Merging remotes/origin/main commit 2d47f06130efe23f62a62eca7f2537e0d7c1e066 into PR head commit 43b1dd0ace6555053718f84a94e095350de9135d [2022-03-11T04:06:52.481Z] 5eb5b503b376: Pull complete [2022-03-11T04:06:52.598Z] Merge succeeded, producing 43b1dd0ace6555053718f84a94e095350de9135d [2022-03-11T04:06:52.598Z] Checking out Revision 43b1dd0ace6555053718f84a94e095350de9135d (PR-1102) [2022-03-11T04:06:52.749Z] 5c69ac0246d0: Pull complete [2022-03-11T04:06:51.557Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-03-11T04:06:51.579Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-11T04:06:51.608Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-03-11T04:06:51.664Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-03-11T04:06:51.665Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-11T04:06:51.680Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1102/head:refs/remotes/origin/PR-1102 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-03-11T04:06:52.329Z] > git config core.sparsecheckout # timeout=10 [2022-03-11T04:06:52.350Z] > git checkout -f 43b1dd0ace6555053718f84a94e095350de9135d # timeout=10 [2022-03-11T04:06:52.478Z] > git remote # timeout=10 [2022-03-11T04:06:52.499Z] > git config --get remote.origin.url # timeout=10 [2022-03-11T04:06:52.528Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-11T04:06:52.544Z] > git merge 2d47f06130efe23f62a62eca7f2537e0d7c1e066 # timeout=10 [2022-03-11T04:06:52.573Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-11T04:06:52.604Z] > git config core.sparsecheckout # timeout=10 [2022-03-11T04:06:52.627Z] > git checkout -f 43b1dd0ace6555053718f84a94e095350de9135d # timeout=10 [2022-03-11T04:06:53.330Z] ec43610c2a17: Pull complete [2022-03-11T04:06:53.330Z] 3a2ae6a8a46f: Pull complete [2022-03-11T04:06:53.589Z] 33b1e0a273af: Pull complete [2022-03-11T04:06:53.589Z] 5d3b04190fa2: Pull complete [2022-03-11T04:06:57.291Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2022-03-11T04:06:57.374Z] > git --version # timeout=10 [2022-03-11T04:06:57.387Z] > git --version # 'git version 2.17.1' [2022-03-11T04:06:57.413Z] fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-03-11T04:06:57.710Z] [2022-03-11T04:06:57.710Z] GitHub has been notified of this commit’s build result [2022-03-11T04:06:57.710Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2022-03-11T04:06:57.841Z] 2f39f015ded8: Pull complete [2022-03-11T04:06:57.841Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-11T04:06:57.841Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-11T04:06:57.841Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] stage [Pipeline] { (Prep) [Pipeline] withDockerContainer [2022-03-11T04:06:57.971Z] prd-centos7-docker-4c-2g-6820 does not seem to be running inside a container [2022-03-11T04:06:58.025Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1102 -v /w/workspace/gexfoundry_device-sdk-go_PR-1102:/w/workspace/gexfoundry_device-sdk-go_PR-1102:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1102@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1102@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-11T04:07:00.455Z] $ docker top db4dd2bb1a5c8f846aea60e463f17f25350101f0ae078aec3b1a83b2acea907f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-11T04:07:00.889Z] ---> job-cost.sh [2022-03-11T04:07:00.889Z] lf-activate-venv: SKIPPING [2022-03-11T04:07:00.889Z] INFO: No Stack... [2022-03-11T04:07:01.280Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-11T04:07:01.280Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-11T04:07:01.280Z] Dload Upload Total Spent Left Speed [2022-03-11T04:07:01.280Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 42754 0 --:--:-- --:--:-- --:--:-- 42754 [2022-03-11T04:07:01.459Z] INFO: Retrieving Pricing Info for: v3-standard-2 [Pipeline] sh [2022-03-11T04:07:01.721Z] INFO: Archiving Costs [Pipeline] sh [2022-03-11T04:07:01.850Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-11T04:07:02.200Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1102/archives/cost.csv [2022-03-11T04:07:02.200Z] + cut -d, -f6 [2022-03-11T04:07:02.298Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2022-03-11T04:07:02.298Z] /etc/docker/daemon.new [2022-03-11T04:07:02.298Z] { [2022-03-11T04:07:02.298Z] "registry-mirrors": [ [2022-03-11T04:07:02.298Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-11T04:07:02.298Z] ], [2022-03-11T04:07:02.298Z] "bip": "10.250.0.254/24", [2022-03-11T04:07:02.298Z] "hosts": [ [2022-03-11T04:07:02.298Z] "tcp://0.0.0.0:5555", [2022-03-11T04:07:02.298Z] "unix:///var/run/docker.sock" [2022-03-11T04:07:02.298Z] ], [2022-03-11T04:07:02.298Z] "mtu": 1458, [2022-03-11T04:07:02.298Z] "selinux-enabled": true, [2022-03-11T04:07:02.298Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-11T04:07:02.298Z] } [Pipeline] lock [2022-03-11T04:07:02.309Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1102-1-stack-cost] [2022-03-11T04:07:02.313Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1102-1-stack-cost] did not exist. Created. [2022-03-11T04:07:02.313Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1102-1-stack-cost] [Pipeline] { [Pipeline] sh [Pipeline] unstash [Pipeline] sh [2022-03-11T04:07:02.725Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-11T04:07:02.890Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-03-11T04:07:02.941Z] Stashed 1 file(s) [Pipeline] } [2022-03-11T04:07:02.965Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1102-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-11T04:07:03.045Z] $ docker stop --time=1 db4dd2bb1a5c8f846aea60e463f17f25350101f0ae078aec3b1a83b2acea907f [2022-03-11T04:07:03.098Z] + sudo service docker restart [2022-03-11T04:07:04.192Z] $ docker rm -f db4dd2bb1a5c8f846aea60e463f17f25350101f0ae078aec3b1a83b2acea907f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-11T04:07:21.524Z] provisioning config files... [2022-03-11T04:07:21.558Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4538015865444163768tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-11T04:07:22.230Z] ---> docker-login.sh [2022-03-11T04:07:22.230Z] nexus3.edgexfoundry.org:10001 [2022-03-11T04:07:22.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-11T04:07:23.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-11T04:07:23.103Z] Configure a credential helper to remove this warning. See [2022-03-11T04:07:23.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-11T04:07:23.103Z] [2022-03-11T04:07:23.103Z] Login Succeeded [2022-03-11T04:07:23.103Z] nexus3.edgexfoundry.org:10002 [2022-03-11T04:07:23.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-11T04:07:23.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-11T04:07:23.701Z] Configure a credential helper to remove this warning. See [2022-03-11T04:07:23.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-11T04:07:23.701Z] [2022-03-11T04:07:23.701Z] Login Succeeded [2022-03-11T04:07:23.701Z] nexus3.edgexfoundry.org:10003 [2022-03-11T04:07:24.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-11T04:07:24.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-11T04:07:24.312Z] Configure a credential helper to remove this warning. See [2022-03-11T04:07:24.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-11T04:07:24.312Z] [2022-03-11T04:07:24.312Z] Login Succeeded [2022-03-11T04:07:24.312Z] nexus3.edgexfoundry.org:10004 [2022-03-11T04:07:24.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-11T04:07:24.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-11T04:07:24.875Z] Configure a credential helper to remove this warning. See [2022-03-11T04:07:24.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-11T04:07:24.875Z] [2022-03-11T04:07:24.875Z] Login Succeeded [2022-03-11T04:07:24.875Z] docker.io [2022-03-11T04:07:25.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-11T04:07:25.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-11T04:07:25.744Z] Configure a credential helper to remove this warning. See [2022-03-11T04:07:25.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-11T04:07:25.744Z] [2022-03-11T04:07:25.744Z] Login Succeeded [2022-03-11T04:07:25.744Z] ---> docker-login.sh ends [Pipeline] } [2022-03-11T04:07:25.773Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-11T04:07:26.214Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-11T04:07:26.243Z] ========================================================= [2022-03-11T04:07:26.243Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-11T04:07:26.243Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-11T04:07:26.710Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-03-11T04:07:27.311Z] Sending build context to Docker daemon 5.141MB [2022-03-11T04:07:27.311Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-11T04:07:27.311Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-11T04:07:27.311Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-11T04:07:27.311Z] 9b3977197b4f: Pulling fs layer [2022-03-11T04:07:27.311Z] 1a89e8eeedd5: Pulling fs layer [2022-03-11T04:07:27.311Z] 94645a83ff95: Pulling fs layer [2022-03-11T04:07:27.311Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-11T04:07:27.311Z] 0c92f367c5e7: Pulling fs layer [2022-03-11T04:07:27.311Z] f7c0051592d6: Pulling fs layer [2022-03-11T04:07:27.311Z] a227ed2f7395: Pulling fs layer [2022-03-11T04:07:27.311Z] 7b1c46037f91: Pulling fs layer [2022-03-11T04:07:27.311Z] 0c92f367c5e7: Waiting [2022-03-11T04:07:27.311Z] f7c0051592d6: Waiting [2022-03-11T04:07:27.311Z] a227ed2f7395: Waiting [2022-03-11T04:07:27.311Z] 7b1c46037f91: Waiting [2022-03-11T04:07:27.311Z] 3f3a8bcf1eab: Waiting [2022-03-11T04:07:27.593Z] 94645a83ff95: Verifying Checksum [2022-03-11T04:07:27.593Z] 94645a83ff95: Download complete [2022-03-11T04:07:27.593Z] 1a89e8eeedd5: Download complete [2022-03-11T04:07:27.593Z] 0c92f367c5e7: Verifying Checksum [2022-03-11T04:07:27.593Z] 0c92f367c5e7: Download complete [2022-03-11T04:07:27.593Z] f7c0051592d6: Verifying Checksum [2022-03-11T04:07:27.593Z] f7c0051592d6: Download complete [2022-03-11T04:07:27.593Z] 9b3977197b4f: Verifying Checksum [2022-03-11T04:07:27.593Z] a227ed2f7395: Verifying Checksum [2022-03-11T04:07:27.593Z] a227ed2f7395: Download complete [2022-03-11T04:07:28.587Z] 9b3977197b4f: Pull complete [2022-03-11T04:07:28.869Z] 1a89e8eeedd5: Pull complete [2022-03-11T04:07:29.476Z] 94645a83ff95: Pull complete [2022-03-11T04:07:29.476Z] 7b1c46037f91: Verifying Checksum [2022-03-11T04:07:29.476Z] 7b1c46037f91: Download complete [2022-03-11T04:07:30.076Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-11T04:07:30.076Z] 3f3a8bcf1eab: Download complete [2022-03-11T04:07:42.487Z] 3f3a8bcf1eab: Pull complete [2022-03-11T04:07:42.487Z] 0c92f367c5e7: Pull complete [2022-03-11T04:07:42.487Z] f7c0051592d6: Pull complete [2022-03-11T04:07:42.487Z] a227ed2f7395: Pull complete [2022-03-11T04:07:47.902Z] 7b1c46037f91: Pull complete [2022-03-11T04:07:47.902Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-11T04:07:47.902Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-11T04:07:47.902Z] ---> f79e39bc4007 [2022-03-11T04:07:47.902Z] Step 3/11 : ARG MAKE=make build [2022-03-11T04:07:49.887Z] ---> Running in 35a8cc0f4f59 [2022-03-11T04:07:49.887Z] Removing intermediate container 35a8cc0f4f59 [2022-03-11T04:07:49.887Z] ---> f1715c8be4ec [2022-03-11T04:07:49.887Z] Step 4/11 : WORKDIR /device-sdk-go [2022-03-11T04:07:50.161Z] ---> Running in e7b988f9d2ae [2022-03-11T04:07:50.434Z] Removing intermediate container e7b988f9d2ae [2022-03-11T04:07:50.434Z] ---> 30f39e4c26a6 [2022-03-11T04:07:50.434Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-11T04:07:50.706Z] ---> Running in 6fcf6fe895dd [2022-03-11T04:07:50.983Z] Removing intermediate container 6fcf6fe895dd [2022-03-11T04:07:50.983Z] ---> 007535e57e5d [2022-03-11T04:07:50.983Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-11T04:07:51.255Z] ---> Running in 01b3f54c6da1 [2022-03-11T04:07:53.242Z] Removing intermediate container 01b3f54c6da1 [2022-03-11T04:07:53.242Z] ---> 9aae334f9145 [2022-03-11T04:07:53.242Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-11T04:07:53.242Z] ---> Running in 1a21c8fe2702 [2022-03-11T04:07:54.221Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-11T04:07:55.199Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-11T04:07:56.182Z] OK: 220 MiB in 52 packages [2022-03-11T04:07:56.785Z] Removing intermediate container 1a21c8fe2702 [2022-03-11T04:07:56.785Z] ---> 063ff22cfe33 [2022-03-11T04:07:56.785Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-11T04:07:57.773Z] ---> 16c815ccb31b [2022-03-11T04:07:57.773Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-11T04:07:57.773Z] ---> Running in dc74238970ab [2022-03-11T04:09:19.581Z] Removing intermediate container dc74238970ab [2022-03-11T04:09:19.581Z] ---> e7c9ea7e15c1 [2022-03-11T04:09:19.581Z] Step 10/11 : COPY . . [2022-03-11T04:09:19.581Z] ---> 14034cf684bd [2022-03-11T04:09:19.581Z] Step 11/11 : RUN ${MAKE} [2022-03-11T04:09:19.581Z] ---> Running in c11634c1b567 [2022-03-11T04:09:19.581Z] noop [2022-03-11T04:09:19.581Z] Removing intermediate container c11634c1b567 [2022-03-11T04:09:19.581Z] ---> 24de3c6cbf25 [2022-03-11T04:09:19.581Z] Successfully built 24de3c6cbf25 [2022-03-11T04:09:19.581Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-11T04:09:19.963Z] + docker inspect -f . ci-base-image-arm64 [2022-03-11T04:09:19.963Z] . [Pipeline] withDockerContainer [2022-03-11T04:09:20.222Z] prd-ubuntu18.04-docker-arm64-4c-16g-6822 does not seem to be running inside a container [2022-03-11T04:09:20.309Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-11T04:09:21.715Z] $ docker top 6d056cf22f06e042a44e73d90e1cf91f51321e68ca07119e7319f1c37382308e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-11T04:09:22.689Z] + go version [2022-03-11T04:09:22.690Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-11T04:09:22.721Z] $ docker stop --time=1 6d056cf22f06e042a44e73d90e1cf91f51321e68ca07119e7319f1c37382308e [2022-03-11T04:09:24.380Z] $ docker rm -f 6d056cf22f06e042a44e73d90e1cf91f51321e68ca07119e7319f1c37382308e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-11T04:09:25.287Z] + docker inspect -f . ci-base-image-arm64 [2022-03-11T04:09:25.287Z] . [Pipeline] withDockerContainer [2022-03-11T04:09:25.547Z] prd-ubuntu18.04-docker-arm64-4c-16g-6822 does not seem to be running inside a container [2022-03-11T04:09:25.633Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-11T04:09:27.029Z] $ docker top b701aa93ce9d1fa76904a2046e212ec30a5a183c7833bdd946ab8dbcc8111334 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-11T04:09:28.070Z] + make test [2022-03-11T04:09:28.070Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-11T04:09:29.511Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-03-11T04:10:26.147Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-03-11T04:10:26.147Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-03-11T04:10:26.147Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-03-11T04:10:27.586Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.065s coverage: 23.3% of statements [2022-03-11T04:10:27.586Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-03-11T04:10:27.586Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.084s coverage: 27.6% of statements [2022-03-11T04:10:27.586Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.086s coverage: 78.9% of statements [2022-03-11T04:10:27.586Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.085s coverage: 10.8% of statements [2022-03-11T04:10:27.586Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-03-11T04:10:27.586Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-03-11T04:10:27.586Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-03-11T04:10:30.224Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.069s coverage: 33.0% of statements [2022-03-11T04:10:30.224Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-03-11T04:10:31.208Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.053s coverage: 86.1% of statements [2022-03-11T04:10:31.208Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-03-11T04:10:31.208Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-03-11T04:10:31.208Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.127s coverage: 57.4% of statements [2022-03-11T04:10:31.208Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.170s coverage: 89.2% of statements [2022-03-11T04:10:31.208Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-03-11T04:10:32.650Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.049s coverage: 4.8% of statements [2022-03-11T04:10:32.650Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-03-11T04:10:32.925Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-03-11T04:10:32.925Z] GO111MODULE=on go vet ./... [2022-03-11T04:10:55.115Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-11T04:10:55.115Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-11T04:10:55.115Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-11T04:10:55.427Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-11T04:10:55.455Z] $ docker stop --time=1 b701aa93ce9d1fa76904a2046e212ec30a5a183c7833bdd946ab8dbcc8111334 [2022-03-11T04:10:57.263Z] $ docker rm -f b701aa93ce9d1fa76904a2046e212ec30a5a183c7833bdd946ab8dbcc8111334 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-11T04:10:58.240Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-11T04:10:58.276Z] Warning: overwriting stash ‘coverage-report’ [2022-03-11T04:10:59.032Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-11T04:10:59.652Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-11T04:11:00.012Z] + ls -al . [2022-03-11T04:11:00.012Z] total 308 [2022-03-11T04:11:00.012Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 11 04:10 . [2022-03-11T04:11:00.012Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 04:06 .. [2022-03-11T04:11:00.012Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 11 04:06 .dockerignore [2022-03-11T04:11:00.012Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 04:06 .git [2022-03-11T04:11:00.012Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 04:06 .github [2022-03-11T04:11:00.012Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 11 04:06 .gitignore [2022-03-11T04:11:00.012Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 11 04:06 .golangci.yml [2022-03-11T04:11:00.012Z] -rw-rw-r-- 1 jenkins jenkins 26321 Mar 11 04:06 CHANGELOG.md [2022-03-11T04:11:00.012Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 11 04:06 GOVERNANCE.md [2022-03-11T04:11:00.012Z] -rw-rw-r-- 1 jenkins jenkins 880 Mar 11 04:06 Jenkinsfile [2022-03-11T04:11:00.012Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 11 04:06 LICENSE [2022-03-11T04:11:00.012Z] -rw-rw-r-- 1 jenkins jenkins 1614 Mar 11 04:06 Makefile [2022-03-11T04:11:00.012Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 11 04:06 OWNERS.md [2022-03-11T04:11:00.012Z] -rw-rw-r-- 1 jenkins jenkins 4881 Mar 11 04:06 README.md [2022-03-11T04:11:00.012Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 11 04:04 VERSION [2022-03-11T04:11:00.012Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 04:06 bin [2022-03-11T04:11:00.012Z] -rw-r--r-- 1 jenkins jenkins 129001 Mar 11 04:10 coverage.out [2022-03-11T04:11:00.012Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 11 04:06 example [2022-03-11T04:11:00.012Z] -rw-rw-r-- 1 jenkins jenkins 2774 Mar 11 04:06 go.mod [2022-03-11T04:11:00.012Z] -rw-rw-r-- 1 jenkins jenkins 49778 Mar 11 04:06 go.sum [2022-03-11T04:11:00.012Z] drwxrwxr-x 15 jenkins jenkins 4096 Mar 11 04:06 internal [2022-03-11T04:11:00.012Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 04:06 openapi [2022-03-11T04:11:00.012Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 11 04:06 pkg [2022-03-11T04:11:00.012Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 04:06 snap [2022-03-11T04:11:00.012Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 11 04:06 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-11T04:11:00.396Z] + 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=43b1dd0ace6555053718f84a94e095350de9135d --label arch=arm64 --label version=0.0.0 . [2022-03-11T04:11:00.680Z] Sending build context to Docker daemon 5.271MB [2022-03-11T04:11:00.953Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-11T04:11:00.953Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-11T04:11:00.953Z] ---> 24de3c6cbf25 [2022-03-11T04:11:00.953Z] Step 3/25 : ARG MAKE=make build [2022-03-11T04:11:00.953Z] ---> Running in 10307af73e9a [2022-03-11T04:11:01.228Z] Removing intermediate container 10307af73e9a [2022-03-11T04:11:01.228Z] ---> aa11ff3919e0 [2022-03-11T04:11:01.228Z] Step 4/25 : WORKDIR /device-sdk-go [2022-03-11T04:11:01.499Z] ---> Running in 0bcd703971e7 [2022-03-11T04:11:01.771Z] Removing intermediate container 0bcd703971e7 [2022-03-11T04:11:01.771Z] ---> 4ec40825505f [2022-03-11T04:11:01.771Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-11T04:11:01.771Z] ---> Running in f6b7a2f7ad4f [2022-03-11T04:11:02.378Z] Removing intermediate container f6b7a2f7ad4f [2022-03-11T04:11:02.378Z] ---> 248a1080e80e [2022-03-11T04:11:02.378Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-11T04:11:02.378Z] ---> Running in 51c9c264ad4d [2022-03-11T04:11:04.358Z] Removing intermediate container 51c9c264ad4d [2022-03-11T04:11:04.359Z] ---> 64fe41c1f9ef [2022-03-11T04:11:04.359Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-11T04:11:04.359Z] ---> Running in 97501e6c0889 [2022-03-11T04:11:05.340Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-11T04:11:05.934Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-11T04:11:06.914Z] OK: 220 MiB in 52 packages [2022-03-11T04:11:07.903Z] Removing intermediate container 97501e6c0889 [2022-03-11T04:11:07.903Z] ---> d001efb39ce8 [2022-03-11T04:11:07.903Z] Step 8/25 : COPY go.mod vendor* ./ [2022-03-11T04:11:08.502Z] ---> 6e757baca85e [2022-03-11T04:11:08.502Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-11T04:11:08.502Z] ---> Running in 516f949d600c [2022-03-11T04:11:11.127Z] Removing intermediate container 516f949d600c [2022-03-11T04:11:11.127Z] ---> da57f8865330 [2022-03-11T04:11:11.127Z] Step 10/25 : COPY . . [2022-03-11T04:11:12.107Z] ---> 542835ac6bd7 [2022-03-11T04:11:12.107Z] Step 11/25 : RUN ${MAKE} [2022-03-11T04:11:12.107Z] ---> Running in 8e1def6d7a2e [2022-03-11T04:11:13.089Z] 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-03-11T04:12:00.090Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-03-11T04:12:00.090Z] Removing intermediate container 8e1def6d7a2e [2022-03-11T04:12:00.090Z] ---> f7614b9bf82d [2022-03-11T04:12:00.090Z] Step 12/25 : FROM alpine:3.14 [2022-03-11T04:12:00.090Z] 3.14: Pulling from library/alpine [2022-03-11T04:12:00.090Z] be307f383ecc: Pulling fs layer [2022-03-11T04:12:00.090Z] be307f383ecc: Verifying Checksum [2022-03-11T04:12:00.090Z] be307f383ecc: Download complete [2022-03-11T04:12:00.090Z] be307f383ecc: Pull complete [2022-03-11T04:12:00.090Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-03-11T04:12:00.090Z] Status: Downloaded newer image for alpine:3.14 [2022-03-11T04:12:00.090Z] ---> 5b8b7b635229 [2022-03-11T04:12:00.090Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-11T04:12:00.090Z] ---> Running in 852031f6062e [2022-03-11T04:12:00.090Z] Removing intermediate container 852031f6062e [2022-03-11T04:12:00.090Z] ---> f188fbe495bc [2022-03-11T04:12:00.090Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-11T04:12:00.090Z] ---> Running in 4089effde403 [2022-03-11T04:12:00.090Z] Removing intermediate container 4089effde403 [2022-03-11T04:12:00.090Z] ---> 1700bdba98be [2022-03-11T04:12:00.090Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-03-11T04:12:00.090Z] ---> Running in ca541f1c2564 [2022-03-11T04:12:01.064Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-03-11T04:12:02.044Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-03-11T04:12:03.026Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-03-11T04:12:03.026Z] (2/5) Installing libsodium (1.0.18-r0) [2022-03-11T04:12:03.026Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-11T04:12:03.299Z] (4/5) Installing libzmq (4.3.4-r0) [2022-03-11T04:12:03.300Z] (5/5) Installing zeromq (4.3.4-r0) [2022-03-11T04:12:03.577Z] Executing busybox-1.33.1-r6.trigger [2022-03-11T04:12:03.577Z] OK: 8 MiB in 19 packages [2022-03-11T04:12:04.556Z] Removing intermediate container ca541f1c2564 [2022-03-11T04:12:04.556Z] ---> 0b293a9eeae0 [2022-03-11T04:12:04.556Z] Step 16/25 : WORKDIR / [2022-03-11T04:12:04.556Z] ---> Running in 7a130ef8627e [2022-03-11T04:12:04.829Z] Removing intermediate container 7a130ef8627e [2022-03-11T04:12:04.829Z] ---> 7a3c23437dd2 [2022-03-11T04:12:04.829Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-03-11T04:12:05.424Z] ---> f11123b7e128 [2022-03-11T04:12:05.424Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-03-11T04:12:06.407Z] ---> 5f88799729d9 [2022-03-11T04:12:06.407Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-03-11T04:12:07.392Z] ---> 664133b928d9 [2022-03-11T04:12:07.392Z] Step 20/25 : EXPOSE 59999 [2022-03-11T04:12:07.392Z] ---> Running in 15fb4ec92f23 [2022-03-11T04:12:07.666Z] Removing intermediate container 15fb4ec92f23 [2022-03-11T04:12:07.666Z] ---> c4881fca4325 [2022-03-11T04:12:07.666Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-03-11T04:12:07.666Z] ---> Running in de74d18825e8 [2022-03-11T04:12:07.942Z] Removing intermediate container de74d18825e8 [2022-03-11T04:12:07.942Z] ---> 2934cff058a3 [2022-03-11T04:12:07.942Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-11T04:12:08.214Z] ---> Running in b4ecc8436257 [2022-03-11T04:12:08.486Z] Removing intermediate container b4ecc8436257 [2022-03-11T04:12:08.486Z] ---> aaf35cd03495 [2022-03-11T04:12:08.486Z] Step 23/25 : LABEL arch=arm64 [2022-03-11T04:12:08.762Z] ---> Running in a32c416124cc [2022-03-11T04:12:09.037Z] Removing intermediate container a32c416124cc [2022-03-11T04:12:09.037Z] ---> 86ca11474bde [2022-03-11T04:12:09.037Z] Step 24/25 : LABEL git_sha=43b1dd0ace6555053718f84a94e095350de9135d [2022-03-11T04:12:09.037Z] ---> Running in 9ebb5921c3ea [2022-03-11T04:12:09.314Z] Removing intermediate container 9ebb5921c3ea [2022-03-11T04:12:09.314Z] ---> 9c62485020ec [2022-03-11T04:12:09.314Z] Step 25/25 : LABEL version=0.0.0 [2022-03-11T04:12:09.587Z] ---> Running in 02dd3a154a38 [2022-03-11T04:12:09.860Z] Removing intermediate container 02dd3a154a38 [2022-03-11T04:12:09.860Z] ---> c47b3989cb72 [2022-03-11T04:12:09.860Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-11T04:12:09.860Z] Successfully built c47b3989cb72 [2022-03-11T04:12:09.860Z] 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-03-11T04:12:10.569Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-11T04:12:10.569Z] [2022-03-11T04:12:10.569Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-11T04:12:10.962Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-11T04:12:11.236Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-11T04:12:11.236Z] 8998bd30e6a1: Pulling fs layer [2022-03-11T04:12:11.236Z] 04944245beec: Pulling fs layer [2022-03-11T04:12:11.236Z] 699f458cf7ca: Pulling fs layer [2022-03-11T04:12:11.236Z] 765212b225bb: Pulling fs layer [2022-03-11T04:12:11.236Z] f23df028b6ca: Pulling fs layer [2022-03-11T04:12:11.236Z] d65c8cfc05b1: Pulling fs layer [2022-03-11T04:12:11.236Z] 2437ff75d9bd: Pulling fs layer [2022-03-11T04:12:11.236Z] f23df028b6ca: Waiting [2022-03-11T04:12:11.236Z] 765212b225bb: Waiting [2022-03-11T04:12:11.236Z] d65c8cfc05b1: Waiting [2022-03-11T04:12:11.236Z] 2437ff75d9bd: Waiting [2022-03-11T04:12:11.236Z] 04944245beec: Verifying Checksum [2022-03-11T04:12:11.236Z] 04944245beec: Download complete [2022-03-11T04:12:11.236Z] 765212b225bb: Download complete [2022-03-11T04:12:11.236Z] f23df028b6ca: Download complete [2022-03-11T04:12:11.513Z] d65c8cfc05b1: Verifying Checksum [2022-03-11T04:12:11.513Z] d65c8cfc05b1: Download complete [2022-03-11T04:12:11.513Z] 699f458cf7ca: Verifying Checksum [2022-03-11T04:12:11.513Z] 699f458cf7ca: Download complete [2022-03-11T04:12:11.787Z] 8998bd30e6a1: Verifying Checksum [2022-03-11T04:12:11.787Z] 8998bd30e6a1: Download complete [2022-03-11T04:12:14.449Z] 2437ff75d9bd: Verifying Checksum [2022-03-11T04:12:14.449Z] 2437ff75d9bd: Download complete [2022-03-11T04:12:16.434Z] 8998bd30e6a1: Pull complete [2022-03-11T04:12:16.711Z] 04944245beec: Pull complete [2022-03-11T04:12:18.146Z] 699f458cf7ca: Pull complete [2022-03-11T04:12:18.418Z] 765212b225bb: Pull complete [2022-03-11T04:12:19.395Z] f23df028b6ca: Pull complete [2022-03-11T04:12:19.668Z] d65c8cfc05b1: Pull complete [2022-03-11T04:12:34.749Z] 2437ff75d9bd: Pull complete [2022-03-11T04:12:34.749Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-11T04:12:34.749Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-11T04:12:34.749Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-11T04:12:34.999Z] prd-ubuntu18.04-docker-arm64-4c-16g-6822 does not seem to be running inside a container [2022-03-11T04:12:35.078Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-03-11T04:12:37.996Z] $ docker top e54f3ed75bc2d74fa97e3323f49a8d8848fd4ad54eb2c963b986028ef7a66c53 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-11T04:12:39.022Z] ---> job-cost.sh [2022-03-11T04:12:39.022Z] lf-activate-venv: SKIPPING [2022-03-11T04:12:39.022Z] INFO: No Stack... [2022-03-11T04:12:39.632Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-11T04:12:40.241Z] INFO: Archiving Costs [Pipeline] sh [2022-03-11T04:12:40.925Z] + cut -d, -f6 [2022-03-11T04:12:40.925Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2022-03-11T04:12:41.012Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1102-1-stack-cost] [2022-03-11T04:12:41.017Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1102-1-stack-cost] did not exist. Created. [2022-03-11T04:12:41.017Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1102-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-11T04:12:41.758Z] /w/workspace/device-sdk-go/1@tmp/durable-817ce6c5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-11T04:12:42.461Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-11T04:12:42.496Z] Warning: overwriting stash ‘stack-cost’ [2022-03-11T04:12:42.566Z] Stashed 1 file(s) [Pipeline] } [2022-03-11T04:12:42.583Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1102-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-11T04:12:42.660Z] $ docker stop --time=1 e54f3ed75bc2d74fa97e3323f49a8d8848fd4ad54eb2c963b986028ef7a66c53 [2022-03-11T04:12:44.190Z] $ docker rm -f e54f3ed75bc2d74fa97e3323f49a8d8848fd4ad54eb2c963b986028ef7a66c53 [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-03-11T04:12:45.218Z] provisioning config files... [2022-03-11T04:12:45.227Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1102@tmp/config5830307439354480061tmp [Pipeline] { [Pipeline] sh [2022-03-11T04:12:45.566Z] + set +x [2022-03-11T04:12:45.566Z] + curl -s https://codecov.io/bash [2022-03-11T04:12:45.566Z] + bash -s -- [2022-03-11T04:12:45.566Z] [2022-03-11T04:12:45.566Z] _____ _ [2022-03-11T04:12:45.566Z] / ____| | | [2022-03-11T04:12:45.566Z] | | ___ __| | ___ ___ _____ __ [2022-03-11T04:12:45.566Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-03-11T04:12:45.566Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-03-11T04:12:45.566Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-03-11T04:12:45.566Z] Bash-1.0.6 [2022-03-11T04:12:45.566Z] [2022-03-11T04:12:45.566Z] [2022-03-11T04:12:45.566Z] ==> git version 2.24.4 found [2022-03-11T04:12:45.566Z] ==> 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-03-11T04:12:45.566Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-03-11T04:12:45.566Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-03-11T04:12:45.566Z] ==> Jenkins CI detected. [2022-03-11T04:12:45.566Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1102 [2022-03-11T04:12:45.566Z] project root: . [2022-03-11T04:12:45.566Z] --> token set from env [2022-03-11T04:12:45.566Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-03-11T04:12:45.828Z] ==> Running gcov in . (disable via -X gcov) [2022-03-11T04:12:45.828Z] ==> Python coveragepy not found [2022-03-11T04:12:45.828Z] ==> Searching for coverage reports in: [2022-03-11T04:12:45.828Z] + . [2022-03-11T04:12:45.828Z] -> Found 1 reports [2022-03-11T04:12:45.828Z] ==> Detecting git/mercurial file structure [2022-03-11T04:12:45.828Z] ==> Reading reports [2022-03-11T04:12:45.828Z] + ./coverage.out bytes=129001 [2022-03-11T04:12:45.828Z] ==> Appending adjustments [2022-03-11T04:12:45.828Z] https://docs.codecov.io/docs/fixing-reports [2022-03-11T04:12:46.089Z] + Found adjustments [2022-03-11T04:12:46.089Z] ==> Gzipping contents [2022-03-11T04:12:46.089Z] 16K /tmp/codecov.nzzHNg.gz [2022-03-11T04:12:46.089Z] ==> Uploading reports [2022-03-11T04:12:46.089Z] url: https://codecov.io [2022-03-11T04:12:46.089Z] query: branch=PR-1102&commit=43b1dd0ace6555053718f84a94e095350de9135d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1102%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1102&job=&cmd_args= [2022-03-11T04:12:46.089Z] -> Pinging Codecov [2022-03-11T04:12:46.089Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1102&commit=43b1dd0ace6555053718f84a94e095350de9135d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1102%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1102&job=&cmd_args= [2022-03-11T04:12:46.658Z] -> Uploading to [2022-03-11T04:12:46.658Z] https://storage.googleapis.com/codecov/v4/raw/2022-03-11/7E55EF52A471D76F132DFD9A03CDDE97/43b1dd0ace6555053718f84a94e095350de9135d/8da86983-97d7-4ddf-bc33-e815e4e06d9d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220311%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220311T041246Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0ed1a1a2b2f4447879e008f7bcd3d8a79577854a3253a14c49bf04ff0963e386 [2022-03-11T04:12:46.658Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-11T04:12:46.658Z] Dload Upload Total Spent Left Speed [2022-03-11T04:12:46.918Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16246 0 0 100 16246 0 48308 --:--:-- --:--:-- --:--:-- 48351 [2022-03-11T04:12:46.918Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/43b1dd0ace6555053718f84a94e095350de9135d [Pipeline] } [2022-03-11T04:12:46.944Z] 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-03-11T04:12:48.607Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1102/archives ']' [2022-03-11T04:12:48.607Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1102/archives [2022-03-11T04:12:48.607Z] total 8 [2022-03-11T04:12:48.607Z] drwxr-xr-x. 3 root root 34 Mar 11 04:07 . [2022-03-11T04:12:48.607Z] drwxrwxr-x. 12 jenkins jenkins 4096 Mar 11 04:07 .. [2022-03-11T04:12:48.607Z] drwxr-xr-x. 2 root root 6 Mar 11 04:07 cost [2022-03-11T04:12:48.607Z] -rw-r--r--. 1 root root 85 Mar 11 04:07 cost.csv [2022-03-11T04:12:48.607Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1102/archives [2022-03-11T04:12:48.607Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1102/archives [2022-03-11T04:12:48.607Z] total 8 [2022-03-11T04:12:48.607Z] drwxr-xr-x. 3 jenkins jenkins 34 Mar 11 04:07 . [2022-03-11T04:12:48.607Z] drwxrwxr-x. 12 jenkins jenkins 4096 Mar 11 04:07 .. [2022-03-11T04:12:48.607Z] drwxr-xr-x. 2 jenkins jenkins 6 Mar 11 04:07 cost [2022-03-11T04:12:48.607Z] -rw-r--r--. 1 jenkins jenkins 85 Mar 11 04:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-11T04:12:48.942Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-11T04:12:49.532Z] ---> package-listing.sh [2022-03-11T04:12:49.532Z] ++ facter osfamily [2022-03-11T04:12:49.532Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-11T04:12:49.794Z] + OS_FAMILY=redhat [2022-03-11T04:12:49.795Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1102 [2022-03-11T04:12:49.795Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-11T04:12:49.795Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-11T04:12:49.795Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-11T04:12:49.795Z] + PACKAGES=/tmp/packages_start.txt [2022-03-11T04:12:49.795Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1102 ']' [2022-03-11T04:12:49.795Z] + PACKAGES=/tmp/packages_end.txt [2022-03-11T04:12:49.795Z] + case "${OS_FAMILY}" in [2022-03-11T04:12:49.795Z] + rpm -qa [2022-03-11T04:12:49.795Z] + sort [2022-03-11T04:12:50.366Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-11T04:12:50.366Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-11T04:12:50.366Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-11T04:12:50.366Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1102 ']' [2022-03-11T04:12:50.366Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1102/archives/ [2022-03-11T04:12:50.366Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1102/archives/ [Pipeline] echo [2022-03-11T04:12:50.396Z] 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-1102/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-03-11T04:12:50.694Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-11T04:12:51.279Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-11T04:12:51.279Z] . [Pipeline] withDockerContainer [2022-03-11T04:12:51.370Z] prd-centos7-docker-4c-2g-6820 does not seem to be running inside a container [2022-03-11T04:12:51.415Z] $ 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-1102/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-1102 -v /w/workspace/gexfoundry_device-sdk-go_PR-1102:/w/workspace/gexfoundry_device-sdk-go_PR-1102:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1102@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1102@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-11T04:12:51.614Z] $ docker top 34f1e450327ee49b06922e50e786e881cbf0078c56b9380fd1873386773fb082 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-11T04:12:52.015Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-11T04:12:52.331Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-11T04:12:52.644Z] + ls /var/log/sa-host [2022-03-11T04:12:52.644Z] + sadf -c /var/log/sa-host/sa11 [2022-03-11T04:12:52.644Z] file_magic: OK [2022-03-11T04:12:52.644Z] HZ: Using current value: 100 [2022-03-11T04:12:52.644Z] file_header: OK [2022-03-11T04:12:52.644Z] 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-03-11T04:12:52.644Z] Statistics: [2022-03-11T04:12:52.644Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-03-11T04:12:52.644Z] File successfully converted to sysstat format version 12.5.2 [2022-03-11T04:12:52.644Z] + sadf -c /var/log/sa-host/sa17 [2022-03-11T04:12:52.644Z] file_magic: OK [2022-03-11T04:12:52.644Z] HZ: Using current value: 100 [2022-03-11T04:12:52.644Z] file_header: OK [2022-03-11T04:12:52.644Z] 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-03-11T04:12:52.644Z] Statistics: [2022-03-11T04:12:52.644Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-03-11T04:12:52.644Z] File successfully converted to sysstat format version 12.5.2 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-11T04:12:52.785Z] provisioning config files... [2022-03-11T04:12:52.795Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1102@tmp/config6979048329437351656tmp [Pipeline] { [Pipeline] echo [2022-03-11T04:12:52.841Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-11T04:12:53.156Z] ---> create-netrc.sh [Pipeline] } [2022-03-11T04:12:53.181Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-11T04:12:53.595Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-11T04:12:53.628Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-11T04:12:53.939Z] ---> sudo-logs.sh [2022-03-11T04:12:53.939Z] Archiving 'sudo' log.. [2022-03-11T04:12:53.939Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-6820.novalocal: Name or service not known [2022-03-11T04:12:53.939Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-6820.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-03-11T04:12:54.021Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-11T04:12:54.335Z] ---> job-cost.sh [2022-03-11T04:12:54.335Z] lf-activate-venv: SKIPPING [2022-03-11T04:12:54.335Z] DEBUG: total: 0.05999999865889549 [2022-03-11T04:12:54.335Z] INFO: Retrieving Stack Cost... [2022-03-11T04:12:54.595Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-03-11T04:12:55.167Z] INFO: Archiving Costs [Pipeline] echo [2022-03-11T04:12:55.205Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-11T04:12:55.521Z] ---> logs-deploy.sh [2022-03-11T04:12:55.521Z] lf-activate-venv: SKIPPING [2022-03-11T04:12:55.521Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1102/1 [2022-03-11T04:12:55.521Z] INFO: archiving workspace using pattern(s): [2022-03-11T04:12:56.467Z] Archives upload complete. [2022-03-11T04:12:56.467Z] INFO: archiving logs to Nexus