Pull request #1097 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 40d1c897eaa9b8b12c574efe2df53de1b20fd829+ff2bdc244935d5b40da6f20198b29dfc476efd7a (8287b7305e9ea1cbadfb105fc0281ed0e8369c85) 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-ssh4928365597945864889.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11425064000154814575.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1097/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-1097/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh991740779391511524.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh4556825000469197099.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-1097/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-1097/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2935191429698440988.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-5842’ is offline Running on prd-centos7-docker-4c-2g-5843 in /w/workspace/gexfoundry_device-sdk-go_PR-1097 [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-1097 # 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-1097@tmp/jenkins-gitclient-ssh7586226846728746094.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit ff2bdc244935d5b40da6f20198b29dfc476efd7a into PR head commit 40d1c897eaa9b8b12c574efe2df53de1b20fd829 > 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-1097@tmp/jenkins-gitclient-ssh4692623936951421379.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1097/head:refs/remotes/origin/PR-1097 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 40d1c897eaa9b8b12c574efe2df53de1b20fd829 # 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-1097@tmp/jenkins-gitclient-ssh5824270693841553774.key Merge succeeded, producing 40d1c897eaa9b8b12c574efe2df53de1b20fd829 Checking out Revision 40d1c897eaa9b8b12c574efe2df53de1b20fd829 (PR-1097) > git merge ff2bdc244935d5b40da6f20198b29dfc476efd7a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 40d1c897eaa9b8b12c574efe2df53de1b20fd829 # timeout=10 Commit message: "feat: implement ProtocolProperties validation mechanism" First time build. Skipping changelog. > git rev-list --no-walk 94cb92c36a440055d9e540eb72cfa13032b154e3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-02-22T15:54:51.008Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-02-22T15:54:51.044Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-02-22T15:54:51.057Z] ========================================================= [2022-02-22T15:54:51.057Z] EdgeX Global Pipelines Version Info [2022-02-22T15:54:51.057Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-02-22T15:54:52.173Z] ------------------- [2022-02-22T15:54:52.173Z] stable info: [2022-02-22T15:54:52.173Z] ------------------- [2022-02-22T15:54:52.173Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-22T15:54:52.173Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-22T15:54:52.173Z] Message: update stable to v1.0.220 [2022-02-22T15:54:52.748Z] ------------------- [2022-02-22T15:54:52.748Z] experimental info: [2022-02-22T15:54:52.748Z] ------------------- [2022-02-22T15:54:52.748Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-22T15:54:52.748Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-22T15:54:52.748Z] Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-02-22T15:54:52.889Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-02-22T15:54:52.901Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-02-22T15:54:52.913Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-02-22T15:54:52.925Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-02-22T15:54:52.938Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-02-22T15:54:52.950Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-02-22T15:54:52.962Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-02-22T15:54:52.975Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-02-22T15:54:52.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-02-22T15:54:53.004Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-02-22T15:54:53.017Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-02-22T15:54:53.029Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-02-22T15:54:53.041Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-02-22T15:54:53.053Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-02-22T15:54:53.066Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-02-22T15:54:53.079Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-02-22T15:54:53.089Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-02-22T15:54:53.100Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-02-22T15:54:53.115Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-02-22T15:54:53.126Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-02-22T15:54:53.137Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-02-22T15:54:53.153Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-02-22T15:54:53.168Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-02-22T15:54:53.180Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-02-22T15:54:53.192Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-02-22T15:54:53.202Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-02-22T15:54:53.214Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1097 [Pipeline] echo [2022-02-22T15:54:53.226Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1097 [Pipeline] echo [2022-02-22T15:54:53.240Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1097 [Pipeline] echo [2022-02-22T15:54:53.252Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 40d1c897eaa9b8b12c574efe2df53de1b20fd829 [Pipeline] echo [2022-02-22T15:54:53.265Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 40d1c89 [Pipeline] echo [2022-02-22T15:54:53.277Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-22T15:54:53.318Z] provisioning config files... [2022-02-22T15:54:53.333Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp/config7707233671833373805tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-22T15:54:53.636Z] ---> docker-login.sh [2022-02-22T15:54:53.636Z] nexus3.edgexfoundry.org:10001 [2022-02-22T15:54:53.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-22T15:54:53.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-22T15:54:53.897Z] Configure a credential helper to remove this warning. See [2022-02-22T15:54:53.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-22T15:54:53.897Z] [2022-02-22T15:54:53.897Z] Login Succeeded [2022-02-22T15:54:53.897Z] nexus3.edgexfoundry.org:10002 [2022-02-22T15:54:53.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-22T15:54:53.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-22T15:54:53.897Z] Configure a credential helper to remove this warning. See [2022-02-22T15:54:53.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-22T15:54:53.897Z] [2022-02-22T15:54:53.897Z] Login Succeeded [2022-02-22T15:54:53.897Z] nexus3.edgexfoundry.org:10003 [2022-02-22T15:54:53.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-22T15:54:54.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-22T15:54:54.162Z] Configure a credential helper to remove this warning. See [2022-02-22T15:54:54.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-22T15:54:54.162Z] [2022-02-22T15:54:54.162Z] Login Succeeded [2022-02-22T15:54:54.162Z] nexus3.edgexfoundry.org:10004 [2022-02-22T15:54:54.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-22T15:54:54.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-22T15:54:54.162Z] Configure a credential helper to remove this warning. See [2022-02-22T15:54:54.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-22T15:54:54.162Z] [2022-02-22T15:54:54.162Z] Login Succeeded [2022-02-22T15:54:54.162Z] docker.io [2022-02-22T15:54:54.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-22T15:54:54.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-22T15:54:54.741Z] Configure a credential helper to remove this warning. See [2022-02-22T15:54:54.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-22T15:54:54.741Z] [2022-02-22T15:54:54.741Z] Login Succeeded [2022-02-22T15:54:54.741Z] ---> docker-login.sh ends [Pipeline] } [2022-02-22T15:54:54.751Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-02-22T15:54:55.136Z] + git rev-list -1 --merges 40d1c897eaa9b8b12c574efe2df53de1b20fd829~1..40d1c897eaa9b8b12c574efe2df53de1b20fd829 [Pipeline] echo [2022-02-22T15:54:55.166Z] -----------> git rev-list -1 --merges 40d1c897eaa9b8b12c574efe2df53de1b20fd829~1..40d1c897eaa9b8b12c574efe2df53de1b20fd829 40d1c897eaa9b8b12c574efe2df53de1b20fd829 [false] [Pipeline] sh [2022-02-22T15:54:55.458Z] + git log --format=format:%s -1 40d1c897eaa9b8b12c574efe2df53de1b20fd829 [Pipeline] echo [2022-02-22T15:54:55.474Z] ========================================================= [2022-02-22T15:54:55.474Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-22T15:54:55.474Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-22T15:54:55.809Z] + git log --format=format:%s -1 40d1c897eaa9b8b12c574efe2df53de1b20fd829 [Pipeline] echo [2022-02-22T15:54:55.827Z] [semverPrep] GIT_COMMIT: 40d1c897eaa9b8b12c574efe2df53de1b20fd829, Commit Message: feat: implement ProtocolProperties validation mechanism [Pipeline] echo [2022-02-22T15:54:55.836Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-02-22T15:54:56.221Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-22T15:54:56.221Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-02-22T15:54:56.221Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-02-22T15:54:56.221Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-02-22T15:54:56.221Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-02-22T15:54:56.221Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-02-22T15:54:56.221Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-22T15:54:56.569Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-22T15:54:56.569Z] [2022-02-22T15:54:56.569Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-02-22T15:54:56.880Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-22T15:54:56.880Z] latest: Pulling from edgex-devops/git-semver [2022-02-22T15:54:56.880Z] a0d0a0d46f8b: Pulling fs layer [2022-02-22T15:54:56.880Z] 3e5f54012d9b: Pulling fs layer [2022-02-22T15:54:56.880Z] 4c7163046ea9: Pulling fs layer [2022-02-22T15:54:56.880Z] 0c2d73faf560: Pulling fs layer [2022-02-22T15:54:56.880Z] 0c2d73faf560: Waiting [2022-02-22T15:54:56.880Z] 3e5f54012d9b: Verifying Checksum [2022-02-22T15:54:56.880Z] 3e5f54012d9b: Download complete [2022-02-22T15:54:56.880Z] a0d0a0d46f8b: Verifying Checksum [2022-02-22T15:54:56.880Z] a0d0a0d46f8b: Download complete [2022-02-22T15:54:56.880Z] 4c7163046ea9: Verifying Checksum [2022-02-22T15:54:56.880Z] 4c7163046ea9: Download complete [2022-02-22T15:54:56.880Z] 0c2d73faf560: Verifying Checksum [2022-02-22T15:54:56.880Z] 0c2d73faf560: Download complete [2022-02-22T15:54:57.155Z] a0d0a0d46f8b: Pull complete [2022-02-22T15:54:57.155Z] 3e5f54012d9b: Pull complete [2022-02-22T15:54:57.428Z] 4c7163046ea9: Pull complete [2022-02-22T15:54:57.692Z] 0c2d73faf560: Pull complete [2022-02-22T15:54:57.692Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-02-22T15:54:57.692Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-22T15:54:57.692Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-02-22T15:54:57.763Z] prd-centos7-docker-4c-2g-5843 does not seem to be running inside a container [2022-02-22T15:54:57.263Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1097 -v /w/workspace/gexfoundry_device-sdk-go_PR-1097:/w/workspace/gexfoundry_device-sdk-go_PR-1097:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-02-22T15:54:57.885Z] $ docker top 9f06032c1d9babca5fc31052ed74b81fb33ac25a03a1e939056beaada85811f6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-22T15:54:58.467Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-22T15:54:58.467Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-22T15:54:58.566Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-22T15:54:58.092Z] $ docker exec 9f06032c1d9babca5fc31052ed74b81fb33ac25a03a1e939056beaada85811f6 ssh-agent [2022-02-22T15:54:58.662Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcLoGdj/agent.14 [2022-02-22T15:54:58.662Z] SSH_AGENT_PID=21 [2022-02-22T15:54:58.670Z] Running ssh-add (command line suppressed) [2022-02-22T15:54:58.290Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp/private_key_2145905547836981712.key (/w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp/private_key_2145905547836981712.key) [2022-02-22T15:54:58.765Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-22T15:54:59.072Z] + git tag --points-at HEAD [Pipeline] } [2022-02-22T15:54:58.663Z] $ docker exec --env ******** --env ******** 9f06032c1d9babca5fc31052ed74b81fb33ac25a03a1e939056beaada85811f6 ssh-agent -k [2022-02-22T15:54:58.754Z] unset SSH_AUTH_SOCK; [2022-02-22T15:54:58.754Z] unset SSH_AGENT_PID; [2022-02-22T15:54:58.754Z] echo Agent pid 21 killed; [2022-02-22T15:54:59.189Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-02-22T15:54:59.219Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-22T15:54:59.219Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-22T15:54:59.311Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-22T15:54:58.899Z] $ docker exec 9f06032c1d9babca5fc31052ed74b81fb33ac25a03a1e939056beaada85811f6 ssh-agent [2022-02-22T15:54:59.403Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgjaAAA/agent.54 [2022-02-22T15:54:59.403Z] SSH_AGENT_PID=60 [2022-02-22T15:54:59.408Z] Running ssh-add (command line suppressed) [2022-02-22T15:54:59.099Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp/private_key_3584057643661127369.key (/w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp/private_key_3584057643661127369.key) [2022-02-22T15:54:59.510Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-22T15:54:59.802Z] + git semver init [2022-02-22T15:54:59.802Z] # -> Open(): unable to determine branch for HEAD [2022-02-22T15:54:59.802Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1097/.git [2022-02-22T15:54:59.802Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1097 [2022-02-22T15:54:59.802Z] # $SEMVER_REMOTE_NAME = origin [2022-02-22T15:54:59.802Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-22T15:54:59.802Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-22T15:54:59.802Z] # $SEMVER_BRANCH = PR-1097 [2022-02-22T15:54:59.802Z] # $SEMVER_TEMP = /tmp/semver-232935525 [2022-02-22T15:54:59.802Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-02-22T15:55:00.745Z] # '/tmp/semver-232935525' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1097/.semver' [2022-02-22T15:55:00.745Z] # -> Force: false [2022-02-22T15:55:00.745Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1097/.semver [Pipeline] } [2022-02-22T15:55:00.462Z] $ docker exec --env ******** --env ******** 9f06032c1d9babca5fc31052ed74b81fb33ac25a03a1e939056beaada85811f6 ssh-agent -k [2022-02-22T15:55:00.560Z] unset SSH_AUTH_SOCK; [2022-02-22T15:55:00.560Z] unset SSH_AGENT_PID; [2022-02-22T15:55:00.560Z] echo Agent pid 60 killed; [2022-02-22T15:55:00.855Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-22T15:55:01.179Z] + git semver [Pipeline] } [2022-02-22T15:55:00.933Z] $ docker stop --time=1 9f06032c1d9babca5fc31052ed74b81fb33ac25a03a1e939056beaada85811f6 [2022-02-22T15:55:02.191Z] $ docker rm -f 9f06032c1d9babca5fc31052ed74b81fb33ac25a03a1e939056beaada85811f6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-22T15:55:02.698Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-02-22T15:55:02.925Z] Stashed 1 file(s) [Pipeline] echo [2022-02-22T15:55:02.930Z] [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-02-22T15:55:03.097Z] provisioning config files... [2022-02-22T15:55:03.106Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp/config2324347742102029092tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-22T15:55:03.408Z] ---> docker-login.sh [2022-02-22T15:55:03.408Z] nexus3.edgexfoundry.org:10001 [2022-02-22T15:55:03.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-22T15:55:03.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-22T15:55:03.409Z] Configure a credential helper to remove this warning. See [2022-02-22T15:55:03.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-22T15:55:03.409Z] [2022-02-22T15:55:03.409Z] Login Succeeded [2022-02-22T15:55:03.409Z] nexus3.edgexfoundry.org:10002 [2022-02-22T15:55:03.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-22T15:55:03.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-22T15:55:03.409Z] Configure a credential helper to remove this warning. See [2022-02-22T15:55:03.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-22T15:55:03.409Z] [2022-02-22T15:55:03.409Z] Login Succeeded [2022-02-22T15:55:03.409Z] nexus3.edgexfoundry.org:10003 [2022-02-22T15:55:03.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-22T15:55:03.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-22T15:55:03.669Z] Configure a credential helper to remove this warning. See [2022-02-22T15:55:03.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-22T15:55:03.669Z] [2022-02-22T15:55:03.669Z] Login Succeeded [2022-02-22T15:55:03.669Z] nexus3.edgexfoundry.org:10004 [2022-02-22T15:55:03.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-22T15:55:03.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-22T15:55:03.669Z] Configure a credential helper to remove this warning. See [2022-02-22T15:55:03.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-22T15:55:03.669Z] [2022-02-22T15:55:03.669Z] Login Succeeded [2022-02-22T15:55:03.669Z] docker.io [2022-02-22T15:55:03.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-22T15:55:04.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-22T15:55:04.192Z] Configure a credential helper to remove this warning. See [2022-02-22T15:55:04.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-22T15:55:04.192Z] [2022-02-22T15:55:04.192Z] Login Succeeded [2022-02-22T15:55:04.192Z] ---> docker-login.sh ends [Pipeline] } [2022-02-22T15:55:04.200Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-22T15:55:04.276Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-22T15:55:04.287Z] ========================================================= [2022-02-22T15:55:04.288Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-02-22T15:55:04.288Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-22T15:55:04.609Z] + 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-02-22T15:55:04.609Z] Sending build context to Docker daemon 9.573MB [2022-02-22T15:55:04.609Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-02-22T15:55:04.609Z] Step 2/11 : FROM ${BASE} AS builder [2022-02-22T15:55:04.870Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-02-22T15:55:04.870Z] 59bf1c3509f3: Pulling fs layer [2022-02-22T15:55:04.870Z] 666ba61612fd: Pulling fs layer [2022-02-22T15:55:04.870Z] 8ed8ca486205: Pulling fs layer [2022-02-22T15:55:04.870Z] 4fe6c5a15a65: Pulling fs layer [2022-02-22T15:55:04.870Z] 22a0e8bec74d: Pulling fs layer [2022-02-22T15:55:04.870Z] 640e595b4fbd: Pulling fs layer [2022-02-22T15:55:04.870Z] 763cafe07f6e: Pulling fs layer [2022-02-22T15:55:04.870Z] 0c0b528cf693: Pulling fs layer [2022-02-22T15:55:04.870Z] 10935f4eaf8b: Pulling fs layer [2022-02-22T15:55:04.870Z] 640e595b4fbd: Waiting [2022-02-22T15:55:04.870Z] 763cafe07f6e: Waiting [2022-02-22T15:55:04.870Z] 0c0b528cf693: Waiting [2022-02-22T15:55:04.870Z] 10935f4eaf8b: Waiting [2022-02-22T15:55:04.870Z] 4fe6c5a15a65: Waiting [2022-02-22T15:55:04.870Z] 22a0e8bec74d: Waiting [2022-02-22T15:55:04.870Z] 8ed8ca486205: Verifying Checksum [2022-02-22T15:55:04.870Z] 8ed8ca486205: Download complete [2022-02-22T15:55:04.870Z] 666ba61612fd: Verifying Checksum [2022-02-22T15:55:04.870Z] 666ba61612fd: Download complete [2022-02-22T15:55:04.870Z] 22a0e8bec74d: Verifying Checksum [2022-02-22T15:55:04.870Z] 22a0e8bec74d: Download complete [2022-02-22T15:55:04.870Z] 59bf1c3509f3: Verifying Checksum [2022-02-22T15:55:04.870Z] 640e595b4fbd: Verifying Checksum [2022-02-22T15:55:04.870Z] 640e595b4fbd: Download complete [2022-02-22T15:55:04.870Z] 59bf1c3509f3: Download complete [2022-02-22T15:55:04.870Z] 763cafe07f6e: Verifying Checksum [2022-02-22T15:55:04.870Z] 763cafe07f6e: Download complete [2022-02-22T15:55:04.870Z] 0c0b528cf693: Verifying Checksum [2022-02-22T15:55:04.870Z] 0c0b528cf693: Download complete [2022-02-22T15:55:05.136Z] 59bf1c3509f3: Pull complete [2022-02-22T15:55:05.398Z] 10935f4eaf8b: Verifying Checksum [2022-02-22T15:55:05.398Z] 10935f4eaf8b: Download complete [2022-02-22T15:55:05.398Z] 666ba61612fd: Pull complete [2022-02-22T15:55:05.662Z] 4fe6c5a15a65: Verifying Checksum [2022-02-22T15:55:05.662Z] 4fe6c5a15a65: Download complete [2022-02-22T15:55:05.662Z] 8ed8ca486205: Pull complete [2022-02-22T15:55:09.924Z] 4fe6c5a15a65: Pull complete [2022-02-22T15:55:09.924Z] 22a0e8bec74d: Pull complete [2022-02-22T15:55:09.924Z] 640e595b4fbd: Pull complete [2022-02-22T15:55:09.924Z] 763cafe07f6e: Pull complete [2022-02-22T15:55:09.924Z] 0c0b528cf693: Pull complete [2022-02-22T15:55:12.473Z] 10935f4eaf8b: Pull complete [2022-02-22T15:55:12.473Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-02-22T15:55:12.473Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-02-22T15:55:12.473Z] ---> 99d49a6021b9 [2022-02-22T15:55:12.473Z] Step 3/11 : ARG MAKE=make build [2022-02-22T15:55:15.036Z] ---> Running in 5b2c76124bf7 [2022-02-22T15:55:15.036Z] Removing intermediate container 5b2c76124bf7 [2022-02-22T15:55:15.036Z] ---> 2119df473c6a [2022-02-22T15:55:15.036Z] Step 4/11 : WORKDIR /device-sdk-go [2022-02-22T15:55:15.036Z] ---> Running in bd8fea2daafe [2022-02-22T15:55:15.036Z] Removing intermediate container bd8fea2daafe [2022-02-22T15:55:15.036Z] ---> 982e7b795e2e [2022-02-22T15:55:15.036Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-22T15:55:15.036Z] ---> Running in 632981f759c7 [2022-02-22T15:55:15.036Z] Removing intermediate container 632981f759c7 [2022-02-22T15:55:15.036Z] ---> 5f84a66ea7f3 [2022-02-22T15:55:15.036Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-22T15:55:15.036Z] ---> Running in 1430cef5dc00 [2022-02-22T15:55:15.611Z] Removing intermediate container 1430cef5dc00 [2022-02-22T15:55:15.611Z] ---> 5371975f3b67 [2022-02-22T15:55:15.611Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-02-22T15:55:15.611Z] ---> Running in 12b7937f4852 [2022-02-22T15:55:15.871Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-22T15:55:16.813Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-22T15:55:17.080Z] OK: 221 MiB in 52 packages [2022-02-22T15:55:17.080Z] Removing intermediate container 12b7937f4852 [2022-02-22T15:55:17.080Z] ---> 7986cc653ca9 [2022-02-22T15:55:17.080Z] Step 8/11 : COPY go.mod vendor* ./ [2022-02-22T15:55:17.342Z] ---> 02af2124bd86 [2022-02-22T15:55:17.342Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-22T15:55:17.342Z] ---> Running in 5bc02252738e [2022-02-22T15:55:18.040Z] Still waiting to schedule task [2022-02-22T15:55:18.040Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-02-22T15:55:49.480Z] Removing intermediate container 5bc02252738e [2022-02-22T15:55:49.480Z] ---> 744538e01800 [2022-02-22T15:55:49.480Z] Step 10/11 : COPY . . [2022-02-22T15:55:49.480Z] ---> 3ebf4ce8bc54 [2022-02-22T15:55:49.480Z] Step 11/11 : RUN ${MAKE} [2022-02-22T15:55:49.480Z] ---> Running in c1087c76f3aa [2022-02-22T15:55:49.480Z] noop [2022-02-22T15:55:49.480Z] Removing intermediate container c1087c76f3aa [2022-02-22T15:55:49.480Z] ---> 2845730dabf4 [2022-02-22T15:55:49.480Z] Successfully built 2845730dabf4 [2022-02-22T15:55:49.480Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-22T15:55:49.781Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-22T15:55:49.781Z] . [Pipeline] withDockerContainer [2022-02-22T15:55:49.849Z] prd-centos7-docker-4c-2g-5843 does not seem to be running inside a container [2022-02-22T15:55:49.884Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1097 -v /w/workspace/gexfoundry_device-sdk-go_PR-1097:/w/workspace/gexfoundry_device-sdk-go_PR-1097:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1097@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 ******** -e ******** ci-base-image-x86_64 cat [2022-02-22T15:55:50.218Z] $ docker top 7d754f68e0694855653635d1ef8b3860ac0dc0b6bec9d20123d06d10bdf93dc5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-22T15:55:50.578Z] + go version [2022-02-22T15:55:50.578Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-02-22T15:55:50.590Z] $ docker stop --time=1 7d754f68e0694855653635d1ef8b3860ac0dc0b6bec9d20123d06d10bdf93dc5 [2022-02-22T15:55:51.780Z] $ docker rm -f 7d754f68e0694855653635d1ef8b3860ac0dc0b6bec9d20123d06d10bdf93dc5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-22T15:55:52.200Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-22T15:55:52.200Z] . [Pipeline] withDockerContainer [2022-02-22T15:55:52.263Z] prd-centos7-docker-4c-2g-5843 does not seem to be running inside a container [2022-02-22T15:55:52.293Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1097 -v /w/workspace/gexfoundry_device-sdk-go_PR-1097:/w/workspace/gexfoundry_device-sdk-go_PR-1097:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1097@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 ******** -e ******** ci-base-image-x86_64 cat [2022-02-22T15:55:52.614Z] $ docker top 4c638d5e003e589b3dac78868858ae315f8282a1c8d49d140e592f94321dcd35 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-22T15:55:52.980Z] + make test [2022-02-22T15:55:52.980Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-02-22T15:55:53.247Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-02-22T15:56:08.240Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-02-22T15:56:08.240Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-02-22T15:56:08.240Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-02-22T15:56:08.523Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.014s coverage: 23.3% of statements [2022-02-22T15:56:08.523Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-02-22T15:56:08.523Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.018s coverage: 27.6% of statements [2022-02-22T15:56:08.523Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.006s coverage: 78.9% of statements [2022-02-22T15:56:09.120Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.014s coverage: 10.8% of statements [2022-02-22T15:56:09.120Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-02-22T15:56:09.120Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-02-22T15:56:09.120Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-02-22T15:56:09.388Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.013s coverage: 33.0% of statements [2022-02-22T15:56:09.388Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-02-22T15:56:10.790Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.010s coverage: 86.1% of statements [2022-02-22T15:56:10.790Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-02-22T15:56:10.790Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-02-22T15:56:10.790Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.010s coverage: 57.4% of statements [2022-02-22T15:56:10.790Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.029s coverage: 89.2% of statements [2022-02-22T15:56:10.790Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-02-22T15:56:11.366Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.008s coverage: 4.8% of statements [2022-02-22T15:56:11.366Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-02-22T15:56:23.688Z] GO111MODULE=on go vet ./... [2022-02-22T15:56:29.016Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-02-22T15:56:29.016Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-02-22T15:56:29.016Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-02-22T15:56:29.029Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-02-22T15:56:29.043Z] $ docker stop --time=1 4c638d5e003e589b3dac78868858ae315f8282a1c8d49d140e592f94321dcd35 [2022-02-22T15:56:30.545Z] $ docker rm -f 4c638d5e003e589b3dac78868858ae315f8282a1c8d49d140e592f94321dcd35 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-22T15:56:31.031Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-02-22T15:56:31.110Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-02-22T15:56:32.167Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-02-22T15:56:32.457Z] + ls -al . [2022-02-22T15:56:32.457Z] total 272 [2022-02-22T15:56:32.457Z] drwxrwxr-x. 11 jenkins jenkins 4096 Feb 22 15:56 . [2022-02-22T15:56:32.457Z] drwxrwxr-x. 4 jenkins jenkins 112 Feb 22 15:54 .. [2022-02-22T15:56:32.457Z] drwxrwxr-x. 2 jenkins jenkins 37 Feb 22 15:54 bin [2022-02-22T15:56:32.457Z] -rw-rw-r--. 1 jenkins jenkins 26321 Feb 22 15:54 CHANGELOG.md [2022-02-22T15:56:32.457Z] -rw-r--r--. 1 jenkins jenkins 129001 Feb 22 15:56 coverage.out [2022-02-22T15:56:32.457Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 22 15:54 .dockerignore [2022-02-22T15:56:32.457Z] drwxrwxr-x. 5 jenkins jenkins 62 Feb 22 15:54 example [2022-02-22T15:56:32.457Z] drwxrwxr-x. 8 jenkins jenkins 179 Feb 22 15:54 .git [2022-02-22T15:56:32.457Z] drwxrwxr-x. 3 jenkins jenkins 125 Feb 22 15:54 .github [2022-02-22T15:56:32.457Z] -rw-rw-r--. 1 jenkins jenkins 131 Feb 22 15:54 .gitignore [2022-02-22T15:56:32.457Z] -rw-rw-r--. 1 jenkins jenkins 42 Feb 22 15:54 .golangci.yml [2022-02-22T15:56:32.457Z] -rw-rw-r--. 1 jenkins jenkins 2774 Feb 22 15:54 go.mod [2022-02-22T15:56:32.457Z] -rw-rw-r--. 1 jenkins jenkins 49778 Feb 22 15:54 go.sum [2022-02-22T15:56:32.457Z] -rw-rw-r--. 1 jenkins jenkins 677 Feb 22 15:54 GOVERNANCE.md [2022-02-22T15:56:32.457Z] drwxrwxr-x. 15 jenkins jenkins 224 Feb 22 15:54 internal [2022-02-22T15:56:32.457Z] -rw-rw-r--. 1 jenkins jenkins 880 Feb 22 15:54 Jenkinsfile [2022-02-22T15:56:32.458Z] -rw-rw-r--. 1 jenkins jenkins 11341 Feb 22 15:54 LICENSE [2022-02-22T15:56:32.458Z] -rw-rw-r--. 1 jenkins jenkins 1614 Feb 22 15:54 Makefile [2022-02-22T15:56:32.458Z] drwxrwxr-x. 3 jenkins jenkins 16 Feb 22 15:54 openapi [2022-02-22T15:56:32.458Z] -rw-rw-r--. 1 jenkins jenkins 619 Feb 22 15:54 OWNERS.md [2022-02-22T15:56:32.458Z] drwxrwxr-x. 5 jenkins jenkins 50 Feb 22 15:54 pkg [2022-02-22T15:56:32.458Z] -rw-rw-r--. 1 jenkins jenkins 4881 Feb 22 15:54 README.md [2022-02-22T15:56:32.458Z] drwx------. 3 jenkins jenkins 72 Feb 22 15:55 .semver [2022-02-22T15:56:32.458Z] drwxrwxr-x. 4 jenkins jenkins 54 Feb 22 15:54 snap [2022-02-22T15:56:32.458Z] -rw-rw-r--. 1 jenkins jenkins 5 Feb 22 15:55 VERSION [2022-02-22T15:56:32.458Z] -rw-rw-r--. 1 jenkins jenkins 222 Feb 22 15:54 version.go [Pipeline] isUnix [Pipeline] sh [2022-02-22T15:56:32.760Z] + 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=40d1c897eaa9b8b12c574efe2df53de1b20fd829 --label arch=amd64 --label version=0.0.0 . [2022-02-22T15:56:32.760Z] Sending build context to Docker daemon 9.703MB [2022-02-22T15:56:32.760Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-02-22T15:56:32.760Z] Step 2/25 : FROM ${BASE} AS builder [2022-02-22T15:56:32.760Z] ---> 2845730dabf4 [2022-02-22T15:56:32.760Z] Step 3/25 : ARG MAKE=make build [2022-02-22T15:56:33.021Z] ---> Running in 1ece707a71f9 [2022-02-22T15:56:33.021Z] Removing intermediate container 1ece707a71f9 [2022-02-22T15:56:33.021Z] ---> 53901f64f1f5 [2022-02-22T15:56:33.021Z] Step 4/25 : WORKDIR /device-sdk-go [2022-02-22T15:56:33.021Z] ---> Running in 161bae40e111 [2022-02-22T15:56:33.021Z] Removing intermediate container 161bae40e111 [2022-02-22T15:56:33.021Z] ---> 799521357d61 [2022-02-22T15:56:33.021Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-22T15:56:33.021Z] ---> Running in 6ee79ec6fbfa [2022-02-22T15:56:33.284Z] Removing intermediate container 6ee79ec6fbfa [2022-02-22T15:56:33.285Z] ---> e17bcab84e4a [2022-02-22T15:56:33.285Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-22T15:56:33.285Z] ---> Running in acca401dff0c [2022-02-22T15:56:33.551Z] Removing intermediate container acca401dff0c [2022-02-22T15:56:33.551Z] ---> 40ed9db3efe8 [2022-02-22T15:56:33.551Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-02-22T15:56:33.816Z] ---> Running in 9d0a36da1a5d [2022-02-22T15:56:33.816Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-22T15:56:34.760Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-22T15:56:35.335Z] OK: 221 MiB in 52 packages [2022-02-22T15:56:35.335Z] Removing intermediate container 9d0a36da1a5d [2022-02-22T15:56:35.335Z] ---> f97139fee513 [2022-02-22T15:56:35.335Z] Step 8/25 : COPY go.mod vendor* ./ [2022-02-22T15:56:35.596Z] ---> 7bbd1e738a7a [2022-02-22T15:56:35.596Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-22T15:56:35.596Z] ---> Running in 263f90777270 [2022-02-22T15:56:36.174Z] Removing intermediate container 263f90777270 [2022-02-22T15:56:36.174Z] ---> 5601c9f5e0df [2022-02-22T15:56:36.174Z] Step 10/25 : COPY . . [2022-02-22T15:56:36.436Z] ---> 8a8a3e75e84a [2022-02-22T15:56:36.436Z] Step 11/25 : RUN ${MAKE} [2022-02-22T15:56:36.436Z] ---> Running in c20d55be0fd2 [2022-02-22T15:56:36.703Z] 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-02-22T15:56:48.993Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-02-22T15:56:48.993Z] Removing intermediate container c20d55be0fd2 [2022-02-22T15:56:48.993Z] ---> 0bd7ddba49ca [2022-02-22T15:56:48.993Z] Step 12/25 : FROM alpine:3.14 [2022-02-22T15:56:48.993Z] 3.14: Pulling from library/alpine [2022-02-22T15:56:49.252Z] 97518928ae5f: Pulling fs layer [2022-02-22T15:56:49.252Z] 97518928ae5f: Verifying Checksum [2022-02-22T15:56:49.252Z] 97518928ae5f: Download complete [2022-02-22T15:56:49.512Z] 97518928ae5f: Pull complete [2022-02-22T15:56:49.512Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-02-22T15:56:49.512Z] Status: Downloaded newer image for alpine:3.14 [2022-02-22T15:56:49.512Z] ---> 0a97eee8041e [2022-02-22T15:56:49.512Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-22T15:56:49.512Z] ---> Running in b5e25da84ae5 [2022-02-22T15:56:49.771Z] Removing intermediate container b5e25da84ae5 [2022-02-22T15:56:49.771Z] ---> 2c03f61e8e17 [2022-02-22T15:56:49.771Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-22T15:56:49.771Z] ---> Running in dcb0e89dfcb2 [2022-02-22T15:56:50.029Z] Removing intermediate container dcb0e89dfcb2 [2022-02-22T15:56:50.029Z] ---> 1aa70264cf0b [2022-02-22T15:56:50.029Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-02-22T15:56:50.029Z] ---> Running in 4b22e1589f13 [2022-02-22T15:56:50.288Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-02-22T15:56:51.227Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-02-22T15:56:51.487Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-02-22T15:56:51.747Z] (2/5) Installing libsodium (1.0.18-r0) [2022-02-22T15:56:51.747Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-02-22T15:56:51.747Z] (4/5) Installing libzmq (4.3.4-r0) [2022-02-22T15:56:52.007Z] (5/5) Installing zeromq (4.3.4-r0) [2022-02-22T15:56:52.007Z] Executing busybox-1.33.1-r6.trigger [2022-02-22T15:56:52.007Z] OK: 8 MiB in 19 packages [2022-02-22T15:56:52.271Z] Removing intermediate container 4b22e1589f13 [2022-02-22T15:56:52.271Z] ---> 4f6bf1d4165b [2022-02-22T15:56:52.271Z] Step 16/25 : WORKDIR / [2022-02-22T15:56:52.271Z] ---> Running in a6892ed4a8a4 [2022-02-22T15:56:52.535Z] Removing intermediate container a6892ed4a8a4 [2022-02-22T15:56:52.535Z] ---> 7c1ee04a2ab5 [2022-02-22T15:56:52.535Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-02-22T15:56:52.535Z] ---> fa931776ca47 [2022-02-22T15:56:52.535Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-02-22T15:56:53.107Z] ---> 055c931bd1d7 [2022-02-22T15:56:53.107Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-02-22T15:56:53.107Z] ---> 99656ef5d3e3 [2022-02-22T15:56:53.107Z] Step 20/25 : EXPOSE 59999 [2022-02-22T15:56:53.107Z] ---> Running in 13a1887bee9f [2022-02-22T15:56:53.107Z] Removing intermediate container 13a1887bee9f [2022-02-22T15:56:53.107Z] ---> 99ac7bfa5884 [2022-02-22T15:56:53.107Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-02-22T15:56:53.107Z] ---> Running in 0f56c9fc366c [2022-02-22T15:56:53.375Z] Removing intermediate container 0f56c9fc366c [2022-02-22T15:56:53.376Z] ---> 8688bb45877a [2022-02-22T15:56:53.376Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-02-22T15:56:53.376Z] ---> Running in b5ed1d35e7bc [2022-02-22T15:56:53.376Z] Removing intermediate container b5ed1d35e7bc [2022-02-22T15:56:53.376Z] ---> cd060d324bd2 [2022-02-22T15:56:53.376Z] Step 23/25 : LABEL arch=amd64 [2022-02-22T15:56:53.376Z] ---> Running in 2d84771b954b [2022-02-22T15:56:53.636Z] Removing intermediate container 2d84771b954b [2022-02-22T15:56:53.636Z] ---> 08e821e437d1 [2022-02-22T15:56:53.636Z] Step 24/25 : LABEL git_sha=40d1c897eaa9b8b12c574efe2df53de1b20fd829 [2022-02-22T15:56:53.636Z] ---> Running in a0fe3c852c2e [2022-02-22T15:56:53.636Z] Removing intermediate container a0fe3c852c2e [2022-02-22T15:56:53.636Z] ---> 3b4d5962bce7 [2022-02-22T15:56:53.636Z] Step 25/25 : LABEL version=0.0.0 [2022-02-22T15:56:53.636Z] ---> Running in 3a42c8c9a2c0 [2022-02-22T15:56:53.896Z] Removing intermediate container 3a42c8c9a2c0 [2022-02-22T15:56:53.896Z] ---> d479fa8e672d [2022-02-22T15:56:53.896Z] [Warning] One or more build-args [ARCH] were not consumed [2022-02-22T15:56:53.896Z] Successfully built d479fa8e672d [2022-02-22T15:56:53.896Z] 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-02-22T15:56:54.319Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-22T15:56:54.319Z] [2022-02-22T15:56:54.319Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-02-22T15:56:54.620Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-22T15:56:54.620Z] latest: Pulling from edgex-lftools-log-publisher [2022-02-22T15:56:54.620Z] b4d181a07f80: Pulling fs layer [2022-02-22T15:56:54.620Z] a1111a8f2ec3: Pulling fs layer [2022-02-22T15:56:54.620Z] ed53099fbce6: Pulling fs layer [2022-02-22T15:56:54.620Z] dc539afda2c1: Pulling fs layer [2022-02-22T15:56:54.620Z] 77bc0d833cb6: Pulling fs layer [2022-02-22T15:56:54.620Z] 9065ff56babe: Pulling fs layer [2022-02-22T15:56:54.620Z] d287ab97295c: Pulling fs layer [2022-02-22T15:56:54.620Z] dc539afda2c1: Waiting [2022-02-22T15:56:54.620Z] 77bc0d833cb6: Waiting [2022-02-22T15:56:54.620Z] 9065ff56babe: Waiting [2022-02-22T15:56:54.620Z] d287ab97295c: Waiting [2022-02-22T15:56:54.620Z] a1111a8f2ec3: Verifying Checksum [2022-02-22T15:56:54.620Z] a1111a8f2ec3: Download complete [2022-02-22T15:56:54.620Z] dc539afda2c1: Download complete [2022-02-22T15:56:54.620Z] ed53099fbce6: Verifying Checksum [2022-02-22T15:56:54.620Z] ed53099fbce6: Download complete [2022-02-22T15:56:54.886Z] 9065ff56babe: Verifying Checksum [2022-02-22T15:56:54.886Z] 9065ff56babe: Download complete [2022-02-22T15:56:54.886Z] 77bc0d833cb6: Verifying Checksum [2022-02-22T15:56:54.886Z] 77bc0d833cb6: Download complete [2022-02-22T15:56:54.886Z] b4d181a07f80: Download complete [2022-02-22T15:56:55.457Z] d287ab97295c: Verifying Checksum [2022-02-22T15:56:55.457Z] d287ab97295c: Download complete [2022-02-22T15:56:56.410Z] b4d181a07f80: Pull complete [2022-02-22T15:56:56.410Z] a1111a8f2ec3: Pull complete [2022-02-22T15:56:56.979Z] ed53099fbce6: Pull complete [2022-02-22T15:56:56.979Z] dc539afda2c1: Pull complete [2022-02-22T15:56:57.245Z] 77bc0d833cb6: Pull complete [2022-02-22T15:56:57.518Z] 9065ff56babe: Pull complete [2022-02-22T15:57:02.866Z] d287ab97295c: Pull complete [2022-02-22T15:57:02.866Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-02-22T15:57:02.866Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-22T15:57:02.866Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-02-22T15:57:02.937Z] prd-centos7-docker-4c-2g-5843 does not seem to be running inside a container [2022-02-22T15:57:02.976Z] $ 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-1097 -v /w/workspace/gexfoundry_device-sdk-go_PR-1097:/w/workspace/gexfoundry_device-sdk-go_PR-1097:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1097@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-02-22T15:57:05.550Z] $ docker top 79e735b84fcdd705c5b5b2225250d7e00559e692fb6c4f14ed7869e3486d4d04 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-22T15:57:05.946Z] ---> job-cost.sh [2022-02-22T15:57:05.946Z] lf-activate-venv: SKIPPING [2022-02-22T15:57:05.946Z] INFO: No Stack... [2022-02-22T15:57:06.206Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-22T15:57:06.778Z] INFO: Archiving Costs [Pipeline] sh [2022-02-22T15:57:07.098Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1097/archives/cost.csv [2022-02-22T15:57:07.098Z] + cut -d, -f6 [Pipeline] lock [2022-02-22T15:57:07.210Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1097-8-stack-cost] [2022-02-22T15:57:07.216Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1097-8-stack-cost] did not exist. Created. [2022-02-22T15:57:07.217Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1097-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-22T15:57:07.684Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-02-22T15:57:07.751Z] Stashed 1 file(s) [Pipeline] } [2022-02-22T15:57:07.759Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1097-8-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-22T15:57:07.773Z] $ docker stop --time=1 79e735b84fcdd705c5b5b2225250d7e00559e692fb6c4f14ed7869e3486d4d04 [2022-02-22T15:57:08.929Z] $ docker rm -f 79e735b84fcdd705c5b5b2225250d7e00559e692fb6c4f14ed7869e3486d4d04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-22T15:57:12.685Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5844 in /w/workspace/gexfoundry_device-sdk-go_PR-1097 [Pipeline] { [Pipeline] ws [2022-02-22T15:57:12.698Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2022-02-22T15:57:12.984Z] The recommended git tool is: git [2022-02-22T15:57:19.688Z] using credential edgex-jenkins-ssh [2022-02-22T15:57:19.709Z] Cloning the remote Git repository [2022-02-22T15:57:19.797Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-02-22T15:57:19.906Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2022-02-22T15:57:20.032Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-02-22T15:57:20.034Z] > git --version # timeout=10 [2022-02-22T15:57:20.061Z] > git --version # 'git version 2.17.1' [2022-02-22T15:57:20.064Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-22T15:57:20.141Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-22T15:57:23.005Z] Merging remotes/origin/main commit ff2bdc244935d5b40da6f20198b29dfc476efd7a into PR head commit 40d1c897eaa9b8b12c574efe2df53de1b20fd829 [2022-02-22T15:57:22.008Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-02-22T15:57:22.030Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-22T15:57:22.069Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-02-22T15:57:22.122Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-02-22T15:57:22.123Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-22T15:57:22.150Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1097/head:refs/remotes/origin/PR-1097 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-02-22T15:57:23.025Z] > git config core.sparsecheckout # timeout=10 [2022-02-22T15:57:23.053Z] > git checkout -f 40d1c897eaa9b8b12c574efe2df53de1b20fd829 # timeout=10 [2022-02-22T15:57:23.199Z] > git remote # timeout=10 [2022-02-22T15:57:23.230Z] > git config --get remote.origin.url # timeout=10 [2022-02-22T15:57:23.255Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-22T15:57:23.271Z] > git merge ff2bdc244935d5b40da6f20198b29dfc476efd7a # timeout=10 [2022-02-22T15:57:23.303Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-02-22T15:57:23.343Z] Merge succeeded, producing 40d1c897eaa9b8b12c574efe2df53de1b20fd829 [2022-02-22T15:57:23.344Z] Checking out Revision 40d1c897eaa9b8b12c574efe2df53de1b20fd829 (PR-1097) [2022-02-22T15:57:23.349Z] > git config core.sparsecheckout # timeout=10 [2022-02-22T15:57:23.367Z] > git checkout -f 40d1c897eaa9b8b12c574efe2df53de1b20fd829 # timeout=10 [2022-02-22T15:57:28.101Z] Commit message: "feat: implement ProtocolProperties validation mechanism" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-22T15:57:29.703Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-02-22T15:57:29.703Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-22T15:57:29.703Z] Dload Upload Total Spent Left Speed [2022-02-22T15:57:29.703Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 134k 0 --:--:-- --:--:-- --:--:-- 134k [Pipeline] sh [2022-02-22T15:57:30.315Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-02-22T15:57:30.685Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-02-22T15:57:30.685Z] + sudo tee /etc/docker/daemon.new [2022-02-22T15:57:30.685Z] { [2022-02-22T15:57:30.685Z] "registry-mirrors": [ [2022-02-22T15:57:30.685Z] "https://nexus3.edgexfoundry.org:10001" [2022-02-22T15:57:30.685Z] ], [2022-02-22T15:57:30.685Z] "bip": "10.250.0.254/24", [2022-02-22T15:57:30.685Z] "hosts": [ [2022-02-22T15:57:30.685Z] "tcp://0.0.0.0:5555", [2022-02-22T15:57:30.685Z] "unix:///var/run/docker.sock" [2022-02-22T15:57:30.685Z] ], [2022-02-22T15:57:30.685Z] "mtu": 1458, [2022-02-22T15:57:30.685Z] "selinux-enabled": true, [2022-02-22T15:57:30.685Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-02-22T15:57:30.685Z] } [Pipeline] sh [2022-02-22T15:57:31.059Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-02-22T15:57:31.427Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-22T15:57:49.849Z] provisioning config files... [2022-02-22T15:57:49.885Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config8172126550726327606tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-22T15:57:50.280Z] ---> docker-login.sh [2022-02-22T15:57:50.280Z] nexus3.edgexfoundry.org:10001 [2022-02-22T15:57:50.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-22T15:57:51.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-22T15:57:51.164Z] Configure a credential helper to remove this warning. See [2022-02-22T15:57:51.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-22T15:57:51.164Z] [2022-02-22T15:57:51.164Z] Login Succeeded [2022-02-22T15:57:51.442Z] nexus3.edgexfoundry.org:10002 [2022-02-22T15:57:51.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-22T15:57:51.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-22T15:57:51.724Z] Configure a credential helper to remove this warning. See [2022-02-22T15:57:51.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-22T15:57:51.724Z] [2022-02-22T15:57:51.724Z] Login Succeeded [2022-02-22T15:57:51.724Z] nexus3.edgexfoundry.org:10003 [2022-02-22T15:57:52.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-22T15:57:52.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-22T15:57:52.409Z] Configure a credential helper to remove this warning. See [2022-02-22T15:57:52.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-22T15:57:52.409Z] [2022-02-22T15:57:52.409Z] Login Succeeded [2022-02-22T15:57:52.409Z] nexus3.edgexfoundry.org:10004 [2022-02-22T15:57:53.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-22T15:57:53.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-22T15:57:53.016Z] Configure a credential helper to remove this warning. See [2022-02-22T15:57:53.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-22T15:57:53.016Z] [2022-02-22T15:57:53.016Z] Login Succeeded [2022-02-22T15:57:53.016Z] docker.io [2022-02-22T15:57:53.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-22T15:57:53.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-22T15:57:53.900Z] Configure a credential helper to remove this warning. See [2022-02-22T15:57:53.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-22T15:57:53.900Z] [2022-02-22T15:57:53.900Z] Login Succeeded [2022-02-22T15:57:53.900Z] ---> docker-login.sh ends [Pipeline] } [2022-02-22T15:57:53.924Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-22T15:57:54.414Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-22T15:57:54.426Z] ========================================================= [2022-02-22T15:57:54.426Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-02-22T15:57:54.426Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-22T15:57:54.804Z] + 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-02-22T15:57:55.421Z] Sending build context to Docker daemon 5.209MB [2022-02-22T15:57:55.421Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-02-22T15:57:55.421Z] Step 2/11 : FROM ${BASE} AS builder [2022-02-22T15:57:55.421Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-02-22T15:57:55.421Z] 9b3977197b4f: Pulling fs layer [2022-02-22T15:57:55.421Z] 1a89e8eeedd5: Pulling fs layer [2022-02-22T15:57:55.421Z] 94645a83ff95: Pulling fs layer [2022-02-22T15:57:55.421Z] 3f3a8bcf1eab: Pulling fs layer [2022-02-22T15:57:55.421Z] 0c92f367c5e7: Pulling fs layer [2022-02-22T15:57:55.421Z] f7c0051592d6: Pulling fs layer [2022-02-22T15:57:55.421Z] a227ed2f7395: Pulling fs layer [2022-02-22T15:57:55.421Z] 7b1c46037f91: Pulling fs layer [2022-02-22T15:57:55.421Z] f7c0051592d6: Waiting [2022-02-22T15:57:55.421Z] a227ed2f7395: Waiting [2022-02-22T15:57:55.421Z] 7b1c46037f91: Waiting [2022-02-22T15:57:55.421Z] 3f3a8bcf1eab: Waiting [2022-02-22T15:57:55.421Z] 0c92f367c5e7: Waiting [2022-02-22T15:57:55.421Z] 94645a83ff95: Verifying Checksum [2022-02-22T15:57:55.421Z] 94645a83ff95: Download complete [2022-02-22T15:57:55.699Z] 1a89e8eeedd5: Verifying Checksum [2022-02-22T15:57:55.699Z] 1a89e8eeedd5: Download complete [2022-02-22T15:57:55.699Z] 0c92f367c5e7: Download complete [2022-02-22T15:57:55.699Z] f7c0051592d6: Verifying Checksum [2022-02-22T15:57:55.699Z] f7c0051592d6: Download complete [2022-02-22T15:57:55.699Z] a227ed2f7395: Verifying Checksum [2022-02-22T15:57:55.699Z] a227ed2f7395: Download complete [2022-02-22T15:57:55.699Z] 9b3977197b4f: Verifying Checksum [2022-02-22T15:57:55.699Z] 9b3977197b4f: Download complete [2022-02-22T15:57:56.303Z] 9b3977197b4f: Pull complete [2022-02-22T15:57:57.303Z] 1a89e8eeedd5: Pull complete [2022-02-22T15:57:57.583Z] 94645a83ff95: Pull complete [2022-02-22T15:57:57.859Z] 7b1c46037f91: Verifying Checksum [2022-02-22T15:57:57.859Z] 7b1c46037f91: Download complete [2022-02-22T15:57:58.464Z] 3f3a8bcf1eab: Verifying Checksum [2022-02-22T15:57:58.464Z] 3f3a8bcf1eab: Download complete [2022-02-22T15:58:10.894Z] 3f3a8bcf1eab: Pull complete [2022-02-22T15:58:10.894Z] 0c92f367c5e7: Pull complete [2022-02-22T15:58:11.496Z] f7c0051592d6: Pull complete [2022-02-22T15:58:11.772Z] a227ed2f7395: Pull complete [2022-02-22T15:58:18.508Z] 7b1c46037f91: Pull complete [2022-02-22T15:58:18.508Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-02-22T15:58:18.508Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-02-22T15:58:18.508Z] ---> f79e39bc4007 [2022-02-22T15:58:18.508Z] Step 3/11 : ARG MAKE=make build [2022-02-22T15:58:20.480Z] ---> Running in 25c99d359a65 [2022-02-22T15:58:20.758Z] Removing intermediate container 25c99d359a65 [2022-02-22T15:58:20.758Z] ---> c6e9f59c8eef [2022-02-22T15:58:20.758Z] Step 4/11 : WORKDIR /device-sdk-go [2022-02-22T15:58:21.038Z] ---> Running in b9e0b16098c9 [2022-02-22T15:58:21.316Z] Removing intermediate container b9e0b16098c9 [2022-02-22T15:58:21.316Z] ---> 67a7734d479a [2022-02-22T15:58:21.316Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-22T15:58:21.603Z] ---> Running in f0df48d95d36 [2022-02-22T15:58:21.884Z] Removing intermediate container f0df48d95d36 [2022-02-22T15:58:21.884Z] ---> cc06a06991c6 [2022-02-22T15:58:21.884Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-22T15:58:22.163Z] ---> Running in 7681056bf1ab [2022-02-22T15:58:24.167Z] Removing intermediate container 7681056bf1ab [2022-02-22T15:58:24.167Z] ---> 415ad1716a06 [2022-02-22T15:58:24.167Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-02-22T15:58:24.454Z] ---> Running in 494d217b1a11 [2022-02-22T15:58:25.917Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-22T15:58:26.522Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-22T15:58:27.967Z] OK: 220 MiB in 52 packages [2022-02-22T15:58:28.951Z] Removing intermediate container 494d217b1a11 [2022-02-22T15:58:28.951Z] ---> 509805de06bb [2022-02-22T15:58:28.951Z] Step 8/11 : COPY go.mod vendor* ./ [2022-02-22T15:58:29.564Z] ---> 3c9b48bc457a [2022-02-22T15:58:29.564Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-22T15:58:29.564Z] ---> Running in cd925457f26d [2022-02-22T15:59:51.451Z] Removing intermediate container cd925457f26d [2022-02-22T15:59:51.451Z] ---> fd22fec07c0b [2022-02-22T15:59:51.451Z] Step 10/11 : COPY . . [2022-02-22T15:59:52.052Z] ---> 517abff3097e [2022-02-22T15:59:52.052Z] Step 11/11 : RUN ${MAKE} [2022-02-22T15:59:52.052Z] ---> Running in 06e558d32376 [2022-02-22T15:59:53.064Z] noop [2022-02-22T15:59:54.052Z] Removing intermediate container 06e558d32376 [2022-02-22T15:59:54.052Z] ---> 3049acafdee0 [2022-02-22T15:59:54.052Z] Successfully built 3049acafdee0 [2022-02-22T15:59:54.052Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-22T15:59:54.411Z] + docker inspect -f . ci-base-image-arm64 [2022-02-22T15:59:54.411Z] . [Pipeline] withDockerContainer [2022-02-22T15:59:54.694Z] prd-ubuntu18.04-docker-arm64-4c-16g-5844 does not seem to be running inside a container [2022-02-22T15:59:54.795Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-02-22T15:59:56.443Z] $ docker top 8960682de3b4747af0b27b85bd277a5ba63cd9e86e33b79f10c75b9ac30d1164 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-22T15:59:57.431Z] + go version [2022-02-22T15:59:57.431Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-02-22T15:59:57.465Z] $ docker stop --time=1 8960682de3b4747af0b27b85bd277a5ba63cd9e86e33b79f10c75b9ac30d1164 [2022-02-22T15:59:59.269Z] $ docker rm -f 8960682de3b4747af0b27b85bd277a5ba63cd9e86e33b79f10c75b9ac30d1164 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-22T15:59:59.936Z] + docker inspect -f . ci-base-image-arm64 [2022-02-22T15:59:59.936Z] . [Pipeline] withDockerContainer [2022-02-22T16:00:00.184Z] prd-ubuntu18.04-docker-arm64-4c-16g-5844 does not seem to be running inside a container [2022-02-22T16:00:00.290Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-02-22T16:00:01.860Z] $ docker top b028a5f50151fe9f5aa2eb8e0a4b7ff4721323c28e64a90ac478b5eb03c8ecd5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-22T16:00:02.815Z] + make test [2022-02-22T16:00:02.816Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-02-22T16:00:04.842Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-02-22T16:01:01.505Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-02-22T16:01:01.505Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-02-22T16:01:01.505Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-02-22T16:01:13.971Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.085s coverage: 23.3% of statements [2022-02-22T16:01:13.971Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-02-22T16:01:13.971Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.069s coverage: 27.6% of statements [2022-02-22T16:01:13.971Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.071s coverage: 78.9% of statements [2022-02-22T16:01:13.971Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.086s coverage: 10.8% of statements [2022-02-22T16:01:13.971Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-02-22T16:01:13.971Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-02-22T16:01:13.971Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-02-22T16:01:14.574Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.091s coverage: 33.0% of statements [2022-02-22T16:01:14.574Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-02-22T16:01:15.552Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.062s coverage: 86.1% of statements [2022-02-22T16:01:15.552Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-02-22T16:01:15.552Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-02-22T16:01:15.553Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.138s coverage: 57.4% of statements [2022-02-22T16:01:17.006Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.188s coverage: 89.2% of statements [2022-02-22T16:01:17.006Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-02-22T16:01:19.016Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.064s coverage: 4.8% of statements [2022-02-22T16:01:19.016Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-02-22T16:01:19.293Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-02-22T16:01:19.293Z] GO111MODULE=on go vet ./... [2022-02-22T16:01:46.156Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-02-22T16:01:46.156Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-02-22T16:01:46.156Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-02-22T16:01:48.173Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-02-22T16:01:48.192Z] $ docker stop --time=1 b028a5f50151fe9f5aa2eb8e0a4b7ff4721323c28e64a90ac478b5eb03c8ecd5 [2022-02-22T16:01:50.087Z] $ docker rm -f b028a5f50151fe9f5aa2eb8e0a4b7ff4721323c28e64a90ac478b5eb03c8ecd5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-22T16:01:51.065Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-02-22T16:01:51.095Z] Warning: overwriting stash ‘coverage-report’ [2022-02-22T16:01:52.068Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-22T16:01:52.496Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-02-22T16:01:52.868Z] + ls -al . [2022-02-22T16:01:52.868Z] total 308 [2022-02-22T16:01:52.868Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 22 16:01 . [2022-02-22T16:01:52.868Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 15:57 .. [2022-02-22T16:01:52.868Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 22 15:57 .dockerignore [2022-02-22T16:01:52.868Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 15:57 .git [2022-02-22T16:01:52.868Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 22 15:57 .github [2022-02-22T16:01:52.868Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 22 15:57 .gitignore [2022-02-22T16:01:52.868Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 22 15:57 .golangci.yml [2022-02-22T16:01:52.868Z] -rw-rw-r-- 1 jenkins jenkins 26321 Feb 22 15:57 CHANGELOG.md [2022-02-22T16:01:52.868Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 22 15:57 GOVERNANCE.md [2022-02-22T16:01:52.868Z] -rw-rw-r-- 1 jenkins jenkins 880 Feb 22 15:57 Jenkinsfile [2022-02-22T16:01:52.868Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 22 15:57 LICENSE [2022-02-22T16:01:52.868Z] -rw-rw-r-- 1 jenkins jenkins 1614 Feb 22 15:57 Makefile [2022-02-22T16:01:52.868Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 22 15:57 OWNERS.md [2022-02-22T16:01:52.868Z] -rw-rw-r-- 1 jenkins jenkins 4881 Feb 22 15:57 README.md [2022-02-22T16:01:52.868Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 22 15:55 VERSION [2022-02-22T16:01:52.868Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 15:57 bin [2022-02-22T16:01:52.868Z] -rw-r--r-- 1 jenkins jenkins 129001 Feb 22 16:01 coverage.out [2022-02-22T16:01:52.868Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 22 15:57 example [2022-02-22T16:01:52.868Z] -rw-rw-r-- 1 jenkins jenkins 2774 Feb 22 15:57 go.mod [2022-02-22T16:01:52.868Z] -rw-rw-r-- 1 jenkins jenkins 49778 Feb 22 15:57 go.sum [2022-02-22T16:01:52.868Z] drwxrwxr-x 15 jenkins jenkins 4096 Feb 22 15:57 internal [2022-02-22T16:01:52.868Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 22 15:57 openapi [2022-02-22T16:01:52.868Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 22 15:57 pkg [2022-02-22T16:01:52.868Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 15:57 snap [2022-02-22T16:01:52.868Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 22 15:57 version.go [Pipeline] isUnix [Pipeline] sh [2022-02-22T16:01:53.364Z] + 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=40d1c897eaa9b8b12c574efe2df53de1b20fd829 --label arch=arm64 --label version=0.0.0 . [2022-02-22T16:01:53.989Z] Sending build context to Docker daemon 5.338MB [2022-02-22T16:01:53.989Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-02-22T16:01:53.989Z] Step 2/25 : FROM ${BASE} AS builder [2022-02-22T16:01:53.989Z] ---> 3049acafdee0 [2022-02-22T16:01:53.989Z] Step 3/25 : ARG MAKE=make build [2022-02-22T16:01:54.265Z] ---> Running in b144cac51c63 [2022-02-22T16:01:54.871Z] Removing intermediate container b144cac51c63 [2022-02-22T16:01:54.871Z] ---> f58340e6ce35 [2022-02-22T16:01:54.871Z] Step 4/25 : WORKDIR /device-sdk-go [2022-02-22T16:01:54.871Z] ---> Running in 675c0b356314 [2022-02-22T16:01:55.478Z] Removing intermediate container 675c0b356314 [2022-02-22T16:01:55.478Z] ---> ef7c6daf30f4 [2022-02-22T16:01:55.478Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-22T16:01:55.478Z] ---> Running in 36d4e61dafff [2022-02-22T16:01:55.755Z] Removing intermediate container 36d4e61dafff [2022-02-22T16:01:55.755Z] ---> 743a18f2fc51 [2022-02-22T16:01:55.755Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-22T16:01:56.044Z] ---> Running in 0a75ea05917a [2022-02-22T16:01:58.046Z] Removing intermediate container 0a75ea05917a [2022-02-22T16:01:58.046Z] ---> 9bf63b4f0897 [2022-02-22T16:01:58.046Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-02-22T16:01:58.046Z] ---> Running in 8d26b64c5fa2 [2022-02-22T16:01:59.044Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-22T16:02:00.029Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-22T16:02:01.484Z] OK: 220 MiB in 52 packages [2022-02-22T16:02:02.098Z] Removing intermediate container 8d26b64c5fa2 [2022-02-22T16:02:02.098Z] ---> c991406b38c2 [2022-02-22T16:02:02.098Z] Step 8/25 : COPY go.mod vendor* ./ [2022-02-22T16:02:03.081Z] ---> ed23c0b540b0 [2022-02-22T16:02:03.081Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-22T16:02:03.081Z] ---> Running in 94e17b0fc872 [2022-02-22T16:02:05.713Z] Removing intermediate container 94e17b0fc872 [2022-02-22T16:02:05.713Z] ---> 4ba63f472399 [2022-02-22T16:02:05.713Z] Step 10/25 : COPY . . [2022-02-22T16:02:07.161Z] ---> 8089a0508964 [2022-02-22T16:02:07.161Z] Step 11/25 : RUN ${MAKE} [2022-02-22T16:02:07.161Z] ---> Running in 41de39d86d86 [2022-02-22T16:02:08.144Z] 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-02-22T16:02:55.220Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-02-22T16:02:57.871Z] Removing intermediate container 41de39d86d86 [2022-02-22T16:02:57.871Z] ---> 694167a6089d [2022-02-22T16:02:57.871Z] Step 12/25 : FROM alpine:3.14 [2022-02-22T16:02:58.470Z] 3.14: Pulling from library/alpine [2022-02-22T16:02:58.744Z] be307f383ecc: Pulling fs layer [2022-02-22T16:02:58.744Z] be307f383ecc: Verifying Checksum [2022-02-22T16:02:58.744Z] be307f383ecc: Download complete [2022-02-22T16:02:59.342Z] be307f383ecc: Pull complete [2022-02-22T16:02:59.618Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-02-22T16:02:59.619Z] Status: Downloaded newer image for alpine:3.14 [2022-02-22T16:02:59.619Z] ---> 5b8b7b635229 [2022-02-22T16:02:59.619Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-22T16:02:59.619Z] ---> Running in 69cef6c6e563 [2022-02-22T16:03:00.219Z] Removing intermediate container 69cef6c6e563 [2022-02-22T16:03:00.219Z] ---> e654187fa012 [2022-02-22T16:03:00.219Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-22T16:03:00.219Z] ---> Running in a2f8ca648ca8 [2022-02-22T16:03:02.210Z] Removing intermediate container a2f8ca648ca8 [2022-02-22T16:03:02.210Z] ---> 18384aa5369d [2022-02-22T16:03:02.210Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-02-22T16:03:02.210Z] ---> Running in 644ab2803b3f [2022-02-22T16:03:03.650Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-02-22T16:03:04.636Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-02-22T16:03:05.624Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-02-22T16:03:05.624Z] (2/5) Installing libsodium (1.0.18-r0) [2022-02-22T16:03:05.624Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-02-22T16:03:05.901Z] (4/5) Installing libzmq (4.3.4-r0) [2022-02-22T16:03:06.194Z] (5/5) Installing zeromq (4.3.4-r0) [2022-02-22T16:03:06.194Z] Executing busybox-1.33.1-r6.trigger [2022-02-22T16:03:06.194Z] OK: 8 MiB in 19 packages [2022-02-22T16:03:07.196Z] Removing intermediate container 644ab2803b3f [2022-02-22T16:03:07.196Z] ---> 97ab9362e8b6 [2022-02-22T16:03:07.196Z] Step 16/25 : WORKDIR / [2022-02-22T16:03:07.473Z] ---> Running in 0bd926476238 [2022-02-22T16:03:08.074Z] Removing intermediate container 0bd926476238 [2022-02-22T16:03:08.074Z] ---> e87f576ee0d5 [2022-02-22T16:03:08.074Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-02-22T16:03:08.675Z] ---> 0a31eb7072b8 [2022-02-22T16:03:08.675Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-02-22T16:03:09.660Z] ---> e4b54ff17b32 [2022-02-22T16:03:09.660Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-02-22T16:03:10.642Z] ---> dd738dc2bcd0 [2022-02-22T16:03:10.642Z] Step 20/25 : EXPOSE 59999 [2022-02-22T16:03:10.642Z] ---> Running in 054ed630bd39 [2022-02-22T16:03:10.922Z] Removing intermediate container 054ed630bd39 [2022-02-22T16:03:10.922Z] ---> ab333b56e5b2 [2022-02-22T16:03:10.922Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-02-22T16:03:11.201Z] ---> Running in 2d7d0e47c8cd [2022-02-22T16:03:11.477Z] Removing intermediate container 2d7d0e47c8cd [2022-02-22T16:03:11.477Z] ---> f7d50d4513f0 [2022-02-22T16:03:11.477Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-02-22T16:03:11.754Z] ---> Running in f637f33fd16d [2022-02-22T16:03:12.028Z] Removing intermediate container f637f33fd16d [2022-02-22T16:03:12.028Z] ---> f8a51106e462 [2022-02-22T16:03:12.028Z] Step 23/25 : LABEL arch=arm64 [2022-02-22T16:03:12.304Z] ---> Running in e43dacf65956 [2022-02-22T16:03:12.578Z] Removing intermediate container e43dacf65956 [2022-02-22T16:03:12.578Z] ---> c2f4ac77337d [2022-02-22T16:03:12.578Z] Step 24/25 : LABEL git_sha=40d1c897eaa9b8b12c574efe2df53de1b20fd829 [2022-02-22T16:03:12.855Z] ---> Running in 34a9c6a8a223 [2022-02-22T16:03:13.132Z] Removing intermediate container 34a9c6a8a223 [2022-02-22T16:03:13.132Z] ---> 9c981bc177eb [2022-02-22T16:03:13.132Z] Step 25/25 : LABEL version=0.0.0 [2022-02-22T16:03:13.417Z] ---> Running in c283385800fd [2022-02-22T16:03:13.693Z] Removing intermediate container c283385800fd [2022-02-22T16:03:13.693Z] ---> d8d05be9c42f [2022-02-22T16:03:13.693Z] [Warning] One or more build-args [ARCH] were not consumed [2022-02-22T16:03:13.693Z] Successfully built d8d05be9c42f [2022-02-22T16:03:13.693Z] 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-02-22T16:03:14.147Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-22T16:03:14.147Z] [2022-02-22T16:03:14.147Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-02-22T16:03:14.516Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-22T16:03:14.793Z] arm64: Pulling from edgex-lftools-log-publisher [2022-02-22T16:03:14.793Z] 448f6bf000e3: Pulling fs layer [2022-02-22T16:03:14.793Z] f757da607395: Pulling fs layer [2022-02-22T16:03:14.793Z] 05883995daec: Pulling fs layer [2022-02-22T16:03:14.793Z] 8603b9c90790: Pulling fs layer [2022-02-22T16:03:14.793Z] 1560dd03e051: Pulling fs layer [2022-02-22T16:03:14.793Z] 27f5ce0e4adf: Pulling fs layer [2022-02-22T16:03:14.793Z] c2d8d7efcc4b: Pulling fs layer [2022-02-22T16:03:14.793Z] 8603b9c90790: Waiting [2022-02-22T16:03:14.793Z] 1560dd03e051: Waiting [2022-02-22T16:03:14.793Z] 27f5ce0e4adf: Waiting [2022-02-22T16:03:14.793Z] c2d8d7efcc4b: Waiting [2022-02-22T16:03:14.793Z] f757da607395: Verifying Checksum [2022-02-22T16:03:14.793Z] f757da607395: Download complete [2022-02-22T16:03:14.793Z] 8603b9c90790: Verifying Checksum [2022-02-22T16:03:14.793Z] 8603b9c90790: Download complete [2022-02-22T16:03:15.087Z] 1560dd03e051: Verifying Checksum [2022-02-22T16:03:15.087Z] 1560dd03e051: Download complete [2022-02-22T16:03:15.087Z] 27f5ce0e4adf: Download complete [2022-02-22T16:03:15.087Z] 05883995daec: Verifying Checksum [2022-02-22T16:03:15.087Z] 05883995daec: Download complete [2022-02-22T16:03:15.370Z] 448f6bf000e3: Verifying Checksum [2022-02-22T16:03:15.370Z] 448f6bf000e3: Download complete [2022-02-22T16:03:18.010Z] c2d8d7efcc4b: Verifying Checksum [2022-02-22T16:03:18.010Z] c2d8d7efcc4b: Download complete [2022-02-22T16:03:19.997Z] 448f6bf000e3: Pull complete [2022-02-22T16:03:20.284Z] f757da607395: Pull complete [2022-02-22T16:03:22.283Z] 05883995daec: Pull complete [2022-02-22T16:03:22.283Z] 8603b9c90790: Pull complete [2022-02-22T16:03:23.276Z] 1560dd03e051: Pull complete [2022-02-22T16:03:23.554Z] 27f5ce0e4adf: Pull complete [2022-02-22T16:03:41.900Z] c2d8d7efcc4b: Pull complete [2022-02-22T16:03:41.900Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-02-22T16:03:41.900Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-22T16:03:41.900Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-02-22T16:03:42.148Z] prd-ubuntu18.04-docker-arm64-4c-16g-5844 does not seem to be running inside a container [2022-02-22T16:03:42.339Z] $ 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/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-02-22T16:03:45.905Z] $ docker top e319df29fa61d6db0634ea7091b25a646cbe5ec3be4b5a44d863ec572f189871 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-22T16:03:46.918Z] ---> job-cost.sh [2022-02-22T16:03:46.918Z] lf-activate-venv: SKIPPING [2022-02-22T16:03:46.918Z] INFO: No Stack... [2022-02-22T16:03:47.199Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-02-22T16:03:47.818Z] INFO: Archiving Costs [Pipeline] sh [2022-02-22T16:03:48.486Z] + cut -d, -f6+ [2022-02-22T16:03:48.487Z] cat /w/workspace/device-sdk-go/8/archives/cost.csv [Pipeline] lock [2022-02-22T16:03:48.564Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1097-8-stack-cost] [2022-02-22T16:03:48.569Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1097-8-stack-cost] did not exist. Created. [2022-02-22T16:03:48.569Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1097-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-22T16:03:49.256Z] /w/workspace/device-sdk-go/8@tmp/durable-17b4b124/script.sh: 1: /w/workspace/device-sdk-go/8@tmp/durable-17b4b124/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-02-22T16:03:49.938Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-02-22T16:03:49.959Z] Warning: overwriting stash ‘stack-cost’ [2022-02-22T16:03:50.029Z] Stashed 1 file(s) [Pipeline] } [2022-02-22T16:03:50.036Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1097-8-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-22T16:03:50.061Z] $ docker stop --time=1 e319df29fa61d6db0634ea7091b25a646cbe5ec3be4b5a44d863ec572f189871 [2022-02-22T16:03:51.677Z] $ docker rm -f e319df29fa61d6db0634ea7091b25a646cbe5ec3be4b5a44d863ec572f189871 [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-02-22T16:03:52.271Z] provisioning config files... [2022-02-22T16:03:52.280Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp/config1209667156365105619tmp [Pipeline] { [Pipeline] sh [2022-02-22T16:03:52.584Z] + set +x [2022-02-22T16:03:52.585Z] + curl -s https://codecov.io/bash [2022-02-22T16:03:52.585Z] + bash -s -- [2022-02-22T16:03:52.585Z] [2022-02-22T16:03:52.585Z] _____ _ [2022-02-22T16:03:52.585Z] / ____| | | [2022-02-22T16:03:52.585Z] | | ___ __| | ___ ___ _____ __ [2022-02-22T16:03:52.585Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-02-22T16:03:52.585Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-02-22T16:03:52.585Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-02-22T16:03:52.585Z] Bash-1.0.6 [2022-02-22T16:03:52.585Z] [2022-02-22T16:03:52.585Z] [2022-02-22T16:03:52.585Z] ==> git version 2.24.4 found [2022-02-22T16:03:52.585Z] ==> 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-02-22T16:03:52.585Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-02-22T16:03:52.585Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-02-22T16:03:52.585Z] ==> Jenkins CI detected. [2022-02-22T16:03:52.585Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1097 [2022-02-22T16:03:52.585Z] project root: . [2022-02-22T16:03:52.585Z] --> token set from env [2022-02-22T16:03:52.845Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-02-22T16:03:52.845Z] ==> Running gcov in . (disable via -X gcov) [2022-02-22T16:03:52.845Z] ==> Python coveragepy not found [2022-02-22T16:03:52.845Z] ==> Searching for coverage reports in: [2022-02-22T16:03:52.845Z] + . [2022-02-22T16:03:52.845Z] -> Found 1 reports [2022-02-22T16:03:52.845Z] ==> Detecting git/mercurial file structure [2022-02-22T16:03:52.845Z] ==> Reading reports [2022-02-22T16:03:52.845Z] + ./coverage.out bytes=129001 [2022-02-22T16:03:52.845Z] ==> Appending adjustments [2022-02-22T16:03:52.845Z] https://docs.codecov.io/docs/fixing-reports [2022-02-22T16:03:53.105Z] + Found adjustments [2022-02-22T16:03:53.105Z] ==> Gzipping contents [2022-02-22T16:03:53.105Z] 16K /tmp/codecov.bz9ygG.gz [2022-02-22T16:03:53.105Z] ==> Uploading reports [2022-02-22T16:03:53.105Z] url: https://codecov.io [2022-02-22T16:03:53.105Z] query: branch=PR-1097&commit=40d1c897eaa9b8b12c574efe2df53de1b20fd829&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1097%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1097&job=&cmd_args= [2022-02-22T16:03:53.105Z] -> Pinging Codecov [2022-02-22T16:03:53.105Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1097&commit=40d1c897eaa9b8b12c574efe2df53de1b20fd829&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1097%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1097&job=&cmd_args= [2022-02-22T16:03:53.367Z] -> Uploading to [2022-02-22T16:03:53.367Z] https://storage.googleapis.com/codecov/v4/raw/2022-02-22/7E55EF52A471D76F132DFD9A03CDDE97/40d1c897eaa9b8b12c574efe2df53de1b20fd829/ebf7b456-18a5-479d-9e2a-b4b4472d1ff3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220222%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220222T160353Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a2a46e4bda7ba66a12cc4bbd60a8c1df2ecb647c8b945338fa3c852ea9874c6c [2022-02-22T16:03:53.367Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-22T16:03:53.367Z] Dload Upload Total Spent Left Speed [2022-02-22T16:03:53.886Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16281 0 0 100 16281 0 38875 --:--:-- --:--:-- --:--:-- 38856 [2022-02-22T16:03:53.886Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/40d1c897eaa9b8b12c574efe2df53de1b20fd829 [Pipeline] } [2022-02-22T16:03:53.893Z] 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-02-22T16:03:54.653Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1097/archives ']' [2022-02-22T16:03:54.654Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1097/archives [2022-02-22T16:03:54.654Z] total 8 [2022-02-22T16:03:54.654Z] drwxr-xr-x. 3 root root 34 Feb 22 15:57 . [2022-02-22T16:03:54.654Z] drwxrwxr-x. 12 jenkins jenkins 4096 Feb 22 15:57 .. [2022-02-22T16:03:54.654Z] drwxr-xr-x. 2 root root 6 Feb 22 15:57 cost [2022-02-22T16:03:54.654Z] -rw-r--r--. 1 root root 85 Feb 22 15:57 cost.csv [2022-02-22T16:03:54.654Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1097/archives [2022-02-22T16:03:54.654Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1097/archives [2022-02-22T16:03:54.654Z] total 8 [2022-02-22T16:03:54.654Z] drwxr-xr-x. 3 jenkins jenkins 34 Feb 22 15:57 . [2022-02-22T16:03:54.654Z] drwxrwxr-x. 12 jenkins jenkins 4096 Feb 22 15:57 .. [2022-02-22T16:03:54.654Z] drwxr-xr-x. 2 jenkins jenkins 6 Feb 22 15:57 cost [2022-02-22T16:03:54.654Z] -rw-r--r--. 1 jenkins jenkins 85 Feb 22 15:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-02-22T16:03:54.948Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-22T16:03:55.513Z] ---> package-listing.sh [2022-02-22T16:03:55.513Z] ++ tr '[:upper:]' '[:lower:]' [2022-02-22T16:03:55.513Z] ++ facter osfamily [2022-02-22T16:03:55.775Z] + OS_FAMILY=redhat [2022-02-22T16:03:55.775Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1097 [2022-02-22T16:03:55.775Z] + START_PACKAGES=/tmp/packages_start.txt [2022-02-22T16:03:55.775Z] + END_PACKAGES=/tmp/packages_end.txt [2022-02-22T16:03:55.775Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-02-22T16:03:55.775Z] + PACKAGES=/tmp/packages_start.txt [2022-02-22T16:03:55.775Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1097 ']' [2022-02-22T16:03:55.775Z] + PACKAGES=/tmp/packages_end.txt [2022-02-22T16:03:55.775Z] + case "${OS_FAMILY}" in [2022-02-22T16:03:55.775Z] + rpm -qa [2022-02-22T16:03:55.775Z] + sort [2022-02-22T16:03:56.348Z] + '[' -f /tmp/packages_start.txt ']' [2022-02-22T16:03:56.348Z] + '[' -f /tmp/packages_end.txt ']' [2022-02-22T16:03:56.348Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-02-22T16:03:56.348Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1097 ']' [2022-02-22T16:03:56.348Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1097/archives/ [2022-02-22T16:03:56.348Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1097/archives/ [Pipeline] echo [2022-02-22T16:03:56.361Z] 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-1097/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-02-22T16:03:56.643Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-02-22T16:03:57.205Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-22T16:03:57.205Z] . [Pipeline] withDockerContainer [2022-02-22T16:03:57.270Z] prd-centos7-docker-4c-2g-5843 does not seem to be running inside a container [2022-02-22T16:03:57.308Z] $ 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-1097/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-1097 -v /w/workspace/gexfoundry_device-sdk-go_PR-1097:/w/workspace/gexfoundry_device-sdk-go_PR-1097:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1097@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-02-22T16:03:57.582Z] $ docker top b890ef3db9ee039fd580e9517f2a935d009bc3d46c29bc7da5847d324ce5b6e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-22T16:03:57.934Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-02-22T16:03:58.226Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-02-22T16:03:58.515Z] + ls /var/log/sa-host [2022-02-22T16:03:58.515Z] + sadf -c /var/log/sa-host/sa17 [2022-02-22T16:03:58.515Z] file_magic: OK [2022-02-22T16:03:58.515Z] HZ: Using current value: 100 [2022-02-22T16:03:58.515Z] file_header: OK [2022-02-22T16:03:58.515Z] 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-02-22T16:03:58.515Z] Statistics: [2022-02-22T16:03:58.515Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-22T16:03:58.515Z] File successfully converted to sysstat format version 12.0.3 [2022-02-22T16:03:58.515Z] + sadf -c /var/log/sa-host/sa22 [2022-02-22T16:03:58.515Z] file_magic: OK [2022-02-22T16:03:58.515Z] HZ: Using current value: 100 [2022-02-22T16:03:58.515Z] file_header: OK [2022-02-22T16:03:58.515Z] 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-02-22T16:03:58.515Z] Statistics: [2022-02-22T16:03:58.515Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-22T16:03:58.515Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-22T16:03:58.617Z] provisioning config files... [2022-02-22T16:03:58.625Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp/config6469710383619342322tmp [Pipeline] { [Pipeline] echo [2022-02-22T16:03:58.638Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-22T16:03:58.944Z] ---> create-netrc.sh [Pipeline] } [2022-02-22T16:03:58.952Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-02-22T16:03:59.292Z] ---> python-tools-install.sh [Pipeline] echo [2022-02-22T16:03:59.300Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-22T16:03:59.592Z] ---> sudo-logs.sh [2022-02-22T16:03:59.592Z] Archiving 'sudo' log.. [2022-02-22T16:03:59.592Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-5843.novalocal: Name or service not known [2022-02-22T16:03:59.592Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-5843.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-02-22T16:03:59.628Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-22T16:03:59.924Z] ---> job-cost.sh [2022-02-22T16:03:59.924Z] lf-activate-venv: SKIPPING [2022-02-22T16:03:59.924Z] DEBUG: total: 0.05999999865889549 [2022-02-22T16:03:59.924Z] INFO: Retrieving Stack Cost... [2022-02-22T16:04:00.185Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-22T16:04:00.446Z] INFO: Archiving Costs [Pipeline] echo [2022-02-22T16:04:00.458Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-22T16:04:00.744Z] ---> logs-deploy.sh [2022-02-22T16:04:00.744Z] lf-activate-venv: SKIPPING [2022-02-22T16:04:00.744Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1097/8 [2022-02-22T16:04:00.744Z] INFO: archiving workspace using pattern(s): [2022-02-22T16:04:01.318Z] Archives upload complete. [2022-02-22T16:04:01.591Z] INFO: archiving logs to Nexus