Pull request #1005 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 iain-anderson for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 78a8635e56f9b3c3cea61c13499687d1b6eae3c9+807401dd2d1b373fd4ec07b99e8020c82d165dff (f269a9cd71d07318d7427133a86f85f5de1e8b6f) 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-ssh1651193940314652702.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 155abbc8877922835dbd6f2f82c828d26e35ec40 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-ssh4153971200168141512.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 155abbc8877922835dbd6f2f82c828d26e35ec40 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-1005/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-1005/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3071632945388340208.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 155abbc8877922835dbd6f2f82c828d26e35ec40 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 155abbc8877922835dbd6f2f82c828d26e35ec40 # timeout=10 Commit message: "Merge pull request #342 from ernestojeda/fix-c-docker-image-names" > 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-ssh82201849025037514.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 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-1005/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-1005/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8911378465258290568.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ 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-1235 in /w/workspace/gexfoundry_device-sdk-go_PR-1005 [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-1005 # 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-1005@tmp/jenkins-gitclient-ssh8905169724815205397.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-1005@tmp/jenkins-gitclient-ssh9083748667465756401.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1005/head:refs/remotes/origin/PR-1005 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 807401dd2d1b373fd4ec07b99e8020c82d165dff into PR head commit 78a8635e56f9b3c3cea61c13499687d1b6eae3c9 Merge succeeded, producing 78a8635e56f9b3c3cea61c13499687d1b6eae3c9 Checking out Revision 78a8635e56f9b3c3cea61c13499687d1b6eae3c9 (PR-1005) > git config core.sparsecheckout # timeout=10 > git checkout -f 78a8635e56f9b3c3cea61c13499687d1b6eae3c9 # 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-1005@tmp/jenkins-gitclient-ssh1607684741788717587.key > git merge 807401dd2d1b373fd4ec07b99e8020c82d165dff # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 78a8635e56f9b3c3cea61c13499687d1b6eae3c9 # timeout=10 Commit message: "Merge branch 'main' into issue-templates" > git rev-list --no-walk be89de1644b6547029dfb061f861d4b7a5600c82 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-31T03:21:03.858Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-31T03:21:03.943Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-31T03:21:03.971Z] ========================================================= [2021-07-31T03:21:03.971Z] EdgeX Global Pipelines Version Info [2021-07-31T03:21:03.971Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-31T03:21:05.221Z] ------------------- [2021-07-31T03:21:05.221Z] stable info: [2021-07-31T03:21:05.222Z] ------------------- [2021-07-31T03:21:05.222Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-31T03:21:05.222Z] Commit SHA: 155abbc8877922835dbd6f2f82c828d26e35ec40 [2021-07-31T03:21:05.222Z] Message: update stable to v1.0.199 [2021-07-31T03:21:05.810Z] ------------------- [2021-07-31T03:21:05.810Z] experimental info: [2021-07-31T03:21:05.810Z] ------------------- [2021-07-31T03:21:05.810Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-31T03:21:05.810Z] Commit SHA: 155abbc8877922835dbd6f2f82c828d26e35ec40 [2021-07-31T03:21:05.810Z] Message: update experimental to v1.0.199 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-31T03:21:05.949Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-07-31T03:21:05.972Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-07-31T03:21:05.994Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-31T03:21:06.015Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-31T03:21:06.037Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-31T03:21:06.059Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-31T03:21:06.085Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-31T03:21:06.117Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-31T03:21:06.146Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-07-31T03:21:06.168Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-31T03:21:06.191Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-31T03:21:06.213Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-07-31T03:21:06.235Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-07-31T03:21:06.257Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-31T03:21:06.279Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-31T03:21:06.302Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-07-31T03:21:06.326Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-07-31T03:21:06.351Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-07-31T03:21:06.372Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-07-31T03:21:06.394Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-31T03:21:06.416Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-31T03:21:06.438Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-07-31T03:21:06.460Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-07-31T03:21:06.482Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-07-31T03:21:06.504Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-07-31T03:21:06.526Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-07-31T03:21:06.548Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-31T03:21:06.569Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1005 [Pipeline] echo [2021-07-31T03:21:06.590Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1005 [Pipeline] echo [2021-07-31T03:21:06.612Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1005 [Pipeline] echo [2021-07-31T03:21:06.634Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 78a8635e56f9b3c3cea61c13499687d1b6eae3c9 [Pipeline] echo [2021-07-31T03:21:06.656Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 78a8635 [Pipeline] echo [2021-07-31T03:21:06.678Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-31T03:21:06.756Z] provisioning config files... [2021-07-31T03:21:06.778Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1005@tmp/config8332948386013537329tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-31T03:21:07.112Z] ---> docker-login.sh [2021-07-31T03:21:07.112Z] nexus3.edgexfoundry.org:10001 [2021-07-31T03:21:07.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T03:21:07.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T03:21:07.379Z] Configure a credential helper to remove this warning. See [2021-07-31T03:21:07.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T03:21:07.379Z] [2021-07-31T03:21:07.379Z] Login Succeeded [2021-07-31T03:21:07.379Z] nexus3.edgexfoundry.org:10002 [2021-07-31T03:21:07.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T03:21:07.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T03:21:07.648Z] Configure a credential helper to remove this warning. See [2021-07-31T03:21:07.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T03:21:07.648Z] [2021-07-31T03:21:07.648Z] Login Succeeded [2021-07-31T03:21:07.648Z] nexus3.edgexfoundry.org:10003 [2021-07-31T03:21:07.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T03:21:07.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T03:21:07.648Z] Configure a credential helper to remove this warning. See [2021-07-31T03:21:07.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T03:21:07.648Z] [2021-07-31T03:21:07.648Z] Login Succeeded [2021-07-31T03:21:07.648Z] nexus3.edgexfoundry.org:10004 [2021-07-31T03:21:07.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T03:21:07.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T03:21:07.919Z] Configure a credential helper to remove this warning. See [2021-07-31T03:21:07.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T03:21:07.919Z] [2021-07-31T03:21:07.919Z] Login Succeeded [2021-07-31T03:21:07.919Z] docker.io [2021-07-31T03:21:07.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T03:21:08.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T03:21:08.189Z] Configure a credential helper to remove this warning. See [2021-07-31T03:21:08.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T03:21:08.189Z] [2021-07-31T03:21:08.189Z] Login Succeeded [2021-07-31T03:21:08.189Z] ---> docker-login.sh ends [Pipeline] } [2021-07-31T03:21:08.201Z] 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-07-31T03:21:08.740Z] + git log --format=format:%s -1 78a8635e56f9b3c3cea61c13499687d1b6eae3c9 [Pipeline] echo [2021-07-31T03:21:08.797Z] GIT_COMMIT: 78a8635e56f9b3c3cea61c13499687d1b6eae3c9, Commit Message: Merge branch 'main' into issue-templates [Pipeline] echo [2021-07-31T03:21:08.842Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-07-31T03:21:09.866Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-31T03:21:09.866Z] [2021-07-31T03:21:09.866Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-31T03:21:10.199Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-31T03:21:10.199Z] latest: Pulling from edgex-devops/git-semver [2021-07-31T03:21:10.199Z] 31603596830f: Pulling fs layer [2021-07-31T03:21:10.199Z] b6dc333f4379: Pulling fs layer [2021-07-31T03:21:10.199Z] 3d9ef1400e77: Pulling fs layer [2021-07-31T03:21:10.199Z] fd332fbdc1db: Pulling fs layer [2021-07-31T03:21:10.199Z] fd332fbdc1db: Waiting [2021-07-31T03:21:10.199Z] b6dc333f4379: Download complete [2021-07-31T03:21:10.467Z] 31603596830f: Verifying Checksum [2021-07-31T03:21:10.467Z] 31603596830f: Download complete [2021-07-31T03:21:10.741Z] 31603596830f: Pull complete [2021-07-31T03:21:10.741Z] b6dc333f4379: Pull complete [2021-07-31T03:21:10.741Z] fd332fbdc1db: Verifying Checksum [2021-07-31T03:21:10.741Z] fd332fbdc1db: Download complete [2021-07-31T03:21:10.741Z] 3d9ef1400e77: Verifying Checksum [2021-07-31T03:21:10.741Z] 3d9ef1400e77: Download complete [2021-07-31T03:21:11.331Z] 3d9ef1400e77: Pull complete [2021-07-31T03:21:11.331Z] fd332fbdc1db: Pull complete [2021-07-31T03:21:11.331Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-31T03:21:11.331Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-31T03:21:11.331Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-31T03:21:11.425Z] prd-centos7-docker-4c-2g-1235 does not seem to be running inside a container [2021-07-31T03:21:11.494Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1005 -v /w/workspace/gexfoundry_device-sdk-go_PR-1005:/w/workspace/gexfoundry_device-sdk-go_PR-1005:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1005@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1005@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-31T03:21:12.184Z] $ docker top b7be68f30f834b143a183deb65471094487338b5c3bf0c3695c8d4660955bf2d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-31T03:21:12.317Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-31T03:21:12.317Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-31T03:21:12.441Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-31T03:21:12.443Z] $ docker exec b7be68f30f834b143a183deb65471094487338b5c3bf0c3695c8d4660955bf2d ssh-agent [2021-07-31T03:21:12.562Z] SSH_AUTH_SOCK=/tmp/ssh-R7iwQC6c3x08/agent.14 [2021-07-31T03:21:12.562Z] SSH_AGENT_PID=20 [2021-07-31T03:21:12.576Z] Running ssh-add (command line suppressed) [2021-07-31T03:21:12.687Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1005@tmp/private_key_8701995106476207450.key (/w/workspace/gexfoundry_device-sdk-go_PR-1005@tmp/private_key_8701995106476207450.key) [2021-07-31T03:21:12.709Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-31T03:21:13.025Z] + git tag --points-at HEAD [Pipeline] } [2021-07-31T03:21:13.046Z] $ docker exec --env ******** --env ******** b7be68f30f834b143a183deb65471094487338b5c3bf0c3695c8d4660955bf2d ssh-agent -k [2021-07-31T03:21:13.142Z] unset SSH_AUTH_SOCK; [2021-07-31T03:21:13.142Z] unset SSH_AGENT_PID; [2021-07-31T03:21:13.142Z] echo Agent pid 20 killed; [2021-07-31T03:21:13.158Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-31T03:21:13.206Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-31T03:21:13.206Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-31T03:21:13.320Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-31T03:21:13.322Z] $ docker exec b7be68f30f834b143a183deb65471094487338b5c3bf0c3695c8d4660955bf2d ssh-agent [2021-07-31T03:21:13.438Z] SSH_AUTH_SOCK=/tmp/ssh-5N0tVbGK0uqP/agent.54 [2021-07-31T03:21:13.438Z] SSH_AGENT_PID=60 [2021-07-31T03:21:13.448Z] Running ssh-add (command line suppressed) [2021-07-31T03:21:13.544Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1005@tmp/private_key_429319860291354748.key (/w/workspace/gexfoundry_device-sdk-go_PR-1005@tmp/private_key_429319860291354748.key) [2021-07-31T03:21:13.565Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-31T03:21:13.882Z] + git semver init [2021-07-31T03:21:13.882Z] # -> Open(): unable to determine branch for HEAD [2021-07-31T03:21:13.882Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1005/.git [2021-07-31T03:21:13.882Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1005 [2021-07-31T03:21:13.882Z] # $SEMVER_REMOTE_NAME = origin [2021-07-31T03:21:13.882Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-31T03:21:13.882Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-31T03:21:13.882Z] # $SEMVER_BRANCH = PR-1005 [2021-07-31T03:21:13.882Z] # $SEMVER_TEMP = /tmp/semver-777608680 [2021-07-31T03:21:13.882Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-07-31T03:21:14.480Z] # '/tmp/semver-777608680' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1005/.semver' [2021-07-31T03:21:14.480Z] # -> Force: false [2021-07-31T03:21:14.480Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1005/.semver [Pipeline] } [2021-07-31T03:21:14.496Z] $ docker exec --env ******** --env ******** b7be68f30f834b143a183deb65471094487338b5c3bf0c3695c8d4660955bf2d ssh-agent -k [2021-07-31T03:21:14.591Z] unset SSH_AUTH_SOCK; [2021-07-31T03:21:14.591Z] unset SSH_AGENT_PID; [2021-07-31T03:21:14.591Z] echo Agent pid 60 killed; [2021-07-31T03:21:14.605Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-31T03:21:14.961Z] + git semver [Pipeline] } [2021-07-31T03:21:14.985Z] $ docker stop --time=1 b7be68f30f834b143a183deb65471094487338b5c3bf0c3695c8d4660955bf2d [2021-07-31T03:21:16.197Z] $ docker rm -f b7be68f30f834b143a183deb65471094487338b5c3bf0c3695c8d4660955bf2d [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-31T03:21:16.584Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-31T03:21:16.904Z] Stashed 1 file(s) [Pipeline] echo [2021-07-31T03:21:16.908Z] [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-07-31T03:21:32.150Z] Still waiting to schedule task [2021-07-31T03:21:32.151Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1235’ [2021-07-31T03:21:32.153Z] Still waiting to schedule task [2021-07-31T03:21:32.153Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-07-31T03:23:36.461Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1236 in /w/workspace/gexfoundry_device-sdk-go_PR-1005 [Pipeline] { [Pipeline] ws [2021-07-31T03:23:36.482Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-07-31T03:23:36.695Z] Selected Git installation does not exist. Using Default [2021-07-31T03:23:36.695Z] The recommended git tool is: NONE [2021-07-31T03:23:42.829Z] using credential edgex-jenkins-ssh [2021-07-31T03:23:42.855Z] Cloning the remote Git repository [2021-07-31T03:23:42.891Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-07-31T03:23:42.992Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-07-31T03:23:43.079Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-07-31T03:23:43.080Z] > git --version # timeout=10 [2021-07-31T03:23:43.095Z] > git --version # 'git version 2.17.1' [2021-07-31T03:23:43.097Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-31T03:23:43.184Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-31T03:23:45.502Z] Merging remotes/origin/main commit 807401dd2d1b373fd4ec07b99e8020c82d165dff into PR head commit 78a8635e56f9b3c3cea61c13499687d1b6eae3c9 [2021-07-31T03:23:44.753Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-07-31T03:23:44.777Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-31T03:23:44.800Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-07-31T03:23:44.833Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-07-31T03:23:44.834Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-31T03:23:44.847Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1005/head:refs/remotes/origin/PR-1005 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-31T03:23:45.508Z] > git config core.sparsecheckout # timeout=10 [2021-07-31T03:23:45.737Z] Merge succeeded, producing 78a8635e56f9b3c3cea61c13499687d1b6eae3c9 [2021-07-31T03:23:45.738Z] Checking out Revision 78a8635e56f9b3c3cea61c13499687d1b6eae3c9 (PR-1005) [2021-07-31T03:23:45.525Z] > git checkout -f 78a8635e56f9b3c3cea61c13499687d1b6eae3c9 # timeout=10 [2021-07-31T03:23:45.633Z] > git remote # timeout=10 [2021-07-31T03:23:45.652Z] > git config --get remote.origin.url # timeout=10 [2021-07-31T03:23:45.665Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-31T03:23:45.686Z] > git merge 807401dd2d1b373fd4ec07b99e8020c82d165dff # timeout=10 [2021-07-31T03:23:45.713Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-31T03:23:45.734Z] > git config core.sparsecheckout # timeout=10 [2021-07-31T03:23:45.745Z] > git checkout -f 78a8635e56f9b3c3cea61c13499687d1b6eae3c9 # timeout=10 [2021-07-31T03:23:50.053Z] Commit message: "Merge branch 'main' into issue-templates" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-31T03:23:50.628Z] provisioning config files... [2021-07-31T03:23:50.664Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config5493490043899045157tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-31T03:23:51.247Z] ---> docker-login.sh [2021-07-31T03:23:51.247Z] nexus3.edgexfoundry.org:10001 [2021-07-31T03:23:52.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T03:23:52.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T03:23:52.513Z] Configure a credential helper to remove this warning. See [2021-07-31T03:23:52.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T03:23:52.513Z] [2021-07-31T03:23:52.513Z] Login Succeeded [2021-07-31T03:23:52.513Z] nexus3.edgexfoundry.org:10002 [2021-07-31T03:23:52.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T03:23:53.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T03:23:53.144Z] Configure a credential helper to remove this warning. See [2021-07-31T03:23:53.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T03:23:53.144Z] [2021-07-31T03:23:53.144Z] Login Succeeded [2021-07-31T03:23:53.144Z] nexus3.edgexfoundry.org:10003 [2021-07-31T03:23:53.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T03:23:53.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T03:23:53.710Z] Configure a credential helper to remove this warning. See [2021-07-31T03:23:53.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T03:23:53.710Z] [2021-07-31T03:23:53.710Z] Login Succeeded [2021-07-31T03:23:53.710Z] nexus3.edgexfoundry.org:10004 [2021-07-31T03:23:53.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T03:23:54.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T03:23:54.261Z] Configure a credential helper to remove this warning. See [2021-07-31T03:23:54.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T03:23:54.261Z] [2021-07-31T03:23:54.261Z] Login Succeeded [2021-07-31T03:23:54.261Z] docker.io [2021-07-31T03:23:54.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T03:23:55.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T03:23:55.141Z] Configure a credential helper to remove this warning. See [2021-07-31T03:23:55.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T03:23:55.141Z] [2021-07-31T03:23:55.141Z] Login Succeeded [2021-07-31T03:23:55.141Z] ---> docker-login.sh ends [Pipeline] } [2021-07-31T03:23:55.216Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-31T03:23:55.685Z] ========================================================= [2021-07-31T03:23:55.685Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-31T03:23:55.685Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-07-31T03:23:56.074Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-07-31T03:23:56.357Z] Sending build context to Docker daemon 2.599MB [2021-07-31T03:23:56.633Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-31T03:23:56.633Z] Step 2/8 : FROM ${BASE} [2021-07-31T03:23:56.913Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-31T03:23:56.913Z] 595b0fe564bb: Pulling fs layer [2021-07-31T03:23:56.913Z] 24495759ef45: Pulling fs layer [2021-07-31T03:23:56.913Z] d148012ef14d: Pulling fs layer [2021-07-31T03:23:56.913Z] cb65c68fc2e2: Pulling fs layer [2021-07-31T03:23:56.913Z] 093eec477d81: Pulling fs layer [2021-07-31T03:23:56.913Z] a6d5b2bbb924: Pulling fs layer [2021-07-31T03:23:56.913Z] 2446dc1eb7d3: Pulling fs layer [2021-07-31T03:23:56.913Z] 596795e73e0f: Pulling fs layer [2021-07-31T03:23:56.913Z] cb65c68fc2e2: Waiting [2021-07-31T03:23:56.913Z] a6d5b2bbb924: Waiting [2021-07-31T03:23:56.913Z] 093eec477d81: Waiting [2021-07-31T03:23:56.913Z] 2446dc1eb7d3: Waiting [2021-07-31T03:23:56.913Z] 596795e73e0f: Waiting [2021-07-31T03:23:56.913Z] d148012ef14d: Download complete [2021-07-31T03:23:56.913Z] 24495759ef45: Verifying Checksum [2021-07-31T03:23:56.913Z] 24495759ef45: Download complete [2021-07-31T03:23:56.913Z] 093eec477d81: Verifying Checksum [2021-07-31T03:23:56.913Z] 093eec477d81: Download complete [2021-07-31T03:23:56.913Z] a6d5b2bbb924: Download complete [2021-07-31T03:23:56.913Z] 595b0fe564bb: Verifying Checksum [2021-07-31T03:23:56.913Z] 595b0fe564bb: Download complete [2021-07-31T03:23:56.913Z] 2446dc1eb7d3: Download complete [2021-07-31T03:23:57.938Z] 595b0fe564bb: Pull complete [2021-07-31T03:23:58.547Z] 24495759ef45: Pull complete [2021-07-31T03:23:58.825Z] d148012ef14d: Pull complete [2021-07-31T03:23:59.426Z] 596795e73e0f: Verifying Checksum [2021-07-31T03:23:59.426Z] 596795e73e0f: Download complete [2021-07-31T03:24:00.871Z] cb65c68fc2e2: Verifying Checksum [2021-07-31T03:24:00.871Z] cb65c68fc2e2: Download complete [2021-07-31T03:24:11.078Z] cb65c68fc2e2: Pull complete [2021-07-31T03:24:11.078Z] 093eec477d81: Pull complete [2021-07-31T03:24:11.355Z] a6d5b2bbb924: Pull complete [2021-07-31T03:24:11.956Z] 2446dc1eb7d3: Pull complete [2021-07-31T03:24:14.263Z] Running on prd-centos7-docker-4c-2g-1237 in /w/workspace/gexfoundry_device-sdk-go_PR-1005 [Pipeline] { [Pipeline] ws [2021-07-31T03:24:14.282Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-07-31T03:24:14.422Z] Selected Git installation does not exist. Using Default [2021-07-31T03:24:14.422Z] The recommended git tool is: NONE [2021-07-31T03:24:16.325Z] 596795e73e0f: Pull complete [2021-07-31T03:24:16.325Z] Digest: sha256:8fdc37217a1dd7593ea05f088b02ef5bfb3cd8d6ab6705c4f2c080891875b7a0 [2021-07-31T03:24:16.325Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-31T03:24:16.325Z] ---> d9e956139c92 [2021-07-31T03:24:16.325Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-31T03:24:17.916Z] using credential edgex-jenkins-ssh [2021-07-31T03:24:17.931Z] Cloning the remote Git repository [2021-07-31T03:24:18.981Z] ---> Running in 67cac21cd5c1 [2021-07-31T03:24:18.038Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-07-31T03:24:18.118Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-07-31T03:24:18.157Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-07-31T03:24:18.157Z] > git --version # timeout=10 [2021-07-31T03:24:18.167Z] > git --version # 'git version 2.24.4' [2021-07-31T03:24:18.168Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-31T03:24:18.198Z] [INFO] Currently running in a labeled security context [2021-07-31T03:24:18.198Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-31T03:24:18.198Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh7085965727775711245.key [2021-07-31T03:24:18.215Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-31T03:24:18.885Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-07-31T03:24:18.895Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-31T03:24:18.908Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-07-31T03:24:18.928Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-07-31T03:24:18.928Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-31T03:24:18.932Z] [INFO] Currently running in a labeled security context [2021-07-31T03:24:18.932Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-31T03:24:18.932Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh4428358997680817783.key [2021-07-31T03:24:18.944Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1005/head:refs/remotes/origin/PR-1005 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-31T03:24:19.463Z] Merging remotes/origin/main commit 807401dd2d1b373fd4ec07b99e8020c82d165dff into PR head commit 78a8635e56f9b3c3cea61c13499687d1b6eae3c9 [2021-07-31T03:24:19.578Z] Removing intermediate container 67cac21cd5c1 [2021-07-31T03:24:19.578Z] ---> 280c8beece57 [2021-07-31T03:24:19.578Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-31T03:24:19.578Z] ---> Running in 18b040a5d799 [2021-07-31T03:24:19.579Z] Merge succeeded, producing 78a8635e56f9b3c3cea61c13499687d1b6eae3c9 [2021-07-31T03:24:19.579Z] Checking out Revision 78a8635e56f9b3c3cea61c13499687d1b6eae3c9 (PR-1005) [2021-07-31T03:24:19.471Z] > git config core.sparsecheckout # timeout=10 [2021-07-31T03:24:19.478Z] > git checkout -f 78a8635e56f9b3c3cea61c13499687d1b6eae3c9 # timeout=10 [2021-07-31T03:24:19.529Z] > git remote # timeout=10 [2021-07-31T03:24:19.536Z] > git config --get remote.origin.url # timeout=10 [2021-07-31T03:24:19.546Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-31T03:24:19.548Z] [INFO] Currently running in a labeled security context [2021-07-31T03:24:19.548Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-31T03:24:19.548Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh8208781923162417318.key [2021-07-31T03:24:19.555Z] > git merge 807401dd2d1b373fd4ec07b99e8020c82d165dff # timeout=10 [2021-07-31T03:24:19.566Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-31T03:24:19.580Z] > git config core.sparsecheckout # timeout=10 [2021-07-31T03:24:19.597Z] > git checkout -f 78a8635e56f9b3c3cea61c13499687d1b6eae3c9 # timeout=10 [2021-07-31T03:24:22.214Z] Removing intermediate container 18b040a5d799 [2021-07-31T03:24:22.214Z] ---> 2f484912883c [2021-07-31T03:24:22.214Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-07-31T03:24:22.214Z] ---> Running in 5a657a0e0f8d [2021-07-31T03:24:23.466Z] Commit message: "Merge branch 'main' into issue-templates" [2021-07-31T03:24:23.653Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-31T03:24:23.859Z] provisioning config files... [2021-07-31T03:24:23.883Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7909308263528123405tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-31T03:24:24.408Z] ---> docker-login.sh [2021-07-31T03:24:24.408Z] nexus3.edgexfoundry.org:10001 [2021-07-31T03:24:24.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T03:24:24.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T03:24:24.408Z] Configure a credential helper to remove this warning. See [2021-07-31T03:24:24.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T03:24:24.408Z] [2021-07-31T03:24:24.408Z] Login Succeeded [2021-07-31T03:24:24.408Z] nexus3.edgexfoundry.org:10002 [2021-07-31T03:24:24.637Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-31T03:24:24.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T03:24:24.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T03:24:24.681Z] Configure a credential helper to remove this warning. See [2021-07-31T03:24:24.681Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T03:24:24.681Z] [2021-07-31T03:24:24.681Z] Login Succeeded [2021-07-31T03:24:24.681Z] nexus3.edgexfoundry.org:10003 [2021-07-31T03:24:24.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T03:24:24.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T03:24:24.953Z] Configure a credential helper to remove this warning. See [2021-07-31T03:24:24.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T03:24:24.953Z] [2021-07-31T03:24:24.953Z] Login Succeeded [2021-07-31T03:24:24.953Z] nexus3.edgexfoundry.org:10004 [2021-07-31T03:24:24.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T03:24:24.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T03:24:24.953Z] Configure a credential helper to remove this warning. See [2021-07-31T03:24:24.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T03:24:24.953Z] [2021-07-31T03:24:24.953Z] Login Succeeded [2021-07-31T03:24:24.953Z] docker.io [2021-07-31T03:24:25.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T03:24:25.232Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-07-31T03:24:25.232Z] (2/6) Installing libsodium (1.0.18-r0) [2021-07-31T03:24:25.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T03:24:25.487Z] Configure a credential helper to remove this warning. See [2021-07-31T03:24:25.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T03:24:25.487Z] [2021-07-31T03:24:25.487Z] Login Succeeded [2021-07-31T03:24:25.487Z] ---> docker-login.sh ends [2021-07-31T03:24:25.508Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-07-31T03:24:25.509Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-07-31T03:24:25.509Z] (5/6) Installing libzmq (4.3.3-r1) [Pipeline] } [2021-07-31T03:24:25.545Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-31T03:24:25.761Z] ========================================================= [2021-07-31T03:24:25.761Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-31T03:24:25.761Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-07-31T03:24:25.788Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-07-31T03:24:25.788Z] Executing busybox-1.32.1-r6.trigger [2021-07-31T03:24:25.788Z] OK: 139 MiB in 46 packages [2021-07-31T03:24:26.099Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-07-31T03:24:26.099Z] Sending build context to Docker daemon 2.6MB [2021-07-31T03:24:26.099Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-31T03:24:26.099Z] Step 2/8 : FROM ${BASE} [2021-07-31T03:24:26.370Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-31T03:24:26.370Z] 540db60ca938: Pulling fs layer [2021-07-31T03:24:26.370Z] adcc1eea9eea: Pulling fs layer [2021-07-31T03:24:26.370Z] 4c4ab2625f07: Pulling fs layer [2021-07-31T03:24:26.370Z] 0773c198feca: Pulling fs layer [2021-07-31T03:24:26.370Z] 345f892a5656: Pulling fs layer [2021-07-31T03:24:26.370Z] 4796506630df: Pulling fs layer [2021-07-31T03:24:26.370Z] cc55df3e53f1: Pulling fs layer [2021-07-31T03:24:26.370Z] 4d027b6c602c: Pulling fs layer [2021-07-31T03:24:26.370Z] 449e75d2c14e: Pulling fs layer [2021-07-31T03:24:26.370Z] 0773c198feca: Waiting [2021-07-31T03:24:26.370Z] 345f892a5656: Waiting [2021-07-31T03:24:26.370Z] cc55df3e53f1: Waiting [2021-07-31T03:24:26.370Z] 4796506630df: Waiting [2021-07-31T03:24:26.370Z] 4d027b6c602c: Waiting [2021-07-31T03:24:26.370Z] 449e75d2c14e: Waiting [2021-07-31T03:24:26.370Z] 4c4ab2625f07: Verifying Checksum [2021-07-31T03:24:26.370Z] 4c4ab2625f07: Download complete [2021-07-31T03:24:26.370Z] adcc1eea9eea: Download complete [2021-07-31T03:24:26.370Z] 345f892a5656: Verifying Checksum [2021-07-31T03:24:26.370Z] 345f892a5656: Download complete [2021-07-31T03:24:26.370Z] 4796506630df: Verifying Checksum [2021-07-31T03:24:26.370Z] 4796506630df: Download complete [2021-07-31T03:24:26.370Z] 540db60ca938: Verifying Checksum [2021-07-31T03:24:26.370Z] 540db60ca938: Download complete [2021-07-31T03:24:26.370Z] cc55df3e53f1: Verifying Checksum [2021-07-31T03:24:26.370Z] cc55df3e53f1: Download complete [2021-07-31T03:24:26.642Z] 540db60ca938: Pull complete [2021-07-31T03:24:26.911Z] adcc1eea9eea: Pull complete [2021-07-31T03:24:26.911Z] 4d027b6c602c: Verifying Checksum [2021-07-31T03:24:26.911Z] 4d027b6c602c: Download complete [2021-07-31T03:24:26.911Z] 4c4ab2625f07: Pull complete [2021-07-31T03:24:27.231Z] Removing intermediate container 5a657a0e0f8d [2021-07-31T03:24:27.231Z] ---> 11f1c339f980 [2021-07-31T03:24:27.231Z] Step 6/8 : WORKDIR /device-sdk-go [2021-07-31T03:24:27.231Z] ---> Running in a6c2e27ddf96 [2021-07-31T03:24:27.829Z] Removing intermediate container a6c2e27ddf96 [2021-07-31T03:24:27.829Z] ---> a9c656adfce8 [2021-07-31T03:24:27.829Z] Step 7/8 : COPY . . [2021-07-31T03:24:29.270Z] ---> ad31d082810b [2021-07-31T03:24:29.270Z] Step 8/8 : RUN go mod download [2021-07-31T03:24:29.270Z] ---> Running in 27727657937c [2021-07-31T03:24:29.504Z] 449e75d2c14e: Download complete [2021-07-31T03:24:30.482Z] 0773c198feca: Verifying Checksum [2021-07-31T03:24:30.482Z] 0773c198feca: Download complete [2021-07-31T03:24:35.002Z] 0773c198feca: Pull complete [2021-07-31T03:24:35.002Z] 345f892a5656: Pull complete [2021-07-31T03:24:35.002Z] 4796506630df: Pull complete [2021-07-31T03:24:35.002Z] cc55df3e53f1: Pull complete [2021-07-31T03:24:35.002Z] 4d027b6c602c: Pull complete [2021-07-31T03:24:36.437Z] 449e75d2c14e: Pull complete [2021-07-31T03:24:36.437Z] Digest: sha256:a2fa0993ec4462abfc92311096d2e43e803cda49eb027de246ea451416b7a8a8 [2021-07-31T03:24:36.437Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-31T03:24:36.437Z] ---> 0d28375d9b5b [2021-07-31T03:24:36.437Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-31T03:24:38.403Z] ---> Running in 94eeb4f2edee [2021-07-31T03:24:38.403Z] Removing intermediate container 94eeb4f2edee [2021-07-31T03:24:38.403Z] ---> db685a157346 [2021-07-31T03:24:38.403Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-31T03:24:38.403Z] ---> Running in bd9efe170981 [2021-07-31T03:24:38.672Z] Removing intermediate container bd9efe170981 [2021-07-31T03:24:38.672Z] ---> 823aaa3708d5 [2021-07-31T03:24:38.672Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-07-31T03:24:38.672Z] ---> Running in 0ccaaf4668e1 [2021-07-31T03:24:38.942Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-31T03:24:39.906Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-31T03:24:40.499Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-07-31T03:24:40.499Z] (2/6) Installing libsodium (1.0.18-r0) [2021-07-31T03:24:40.770Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-07-31T03:24:40.770Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-07-31T03:24:40.770Z] (5/6) Installing libzmq (4.3.3-r1) [2021-07-31T03:24:41.039Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-07-31T03:24:41.039Z] Executing busybox-1.32.1-r6.trigger [2021-07-31T03:24:41.039Z] OK: 150 MiB in 46 packages [2021-07-31T03:24:41.308Z] Removing intermediate container 0ccaaf4668e1 [2021-07-31T03:24:41.308Z] ---> 5907d102abe6 [2021-07-31T03:24:41.308Z] Step 6/8 : WORKDIR /device-sdk-go [2021-07-31T03:24:41.308Z] ---> Running in d3dfa614f7ad [2021-07-31T03:24:41.308Z] Removing intermediate container d3dfa614f7ad [2021-07-31T03:24:41.308Z] ---> a2d209826ae2 [2021-07-31T03:24:41.308Z] Step 7/8 : COPY . . [2021-07-31T03:24:41.901Z] ---> 21b64a2e15bd [2021-07-31T03:24:41.901Z] Step 8/8 : RUN go mod download [2021-07-31T03:24:41.901Z] ---> Running in 6b4d5bab7679 [2021-07-31T03:24:52.052Z] Removing intermediate container 6b4d5bab7679 [2021-07-31T03:24:52.052Z] ---> 028210bd4702 [2021-07-31T03:24:52.052Z] Successfully built 028210bd4702 [2021-07-31T03:24:52.052Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-31T03:24:52.385Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-31T03:24:52.385Z] . [Pipeline] withDockerContainer [2021-07-31T03:24:52.488Z] prd-centos7-docker-4c-2g-1237 does not seem to be running inside a container [2021-07-31T03:24:52.556Z] $ 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-07-31T03:24:52.998Z] $ docker top 4a35f791f7c682a9ca7e508ae5daa369e426382d3383e13aae7090749496e2d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-31T03:24:53.450Z] + go version [2021-07-31T03:24:53.451Z] go version go1.16.5 linux/amd64 [Pipeline] } [2021-07-31T03:24:53.470Z] $ docker stop --time=1 4a35f791f7c682a9ca7e508ae5daa369e426382d3383e13aae7090749496e2d7 [2021-07-31T03:24:54.667Z] $ docker rm -f 4a35f791f7c682a9ca7e508ae5daa369e426382d3383e13aae7090749496e2d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-31T03:24:55.327Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-31T03:24:55.327Z] . [Pipeline] withDockerContainer [2021-07-31T03:24:55.431Z] prd-centos7-docker-4c-2g-1237 does not seem to be running inside a container [2021-07-31T03:24:55.500Z] $ 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-07-31T03:24:55.866Z] $ docker top a5993817c7d36816c9d602d1d8c2dfd9f8edd6f2e081b259d8f4da8d21f17fea -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-31T03:24:56.285Z] + go mod tidy [Pipeline] sh [2021-07-31T03:24:56.898Z] + make test [2021-07-31T03:24:56.898Z] go mod tidy [2021-07-31T03:24:56.898Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-07-31T03:25:01.624Z] Removing intermediate container 27727657937c [2021-07-31T03:25:01.624Z] ---> d5863fab7c3e [2021-07-31T03:25:01.624Z] Successfully built d5863fab7c3e [2021-07-31T03:25:01.624Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-31T03:25:01.993Z] + docker inspect -f . ci-base-image-arm64 [2021-07-31T03:25:01.993Z] . [Pipeline] withDockerContainer [2021-07-31T03:25:02.276Z] prd-ubuntu18.04-docker-arm64-4c-16g-1236 does not seem to be running inside a container [2021-07-31T03:25:02.354Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-07-31T03:25:02.362Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2021-07-31T03:25:04.082Z] $ docker top c6bf1bd865abe1fb2c516a327cec8a002a7eb49de562b14564f4e9f9e7034588 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-31T03:25:05.107Z] + go version [2021-07-31T03:25:05.107Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-31T03:25:05.130Z] $ docker stop --time=1 c6bf1bd865abe1fb2c516a327cec8a002a7eb49de562b14564f4e9f9e7034588 [2021-07-31T03:25:06.992Z] $ docker rm -f c6bf1bd865abe1fb2c516a327cec8a002a7eb49de562b14564f4e9f9e7034588 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-31T03:25:07.866Z] + docker inspect -f . ci-base-image-arm64 [2021-07-31T03:25:07.866Z] . [Pipeline] withDockerContainer [2021-07-31T03:25:08.128Z] prd-ubuntu18.04-docker-arm64-4c-16g-1236 does not seem to be running inside a container [2021-07-31T03:25:08.207Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2021-07-31T03:25:09.906Z] $ docker top 16387ab4352a2ad975b3c43d2de0dde27be5e9dcf7db56692343bd2330be6633 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-31T03:25:10.891Z] + go mod tidy [Pipeline] sh [2021-07-31T03:25:12.164Z] + make test [2021-07-31T03:25:12.164Z] go mod tidy [2021-07-31T03:25:12.775Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-07-31T03:25:29.139Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-07-31T03:25:29.139Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-07-31T03:25:29.139Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-07-31T03:25:29.139Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.053s coverage: 24.2% of statements [2021-07-31T03:25:29.139Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-07-31T03:25:29.139Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.047s coverage: 28.1% of statements [2021-07-31T03:25:29.139Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.050s coverage: 78.9% of statements [2021-07-31T03:25:29.745Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.044s coverage: 9.0% of statements [2021-07-31T03:25:29.745Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-07-31T03:25:29.745Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-07-31T03:25:29.745Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-07-31T03:25:30.021Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.078s coverage: 28.7% of statements [2021-07-31T03:25:30.021Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-07-31T03:25:31.442Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.063s coverage: 83.3% of statements [2021-07-31T03:25:31.442Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-07-31T03:25:31.442Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-07-31T03:25:31.442Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.076s coverage: 58.0% of statements [2021-07-31T03:25:32.410Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.791s coverage: 89.2% of statements [2021-07-31T03:25:32.410Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-07-31T03:25:32.410Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.047s coverage: 4.9% of statements [2021-07-31T03:25:32.410Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-07-31T03:25:32.410Z] GO111MODULE=on go vet ./... [2021-07-31T03:25:34.975Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-07-31T03:25:50.759Z] gofmt -l . [2021-07-31T03:25:50.759Z] [ "`gofmt -l .`" = "" ] [2021-07-31T03:25:50.759Z] ./bin/test-attribution-txt.sh [2021-07-31T03:25:50.759Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-07-31T03:25:50.777Z] $ docker stop --time=1 a5993817c7d36816c9d602d1d8c2dfd9f8edd6f2e081b259d8f4da8d21f17fea [2021-07-31T03:25:52.279Z] $ docker rm -f a5993817c7d36816c9d602d1d8c2dfd9f8edd6f2e081b259d8f4da8d21f17fea [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-31T03:25:52.778Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-31T03:25:53.047Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-07-31T03:25:55.728Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-31T03:25:56.042Z] + ls -al . [2021-07-31T03:25:56.042Z] total 228 [2021-07-31T03:25:56.042Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jul 31 03:25 . [2021-07-31T03:25:56.042Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 31 03:24 .. [2021-07-31T03:25:56.042Z] drwxrwxr-x. 2 jenkins jenkins 64 Jul 31 03:24 bin [2021-07-31T03:25:56.042Z] -rw-rw-r--. 1 jenkins jenkins 24816 Jul 31 03:24 CHANGELOG.md [2021-07-31T03:25:56.042Z] -rw-r--r--. 1 jenkins jenkins 125634 Jul 31 03:25 coverage.out [2021-07-31T03:25:56.042Z] -rw-rw-r--. 1 jenkins jenkins 987 Jul 31 03:24 Dockerfile.build [2021-07-31T03:25:56.042Z] -rw-rw-r--. 1 jenkins jenkins 140 Jul 31 03:24 .dockerignore [2021-07-31T03:25:56.042Z] drwxrwxr-x. 5 jenkins jenkins 62 Jul 31 03:24 example [2021-07-31T03:25:56.042Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 31 03:24 .git [2021-07-31T03:25:56.042Z] drwxrwxr-x. 3 jenkins jenkins 125 Jul 31 03:24 .github [2021-07-31T03:25:56.042Z] -rw-rw-r--. 1 jenkins jenkins 138 Jul 31 03:24 .gitignore [2021-07-31T03:25:56.042Z] -rw-r--r--. 1 jenkins jenkins 548 Jul 31 03:25 go.mod [2021-07-31T03:25:56.042Z] -rw-r--r--. 1 jenkins jenkins 20301 Jul 31 03:24 go.sum [2021-07-31T03:25:56.042Z] drwxrwxr-x. 15 jenkins jenkins 224 Jul 31 03:24 internal [2021-07-31T03:25:56.042Z] -rw-rw-r--. 1 jenkins jenkins 880 Jul 31 03:24 Jenkinsfile [2021-07-31T03:25:56.042Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jul 31 03:24 LICENSE [2021-07-31T03:25:56.042Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jul 31 03:24 Makefile [2021-07-31T03:25:56.042Z] drwxrwxr-x. 3 jenkins jenkins 16 Jul 31 03:24 openapi [2021-07-31T03:25:56.042Z] drwxrwxr-x. 5 jenkins jenkins 50 Jul 31 03:24 pkg [2021-07-31T03:25:56.042Z] -rw-rw-r--. 1 jenkins jenkins 7646 Jul 31 03:24 README.md [2021-07-31T03:25:56.042Z] drwxrwxr-x. 4 jenkins jenkins 54 Jul 31 03:24 snap [2021-07-31T03:25:56.042Z] -rw-rw-r--. 1 jenkins jenkins 5 Jul 31 03:21 VERSION [2021-07-31T03:25:56.042Z] -rw-rw-r--. 1 jenkins jenkins 222 Jul 31 03:24 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-31T03:25:56.365Z] + 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=78a8635e56f9b3c3cea61c13499687d1b6eae3c9 --label arch=amd64 --label version=0.0.0 . [2021-07-31T03:25:56.365Z] Sending build context to Docker daemon 2.726MB [2021-07-31T03:25:56.365Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-07-31T03:25:56.365Z] Step 2/23 : FROM ${BASE} AS builder [2021-07-31T03:25:56.365Z] ---> 028210bd4702 [2021-07-31T03:25:56.365Z] Step 3/23 : WORKDIR /device-sdk-go [2021-07-31T03:25:56.365Z] ---> Running in 66cb90faa6dc [2021-07-31T03:25:56.633Z] Removing intermediate container 66cb90faa6dc [2021-07-31T03:25:56.633Z] ---> bd5d5e3b6a79 [2021-07-31T03:25:56.634Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-31T03:25:56.634Z] ---> Running in cc7a090b80df [2021-07-31T03:25:56.634Z] Removing intermediate container cc7a090b80df [2021-07-31T03:25:56.634Z] ---> e2c648c6dd37 [2021-07-31T03:25:56.634Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-31T03:25:56.901Z] ---> Running in 6587270f7a2f [2021-07-31T03:25:57.169Z] Removing intermediate container 6587270f7a2f [2021-07-31T03:25:57.169Z] ---> d249443f1ee8 [2021-07-31T03:25:57.169Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-07-31T03:25:57.440Z] ---> Running in 622874b82f1a [2021-07-31T03:25:57.716Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-31T03:25:58.302Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-31T03:25:58.896Z] OK: 150 MiB in 46 packages [2021-07-31T03:25:59.163Z] Removing intermediate container 622874b82f1a [2021-07-31T03:25:59.163Z] ---> f5f91455d63e [2021-07-31T03:25:59.163Z] Step 7/23 : COPY . . [2021-07-31T03:25:59.431Z] ---> 8491242ab1fa [2021-07-31T03:25:59.431Z] Step 8/23 : RUN go mod download [2021-07-31T03:25:59.431Z] ---> Running in d550637ac2c6 [2021-07-31T03:26:00.020Z] Removing intermediate container d550637ac2c6 [2021-07-31T03:26:00.020Z] ---> 4d1de56ca775 [2021-07-31T03:26:00.020Z] Step 9/23 : RUN make build [2021-07-31T03:26:00.020Z] ---> Running in 13227808c972 [2021-07-31T03:26:00.297Z] go mod tidy [2021-07-31T03:26:00.573Z] 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-07-31T03:26:10.740Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-07-31T03:26:11.322Z] Removing intermediate container 13227808c972 [2021-07-31T03:26:11.322Z] ---> a2add0c7645b [2021-07-31T03:26:11.322Z] Step 10/23 : FROM alpine:3.12 [2021-07-31T03:26:11.905Z] 3.12: Pulling from library/alpine [2021-07-31T03:26:11.905Z] 339de151aab4: Pulling fs layer [2021-07-31T03:26:12.172Z] 339de151aab4: Verifying Checksum [2021-07-31T03:26:12.172Z] 339de151aab4: Download complete [2021-07-31T03:26:12.172Z] 339de151aab4: Pull complete [2021-07-31T03:26:12.443Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-07-31T03:26:12.443Z] Status: Downloaded newer image for alpine:3.12 [2021-07-31T03:26:12.443Z] ---> 13621d1b12d4 [2021-07-31T03:26:12.443Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-31T03:26:12.443Z] ---> Running in 66dd59ce0939 [2021-07-31T03:26:12.443Z] Removing intermediate container 66dd59ce0939 [2021-07-31T03:26:12.443Z] ---> 2e8108baae65 [2021-07-31T03:26:12.443Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-31T03:26:12.443Z] ---> Running in 327f4c12f54d [2021-07-31T03:26:13.037Z] Removing intermediate container 327f4c12f54d [2021-07-31T03:26:13.037Z] ---> eace1236e402 [2021-07-31T03:26:13.037Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-07-31T03:26:13.037Z] ---> Running in b8e91e28ba7d [2021-07-31T03:26:13.303Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-07-31T03:26:13.887Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-07-31T03:26:14.473Z] (1/5) Installing libgcc (9.3.0-r2) [2021-07-31T03:26:14.473Z] (2/5) Installing libsodium (1.0.18-r0) [2021-07-31T03:26:14.739Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-07-31T03:26:14.739Z] (4/5) Installing libzmq (4.3.3-r0) [2021-07-31T03:26:15.007Z] (5/5) Installing zeromq (4.3.3-r0) [2021-07-31T03:26:15.007Z] Executing busybox-1.31.1-r20.trigger [2021-07-31T03:26:15.007Z] OK: 8 MiB in 19 packages [2021-07-31T03:26:15.277Z] Removing intermediate container b8e91e28ba7d [2021-07-31T03:26:15.277Z] ---> 16492d889c0a [2021-07-31T03:26:15.277Z] Step 14/23 : WORKDIR / [2021-07-31T03:26:15.277Z] ---> Running in a54de63f0954 [2021-07-31T03:26:15.277Z] Removing intermediate container a54de63f0954 [2021-07-31T03:26:15.277Z] ---> 43851399334d [2021-07-31T03:26:15.277Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-07-31T03:26:15.546Z] ---> 3ccd2c407539 [2021-07-31T03:26:15.546Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-07-31T03:26:15.812Z] ---> 05e01cc4611a [2021-07-31T03:26:15.812Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-07-31T03:26:16.081Z] ---> 77788ec0e57e [2021-07-31T03:26:16.081Z] Step 18/23 : EXPOSE 59999 [2021-07-31T03:26:16.081Z] ---> Running in 572b5b28a55e [2021-07-31T03:26:16.081Z] Removing intermediate container 572b5b28a55e [2021-07-31T03:26:16.081Z] ---> 41fed393c604 [2021-07-31T03:26:16.081Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-07-31T03:26:16.081Z] ---> Running in f6b620439d68 [2021-07-31T03:26:16.352Z] Removing intermediate container f6b620439d68 [2021-07-31T03:26:16.352Z] ---> 70efdf18d606 [2021-07-31T03:26:16.352Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-07-31T03:26:16.352Z] ---> Running in 2f71bf8d751a [2021-07-31T03:26:16.352Z] Removing intermediate container 2f71bf8d751a [2021-07-31T03:26:16.352Z] ---> c416750cd86c [2021-07-31T03:26:16.352Z] Step 21/23 : LABEL arch=amd64 [2021-07-31T03:26:16.352Z] ---> Running in c5bebb7c1f2b [2021-07-31T03:26:16.352Z] Removing intermediate container c5bebb7c1f2b [2021-07-31T03:26:16.352Z] ---> 42a7b682ad85 [2021-07-31T03:26:16.352Z] Step 22/23 : LABEL git_sha=78a8635e56f9b3c3cea61c13499687d1b6eae3c9 [2021-07-31T03:26:16.620Z] ---> Running in 18c42ff5367a [2021-07-31T03:26:16.621Z] Removing intermediate container 18c42ff5367a [2021-07-31T03:26:16.621Z] ---> 527748bba86a [2021-07-31T03:26:16.621Z] Step 23/23 : LABEL version=0.0.0 [2021-07-31T03:26:16.621Z] ---> Running in bbace65d5525 [2021-07-31T03:26:16.621Z] Removing intermediate container bbace65d5525 [2021-07-31T03:26:16.621Z] ---> 49aab7e9af83 [2021-07-31T03:26:16.621Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-07-31T03:26:16.621Z] Successfully built 49aab7e9af83 [2021-07-31T03:26:16.621Z] 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-07-31T03:26:17.354Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-31T03:26:17.354Z] [2021-07-31T03:26:17.354Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-31T03:26:17.697Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-31T03:26:17.697Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-31T03:26:17.697Z] b4d181a07f80: Pulling fs layer [2021-07-31T03:26:17.697Z] a1111a8f2ec3: Pulling fs layer [2021-07-31T03:26:17.697Z] ed53099fbce6: Pulling fs layer [2021-07-31T03:26:17.697Z] dc539afda2c1: Pulling fs layer [2021-07-31T03:26:17.697Z] 77bc0d833cb6: Pulling fs layer [2021-07-31T03:26:17.697Z] 9065ff56babe: Pulling fs layer [2021-07-31T03:26:17.697Z] d287ab97295c: Pulling fs layer [2021-07-31T03:26:17.697Z] 77bc0d833cb6: Waiting [2021-07-31T03:26:17.697Z] 9065ff56babe: Waiting [2021-07-31T03:26:17.697Z] dc539afda2c1: Waiting [2021-07-31T03:26:17.697Z] d287ab97295c: Waiting [2021-07-31T03:26:17.962Z] a1111a8f2ec3: Verifying Checksum [2021-07-31T03:26:17.962Z] a1111a8f2ec3: Download complete [2021-07-31T03:26:17.962Z] dc539afda2c1: Verifying Checksum [2021-07-31T03:26:17.962Z] dc539afda2c1: Download complete [2021-07-31T03:26:18.232Z] 77bc0d833cb6: Verifying Checksum [2021-07-31T03:26:18.232Z] 77bc0d833cb6: Download complete [2021-07-31T03:26:18.232Z] 9065ff56babe: Verifying Checksum [2021-07-31T03:26:18.232Z] 9065ff56babe: Download complete [2021-07-31T03:26:18.232Z] ed53099fbce6: Verifying Checksum [2021-07-31T03:26:18.232Z] ed53099fbce6: Download complete [2021-07-31T03:26:18.818Z] b4d181a07f80: Verifying Checksum [2021-07-31T03:26:18.818Z] b4d181a07f80: Download complete [2021-07-31T03:26:19.789Z] b4d181a07f80: Pull complete [2021-07-31T03:26:20.054Z] a1111a8f2ec3: Pull complete [2021-07-31T03:26:20.641Z] ed53099fbce6: Pull complete [2021-07-31T03:26:20.641Z] dc539afda2c1: Pull complete [2021-07-31T03:26:20.915Z] 77bc0d833cb6: Pull complete [2021-07-31T03:26:20.915Z] 9065ff56babe: Pull complete [2021-07-31T03:26:22.862Z] d287ab97295c: Verifying Checksum [2021-07-31T03:26:22.862Z] d287ab97295c: Download complete [2021-07-31T03:26:27.137Z] d287ab97295c: Pull complete [2021-07-31T03:26:27.137Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-31T03:26:27.137Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-31T03:26:27.137Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-31T03:26:27.234Z] prd-centos7-docker-4c-2g-1237 does not seem to be running inside a container [2021-07-31T03:26:27.326Z] $ 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-07-31T03:26:30.204Z] $ docker top 5558253557e169b096b7313ba5717e0c9b748ac81682ef059aa30d6d3abcc505 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-31T03:26:30.822Z] ---> job-cost.sh [2021-07-31T03:26:30.823Z] lf-activate-venv: SKIPPING [2021-07-31T03:26:30.823Z] INFO: No Stack... [2021-07-31T03:26:32.229Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-31T03:26:32.813Z] INFO: Archiving Costs [Pipeline] sh [2021-07-31T03:26:33.135Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-07-31T03:26:33.135Z] + cut -d, -f6 [Pipeline] lock [2021-07-31T03:26:33.177Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1005-2-stack-cost] [2021-07-31T03:26:33.188Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1005-2-stack-cost] did not exist. Created. [2021-07-31T03:26:33.188Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1005-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-31T03:26:33.530Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-31T03:26:33.576Z] Stashed 1 file(s) [Pipeline] } [2021-07-31T03:26:33.588Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1005-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-31T03:26:33.616Z] $ docker stop --time=1 5558253557e169b096b7313ba5717e0c9b748ac81682ef059aa30d6d3abcc505 [2021-07-31T03:26:34.759Z] $ docker rm -f 5558253557e169b096b7313ba5717e0c9b748ac81682ef059aa30d6d3abcc505 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-31T03:26:43.107Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-07-31T03:26:43.107Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-07-31T03:26:43.107Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-07-31T03:26:49.877Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.269s coverage: 24.2% of statements [2021-07-31T03:26:49.877Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-07-31T03:26:49.877Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.180s coverage: 28.1% of statements [2021-07-31T03:26:49.877Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.246s coverage: 78.9% of statements [2021-07-31T03:26:49.877Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.300s coverage: 9.0% of statements [2021-07-31T03:26:49.877Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-07-31T03:26:49.877Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-07-31T03:26:49.877Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-07-31T03:26:51.322Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.329s coverage: 28.7% of statements [2021-07-31T03:26:51.322Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-07-31T03:26:53.317Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.219s coverage: 83.3% of statements [2021-07-31T03:26:53.317Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-07-31T03:26:53.317Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-07-31T03:26:53.317Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.346s coverage: 58.0% of statements [2021-07-31T03:26:56.720Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.018s coverage: 89.2% of statements [2021-07-31T03:26:56.720Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-07-31T03:26:56.720Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.181s coverage: 4.9% of statements [2021-07-31T03:26:56.720Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-07-31T03:26:56.995Z] GO111MODULE=on go vet ./... [2021-07-31T03:27:53.628Z] gofmt -l . [2021-07-31T03:27:53.628Z] [ "`gofmt -l .`" = "" ] [2021-07-31T03:27:53.628Z] ./bin/test-attribution-txt.sh [2021-07-31T03:27:53.903Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-07-31T03:27:54.535Z] $ docker stop --time=1 16387ab4352a2ad975b3c43d2de0dde27be5e9dcf7db56692343bd2330be6633 [2021-07-31T03:27:56.631Z] $ docker rm -f 16387ab4352a2ad975b3c43d2de0dde27be5e9dcf7db56692343bd2330be6633 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-31T03:27:57.777Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-31T03:27:57.811Z] Warning: overwriting stash ‘coverage-report’ [2021-07-31T03:27:58.427Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-31T03:27:58.982Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-31T03:27:59.321Z] + ls -al . [2021-07-31T03:27:59.321Z] total 264 [2021-07-31T03:27:59.321Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 31 03:27 . [2021-07-31T03:27:59.321Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 03:23 .. [2021-07-31T03:27:59.321Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 31 03:23 .dockerignore [2021-07-31T03:27:59.321Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 03:23 .git [2021-07-31T03:27:59.321Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 03:23 .github [2021-07-31T03:27:59.321Z] -rw-rw-r-- 1 jenkins jenkins 138 Jul 31 03:23 .gitignore [2021-07-31T03:27:59.321Z] -rw-rw-r-- 1 jenkins jenkins 24816 Jul 31 03:23 CHANGELOG.md [2021-07-31T03:27:59.321Z] -rw-rw-r-- 1 jenkins jenkins 987 Jul 31 03:23 Dockerfile.build [2021-07-31T03:27:59.321Z] -rw-rw-r-- 1 jenkins jenkins 880 Jul 31 03:23 Jenkinsfile [2021-07-31T03:27:59.321Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 31 03:23 LICENSE [2021-07-31T03:27:59.321Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jul 31 03:23 Makefile [2021-07-31T03:27:59.321Z] -rw-rw-r-- 1 jenkins jenkins 7646 Jul 31 03:23 README.md [2021-07-31T03:27:59.321Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 31 03:21 VERSION [2021-07-31T03:27:59.321Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 03:23 bin [2021-07-31T03:27:59.321Z] -rw-r--r-- 1 jenkins jenkins 125634 Jul 31 03:26 coverage.out [2021-07-31T03:27:59.321Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 31 03:23 example [2021-07-31T03:27:59.321Z] -rw-r--r-- 1 jenkins jenkins 548 Jul 31 03:27 go.mod [2021-07-31T03:27:59.321Z] -rw-r--r-- 1 jenkins jenkins 20301 Jul 31 03:25 go.sum [2021-07-31T03:27:59.321Z] drwxrwxr-x 15 jenkins jenkins 4096 Jul 31 03:23 internal [2021-07-31T03:27:59.321Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 03:23 openapi [2021-07-31T03:27:59.321Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 31 03:23 pkg [2021-07-31T03:27:59.321Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 03:23 snap [2021-07-31T03:27:59.321Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 31 03:23 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-31T03:27:59.678Z] + 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=78a8635e56f9b3c3cea61c13499687d1b6eae3c9 --label arch=arm64 --label version=0.0.0 . [2021-07-31T03:28:00.287Z] Sending build context to Docker daemon 2.725MB [2021-07-31T03:28:00.287Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-07-31T03:28:00.287Z] Step 2/23 : FROM ${BASE} AS builder [2021-07-31T03:28:00.287Z] ---> d5863fab7c3e [2021-07-31T03:28:00.287Z] Step 3/23 : WORKDIR /device-sdk-go [2021-07-31T03:28:00.563Z] ---> Running in 69d9221d6475 [2021-07-31T03:28:01.168Z] Removing intermediate container 69d9221d6475 [2021-07-31T03:28:01.168Z] ---> e5bbac34d9c0 [2021-07-31T03:28:01.168Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-31T03:28:01.168Z] ---> Running in 2f747631c4d3 [2021-07-31T03:28:01.771Z] Removing intermediate container 2f747631c4d3 [2021-07-31T03:28:01.771Z] ---> d68d09811b1c [2021-07-31T03:28:01.771Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-31T03:28:02.045Z] ---> Running in 4d887efa23b0 [2021-07-31T03:28:04.039Z] Removing intermediate container 4d887efa23b0 [2021-07-31T03:28:04.039Z] ---> 281163e001e1 [2021-07-31T03:28:04.039Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-07-31T03:28:04.315Z] ---> Running in d85410c26439 [2021-07-31T03:28:05.297Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-31T03:28:06.271Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-31T03:28:07.255Z] OK: 139 MiB in 46 packages [2021-07-31T03:28:08.240Z] Removing intermediate container d85410c26439 [2021-07-31T03:28:08.240Z] ---> 125e0f8d6eb2 [2021-07-31T03:28:08.240Z] Step 7/23 : COPY . . [2021-07-31T03:28:09.681Z] ---> e61d8f6afd71 [2021-07-31T03:28:09.681Z] Step 8/23 : RUN go mod download [2021-07-31T03:28:09.681Z] ---> Running in c1118533ee37 [2021-07-31T03:28:12.307Z] Removing intermediate container c1118533ee37 [2021-07-31T03:28:12.307Z] ---> 15dea5bb75b9 [2021-07-31T03:28:12.307Z] Step 9/23 : RUN make build [2021-07-31T03:28:12.307Z] ---> Running in ece19f0cac6c [2021-07-31T03:28:13.749Z] go mod tidy [2021-07-31T03:28:14.026Z] 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-07-31T03:28:46.441Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-07-31T03:28:48.426Z] Removing intermediate container ece19f0cac6c [2021-07-31T03:28:48.426Z] ---> b49d4f6a1c6f [2021-07-31T03:28:48.426Z] Step 10/23 : FROM alpine:3.12 [2021-07-31T03:28:49.024Z] 3.12: Pulling from library/alpine [2021-07-31T03:28:49.299Z] d2f70382dc9a: Pulling fs layer [2021-07-31T03:28:49.575Z] d2f70382dc9a: Verifying Checksum [2021-07-31T03:28:49.575Z] d2f70382dc9a: Download complete [2021-07-31T03:28:50.179Z] d2f70382dc9a: Pull complete [2021-07-31T03:28:50.179Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-07-31T03:28:50.179Z] Status: Downloaded newer image for alpine:3.12 [2021-07-31T03:28:50.179Z] ---> c4fd0aeabfcf [2021-07-31T03:28:50.179Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-31T03:28:50.454Z] ---> Running in 8128f65e7073 [2021-07-31T03:28:51.053Z] Removing intermediate container 8128f65e7073 [2021-07-31T03:28:51.053Z] ---> 29e2287b89ef [2021-07-31T03:28:51.053Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-31T03:28:51.053Z] ---> Running in 9c04f6e3c41d [2021-07-31T03:28:53.684Z] Removing intermediate container 9c04f6e3c41d [2021-07-31T03:28:53.684Z] ---> bbf2e88c0996 [2021-07-31T03:28:53.684Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-07-31T03:28:53.684Z] ---> Running in c35ebe0d9717 [2021-07-31T03:28:54.667Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-07-31T03:28:55.643Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-07-31T03:28:56.243Z] (1/5) Installing libgcc (9.3.0-r2) [2021-07-31T03:28:56.243Z] (2/5) Installing libsodium (1.0.18-r0) [2021-07-31T03:28:56.243Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-07-31T03:28:56.837Z] (4/5) Installing libzmq (4.3.3-r0) [2021-07-31T03:28:57.112Z] (5/5) Installing zeromq (4.3.3-r0) [2021-07-31T03:28:57.112Z] Executing busybox-1.31.1-r20.trigger [2021-07-31T03:28:57.112Z] OK: 8 MiB in 19 packages [2021-07-31T03:28:58.557Z] Removing intermediate container c35ebe0d9717 [2021-07-31T03:28:58.557Z] ---> 94ae72e9c504 [2021-07-31T03:28:58.557Z] Step 14/23 : WORKDIR / [2021-07-31T03:28:58.557Z] ---> Running in 050110671a72 [2021-07-31T03:28:59.155Z] Removing intermediate container 050110671a72 [2021-07-31T03:28:59.155Z] ---> 48be928147bc [2021-07-31T03:28:59.155Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-07-31T03:28:59.754Z] ---> f931fa1f8715 [2021-07-31T03:28:59.754Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-07-31T03:29:01.204Z] ---> 8c5764ce4e89 [2021-07-31T03:29:01.204Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-07-31T03:29:02.195Z] ---> c849770d833e [2021-07-31T03:29:02.195Z] Step 18/23 : EXPOSE 59999 [2021-07-31T03:29:02.195Z] ---> Running in ff4866477088 [2021-07-31T03:29:02.796Z] Removing intermediate container ff4866477088 [2021-07-31T03:29:02.796Z] ---> 39ee5e54e269 [2021-07-31T03:29:02.796Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-07-31T03:29:02.796Z] ---> Running in 9abeae475112 [2021-07-31T03:29:03.396Z] Removing intermediate container 9abeae475112 [2021-07-31T03:29:03.396Z] ---> f85837970ea9 [2021-07-31T03:29:03.396Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-07-31T03:29:03.396Z] ---> Running in 572d5fbcc1cf [2021-07-31T03:29:03.995Z] Removing intermediate container 572d5fbcc1cf [2021-07-31T03:29:03.995Z] ---> 6ed115b39e74 [2021-07-31T03:29:03.995Z] Step 21/23 : LABEL arch=arm64 [2021-07-31T03:29:03.995Z] ---> Running in 1992c2cf57e3 [2021-07-31T03:29:04.593Z] Removing intermediate container 1992c2cf57e3 [2021-07-31T03:29:04.593Z] ---> 5aaf1639ac0d [2021-07-31T03:29:04.593Z] Step 22/23 : LABEL git_sha=78a8635e56f9b3c3cea61c13499687d1b6eae3c9 [2021-07-31T03:29:04.867Z] ---> Running in 425e9fb95127 [2021-07-31T03:29:05.142Z] Removing intermediate container 425e9fb95127 [2021-07-31T03:29:05.142Z] ---> 22b560aec1bb [2021-07-31T03:29:05.142Z] Step 23/23 : LABEL version=0.0.0 [2021-07-31T03:29:05.417Z] ---> Running in e14dd1469d8c [2021-07-31T03:29:06.012Z] Removing intermediate container e14dd1469d8c [2021-07-31T03:29:06.012Z] ---> a7848bbf4780 [2021-07-31T03:29:06.012Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-07-31T03:29:06.012Z] Successfully built a7848bbf4780 [2021-07-31T03:29:06.012Z] 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-07-31T03:29:06.710Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-31T03:29:06.710Z] [2021-07-31T03:29:06.710Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-07-31T03:29:07.352Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-31T03:29:07.628Z] arm64: Pulling from edgex-lftools-log-publisher [2021-07-31T03:29:07.628Z] 448f6bf000e3: Pulling fs layer [2021-07-31T03:29:07.628Z] f757da607395: Pulling fs layer [2021-07-31T03:29:07.628Z] 05883995daec: Pulling fs layer [2021-07-31T03:29:07.628Z] 8603b9c90790: Pulling fs layer [2021-07-31T03:29:07.628Z] 1560dd03e051: Pulling fs layer [2021-07-31T03:29:07.628Z] 27f5ce0e4adf: Pulling fs layer [2021-07-31T03:29:07.628Z] c2d8d7efcc4b: Pulling fs layer [2021-07-31T03:29:07.628Z] 1560dd03e051: Waiting [2021-07-31T03:29:07.628Z] 27f5ce0e4adf: Waiting [2021-07-31T03:29:07.628Z] 8603b9c90790: Waiting [2021-07-31T03:29:07.905Z] f757da607395: Verifying Checksum [2021-07-31T03:29:07.905Z] f757da607395: Download complete [2021-07-31T03:29:07.905Z] 8603b9c90790: Download complete [2021-07-31T03:29:08.180Z] 1560dd03e051: Verifying Checksum [2021-07-31T03:29:08.180Z] 1560dd03e051: Download complete [2021-07-31T03:29:08.180Z] 27f5ce0e4adf: Download complete [2021-07-31T03:29:08.180Z] 05883995daec: Verifying Checksum [2021-07-31T03:29:08.180Z] 05883995daec: Download complete [2021-07-31T03:29:08.778Z] 448f6bf000e3: Verifying Checksum [2021-07-31T03:29:08.779Z] 448f6bf000e3: Download complete [2021-07-31T03:29:12.187Z] c2d8d7efcc4b: Verifying Checksum [2021-07-31T03:29:12.187Z] c2d8d7efcc4b: Download complete [2021-07-31T03:29:12.187Z] 448f6bf000e3: Pull complete [2021-07-31T03:29:13.173Z] f757da607395: Pull complete [2021-07-31T03:29:14.614Z] 05883995daec: Pull complete [2021-07-31T03:29:14.888Z] 8603b9c90790: Pull complete [2021-07-31T03:29:15.872Z] 1560dd03e051: Pull complete [2021-07-31T03:29:16.145Z] 27f5ce0e4adf: Pull complete [2021-07-31T03:29:31.278Z] c2d8d7efcc4b: Pull complete [2021-07-31T03:29:31.278Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-07-31T03:29:31.278Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-31T03:29:31.278Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-07-31T03:29:31.552Z] prd-ubuntu18.04-docker-arm64-4c-16g-1236 does not seem to be running inside a container [2021-07-31T03:29:31.643Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-07-31T03:29:35.672Z] $ docker top c4b8723656e891d6085a0b6c86a251e45abe7ed2e3333d874992e6db6ae06d9e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-31T03:29:36.662Z] ---> job-cost.sh [2021-07-31T03:29:36.662Z] lf-activate-venv: SKIPPING [2021-07-31T03:29:36.662Z] INFO: No Stack... [2021-07-31T03:29:37.645Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-31T03:29:37.920Z] INFO: Archiving Costs [Pipeline] sh [2021-07-31T03:29:38.590Z] + + cat /w/workspace/device-sdk-go/2/archives/cost.csvcut [2021-07-31T03:29:38.590Z] -d, -f6 [Pipeline] lock [2021-07-31T03:29:38.656Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1005-2-stack-cost] [2021-07-31T03:29:38.684Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1005-2-stack-cost] did not exist. Created. [2021-07-31T03:29:38.684Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1005-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-31T03:29:39.394Z] /w/workspace/device-sdk-go/2@tmp/durable-41fe16e8/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-41fe16e8/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-31T03:29:40.075Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-31T03:29:40.100Z] Warning: overwriting stash ‘stack-cost’ [2021-07-31T03:29:40.158Z] Stashed 1 file(s) [Pipeline] } [2021-07-31T03:29:40.177Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1005-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-31T03:29:40.209Z] $ docker stop --time=1 c4b8723656e891d6085a0b6c86a251e45abe7ed2e3333d874992e6db6ae06d9e [2021-07-31T03:29:41.822Z] $ docker rm -f c4b8723656e891d6085a0b6c86a251e45abe7ed2e3333d874992e6db6ae06d9e [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-07-31T03:29:42.925Z] provisioning config files... [2021-07-31T03:29:42.950Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1005@tmp/config1575533668386942011tmp [Pipeline] { [Pipeline] sh [2021-07-31T03:29:43.290Z] + set +x [2021-07-31T03:29:43.290Z] + curl -s https://codecov.io/bash [2021-07-31T03:29:43.290Z] + bash -s -- [2021-07-31T03:29:43.290Z] [2021-07-31T03:29:43.290Z] _____ _ [2021-07-31T03:29:43.290Z] / ____| | | [2021-07-31T03:29:43.290Z] | | ___ __| | ___ ___ _____ __ [2021-07-31T03:29:43.290Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-07-31T03:29:43.290Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-07-31T03:29:43.290Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-07-31T03:29:43.290Z] Bash-1.0.6 [2021-07-31T03:29:43.290Z] [2021-07-31T03:29:43.290Z] [2021-07-31T03:29:43.290Z] ==> git version 2.24.4 found [2021-07-31T03:29:43.290Z] ==> 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-07-31T03:29:43.290Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-07-31T03:29:43.290Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-07-31T03:29:43.290Z] ==> Jenkins CI detected. [2021-07-31T03:29:43.290Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1005 [2021-07-31T03:29:43.290Z] project root: . [2021-07-31T03:29:43.290Z] --> token set from env [2021-07-31T03:29:43.559Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-07-31T03:29:43.559Z] ==> Running gcov in . (disable via -X gcov) [2021-07-31T03:29:43.559Z] ==> Python coveragepy not found [2021-07-31T03:29:43.559Z] ==> Searching for coverage reports in: [2021-07-31T03:29:43.559Z] + . [2021-07-31T03:29:43.559Z] -> Found 1 reports [2021-07-31T03:29:43.559Z] ==> Detecting git/mercurial file structure [2021-07-31T03:29:43.559Z] ==> Reading reports [2021-07-31T03:29:43.559Z] + ./coverage.out bytes=125634 [2021-07-31T03:29:43.559Z] ==> Appending adjustments [2021-07-31T03:29:43.559Z] https://docs.codecov.io/docs/fixing-reports [2021-07-31T03:29:43.827Z] + Found adjustments [2021-07-31T03:29:43.827Z] ==> Gzipping contents [2021-07-31T03:29:43.827Z] 16K /tmp/codecov.rXNEmq.gz [2021-07-31T03:29:43.827Z] ==> Uploading reports [2021-07-31T03:29:43.827Z] url: https://codecov.io [2021-07-31T03:29:43.827Z] query: branch=PR-1005&commit=78a8635e56f9b3c3cea61c13499687d1b6eae3c9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1005%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1005&job=&cmd_args= [2021-07-31T03:29:43.827Z] -> Pinging Codecov [2021-07-31T03:29:43.827Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1005&commit=78a8635e56f9b3c3cea61c13499687d1b6eae3c9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1005%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1005&job=&cmd_args= [2021-07-31T03:29:44.094Z] -> Uploading to [2021-07-31T03:29:44.094Z] https://storage.googleapis.com/codecov/v4/raw/2021-07-31/7E55EF52A471D76F132DFD9A03CDDE97/78a8635e56f9b3c3cea61c13499687d1b6eae3c9/6f4c0696-921d-486c-a5d5-f0729c92e255.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210731%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210731T032944Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6f9ed467ea08113f8eda92b1fab39c76d56de25917ed54bf96c4bee11acd26ef [2021-07-31T03:29:44.094Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-31T03:29:44.094Z] Dload Upload Total Spent Left Speed [2021-07-31T03:29:44.678Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16029 0 0 100 16029 0 46121 --:--:-- --:--:-- --:--:-- 46060 100 16029 0 0 100 16029 0 46103 --:--:-- --:--:-- --:--:-- 46060 [2021-07-31T03:29:44.679Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/78a8635e56f9b3c3cea61c13499687d1b6eae3c9 [Pipeline] } [2021-07-31T03:29:44.692Z] 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] libraryResource [Pipeline] sh [2021-07-31T03:29:46.454Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-31T03:29:47.048Z] ---> package-listing.sh [2021-07-31T03:29:47.048Z] ++ facter osfamily [2021-07-31T03:29:47.048Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-31T03:29:47.322Z] + OS_FAMILY=redhat [2021-07-31T03:29:47.322Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1005 [2021-07-31T03:29:47.322Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-31T03:29:47.322Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-31T03:29:47.322Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-31T03:29:47.322Z] + PACKAGES=/tmp/packages_start.txt [2021-07-31T03:29:47.322Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1005 ']' [2021-07-31T03:29:47.322Z] + PACKAGES=/tmp/packages_end.txt [2021-07-31T03:29:47.322Z] + case "${OS_FAMILY}" in [2021-07-31T03:29:47.322Z] + rpm -qa [2021-07-31T03:29:47.322Z] + sort [2021-07-31T03:29:47.908Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-31T03:29:47.908Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-31T03:29:47.908Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-31T03:29:47.908Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1005 ']' [2021-07-31T03:29:47.908Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1005/archives/ [2021-07-31T03:29:47.908Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1005/archives/ [Pipeline] echo [2021-07-31T03:29:47.925Z] 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-1005/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-31T03:29:48.224Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-31T03:29:48.810Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-31T03:29:48.810Z] [2021-07-31T03:29:48.810Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-31T03:29:49.140Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-31T03:29:49.140Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-31T03:29:49.140Z] b4d181a07f80: Pulling fs layer [2021-07-31T03:29:49.140Z] a1111a8f2ec3: Pulling fs layer [2021-07-31T03:29:49.140Z] ed53099fbce6: Pulling fs layer [2021-07-31T03:29:49.140Z] dc539afda2c1: Pulling fs layer [2021-07-31T03:29:49.140Z] 77bc0d833cb6: Pulling fs layer [2021-07-31T03:29:49.140Z] 9065ff56babe: Pulling fs layer [2021-07-31T03:29:49.140Z] d287ab97295c: Pulling fs layer [2021-07-31T03:29:49.140Z] 77bc0d833cb6: Waiting [2021-07-31T03:29:49.140Z] 9065ff56babe: Waiting [2021-07-31T03:29:49.140Z] d287ab97295c: Waiting [2021-07-31T03:29:49.141Z] dc539afda2c1: Waiting [2021-07-31T03:29:49.408Z] a1111a8f2ec3: Verifying Checksum [2021-07-31T03:29:49.408Z] a1111a8f2ec3: Download complete [2021-07-31T03:29:49.408Z] dc539afda2c1: Verifying Checksum [2021-07-31T03:29:49.408Z] dc539afda2c1: Download complete [2021-07-31T03:29:49.673Z] 77bc0d833cb6: Verifying Checksum [2021-07-31T03:29:49.673Z] 77bc0d833cb6: Download complete [2021-07-31T03:29:49.673Z] 9065ff56babe: Verifying Checksum [2021-07-31T03:29:49.673Z] 9065ff56babe: Download complete [2021-07-31T03:29:49.939Z] ed53099fbce6: Verifying Checksum [2021-07-31T03:29:49.939Z] ed53099fbce6: Download complete [2021-07-31T03:29:50.535Z] b4d181a07f80: Verifying Checksum [2021-07-31T03:29:50.535Z] b4d181a07f80: Download complete [2021-07-31T03:29:51.967Z] b4d181a07f80: Pull complete [2021-07-31T03:29:51.968Z] a1111a8f2ec3: Pull complete [2021-07-31T03:29:52.557Z] ed53099fbce6: Pull complete [2021-07-31T03:29:52.557Z] dc539afda2c1: Pull complete [2021-07-31T03:29:52.822Z] 77bc0d833cb6: Pull complete [2021-07-31T03:29:52.822Z] 9065ff56babe: Pull complete [2021-07-31T03:29:54.765Z] d287ab97295c: Verifying Checksum [2021-07-31T03:29:54.765Z] d287ab97295c: Download complete [2021-07-31T03:29:59.059Z] d287ab97295c: Pull complete [2021-07-31T03:29:59.059Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-31T03:29:59.059Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-31T03:29:59.059Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-31T03:29:59.353Z] prd-centos7-docker-4c-2g-1235 does not seem to be running inside a container [2021-07-31T03:29:59.410Z] $ 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-1005/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-1005 -v /w/workspace/gexfoundry_device-sdk-go_PR-1005:/w/workspace/gexfoundry_device-sdk-go_PR-1005:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1005@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1005@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-07-31T03:30:01.715Z] $ docker top 836bf9dae26c6a0280a4e4d5e76e88890fb7e15e348adfed5f8da3e1363db1a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-31T03:30:02.135Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-31T03:30:02.471Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-07-31T03:30:02.807Z] + ls /var/log/sa-host [2021-07-31T03:30:02.807Z] + sadf -c /var/log/sa-host/sa05 [2021-07-31T03:30:02.807Z] file_magic: OK [2021-07-31T03:30:02.807Z] HZ: Using current value: 100 [2021-07-31T03:30:02.807Z] file_header: OK [2021-07-31T03:30:02.807Z] 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-07-31T03:30:02.807Z] Statistics: [2021-07-31T03:30:02.807Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-31T03:30:02.807Z] File successfully converted to sysstat format version 12.0.3 [2021-07-31T03:30:02.807Z] + sadf -c /var/log/sa-host/sa31 [2021-07-31T03:30:02.807Z] file_magic: OK [2021-07-31T03:30:02.807Z] HZ: Using current value: 100 [2021-07-31T03:30:02.807Z] file_header: OK [2021-07-31T03:30:02.807Z] 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-07-31T03:30:02.807Z] Statistics: [2021-07-31T03:30:02.807Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-31T03:30:02.807Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-31T03:30:03.512Z] provisioning config files... [2021-07-31T03:30:03.533Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1005@tmp/config6009046903274571010tmp [Pipeline] { [Pipeline] echo [2021-07-31T03:30:03.557Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-31T03:30:03.874Z] ---> create-netrc.sh [Pipeline] } [2021-07-31T03:30:03.886Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-31T03:30:04.292Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-31T03:30:04.307Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-31T03:30:04.617Z] ---> sudo-logs.sh [2021-07-31T03:30:04.617Z] Archiving 'sudo' log.. [2021-07-31T03:30:04.617Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1235.vexxhost.local: Name or service not known [2021-07-31T03:30:04.617Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1235.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-07-31T03:30:04.653Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-31T03:30:04.968Z] ---> job-cost.sh [2021-07-31T03:30:04.968Z] lf-activate-venv: SKIPPING [2021-07-31T03:30:04.968Z] DEBUG: total: 0.18000000715255737 [2021-07-31T03:30:04.968Z] INFO: Retrieving Stack Cost... [2021-07-31T03:30:06.384Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-31T03:30:06.652Z] INFO: Archiving Costs [Pipeline] echo [2021-07-31T03:30:06.671Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-31T03:30:06.989Z] ---> logs-deploy.sh [2021-07-31T03:30:06.989Z] lf-activate-venv: SKIPPING [2021-07-31T03:30:06.989Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1005/2 [2021-07-31T03:30:06.989Z] INFO: archiving workspace using pattern(s): [2021-07-31T03:30:07.955Z] Archives upload complete. [2021-07-31T03:30:07.955Z] INFO: archiving logs to Nexus