Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 4226f0ad5c9ea1cff809c5b314d321b691040421+76d059c2e27a3d5d488ff0022063f09e99d334bf (e034d9c0f9123f7a0d20402ba9fcad4559b5fbd8) 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-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/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-23323 in /w/workspace/dgexfoundry_device-sdk-go_PR-746 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-746 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit 4226f0ad5c9ea1cff809c5b314d321b691040421 > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/746/head:refs/remotes/origin/PR-746 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4226f0ad5c9ea1cff809c5b314d321b691040421 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Merge succeeded, producing 4297071cdc2afffe196d9dcb42730d68727fb67a Checking out Revision 4297071cdc2afffe196d9dcb42730d68727fb67a (PR-746) > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4297071cdc2afffe196d9dcb42730d68727fb67a # timeout=10 Commit message: "Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD" > git rev-list --no-walk 4226f0ad5c9ea1cff809c5b314d321b691040421 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-27T02:43:39.610Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-27T02:43:39.866Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-27T02:43:39.959Z] ========================================================= [2021-01-27T02:43:39.959Z] EdgeX Global Pipelines Version Info [2021-01-27T02:43:39.959Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:43:43.085Z] ------------------- [2021-01-27T02:43:43.085Z] stable info: [2021-01-27T02:43:43.085Z] ------------------- [2021-01-27T02:43:43.085Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-27T02:43:43.085Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-27T02:43:43.085Z] Message: update stable to v1.0.179 [2021-01-27T02:43:44.114Z] ------------------- [2021-01-27T02:43:44.114Z] experimental info: [2021-01-27T02:43:44.114Z] ------------------- [2021-01-27T02:43:44.114Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-27T02:43:44.114Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-27T02:43:44.114Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-27T02:43:44.401Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-27T02:43:44.569Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-27T02:43:44.666Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-27T02:43:44.766Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-27T02:43:44.849Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-27T02:43:44.933Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-27T02:43:45.027Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-27T02:43:45.113Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-27T02:43:45.214Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-27T02:43:45.303Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-27T02:43:45.394Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-27T02:43:45.484Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-27T02:43:45.567Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-27T02:43:45.653Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-27T02:43:45.740Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-27T02:43:45.846Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-27T02:43:45.944Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-27T02:43:46.029Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-27T02:43:46.132Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-27T02:43:46.214Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-27T02:43:46.316Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-27T02:43:46.400Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-27T02:43:46.530Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-27T02:43:46.625Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-27T02:43:46.713Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-27T02:43:46.828Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-27T02:43:46.915Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-27T02:43:47.171Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-746 [Pipeline] echo [2021-01-27T02:43:47.257Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-746 [Pipeline] echo [2021-01-27T02:43:47.339Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-746 [Pipeline] echo [2021-01-27T02:43:47.430Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4297071cdc2afffe196d9dcb42730d68727fb67a [Pipeline] echo [2021-01-27T02:43:47.548Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4297071 [Pipeline] echo [2021-01-27T02:43:47.629Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-27T02:43:47.794Z] provisioning config files... [2021-01-27T02:43:47.836Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/config108526721885727181tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:43:48.305Z] ---> docker-login.sh [2021-01-27T02:43:48.305Z] nexus3.edgexfoundry.org:10001 [2021-01-27T02:43:49.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:43:50.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:43:50.257Z] Configure a credential helper to remove this warning. See [2021-01-27T02:43:50.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:43:50.257Z] [2021-01-27T02:43:50.257Z] Login Succeeded [2021-01-27T02:43:50.257Z] nexus3.edgexfoundry.org:10002 [2021-01-27T02:43:51.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:43:51.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:43:51.346Z] Configure a credential helper to remove this warning. See [2021-01-27T02:43:51.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:43:51.346Z] [2021-01-27T02:43:51.346Z] Login Succeeded [2021-01-27T02:43:51.346Z] nexus3.edgexfoundry.org:10003 [2021-01-27T02:43:51.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:43:52.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:43:52.001Z] Configure a credential helper to remove this warning. See [2021-01-27T02:43:52.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:43:52.001Z] [2021-01-27T02:43:52.001Z] Login Succeeded [2021-01-27T02:43:52.001Z] nexus3.edgexfoundry.org:10004 [2021-01-27T02:43:52.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:43:52.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:43:52.633Z] Configure a credential helper to remove this warning. See [2021-01-27T02:43:52.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:43:52.633Z] [2021-01-27T02:43:52.633Z] Login Succeeded [2021-01-27T02:43:52.633Z] docker.io [2021-01-27T02:43:53.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:43:53.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:43:53.583Z] Configure a credential helper to remove this warning. See [2021-01-27T02:43:53.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:43:53.583Z] [2021-01-27T02:43:53.583Z] Login Succeeded [2021-01-27T02:43:53.583Z] ---> docker-login.sh ends [Pipeline] } [2021-01-27T02:43:53.671Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-27T02:43:54.741Z] + git log --format=format:%s -1 4297071cdc2afffe196d9dcb42730d68727fb67a [Pipeline] echo [2021-01-27T02:43:54.992Z] GIT_COMMIT: 4297071cdc2afffe196d9dcb42730d68727fb67a, Commit Message: Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD [Pipeline] echo [2021-01-27T02:43:55.097Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:43:55.916Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-27T02:43:56.210Z] [2021-01-27T02:43:56.210Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:43:56.862Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-27T02:43:57.207Z] latest: Pulling from edgex-devops/git-semver [2021-01-27T02:43:57.207Z] 31603596830f: Pulling fs layer [2021-01-27T02:43:57.207Z] 2a8b12db71e7: Pulling fs layer [2021-01-27T02:43:57.207Z] 6ca5941a6612: Pulling fs layer [2021-01-27T02:43:57.207Z] ecc8261a40a4: Pulling fs layer [2021-01-27T02:43:57.207Z] ecc8261a40a4: Waiting [2021-01-27T02:43:57.207Z] 2a8b12db71e7: Verifying Checksum [2021-01-27T02:43:57.207Z] 2a8b12db71e7: Download complete [2021-01-27T02:43:58.005Z] 31603596830f: Download complete [2021-01-27T02:43:58.300Z] ecc8261a40a4: Verifying Checksum [2021-01-27T02:43:58.300Z] ecc8261a40a4: Download complete [2021-01-27T02:43:58.300Z] 6ca5941a6612: Verifying Checksum [2021-01-27T02:43:58.300Z] 6ca5941a6612: Download complete [2021-01-27T02:43:59.346Z] 31603596830f: Pull complete [2021-01-27T02:43:59.641Z] 2a8b12db71e7: Pull complete [2021-01-27T02:44:02.369Z] 6ca5941a6612: Pull complete [2021-01-27T02:44:03.597Z] ecc8261a40a4: Pull complete [2021-01-27T02:44:03.597Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-27T02:44:03.597Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-27T02:44:03.597Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-27T02:44:04.124Z] prd-centos7-docker-4c-2g-23323 does not seem to be running inside a container [2021-01-27T02:44:04.325Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-746 -v /w/workspace/dgexfoundry_device-sdk-go_PR-746:/w/workspace/dgexfoundry_device-sdk-go_PR-746:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-746@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-01-27T02:44:07.726Z] $ docker top 373cef4830646cd061552ccbe7239a8b29343b3bcf09d779289b6aa493aa0047 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-27T02:44:08.107Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-27T02:44:08.107Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-27T02:44:08.737Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-27T02:44:08.745Z] $ docker exec 373cef4830646cd061552ccbe7239a8b29343b3bcf09d779289b6aa493aa0047 ssh-agent [2021-01-27T02:44:09.109Z] SSH_AUTH_SOCK=/tmp/ssh-mSUTMzcllEko/agent.11 [2021-01-27T02:44:09.109Z] SSH_AGENT_PID=16 [2021-01-27T02:44:09.135Z] Running ssh-add (command line suppressed) [2021-01-27T02:44:09.493Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_6077811237496468041.key (/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_6077811237496468041.key) [2021-01-27T02:44:09.598Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-27T02:44:10.056Z] + git tag --points-at HEAD [Pipeline] } [2021-01-27T02:44:10.622Z] $ docker exec --env ******** --env ******** 373cef4830646cd061552ccbe7239a8b29343b3bcf09d779289b6aa493aa0047 ssh-agent -k [2021-01-27T02:44:11.162Z] unset SSH_AUTH_SOCK; [2021-01-27T02:44:11.212Z] unset SSH_AGENT_PID; [2021-01-27T02:44:11.212Z] echo Agent pid 16 killed; [2021-01-27T02:44:11.369Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-27T02:44:11.508Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-27T02:44:11.508Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-27T02:44:12.535Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-27T02:44:12.560Z] $ docker exec 373cef4830646cd061552ccbe7239a8b29343b3bcf09d779289b6aa493aa0047 ssh-agent [2021-01-27T02:44:13.081Z] SSH_AUTH_SOCK=/tmp/ssh-PtcF5sAARPKc/agent.44 [2021-01-27T02:44:13.081Z] SSH_AGENT_PID=49 [2021-01-27T02:44:13.145Z] Running ssh-add (command line suppressed) [2021-01-27T02:44:13.958Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_3423981384802604024.key (/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_3423981384802604024.key) [2021-01-27T02:44:14.088Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-27T02:44:14.818Z] + git semver init [2021-01-27T02:44:14.818Z] # -> Open(): unable to determine branch for HEAD [2021-01-27T02:44:14.818Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-746/.git [2021-01-27T02:44:14.818Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-746 [2021-01-27T02:44:14.818Z] # $SEMVER_REMOTE_NAME = origin [2021-01-27T02:44:14.818Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-27T02:44:14.818Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-27T02:44:14.818Z] # $SEMVER_BRANCH = PR-746 [2021-01-27T02:44:14.818Z] # $SEMVER_TEMP = /tmp/semver-585801878 [2021-01-27T02:44:14.818Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-27T02:44:16.340Z] # '/tmp/semver-585801878' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-746/.semver' [2021-01-27T02:44:16.340Z] # -> Force: false [2021-01-27T02:44:16.340Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-746/.semver [Pipeline] } [2021-01-27T02:44:16.382Z] $ docker exec --env ******** --env ******** 373cef4830646cd061552ccbe7239a8b29343b3bcf09d779289b6aa493aa0047 ssh-agent -k [2021-01-27T02:44:16.724Z] unset SSH_AUTH_SOCK; [2021-01-27T02:44:16.725Z] unset SSH_AGENT_PID; [2021-01-27T02:44:16.725Z] echo Agent pid 49 killed; [2021-01-27T02:44:16.795Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-27T02:44:17.801Z] + git semver [Pipeline] } [2021-01-27T02:44:17.827Z] $ docker stop --time=1 373cef4830646cd061552ccbe7239a8b29343b3bcf09d779289b6aa493aa0047 [2021-01-27T02:44:19.527Z] $ docker rm -f 373cef4830646cd061552ccbe7239a8b29343b3bcf09d779289b6aa493aa0047 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-27T02:44:20.143Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-27T02:44:21.610Z] Stashed 1 file(s) [Pipeline] echo [2021-01-27T02:44:21.616Z] [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-01-27T02:44:37.156Z] Still waiting to schedule task [2021-01-27T02:44:37.156Z] ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-23330’ is offline; ‘prd-centos7-docker-4c-2g-23334’ is offline; ‘prd-centos7-docker-4c-2g-23335’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-23295’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-23296’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-23297’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-23299’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-27T02:44:37.159Z] Still waiting to schedule task [2021-01-27T02:44:37.159Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-27T02:45:41.768Z] Running on prd-centos7-docker-4c-2g-23342 in /w/workspace/dgexfoundry_device-sdk-go_PR-746 [Pipeline] { [Pipeline] ws [2021-01-27T02:45:41.833Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2021-01-27T02:45:44.798Z] using credential edgex-jenkins-ssh [2021-01-27T02:45:44.848Z] Cloning the remote Git repository [2021-01-27T02:45:44.880Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T02:45:44.946Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2021-01-27T02:45:45.029Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T02:45:45.029Z] > git --version # timeout=10 [2021-01-27T02:45:45.038Z] > git --version # 'git version 2.24.3' [2021-01-27T02:45:45.039Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T02:45:45.075Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T02:45:47.466Z] Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit 4226f0ad5c9ea1cff809c5b314d321b691040421 [2021-01-27T02:45:47.652Z] Merge succeeded, producing a5435071b0d92fec0686577b61417d4bf812f8c4 [2021-01-27T02:45:47.652Z] Checking out Revision a5435071b0d92fec0686577b61417d4bf812f8c4 (PR-746) [2021-01-27T02:45:46.958Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-27T02:45:46.968Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T02:45:46.980Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-27T02:45:47.001Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T02:45:47.001Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T02:45:47.007Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/746/head:refs/remotes/origin/PR-746 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-27T02:45:47.476Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T02:45:47.483Z] > git checkout -f 4226f0ad5c9ea1cff809c5b314d321b691040421 # timeout=10 [2021-01-27T02:45:47.569Z] > git remote # timeout=10 [2021-01-27T02:45:47.582Z] > git config --get remote.origin.url # timeout=10 [2021-01-27T02:45:47.604Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T02:45:47.608Z] > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 [2021-01-27T02:45:47.646Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-27T02:45:47.656Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T02:45:47.661Z] > git checkout -f a5435071b0d92fec0686577b61417d4bf812f8c4 # timeout=10 [2021-01-27T02:45:51.305Z] Commit message: "Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD" [2021-01-27T02:45:51.309Z] > git rev-list --no-walk 4226f0ad5c9ea1cff809c5b314d321b691040421 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-27T02:45:52.743Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-27T02:45:53.085Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-27T02:45:53.384Z] + sudo service docker restart [2021-01-27T02:45:53.384Z] + true [2021-01-27T02:45:53.384Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-27T02:45:54.855Z] provisioning config files... [2021-01-27T02:45:54.882Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config2106562320645942832tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:45:55.252Z] ---> docker-login.sh [2021-01-27T02:45:55.252Z] nexus3.edgexfoundry.org:10001 [2021-01-27T02:45:55.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:45:55.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:45:55.516Z] Configure a credential helper to remove this warning. See [2021-01-27T02:45:55.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:45:55.516Z] [2021-01-27T02:45:55.516Z] Login Succeeded [2021-01-27T02:45:55.516Z] nexus3.edgexfoundry.org:10002 [2021-01-27T02:45:55.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:45:55.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:45:55.779Z] Configure a credential helper to remove this warning. See [2021-01-27T02:45:55.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:45:55.779Z] [2021-01-27T02:45:55.779Z] Login Succeeded [2021-01-27T02:45:55.779Z] nexus3.edgexfoundry.org:10003 [2021-01-27T02:45:56.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:45:56.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:45:56.043Z] Configure a credential helper to remove this warning. See [2021-01-27T02:45:56.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:45:56.043Z] [2021-01-27T02:45:56.043Z] Login Succeeded [2021-01-27T02:45:56.043Z] nexus3.edgexfoundry.org:10004 [2021-01-27T02:45:56.309Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:45:56.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:45:56.309Z] Configure a credential helper to remove this warning. See [2021-01-27T02:45:56.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:45:56.309Z] [2021-01-27T02:45:56.309Z] Login Succeeded [2021-01-27T02:45:56.309Z] docker.io [2021-01-27T02:45:56.309Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:45:56.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:45:56.575Z] Configure a credential helper to remove this warning. See [2021-01-27T02:45:56.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:45:56.575Z] [2021-01-27T02:45:56.575Z] Login Succeeded [2021-01-27T02:45:56.575Z] ---> docker-login.sh ends [Pipeline] } [2021-01-27T02:45:56.587Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-27T02:45:57.047Z] ========================================================= [2021-01-27T02:45:57.047Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-27T02:45:57.047Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:45:57.405Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-01-27T02:45:57.669Z] Sending build context to Docker daemon 2.544MB [2021-01-27T02:45:57.669Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-27T02:45:57.669Z] Step 2/8 : FROM ${BASE} [2021-01-27T02:45:57.669Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-27T02:45:57.669Z] 188c0c94c7c5: Pulling fs layer [2021-01-27T02:45:57.669Z] 0ef7d3d256c8: Pulling fs layer [2021-01-27T02:45:57.669Z] de9db76c5a1d: Pulling fs layer [2021-01-27T02:45:57.669Z] bca2f99d35d6: Pulling fs layer [2021-01-27T02:45:57.669Z] 93359f2a8cfa: Pulling fs layer [2021-01-27T02:45:57.669Z] 7c6f9722023f: Pulling fs layer [2021-01-27T02:45:57.669Z] a35cf1a2eb13: Pulling fs layer [2021-01-27T02:45:57.669Z] bca2f99d35d6: Waiting [2021-01-27T02:45:57.669Z] 93359f2a8cfa: Waiting [2021-01-27T02:45:57.669Z] 7c6f9722023f: Waiting [2021-01-27T02:45:57.669Z] a35cf1a2eb13: Waiting [2021-01-27T02:45:57.669Z] de9db76c5a1d: Download complete [2021-01-27T02:45:57.669Z] 0ef7d3d256c8: Verifying Checksum [2021-01-27T02:45:57.669Z] 0ef7d3d256c8: Download complete [2021-01-27T02:45:57.669Z] 93359f2a8cfa: Verifying Checksum [2021-01-27T02:45:57.669Z] 93359f2a8cfa: Download complete [2021-01-27T02:45:57.669Z] 7c6f9722023f: Download complete [2021-01-27T02:45:57.669Z] 188c0c94c7c5: Verifying Checksum [2021-01-27T02:45:57.669Z] 188c0c94c7c5: Download complete [2021-01-27T02:45:57.943Z] 188c0c94c7c5: Pull complete [2021-01-27T02:45:58.207Z] 0ef7d3d256c8: Pull complete [2021-01-27T02:45:58.207Z] de9db76c5a1d: Pull complete [2021-01-27T02:45:59.616Z] a35cf1a2eb13: Verifying Checksum [2021-01-27T02:45:59.616Z] a35cf1a2eb13: Download complete [2021-01-27T02:46:00.203Z] bca2f99d35d6: Verifying Checksum [2021-01-27T02:46:00.203Z] bca2f99d35d6: Download complete [2021-01-27T02:46:06.926Z] bca2f99d35d6: Pull complete [2021-01-27T02:46:06.926Z] 93359f2a8cfa: Pull complete [2021-01-27T02:46:06.926Z] 7c6f9722023f: Pull complete [2021-01-27T02:46:13.559Z] a35cf1a2eb13: Pull complete [2021-01-27T02:46:13.559Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-27T02:46:13.559Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-27T02:46:13.559Z] ---> a62c8e92a672 [2021-01-27T02:46:13.559Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T02:46:13.559Z] ---> Running in 169df6680724 [2021-01-27T02:46:13.833Z] Removing intermediate container 169df6680724 [2021-01-27T02:46:13.833Z] ---> 9ff2a414b68b [2021-01-27T02:46:13.833Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-27T02:46:13.833Z] ---> Running in af8a533420ee [2021-01-27T02:46:15.239Z] Removing intermediate container af8a533420ee [2021-01-27T02:46:15.239Z] ---> f970fc3a0c0b [2021-01-27T02:46:15.239Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-27T02:46:15.239Z] ---> Running in a220ae6e3377 [2021-01-27T02:46:16.639Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-27T02:46:17.587Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-27T02:46:18.980Z] OK: 166 MiB in 39 packages [2021-01-27T02:46:19.288Z] Removing intermediate container a220ae6e3377 [2021-01-27T02:46:19.288Z] ---> 8f01fcac605e [2021-01-27T02:46:19.288Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-27T02:46:19.288Z] ---> Running in a8592d30d395 [2021-01-27T02:46:19.552Z] Removing intermediate container a8592d30d395 [2021-01-27T02:46:19.552Z] ---> fcb302e98780 [2021-01-27T02:46:19.552Z] Step 7/8 : COPY . . [2021-01-27T02:46:20.958Z] ---> 13ce61f3aa46 [2021-01-27T02:46:20.958Z] Step 8/8 : RUN go mod download [2021-01-27T02:46:20.958Z] ---> Running in b42bc9e5c4e7 [2021-01-27T02:46:39.177Z] Removing intermediate container b42bc9e5c4e7 [2021-01-27T02:46:39.177Z] ---> c5294c92a5af [2021-01-27T02:46:39.177Z] Successfully built c5294c92a5af [2021-01-27T02:46:39.177Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:46:39.500Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-27T02:46:39.500Z] . [Pipeline] withDockerContainer [2021-01-27T02:46:39.628Z] prd-centos7-docker-4c-2g-23342 does not seem to be running inside a container [2021-01-27T02:46:39.685Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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-01-27T02:46:40.488Z] $ docker top ded4cbb83ef87515a42e4303e93fcbb6dc0a6636bb707ef67409a5295b097ca9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T02:46:40.983Z] + go version [2021-01-27T02:46:40.983Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-27T02:46:41.004Z] $ docker stop --time=1 ded4cbb83ef87515a42e4303e93fcbb6dc0a6636bb707ef67409a5295b097ca9 [2021-01-27T02:46:42.401Z] $ docker rm -f ded4cbb83ef87515a42e4303e93fcbb6dc0a6636bb707ef67409a5295b097ca9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:46:43.295Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-27T02:46:43.295Z] . [Pipeline] withDockerContainer [2021-01-27T02:46:43.412Z] prd-centos7-docker-4c-2g-23342 does not seem to be running inside a container [2021-01-27T02:46:43.474Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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-01-27T02:46:44.214Z] $ docker top 0939f9ea6c1d9321cae385939c7291b6293f4a0e78231ba91a0789a5213f235b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T02:46:44.766Z] + make test [2021-01-27T02:46:44.766Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-27T02:46:52.992Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-27T02:47:08.018Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-27T02:47:08.018Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-27T02:47:08.018Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-27T02:47:09.983Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 24.3% of statements [2021-01-27T02:47:10.251Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.491s coverage: 97.1% of statements [2021-01-27T02:47:29.080Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-23346 in /w/workspace/dgexfoundry_device-sdk-go_PR-746 [Pipeline] { [Pipeline] ws [2021-01-27T02:47:29.156Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2021-01-27T02:47:34.351Z] using credential edgex-jenkins-ssh [2021-01-27T02:47:34.411Z] Cloning the remote Git repository [2021-01-27T02:47:34.494Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T02:47:34.616Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2021-01-27T02:47:34.700Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T02:47:34.701Z] > git --version # timeout=10 [2021-01-27T02:47:34.720Z] > git --version # 'git version 2.17.1' [2021-01-27T02:47:34.722Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T02:47:34.802Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T02:47:36.565Z] Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit 4226f0ad5c9ea1cff809c5b314d321b691040421 [2021-01-27T02:47:35.918Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-27T02:47:35.932Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T02:47:35.953Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-27T02:47:35.984Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T02:47:35.984Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T02:47:35.997Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/746/head:refs/remotes/origin/PR-746 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-27T02:47:36.609Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T02:47:36.625Z] > git checkout -f 4226f0ad5c9ea1cff809c5b314d321b691040421 # timeout=10 [2021-01-27T02:47:36.973Z] Merge succeeded, producing cea34742d4035dc5f272ee412146f4a658ba2740 [2021-01-27T02:47:36.974Z] Checking out Revision cea34742d4035dc5f272ee412146f4a658ba2740 (PR-746) [2021-01-27T02:47:36.832Z] > git remote # timeout=10 [2021-01-27T02:47:36.849Z] > git config --get remote.origin.url # timeout=10 [2021-01-27T02:47:36.863Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T02:47:36.874Z] > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 [2021-01-27T02:47:36.976Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-27T02:47:37.000Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T02:47:37.021Z] > git checkout -f cea34742d4035dc5f272ee412146f4a658ba2740 # timeout=10 [2021-01-27T02:47:41.388Z] Commit message: "Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD" [2021-01-27T02:47:41.413Z] > git rev-list --no-walk 4226f0ad5c9ea1cff809c5b314d321b691040421 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-27T02:47:42.499Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.074s coverage: 9.4% of statements [2021-01-27T02:47:42.499Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.082s coverage: 22.9% of statements [2021-01-27T02:47:42.499Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-27T02:47:42.499Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.071s coverage: 84.8% of statements [2021-01-27T02:47:42.499Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-27T02:47:42.499Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-27T02:47:42.499Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-27T02:47:42.499Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-27T02:47:42.499Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.069s coverage: 53.8% of statements [2021-01-27T02:47:42.499Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-27T02:47:42.499Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-27T02:47:42.499Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.096s coverage: 26.8% of statements [2021-01-27T02:47:42.499Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.512s coverage: 83.5% of statements [2021-01-27T02:47:42.499Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 4.2% of statements [2021-01-27T02:47:42.499Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-27T02:47:42.499Z] GO111MODULE=on go vet ./... [2021-01-27T02:47:43.055Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-27T02:47:43.473Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-27T02:47:43.813Z] + + sudotrue service [2021-01-27T02:47:43.813Z] docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-27T02:47:46.590Z] provisioning config files... [2021-01-27T02:47:46.635Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config1033809768215868096tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:47:47.049Z] ---> docker-login.sh [2021-01-27T02:47:47.050Z] nexus3.edgexfoundry.org:10001 [2021-01-27T02:47:48.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:47:48.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:47:48.317Z] Configure a credential helper to remove this warning. See [2021-01-27T02:47:48.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:47:48.317Z] [2021-01-27T02:47:48.317Z] Login Succeeded [2021-01-27T02:47:48.317Z] nexus3.edgexfoundry.org:10002 [2021-01-27T02:47:48.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:47:48.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:47:48.864Z] Configure a credential helper to remove this warning. See [2021-01-27T02:47:48.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:47:48.864Z] [2021-01-27T02:47:48.864Z] Login Succeeded [2021-01-27T02:47:48.864Z] nexus3.edgexfoundry.org:10003 [2021-01-27T02:47:49.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:47:49.201Z] gofmt -l . [2021-01-27T02:47:49.201Z] [ "`gofmt -l .`" = "" ] [2021-01-27T02:47:49.201Z] ./bin/test-attribution-txt.sh [2021-01-27T02:47:49.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:47:49.422Z] Configure a credential helper to remove this warning. See [2021-01-27T02:47:49.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:47:49.422Z] [2021-01-27T02:47:49.422Z] Login Succeeded [2021-01-27T02:47:49.422Z] nexus3.edgexfoundry.org:10004 [2021-01-27T02:47:49.476Z] ./bin/test-go-mod-tidy.sh [2021-01-27T02:47:49.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] } [2021-01-27T02:47:49.762Z] $ docker stop --time=1 0939f9ea6c1d9321cae385939c7291b6293f4a0e78231ba91a0789a5213f235b [2021-01-27T02:47:49.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:47:49.978Z] Configure a credential helper to remove this warning. See [2021-01-27T02:47:49.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:47:49.978Z] [2021-01-27T02:47:49.978Z] Login Succeeded [2021-01-27T02:47:49.978Z] docker.io [2021-01-27T02:47:50.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:47:50.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:47:50.869Z] Configure a credential helper to remove this warning. See [2021-01-27T02:47:50.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:47:50.869Z] [2021-01-27T02:47:50.869Z] Login Succeeded [2021-01-27T02:47:50.869Z] ---> docker-login.sh ends [2021-01-27T02:47:51.844Z] $ docker rm -f 0939f9ea6c1d9321cae385939c7291b6293f4a0e78231ba91a0789a5213f235b [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [2021-01-27T02:47:52.256Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-01-27T02:47:52.515Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] echo [2021-01-27T02:47:52.710Z] ========================================================= [2021-01-27T02:47:52.710Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-27T02:47:52.710Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:47:52.944Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2021-01-27T02:47:53.117Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [Pipeline] stage [Pipeline] { (Build) [2021-01-27T02:47:53.738Z] Sending build context to Docker daemon 2.543MB [2021-01-27T02:47:53.738Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-27T02:47:53.738Z] Step 2/8 : FROM ${BASE} [2021-01-27T02:47:53.738Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-27T02:47:53.738Z] 5f621e34cdf4: Pulling fs layer [2021-01-27T02:47:53.738Z] a4357932f1b6: Pulling fs layer [2021-01-27T02:47:53.738Z] 18c013af1878: Pulling fs layer [2021-01-27T02:47:53.738Z] 00ac8860ef70: Pulling fs layer [2021-01-27T02:47:53.738Z] 63d7cb157983: Pulling fs layer [2021-01-27T02:47:53.738Z] b116817d02f9: Pulling fs layer [2021-01-27T02:47:53.738Z] 745a02a5169b: Pulling fs layer [2021-01-27T02:47:53.738Z] 00ac8860ef70: Waiting [2021-01-27T02:47:53.738Z] b116817d02f9: Waiting [2021-01-27T02:47:53.738Z] 745a02a5169b: Waiting [2021-01-27T02:47:53.738Z] 63d7cb157983: Waiting [2021-01-27T02:47:53.738Z] 18c013af1878: Verifying Checksum [2021-01-27T02:47:53.738Z] 18c013af1878: Download complete [2021-01-27T02:47:53.738Z] a4357932f1b6: Verifying Checksum [2021-01-27T02:47:53.738Z] a4357932f1b6: Download complete [2021-01-27T02:47:53.738Z] 63d7cb157983: Verifying Checksum [2021-01-27T02:47:53.738Z] 63d7cb157983: Download complete [Pipeline] sh [2021-01-27T02:47:54.198Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-27T02:47:54.337Z] b116817d02f9: Verifying Checksum [2021-01-27T02:47:54.337Z] b116817d02f9: Download complete [2021-01-27T02:47:54.337Z] 5f621e34cdf4: Verifying Checksum [2021-01-27T02:47:54.337Z] 5f621e34cdf4: Download complete [2021-01-27T02:47:54.506Z] + ls -al . [2021-01-27T02:47:54.506Z] total 188 [2021-01-27T02:47:54.506Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 27 02:47 . [2021-01-27T02:47:54.506Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 27 02:45 .. [2021-01-27T02:47:54.506Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 27 02:45 bin [2021-01-27T02:47:54.506Z] -rw-r--r--. 1 jenkins jenkins 109745 Jan 27 02:47 coverage.out [2021-01-27T02:47:54.506Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 27 02:45 Dockerfile.build [2021-01-27T02:47:54.506Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 27 02:45 .dockerignore [2021-01-27T02:47:54.506Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 27 02:45 example [2021-01-27T02:47:54.506Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 27 02:45 .git [2021-01-27T02:47:54.506Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 27 02:45 .github [2021-01-27T02:47:54.506Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 27 02:45 .gitignore [2021-01-27T02:47:54.506Z] -rw-r--r--. 1 jenkins jenkins 479 Jan 27 02:47 go.mod [2021-01-27T02:47:54.506Z] -rw-r--r--. 1 jenkins jenkins 13845 Jan 27 02:47 go.sum [2021-01-27T02:47:54.506Z] drwxrwxr-x. 14 jenkins jenkins 196 Jan 27 02:45 internal [2021-01-27T02:47:54.506Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 27 02:45 Jenkinsfile [2021-01-27T02:47:54.506Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 27 02:45 LICENSE [2021-01-27T02:47:54.506Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 27 02:45 Makefile [2021-01-27T02:47:54.506Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 27 02:45 openapi [2021-01-27T02:47:54.506Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 27 02:45 pkg [2021-01-27T02:47:54.506Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 27 02:45 README.md [2021-01-27T02:47:54.506Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 27 02:45 RELEASE-NOTES.txt [2021-01-27T02:47:54.506Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 27 02:45 snap [2021-01-27T02:47:54.506Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 27 02:44 VERSION [2021-01-27T02:47:54.506Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 27 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:47:54.821Z] + docker build -t docker-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=4297071cdc2afffe196d9dcb42730d68727fb67a --label arch=amd64 --label version=0.0.0 . [2021-01-27T02:47:54.968Z] 5f621e34cdf4: Pull complete [2021-01-27T02:47:55.086Z] Sending build context to Docker daemon 2.655MB [2021-01-27T02:47:55.087Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-27T02:47:55.087Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-27T02:47:55.087Z] ---> c5294c92a5af [2021-01-27T02:47:55.087Z] Step 3/24 : ARG MAKE='make build' [2021-01-27T02:47:55.575Z] a4357932f1b6: Pull complete [2021-01-27T02:47:55.661Z] ---> Running in e060a8a7b2cf [2021-01-27T02:47:55.851Z] 18c013af1878: Pull complete [2021-01-27T02:47:55.925Z] Removing intermediate container e060a8a7b2cf [2021-01-27T02:47:55.925Z] ---> 1d3f9c364f90 [2021-01-27T02:47:55.925Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-27T02:47:55.925Z] ---> Running in a57f3de6b9d4 [2021-01-27T02:47:56.188Z] Removing intermediate container a57f3de6b9d4 [2021-01-27T02:47:56.188Z] ---> 34dc26576a7e [2021-01-27T02:47:56.188Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T02:47:56.188Z] ---> Running in bb4e1acf4ec2 [2021-01-27T02:47:56.453Z] Removing intermediate container bb4e1acf4ec2 [2021-01-27T02:47:56.453Z] ---> f93d954c94f9 [2021-01-27T02:47:56.453Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-27T02:47:56.453Z] ---> Running in a24dccca6dc6 [2021-01-27T02:47:56.835Z] 745a02a5169b: Verifying Checksum [2021-01-27T02:47:56.836Z] 745a02a5169b: Download complete [2021-01-27T02:47:57.403Z] Removing intermediate container a24dccca6dc6 [2021-01-27T02:47:57.403Z] ---> 76611f03fa64 [2021-01-27T02:47:57.403Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-27T02:47:57.403Z] ---> Running in 8d1cc3cdd654 [2021-01-27T02:47:57.829Z] 00ac8860ef70: Download complete [2021-01-27T02:47:57.988Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-27T02:47:58.571Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-27T02:47:59.525Z] OK: 166 MiB in 39 packages [2021-01-27T02:47:59.791Z] Removing intermediate container 8d1cc3cdd654 [2021-01-27T02:47:59.791Z] ---> 67c6c4304282 [2021-01-27T02:47:59.791Z] Step 8/24 : COPY . . [2021-01-27T02:48:01.728Z] ---> d7f1c3eac02f [2021-01-27T02:48:01.728Z] Step 9/24 : RUN ${MAKE} [2021-01-27T02:48:01.728Z] ---> Running in 740ca2194cb5 [2021-01-27T02:48:02.326Z] CGO_ENABLED=0 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-01-27T02:48:08.012Z] 00ac8860ef70: Pull complete [2021-01-27T02:48:08.286Z] 63d7cb157983: Pull complete [2021-01-27T02:48:08.560Z] b116817d02f9: Pull complete [2021-01-27T02:48:10.581Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-27T02:48:12.899Z] 745a02a5169b: Pull complete [2021-01-27T02:48:12.899Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-27T02:48:12.899Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-27T02:48:12.899Z] ---> b7e6874047d6 [2021-01-27T02:48:12.899Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T02:48:13.175Z] Removing intermediate container 740ca2194cb5 [2021-01-27T02:48:13.175Z] ---> ed8cd5ca9a1c [2021-01-27T02:48:13.175Z] Step 10/24 : FROM scratch [2021-01-27T02:48:13.175Z] ---> [2021-01-27T02:48:13.175Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T02:48:13.175Z] ---> Running in 3feb2e0c0025 [2021-01-27T02:48:13.175Z] Removing intermediate container 3feb2e0c0025 [2021-01-27T02:48:13.175Z] ---> 93f802008d48 [2021-01-27T02:48:13.175Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-27T02:48:13.175Z] ---> Running in 320d4dcc1dd3 [2021-01-27T02:48:13.175Z] Removing intermediate container 320d4dcc1dd3 [2021-01-27T02:48:13.175Z] ---> 294361aa52c5 [2021-01-27T02:48:13.175Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-27T02:48:13.175Z] ---> Running in 60e8483b585a [2021-01-27T02:48:13.438Z] Removing intermediate container 60e8483b585a [2021-01-27T02:48:13.438Z] ---> ca47664ceaa2 [2021-01-27T02:48:13.438Z] Step 14/24 : WORKDIR / [2021-01-27T02:48:13.438Z] ---> Running in 4138e6778c81 [2021-01-27T02:48:13.438Z] Removing intermediate container 4138e6778c81 [2021-01-27T02:48:13.438Z] ---> 5cc2b03e7e52 [2021-01-27T02:48:13.438Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-27T02:48:14.012Z] ---> c54c4277720a [2021-01-27T02:48:14.012Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-27T02:48:14.275Z] ---> 57b3dd616cfe [2021-01-27T02:48:14.275Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-27T02:48:14.537Z] ---> facd72ba5caf [2021-01-27T02:48:14.537Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-27T02:48:14.798Z] ---> 87ead233a525 [2021-01-27T02:48:14.798Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-27T02:48:15.059Z] ---> 00b1476081d6 [2021-01-27T02:48:15.059Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-27T02:48:15.059Z] ---> Running in 4ef62adadd91 [2021-01-27T02:48:15.320Z] Removing intermediate container 4ef62adadd91 [2021-01-27T02:48:15.320Z] ---> d7dbc64ce8ae [2021-01-27T02:48:15.320Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-27T02:48:15.320Z] ---> Running in d5b2b6df2815 [2021-01-27T02:48:15.320Z] Removing intermediate container d5b2b6df2815 [2021-01-27T02:48:15.320Z] ---> b2fef9129d5e [2021-01-27T02:48:15.320Z] Step 22/24 : LABEL arch=amd64 [2021-01-27T02:48:15.529Z] ---> Running in fa4f16baab7e [2021-01-27T02:48:15.583Z] ---> Running in 076d756afe6f [2021-01-27T02:48:15.583Z] Removing intermediate container 076d756afe6f [2021-01-27T02:48:15.583Z] ---> a5112dee1436 [2021-01-27T02:48:15.583Z] Step 23/24 : LABEL git_sha=4297071cdc2afffe196d9dcb42730d68727fb67a [2021-01-27T02:48:15.845Z] ---> Running in 5f4ec3cbdf36 [2021-01-27T02:48:15.845Z] Removing intermediate container 5f4ec3cbdf36 [2021-01-27T02:48:15.845Z] ---> 4ad84b7bda83 [2021-01-27T02:48:15.845Z] Step 24/24 : LABEL version=0.0.0 [2021-01-27T02:48:16.106Z] ---> Running in c49cb1f46ca1 [2021-01-27T02:48:16.107Z] Removing intermediate container c49cb1f46ca1 [2021-01-27T02:48:16.107Z] ---> 48a7eb54f076 [2021-01-27T02:48:16.107Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-27T02:48:16.107Z] Successfully built 48a7eb54f076 [2021-01-27T02:48:16.107Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [2021-01-27T02:48:16.127Z] Removing intermediate container fa4f16baab7e [2021-01-27T02:48:16.127Z] ---> c6588677c22e [2021-01-27T02:48:16.127Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-27T02:48:16.127Z] ---> Running in 20f51bb8fcee [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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-27T02:48:18.768Z] Removing intermediate container 20f51bb8fcee [2021-01-27T02:48:18.768Z] ---> 37a8b942494b [2021-01-27T02:48:18.768Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-27T02:48:18.768Z] ---> Running in 9f7d57872250 [2021-01-27T02:48:19.359Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-27T02:48:20.333Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-27T02:48:20.924Z] OK: 142 MiB in 39 packages [2021-01-27T02:48:22.370Z] Removing intermediate container 9f7d57872250 [2021-01-27T02:48:22.370Z] ---> beaf412a866d [2021-01-27T02:48:22.370Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-27T02:48:22.370Z] ---> Running in 3cc2baf5bba3 [2021-01-27T02:48:22.969Z] Removing intermediate container 3cc2baf5bba3 [2021-01-27T02:48:22.969Z] ---> 808acb0af230 [2021-01-27T02:48:22.969Z] Step 7/8 : COPY . . [2021-01-27T02:48:24.403Z] ---> 9a63daf91013 [2021-01-27T02:48:24.403Z] Step 8/8 : RUN go mod download [2021-01-27T02:48:24.403Z] ---> Running in ce3b9271fc9a [2021-01-27T02:48:46.626Z] Removing intermediate container ce3b9271fc9a [2021-01-27T02:48:46.626Z] ---> fa4051d73d81 [2021-01-27T02:48:46.626Z] Successfully built fa4051d73d81 [2021-01-27T02:48:46.626Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:48:46.972Z] + docker inspect -f . ci-base-image-arm64 [2021-01-27T02:48:46.973Z] . [Pipeline] withDockerContainer [2021-01-27T02:48:47.261Z] prd-ubuntu18.04-docker-arm64-4c-16g-23346 does not seem to be running inside a container [2021-01-27T02:48:47.370Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 ******** ci-base-image-arm64 cat [2021-01-27T02:48:48.946Z] $ docker top ecb378e006512b575d494188d9b5662c3e2b8cc9b727d202050527d443c757d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T02:48:49.982Z] + go version [2021-01-27T02:48:49.982Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-27T02:48:50.033Z] $ docker stop --time=1 ecb378e006512b575d494188d9b5662c3e2b8cc9b727d202050527d443c757d5 [2021-01-27T02:48:51.996Z] $ docker rm -f ecb378e006512b575d494188d9b5662c3e2b8cc9b727d202050527d443c757d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:48:52.956Z] + docker inspect -f . ci-base-image-arm64 [2021-01-27T02:48:52.957Z] . [Pipeline] withDockerContainer [2021-01-27T02:48:53.212Z] prd-ubuntu18.04-docker-arm64-4c-16g-23346 does not seem to be running inside a container [2021-01-27T02:48:53.320Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 ******** ci-base-image-arm64 cat [2021-01-27T02:48:54.905Z] $ docker top 3ed90e26f1737eb59e11ecb7b992e24b54da21cfa1182adf9c0a88c438e7df50 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T02:48:55.949Z] + make test [2021-01-27T02:48:55.949Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-27T02:49:18.157Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-27T02:50:05.202Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-27T02:50:05.202Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-27T02:50:05.202Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-27T02:50:05.202Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.130s coverage: 24.3% of statements [2021-01-27T02:50:06.657Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.416s coverage: 97.1% of statements [2021-01-27T02:50:39.181Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.127s coverage: 9.4% of statements [2021-01-27T02:50:39.181Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.132s coverage: 22.9% of statements [2021-01-27T02:50:39.181Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-27T02:50:39.181Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.155s coverage: 84.8% of statements [2021-01-27T02:50:39.181Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-27T02:50:39.181Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-27T02:50:39.181Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-27T02:50:39.181Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-27T02:50:39.181Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.271s coverage: 53.8% of statements [2021-01-27T02:50:39.181Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-27T02:50:39.181Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-27T02:50:39.181Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.212s coverage: 26.8% of statements [2021-01-27T02:50:39.181Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.928s coverage: 83.5% of statements [2021-01-27T02:50:39.181Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.159s coverage: 4.2% of statements [2021-01-27T02:50:39.181Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-27T02:50:39.181Z] GO111MODULE=on go vet ./... [2021-01-27T02:51:11.562Z] gofmt -l . [2021-01-27T02:51:11.562Z] [ "`gofmt -l .`" = "" ] [2021-01-27T02:51:11.562Z] ./bin/test-attribution-txt.sh [2021-01-27T02:51:12.176Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-27T02:51:12.530Z] $ docker stop --time=1 3ed90e26f1737eb59e11ecb7b992e24b54da21cfa1182adf9c0a88c438e7df50 [2021-01-27T02:51:14.975Z] $ docker rm -f 3ed90e26f1737eb59e11ecb7b992e24b54da21cfa1182adf9c0a88c438e7df50 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-27T02:51:16.094Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-27T02:51:16.155Z] Warning: overwriting stash ‘coverage-report’ [2021-01-27T02:51:17.006Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-27T02:51:17.689Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-27T02:51:18.025Z] + ls -al . [2021-01-27T02:51:18.025Z] total 224 [2021-01-27T02:51:18.025Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 27 02:51 . [2021-01-27T02:51:18.025Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:47 .. [2021-01-27T02:51:18.025Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 27 02:47 .dockerignore [2021-01-27T02:51:18.025Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 27 02:47 .git [2021-01-27T02:51:18.025Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 02:47 .github [2021-01-27T02:51:18.025Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 27 02:47 .gitignore [2021-01-27T02:51:18.025Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 27 02:47 Dockerfile.build [2021-01-27T02:51:18.025Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 27 02:47 Jenkinsfile [2021-01-27T02:51:18.025Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 27 02:47 LICENSE [2021-01-27T02:51:18.025Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 27 02:47 Makefile [2021-01-27T02:51:18.025Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 27 02:47 README.md [2021-01-27T02:51:18.025Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 27 02:47 RELEASE-NOTES.txt [2021-01-27T02:51:18.025Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 27 02:44 VERSION [2021-01-27T02:51:18.025Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 02:47 bin [2021-01-27T02:51:18.025Z] -rw-r--r-- 1 jenkins jenkins 109745 Jan 27 02:50 coverage.out [2021-01-27T02:51:18.025Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:47 example [2021-01-27T02:51:18.025Z] -rw-r--r-- 1 jenkins jenkins 479 Jan 27 02:51 go.mod [2021-01-27T02:51:18.025Z] -rw-r--r-- 1 jenkins jenkins 13845 Jan 27 02:51 go.sum [2021-01-27T02:51:18.025Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 27 02:47 internal [2021-01-27T02:51:18.025Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:47 openapi [2021-01-27T02:51:18.025Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 27 02:47 pkg [2021-01-27T02:51:18.025Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:47 snap [2021-01-27T02:51:18.025Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 27 02:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:51:18.366Z] + docker build -t docker-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=4297071cdc2afffe196d9dcb42730d68727fb67a --label arch=arm64 --label version=0.0.0 . [2021-01-27T02:51:18.961Z] Sending build context to Docker daemon 2.654MB [2021-01-27T02:51:18.961Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-27T02:51:18.961Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-27T02:51:18.961Z] ---> fa4051d73d81 [2021-01-27T02:51:18.961Z] Step 3/24 : ARG MAKE='make build' [2021-01-27T02:51:19.234Z] ---> Running in fb0bf64ece43 [2021-01-27T02:51:19.506Z] Removing intermediate container fb0bf64ece43 [2021-01-27T02:51:19.506Z] ---> 8de178ff3408 [2021-01-27T02:51:19.506Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-27T02:51:19.779Z] ---> Running in ad5b329970ab [2021-01-27T02:51:20.373Z] Removing intermediate container ad5b329970ab [2021-01-27T02:51:20.373Z] ---> 2adf999a2321 [2021-01-27T02:51:20.373Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T02:51:20.373Z] ---> Running in 066e9ad1fedf [2021-01-27T02:51:20.646Z] Removing intermediate container 066e9ad1fedf [2021-01-27T02:51:20.646Z] ---> 320c424a16b3 [2021-01-27T02:51:20.646Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-27T02:51:20.924Z] ---> Running in 7baf692f72de [2021-01-27T02:51:22.898Z] Removing intermediate container 7baf692f72de [2021-01-27T02:51:22.898Z] ---> 28847f8d36e8 [2021-01-27T02:51:22.898Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-27T02:51:23.170Z] ---> Running in 08a855e4b540 [2021-01-27T02:51:24.149Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-27T02:51:25.145Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-27T02:51:26.163Z] OK: 142 MiB in 39 packages [2021-01-27T02:51:27.602Z] Removing intermediate container 08a855e4b540 [2021-01-27T02:51:27.602Z] ---> 2295ecded7e4 [2021-01-27T02:51:27.602Z] Step 8/24 : COPY . . [2021-01-27T02:51:29.036Z] ---> ac0201f1d204 [2021-01-27T02:51:29.036Z] Step 9/24 : RUN ${MAKE} [2021-01-27T02:51:29.036Z] ---> Running in 6f2051ec4118 [2021-01-27T02:51:30.017Z] CGO_ENABLED=0 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-01-27T02:51:56.848Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-27T02:51:58.309Z] Removing intermediate container 6f2051ec4118 [2021-01-27T02:51:58.309Z] ---> 7a1304570495 [2021-01-27T02:51:58.309Z] Step 10/24 : FROM scratch [2021-01-27T02:51:58.309Z] ---> [2021-01-27T02:51:58.309Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T02:51:58.594Z] ---> Running in 57f351d9dac1 [2021-01-27T02:51:58.876Z] Removing intermediate container 57f351d9dac1 [2021-01-27T02:51:58.876Z] ---> 814fe60345ff [2021-01-27T02:51:58.876Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-27T02:51:58.876Z] ---> Running in 2e47325e9e51 [2021-01-27T02:51:59.487Z] Removing intermediate container 2e47325e9e51 [2021-01-27T02:51:59.487Z] ---> ce63fdf20bb7 [2021-01-27T02:51:59.487Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-27T02:51:59.487Z] ---> Running in dc4589329257 [2021-01-27T02:51:59.762Z] Removing intermediate container dc4589329257 [2021-01-27T02:51:59.762Z] ---> 949044daeee7 [2021-01-27T02:51:59.762Z] Step 14/24 : WORKDIR / [2021-01-27T02:52:00.037Z] ---> Running in c308a1511bde [2021-01-27T02:52:00.633Z] Removing intermediate container c308a1511bde [2021-01-27T02:52:00.633Z] ---> 4b2cc7757297 [2021-01-27T02:52:00.633Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-27T02:52:01.614Z] ---> 17eab659ad17 [2021-01-27T02:52:01.614Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-27T02:52:02.216Z] ---> 5efc84fdcc76 [2021-01-27T02:52:02.216Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-27T02:52:03.200Z] ---> b9d32e61ef2c [2021-01-27T02:52:03.200Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-27T02:52:03.810Z] ---> 5074e8eaf3ba [2021-01-27T02:52:03.810Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-27T02:52:04.403Z] ---> 4de185bda5dd [2021-01-27T02:52:04.403Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-27T02:52:04.687Z] ---> Running in f3f1b6a8671b [2021-01-27T02:52:05.289Z] Removing intermediate container f3f1b6a8671b [2021-01-27T02:52:05.289Z] ---> b3ad4d37ba8f [2021-01-27T02:52:05.289Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-27T02:52:05.289Z] ---> Running in b89b9bba6835 [2021-01-27T02:52:05.886Z] Removing intermediate container b89b9bba6835 [2021-01-27T02:52:05.886Z] ---> e6a38e386185 [2021-01-27T02:52:05.886Z] Step 22/24 : LABEL arch=arm64 [2021-01-27T02:52:05.886Z] ---> Running in 6b917cf75ba3 [2021-01-27T02:52:06.483Z] Removing intermediate container 6b917cf75ba3 [2021-01-27T02:52:06.483Z] ---> 5328f2e01c5f [2021-01-27T02:52:06.483Z] Step 23/24 : LABEL git_sha=4297071cdc2afffe196d9dcb42730d68727fb67a [2021-01-27T02:52:06.483Z] ---> Running in ae53fb830ff5 [2021-01-27T02:52:07.081Z] Removing intermediate container ae53fb830ff5 [2021-01-27T02:52:07.081Z] ---> 0fd658e0528f [2021-01-27T02:52:07.081Z] Step 24/24 : LABEL version=0.0.0 [2021-01-27T02:52:07.081Z] ---> Running in 30751c3b302d [2021-01-27T02:52:07.677Z] Removing intermediate container 30751c3b302d [2021-01-27T02:52:07.677Z] ---> daf326c08818 [2021-01-27T02:52:07.677Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-27T02:52:07.677Z] Successfully built daf326c08818 [2021-01-27T02:52:07.677Z] Successfully tagged docker-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 [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] wrap [2021-01-27T02:52:09.293Z] provisioning config files... [2021-01-27T02:52:09.306Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/config8735152448309041316tmp [Pipeline] { [Pipeline] sh [2021-01-27T02:52:09.727Z] + set +x [2021-01-27T02:52:09.728Z] + bash -s -- [2021-01-27T02:52:09.728Z] + curl -s https://codecov.io/bash [2021-01-27T02:52:10.012Z] [2021-01-27T02:52:10.012Z] _____ _ [2021-01-27T02:52:10.012Z] / ____| | | [2021-01-27T02:52:10.012Z] | | ___ __| | ___ ___ _____ __ [2021-01-27T02:52:10.012Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-27T02:52:10.012Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-27T02:52:10.012Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-27T02:52:10.012Z] Bash-20210115-cec3c92 [2021-01-27T02:52:10.012Z] [2021-01-27T02:52:10.012Z] [2021-01-27T02:52:10.012Z] ==> git version 2.24.3 found [2021-01-27T02:52:10.012Z] ==> 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-01-27T02:52:10.012Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-27T02:52:10.012Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-27T02:52:10.012Z] ==> Jenkins CI detected. [2021-01-27T02:52:10.012Z] project root: . [2021-01-27T02:52:10.012Z] --> token set from env [2021-01-27T02:52:10.012Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-27T02:52:10.292Z] ==> Running gcov in . (disable via -X gcov) [2021-01-27T02:52:10.292Z] ==> Python coveragepy not found [2021-01-27T02:52:10.292Z] ==> Searching for coverage reports in: [2021-01-27T02:52:10.292Z] + . [2021-01-27T02:52:10.292Z] -> Found 1 reports [2021-01-27T02:52:10.292Z] ==> Detecting git/mercurial file structure [2021-01-27T02:52:10.292Z] ==> Reading reports [2021-01-27T02:52:10.292Z] + ./coverage.out bytes=109745 [2021-01-27T02:52:10.292Z] ==> Appending adjustments [2021-01-27T02:52:10.292Z] https://docs.codecov.io/docs/fixing-reports [2021-01-27T02:52:11.334Z] + Found adjustments [2021-01-27T02:52:11.334Z] ==> Gzipping contents [2021-01-27T02:52:11.334Z] 20K /tmp/codecov.wASahv.gz [2021-01-27T02:52:11.334Z] ==> Uploading reports [2021-01-27T02:52:11.334Z] url: https://codecov.io [2021-01-27T02:52:11.334Z] query: branch=PR-746&commit=4297071cdc2afffe196d9dcb42730d68727fb67a&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-746%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=746&job=&cmd_args= [2021-01-27T02:52:11.334Z] -> Pinging Codecov [2021-01-27T02:52:11.334Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-746&commit=4297071cdc2afffe196d9dcb42730d68727fb67a&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-746%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=746&job=&cmd_args= [2021-01-27T02:52:11.938Z] -> Uploading to [2021-01-27T02:52:11.938Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-27/7E55EF52A471D76F132DFD9A03CDDE97/4297071cdc2afffe196d9dcb42730d68727fb67a/5beba0eb-9c63-4b11-ac46-76a74e1b8527.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210127%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210127T025211Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=188c2a229636e0a5a723373946c52d998e6d427fd027114ab39fcb2e18fc2529 [2021-01-27T02:52:11.938Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-27T02:52:11.938Z] Dload Upload Total Spent Left Speed [2021-01-27T02:52:12.514Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18053 0 0 100 18053 0 36515 --:--:-- --:--:-- --:--:-- 36470 [2021-01-27T02:52:12.514Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/4297071cdc2afffe196d9dcb42730d68727fb67a [Pipeline] } [2021-01-27T02:52:12.585Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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-01-27T02:52:15.193Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:52:15.893Z] ---> package-listing.sh [2021-01-27T02:52:15.893Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-27T02:52:15.893Z] ++ facter osfamily [2021-01-27T02:52:16.169Z] + OS_FAMILY=redhat [2021-01-27T02:52:16.169Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-746 [2021-01-27T02:52:16.169Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-27T02:52:16.169Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-27T02:52:16.169Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-27T02:52:16.169Z] + PACKAGES=/tmp/packages_start.txt [2021-01-27T02:52:16.169Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-746 ']' [2021-01-27T02:52:16.169Z] + PACKAGES=/tmp/packages_end.txt [2021-01-27T02:52:16.169Z] + case "${OS_FAMILY}" in [2021-01-27T02:52:16.169Z] + sort [2021-01-27T02:52:16.169Z] + rpm -qa [2021-01-27T02:52:22.950Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-27T02:52:22.950Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-27T02:52:22.950Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-27T02:52:22.950Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-746 ']' [2021-01-27T02:52:22.950Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-746/archives/ [2021-01-27T02:52:22.950Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-746/archives/ [Pipeline] echo [2021-01-27T02:52:22.977Z] 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/dgexfoundry_device-sdk-go_PR-746/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-27T02:52:23.356Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:52:24.032Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-27T02:52:24.322Z] [2021-01-27T02:52:24.322Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:52:24.823Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-27T02:52:24.823Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-27T02:52:24.823Z] df20fa9351a1: Pulling fs layer [2021-01-27T02:52:24.823Z] 36b3adc4ff6f: Pulling fs layer [2021-01-27T02:52:24.823Z] 8ad3a11d3b57: Pulling fs layer [2021-01-27T02:52:24.823Z] 46f8f816bc3b: Pulling fs layer [2021-01-27T02:52:24.823Z] 93b61091891f: Pulling fs layer [2021-01-27T02:52:24.823Z] 93b9cdb0e59b: Pulling fs layer [2021-01-27T02:52:24.823Z] 5e14af77c1be: Pulling fs layer [2021-01-27T02:52:24.823Z] 01666e4c0597: Pulling fs layer [2021-01-27T02:52:24.823Z] aa168da1d23b: Pulling fs layer [2021-01-27T02:52:24.823Z] 93b61091891f: Waiting [2021-01-27T02:52:24.823Z] 93b9cdb0e59b: Waiting [2021-01-27T02:52:24.823Z] 5e14af77c1be: Waiting [2021-01-27T02:52:24.823Z] 01666e4c0597: Waiting [2021-01-27T02:52:24.823Z] aa168da1d23b: Waiting [2021-01-27T02:52:24.823Z] 46f8f816bc3b: Waiting [2021-01-27T02:52:25.103Z] 36b3adc4ff6f: Download complete [2021-01-27T02:52:25.103Z] 46f8f816bc3b: Verifying Checksum [2021-01-27T02:52:25.103Z] 46f8f816bc3b: Download complete [2021-01-27T02:52:25.103Z] df20fa9351a1: Verifying Checksum [2021-01-27T02:52:25.103Z] df20fa9351a1: Download complete [2021-01-27T02:52:25.103Z] 93b9cdb0e59b: Verifying Checksum [2021-01-27T02:52:25.103Z] 93b9cdb0e59b: Download complete [2021-01-27T02:52:25.103Z] 5e14af77c1be: Verifying Checksum [2021-01-27T02:52:25.103Z] 5e14af77c1be: Download complete [2021-01-27T02:52:25.103Z] 01666e4c0597: Verifying Checksum [2021-01-27T02:52:25.103Z] 01666e4c0597: Download complete [2021-01-27T02:52:25.384Z] 93b61091891f: Verifying Checksum [2021-01-27T02:52:25.384Z] 93b61091891f: Download complete [2021-01-27T02:52:26.025Z] df20fa9351a1: Pull complete [2021-01-27T02:52:26.025Z] 8ad3a11d3b57: Verifying Checksum [2021-01-27T02:52:26.025Z] 8ad3a11d3b57: Download complete [2021-01-27T02:52:26.337Z] 36b3adc4ff6f: Pull complete [2021-01-27T02:52:28.464Z] 8ad3a11d3b57: Pull complete [2021-01-27T02:52:28.772Z] 46f8f816bc3b: Pull complete [2021-01-27T02:52:29.431Z] 93b61091891f: Pull complete [2021-01-27T02:52:29.761Z] 93b9cdb0e59b: Pull complete [2021-01-27T02:52:30.072Z] 5e14af77c1be: Pull complete [2021-01-27T02:52:30.072Z] 01666e4c0597: Pull complete [2021-01-27T02:52:32.816Z] aa168da1d23b: Verifying Checksum [2021-01-27T02:52:32.816Z] aa168da1d23b: Download complete [2021-01-27T02:52:48.478Z] aa168da1d23b: Pull complete [2021-01-27T02:52:48.478Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-27T02:52:48.478Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-27T02:52:48.478Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-27T02:52:48.790Z] prd-centos7-docker-4c-2g-23323 does not seem to be running inside a container [2021-01-27T02:52:48.932Z] $ 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/dgexfoundry_device-sdk-go_PR-746/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-746 -v /w/workspace/dgexfoundry_device-sdk-go_PR-746:/w/workspace/dgexfoundry_device-sdk-go_PR-746:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-746@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:alpine cat [2021-01-27T02:52:52.783Z] $ docker top ab5c4c370b7a4535d58024b3dbf78968493feff481a7c90cca63bbee5edac19e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T02:52:54.113Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-27T02:52:54.524Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-27T02:52:55.281Z] + ls /var/log/sa-host [2021-01-27T02:52:55.281Z] + sadf -c /var/log/sa-host/sa23 [2021-01-27T02:52:55.281Z] file_magic: OK [2021-01-27T02:52:55.281Z] HZ: Using current value: 100 [2021-01-27T02:52:55.281Z] file_header: OK [2021-01-27T02:52:55.281Z] 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-01-27T02:52:55.281Z] Statistics: [2021-01-27T02:52:55.281Z] Hnuu...uuuununununu... [2021-01-27T02:52:55.281Z] File successfully converted to sysstat format version 12.2.1 [2021-01-27T02:52:55.281Z] + sadf -c /var/log/sa-host/sa27 [2021-01-27T02:52:55.281Z] file_magic: OK [2021-01-27T02:52:55.281Z] HZ: Using current value: 100 [2021-01-27T02:52:55.281Z] file_header: OK [2021-01-27T02:52:55.281Z] 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-01-27T02:52:55.281Z] Statistics: [2021-01-27T02:52:55.281Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-27T02:52:55.281Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-27T02:52:55.646Z] provisioning config files... [2021-01-27T02:52:55.676Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/config490630089695408462tmp [Pipeline] { [Pipeline] echo [2021-01-27T02:52:55.762Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:52:56.430Z] ---> create-netrc.sh [Pipeline] } [2021-01-27T02:52:56.451Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-27T02:52:56.551Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:52:57.258Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-27T02:52:57.293Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:52:58.237Z] ---> sudo-logs.sh [2021-01-27T02:52:58.237Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-27T02:52:58.299Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:52:58.937Z] ---> job-cost.sh [2021-01-27T02:52:58.937Z] lf-activate-venv: SKIPPING [2021-01-27T02:52:58.937Z] INFO: No Stack... [2021-01-27T02:53:00.391Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-27T02:53:01.118Z] INFO: Archiving Costs [Pipeline] echo [2021-01-27T02:53:01.171Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:53:02.100Z] ---> logs-deploy.sh [2021-01-27T02:53:02.101Z] lf-activate-venv: SKIPPING [2021-01-27T02:53:02.101Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-746/7 [2021-01-27T02:53:02.101Z] INFO: archiving workspace using pattern(s): [2021-01-27T02:53:04.810Z] Archives upload complete. [2021-01-27T02:53:05.091Z] INFO: archiving logs to Nexus