Pull request #1033 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 bb1d3b63eee75a9dd4c9da7a4e2acdb0313c65b1+5ed4cacd84df9b58bf582e255ca77028d77e465f (4361004fa4360957434495486bb2f3f0f8a805b1) Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh8299178337290172284.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh4703433826535938910.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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-1033/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-1033/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6903650277371801920.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > 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-ssh3530226935903438431.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-1033/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-1033/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3727944403389361294.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1329 in /w/workspace/gexfoundry_device-sdk-go_PR-1033 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-1033 # 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-1033@tmp/jenkins-gitclient-ssh1078965698337152801.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1033@tmp/jenkins-gitclient-ssh6552041433372671994.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1033/head:refs/remotes/origin/PR-1033 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5ed4cacd84df9b58bf582e255ca77028d77e465f into PR head commit bb1d3b63eee75a9dd4c9da7a4e2acdb0313c65b1 Merge succeeded, producing bb1d3b63eee75a9dd4c9da7a4e2acdb0313c65b1 Checking out Revision bb1d3b63eee75a9dd4c9da7a4e2acdb0313c65b1 (PR-1033) > git config core.sparsecheckout # timeout=10 > git checkout -f bb1d3b63eee75a9dd4c9da7a4e2acdb0313c65b1 # 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-1033@tmp/jenkins-gitclient-ssh5819532930358511381.key > git merge 5ed4cacd84df9b58bf582e255ca77028d77e465f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bb1d3b63eee75a9dd4c9da7a4e2acdb0313c65b1 # timeout=10 Commit message: "feat: add NewCommandValueWithOrigin function" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-14T05:25:05.165Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-14T05:25:05.214Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-14T05:25:05.231Z] ========================================================= [2021-10-14T05:25:05.231Z] EdgeX Global Pipelines Version Info [2021-10-14T05:25:05.231Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk c0795a2bb427cce6c8a2d3b94371ac1b88440880 # timeout=10 [2021-10-14T05:25:06.386Z] ------------------- [2021-10-14T05:25:06.387Z] stable info: [2021-10-14T05:25:06.387Z] ------------------- [2021-10-14T05:25:06.387Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-14T05:25:06.387Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-14T05:25:06.387Z] Message: update stable to v1.0.210 [2021-10-14T05:25:06.959Z] ------------------- [2021-10-14T05:25:06.959Z] experimental info: [2021-10-14T05:25:06.959Z] ------------------- [2021-10-14T05:25:06.959Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-14T05:25:06.959Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-14T05:25:06.959Z] Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-14T05:25:07.038Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-10-14T05:25:07.053Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-10-14T05:25:07.064Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-14T05:25:07.076Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-14T05:25:07.087Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-14T05:25:07.096Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-14T05:25:07.106Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-14T05:25:07.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-10-14T05:25:07.126Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-14T05:25:07.138Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-14T05:25:07.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-14T05:25:07.164Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-10-14T05:25:07.175Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-14T05:25:07.185Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-14T05:25:07.198Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-14T05:25:07.234Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-14T05:25:07.246Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-14T05:25:07.256Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-14T05:25:07.265Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-14T05:25:07.275Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-14T05:25:07.284Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-14T05:25:07.295Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-14T05:25:07.306Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-14T05:25:07.317Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-14T05:25:07.327Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-14T05:25:07.338Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-14T05:25:07.353Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1033 [Pipeline] echo [2021-10-14T05:25:07.361Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1033 [Pipeline] echo [2021-10-14T05:25:07.369Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1033 [Pipeline] echo [2021-10-14T05:25:07.379Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bb1d3b63eee75a9dd4c9da7a4e2acdb0313c65b1 [Pipeline] echo [2021-10-14T05:25:07.392Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bb1d3b6 [Pipeline] echo [2021-10-14T05:25:07.401Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T05:25:07.444Z] provisioning config files... [2021-10-14T05:25:07.459Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1033@tmp/config1641197122935504228tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T05:25:07.773Z] ---> docker-login.sh [2021-10-14T05:25:07.773Z] nexus3.edgexfoundry.org:10001 [2021-10-14T05:25:07.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T05:25:08.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T05:25:08.037Z] Configure a credential helper to remove this warning. See [2021-10-14T05:25:08.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T05:25:08.037Z] [2021-10-14T05:25:08.037Z] Login Succeeded [2021-10-14T05:25:08.037Z] nexus3.edgexfoundry.org:10002 [2021-10-14T05:25:08.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T05:25:08.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T05:25:08.037Z] Configure a credential helper to remove this warning. See [2021-10-14T05:25:08.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T05:25:08.037Z] [2021-10-14T05:25:08.037Z] Login Succeeded [2021-10-14T05:25:08.037Z] nexus3.edgexfoundry.org:10003 [2021-10-14T05:25:08.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T05:25:08.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T05:25:08.314Z] Configure a credential helper to remove this warning. See [2021-10-14T05:25:08.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T05:25:08.314Z] [2021-10-14T05:25:08.314Z] Login Succeeded [2021-10-14T05:25:08.314Z] nexus3.edgexfoundry.org:10004 [2021-10-14T05:25:08.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T05:25:08.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T05:25:08.314Z] Configure a credential helper to remove this warning. See [2021-10-14T05:25:08.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T05:25:08.314Z] [2021-10-14T05:25:08.314Z] Login Succeeded [2021-10-14T05:25:08.314Z] docker.io [2021-10-14T05:25:08.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T05:25:08.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T05:25:08.843Z] Configure a credential helper to remove this warning. See [2021-10-14T05:25:08.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T05:25:08.843Z] [2021-10-14T05:25:08.843Z] Login Succeeded [2021-10-14T05:25:08.843Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T05:25:08.852Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-14T05:25:09.264Z] + git log --format=format:%s -1 bb1d3b63eee75a9dd4c9da7a4e2acdb0313c65b1 [Pipeline] echo [2021-10-14T05:25:09.305Z] GIT_COMMIT: bb1d3b63eee75a9dd4c9da7a4e2acdb0313c65b1, Commit Message: feat: add NewCommandValueWithOrigin function [Pipeline] echo [2021-10-14T05:25:09.314Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-14T05:25:09.980Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T05:25:09.980Z] [2021-10-14T05:25:09.980Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T05:25:10.297Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T05:25:10.297Z] latest: Pulling from edgex-devops/git-semver [2021-10-14T05:25:10.297Z] a0d0a0d46f8b: Pulling fs layer [2021-10-14T05:25:10.297Z] 3e5f54012d9b: Pulling fs layer [2021-10-14T05:25:10.297Z] 4c7163046ea9: Pulling fs layer [2021-10-14T05:25:10.297Z] 0c2d73faf560: Pulling fs layer [2021-10-14T05:25:10.297Z] 0c2d73faf560: Waiting [2021-10-14T05:25:10.297Z] 3e5f54012d9b: Verifying Checksum [2021-10-14T05:25:10.297Z] 3e5f54012d9b: Download complete [2021-10-14T05:25:10.297Z] a0d0a0d46f8b: Verifying Checksum [2021-10-14T05:25:10.297Z] a0d0a0d46f8b: Download complete [2021-10-14T05:25:10.297Z] 0c2d73faf560: Verifying Checksum [2021-10-14T05:25:10.297Z] 0c2d73faf560: Download complete [2021-10-14T05:25:10.297Z] 4c7163046ea9: Verifying Checksum [2021-10-14T05:25:10.297Z] 4c7163046ea9: Download complete [2021-10-14T05:25:10.561Z] a0d0a0d46f8b: Pull complete [2021-10-14T05:25:10.561Z] 3e5f54012d9b: Pull complete [2021-10-14T05:25:10.824Z] 4c7163046ea9: Pull complete [2021-10-14T05:25:11.089Z] 0c2d73faf560: Pull complete [2021-10-14T05:25:11.089Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-14T05:25:11.089Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T05:25:11.089Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-14T05:25:11.169Z] prd-centos7-docker-4c-2g-1329 does not seem to be running inside a container [2021-10-14T05:25:11.210Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1033 -v /w/workspace/gexfoundry_device-sdk-go_PR-1033:/w/workspace/gexfoundry_device-sdk-go_PR-1033:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1033@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1033@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 [2021-10-14T05:25:11.770Z] $ docker top 849a3b232901f104f00fb766ff30ff6373ef03017ad796dd09c54cb98940ead3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-14T05:25:11.870Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T05:25:11.870Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T05:25:11.983Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T05:25:11.987Z] $ docker exec 849a3b232901f104f00fb766ff30ff6373ef03017ad796dd09c54cb98940ead3 ssh-agent [2021-10-14T05:25:12.095Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmedlLd/agent.16 [2021-10-14T05:25:12.095Z] SSH_AGENT_PID=22 [2021-10-14T05:25:12.103Z] Running ssh-add (command line suppressed) [2021-10-14T05:25:12.195Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1033@tmp/private_key_6411096568653006099.key (/w/workspace/gexfoundry_device-sdk-go_PR-1033@tmp/private_key_6411096568653006099.key) [2021-10-14T05:25:12.207Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T05:25:12.504Z] + git tag --points-at HEAD [Pipeline] } [2021-10-14T05:25:12.520Z] $ docker exec --env ******** --env ******** 849a3b232901f104f00fb766ff30ff6373ef03017ad796dd09c54cb98940ead3 ssh-agent -k [2021-10-14T05:25:12.618Z] unset SSH_AUTH_SOCK; [2021-10-14T05:25:12.619Z] unset SSH_AGENT_PID; [2021-10-14T05:25:12.619Z] echo Agent pid 22 killed; [2021-10-14T05:25:12.631Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-14T05:25:12.657Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T05:25:12.657Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T05:25:12.758Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T05:25:12.762Z] $ docker exec 849a3b232901f104f00fb766ff30ff6373ef03017ad796dd09c54cb98940ead3 ssh-agent [2021-10-14T05:25:12.865Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlJFmpj/agent.55 [2021-10-14T05:25:12.865Z] SSH_AGENT_PID=62 [2021-10-14T05:25:12.871Z] Running ssh-add (command line suppressed) [2021-10-14T05:25:12.964Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1033@tmp/private_key_5408255981113953742.key (/w/workspace/gexfoundry_device-sdk-go_PR-1033@tmp/private_key_5408255981113953742.key) [2021-10-14T05:25:12.974Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T05:25:13.264Z] + git semver init [2021-10-14T05:25:13.264Z] # -> Open(): unable to determine branch for HEAD [2021-10-14T05:25:13.264Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1033/.git [2021-10-14T05:25:13.264Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1033 [2021-10-14T05:25:13.264Z] # $SEMVER_REMOTE_NAME = origin [2021-10-14T05:25:13.264Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-14T05:25:13.264Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-14T05:25:13.264Z] # $SEMVER_BRANCH = PR-1033 [2021-10-14T05:25:13.264Z] # $SEMVER_TEMP = /tmp/semver-006217607 [2021-10-14T05:25:13.264Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-10-14T05:25:14.215Z] # '/tmp/semver-006217607' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1033/.semver' [2021-10-14T05:25:14.215Z] # -> Force: false [2021-10-14T05:25:14.215Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1033/.semver [Pipeline] } [2021-10-14T05:25:14.226Z] $ docker exec --env ******** --env ******** 849a3b232901f104f00fb766ff30ff6373ef03017ad796dd09c54cb98940ead3 ssh-agent -k [2021-10-14T05:25:14.323Z] unset SSH_AUTH_SOCK; [2021-10-14T05:25:14.323Z] unset SSH_AGENT_PID; [2021-10-14T05:25:14.323Z] echo Agent pid 62 killed; [2021-10-14T05:25:14.332Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-14T05:25:14.646Z] + git semver [Pipeline] } [2021-10-14T05:25:14.660Z] $ docker stop --time=1 849a3b232901f104f00fb766ff30ff6373ef03017ad796dd09c54cb98940ead3 [2021-10-14T05:25:15.866Z] $ docker rm -f 849a3b232901f104f00fb766ff30ff6373ef03017ad796dd09c54cb98940ead3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-14T05:25:16.207Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-14T05:25:16.445Z] Stashed 1 file(s) [Pipeline] echo [2021-10-14T05:25:16.448Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-10-14T05:25:31.634Z] Still waiting to schedule task [2021-10-14T05:25:31.634Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1329’ [2021-10-14T05:25:31.635Z] Still waiting to schedule task [2021-10-14T05:25:31.636Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-14T05:27:33.845Z] Running on prd-centos7-docker-4c-2g-1331 in /w/workspace/gexfoundry_device-sdk-go_PR-1033 [Pipeline] { [Pipeline] ws [2021-10-14T05:27:33.857Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-10-14T05:27:33.952Z] Selected Git installation does not exist. Using Default [2021-10-14T05:27:33.952Z] The recommended git tool is: NONE [2021-10-14T05:27:35.808Z] using credential edgex-jenkins-ssh [2021-10-14T05:27:35.821Z] Cloning the remote Git repository [2021-10-14T05:27:35.500Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T05:27:35.572Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-10-14T05:27:35.605Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T05:27:35.605Z] > git --version # timeout=10 [2021-10-14T05:27:35.616Z] > git --version # 'git version 2.24.4' [2021-10-14T05:27:35.616Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T05:27:35.644Z] [INFO] Currently running in a labeled security context [2021-10-14T05:27:35.644Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-14T05:27:35.644Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh8553203675938413439.key [2021-10-14T05:27:35.671Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T05:27:36.429Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-14T05:27:36.439Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T05:27:36.456Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-14T05:27:36.471Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T05:27:36.471Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T05:27:36.472Z] [INFO] Currently running in a labeled security context [2021-10-14T05:27:36.472Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-14T05:27:36.472Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh5386081440321011721.key [2021-10-14T05:27:36.479Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1033/head:refs/remotes/origin/PR-1033 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-14T05:27:37.415Z] Merging remotes/origin/main commit 5ed4cacd84df9b58bf582e255ca77028d77e465f into PR head commit bb1d3b63eee75a9dd4c9da7a4e2acdb0313c65b1 [2021-10-14T05:27:37.509Z] Merge succeeded, producing bb1d3b63eee75a9dd4c9da7a4e2acdb0313c65b1 [2021-10-14T05:27:37.510Z] Checking out Revision bb1d3b63eee75a9dd4c9da7a4e2acdb0313c65b1 (PR-1033) [2021-10-14T05:27:37.070Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T05:27:37.077Z] > git checkout -f bb1d3b63eee75a9dd4c9da7a4e2acdb0313c65b1 # timeout=10 [2021-10-14T05:27:37.114Z] > git remote # timeout=10 [2021-10-14T05:27:37.126Z] > git config --get remote.origin.url # timeout=10 [2021-10-14T05:27:37.134Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T05:27:37.134Z] [INFO] Currently running in a labeled security context [2021-10-14T05:27:37.134Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-14T05:27:37.134Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh190982539836160790.key [2021-10-14T05:27:37.141Z] > git merge 5ed4cacd84df9b58bf582e255ca77028d77e465f # timeout=10 [2021-10-14T05:27:37.148Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-14T05:27:37.160Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T05:27:37.170Z] > git checkout -f bb1d3b63eee75a9dd4c9da7a4e2acdb0313c65b1 # timeout=10 [2021-10-14T05:27:40.986Z] Commit message: "feat: add NewCommandValueWithOrigin function" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T05:27:41.508Z] provisioning config files... [2021-10-14T05:27:41.523Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config170186107982126185tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T05:27:41.918Z] ---> docker-login.sh [2021-10-14T05:27:41.918Z] nexus3.edgexfoundry.org:10001 [2021-10-14T05:27:41.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T05:27:41.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T05:27:41.918Z] Configure a credential helper to remove this warning. See [2021-10-14T05:27:41.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T05:27:41.918Z] [2021-10-14T05:27:41.918Z] Login Succeeded [2021-10-14T05:27:41.918Z] nexus3.edgexfoundry.org:10002 [2021-10-14T05:27:42.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T05:27:42.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T05:27:42.180Z] Configure a credential helper to remove this warning. See [2021-10-14T05:27:42.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T05:27:42.180Z] [2021-10-14T05:27:42.180Z] Login Succeeded [2021-10-14T05:27:42.180Z] nexus3.edgexfoundry.org:10003 [2021-10-14T05:27:42.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T05:27:42.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T05:27:42.180Z] Configure a credential helper to remove this warning. See [2021-10-14T05:27:42.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T05:27:42.180Z] [2021-10-14T05:27:42.180Z] Login Succeeded [2021-10-14T05:27:42.180Z] nexus3.edgexfoundry.org:10004 [2021-10-14T05:27:42.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T05:27:42.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T05:27:42.441Z] Configure a credential helper to remove this warning. See [2021-10-14T05:27:42.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T05:27:42.441Z] [2021-10-14T05:27:42.441Z] Login Succeeded [2021-10-14T05:27:42.441Z] docker.io [2021-10-14T05:27:42.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T05:27:42.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T05:27:42.704Z] Configure a credential helper to remove this warning. See [2021-10-14T05:27:42.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T05:27:42.704Z] [2021-10-14T05:27:42.704Z] Login Succeeded [2021-10-14T05:27:42.704Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T05:27:42.735Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-14T05:27:42.866Z] ========================================================= [2021-10-14T05:27:42.866Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-14T05:27:42.866Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-14T05:27:43.182Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-10-14T05:27:43.182Z] Sending build context to Docker daemon 2.692MB [2021-10-14T05:27:43.182Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T05:27:43.182Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-14T05:27:43.461Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-14T05:27:43.461Z] a0d0a0d46f8b: Pulling fs layer [2021-10-14T05:27:43.461Z] 31adcdaf11c8: Pulling fs layer [2021-10-14T05:27:43.461Z] b8b176561691: Pulling fs layer [2021-10-14T05:27:43.461Z] 4527c011a84f: Pulling fs layer [2021-10-14T05:27:43.461Z] 5d74067f8e1e: Pulling fs layer [2021-10-14T05:27:43.461Z] e0aca202a116: Pulling fs layer [2021-10-14T05:27:43.461Z] 3a43be97a3b4: Pulling fs layer [2021-10-14T05:27:43.461Z] 34cad66bf833: Pulling fs layer [2021-10-14T05:27:43.461Z] b4e3c513aaa6: Pulling fs layer [2021-10-14T05:27:43.461Z] 4527c011a84f: Waiting [2021-10-14T05:27:43.461Z] 5d74067f8e1e: Waiting [2021-10-14T05:27:43.461Z] e0aca202a116: Waiting [2021-10-14T05:27:43.461Z] 3a43be97a3b4: Waiting [2021-10-14T05:27:43.461Z] 34cad66bf833: Waiting [2021-10-14T05:27:43.461Z] b4e3c513aaa6: Waiting [2021-10-14T05:27:43.461Z] b8b176561691: Verifying Checksum [2021-10-14T05:27:43.461Z] b8b176561691: Download complete [2021-10-14T05:27:43.461Z] 31adcdaf11c8: Verifying Checksum [2021-10-14T05:27:43.461Z] 31adcdaf11c8: Download complete [2021-10-14T05:27:43.461Z] 5d74067f8e1e: Verifying Checksum [2021-10-14T05:27:43.461Z] 5d74067f8e1e: Download complete [2021-10-14T05:27:43.461Z] e0aca202a116: Verifying Checksum [2021-10-14T05:27:43.461Z] e0aca202a116: Download complete [2021-10-14T05:27:43.461Z] a0d0a0d46f8b: Verifying Checksum [2021-10-14T05:27:43.461Z] a0d0a0d46f8b: Download complete [2021-10-14T05:27:43.461Z] 3a43be97a3b4: Verifying Checksum [2021-10-14T05:27:43.461Z] 3a43be97a3b4: Download complete [2021-10-14T05:27:43.461Z] 34cad66bf833: Verifying Checksum [2021-10-14T05:27:43.461Z] 34cad66bf833: Download complete [2021-10-14T05:27:43.736Z] a0d0a0d46f8b: Pull complete [2021-10-14T05:27:44.008Z] 31adcdaf11c8: Pull complete [2021-10-14T05:27:44.008Z] 4527c011a84f: Verifying Checksum [2021-10-14T05:27:44.008Z] 4527c011a84f: Download complete [2021-10-14T05:27:44.008Z] b8b176561691: Pull complete [2021-10-14T05:27:44.270Z] b4e3c513aaa6: Verifying Checksum [2021-10-14T05:27:44.270Z] b4e3c513aaa6: Download complete [2021-10-14T05:27:47.615Z] 4527c011a84f: Pull complete [2021-10-14T05:27:47.615Z] 5d74067f8e1e: Pull complete [2021-10-14T05:27:47.879Z] e0aca202a116: Pull complete [2021-10-14T05:27:47.879Z] 3a43be97a3b4: Pull complete [2021-10-14T05:27:47.879Z] 34cad66bf833: Pull complete [2021-10-14T05:27:50.438Z] b4e3c513aaa6: Pull complete [2021-10-14T05:27:50.439Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-14T05:27:50.439Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-14T05:27:50.439Z] ---> 9f6097aaca64 [2021-10-14T05:27:50.439Z] Step 3/10 : ARG MAKE=make build [2021-10-14T05:27:53.004Z] ---> Running in c997daa57b43 [2021-10-14T05:27:53.004Z] Removing intermediate container c997daa57b43 [2021-10-14T05:27:53.004Z] ---> 55b93fff3be5 [2021-10-14T05:27:53.004Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-14T05:27:53.004Z] ---> Running in 9537535a090a [2021-10-14T05:27:53.004Z] Removing intermediate container 9537535a090a [2021-10-14T05:27:53.004Z] ---> 8cb53b89b5b9 [2021-10-14T05:27:53.004Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T05:27:53.004Z] ---> Running in ab1ac02e6917 [2021-10-14T05:27:53.267Z] Removing intermediate container ab1ac02e6917 [2021-10-14T05:27:53.267Z] ---> ce4b5db010f6 [2021-10-14T05:27:53.267Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T05:27:53.267Z] ---> Running in ec8874b4f35a [2021-10-14T05:27:53.839Z] Removing intermediate container ec8874b4f35a [2021-10-14T05:27:53.839Z] ---> 88f40a19061e [2021-10-14T05:27:53.839Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T05:27:53.839Z] ---> Running in 4969f6641eb1 [2021-10-14T05:27:53.839Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T05:27:54.780Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T05:27:55.356Z] OK: 220 MiB in 52 packages [2021-10-14T05:27:55.356Z] Removing intermediate container 4969f6641eb1 [2021-10-14T05:27:55.356Z] ---> e394968a7281 [2021-10-14T05:27:55.356Z] Step 8/10 : COPY . . [2021-10-14T05:27:56.302Z] ---> 51fd4055e25b [2021-10-14T05:27:56.302Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T05:27:56.302Z] ---> Running in 95c48b2eaef2 [2021-10-14T05:28:06.414Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1330 in /w/workspace/gexfoundry_device-sdk-go_PR-1033 [Pipeline] { [Pipeline] ws [2021-10-14T05:28:06.426Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-10-14T05:28:06.640Z] Selected Git installation does not exist. Using Default [2021-10-14T05:28:06.640Z] The recommended git tool is: NONE [2021-10-14T05:28:12.279Z] using credential edgex-jenkins-ssh [2021-10-14T05:28:12.301Z] Cloning the remote Git repository [2021-10-14T05:28:12.385Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T05:28:12.537Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-10-14T05:28:12.636Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T05:28:12.637Z] > git --version # timeout=10 [2021-10-14T05:28:12.661Z] > git --version # 'git version 2.17.1' [2021-10-14T05:28:12.664Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T05:28:12.798Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T05:28:15.072Z] Merging remotes/origin/main commit 5ed4cacd84df9b58bf582e255ca77028d77e465f into PR head commit bb1d3b63eee75a9dd4c9da7a4e2acdb0313c65b1 [2021-10-14T05:28:15.316Z] Merge succeeded, producing bb1d3b63eee75a9dd4c9da7a4e2acdb0313c65b1 [2021-10-14T05:28:15.316Z] Checking out Revision bb1d3b63eee75a9dd4c9da7a4e2acdb0313c65b1 (PR-1033) [2021-10-14T05:28:14.265Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-14T05:28:14.284Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T05:28:14.317Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-14T05:28:14.351Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T05:28:14.352Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T05:28:14.366Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1033/head:refs/remotes/origin/PR-1033 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-14T05:28:15.100Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T05:28:15.117Z] > git checkout -f bb1d3b63eee75a9dd4c9da7a4e2acdb0313c65b1 # timeout=10 [2021-10-14T05:28:15.228Z] > git remote # timeout=10 [2021-10-14T05:28:15.250Z] > git config --get remote.origin.url # timeout=10 [2021-10-14T05:28:15.267Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T05:28:15.279Z] > git merge 5ed4cacd84df9b58bf582e255ca77028d77e465f # timeout=10 [2021-10-14T05:28:15.303Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-14T05:28:15.332Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T05:28:15.344Z] > git checkout -f bb1d3b63eee75a9dd4c9da7a4e2acdb0313c65b1 # timeout=10 [2021-10-14T05:28:19.676Z] Commit message: "feat: add NewCommandValueWithOrigin function" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-14T05:28:20.500Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-14T05:28:20.500Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-14T05:28:20.500Z] Dload Upload Total Spent Left Speed [2021-10-14T05:28:20.500Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 90259 0 --:--:-- --:--:-- --:--:-- 90259 [Pipeline] sh [2021-10-14T05:28:20.952Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-14T05:28:21.314Z] + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-10-14T05:28:21.314Z] sudo tee /etc/docker/daemon.new [2021-10-14T05:28:21.314Z] { [2021-10-14T05:28:21.314Z] "registry-mirrors": [ [2021-10-14T05:28:21.314Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-14T05:28:21.314Z] ], [2021-10-14T05:28:21.314Z] "bip": "10.250.0.254/24", [2021-10-14T05:28:21.314Z] "hosts": [ [2021-10-14T05:28:21.314Z] "tcp://0.0.0.0:5555", [2021-10-14T05:28:21.314Z] "unix:///var/run/docker.sock" [2021-10-14T05:28:21.314Z] ], [2021-10-14T05:28:21.314Z] "mtu": 1458, [2021-10-14T05:28:21.314Z] "selinux-enabled": true, [2021-10-14T05:28:21.314Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-14T05:28:21.314Z] } [Pipeline] sh [2021-10-14T05:28:21.734Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-14T05:28:22.089Z] + sudo service docker restart [2021-10-14T05:28:28.477Z] Removing intermediate container 95c48b2eaef2 [2021-10-14T05:28:28.477Z] ---> 22bdcec3b577 [2021-10-14T05:28:28.477Z] Step 10/10 : RUN ${MAKE} [2021-10-14T05:28:28.477Z] ---> Running in 3f99196b3e4e [2021-10-14T05:28:28.477Z] noop [2021-10-14T05:28:28.737Z] Removing intermediate container 3f99196b3e4e [2021-10-14T05:28:28.737Z] ---> 02d6b8bfaaee [2021-10-14T05:28:28.738Z] Successfully built 02d6b8bfaaee [2021-10-14T05:28:28.738Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T05:28:29.035Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-14T05:28:29.035Z] . [Pipeline] withDockerContainer [2021-10-14T05:28:29.105Z] prd-centos7-docker-4c-2g-1331 does not seem to be running inside a container [2021-10-14T05:28:29.145Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-14T05:28:29.494Z] $ docker top bac9c8c3d22a42618d7edc748ffa88c1e170faa0c2e34ed78f9e6b3a147fb332 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T05:28:29.858Z] + go version [2021-10-14T05:28:29.859Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-14T05:28:29.871Z] $ docker stop --time=1 bac9c8c3d22a42618d7edc748ffa88c1e170faa0c2e34ed78f9e6b3a147fb332 [2021-10-14T05:28:31.060Z] $ docker rm -f bac9c8c3d22a42618d7edc748ffa88c1e170faa0c2e34ed78f9e6b3a147fb332 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T05:28:31.511Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-14T05:28:31.511Z] . [Pipeline] withDockerContainer [2021-10-14T05:28:31.579Z] prd-centos7-docker-4c-2g-1331 does not seem to be running inside a container [2021-10-14T05:28:31.614Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-14T05:28:31.978Z] $ docker top b8786d28c9707dab9474c61e3492611c0435767248a77d0be0d5521f146588d6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-14T05:28:32.363Z] + make test [2021-10-14T05:28:32.363Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-14T05:28:37.718Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T05:28:40.499Z] provisioning config files... [2021-10-14T05:28:40.528Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config3699628361341676974tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T05:28:40.901Z] ---> docker-login.sh [2021-10-14T05:28:40.901Z] nexus3.edgexfoundry.org:10001 [2021-10-14T05:28:42.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T05:28:42.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T05:28:42.637Z] Configure a credential helper to remove this warning. See [2021-10-14T05:28:42.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T05:28:42.637Z] [2021-10-14T05:28:42.637Z] Login Succeeded [2021-10-14T05:28:42.637Z] nexus3.edgexfoundry.org:10002 [2021-10-14T05:28:42.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T05:28:43.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T05:28:43.200Z] Configure a credential helper to remove this warning. See [2021-10-14T05:28:43.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T05:28:43.200Z] [2021-10-14T05:28:43.200Z] Login Succeeded [2021-10-14T05:28:43.200Z] nexus3.edgexfoundry.org:10003 [2021-10-14T05:28:43.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T05:28:43.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T05:28:43.755Z] Configure a credential helper to remove this warning. See [2021-10-14T05:28:43.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T05:28:43.755Z] [2021-10-14T05:28:43.755Z] Login Succeeded [2021-10-14T05:28:43.755Z] nexus3.edgexfoundry.org:10004 [2021-10-14T05:28:44.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T05:28:44.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T05:28:44.310Z] Configure a credential helper to remove this warning. See [2021-10-14T05:28:44.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T05:28:44.310Z] [2021-10-14T05:28:44.310Z] Login Succeeded [2021-10-14T05:28:44.310Z] docker.io [2021-10-14T05:28:44.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T05:28:45.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T05:28:45.198Z] Configure a credential helper to remove this warning. See [2021-10-14T05:28:45.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T05:28:45.198Z] [2021-10-14T05:28:45.198Z] Login Succeeded [2021-10-14T05:28:45.198Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T05:28:45.220Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-14T05:28:45.707Z] ========================================================= [2021-10-14T05:28:45.707Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-14T05:28:45.707Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-14T05:28:46.119Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-10-14T05:28:46.775Z] Sending build context to Docker daemon 2.691MB [2021-10-14T05:28:46.775Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T05:28:46.775Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-14T05:28:46.775Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-14T05:28:46.775Z] 552d1f2373af: Pulling fs layer [2021-10-14T05:28:46.775Z] ea3f2d53f512: Pulling fs layer [2021-10-14T05:28:46.775Z] 9e70ebbbe112: Pulling fs layer [2021-10-14T05:28:46.775Z] 7a9cfe048b4a: Pulling fs layer [2021-10-14T05:28:46.775Z] 72dc09318566: Pulling fs layer [2021-10-14T05:28:46.775Z] f4f7b4309257: Pulling fs layer [2021-10-14T05:28:46.775Z] 0ac9a79272e3: Pulling fs layer [2021-10-14T05:28:46.775Z] b78e95d17946: Pulling fs layer [2021-10-14T05:28:46.775Z] 7a9cfe048b4a: Waiting [2021-10-14T05:28:46.775Z] 72dc09318566: Waiting [2021-10-14T05:28:46.775Z] f4f7b4309257: Waiting [2021-10-14T05:28:46.775Z] 0ac9a79272e3: Waiting [2021-10-14T05:28:46.776Z] b78e95d17946: Waiting [2021-10-14T05:28:46.776Z] 9e70ebbbe112: Verifying Checksum [2021-10-14T05:28:46.776Z] 9e70ebbbe112: Download complete [2021-10-14T05:28:47.056Z] ea3f2d53f512: Verifying Checksum [2021-10-14T05:28:47.056Z] ea3f2d53f512: Download complete [2021-10-14T05:28:47.056Z] 72dc09318566: Verifying Checksum [2021-10-14T05:28:47.056Z] 72dc09318566: Download complete [2021-10-14T05:28:47.056Z] f4f7b4309257: Verifying Checksum [2021-10-14T05:28:47.056Z] f4f7b4309257: Download complete [2021-10-14T05:28:47.056Z] 552d1f2373af: Verifying Checksum [2021-10-14T05:28:47.056Z] 0ac9a79272e3: Verifying Checksum [2021-10-14T05:28:47.056Z] 0ac9a79272e3: Download complete [2021-10-14T05:28:47.688Z] 552d1f2373af: Pull complete [2021-10-14T05:28:48.699Z] ea3f2d53f512: Pull complete [2021-10-14T05:28:48.979Z] 9e70ebbbe112: Pull complete [2021-10-14T05:28:48.979Z] b78e95d17946: Verifying Checksum [2021-10-14T05:28:48.979Z] b78e95d17946: Download complete [2021-10-14T05:28:49.588Z] 7a9cfe048b4a: Verifying Checksum [2021-10-14T05:28:49.588Z] 7a9cfe048b4a: Download complete [2021-10-14T05:28:59.814Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-14T05:28:59.814Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-14T05:28:59.814Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-14T05:28:59.827Z] 7a9cfe048b4a: Pull complete [2021-10-14T05:29:00.104Z] 72dc09318566: Pull complete [2021-10-14T05:29:00.385Z] f4f7b4309257: Pull complete [2021-10-14T05:29:00.664Z] 0ac9a79272e3: Pull complete [2021-10-14T05:29:01.742Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.057s coverage: 23.5% of statements [2021-10-14T05:29:01.742Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-14T05:29:01.742Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 28.1% of statements [2021-10-14T05:29:02.328Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.062s coverage: 78.9% of statements [2021-10-14T05:29:02.587Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.045s coverage: 9.0% of statements [2021-10-14T05:29:02.587Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-14T05:29:02.587Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-14T05:29:02.587Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-14T05:29:03.166Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.073s coverage: 28.7% of statements [2021-10-14T05:29:03.166Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-14T05:29:04.569Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.055s coverage: 83.3% of statements [2021-10-14T05:29:04.569Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-14T05:29:04.569Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-14T05:29:04.569Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.075s coverage: 57.8% of statements [2021-10-14T05:29:05.573Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.819s coverage: 88.8% of statements [2021-10-14T05:29:05.573Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-14T05:29:05.573Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.048s coverage: 4.9% of statements [2021-10-14T05:29:05.573Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-14T05:29:05.573Z] GO111MODULE=on go vet ./... [2021-10-14T05:29:07.420Z] b78e95d17946: Pull complete [2021-10-14T05:29:07.420Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-14T05:29:07.420Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-14T05:29:07.420Z] ---> 8b459fc5aaf0 [2021-10-14T05:29:07.420Z] Step 3/10 : ARG MAKE=make build [2021-10-14T05:29:10.842Z] ---> Running in e233d7f69c56 [2021-10-14T05:29:11.117Z] Removing intermediate container e233d7f69c56 [2021-10-14T05:29:11.118Z] ---> aad8fa849dac [2021-10-14T05:29:11.118Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-14T05:29:11.396Z] ---> Running in d35b7b0e8be2 [2021-10-14T05:29:11.674Z] Removing intermediate container d35b7b0e8be2 [2021-10-14T05:29:11.674Z] ---> 901f9376fdec [2021-10-14T05:29:11.674Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T05:29:11.957Z] ---> Running in 4e49e4f171c1 [2021-10-14T05:29:12.568Z] Removing intermediate container 4e49e4f171c1 [2021-10-14T05:29:12.568Z] ---> dba61e95bff3 [2021-10-14T05:29:12.568Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T05:29:12.568Z] ---> Running in 83a69b5a4d32 [2021-10-14T05:29:15.217Z] Removing intermediate container 83a69b5a4d32 [2021-10-14T05:29:15.217Z] ---> e50f447cc4ff [2021-10-14T05:29:15.217Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T05:29:15.217Z] ---> Running in 6acb9d474203 [2021-10-14T05:29:16.206Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T05:29:17.190Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T05:29:18.182Z] OK: 219 MiB in 52 packages [2021-10-14T05:29:19.172Z] Removing intermediate container 6acb9d474203 [2021-10-14T05:29:19.172Z] ---> f77691a954e1 [2021-10-14T05:29:19.172Z] Step 8/10 : COPY . . [2021-10-14T05:29:20.171Z] ---> f28ced26ea90 [2021-10-14T05:29:20.171Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T05:29:20.451Z] ---> Running in dba44cbd46d1 [2021-10-14T05:29:23.869Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-14T05:29:23.869Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-14T05:29:23.869Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-14T05:29:23.881Z] $ docker stop --time=1 b8786d28c9707dab9474c61e3492611c0435767248a77d0be0d5521f146588d6 [2021-10-14T05:29:25.487Z] $ docker rm -f b8786d28c9707dab9474c61e3492611c0435767248a77d0be0d5521f146588d6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-14T05:29:25.943Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-14T05:29:26.151Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-14T05:29:27.422Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-14T05:29:27.714Z] + ls -al . [2021-10-14T05:29:27.715Z] total 264 [2021-10-14T05:29:27.715Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 14 05:29 . [2021-10-14T05:29:27.715Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 14 05:27 .. [2021-10-14T05:29:27.715Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 14 05:27 bin [2021-10-14T05:29:27.715Z] -rw-rw-r--. 1 jenkins jenkins 24816 Oct 14 05:27 CHANGELOG.md [2021-10-14T05:29:27.715Z] -rw-r--r--. 1 jenkins jenkins 126693 Oct 14 05:29 coverage.out [2021-10-14T05:29:27.715Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 14 05:27 .dockerignore [2021-10-14T05:29:27.715Z] drwxrwxr-x. 5 jenkins jenkins 62 Oct 14 05:27 example [2021-10-14T05:29:27.715Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 14 05:27 .git [2021-10-14T05:29:27.715Z] drwxrwxr-x. 3 jenkins jenkins 125 Oct 14 05:27 .github [2021-10-14T05:29:27.715Z] -rw-rw-r--. 1 jenkins jenkins 131 Oct 14 05:27 .gitignore [2021-10-14T05:29:27.715Z] -rw-rw-r--. 1 jenkins jenkins 583 Oct 14 05:27 go.mod [2021-10-14T05:29:27.715Z] -rw-rw-r--. 1 jenkins jenkins 49618 Oct 14 05:27 go.sum [2021-10-14T05:29:27.715Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 14 05:27 GOVERNANCE.md [2021-10-14T05:29:27.715Z] drwxrwxr-x. 15 jenkins jenkins 224 Oct 14 05:27 internal [2021-10-14T05:29:27.715Z] -rw-rw-r--. 1 jenkins jenkins 880 Oct 14 05:27 Jenkinsfile [2021-10-14T05:29:27.715Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 14 05:27 LICENSE [2021-10-14T05:29:27.715Z] -rw-rw-r--. 1 jenkins jenkins 1120 Oct 14 05:27 Makefile [2021-10-14T05:29:27.715Z] drwxrwxr-x. 3 jenkins jenkins 16 Oct 14 05:27 openapi [2021-10-14T05:29:27.715Z] -rw-rw-r--. 1 jenkins jenkins 619 Oct 14 05:27 OWNERS.md [2021-10-14T05:29:27.715Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 14 05:27 pkg [2021-10-14T05:29:27.715Z] -rw-rw-r--. 1 jenkins jenkins 4877 Oct 14 05:27 README.md [2021-10-14T05:29:27.715Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 14 05:27 snap [2021-10-14T05:29:27.715Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 14 05:25 VERSION [2021-10-14T05:29:27.715Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 14 05:27 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-14T05:29:28.015Z] + 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=bb1d3b63eee75a9dd4c9da7a4e2acdb0313c65b1 --label arch=amd64 --label version=0.0.0 . [2021-10-14T05:29:28.015Z] Sending build context to Docker daemon 2.819MB [2021-10-14T05:29:28.015Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T05:29:28.015Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-14T05:29:28.015Z] ---> 02d6b8bfaaee [2021-10-14T05:29:28.015Z] Step 3/24 : ARG MAKE=make build [2021-10-14T05:29:28.015Z] ---> Running in 6cef8bbd83f5 [2021-10-14T05:29:28.277Z] Removing intermediate container 6cef8bbd83f5 [2021-10-14T05:29:28.277Z] ---> 6af6eefcd426 [2021-10-14T05:29:28.277Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-14T05:29:28.277Z] ---> Running in 855cd89c9955 [2021-10-14T05:29:28.277Z] Removing intermediate container 855cd89c9955 [2021-10-14T05:29:28.277Z] ---> 379aed83372b [2021-10-14T05:29:28.277Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T05:29:28.277Z] ---> Running in b583c2a4e907 [2021-10-14T05:29:28.277Z] Removing intermediate container b583c2a4e907 [2021-10-14T05:29:28.277Z] ---> d0b429476cd5 [2021-10-14T05:29:28.277Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T05:29:28.277Z] ---> Running in e580de703b8a [2021-10-14T05:29:28.873Z] Removing intermediate container e580de703b8a [2021-10-14T05:29:28.873Z] ---> c1235bc03f78 [2021-10-14T05:29:28.873Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T05:29:28.873Z] ---> Running in 02e61aaf4730 [2021-10-14T05:29:29.133Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T05:29:30.074Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T05:29:30.333Z] OK: 220 MiB in 52 packages [2021-10-14T05:29:30.595Z] Removing intermediate container 02e61aaf4730 [2021-10-14T05:29:30.595Z] ---> 9ce2119d8458 [2021-10-14T05:29:30.595Z] Step 8/24 : COPY . . [2021-10-14T05:29:30.856Z] ---> 5a4c6e3bbf1d [2021-10-14T05:29:30.856Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T05:29:31.117Z] ---> Running in 8530017f4f87 [2021-10-14T05:29:31.697Z] Removing intermediate container 8530017f4f87 [2021-10-14T05:29:31.697Z] ---> 4b2119bb0164 [2021-10-14T05:29:31.697Z] Step 10/24 : RUN ${MAKE} [2021-10-14T05:29:31.697Z] ---> Running in 2101cd5e5f78 [2021-10-14T05:29:31.697Z] 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 [2021-10-14T05:29:44.111Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-14T05:29:44.111Z] Removing intermediate container 2101cd5e5f78 [2021-10-14T05:29:44.111Z] ---> 53fa6c289189 [2021-10-14T05:29:44.111Z] Step 11/24 : FROM alpine:3.14 [2021-10-14T05:29:44.372Z] 3.14: Pulling from library/alpine [2021-10-14T05:29:44.372Z] a0d0a0d46f8b: Already exists [2021-10-14T05:29:44.634Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-14T05:29:44.634Z] Status: Downloaded newer image for alpine:3.14 [2021-10-14T05:29:44.634Z] ---> 14119a10abf4 [2021-10-14T05:29:44.634Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T05:29:44.634Z] ---> Running in 03bfc8370ff1 [2021-10-14T05:29:44.634Z] Removing intermediate container 03bfc8370ff1 [2021-10-14T05:29:44.634Z] ---> cff230313188 [2021-10-14T05:29:44.634Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T05:29:44.634Z] ---> Running in 46fb37ace50d [2021-10-14T05:29:45.211Z] Removing intermediate container 46fb37ace50d [2021-10-14T05:29:45.211Z] ---> ad373c849873 [2021-10-14T05:29:45.211Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-14T05:29:45.211Z] ---> Running in a3b1365797ed [2021-10-14T05:29:45.472Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T05:29:46.420Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T05:29:46.682Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-14T05:29:46.682Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-14T05:29:46.943Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-14T05:29:46.943Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-14T05:29:46.943Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-14T05:29:47.206Z] Executing busybox-1.33.1-r3.trigger [2021-10-14T05:29:47.206Z] OK: 8 MiB in 19 packages [2021-10-14T05:29:47.467Z] Removing intermediate container a3b1365797ed [2021-10-14T05:29:47.467Z] ---> 45b224216696 [2021-10-14T05:29:47.467Z] Step 15/24 : WORKDIR / [2021-10-14T05:29:47.467Z] ---> Running in 891a96fdedfc [2021-10-14T05:29:47.467Z] Removing intermediate container 891a96fdedfc [2021-10-14T05:29:47.467Z] ---> c5ff7f67c78b [2021-10-14T05:29:47.467Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-14T05:29:47.731Z] ---> 54a95c5d9d32 [2021-10-14T05:29:47.732Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-14T05:29:48.007Z] ---> e82b7f1a027f [2021-10-14T05:29:48.007Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-14T05:29:48.267Z] ---> 91475cb751c9 [2021-10-14T05:29:48.267Z] Step 19/24 : EXPOSE 59999 [2021-10-14T05:29:48.267Z] ---> Running in 331d319f5d5b [2021-10-14T05:29:48.267Z] Removing intermediate container 331d319f5d5b [2021-10-14T05:29:48.267Z] ---> 2096c248a983 [2021-10-14T05:29:48.267Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-14T05:29:48.267Z] ---> Running in 28d178c60e68 [2021-10-14T05:29:48.267Z] Removing intermediate container 28d178c60e68 [2021-10-14T05:29:48.267Z] ---> 861dee4e520e [2021-10-14T05:29:48.267Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-14T05:29:48.531Z] ---> Running in 63af87cdb192 [2021-10-14T05:29:48.531Z] Removing intermediate container 63af87cdb192 [2021-10-14T05:29:48.531Z] ---> 37742cd6d303 [2021-10-14T05:29:48.531Z] Step 22/24 : LABEL arch=amd64 [2021-10-14T05:29:48.531Z] ---> Running in 496332bd5d27 [2021-10-14T05:29:48.531Z] Removing intermediate container 496332bd5d27 [2021-10-14T05:29:48.531Z] ---> 92a105c794fa [2021-10-14T05:29:48.531Z] Step 23/24 : LABEL git_sha=bb1d3b63eee75a9dd4c9da7a4e2acdb0313c65b1 [2021-10-14T05:29:48.531Z] ---> Running in 3e22897c46cd [2021-10-14T05:29:48.791Z] Removing intermediate container 3e22897c46cd [2021-10-14T05:29:48.791Z] ---> 37ba1219c30e [2021-10-14T05:29:48.791Z] Step 24/24 : LABEL version=0.0.0 [2021-10-14T05:29:48.791Z] ---> Running in ece9becde7ac [2021-10-14T05:29:48.791Z] Removing intermediate container ece9becde7ac [2021-10-14T05:29:48.791Z] ---> 8b764d721a80 [2021-10-14T05:29:48.791Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-14T05:29:48.791Z] Successfully built 8b764d721a80 [2021-10-14T05:29:48.791Z] 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 [2021-10-14T05:29:49.401Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T05:29:49.401Z] [2021-10-14T05:29:49.401Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T05:29:49.701Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T05:29:49.702Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-14T05:29:49.702Z] b4d181a07f80: Pulling fs layer [2021-10-14T05:29:49.702Z] a1111a8f2ec3: Pulling fs layer [2021-10-14T05:29:49.702Z] ed53099fbce6: Pulling fs layer [2021-10-14T05:29:49.702Z] dc539afda2c1: Pulling fs layer [2021-10-14T05:29:49.702Z] 77bc0d833cb6: Pulling fs layer [2021-10-14T05:29:49.702Z] 9065ff56babe: Pulling fs layer [2021-10-14T05:29:49.702Z] d287ab97295c: Pulling fs layer [2021-10-14T05:29:49.702Z] dc539afda2c1: Waiting [2021-10-14T05:29:49.702Z] 77bc0d833cb6: Waiting [2021-10-14T05:29:49.702Z] 9065ff56babe: Waiting [2021-10-14T05:29:49.702Z] a1111a8f2ec3: Verifying Checksum [2021-10-14T05:29:49.702Z] a1111a8f2ec3: Download complete [2021-10-14T05:29:49.702Z] dc539afda2c1: Verifying Checksum [2021-10-14T05:29:49.702Z] dc539afda2c1: Download complete [2021-10-14T05:29:49.702Z] ed53099fbce6: Verifying Checksum [2021-10-14T05:29:49.702Z] ed53099fbce6: Download complete [2021-10-14T05:29:49.964Z] 9065ff56babe: Verifying Checksum [2021-10-14T05:29:49.964Z] 9065ff56babe: Download complete [2021-10-14T05:29:49.964Z] 77bc0d833cb6: Verifying Checksum [2021-10-14T05:29:49.964Z] 77bc0d833cb6: Download complete [2021-10-14T05:29:49.964Z] b4d181a07f80: Verifying Checksum [2021-10-14T05:29:49.964Z] b4d181a07f80: Download complete [2021-10-14T05:29:50.551Z] d287ab97295c: Verifying Checksum [2021-10-14T05:29:50.551Z] d287ab97295c: Download complete [2021-10-14T05:29:51.510Z] b4d181a07f80: Pull complete [2021-10-14T05:29:51.510Z] a1111a8f2ec3: Pull complete [2021-10-14T05:29:52.084Z] ed53099fbce6: Pull complete [2021-10-14T05:29:52.342Z] dc539afda2c1: Pull complete [2021-10-14T05:29:52.605Z] 77bc0d833cb6: Pull complete [2021-10-14T05:29:52.605Z] 9065ff56babe: Pull complete [2021-10-14T05:29:57.947Z] d287ab97295c: Pull complete [2021-10-14T05:29:57.947Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-14T05:29:57.947Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T05:29:57.947Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-14T05:29:58.014Z] prd-centos7-docker-4c-2g-1331 does not seem to be running inside a container [2021-10-14T05:29:58.053Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-14T05:30:00.453Z] $ docker top 464751a4dc1fbe5800782d76885bedbbb72754acb69f849891e9dcdf0b90e0f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T05:30:00.915Z] ---> job-cost.sh [2021-10-14T05:30:00.915Z] lf-activate-venv: SKIPPING [2021-10-14T05:30:00.915Z] INFO: No Stack... [2021-10-14T05:30:01.858Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-14T05:30:02.118Z] INFO: Archiving Costs [Pipeline] sh [2021-10-14T05:30:02.414Z] + cut -d, -f6 [2021-10-14T05:30:02.414Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock [2021-10-14T05:30:02.443Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1033-2-stack-cost] [2021-10-14T05:30:02.448Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1033-2-stack-cost] did not exist. Created. [2021-10-14T05:30:02.448Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1033-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-14T05:30:02.752Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-14T05:30:02.790Z] Stashed 1 file(s) [Pipeline] } [2021-10-14T05:30:02.796Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1033-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-14T05:30:02.811Z] $ docker stop --time=1 464751a4dc1fbe5800782d76885bedbbb72754acb69f849891e9dcdf0b90e0f7 [2021-10-14T05:30:03.955Z] $ docker rm -f 464751a4dc1fbe5800782d76885bedbbb72754acb69f849891e9dcdf0b90e0f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-14T05:30:42.321Z] Removing intermediate container dba44cbd46d1 [2021-10-14T05:30:42.321Z] ---> b718a3adf8cf [2021-10-14T05:30:42.321Z] Step 10/10 : RUN ${MAKE} [2021-10-14T05:30:42.321Z] ---> Running in a80ce539bbe5 [2021-10-14T05:30:42.321Z] noop [2021-10-14T05:30:42.321Z] Removing intermediate container a80ce539bbe5 [2021-10-14T05:30:42.321Z] ---> a2de59e2b7f0 [2021-10-14T05:30:42.321Z] Successfully built a2de59e2b7f0 [2021-10-14T05:30:42.321Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T05:30:42.677Z] + docker inspect -f . ci-base-image-arm64 [2021-10-14T05:30:42.677Z] . [Pipeline] withDockerContainer [2021-10-14T05:30:42.919Z] prd-ubuntu18.04-docker-arm64-4c-16g-1330 does not seem to be running inside a container [2021-10-14T05:30:43.011Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-14T05:30:44.541Z] $ docker top 52559e3f07eb6246367a81f3cf8cdc960dbc54fa764c935486f62051ea0b0008 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T05:30:45.500Z] + go version [2021-10-14T05:30:45.500Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-14T05:30:45.523Z] $ docker stop --time=1 52559e3f07eb6246367a81f3cf8cdc960dbc54fa764c935486f62051ea0b0008 [2021-10-14T05:30:47.325Z] $ docker rm -f 52559e3f07eb6246367a81f3cf8cdc960dbc54fa764c935486f62051ea0b0008 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T05:30:48.032Z] + docker inspect -f . ci-base-image-arm64 [2021-10-14T05:30:48.032Z] . [Pipeline] withDockerContainer [2021-10-14T05:30:48.262Z] prd-ubuntu18.04-docker-arm64-4c-16g-1330 does not seem to be running inside a container [2021-10-14T05:30:48.347Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-14T05:30:49.787Z] $ docker top c56e4671e742e5806a0cfb0cc2bc7e61a324eca0dc2a88d447c80e3b1b254804 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-14T05:30:50.709Z] + make test [2021-10-14T05:30:50.709Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-14T05:31:12.986Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-14T05:32:21.220Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-14T05:32:21.220Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-14T05:32:21.220Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-14T05:32:28.001Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.351s coverage: 23.5% of statements [2021-10-14T05:32:28.001Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-14T05:32:28.001Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.226s coverage: 28.1% of statements [2021-10-14T05:32:28.001Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.272s coverage: 78.9% of statements [2021-10-14T05:32:28.001Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.217s coverage: 9.0% of statements [2021-10-14T05:32:28.001Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-14T05:32:28.001Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-14T05:32:28.001Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-14T05:32:28.612Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.323s coverage: 28.7% of statements [2021-10-14T05:32:28.612Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-14T05:32:30.616Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.223s coverage: 83.3% of statements [2021-10-14T05:32:30.616Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-14T05:32:30.616Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-14T05:32:30.616Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.356s coverage: 57.8% of statements [2021-10-14T05:32:34.967Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.048s coverage: 88.8% of statements [2021-10-14T05:32:34.967Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-14T05:32:34.967Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.202s coverage: 4.9% of statements [2021-10-14T05:32:34.967Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-14T05:32:34.967Z] GO111MODULE=on go vet ./... [2021-10-14T05:33:31.644Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-14T05:33:31.644Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-14T05:33:31.644Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-14T05:33:31.665Z] $ docker stop --time=1 c56e4671e742e5806a0cfb0cc2bc7e61a324eca0dc2a88d447c80e3b1b254804 [2021-10-14T05:33:33.775Z] $ docker rm -f c56e4671e742e5806a0cfb0cc2bc7e61a324eca0dc2a88d447c80e3b1b254804 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-14T05:33:34.876Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-14T05:33:34.906Z] Warning: overwriting stash ‘coverage-report’ [2021-10-14T05:33:35.564Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-14T05:33:36.070Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-14T05:33:36.432Z] + ls -al . [2021-10-14T05:33:36.432Z] total 300 [2021-10-14T05:33:36.432Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 05:33 . [2021-10-14T05:33:36.432Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 05:28 .. [2021-10-14T05:33:36.432Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 14 05:28 .dockerignore [2021-10-14T05:33:36.432Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 05:28 .git [2021-10-14T05:33:36.432Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 05:28 .github [2021-10-14T05:33:36.432Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 14 05:28 .gitignore [2021-10-14T05:33:36.432Z] -rw-rw-r-- 1 jenkins jenkins 24816 Oct 14 05:28 CHANGELOG.md [2021-10-14T05:33:36.432Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 05:28 GOVERNANCE.md [2021-10-14T05:33:36.432Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 14 05:28 Jenkinsfile [2021-10-14T05:33:36.432Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 14 05:28 LICENSE [2021-10-14T05:33:36.432Z] -rw-rw-r-- 1 jenkins jenkins 1120 Oct 14 05:28 Makefile [2021-10-14T05:33:36.432Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 14 05:28 OWNERS.md [2021-10-14T05:33:36.432Z] -rw-rw-r-- 1 jenkins jenkins 4877 Oct 14 05:28 README.md [2021-10-14T05:33:36.432Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 05:25 VERSION [2021-10-14T05:33:36.432Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 05:28 bin [2021-10-14T05:33:36.432Z] -rw-r--r-- 1 jenkins jenkins 126693 Oct 14 05:32 coverage.out [2021-10-14T05:33:36.432Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 14 05:28 example [2021-10-14T05:33:36.432Z] -rw-rw-r-- 1 jenkins jenkins 583 Oct 14 05:28 go.mod [2021-10-14T05:33:36.432Z] -rw-rw-r-- 1 jenkins jenkins 49618 Oct 14 05:28 go.sum [2021-10-14T05:33:36.432Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 14 05:28 internal [2021-10-14T05:33:36.432Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 05:28 openapi [2021-10-14T05:33:36.432Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 14 05:28 pkg [2021-10-14T05:33:36.432Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 05:28 snap [2021-10-14T05:33:36.432Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 14 05:28 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-14T05:33:36.821Z] + 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=bb1d3b63eee75a9dd4c9da7a4e2acdb0313c65b1 --label arch=arm64 --label version=0.0.0 . [2021-10-14T05:33:37.439Z] Sending build context to Docker daemon 2.818MB [2021-10-14T05:33:37.439Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T05:33:37.439Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-14T05:33:37.439Z] ---> a2de59e2b7f0 [2021-10-14T05:33:37.439Z] Step 3/24 : ARG MAKE=make build [2021-10-14T05:33:37.716Z] ---> Running in c15bba3566d0 [2021-10-14T05:33:37.994Z] Removing intermediate container c15bba3566d0 [2021-10-14T05:33:37.994Z] ---> 5078cceb988e [2021-10-14T05:33:37.994Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-14T05:33:38.279Z] ---> Running in 3385cccacb0f [2021-10-14T05:33:38.559Z] Removing intermediate container 3385cccacb0f [2021-10-14T05:33:38.559Z] ---> fadf9a9cf915 [2021-10-14T05:33:38.559Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T05:33:38.843Z] ---> Running in 21f67f6f729e [2021-10-14T05:33:39.447Z] Removing intermediate container 21f67f6f729e [2021-10-14T05:33:39.447Z] ---> 22587d0b02db [2021-10-14T05:33:39.447Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T05:33:39.447Z] ---> Running in f6046db51b37 [2021-10-14T05:33:42.095Z] Removing intermediate container f6046db51b37 [2021-10-14T05:33:42.095Z] ---> 21305c63fa78 [2021-10-14T05:33:42.095Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T05:33:42.095Z] ---> Running in 82c9318c2df2 [2021-10-14T05:33:43.088Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T05:33:44.082Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T05:33:44.688Z] OK: 219 MiB in 52 packages [2021-10-14T05:33:45.686Z] Removing intermediate container 82c9318c2df2 [2021-10-14T05:33:45.686Z] ---> 9d9acd5b1ba8 [2021-10-14T05:33:45.686Z] Step 8/24 : COPY . . [2021-10-14T05:33:47.141Z] ---> c0d31ad1ee69 [2021-10-14T05:33:47.141Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T05:33:47.421Z] ---> Running in 214c7d04aec3 [2021-10-14T05:33:50.081Z] Removing intermediate container 214c7d04aec3 [2021-10-14T05:33:50.081Z] ---> dbfb87b8b8d4 [2021-10-14T05:33:50.081Z] Step 10/24 : RUN ${MAKE} [2021-10-14T05:33:50.081Z] ---> Running in 4a6df4403e8c [2021-10-14T05:33:51.075Z] 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 [2021-10-14T05:34:23.535Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-14T05:34:26.951Z] Removing intermediate container 4a6df4403e8c [2021-10-14T05:34:26.951Z] ---> b34544041f97 [2021-10-14T05:34:26.951Z] Step 11/24 : FROM alpine:3.14 [2021-10-14T05:34:26.951Z] 3.14: Pulling from library/alpine [2021-10-14T05:34:27.227Z] 552d1f2373af: Already exists [2021-10-14T05:34:27.510Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-14T05:34:27.510Z] Status: Downloaded newer image for alpine:3.14 [2021-10-14T05:34:27.510Z] ---> bb3de5531c18 [2021-10-14T05:34:27.510Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T05:34:27.510Z] ---> Running in d3ea09a08e88 [2021-10-14T05:34:28.120Z] Removing intermediate container d3ea09a08e88 [2021-10-14T05:34:28.120Z] ---> 7143c567fba6 [2021-10-14T05:34:28.120Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T05:34:28.401Z] ---> Running in 32aa03d25cc8 [2021-10-14T05:34:30.399Z] Removing intermediate container 32aa03d25cc8 [2021-10-14T05:34:30.399Z] ---> 51e1e43fd1b5 [2021-10-14T05:34:30.399Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-14T05:34:30.399Z] ---> Running in 4b64ab79f05c [2021-10-14T05:34:31.388Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T05:34:32.383Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T05:34:32.992Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-14T05:34:33.271Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-14T05:34:33.271Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-14T05:34:33.554Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-14T05:34:33.554Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-14T05:34:33.554Z] Executing busybox-1.33.1-r3.trigger [2021-10-14T05:34:33.554Z] OK: 8 MiB in 19 packages [2021-10-14T05:34:35.017Z] Removing intermediate container 4b64ab79f05c [2021-10-14T05:34:35.017Z] ---> b20eada33297 [2021-10-14T05:34:35.017Z] Step 15/24 : WORKDIR / [2021-10-14T05:34:35.017Z] ---> Running in 9e6792b8cd3d [2021-10-14T05:34:35.623Z] Removing intermediate container 9e6792b8cd3d [2021-10-14T05:34:35.623Z] ---> 8d45bf00f179 [2021-10-14T05:34:35.623Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-14T05:34:36.228Z] ---> 7dd17a0220ac [2021-10-14T05:34:36.228Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-14T05:34:37.675Z] ---> 8b3e74b80a11 [2021-10-14T05:34:37.675Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-14T05:34:37.955Z] ---> 3d62b57f54cb [2021-10-14T05:34:37.955Z] Step 19/24 : EXPOSE 59999 [2021-10-14T05:34:38.236Z] ---> Running in 40af3d4639a9 [2021-10-14T05:34:38.843Z] Removing intermediate container 40af3d4639a9 [2021-10-14T05:34:38.843Z] ---> 4619116f1080 [2021-10-14T05:34:38.843Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-14T05:34:38.843Z] ---> Running in 2e1f7ee5f8de [2021-10-14T05:34:39.447Z] Removing intermediate container 2e1f7ee5f8de [2021-10-14T05:34:39.447Z] ---> cd0113d4f74e [2021-10-14T05:34:39.447Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-14T05:34:39.447Z] ---> Running in e33f0ec2bdae [2021-10-14T05:34:39.728Z] Removing intermediate container e33f0ec2bdae [2021-10-14T05:34:39.728Z] ---> 5080c694b6dd [2021-10-14T05:34:39.728Z] Step 22/24 : LABEL arch=arm64 [2021-10-14T05:34:40.009Z] ---> Running in 8fe5d4402181 [2021-10-14T05:34:40.613Z] Removing intermediate container 8fe5d4402181 [2021-10-14T05:34:40.613Z] ---> 50f73f76211e [2021-10-14T05:34:40.613Z] Step 23/24 : LABEL git_sha=bb1d3b63eee75a9dd4c9da7a4e2acdb0313c65b1 [2021-10-14T05:34:40.613Z] ---> Running in 5a75c3ac2320 [2021-10-14T05:34:41.218Z] Removing intermediate container 5a75c3ac2320 [2021-10-14T05:34:41.218Z] ---> d1df9d98c818 [2021-10-14T05:34:41.218Z] Step 24/24 : LABEL version=0.0.0 [2021-10-14T05:34:41.218Z] ---> Running in 6342053fd4b8 [2021-10-14T05:34:41.821Z] Removing intermediate container 6342053fd4b8 [2021-10-14T05:34:41.821Z] ---> 14d74061ac03 [2021-10-14T05:34:41.821Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-14T05:34:41.821Z] Successfully built 14d74061ac03 [2021-10-14T05:34:41.821Z] 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 [2021-10-14T05:34:42.487Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T05:34:42.764Z] [2021-10-14T05:34:42.764Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-14T05:34:43.127Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T05:34:43.408Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-14T05:34:43.408Z] 448f6bf000e3: Pulling fs layer [2021-10-14T05:34:43.408Z] f757da607395: Pulling fs layer [2021-10-14T05:34:43.408Z] 05883995daec: Pulling fs layer [2021-10-14T05:34:43.408Z] 8603b9c90790: Pulling fs layer [2021-10-14T05:34:43.408Z] 1560dd03e051: Pulling fs layer [2021-10-14T05:34:43.408Z] 27f5ce0e4adf: Pulling fs layer [2021-10-14T05:34:43.408Z] c2d8d7efcc4b: Pulling fs layer [2021-10-14T05:34:43.408Z] 8603b9c90790: Waiting [2021-10-14T05:34:43.408Z] 1560dd03e051: Waiting [2021-10-14T05:34:43.408Z] 27f5ce0e4adf: Waiting [2021-10-14T05:34:43.408Z] c2d8d7efcc4b: Waiting [2021-10-14T05:34:43.690Z] f757da607395: Verifying Checksum [2021-10-14T05:34:43.690Z] f757da607395: Download complete [2021-10-14T05:34:43.690Z] 8603b9c90790: Verifying Checksum [2021-10-14T05:34:43.690Z] 8603b9c90790: Download complete [2021-10-14T05:34:43.690Z] 05883995daec: Verifying Checksum [2021-10-14T05:34:43.690Z] 05883995daec: Download complete [2021-10-14T05:34:43.690Z] 1560dd03e051: Verifying Checksum [2021-10-14T05:34:43.690Z] 1560dd03e051: Download complete [2021-10-14T05:34:43.969Z] 27f5ce0e4adf: Verifying Checksum [2021-10-14T05:34:43.969Z] 27f5ce0e4adf: Download complete [2021-10-14T05:34:43.969Z] 448f6bf000e3: Verifying Checksum [2021-10-14T05:34:43.969Z] 448f6bf000e3: Download complete [2021-10-14T05:34:46.628Z] c2d8d7efcc4b: Verifying Checksum [2021-10-14T05:34:46.628Z] c2d8d7efcc4b: Download complete [2021-10-14T05:34:47.625Z] 448f6bf000e3: Pull complete [2021-10-14T05:34:48.619Z] f757da607395: Pull complete [2021-10-14T05:34:49.615Z] 05883995daec: Pull complete [2021-10-14T05:34:50.221Z] 8603b9c90790: Pull complete [2021-10-14T05:34:51.214Z] 1560dd03e051: Pull complete [2021-10-14T05:34:51.493Z] 27f5ce0e4adf: Pull complete [2021-10-14T05:35:06.678Z] c2d8d7efcc4b: Pull complete [2021-10-14T05:35:06.678Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-14T05:35:06.678Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T05:35:06.678Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-14T05:35:06.914Z] prd-ubuntu18.04-docker-arm64-4c-16g-1330 does not seem to be running inside a container [2021-10-14T05:35:07.011Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-14T05:35:10.627Z] $ docker top fac8defba1c29e56ce2af38b14826255d14f799a9b9ffefb5f81edb484f4bd2b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T05:35:11.626Z] ---> job-cost.sh [2021-10-14T05:35:11.626Z] lf-activate-venv: SKIPPING [2021-10-14T05:35:11.626Z] INFO: No Stack... [2021-10-14T05:35:29.985Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-14T05:35:29.985Z] INFO: Archiving Costs [Pipeline] sh [2021-10-14T05:35:30.666Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-10-14T05:35:30.666Z] + cut -d, -f6 [Pipeline] lock [2021-10-14T05:35:30.737Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1033-2-stack-cost] [2021-10-14T05:35:30.744Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1033-2-stack-cost] did not exist. Created. [2021-10-14T05:35:30.744Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1033-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-14T05:35:31.441Z] /w/workspace/device-sdk-go/2@tmp/durable-8962b9d8/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-8962b9d8/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-14T05:35:32.217Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-14T05:35:32.247Z] Warning: overwriting stash ‘stack-cost’ [2021-10-14T05:35:32.321Z] Stashed 1 file(s) [Pipeline] } [2021-10-14T05:35:32.328Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1033-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-14T05:35:32.342Z] $ docker stop --time=1 fac8defba1c29e56ce2af38b14826255d14f799a9b9ffefb5f81edb484f4bd2b [2021-10-14T05:35:34.024Z] $ docker rm -f fac8defba1c29e56ce2af38b14826255d14f799a9b9ffefb5f81edb484f4bd2b [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 [2021-10-14T05:35:34.975Z] provisioning config files... [2021-10-14T05:35:34.991Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1033@tmp/config8605374383843898084tmp [Pipeline] { [Pipeline] sh [2021-10-14T05:35:35.301Z] + set +x [2021-10-14T05:35:35.301Z] + curl -s https://codecov.io/bash [2021-10-14T05:35:35.301Z] + bash -s -- [2021-10-14T05:35:35.301Z] [2021-10-14T05:35:35.301Z] _____ _ [2021-10-14T05:35:35.301Z] / ____| | | [2021-10-14T05:35:35.301Z] | | ___ __| | ___ ___ _____ __ [2021-10-14T05:35:35.301Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-14T05:35:35.301Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-14T05:35:35.301Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-14T05:35:35.301Z] Bash-1.0.6 [2021-10-14T05:35:35.301Z] [2021-10-14T05:35:35.301Z] [2021-10-14T05:35:35.301Z] ==> git version 2.24.4 found [2021-10-14T05:35:35.301Z] ==> 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 [2021-10-14T05:35:35.301Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-14T05:35:35.301Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-14T05:35:35.301Z] ==> Jenkins CI detected. [2021-10-14T05:35:35.301Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1033 [2021-10-14T05:35:35.301Z] project root: . [2021-10-14T05:35:35.301Z] --> token set from env [2021-10-14T05:35:35.301Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-14T05:35:35.571Z] ==> Running gcov in . (disable via -X gcov) [2021-10-14T05:35:35.571Z] ==> Python coveragepy not found [2021-10-14T05:35:35.571Z] ==> Searching for coverage reports in: [2021-10-14T05:35:35.571Z] + . [2021-10-14T05:35:35.571Z] -> Found 1 reports [2021-10-14T05:35:35.571Z] ==> Detecting git/mercurial file structure [2021-10-14T05:35:35.571Z] ==> Reading reports [2021-10-14T05:35:35.571Z] + ./coverage.out bytes=126693 [2021-10-14T05:35:35.571Z] ==> Appending adjustments [2021-10-14T05:35:35.571Z] https://docs.codecov.io/docs/fixing-reports [2021-10-14T05:35:35.830Z] + Found adjustments [2021-10-14T05:35:35.830Z] ==> Gzipping contents [2021-10-14T05:35:35.830Z] 16K /tmp/codecov.6tW7HE.gz [2021-10-14T05:35:35.830Z] ==> Uploading reports [2021-10-14T05:35:35.830Z] url: https://codecov.io [2021-10-14T05:35:35.831Z] query: branch=PR-1033&commit=bb1d3b63eee75a9dd4c9da7a4e2acdb0313c65b1&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1033%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1033&job=&cmd_args= [2021-10-14T05:35:35.831Z] -> Pinging Codecov [2021-10-14T05:35:35.831Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1033&commit=bb1d3b63eee75a9dd4c9da7a4e2acdb0313c65b1&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1033%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1033&job=&cmd_args= [2021-10-14T05:35:36.093Z] -> Uploading to [2021-10-14T05:35:36.093Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-14/7E55EF52A471D76F132DFD9A03CDDE97/bb1d3b63eee75a9dd4c9da7a4e2acdb0313c65b1/e9f62806-1c54-4f80-8615-44427a980ac0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211014%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211014T053535Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=375cbf7910c54e8a5dca210f80da3f006c6728f73139124bfb57d2f69ae7faf4 [2021-10-14T05:35:36.093Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-14T05:35:36.093Z] Dload Upload Total Spent Left Speed [2021-10-14T05:35:36.670Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16117 0 0 100 16117 0 48637 --:--:-- --:--:-- --:--:-- 48691 [2021-10-14T05:35:36.670Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/bb1d3b63eee75a9dd4c9da7a4e2acdb0313c65b1 [Pipeline] } [2021-10-14T05:35:36.677Z] 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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-14T05:35:37.870Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1033/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-14T05:35:38.173Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T05:35:38.758Z] ---> package-listing.sh [2021-10-14T05:35:38.758Z] ++ facter osfamily [2021-10-14T05:35:38.758Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-14T05:35:39.019Z] + OS_FAMILY=redhat [2021-10-14T05:35:39.019Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1033 [2021-10-14T05:35:39.019Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-14T05:35:39.019Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-14T05:35:39.019Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-14T05:35:39.019Z] + PACKAGES=/tmp/packages_start.txt [2021-10-14T05:35:39.019Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1033 ']' [2021-10-14T05:35:39.019Z] + PACKAGES=/tmp/packages_end.txt [2021-10-14T05:35:39.019Z] + case "${OS_FAMILY}" in [2021-10-14T05:35:39.019Z] + rpm -qa [2021-10-14T05:35:39.019Z] + sort [2021-10-14T05:35:39.590Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-14T05:35:39.590Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-14T05:35:39.590Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-14T05:35:39.590Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1033 ']' [2021-10-14T05:35:39.590Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1033/archives/ [2021-10-14T05:35:39.590Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1033/archives/ [Pipeline] echo [2021-10-14T05:35:39.601Z] 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-1033/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-14T05:35:39.888Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-14T05:35:40.444Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T05:35:40.444Z] [2021-10-14T05:35:40.444Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T05:35:40.746Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T05:35:40.746Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-14T05:35:40.746Z] b4d181a07f80: Pulling fs layer [2021-10-14T05:35:40.746Z] a1111a8f2ec3: Pulling fs layer [2021-10-14T05:35:40.746Z] ed53099fbce6: Pulling fs layer [2021-10-14T05:35:40.746Z] dc539afda2c1: Pulling fs layer [2021-10-14T05:35:40.746Z] 77bc0d833cb6: Pulling fs layer [2021-10-14T05:35:40.746Z] 9065ff56babe: Pulling fs layer [2021-10-14T05:35:40.746Z] d287ab97295c: Pulling fs layer [2021-10-14T05:35:40.746Z] dc539afda2c1: Waiting [2021-10-14T05:35:40.746Z] d287ab97295c: Waiting [2021-10-14T05:35:40.746Z] 77bc0d833cb6: Waiting [2021-10-14T05:35:40.746Z] 9065ff56babe: Waiting [2021-10-14T05:35:40.746Z] a1111a8f2ec3: Verifying Checksum [2021-10-14T05:35:40.746Z] a1111a8f2ec3: Download complete [2021-10-14T05:35:40.746Z] dc539afda2c1: Verifying Checksum [2021-10-14T05:35:40.746Z] dc539afda2c1: Download complete [2021-10-14T05:35:40.746Z] ed53099fbce6: Verifying Checksum [2021-10-14T05:35:40.746Z] ed53099fbce6: Download complete [2021-10-14T05:35:41.013Z] 9065ff56babe: Verifying Checksum [2021-10-14T05:35:41.013Z] 9065ff56babe: Download complete [2021-10-14T05:35:41.013Z] 77bc0d833cb6: Verifying Checksum [2021-10-14T05:35:41.013Z] 77bc0d833cb6: Download complete [2021-10-14T05:35:41.013Z] b4d181a07f80: Verifying Checksum [2021-10-14T05:35:41.013Z] b4d181a07f80: Download complete [2021-10-14T05:35:41.596Z] d287ab97295c: Verifying Checksum [2021-10-14T05:35:41.596Z] d287ab97295c: Download complete [2021-10-14T05:35:42.565Z] b4d181a07f80: Pull complete [2021-10-14T05:35:42.565Z] a1111a8f2ec3: Pull complete [2021-10-14T05:35:43.138Z] ed53099fbce6: Pull complete [2021-10-14T05:35:43.138Z] dc539afda2c1: Pull complete [2021-10-14T05:35:43.711Z] 77bc0d833cb6: Pull complete [2021-10-14T05:35:43.711Z] 9065ff56babe: Pull complete [2021-10-14T05:35:49.049Z] d287ab97295c: Pull complete [2021-10-14T05:35:49.049Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-14T05:35:49.049Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T05:35:49.049Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-14T05:35:49.129Z] prd-centos7-docker-4c-2g-1329 does not seem to be running inside a container [2021-10-14T05:35:49.170Z] $ 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-1033/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-1033 -v /w/workspace/gexfoundry_device-sdk-go_PR-1033:/w/workspace/gexfoundry_device-sdk-go_PR-1033:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1033@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1033@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 [2021-10-14T05:35:51.308Z] $ docker top 98c33d06973612cf3ab9248ad1d9c5123084ecfe0a10b78f39ec40d14ea98a76 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T05:35:51.673Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-14T05:35:51.970Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-14T05:35:52.261Z] + ls /var/log/sa-host [2021-10-14T05:35:52.261Z] + sadf -c /var/log/sa-host/sa14 [2021-10-14T05:35:52.261Z] file_magic: OK [2021-10-14T05:35:52.261Z] HZ: Using current value: 100 [2021-10-14T05:35:52.261Z] file_header: OK [2021-10-14T05:35:52.261Z] 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 [2021-10-14T05:35:52.261Z] Statistics: [2021-10-14T05:35:52.261Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-14T05:35:52.261Z] File successfully converted to sysstat format version 12.0.3 [2021-10-14T05:35:52.261Z] + sadf -c /var/log/sa-host/sa30 [2021-10-14T05:35:52.261Z] file_magic: OK [2021-10-14T05:35:52.261Z] HZ: Using current value: 100 [2021-10-14T05:35:52.261Z] file_header: OK [2021-10-14T05:35:52.261Z] 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 [2021-10-14T05:35:52.261Z] Statistics: [2021-10-14T05:35:52.261Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-14T05:35:52.261Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T05:35:52.516Z] provisioning config files... [2021-10-14T05:35:52.525Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1033@tmp/config2907340898495516510tmp [Pipeline] { [Pipeline] echo [2021-10-14T05:35:52.539Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T05:35:52.822Z] ---> create-netrc.sh [Pipeline] } [2021-10-14T05:35:52.829Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-14T05:35:53.182Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-14T05:35:53.191Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T05:35:53.482Z] ---> sudo-logs.sh [2021-10-14T05:35:53.482Z] Archiving 'sudo' log.. [2021-10-14T05:35:53.482Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1329.novalocal: Name or service not known [2021-10-14T05:35:53.482Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1329.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-14T05:35:53.501Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T05:35:53.790Z] ---> job-cost.sh [2021-10-14T05:35:53.790Z] lf-activate-venv: SKIPPING [2021-10-14T05:35:53.790Z] DEBUG: total: 0.10999999940395355 [2021-10-14T05:35:53.790Z] INFO: Retrieving Stack Cost... [2021-10-14T05:36:11.914Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-14T05:36:11.914Z] INFO: Archiving Costs [Pipeline] echo [2021-10-14T05:36:11.941Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T05:36:12.245Z] ---> logs-deploy.sh [2021-10-14T05:36:12.246Z] lf-activate-venv: SKIPPING [2021-10-14T05:36:12.246Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1033/2 [2021-10-14T05:36:12.246Z] INFO: archiving workspace using pattern(s): [2021-10-14T05:36:12.821Z] Archives upload complete. [2021-10-14T05:36:13.080Z] INFO: archiving logs to Nexus