Pull request #1092 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of AlexCuse for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 07413fc94cc2b45047bcdb5c40d5c5d8e8da58c2 rather than 402f1523434569de7c307e28243421359c1fe93d Obtained Jenkinsfile from 07413fc94cc2b45047bcdb5c40d5c5d8e8da58c2 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-ssh4251995409213380383.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh3862504690113127525.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 dae07dc806156effb2cae02074e2f5f64a063e83 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1092/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1092/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10251441824786320465.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3888747568729863714.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1092/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1092/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh118282924112258452.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 ‘prd-centos7-docker-4c-2g-4053’ is offline Running on prd-centos7-docker-4c-2g-4055 in /w/workspace/gexfoundry_device-sdk-go_PR-1092 [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-1092 # 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-1092@tmp/jenkins-gitclient-ssh4418236145235176450.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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-1092@tmp/jenkins-gitclient-ssh9075413264795256635.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1092/head:refs/remotes/origin/PR-1092 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 07413fc94cc2b45047bcdb5c40d5c5d8e8da58c2 into PR head commit 402f1523434569de7c307e28243421359c1fe93d Merge succeeded, producing 402f1523434569de7c307e28243421359c1fe93d Checking out Revision 402f1523434569de7c307e28243421359c1fe93d (PR-1092) > git config core.sparsecheckout # timeout=10 > git checkout -f 402f1523434569de7c307e28243421359c1fe93d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1092@tmp/jenkins-gitclient-ssh1923868661913567405.key > git merge 07413fc94cc2b45047bcdb5c40d5c5d8e8da58c2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 402f1523434569de7c307e28243421359c1fe93d # timeout=10 Commit message: "feat(webserver): Include ServiceName in Common Responses" First time build. Skipping changelog. > git rev-list --no-walk 04339d72689ca4027ce14db41e0096084e37a587 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-27T17:03:41.999Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-27T17:03:42.052Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-27T17:03:42.069Z] ========================================================= [2022-01-27T17:03:42.069Z] EdgeX Global Pipelines Version Info [2022-01-27T17:03:42.069Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-27T17:03:43.187Z] ------------------- [2022-01-27T17:03:43.187Z] stable info: [2022-01-27T17:03:43.187Z] ------------------- [2022-01-27T17:03:43.187Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-27T17:03:43.187Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-27T17:03:43.187Z] Message: update stable to v1.0.219 [2022-01-27T17:03:43.761Z] ------------------- [2022-01-27T17:03:43.761Z] experimental info: [2022-01-27T17:03:43.761Z] ------------------- [2022-01-27T17:03:43.761Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-27T17:03:43.761Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-27T17:03:43.761Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-27T17:03:43.899Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-01-27T17:03:43.914Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-01-27T17:03:43.933Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-27T17:03:43.954Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-27T17:03:43.971Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-27T17:03:43.992Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-27T17:03:44.007Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-27T17:03:44.021Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-01-27T17:03:44.036Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-27T17:03:44.057Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-27T17:03:44.076Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-27T17:03:44.094Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-01-27T17:03:44.110Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-27T17:03:44.127Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-27T17:03:44.146Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-27T17:03:44.163Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-01-27T17:03:44.184Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-27T17:03:44.204Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-27T17:03:44.221Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-27T17:03:44.234Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-27T17:03:44.247Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-01-27T17:03:44.265Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-01-27T17:03:44.283Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-27T17:03:44.301Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-27T17:03:44.318Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-27T17:03:44.334Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-27T17:03:44.351Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1092 [Pipeline] echo [2022-01-27T17:03:44.369Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1092 [Pipeline] echo [2022-01-27T17:03:44.389Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1092 [Pipeline] echo [2022-01-27T17:03:44.402Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 402f1523434569de7c307e28243421359c1fe93d [Pipeline] echo [2022-01-27T17:03:44.417Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 402f152 [Pipeline] echo [2022-01-27T17:03:44.429Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-27T17:03:44.470Z] provisioning config files... [2022-01-27T17:03:44.484Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1092@tmp/config604819952384482421tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-27T17:03:44.792Z] ---> docker-login.sh [2022-01-27T17:03:44.792Z] nexus3.edgexfoundry.org:10001 [2022-01-27T17:03:44.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-27T17:03:44.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-27T17:03:44.792Z] Configure a credential helper to remove this warning. See [2022-01-27T17:03:44.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-27T17:03:44.792Z] [2022-01-27T17:03:44.792Z] Login Succeeded [2022-01-27T17:03:44.792Z] nexus3.edgexfoundry.org:10002 [2022-01-27T17:03:45.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-27T17:03:45.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-27T17:03:45.056Z] Configure a credential helper to remove this warning. See [2022-01-27T17:03:45.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-27T17:03:45.056Z] [2022-01-27T17:03:45.056Z] Login Succeeded [2022-01-27T17:03:45.056Z] nexus3.edgexfoundry.org:10003 [2022-01-27T17:03:45.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-27T17:03:45.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-27T17:03:45.056Z] Configure a credential helper to remove this warning. See [2022-01-27T17:03:45.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-27T17:03:45.056Z] [2022-01-27T17:03:45.056Z] Login Succeeded [2022-01-27T17:03:45.056Z] nexus3.edgexfoundry.org:10004 [2022-01-27T17:03:45.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-27T17:03:45.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-27T17:03:45.318Z] Configure a credential helper to remove this warning. See [2022-01-27T17:03:45.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-27T17:03:45.318Z] [2022-01-27T17:03:45.318Z] Login Succeeded [2022-01-27T17:03:45.318Z] docker.io [2022-01-27T17:03:45.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-27T17:03:45.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-27T17:03:45.578Z] Configure a credential helper to remove this warning. See [2022-01-27T17:03:45.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-27T17:03:45.578Z] [2022-01-27T17:03:45.578Z] Login Succeeded [2022-01-27T17:03:45.578Z] ---> docker-login.sh ends [Pipeline] } [2022-01-27T17:03:45.586Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-27T17:03:45.973Z] + git rev-list -1 --merges 402f1523434569de7c307e28243421359c1fe93d~1..402f1523434569de7c307e28243421359c1fe93d [Pipeline] echo [2022-01-27T17:03:46.004Z] -----------> git rev-list -1 --merges 402f1523434569de7c307e28243421359c1fe93d~1..402f1523434569de7c307e28243421359c1fe93d 402f1523434569de7c307e28243421359c1fe93d [false] [Pipeline] sh [2022-01-27T17:03:46.300Z] + git log --format=format:%s -1 402f1523434569de7c307e28243421359c1fe93d [Pipeline] echo [2022-01-27T17:03:46.318Z] ========================================================= [2022-01-27T17:03:46.318Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-27T17:03:46.318Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-27T17:03:46.645Z] + git log --format=format:%s -1 402f1523434569de7c307e28243421359c1fe93d [Pipeline] echo [2022-01-27T17:03:46.657Z] [semverPrep] GIT_COMMIT: 402f1523434569de7c307e28243421359c1fe93d, Commit Message: feat(webserver): Include ServiceName in Common Responses [Pipeline] echo [2022-01-27T17:03:46.666Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-27T17:03:47.059Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-27T17:03:47.059Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-27T17:03:47.059Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-27T17:03:47.059Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-27T17:03:47.059Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-27T17:03:47.059Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-27T17:03:47.059Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-27T17:03:47.424Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-27T17:03:47.424Z] [2022-01-27T17:03:47.424Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-27T17:03:47.734Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-27T17:03:47.734Z] latest: Pulling from edgex-devops/git-semver [2022-01-27T17:03:47.734Z] a0d0a0d46f8b: Pulling fs layer [2022-01-27T17:03:47.734Z] 3e5f54012d9b: Pulling fs layer [2022-01-27T17:03:47.734Z] 4c7163046ea9: Pulling fs layer [2022-01-27T17:03:47.734Z] 0c2d73faf560: Pulling fs layer [2022-01-27T17:03:47.734Z] 0c2d73faf560: Waiting [2022-01-27T17:03:47.734Z] 3e5f54012d9b: Verifying Checksum [2022-01-27T17:03:47.734Z] 3e5f54012d9b: Download complete [2022-01-27T17:03:47.734Z] a0d0a0d46f8b: Verifying Checksum [2022-01-27T17:03:47.734Z] a0d0a0d46f8b: Download complete [2022-01-27T17:03:48.010Z] 4c7163046ea9: Verifying Checksum [2022-01-27T17:03:48.010Z] 4c7163046ea9: Download complete [2022-01-27T17:03:48.010Z] 0c2d73faf560: Verifying Checksum [2022-01-27T17:03:48.010Z] 0c2d73faf560: Download complete [2022-01-27T17:03:48.010Z] a0d0a0d46f8b: Pull complete [2022-01-27T17:03:48.010Z] 3e5f54012d9b: Pull complete [2022-01-27T17:03:48.274Z] 4c7163046ea9: Pull complete [2022-01-27T17:03:48.536Z] 0c2d73faf560: Pull complete [2022-01-27T17:03:48.536Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-27T17:03:48.536Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-27T17:03:48.536Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-27T17:03:48.608Z] prd-centos7-docker-4c-2g-4055 does not seem to be running inside a container [2022-01-27T17:03:48.667Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1092 -v /w/workspace/gexfoundry_device-sdk-go_PR-1092:/w/workspace/gexfoundry_device-sdk-go_PR-1092:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1092@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1092@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-27T17:03:49.279Z] $ docker top 2d0d991262d26658131efb7e9f0db2141a8ff088fb2b929960a48dc3c1f9a882 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-27T17:03:49.381Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-27T17:03:49.381Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-27T17:03:49.488Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-27T17:03:49.489Z] $ docker exec 2d0d991262d26658131efb7e9f0db2141a8ff088fb2b929960a48dc3c1f9a882 ssh-agent [2022-01-27T17:03:49.586Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOAfCmC/agent.14 [2022-01-27T17:03:49.586Z] SSH_AGENT_PID=21 [2022-01-27T17:03:49.594Z] Running ssh-add (command line suppressed) [2022-01-27T17:03:49.687Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1092@tmp/private_key_3834887561808415705.key (/w/workspace/gexfoundry_device-sdk-go_PR-1092@tmp/private_key_3834887561808415705.key) [2022-01-27T17:03:49.704Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-27T17:03:50.009Z] + git tag --points-at HEAD [Pipeline] } [2022-01-27T17:03:50.022Z] $ docker exec --env ******** --env ******** 2d0d991262d26658131efb7e9f0db2141a8ff088fb2b929960a48dc3c1f9a882 ssh-agent -k [2022-01-27T17:03:50.104Z] unset SSH_AUTH_SOCK; [2022-01-27T17:03:50.104Z] unset SSH_AGENT_PID; [2022-01-27T17:03:50.104Z] echo Agent pid 21 killed; [2022-01-27T17:03:50.115Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-27T17:03:50.145Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-27T17:03:50.145Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-27T17:03:50.255Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-27T17:03:50.255Z] $ docker exec 2d0d991262d26658131efb7e9f0db2141a8ff088fb2b929960a48dc3c1f9a882 ssh-agent [2022-01-27T17:03:50.353Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMgMLgD/agent.54 [2022-01-27T17:03:50.353Z] SSH_AGENT_PID=60 [2022-01-27T17:03:50.358Z] Running ssh-add (command line suppressed) [2022-01-27T17:03:50.460Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1092@tmp/private_key_7820331210851034223.key (/w/workspace/gexfoundry_device-sdk-go_PR-1092@tmp/private_key_7820331210851034223.key) [2022-01-27T17:03:50.474Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-27T17:03:50.774Z] + git semver init [2022-01-27T17:03:50.774Z] # -> Open(): unable to determine branch for HEAD [2022-01-27T17:03:50.774Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1092/.git [2022-01-27T17:03:50.774Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1092 [2022-01-27T17:03:50.774Z] # $SEMVER_REMOTE_NAME = origin [2022-01-27T17:03:50.774Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-27T17:03:50.774Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-27T17:03:50.774Z] # $SEMVER_BRANCH = PR-1092 [2022-01-27T17:03:50.774Z] # $SEMVER_TEMP = /tmp/semver-431208304 [2022-01-27T17:03:50.774Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-01-27T17:03:51.714Z] # '/tmp/semver-431208304' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1092/.semver' [2022-01-27T17:03:51.715Z] # -> Force: false [2022-01-27T17:03:51.715Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1092/.semver [Pipeline] } [2022-01-27T17:03:51.723Z] $ docker exec --env ******** --env ******** 2d0d991262d26658131efb7e9f0db2141a8ff088fb2b929960a48dc3c1f9a882 ssh-agent -k [2022-01-27T17:03:51.821Z] unset SSH_AUTH_SOCK; [2022-01-27T17:03:51.822Z] unset SSH_AGENT_PID; [2022-01-27T17:03:51.822Z] echo Agent pid 60 killed; [2022-01-27T17:03:51.831Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-27T17:03:52.147Z] + git semver [Pipeline] } [2022-01-27T17:03:52.160Z] $ docker stop --time=1 2d0d991262d26658131efb7e9f0db2141a8ff088fb2b929960a48dc3c1f9a882 [2022-01-27T17:03:53.399Z] $ docker rm -f 2d0d991262d26658131efb7e9f0db2141a8ff088fb2b929960a48dc3c1f9a882 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-27T17:03:53.750Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-27T17:03:54.019Z] Stashed 1 file(s) [Pipeline] echo [2022-01-27T17:03:54.023Z] [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-01-27T17:03:54.190Z] provisioning config files... [2022-01-27T17:03:54.199Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1092@tmp/config8441793417518525401tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-27T17:03:54.512Z] ---> docker-login.sh [2022-01-27T17:03:54.512Z] nexus3.edgexfoundry.org:10001 [2022-01-27T17:03:54.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-27T17:03:54.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-27T17:03:54.513Z] Configure a credential helper to remove this warning. See [2022-01-27T17:03:54.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-27T17:03:54.513Z] [2022-01-27T17:03:54.513Z] Login Succeeded [2022-01-27T17:03:54.513Z] nexus3.edgexfoundry.org:10002 [2022-01-27T17:03:54.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-27T17:03:54.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-27T17:03:54.776Z] Configure a credential helper to remove this warning. See [2022-01-27T17:03:54.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-27T17:03:54.776Z] [2022-01-27T17:03:54.776Z] Login Succeeded [2022-01-27T17:03:54.776Z] nexus3.edgexfoundry.org:10003 [2022-01-27T17:03:54.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-27T17:03:54.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-27T17:03:54.776Z] Configure a credential helper to remove this warning. See [2022-01-27T17:03:54.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-27T17:03:54.776Z] [2022-01-27T17:03:54.776Z] Login Succeeded [2022-01-27T17:03:54.776Z] nexus3.edgexfoundry.org:10004 [2022-01-27T17:03:54.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-27T17:03:54.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-27T17:03:54.776Z] Configure a credential helper to remove this warning. See [2022-01-27T17:03:54.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-27T17:03:54.776Z] [2022-01-27T17:03:54.776Z] Login Succeeded [2022-01-27T17:03:54.776Z] docker.io [2022-01-27T17:03:55.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-27T17:03:55.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-27T17:03:55.297Z] Configure a credential helper to remove this warning. See [2022-01-27T17:03:55.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-27T17:03:55.297Z] [2022-01-27T17:03:55.297Z] Login Succeeded [2022-01-27T17:03:55.297Z] ---> docker-login.sh ends [Pipeline] } [2022-01-27T17:03:55.305Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-27T17:03:55.373Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-27T17:03:55.389Z] ========================================================= [2022-01-27T17:03:55.389Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-27T17:03:55.389Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-27T17:03:55.704Z] + 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-01-27T17:03:55.705Z] Sending build context to Docker daemon 9.463MB [2022-01-27T17:03:55.705Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-01-27T17:03:55.705Z] Step 2/11 : FROM ${BASE} AS builder [2022-01-27T17:03:55.705Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-27T17:03:55.705Z] 59bf1c3509f3: Pulling fs layer [2022-01-27T17:03:55.705Z] 666ba61612fd: Pulling fs layer [2022-01-27T17:03:55.705Z] 8ed8ca486205: Pulling fs layer [2022-01-27T17:03:55.705Z] 4fe6c5a15a65: Pulling fs layer [2022-01-27T17:03:55.705Z] 22a0e8bec74d: Pulling fs layer [2022-01-27T17:03:55.705Z] f965cba54748: Pulling fs layer [2022-01-27T17:03:55.705Z] 861ffc35075e: Pulling fs layer [2022-01-27T17:03:55.705Z] 4b385c91608e: Pulling fs layer [2022-01-27T17:03:55.705Z] 560528eb2ebb: Pulling fs layer [2022-01-27T17:03:55.705Z] f965cba54748: Waiting [2022-01-27T17:03:55.705Z] 861ffc35075e: Waiting [2022-01-27T17:03:55.705Z] 4b385c91608e: Waiting [2022-01-27T17:03:55.705Z] 560528eb2ebb: Waiting [2022-01-27T17:03:55.705Z] 4fe6c5a15a65: Waiting [2022-01-27T17:03:55.705Z] 22a0e8bec74d: Waiting [2022-01-27T17:03:55.963Z] 8ed8ca486205: Verifying Checksum [2022-01-27T17:03:55.963Z] 8ed8ca486205: Download complete [2022-01-27T17:03:55.963Z] 666ba61612fd: Verifying Checksum [2022-01-27T17:03:55.963Z] 666ba61612fd: Download complete [2022-01-27T17:03:55.963Z] 22a0e8bec74d: Verifying Checksum [2022-01-27T17:03:55.963Z] 22a0e8bec74d: Download complete [2022-01-27T17:03:55.963Z] f965cba54748: Verifying Checksum [2022-01-27T17:03:55.963Z] f965cba54748: Download complete [2022-01-27T17:03:55.963Z] 861ffc35075e: Verifying Checksum [2022-01-27T17:03:55.963Z] 861ffc35075e: Download complete [2022-01-27T17:03:55.963Z] 59bf1c3509f3: Verifying Checksum [2022-01-27T17:03:55.963Z] 59bf1c3509f3: Download complete [2022-01-27T17:03:55.963Z] 4b385c91608e: Verifying Checksum [2022-01-27T17:03:55.963Z] 4b385c91608e: Download complete [2022-01-27T17:03:56.538Z] 4fe6c5a15a65: Verifying Checksum [2022-01-27T17:03:56.538Z] 4fe6c5a15a65: Download complete [2022-01-27T17:03:56.538Z] 59bf1c3509f3: Pull complete [2022-01-27T17:03:56.538Z] 560528eb2ebb: Verifying Checksum [2022-01-27T17:03:56.538Z] 560528eb2ebb: Download complete [2022-01-27T17:03:56.538Z] 666ba61612fd: Pull complete [2022-01-27T17:03:56.799Z] 8ed8ca486205: Pull complete [2022-01-27T17:04:01.035Z] 4fe6c5a15a65: Pull complete [2022-01-27T17:04:01.035Z] 22a0e8bec74d: Pull complete [2022-01-27T17:04:01.035Z] f965cba54748: Pull complete [2022-01-27T17:04:01.035Z] 861ffc35075e: Pull complete [2022-01-27T17:04:01.035Z] 4b385c91608e: Pull complete [2022-01-27T17:04:03.634Z] 560528eb2ebb: Pull complete [2022-01-27T17:04:03.634Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-27T17:04:03.634Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-27T17:04:03.634Z] ---> dd4a08f94e63 [2022-01-27T17:04:03.634Z] Step 3/11 : ARG MAKE=make build [2022-01-27T17:04:05.555Z] ---> Running in 59efd3433e41 [2022-01-27T17:04:05.555Z] Removing intermediate container 59efd3433e41 [2022-01-27T17:04:05.555Z] ---> d7a79a520e3e [2022-01-27T17:04:05.555Z] Step 4/11 : WORKDIR /device-sdk-go [2022-01-27T17:04:05.555Z] ---> Running in 83a2a225dbcc [2022-01-27T17:04:05.555Z] Removing intermediate container 83a2a225dbcc [2022-01-27T17:04:05.555Z] ---> 0569696a0ce0 [2022-01-27T17:04:05.555Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-27T17:04:05.555Z] ---> Running in 2acc3c5b0b72 [2022-01-27T17:04:05.555Z] Removing intermediate container 2acc3c5b0b72 [2022-01-27T17:04:05.555Z] ---> acc9fb80ebb0 [2022-01-27T17:04:05.555Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-27T17:04:05.555Z] ---> Running in 3a7039fba0c6 [2022-01-27T17:04:06.130Z] Removing intermediate container 3a7039fba0c6 [2022-01-27T17:04:06.131Z] ---> 9f8ae5643f03 [2022-01-27T17:04:06.131Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-27T17:04:06.131Z] ---> Running in 8ee315c34540 [2022-01-27T17:04:06.391Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-27T17:04:06.961Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-27T17:04:07.533Z] OK: 221 MiB in 52 packages [2022-01-27T17:04:07.801Z] Removing intermediate container 8ee315c34540 [2022-01-27T17:04:07.801Z] ---> 14391b8e3a68 [2022-01-27T17:04:07.801Z] Step 8/11 : COPY go.mod vendor* ./ [2022-01-27T17:04:07.801Z] ---> d277a116a8b0 [2022-01-27T17:04:07.801Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-27T17:04:07.801Z] ---> Running in 384a00814615 [2022-01-27T17:04:09.141Z] Still waiting to schedule task [2022-01-27T17:04:09.141Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-4054’ [2022-01-27T17:04:34.416Z] Removing intermediate container 384a00814615 [2022-01-27T17:04:34.416Z] ---> 9621f4262af9 [2022-01-27T17:04:34.416Z] Step 10/11 : COPY . . [2022-01-27T17:04:34.992Z] ---> 16b4d5de893c [2022-01-27T17:04:34.992Z] Step 11/11 : RUN ${MAKE} [2022-01-27T17:04:34.992Z] ---> Running in be96fc94a787 [2022-01-27T17:04:35.252Z] noop [2022-01-27T17:04:35.512Z] Removing intermediate container be96fc94a787 [2022-01-27T17:04:35.512Z] ---> 39d9a2113bbc [2022-01-27T17:04:35.512Z] Successfully built 39d9a2113bbc [2022-01-27T17:04:35.512Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-27T17:04:35.815Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-27T17:04:35.815Z] . [Pipeline] withDockerContainer [2022-01-27T17:04:35.890Z] prd-centos7-docker-4c-2g-4055 does not seem to be running inside a container [2022-01-27T17:04:35.928Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1092 -v /w/workspace/gexfoundry_device-sdk-go_PR-1092:/w/workspace/gexfoundry_device-sdk-go_PR-1092:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1092@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1092@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-27T17:04:36.321Z] $ docker top 59702455ccb05ae36c4730379daf34965b4f655dc40779a30d30b4813507830a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-27T17:04:36.673Z] + go version [2022-01-27T17:04:36.673Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-27T17:04:36.683Z] $ docker stop --time=1 59702455ccb05ae36c4730379daf34965b4f655dc40779a30d30b4813507830a [2022-01-27T17:04:37.978Z] $ docker rm -f 59702455ccb05ae36c4730379daf34965b4f655dc40779a30d30b4813507830a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-27T17:04:38.410Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-27T17:04:38.410Z] . [Pipeline] withDockerContainer [2022-01-27T17:04:38.467Z] prd-centos7-docker-4c-2g-4055 does not seem to be running inside a container [2022-01-27T17:04:38.525Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1092 -v /w/workspace/gexfoundry_device-sdk-go_PR-1092:/w/workspace/gexfoundry_device-sdk-go_PR-1092:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1092@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1092@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-27T17:04:38.854Z] $ docker top 7757c29ab86dff2cf81557e253387671a224977c87e1ddf70a8880d2ccfcb9be -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-27T17:04:39.236Z] + make test [2022-01-27T17:04:39.236Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-27T17:04:39.499Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-27T17:04:54.499Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-27T17:04:54.499Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-27T17:04:54.499Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-27T17:04:54.782Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.011s coverage: 23.3% of statements [2022-01-27T17:04:54.782Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-27T17:04:54.782Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.007s coverage: 27.6% of statements [2022-01-27T17:04:54.782Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.006s coverage: 78.9% of statements [2022-01-27T17:04:55.378Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.007s coverage: 9.0% of statements [2022-01-27T17:04:55.378Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-27T17:04:55.378Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-27T17:04:55.378Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-27T17:04:55.642Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.044s coverage: 28.7% of statements [2022-01-27T17:04:55.642Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-27T17:04:57.026Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.040s coverage: 86.1% of statements [2022-01-27T17:04:57.026Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-27T17:04:57.026Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-27T17:04:57.026Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.012s coverage: 57.4% of statements [2022-01-27T17:04:57.026Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.030s coverage: 89.2% of statements [2022-01-27T17:04:57.026Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-27T17:04:57.287Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.008s coverage: 4.8% of statements [2022-01-27T17:04:57.287Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-27T17:05:09.577Z] GO111MODULE=on go vet ./... [2022-01-27T17:05:12.904Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-27T17:05:12.904Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-27T17:05:12.904Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-27T17:05:13.486Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-27T17:05:13.499Z] $ docker stop --time=1 7757c29ab86dff2cf81557e253387671a224977c87e1ddf70a8880d2ccfcb9be [2022-01-27T17:05:14.974Z] $ docker rm -f 7757c29ab86dff2cf81557e253387671a224977c87e1ddf70a8880d2ccfcb9be [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-27T17:05:15.445Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-27T17:05:15.500Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-27T17:05:16.494Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-27T17:05:16.786Z] + ls -al . [2022-01-27T17:05:16.787Z] total 272 [2022-01-27T17:05:16.787Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jan 27 17:05 . [2022-01-27T17:05:16.787Z] drwxrwxr-x. 4 jenkins jenkins 112 Jan 27 17:03 .. [2022-01-27T17:05:16.787Z] drwxrwxr-x. 2 jenkins jenkins 37 Jan 27 17:03 bin [2022-01-27T17:05:16.787Z] -rw-rw-r--. 1 jenkins jenkins 26321 Jan 27 17:03 CHANGELOG.md [2022-01-27T17:05:16.787Z] -rw-r--r--. 1 jenkins jenkins 128608 Jan 27 17:04 coverage.out [2022-01-27T17:05:16.787Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 27 17:03 .dockerignore [2022-01-27T17:05:16.787Z] drwxrwxr-x. 5 jenkins jenkins 62 Jan 27 17:03 example [2022-01-27T17:05:16.787Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 27 17:03 .git [2022-01-27T17:05:16.787Z] drwxrwxr-x. 3 jenkins jenkins 125 Jan 27 17:03 .github [2022-01-27T17:05:16.787Z] -rw-rw-r--. 1 jenkins jenkins 131 Jan 27 17:03 .gitignore [2022-01-27T17:05:16.787Z] -rw-rw-r--. 1 jenkins jenkins 42 Jan 27 17:03 .golangci.yml [2022-01-27T17:05:16.787Z] -rw-rw-r--. 1 jenkins jenkins 2766 Jan 27 17:03 go.mod [2022-01-27T17:05:16.787Z] -rw-rw-r--. 1 jenkins jenkins 49665 Jan 27 17:03 go.sum [2022-01-27T17:05:16.787Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 27 17:03 GOVERNANCE.md [2022-01-27T17:05:16.787Z] drwxrwxr-x. 15 jenkins jenkins 224 Jan 27 17:03 internal [2022-01-27T17:05:16.787Z] -rw-rw-r--. 1 jenkins jenkins 880 Jan 27 17:03 Jenkinsfile [2022-01-27T17:05:16.787Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 27 17:03 LICENSE [2022-01-27T17:05:16.787Z] -rw-rw-r--. 1 jenkins jenkins 1614 Jan 27 17:03 Makefile [2022-01-27T17:05:16.787Z] drwxrwxr-x. 3 jenkins jenkins 16 Jan 27 17:03 openapi [2022-01-27T17:05:16.787Z] -rw-rw-r--. 1 jenkins jenkins 619 Jan 27 17:03 OWNERS.md [2022-01-27T17:05:16.787Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 27 17:03 pkg [2022-01-27T17:05:16.787Z] -rw-rw-r--. 1 jenkins jenkins 4881 Jan 27 17:03 README.md [2022-01-27T17:05:16.787Z] drwx------. 3 jenkins jenkins 72 Jan 27 17:03 .semver [2022-01-27T17:05:16.787Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 27 17:03 snap [2022-01-27T17:05:16.787Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 27 17:03 VERSION [2022-01-27T17:05:16.787Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 27 17:03 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-27T17:05:17.085Z] + 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=402f1523434569de7c307e28243421359c1fe93d --label arch=amd64 --label version=0.0.0 . [2022-01-27T17:05:17.085Z] Sending build context to Docker daemon 9.592MB [2022-01-27T17:05:17.085Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-01-27T17:05:17.085Z] Step 2/25 : FROM ${BASE} AS builder [2022-01-27T17:05:17.085Z] ---> 39d9a2113bbc [2022-01-27T17:05:17.085Z] Step 3/25 : ARG MAKE=make build [2022-01-27T17:05:17.347Z] ---> Running in 58c9f79d2923 [2022-01-27T17:05:17.347Z] Removing intermediate container 58c9f79d2923 [2022-01-27T17:05:17.347Z] ---> 49bc000e7a99 [2022-01-27T17:05:17.347Z] Step 4/25 : WORKDIR /device-sdk-go [2022-01-27T17:05:17.347Z] ---> Running in 7db56f2287d8 [2022-01-27T17:05:17.347Z] Removing intermediate container 7db56f2287d8 [2022-01-27T17:05:17.347Z] ---> f4f6a2fc3812 [2022-01-27T17:05:17.347Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-27T17:05:17.347Z] ---> Running in cde9cd4bfbed [2022-01-27T17:05:17.610Z] Removing intermediate container cde9cd4bfbed [2022-01-27T17:05:17.610Z] ---> 5f6482723f08 [2022-01-27T17:05:17.610Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-27T17:05:17.610Z] ---> Running in b49b9db289c7 [2022-01-27T17:05:17.870Z] Removing intermediate container b49b9db289c7 [2022-01-27T17:05:17.870Z] ---> bb6c76bc6506 [2022-01-27T17:05:17.870Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-27T17:05:17.870Z] ---> Running in 28de6616f15b [2022-01-27T17:05:18.129Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-27T17:05:19.067Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-27T17:05:19.327Z] OK: 221 MiB in 52 packages [2022-01-27T17:05:19.592Z] Removing intermediate container 28de6616f15b [2022-01-27T17:05:19.592Z] ---> ae7e9fd92f9f [2022-01-27T17:05:19.592Z] Step 8/25 : COPY go.mod vendor* ./ [2022-01-27T17:05:19.854Z] ---> a9c7308371ca [2022-01-27T17:05:19.854Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-27T17:05:19.854Z] ---> Running in 306fd0320bb7 [2022-01-27T17:05:20.425Z] Removing intermediate container 306fd0320bb7 [2022-01-27T17:05:20.425Z] ---> f2da8bfa48a4 [2022-01-27T17:05:20.425Z] Step 10/25 : COPY . . [2022-01-27T17:05:20.686Z] ---> ce93417e0669 [2022-01-27T17:05:20.686Z] Step 11/25 : RUN ${MAKE} [2022-01-27T17:05:20.686Z] ---> Running in c5abce2034ef [2022-01-27T17:05:20.948Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-01-27T17:05:33.253Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-27T17:05:33.253Z] Removing intermediate container c5abce2034ef [2022-01-27T17:05:33.253Z] ---> 5af9620c8613 [2022-01-27T17:05:33.253Z] Step 12/25 : FROM alpine:3.14 [2022-01-27T17:05:33.253Z] 3.14: Pulling from library/alpine [2022-01-27T17:05:33.253Z] 97518928ae5f: Pulling fs layer [2022-01-27T17:05:33.253Z] 97518928ae5f: Verifying Checksum [2022-01-27T17:05:33.253Z] 97518928ae5f: Download complete [2022-01-27T17:05:33.517Z] 97518928ae5f: Pull complete [2022-01-27T17:05:33.517Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-27T17:05:33.517Z] Status: Downloaded newer image for alpine:3.14 [2022-01-27T17:05:33.517Z] ---> 0a97eee8041e [2022-01-27T17:05:33.517Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-27T17:05:33.517Z] ---> Running in 50405ea41cf7 [2022-01-27T17:05:33.517Z] Removing intermediate container 50405ea41cf7 [2022-01-27T17:05:33.517Z] ---> 8276934d8a1b [2022-01-27T17:05:33.517Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-27T17:05:33.782Z] ---> Running in ef66f6cedd8a [2022-01-27T17:05:34.043Z] Removing intermediate container ef66f6cedd8a [2022-01-27T17:05:34.043Z] ---> 72c7f2f67548 [2022-01-27T17:05:34.043Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-01-27T17:05:34.043Z] ---> Running in 3d70d3978fbe [2022-01-27T17:05:34.305Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-27T17:05:35.245Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-27T17:05:35.506Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-27T17:05:35.506Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-27T17:05:35.766Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-27T17:05:35.766Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-27T17:05:35.766Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-27T17:05:36.033Z] Executing busybox-1.33.1-r6.trigger [2022-01-27T17:05:36.033Z] OK: 8 MiB in 19 packages [2022-01-27T17:05:36.295Z] Removing intermediate container 3d70d3978fbe [2022-01-27T17:05:36.295Z] ---> aa1dafca1760 [2022-01-27T17:05:36.295Z] Step 16/25 : WORKDIR / [2022-01-27T17:05:36.295Z] ---> Running in e9e89817e0e2 [2022-01-27T17:05:36.295Z] Removing intermediate container e9e89817e0e2 [2022-01-27T17:05:36.295Z] ---> bc1ebb473599 [2022-01-27T17:05:36.295Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-27T17:05:36.295Z] ---> 0b6de08ea3b1 [2022-01-27T17:05:36.295Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-27T17:05:36.866Z] ---> 2baaae818e66 [2022-01-27T17:05:36.866Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-27T17:05:36.866Z] ---> 89508debb059 [2022-01-27T17:05:36.866Z] Step 20/25 : EXPOSE 59999 [2022-01-27T17:05:36.866Z] ---> Running in 431aaafff17c [2022-01-27T17:05:36.866Z] Removing intermediate container 431aaafff17c [2022-01-27T17:05:36.866Z] ---> 40bb41364797 [2022-01-27T17:05:36.866Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-01-27T17:05:37.133Z] ---> Running in 383000b7714b [2022-01-27T17:05:37.133Z] Removing intermediate container 383000b7714b [2022-01-27T17:05:37.133Z] ---> 69fbd24612aa [2022-01-27T17:05:37.133Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-27T17:05:37.133Z] ---> Running in b8cbe8065124 [2022-01-27T17:05:37.133Z] Removing intermediate container b8cbe8065124 [2022-01-27T17:05:37.133Z] ---> c75b6a28cc53 [2022-01-27T17:05:37.133Z] Step 23/25 : LABEL arch=amd64 [2022-01-27T17:05:37.133Z] ---> Running in c4f49ea27a71 [2022-01-27T17:05:37.396Z] Removing intermediate container c4f49ea27a71 [2022-01-27T17:05:37.396Z] ---> 4d889811ca10 [2022-01-27T17:05:37.396Z] Step 24/25 : LABEL git_sha=402f1523434569de7c307e28243421359c1fe93d [2022-01-27T17:05:37.396Z] ---> Running in 5fa84a8ea957 [2022-01-27T17:05:37.396Z] Removing intermediate container 5fa84a8ea957 [2022-01-27T17:05:37.396Z] ---> 47f2cd8b984f [2022-01-27T17:05:37.396Z] Step 25/25 : LABEL version=0.0.0 [2022-01-27T17:05:37.396Z] ---> Running in d00e011bb282 [2022-01-27T17:05:37.396Z] Removing intermediate container d00e011bb282 [2022-01-27T17:05:37.396Z] ---> e19c0ad7a7de [2022-01-27T17:05:37.396Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-27T17:05:37.658Z] Successfully built e19c0ad7a7de [2022-01-27T17:05:37.658Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-27T17:05:38.080Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-27T17:05:38.080Z] [2022-01-27T17:05:38.080Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-27T17:05:38.394Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-27T17:05:38.394Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-27T17:05:38.394Z] b4d181a07f80: Pulling fs layer [2022-01-27T17:05:38.394Z] a1111a8f2ec3: Pulling fs layer [2022-01-27T17:05:38.394Z] ed53099fbce6: Pulling fs layer [2022-01-27T17:05:38.394Z] dc539afda2c1: Pulling fs layer [2022-01-27T17:05:38.394Z] 77bc0d833cb6: Pulling fs layer [2022-01-27T17:05:38.394Z] 9065ff56babe: Pulling fs layer [2022-01-27T17:05:38.394Z] d287ab97295c: Pulling fs layer [2022-01-27T17:05:38.394Z] dc539afda2c1: Waiting [2022-01-27T17:05:38.394Z] 77bc0d833cb6: Waiting [2022-01-27T17:05:38.394Z] 9065ff56babe: Waiting [2022-01-27T17:05:38.394Z] d287ab97295c: Waiting [2022-01-27T17:05:38.394Z] a1111a8f2ec3: Verifying Checksum [2022-01-27T17:05:38.394Z] a1111a8f2ec3: Download complete [2022-01-27T17:05:38.394Z] dc539afda2c1: Verifying Checksum [2022-01-27T17:05:38.394Z] dc539afda2c1: Download complete [2022-01-27T17:05:38.394Z] ed53099fbce6: Verifying Checksum [2022-01-27T17:05:38.394Z] ed53099fbce6: Download complete [2022-01-27T17:05:38.656Z] 77bc0d833cb6: Verifying Checksum [2022-01-27T17:05:38.656Z] 77bc0d833cb6: Download complete [2022-01-27T17:05:38.656Z] 9065ff56babe: Verifying Checksum [2022-01-27T17:05:38.656Z] 9065ff56babe: Download complete [2022-01-27T17:05:38.656Z] b4d181a07f80: Verifying Checksum [2022-01-27T17:05:38.656Z] b4d181a07f80: Download complete [2022-01-27T17:05:39.239Z] d287ab97295c: Verifying Checksum [2022-01-27T17:05:39.239Z] d287ab97295c: Download complete [2022-01-27T17:05:40.191Z] b4d181a07f80: Pull complete [2022-01-27T17:05:40.191Z] a1111a8f2ec3: Pull complete [2022-01-27T17:05:40.775Z] ed53099fbce6: Pull complete [2022-01-27T17:05:40.775Z] dc539afda2c1: Pull complete [2022-01-27T17:05:41.041Z] 77bc0d833cb6: Pull complete [2022-01-27T17:05:41.041Z] 9065ff56babe: Pull complete [2022-01-27T17:05:46.380Z] d287ab97295c: Pull complete [2022-01-27T17:05:46.380Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-27T17:05:46.380Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-27T17:05:46.380Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-27T17:05:46.450Z] prd-centos7-docker-4c-2g-4055 does not seem to be running inside a container [2022-01-27T17:05:46.492Z] $ 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-1092 -v /w/workspace/gexfoundry_device-sdk-go_PR-1092:/w/workspace/gexfoundry_device-sdk-go_PR-1092:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1092@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1092@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-27T17:05:48.880Z] $ docker top 7d2cb4c264970269b3ebea728700b7f713c1f70508923d5fce418cde8f024367 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-27T17:05:49.270Z] ---> job-cost.sh [2022-01-27T17:05:49.270Z] lf-activate-venv: SKIPPING [2022-01-27T17:05:49.270Z] INFO: No Stack... [2022-01-27T17:05:49.530Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-27T17:05:50.101Z] INFO: Archiving Costs [Pipeline] sh [2022-01-27T17:05:50.500Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1092/archives/cost.csv [2022-01-27T17:05:50.500Z] + cut -d, -f6 [Pipeline] lock [2022-01-27T17:05:50.609Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1092-2-stack-cost] [2022-01-27T17:05:50.615Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1092-2-stack-cost] did not exist. Created. [2022-01-27T17:05:50.615Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1092-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-27T17:05:51.077Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-27T17:05:51.145Z] Stashed 1 file(s) [Pipeline] } [2022-01-27T17:05:51.151Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1092-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-27T17:05:51.166Z] $ docker stop --time=1 7d2cb4c264970269b3ebea728700b7f713c1f70508923d5fce418cde8f024367 [2022-01-27T17:05:52.300Z] $ docker rm -f 7d2cb4c264970269b3ebea728700b7f713c1f70508923d5fce418cde8f024367 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-27T17:06:32.351Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4058 in /w/workspace/gexfoundry_device-sdk-go_PR-1092 [Pipeline] { [Pipeline] ws [2022-01-27T17:06:32.361Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2022-01-27T17:06:32.556Z] The recommended git tool is: git [2022-01-27T17:06:37.581Z] using credential edgex-jenkins-ssh [2022-01-27T17:06:37.595Z] Cloning the remote Git repository [2022-01-27T17:06:37.651Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-01-27T17:06:37.739Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2022-01-27T17:06:37.834Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-27T17:06:37.835Z] > git --version # timeout=10 [2022-01-27T17:06:37.871Z] > git --version # 'git version 2.17.1' [2022-01-27T17:06:37.873Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-27T17:06:37.953Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-27T17:06:39.588Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-27T17:06:39.613Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-27T17:06:39.647Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-27T17:06:39.746Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-27T17:06:39.748Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-27T17:06:39.776Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1092/head:refs/remotes/origin/PR-1092 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-27T17:06:40.535Z] Merging remotes/origin/main commit 07413fc94cc2b45047bcdb5c40d5c5d8e8da58c2 into PR head commit 402f1523434569de7c307e28243421359c1fe93d [2022-01-27T17:06:40.847Z] Merge succeeded, producing 402f1523434569de7c307e28243421359c1fe93d [2022-01-27T17:06:40.847Z] Checking out Revision 402f1523434569de7c307e28243421359c1fe93d (PR-1092) [2022-01-27T17:06:40.556Z] > git config core.sparsecheckout # timeout=10 [2022-01-27T17:06:40.582Z] > git checkout -f 402f1523434569de7c307e28243421359c1fe93d # timeout=10 [2022-01-27T17:06:40.715Z] > git remote # timeout=10 [2022-01-27T17:06:40.744Z] > git config --get remote.origin.url # timeout=10 [2022-01-27T17:06:40.776Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-27T17:06:40.793Z] > git merge 07413fc94cc2b45047bcdb5c40d5c5d8e8da58c2 # timeout=10 [2022-01-27T17:06:40.826Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-27T17:06:40.855Z] > git config core.sparsecheckout # timeout=10 [2022-01-27T17:06:40.876Z] > git checkout -f 402f1523434569de7c307e28243421359c1fe93d # timeout=10 [2022-01-27T17:06:45.228Z] Commit message: "feat(webserver): Include ServiceName in Common Responses" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-27T17:06:46.198Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-27T17:06:46.198Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-27T17:06:46.198Z] Dload Upload Total Spent Left Speed [2022-01-27T17:06:46.198Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 183k 0 --:--:-- --:--:-- --:--:-- 186k [Pipeline] sh [2022-01-27T17:06:46.715Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-27T17:06:47.054Z] + sudo tee /etc/docker/daemon.new [2022-01-27T17:06:47.054Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-27T17:06:47.054Z] { [2022-01-27T17:06:47.054Z] "registry-mirrors": [ [2022-01-27T17:06:47.054Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-27T17:06:47.054Z] ], [2022-01-27T17:06:47.054Z] "bip": "10.250.0.254/24", [2022-01-27T17:06:47.054Z] "hosts": [ [2022-01-27T17:06:47.054Z] "tcp://0.0.0.0:5555", [2022-01-27T17:06:47.054Z] "unix:///var/run/docker.sock" [2022-01-27T17:06:47.054Z] ], [2022-01-27T17:06:47.054Z] "mtu": 1458, [2022-01-27T17:06:47.054Z] "selinux-enabled": true, [2022-01-27T17:06:47.054Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-27T17:06:47.054Z] } [Pipeline] sh [2022-01-27T17:06:47.401Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-27T17:06:47.742Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-27T17:07:06.125Z] provisioning config files... [2022-01-27T17:07:06.151Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4717850179652441882tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-27T17:07:06.518Z] ---> docker-login.sh [2022-01-27T17:07:06.518Z] nexus3.edgexfoundry.org:10001 [2022-01-27T17:07:07.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-27T17:07:07.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-27T17:07:07.388Z] Configure a credential helper to remove this warning. See [2022-01-27T17:07:07.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-27T17:07:07.388Z] [2022-01-27T17:07:07.388Z] Login Succeeded [2022-01-27T17:07:07.388Z] nexus3.edgexfoundry.org:10002 [2022-01-27T17:07:07.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-27T17:07:07.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-27T17:07:07.935Z] Configure a credential helper to remove this warning. See [2022-01-27T17:07:07.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-27T17:07:07.935Z] [2022-01-27T17:07:07.935Z] Login Succeeded [2022-01-27T17:07:07.935Z] nexus3.edgexfoundry.org:10003 [2022-01-27T17:07:08.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-27T17:07:08.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-27T17:07:08.209Z] Configure a credential helper to remove this warning. See [2022-01-27T17:07:08.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-27T17:07:08.209Z] [2022-01-27T17:07:08.209Z] Login Succeeded [2022-01-27T17:07:08.209Z] nexus3.edgexfoundry.org:10004 [2022-01-27T17:07:08.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-27T17:07:08.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-27T17:07:08.769Z] Configure a credential helper to remove this warning. See [2022-01-27T17:07:08.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-27T17:07:08.769Z] [2022-01-27T17:07:08.769Z] Login Succeeded [2022-01-27T17:07:08.769Z] docker.io [2022-01-27T17:07:09.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-27T17:07:09.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-27T17:07:09.314Z] Configure a credential helper to remove this warning. See [2022-01-27T17:07:09.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-27T17:07:09.314Z] [2022-01-27T17:07:09.314Z] Login Succeeded [2022-01-27T17:07:09.314Z] ---> docker-login.sh ends [Pipeline] } [2022-01-27T17:07:09.332Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-27T17:07:09.768Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-27T17:07:09.783Z] ========================================================= [2022-01-27T17:07:09.783Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-27T17:07:09.783Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-27T17:07:10.161Z] + 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-01-27T17:07:10.437Z] Sending build context to Docker daemon 5.138MB [2022-01-27T17:07:10.713Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-01-27T17:07:10.713Z] Step 2/11 : FROM ${BASE} AS builder [2022-01-27T17:07:10.713Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-27T17:07:10.713Z] 9b3977197b4f: Pulling fs layer [2022-01-27T17:07:10.713Z] 1a89e8eeedd5: Pulling fs layer [2022-01-27T17:07:10.713Z] 94645a83ff95: Pulling fs layer [2022-01-27T17:07:10.713Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-27T17:07:10.713Z] 0c92f367c5e7: Pulling fs layer [2022-01-27T17:07:10.713Z] 3f3a8bcf1eab: Waiting [2022-01-27T17:07:10.713Z] 4b8299f9d1f4: Pulling fs layer [2022-01-27T17:07:10.713Z] 9a6b49a46696: Pulling fs layer [2022-01-27T17:07:10.713Z] cf05db05a679: Pulling fs layer [2022-01-27T17:07:10.713Z] 0c92f367c5e7: Waiting [2022-01-27T17:07:10.713Z] 9a6b49a46696: Waiting [2022-01-27T17:07:10.713Z] 4b8299f9d1f4: Waiting [2022-01-27T17:07:10.713Z] cf05db05a679: Waiting [2022-01-27T17:07:10.713Z] 94645a83ff95: Download complete [2022-01-27T17:07:10.713Z] 1a89e8eeedd5: Verifying Checksum [2022-01-27T17:07:10.713Z] 1a89e8eeedd5: Download complete [2022-01-27T17:07:10.990Z] 0c92f367c5e7: Download complete [2022-01-27T17:07:10.990Z] 4b8299f9d1f4: Verifying Checksum [2022-01-27T17:07:10.990Z] 4b8299f9d1f4: Download complete [2022-01-27T17:07:10.990Z] 9b3977197b4f: Verifying Checksum [2022-01-27T17:07:10.990Z] 9b3977197b4f: Download complete [2022-01-27T17:07:10.990Z] 9a6b49a46696: Verifying Checksum [2022-01-27T17:07:10.990Z] 9a6b49a46696: Download complete [2022-01-27T17:07:11.594Z] 9b3977197b4f: Pull complete [2022-01-27T17:07:12.195Z] 1a89e8eeedd5: Pull complete [2022-01-27T17:07:12.804Z] 94645a83ff95: Pull complete [2022-01-27T17:07:12.804Z] cf05db05a679: Verifying Checksum [2022-01-27T17:07:12.804Z] cf05db05a679: Download complete [2022-01-27T17:07:13.403Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-27T17:07:13.403Z] 3f3a8bcf1eab: Download complete [2022-01-27T17:07:25.823Z] 3f3a8bcf1eab: Pull complete [2022-01-27T17:07:25.823Z] 0c92f367c5e7: Pull complete [2022-01-27T17:07:25.823Z] 4b8299f9d1f4: Pull complete [2022-01-27T17:07:26.111Z] 9a6b49a46696: Pull complete [2022-01-27T17:07:31.519Z] cf05db05a679: Pull complete [2022-01-27T17:07:31.795Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-27T17:07:31.795Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-27T17:07:31.795Z] ---> 0ccda1f7e2ee [2022-01-27T17:07:31.795Z] Step 3/11 : ARG MAKE=make build [2022-01-27T17:07:33.769Z] ---> Running in ad28909597a4 [2022-01-27T17:07:34.050Z] Removing intermediate container ad28909597a4 [2022-01-27T17:07:34.050Z] ---> e0e66ac5ab8d [2022-01-27T17:07:34.050Z] Step 4/11 : WORKDIR /device-sdk-go [2022-01-27T17:07:34.323Z] ---> Running in d7084e3f0256 [2022-01-27T17:07:34.595Z] Removing intermediate container d7084e3f0256 [2022-01-27T17:07:34.595Z] ---> dcb7e9aa5aa9 [2022-01-27T17:07:34.595Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-27T17:07:34.871Z] ---> Running in 8c87aa6d2db3 [2022-01-27T17:07:35.144Z] Removing intermediate container 8c87aa6d2db3 [2022-01-27T17:07:35.144Z] ---> 901248d82b9c [2022-01-27T17:07:35.144Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-27T17:07:35.418Z] ---> Running in f1d25e30ec2c [2022-01-27T17:07:37.391Z] Removing intermediate container f1d25e30ec2c [2022-01-27T17:07:37.391Z] ---> c18db3ccb151 [2022-01-27T17:07:37.391Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-27T17:07:37.391Z] ---> Running in 1684828dce94 [2022-01-27T17:07:38.370Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-27T17:07:39.343Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-27T17:07:40.318Z] OK: 220 MiB in 52 packages [2022-01-27T17:07:41.302Z] Removing intermediate container 1684828dce94 [2022-01-27T17:07:41.302Z] ---> d07fd1004a6f [2022-01-27T17:07:41.302Z] Step 8/11 : COPY go.mod vendor* ./ [2022-01-27T17:07:41.896Z] ---> c10467e8852f [2022-01-27T17:07:41.896Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-27T17:07:42.183Z] ---> Running in b72332de20f8 [2022-01-27T17:09:03.977Z] Removing intermediate container b72332de20f8 [2022-01-27T17:09:03.977Z] ---> ec7378ccd293 [2022-01-27T17:09:03.977Z] Step 10/11 : COPY . . [2022-01-27T17:09:03.977Z] ---> 1477cef5e9b7 [2022-01-27T17:09:03.977Z] Step 11/11 : RUN ${MAKE} [2022-01-27T17:09:03.977Z] ---> Running in 395f6d3fcec4 [2022-01-27T17:09:03.977Z] noop [2022-01-27T17:09:03.977Z] Removing intermediate container 395f6d3fcec4 [2022-01-27T17:09:03.977Z] ---> da7c1e626cd4 [2022-01-27T17:09:03.977Z] Successfully built da7c1e626cd4 [2022-01-27T17:09:03.977Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-27T17:09:04.320Z] + docker inspect -f . ci-base-image-arm64 [2022-01-27T17:09:04.320Z] . [Pipeline] withDockerContainer [2022-01-27T17:09:04.555Z] prd-ubuntu18.04-docker-arm64-4c-16g-4058 does not seem to be running inside a container [2022-01-27T17:09:04.638Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-27T17:09:06.013Z] $ docker top a5e3bf86ce60a4d6f3aea45f8615050b845ee1d3f84194bdc0caa1c5b8a88609 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-27T17:09:06.943Z] + go version [2022-01-27T17:09:06.943Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-27T17:09:06.966Z] $ docker stop --time=1 a5e3bf86ce60a4d6f3aea45f8615050b845ee1d3f84194bdc0caa1c5b8a88609 [2022-01-27T17:09:08.700Z] $ docker rm -f a5e3bf86ce60a4d6f3aea45f8615050b845ee1d3f84194bdc0caa1c5b8a88609 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-27T17:09:09.346Z] + docker inspect -f . ci-base-image-arm64 [2022-01-27T17:09:09.346Z] . [Pipeline] withDockerContainer [2022-01-27T17:09:09.591Z] prd-ubuntu18.04-docker-arm64-4c-16g-4058 does not seem to be running inside a container [2022-01-27T17:09:09.675Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-27T17:09:11.134Z] $ docker top e16b981cbb1debfef96281a7e01b3232ab28f559866825928d9cf2e8a37727d7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-27T17:09:12.080Z] + make test [2022-01-27T17:09:12.080Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-27T17:09:13.537Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-27T17:10:10.146Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-27T17:10:10.146Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-27T17:10:10.146Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-27T17:10:16.872Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.098s coverage: 23.3% of statements [2022-01-27T17:10:16.872Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-27T17:10:16.872Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.060s coverage: 27.6% of statements [2022-01-27T17:10:16.872Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.075s coverage: 78.9% of statements [2022-01-27T17:10:16.872Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.067s coverage: 9.0% of statements [2022-01-27T17:10:16.872Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-27T17:10:16.872Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-27T17:10:16.872Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-27T17:10:17.855Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.078s coverage: 28.7% of statements [2022-01-27T17:10:17.855Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-27T17:10:18.468Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.127s coverage: 86.1% of statements [2022-01-27T17:10:18.468Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-27T17:10:18.468Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-27T17:10:19.070Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.117s coverage: 57.4% of statements [2022-01-27T17:10:19.674Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.171s coverage: 89.2% of statements [2022-01-27T17:10:19.674Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-27T17:10:22.302Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 4.8% of statements [2022-01-27T17:10:22.302Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-27T17:10:22.302Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-01-27T17:10:22.302Z] GO111MODULE=on go vet ./... [2022-01-27T17:10:44.510Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-27T17:10:44.510Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-27T17:10:44.510Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-27T17:10:46.512Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-27T17:10:46.528Z] $ docker stop --time=1 e16b981cbb1debfef96281a7e01b3232ab28f559866825928d9cf2e8a37727d7 [2022-01-27T17:10:48.355Z] $ docker rm -f e16b981cbb1debfef96281a7e01b3232ab28f559866825928d9cf2e8a37727d7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-27T17:10:49.302Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-27T17:10:49.329Z] Warning: overwriting stash ‘coverage-report’ [2022-01-27T17:10:50.138Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-27T17:10:50.536Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-27T17:10:50.890Z] + ls -al . [2022-01-27T17:10:50.890Z] total 308 [2022-01-27T17:10:50.890Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 27 17:10 . [2022-01-27T17:10:50.890Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 17:06 .. [2022-01-27T17:10:50.890Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 27 17:06 .dockerignore [2022-01-27T17:10:50.890Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 27 17:06 .git [2022-01-27T17:10:50.890Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 27 17:06 .github [2022-01-27T17:10:50.890Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 27 17:06 .gitignore [2022-01-27T17:10:50.890Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 27 17:06 .golangci.yml [2022-01-27T17:10:50.890Z] -rw-rw-r-- 1 jenkins jenkins 26321 Jan 27 17:06 CHANGELOG.md [2022-01-27T17:10:50.890Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 27 17:06 GOVERNANCE.md [2022-01-27T17:10:50.890Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 27 17:06 Jenkinsfile [2022-01-27T17:10:50.890Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 27 17:06 LICENSE [2022-01-27T17:10:50.890Z] -rw-rw-r-- 1 jenkins jenkins 1614 Jan 27 17:06 Makefile [2022-01-27T17:10:50.890Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 27 17:06 OWNERS.md [2022-01-27T17:10:50.890Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jan 27 17:06 README.md [2022-01-27T17:10:50.890Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 27 17:03 VERSION [2022-01-27T17:10:50.890Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 17:06 bin [2022-01-27T17:10:50.890Z] -rw-r--r-- 1 jenkins jenkins 128608 Jan 27 17:10 coverage.out [2022-01-27T17:10:50.890Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 27 17:06 example [2022-01-27T17:10:50.890Z] -rw-rw-r-- 1 jenkins jenkins 2766 Jan 27 17:06 go.mod [2022-01-27T17:10:50.890Z] -rw-rw-r-- 1 jenkins jenkins 49665 Jan 27 17:06 go.sum [2022-01-27T17:10:50.890Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 27 17:06 internal [2022-01-27T17:10:50.890Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 27 17:06 openapi [2022-01-27T17:10:50.890Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 27 17:06 pkg [2022-01-27T17:10:50.890Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 17:06 snap [2022-01-27T17:10:50.890Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 27 17:06 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-27T17:10:51.269Z] + 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=402f1523434569de7c307e28243421359c1fe93d --label arch=arm64 --label version=0.0.0 . [2022-01-27T17:10:51.870Z] Sending build context to Docker daemon 5.268MB [2022-01-27T17:10:51.870Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-01-27T17:10:51.870Z] Step 2/25 : FROM ${BASE} AS builder [2022-01-27T17:10:51.870Z] ---> da7c1e626cd4 [2022-01-27T17:10:51.870Z] Step 3/25 : ARG MAKE=make build [2022-01-27T17:10:52.157Z] ---> Running in 055a286714c7 [2022-01-27T17:10:52.755Z] Removing intermediate container 055a286714c7 [2022-01-27T17:10:52.755Z] ---> 8e3709db3001 [2022-01-27T17:10:52.755Z] Step 4/25 : WORKDIR /device-sdk-go [2022-01-27T17:10:52.755Z] ---> Running in 562006bd5164 [2022-01-27T17:10:53.031Z] Removing intermediate container 562006bd5164 [2022-01-27T17:10:53.031Z] ---> ce8551e81786 [2022-01-27T17:10:53.031Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-27T17:10:53.306Z] ---> Running in 22261990737d [2022-01-27T17:10:53.580Z] Removing intermediate container 22261990737d [2022-01-27T17:10:53.580Z] ---> 8c12c06ffa25 [2022-01-27T17:10:53.580Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-27T17:10:53.861Z] ---> Running in c4ff310b2336 [2022-01-27T17:10:55.843Z] Removing intermediate container c4ff310b2336 [2022-01-27T17:10:55.843Z] ---> 3bb478bf5170 [2022-01-27T17:10:55.843Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-27T17:10:55.843Z] ---> Running in 168cedd2abb3 [2022-01-27T17:10:56.861Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-27T17:10:57.843Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-27T17:10:58.821Z] OK: 220 MiB in 52 packages [2022-01-27T17:10:59.805Z] Removing intermediate container 168cedd2abb3 [2022-01-27T17:10:59.805Z] ---> 227f2f3a60ae [2022-01-27T17:10:59.805Z] Step 8/25 : COPY go.mod vendor* ./ [2022-01-27T17:11:00.406Z] ---> 9d381613d6b3 [2022-01-27T17:11:00.406Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-27T17:11:00.406Z] ---> Running in dee36aedc3e0 [2022-01-27T17:11:03.035Z] Removing intermediate container dee36aedc3e0 [2022-01-27T17:11:03.035Z] ---> daaf6aca1d66 [2022-01-27T17:11:03.035Z] Step 10/25 : COPY . . [2022-01-27T17:11:04.469Z] ---> f0ade302b228 [2022-01-27T17:11:04.469Z] Step 11/25 : RUN ${MAKE} [2022-01-27T17:11:04.469Z] ---> Running in a96144e1b484 [2022-01-27T17:11:05.451Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-01-27T17:11:52.455Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-27T17:11:52.455Z] Removing intermediate container a96144e1b484 [2022-01-27T17:11:52.455Z] ---> e1477aa60d67 [2022-01-27T17:11:52.455Z] Step 12/25 : FROM alpine:3.14 [2022-01-27T17:11:52.455Z] 3.14: Pulling from library/alpine [2022-01-27T17:11:52.455Z] be307f383ecc: Pulling fs layer [2022-01-27T17:11:52.455Z] be307f383ecc: Download complete [2022-01-27T17:11:52.455Z] be307f383ecc: Pull complete [2022-01-27T17:11:52.455Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-27T17:11:52.456Z] Status: Downloaded newer image for alpine:3.14 [2022-01-27T17:11:52.456Z] ---> 5b8b7b635229 [2022-01-27T17:11:52.456Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-27T17:11:52.456Z] ---> Running in 84a7e71edcd5 [2022-01-27T17:11:52.456Z] Removing intermediate container 84a7e71edcd5 [2022-01-27T17:11:52.456Z] ---> db34b11f6735 [2022-01-27T17:11:52.456Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-27T17:11:52.456Z] ---> Running in 300bb6adbcb7 [2022-01-27T17:11:54.433Z] Removing intermediate container 300bb6adbcb7 [2022-01-27T17:11:54.433Z] ---> f95925281f74 [2022-01-27T17:11:54.433Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-01-27T17:11:54.433Z] ---> Running in 4ec7e3ca2a45 [2022-01-27T17:11:55.410Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-27T17:11:56.385Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-27T17:11:57.358Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-27T17:11:57.358Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-27T17:11:57.358Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-27T17:11:57.628Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-27T17:11:57.628Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-27T17:11:57.898Z] Executing busybox-1.33.1-r6.trigger [2022-01-27T17:11:57.898Z] OK: 8 MiB in 19 packages [2022-01-27T17:11:58.868Z] Removing intermediate container 4ec7e3ca2a45 [2022-01-27T17:11:58.868Z] ---> 127cba4e2848 [2022-01-27T17:11:58.868Z] Step 16/25 : WORKDIR / [2022-01-27T17:11:58.868Z] ---> Running in 97fadc939792 [2022-01-27T17:11:59.139Z] Removing intermediate container 97fadc939792 [2022-01-27T17:11:59.139Z] ---> 0d7c1b9b821e [2022-01-27T17:11:59.139Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-27T17:11:59.728Z] ---> b4e4272669ec [2022-01-27T17:11:59.728Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-27T17:12:00.700Z] ---> 6a2b215fd15e [2022-01-27T17:12:00.700Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-27T17:12:01.294Z] ---> a5776b436f3b [2022-01-27T17:12:01.294Z] Step 20/25 : EXPOSE 59999 [2022-01-27T17:12:01.294Z] ---> Running in a8894f7408db [2022-01-27T17:12:01.885Z] Removing intermediate container a8894f7408db [2022-01-27T17:12:01.885Z] ---> 1bf2bd41ee8a [2022-01-27T17:12:01.885Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-01-27T17:12:01.885Z] ---> Running in b3a573dad32e [2022-01-27T17:12:02.158Z] Removing intermediate container b3a573dad32e [2022-01-27T17:12:02.158Z] ---> e04c38ef2f3a [2022-01-27T17:12:02.158Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-27T17:12:02.158Z] ---> Running in a799a5dd2ed7 [2022-01-27T17:12:02.752Z] Removing intermediate container a799a5dd2ed7 [2022-01-27T17:12:02.752Z] ---> d70a853cbd83 [2022-01-27T17:12:02.752Z] Step 23/25 : LABEL arch=arm64 [2022-01-27T17:12:02.752Z] ---> Running in 5378459303ba [2022-01-27T17:12:03.021Z] Removing intermediate container 5378459303ba [2022-01-27T17:12:03.021Z] ---> 5af9acc5ebcd [2022-01-27T17:12:03.021Z] Step 24/25 : LABEL git_sha=402f1523434569de7c307e28243421359c1fe93d [2022-01-27T17:12:03.021Z] ---> Running in 25a22470eafb [2022-01-27T17:12:03.290Z] Removing intermediate container 25a22470eafb [2022-01-27T17:12:03.290Z] ---> 24fceb8dd9f4 [2022-01-27T17:12:03.290Z] Step 25/25 : LABEL version=0.0.0 [2022-01-27T17:12:03.561Z] ---> Running in b5091c8d8033 [2022-01-27T17:12:03.831Z] Removing intermediate container b5091c8d8033 [2022-01-27T17:12:03.831Z] ---> ed2d564a85b1 [2022-01-27T17:12:03.831Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-27T17:12:03.831Z] Successfully built ed2d564a85b1 [2022-01-27T17:12:03.831Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-27T17:12:04.256Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-27T17:12:04.256Z] [2022-01-27T17:12:04.256Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-27T17:12:04.596Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-27T17:12:04.596Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-27T17:12:04.596Z] 448f6bf000e3: Pulling fs layer [2022-01-27T17:12:04.596Z] f757da607395: Pulling fs layer [2022-01-27T17:12:04.596Z] 05883995daec: Pulling fs layer [2022-01-27T17:12:04.596Z] 8603b9c90790: Pulling fs layer [2022-01-27T17:12:04.596Z] 1560dd03e051: Pulling fs layer [2022-01-27T17:12:04.596Z] 27f5ce0e4adf: Pulling fs layer [2022-01-27T17:12:04.596Z] c2d8d7efcc4b: Pulling fs layer [2022-01-27T17:12:04.596Z] 1560dd03e051: Waiting [2022-01-27T17:12:04.596Z] 27f5ce0e4adf: Waiting [2022-01-27T17:12:04.596Z] c2d8d7efcc4b: Waiting [2022-01-27T17:12:04.596Z] 8603b9c90790: Waiting [2022-01-27T17:12:04.866Z] f757da607395: Verifying Checksum [2022-01-27T17:12:04.866Z] f757da607395: Download complete [2022-01-27T17:12:04.866Z] 8603b9c90790: Download complete [2022-01-27T17:12:04.866Z] 1560dd03e051: Verifying Checksum [2022-01-27T17:12:04.866Z] 1560dd03e051: Download complete [2022-01-27T17:12:04.866Z] 05883995daec: Verifying Checksum [2022-01-27T17:12:04.866Z] 05883995daec: Download complete [2022-01-27T17:12:04.866Z] 27f5ce0e4adf: Verifying Checksum [2022-01-27T17:12:04.866Z] 27f5ce0e4adf: Download complete [2022-01-27T17:12:05.141Z] 448f6bf000e3: Download complete [2022-01-27T17:12:07.753Z] c2d8d7efcc4b: Verifying Checksum [2022-01-27T17:12:07.753Z] c2d8d7efcc4b: Download complete [2022-01-27T17:12:09.197Z] 448f6bf000e3: Pull complete [2022-01-27T17:12:09.470Z] f757da607395: Pull complete [2022-01-27T17:12:10.898Z] 05883995daec: Pull complete [2022-01-27T17:12:11.169Z] 8603b9c90790: Pull complete [2022-01-27T17:12:12.139Z] 1560dd03e051: Pull complete [2022-01-27T17:12:12.140Z] 27f5ce0e4adf: Pull complete [2022-01-27T17:12:27.183Z] c2d8d7efcc4b: Pull complete [2022-01-27T17:12:27.183Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-27T17:12:27.183Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-27T17:12:27.183Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-27T17:12:27.385Z] prd-ubuntu18.04-docker-arm64-4c-16g-4058 does not seem to be running inside a container [2022-01-27T17:12:27.457Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-27T17:12:30.385Z] $ docker top e72964049fd380f201f21ad3b1b04645fb78ab2b1d3e1e987a8a13da3650ad3b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-27T17:12:31.311Z] ---> job-cost.sh [2022-01-27T17:12:31.311Z] lf-activate-venv: SKIPPING [2022-01-27T17:12:31.311Z] INFO: No Stack... [2022-01-27T17:12:31.583Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-27T17:12:31.857Z] INFO: Archiving Costs [Pipeline] sh [2022-01-27T17:12:32.580Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2022-01-27T17:12:32.580Z] + cut -d, -f6 [Pipeline] lock [2022-01-27T17:12:32.661Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1092-2-stack-cost] [2022-01-27T17:12:32.667Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1092-2-stack-cost] did not exist. Created. [2022-01-27T17:12:32.667Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1092-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-27T17:12:33.394Z] /w/workspace/device-sdk-go/2@tmp/durable-35ef0eb9/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-35ef0eb9/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-27T17:12:34.101Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-27T17:12:34.123Z] Warning: overwriting stash ‘stack-cost’ [2022-01-27T17:12:34.195Z] Stashed 1 file(s) [Pipeline] } [2022-01-27T17:12:34.204Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1092-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-27T17:12:34.220Z] $ docker stop --time=1 e72964049fd380f201f21ad3b1b04645fb78ab2b1d3e1e987a8a13da3650ad3b [2022-01-27T17:12:35.783Z] $ docker rm -f e72964049fd380f201f21ad3b1b04645fb78ab2b1d3e1e987a8a13da3650ad3b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-01-27T17:12:36.248Z] provisioning config files... [2022-01-27T17:12:36.258Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1092@tmp/config2774730810465953810tmp [Pipeline] { [Pipeline] sh [2022-01-27T17:12:36.563Z] + set +x [2022-01-27T17:12:36.563Z] + curl -s https://codecov.io/bash [2022-01-27T17:12:36.563Z] + bash -s -- [2022-01-27T17:12:36.563Z] [2022-01-27T17:12:36.563Z] _____ _ [2022-01-27T17:12:36.563Z] / ____| | | [2022-01-27T17:12:36.563Z] | | ___ __| | ___ ___ _____ __ [2022-01-27T17:12:36.563Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-27T17:12:36.563Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-27T17:12:36.563Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-27T17:12:36.563Z] Bash-1.0.6 [2022-01-27T17:12:36.563Z] [2022-01-27T17:12:36.563Z] [2022-01-27T17:12:36.563Z] ==> git version 2.24.4 found [2022-01-27T17:12:36.563Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2022-01-27T17:12:36.563Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-27T17:12:36.563Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-27T17:12:36.563Z] ==> Jenkins CI detected. [2022-01-27T17:12:36.563Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1092 [2022-01-27T17:12:36.563Z] project root: . [2022-01-27T17:12:36.563Z] --> token set from env [2022-01-27T17:12:36.563Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-27T17:12:36.824Z] ==> Running gcov in . (disable via -X gcov) [2022-01-27T17:12:36.824Z] ==> Python coveragepy not found [2022-01-27T17:12:36.824Z] ==> Searching for coverage reports in: [2022-01-27T17:12:36.824Z] + . [2022-01-27T17:12:36.824Z] -> Found 1 reports [2022-01-27T17:12:36.824Z] ==> Detecting git/mercurial file structure [2022-01-27T17:12:36.824Z] ==> Reading reports [2022-01-27T17:12:36.824Z] + ./coverage.out bytes=128608 [2022-01-27T17:12:36.824Z] ==> Appending adjustments [2022-01-27T17:12:36.824Z] https://docs.codecov.io/docs/fixing-reports [2022-01-27T17:12:37.085Z] + Found adjustments [2022-01-27T17:12:37.085Z] ==> Gzipping contents [2022-01-27T17:12:37.085Z] 16K /tmp/codecov.MGfFXZ.gz [2022-01-27T17:12:37.085Z] ==> Uploading reports [2022-01-27T17:12:37.085Z] url: https://codecov.io [2022-01-27T17:12:37.085Z] query: branch=PR-1092&commit=402f1523434569de7c307e28243421359c1fe93d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1092%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1092&job=&cmd_args= [2022-01-27T17:12:37.085Z] -> Pinging Codecov [2022-01-27T17:12:37.085Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1092&commit=402f1523434569de7c307e28243421359c1fe93d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1092%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1092&job=&cmd_args= [2022-01-27T17:12:37.347Z] -> Uploading to [2022-01-27T17:12:37.347Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-27/7E55EF52A471D76F132DFD9A03CDDE97/402f1523434569de7c307e28243421359c1fe93d/4fcd299e-c60b-497e-94c4-4e99035652d2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220127%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220127T171237Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d98eb2d6ec4bfa358d4f6bcd995819dd68e264175187c0b0cf1a271685913feb [2022-01-27T17:12:37.347Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-27T17:12:37.347Z] Dload Upload Total Spent Left Speed [2022-01-27T17:12:37.608Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16052 0 0 100 16052 0 50768 --:--:-- --:--:-- --:--:-- 50637 [2022-01-27T17:12:37.608Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/402f1523434569de7c307e28243421359c1fe93d [Pipeline] } [2022-01-27T17:12:37.617Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-01-27T17:12:38.306Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1092/archives ']' [2022-01-27T17:12:38.306Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1092/archives [2022-01-27T17:12:38.306Z] total 8 [2022-01-27T17:12:38.306Z] drwxr-xr-x. 3 root root 34 Jan 27 17:05 . [2022-01-27T17:12:38.306Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 27 17:05 .. [2022-01-27T17:12:38.306Z] drwxr-xr-x. 2 root root 6 Jan 27 17:05 cost [2022-01-27T17:12:38.306Z] -rw-r--r--. 1 root root 85 Jan 27 17:05 cost.csv [2022-01-27T17:12:38.306Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1092/archives [2022-01-27T17:12:38.306Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1092/archives [2022-01-27T17:12:38.306Z] total 8 [2022-01-27T17:12:38.306Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 27 17:05 . [2022-01-27T17:12:38.306Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 27 17:05 .. [2022-01-27T17:12:38.306Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 27 17:05 cost [2022-01-27T17:12:38.306Z] -rw-r--r--. 1 jenkins jenkins 85 Jan 27 17:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-27T17:12:38.601Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-27T17:12:39.153Z] ---> package-listing.sh [2022-01-27T17:12:39.153Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-27T17:12:39.153Z] ++ facter osfamily [2022-01-27T17:12:39.415Z] + OS_FAMILY=redhat [2022-01-27T17:12:39.415Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1092 [2022-01-27T17:12:39.416Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-27T17:12:39.416Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-27T17:12:39.416Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-27T17:12:39.416Z] + PACKAGES=/tmp/packages_start.txt [2022-01-27T17:12:39.416Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1092 ']' [2022-01-27T17:12:39.416Z] + PACKAGES=/tmp/packages_end.txt [2022-01-27T17:12:39.416Z] + case "${OS_FAMILY}" in [2022-01-27T17:12:39.416Z] + rpm -qa [2022-01-27T17:12:39.416Z] + sort [2022-01-27T17:12:39.985Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-27T17:12:39.985Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-27T17:12:39.985Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-27T17:12:39.985Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1092 ']' [2022-01-27T17:12:39.985Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1092/archives/ [2022-01-27T17:12:39.985Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1092/archives/ [Pipeline] echo [2022-01-27T17:12:39.996Z] 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-1092/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-27T17:12:40.277Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-27T17:12:40.847Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-27T17:12:40.847Z] . [Pipeline] withDockerContainer [2022-01-27T17:12:40.910Z] prd-centos7-docker-4c-2g-4055 does not seem to be running inside a container [2022-01-27T17:12:40.939Z] $ 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-1092/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-1092 -v /w/workspace/gexfoundry_device-sdk-go_PR-1092:/w/workspace/gexfoundry_device-sdk-go_PR-1092:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1092@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1092@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-27T17:12:41.133Z] $ docker top f90cd964c32b35450bb1e8acc83a3a707b5c6b7e52f87c5b8cf9c200387bfd09 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-27T17:12:41.490Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-27T17:12:41.780Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-27T17:12:42.072Z] + ls /var/log/sa-host [2022-01-27T17:12:42.072Z] + sadf -c /var/log/sa-host/sa17 [2022-01-27T17:12:42.072Z] file_magic: OK [2022-01-27T17:12:42.072Z] HZ: Using current value: 100 [2022-01-27T17:12:42.072Z] file_header: OK [2022-01-27T17:12:42.072Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-27T17:12:42.072Z] Statistics: [2022-01-27T17:12:42.072Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-27T17:12:42.072Z] File successfully converted to sysstat format version 12.0.3 [2022-01-27T17:12:42.072Z] + sadf -c /var/log/sa-host/sa27 [2022-01-27T17:12:42.072Z] file_magic: OK [2022-01-27T17:12:42.072Z] HZ: Using current value: 100 [2022-01-27T17:12:42.072Z] file_header: OK [2022-01-27T17:12:42.072Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-27T17:12:42.072Z] Statistics: [2022-01-27T17:12:42.072Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-27T17:12:42.072Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-27T17:12:42.157Z] provisioning config files... [2022-01-27T17:12:42.167Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1092@tmp/config6267649442694276017tmp [Pipeline] { [Pipeline] echo [2022-01-27T17:12:42.178Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-27T17:12:42.466Z] ---> create-netrc.sh [Pipeline] } [2022-01-27T17:12:42.474Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-27T17:12:42.805Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-27T17:12:42.815Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-27T17:12:43.108Z] ---> sudo-logs.sh [2022-01-27T17:12:43.108Z] Archiving 'sudo' log.. [2022-01-27T17:12:43.108Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4055.novalocal: Name or service not known [2022-01-27T17:12:43.108Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4055.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-27T17:12:43.146Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-27T17:12:43.446Z] ---> job-cost.sh [2022-01-27T17:12:43.446Z] lf-activate-venv: SKIPPING [2022-01-27T17:12:43.446Z] DEBUG: total: 0.05999999865889549 [2022-01-27T17:12:43.446Z] INFO: Retrieving Stack Cost... [2022-01-27T17:12:43.706Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-27T17:12:44.275Z] INFO: Archiving Costs [Pipeline] echo [2022-01-27T17:12:44.292Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-27T17:12:44.579Z] ---> logs-deploy.sh [2022-01-27T17:12:44.579Z] lf-activate-venv: SKIPPING [2022-01-27T17:12:44.579Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1092/2 [2022-01-27T17:12:44.579Z] INFO: archiving workspace using pattern(s): [2022-01-27T17:12:45.149Z] Archives upload complete. [2022-01-27T17:12:45.411Z] INFO: archiving logs to Nexus