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 gao270615179 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 rather than bb3603909ab1ef3aa492044f3b646f1bb29ba67c Obtained Jenkinsfile from 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-20744 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [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-732 # 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 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c Merge succeeded, producing 54903d81de16e04aa6173ce8aa56354737f9ea07 Checking out Revision 54903d81de16e04aa6173ce8aa56354737f9ea07 (PR-732) > 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/732/head:refs/remotes/origin/PR-732 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 54903d81de16e04aa6173ce8aa56354737f9ea07 # timeout=10 Commit message: "Merge commit '4c3dc03c8ea9c7d0ca8607851bb568d204203cf0' into HEAD" > git rev-list --no-walk bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-16T02:45:17.169Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-16T02:45:17.425Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-16T02:45:17.518Z] ========================================================= [2021-01-16T02:45:17.518Z] EdgeX Global Pipelines Version Info [2021-01-16T02:45:17.518Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-16T02:45:19.077Z] ------------------- [2021-01-16T02:45:19.077Z] stable info: [2021-01-16T02:45:19.077Z] ------------------- [2021-01-16T02:45:19.077Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-16T02:45:19.077Z] Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d [2021-01-16T02:45:19.077Z] Message: update stable to v1.0.177 [2021-01-16T02:45:20.027Z] ------------------- [2021-01-16T02:45:20.027Z] experimental info: [2021-01-16T02:45:20.027Z] ------------------- [2021-01-16T02:45:20.027Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-16T02:45:20.027Z] Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 [2021-01-16T02:45:20.027Z] Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-16T02:45:20.307Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-16T02:45:20.398Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-16T02:45:20.501Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-16T02:45:20.607Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-16T02:45:20.746Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-16T02:45:20.905Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-16T02:45:20.995Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-16T02:45:21.097Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-16T02:45:21.207Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-16T02:45:21.312Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-16T02:45:21.419Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-16T02:45:21.531Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-16T02:45:21.617Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-16T02:45:21.711Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-16T02:45:21.797Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-16T02:45:21.883Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-16T02:45:21.973Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-16T02:45:22.067Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-16T02:45:22.190Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-16T02:45:22.279Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-16T02:45:22.380Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-16T02:45:22.467Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-16T02:45:22.569Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-16T02:45:22.677Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-16T02:45:22.765Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-16T02:45:22.848Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-16T02:45:22.941Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-16T02:45:23.025Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-732 [Pipeline] echo [2021-01-16T02:45:23.105Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-732 [Pipeline] echo [2021-01-16T02:45:23.287Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-732 [Pipeline] echo [2021-01-16T02:45:23.381Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 54903d81de16e04aa6173ce8aa56354737f9ea07 [Pipeline] echo [2021-01-16T02:45:23.494Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 54903d8 [Pipeline] echo [2021-01-16T02:45:23.578Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-16T02:45:23.744Z] provisioning config files... [2021-01-16T02:45:23.774Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config3657555535253628535tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-16T02:45:24.144Z] ---> docker-login.sh [2021-01-16T02:45:24.144Z] nexus3.edgexfoundry.org:10001 [2021-01-16T02:45:24.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:45:24.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:45:24.675Z] Configure a credential helper to remove this warning. See [2021-01-16T02:45:24.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:45:24.675Z] [2021-01-16T02:45:24.675Z] Login Succeeded [2021-01-16T02:45:24.675Z] nexus3.edgexfoundry.org:10002 [2021-01-16T02:45:24.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:45:24.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:45:24.941Z] Configure a credential helper to remove this warning. See [2021-01-16T02:45:24.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:45:24.941Z] [2021-01-16T02:45:24.941Z] Login Succeeded [2021-01-16T02:45:24.941Z] nexus3.edgexfoundry.org:10003 [2021-01-16T02:45:24.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:45:24.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:45:24.941Z] Configure a credential helper to remove this warning. See [2021-01-16T02:45:24.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:45:24.941Z] [2021-01-16T02:45:24.941Z] Login Succeeded [2021-01-16T02:45:24.941Z] nexus3.edgexfoundry.org:10004 [2021-01-16T02:45:25.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:45:25.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:45:25.204Z] Configure a credential helper to remove this warning. See [2021-01-16T02:45:25.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:45:25.204Z] [2021-01-16T02:45:25.204Z] Login Succeeded [2021-01-16T02:45:25.204Z] docker.io [2021-01-16T02:45:25.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:45:25.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:45:25.734Z] Configure a credential helper to remove this warning. See [2021-01-16T02:45:25.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:45:25.734Z] [2021-01-16T02:45:25.734Z] Login Succeeded [2021-01-16T02:45:25.734Z] ---> docker-login.sh ends [Pipeline] } [2021-01-16T02:45:25.744Z] 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-16T02:45:26.545Z] + git log --format=format:%s -1 54903d81de16e04aa6173ce8aa56354737f9ea07 [Pipeline] echo [2021-01-16T02:45:26.612Z] GIT_COMMIT: 54903d81de16e04aa6173ce8aa56354737f9ea07, Commit Message: Merge commit '4c3dc03c8ea9c7d0ca8607851bb568d204203cf0' into HEAD [Pipeline] echo [2021-01-16T02:45:26.668Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-16T02:45:27.271Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-16T02:45:27.271Z] [2021-01-16T02:45:27.271Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-16T02:45:27.639Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-16T02:45:27.639Z] latest: Pulling from edgex-devops/git-semver [2021-01-16T02:45:27.639Z] 31603596830f: Pulling fs layer [2021-01-16T02:45:27.639Z] 2a8b12db71e7: Pulling fs layer [2021-01-16T02:45:27.639Z] 6ca5941a6612: Pulling fs layer [2021-01-16T02:45:27.639Z] ecc8261a40a4: Pulling fs layer [2021-01-16T02:45:27.639Z] ecc8261a40a4: Waiting [2021-01-16T02:45:27.639Z] 2a8b12db71e7: Verifying Checksum [2021-01-16T02:45:27.639Z] 2a8b12db71e7: Download complete [2021-01-16T02:45:27.639Z] 31603596830f: Download complete [2021-01-16T02:45:27.911Z] ecc8261a40a4: Verifying Checksum [2021-01-16T02:45:27.911Z] ecc8261a40a4: Download complete [2021-01-16T02:45:27.911Z] 6ca5941a6612: Verifying Checksum [2021-01-16T02:45:27.911Z] 6ca5941a6612: Download complete [2021-01-16T02:45:28.174Z] 31603596830f: Pull complete [2021-01-16T02:45:28.174Z] 2a8b12db71e7: Pull complete [2021-01-16T02:45:29.135Z] 6ca5941a6612: Pull complete [2021-01-16T02:45:29.419Z] ecc8261a40a4: Pull complete [2021-01-16T02:45:29.419Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-16T02:45:29.419Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-16T02:45:29.419Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-16T02:45:29.595Z] prd-centos7-docker-4c-2g-20744 does not seem to be running inside a container [2021-01-16T02:45:29.650Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-732 -v /w/workspace/dgexfoundry_device-sdk-go_PR-732:/w/workspace/dgexfoundry_device-sdk-go_PR-732:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-732@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-16T02:45:32.132Z] $ docker top 1da7d65dda1956f3e6b68fcecb2682ac179a92ff7fa5be59fd6a3d96980f3cf3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-16T02:45:32.486Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-16T02:45:32.486Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-16T02:45:32.708Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-16T02:45:32.713Z] $ docker exec 1da7d65dda1956f3e6b68fcecb2682ac179a92ff7fa5be59fd6a3d96980f3cf3 ssh-agent [2021-01-16T02:45:32.896Z] SSH_AUTH_SOCK=/tmp/ssh-icaMLoi73uuT/agent.12 [2021-01-16T02:45:32.896Z] SSH_AGENT_PID=17 [2021-01-16T02:45:32.910Z] Running ssh-add (command line suppressed) [2021-01-16T02:45:33.044Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_3402335804805559334.key (/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_3402335804805559334.key) [2021-01-16T02:45:33.099Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-16T02:45:33.443Z] + git tag --points-at HEAD [Pipeline] } [2021-01-16T02:45:33.470Z] $ docker exec --env ******** --env ******** 1da7d65dda1956f3e6b68fcecb2682ac179a92ff7fa5be59fd6a3d96980f3cf3 ssh-agent -k [2021-01-16T02:45:33.592Z] unset SSH_AUTH_SOCK; [2021-01-16T02:45:33.593Z] unset SSH_AGENT_PID; [2021-01-16T02:45:33.593Z] echo Agent pid 17 killed; [2021-01-16T02:45:33.639Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-16T02:45:33.809Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-16T02:45:33.809Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-16T02:45:33.991Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-16T02:45:33.995Z] $ docker exec 1da7d65dda1956f3e6b68fcecb2682ac179a92ff7fa5be59fd6a3d96980f3cf3 ssh-agent [2021-01-16T02:45:34.203Z] SSH_AUTH_SOCK=/tmp/ssh-7x6Uv9gACSk4/agent.47 [2021-01-16T02:45:34.203Z] SSH_AGENT_PID=52 [2021-01-16T02:45:34.212Z] Running ssh-add (command line suppressed) [2021-01-16T02:45:34.342Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_2806581022509583543.key (/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_2806581022509583543.key) [2021-01-16T02:45:34.399Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-16T02:45:34.739Z] + git semver init [2021-01-16T02:45:34.739Z] # -> Open(): unable to determine branch for HEAD [2021-01-16T02:45:34.739Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-732/.git [2021-01-16T02:45:34.739Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-732 [2021-01-16T02:45:34.739Z] # $SEMVER_REMOTE_NAME = origin [2021-01-16T02:45:34.739Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-16T02:45:34.739Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-16T02:45:34.739Z] # $SEMVER_BRANCH = PR-732 [2021-01-16T02:45:34.739Z] # $SEMVER_TEMP = /tmp/semver-187644639 [2021-01-16T02:45:34.739Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-16T02:45:35.688Z] # '/tmp/semver-187644639' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-732/.semver' [2021-01-16T02:45:35.688Z] # -> Force: false [2021-01-16T02:45:35.688Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-732/.semver [Pipeline] } [2021-01-16T02:45:35.702Z] $ docker exec --env ******** --env ******** 1da7d65dda1956f3e6b68fcecb2682ac179a92ff7fa5be59fd6a3d96980f3cf3 ssh-agent -k [2021-01-16T02:45:35.837Z] unset SSH_AUTH_SOCK; [2021-01-16T02:45:35.838Z] unset SSH_AGENT_PID; [2021-01-16T02:45:35.838Z] echo Agent pid 52 killed; [2021-01-16T02:45:35.886Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-16T02:45:36.347Z] + git semver [Pipeline] } [2021-01-16T02:45:36.367Z] $ docker stop --time=1 1da7d65dda1956f3e6b68fcecb2682ac179a92ff7fa5be59fd6a3d96980f3cf3 [2021-01-16T02:45:37.788Z] $ docker rm -f 1da7d65dda1956f3e6b68fcecb2682ac179a92ff7fa5be59fd6a3d96980f3cf3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-16T02:45:38.265Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-16T02:45:38.676Z] Stashed 1 file(s) [Pipeline] echo [2021-01-16T02:45:38.679Z] [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-16T02:45:54.157Z] Still waiting to schedule task [2021-01-16T02:45:54.157Z] ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-20746’ is offline; ‘prd-centos7-docker-4c-2g-20747’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-16T02:45:54.159Z] Still waiting to schedule task [2021-01-16T02:45:54.159Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-16T02:46:03.703Z] Running on prd-centos7-docker-4c-2g-20746 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [Pipeline] { [Pipeline] ws [2021-01-16T02:46:03.764Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-01-16T02:46:06.371Z] using credential edgex-jenkins-ssh [2021-01-16T02:46:06.424Z] Cloning the remote Git repository [2021-01-16T02:46:06.456Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-16T02:46:06.529Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-01-16T02:46:06.592Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-16T02:46:06.593Z] > git --version # timeout=10 [2021-01-16T02:46:06.600Z] > git --version # 'git version 2.24.3' [2021-01-16T02:46:06.601Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-16T02:46:06.628Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-16T02:46:07.947Z] Merging remotes/origin/master commit 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c [2021-01-16T02:46:08.103Z] Merge succeeded, producing 1bd2fabac256710ce69b4bde34fd98c90f6197be [2021-01-16T02:46:08.103Z] Checking out Revision 1bd2fabac256710ce69b4bde34fd98c90f6197be (PR-732) [2021-01-16T02:46:07.417Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-16T02:46:07.424Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-16T02:46:07.442Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-16T02:46:07.454Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-16T02:46:07.454Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-16T02:46:07.460Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/732/head:refs/remotes/origin/PR-732 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-16T02:46:07.956Z] > git config core.sparsecheckout # timeout=10 [2021-01-16T02:46:07.961Z] > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 [2021-01-16T02:46:08.016Z] > git remote # timeout=10 [2021-01-16T02:46:08.021Z] > git config --get remote.origin.url # timeout=10 [2021-01-16T02:46:08.027Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-16T02:46:08.030Z] > git merge 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 [2021-01-16T02:46:08.096Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-16T02:46:08.106Z] > git config core.sparsecheckout # timeout=10 [2021-01-16T02:46:08.110Z] > git checkout -f 1bd2fabac256710ce69b4bde34fd98c90f6197be # timeout=10 [2021-01-16T02:46:11.910Z] Commit message: "Merge commit '4c3dc03c8ea9c7d0ca8607851bb568d204203cf0' into HEAD" [2021-01-16T02:46:11.915Z] > git rev-list --no-walk bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-16T02:46:13.182Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-16T02:46:13.520Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-16T02:46:13.823Z] + sudo service docker restart [2021-01-16T02:46:13.823Z] + true [2021-01-16T02:46:13.823Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-16T02:46:14.837Z] provisioning config files... [2021-01-16T02:46:14.905Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config1119942093258679034tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-16T02:46:15.265Z] ---> docker-login.sh [2021-01-16T02:46:15.265Z] nexus3.edgexfoundry.org:10001 [2021-01-16T02:46:15.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:46:15.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:46:15.792Z] Configure a credential helper to remove this warning. See [2021-01-16T02:46:15.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:46:15.792Z] [2021-01-16T02:46:15.792Z] Login Succeeded [2021-01-16T02:46:15.792Z] nexus3.edgexfoundry.org:10002 [2021-01-16T02:46:15.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:46:15.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:46:15.792Z] Configure a credential helper to remove this warning. See [2021-01-16T02:46:15.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:46:15.792Z] [2021-01-16T02:46:15.792Z] Login Succeeded [2021-01-16T02:46:15.792Z] nexus3.edgexfoundry.org:10003 [2021-01-16T02:46:16.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:46:16.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:46:16.055Z] Configure a credential helper to remove this warning. See [2021-01-16T02:46:16.055Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:46:16.055Z] [2021-01-16T02:46:16.055Z] Login Succeeded [2021-01-16T02:46:16.055Z] nexus3.edgexfoundry.org:10004 [2021-01-16T02:46:16.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:46:16.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:46:16.319Z] Configure a credential helper to remove this warning. See [2021-01-16T02:46:16.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:46:16.319Z] [2021-01-16T02:46:16.319Z] Login Succeeded [2021-01-16T02:46:16.319Z] docker.io [2021-01-16T02:46:16.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:46:16.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:46:16.584Z] Configure a credential helper to remove this warning. See [2021-01-16T02:46:16.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:46:16.584Z] [2021-01-16T02:46:16.584Z] Login Succeeded [2021-01-16T02:46:16.584Z] ---> docker-login.sh ends [Pipeline] } [2021-01-16T02:46:16.594Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-16T02:46:16.963Z] ========================================================= [2021-01-16T02:46:16.963Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-16T02:46:16.963Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-16T02:46:17.328Z] + 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-16T02:46:17.593Z] Sending build context to Docker daemon 2.641MB [2021-01-16T02:46:17.593Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-16T02:46:17.593Z] Step 2/8 : FROM ${BASE} [2021-01-16T02:46:17.593Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-16T02:46:17.593Z] 188c0c94c7c5: Pulling fs layer [2021-01-16T02:46:17.593Z] 0ef7d3d256c8: Pulling fs layer [2021-01-16T02:46:17.593Z] de9db76c5a1d: Pulling fs layer [2021-01-16T02:46:17.593Z] bca2f99d35d6: Pulling fs layer [2021-01-16T02:46:17.593Z] 93359f2a8cfa: Pulling fs layer [2021-01-16T02:46:17.593Z] 7c6f9722023f: Pulling fs layer [2021-01-16T02:46:17.593Z] a35cf1a2eb13: Pulling fs layer [2021-01-16T02:46:17.593Z] 93359f2a8cfa: Waiting [2021-01-16T02:46:17.593Z] 7c6f9722023f: Waiting [2021-01-16T02:46:17.593Z] a35cf1a2eb13: Waiting [2021-01-16T02:46:17.593Z] bca2f99d35d6: Waiting [2021-01-16T02:46:17.593Z] de9db76c5a1d: Verifying Checksum [2021-01-16T02:46:17.593Z] de9db76c5a1d: Download complete [2021-01-16T02:46:17.593Z] 0ef7d3d256c8: Verifying Checksum [2021-01-16T02:46:17.593Z] 0ef7d3d256c8: Download complete [2021-01-16T02:46:17.593Z] 93359f2a8cfa: Verifying Checksum [2021-01-16T02:46:17.593Z] 93359f2a8cfa: Download complete [2021-01-16T02:46:17.593Z] 188c0c94c7c5: Download complete [2021-01-16T02:46:17.593Z] 7c6f9722023f: Verifying Checksum [2021-01-16T02:46:17.593Z] 7c6f9722023f: Download complete [2021-01-16T02:46:17.856Z] 188c0c94c7c5: Pull complete [2021-01-16T02:46:18.119Z] 0ef7d3d256c8: Pull complete [2021-01-16T02:46:18.382Z] de9db76c5a1d: Pull complete [2021-01-16T02:46:21.712Z] a35cf1a2eb13: Verifying Checksum [2021-01-16T02:46:21.712Z] a35cf1a2eb13: Download complete [2021-01-16T02:46:22.661Z] bca2f99d35d6: Verifying Checksum [2021-01-16T02:46:22.661Z] bca2f99d35d6: Download complete [2021-01-16T02:46:27.992Z] bca2f99d35d6: Pull complete [2021-01-16T02:46:27.992Z] 93359f2a8cfa: Pull complete [2021-01-16T02:46:27.992Z] 7c6f9722023f: Pull complete [2021-01-16T02:46:32.231Z] a35cf1a2eb13: Pull complete [2021-01-16T02:46:32.231Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-16T02:46:32.231Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-16T02:46:32.231Z] ---> a62c8e92a672 [2021-01-16T02:46:32.231Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-16T02:46:32.496Z] ---> Running in baf9c0e220bc [2021-01-16T02:46:32.761Z] Removing intermediate container baf9c0e220bc [2021-01-16T02:46:32.761Z] ---> ce9c5f40b7c1 [2021-01-16T02:46:32.761Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-16T02:46:32.761Z] ---> Running in e61fe8e6238a [2021-01-16T02:46:34.157Z] Removing intermediate container e61fe8e6238a [2021-01-16T02:46:34.157Z] ---> 2e701f558d8d [2021-01-16T02:46:34.157Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-16T02:46:34.157Z] ---> Running in ffbaf1ffba57 [2021-01-16T02:46:35.106Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-16T02:46:35.682Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-16T02:46:35.945Z] OK: 166 MiB in 39 packages [2021-01-16T02:46:36.521Z] Removing intermediate container ffbaf1ffba57 [2021-01-16T02:46:36.521Z] ---> 67ecbab3195c [2021-01-16T02:46:36.521Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-16T02:46:36.521Z] ---> Running in 9d07d70d9e70 [2021-01-16T02:46:36.784Z] Removing intermediate container 9d07d70d9e70 [2021-01-16T02:46:36.784Z] ---> b7f47ec53ab4 [2021-01-16T02:46:36.784Z] Step 7/8 : COPY . . [2021-01-16T02:46:38.178Z] ---> ee696e6f76c2 [2021-01-16T02:46:38.178Z] Step 8/8 : RUN go mod download [2021-01-16T02:46:38.178Z] ---> Running in c06c261ba96f [2021-01-16T02:46:56.397Z] Removing intermediate container c06c261ba96f [2021-01-16T02:46:56.397Z] ---> 79a56c88852e [2021-01-16T02:46:56.397Z] Successfully built 79a56c88852e [2021-01-16T02:46:56.397Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-16T02:46:56.716Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-16T02:46:56.716Z] . [Pipeline] withDockerContainer [2021-01-16T02:46:56.841Z] prd-centos7-docker-4c-2g-20746 does not seem to be running inside a container [2021-01-16T02:46:56.894Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** ci-base-image-x86_64 cat [2021-01-16T02:46:58.420Z] $ docker top 0d5f7bfb34a228fe2f48adbbcf4297c0627fb7f9f39f5da7b725b1775bf3709d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-16T02:46:58.955Z] + go version [2021-01-16T02:46:58.955Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-16T02:46:58.971Z] $ docker stop --time=1 0d5f7bfb34a228fe2f48adbbcf4297c0627fb7f9f39f5da7b725b1775bf3709d [2021-01-16T02:47:00.366Z] $ docker rm -f 0d5f7bfb34a228fe2f48adbbcf4297c0627fb7f9f39f5da7b725b1775bf3709d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-16T02:47:01.246Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-16T02:47:01.246Z] . [Pipeline] withDockerContainer [2021-01-16T02:47:01.346Z] prd-centos7-docker-4c-2g-20746 does not seem to be running inside a container [2021-01-16T02:47:01.399Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** ci-base-image-x86_64 cat [2021-01-16T02:47:02.092Z] $ docker top cb5f05fee8cdb34c28e1e562e460bfaa3e21233df20a86f18624c4714fc963be -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-16T02:47:02.607Z] + make test [2021-01-16T02:47:02.607Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-16T02:47:10.795Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-16T02:47:25.824Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-16T02:47:25.824Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-16T02:47:25.824Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-16T02:47:25.824Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 19.4% of statements [2021-01-16T02:47:28.415Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.474s coverage: 97.1% of statements [2021-01-16T02:48:00.610Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.065s coverage: 9.4% of statements [2021-01-16T02:48:00.610Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.055s coverage: 21.7% of statements [2021-01-16T02:48:00.610Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-16T02:48:00.610Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.236s coverage: 42.9% of statements [2021-01-16T02:48:00.610Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-16T02:48:00.610Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.271s coverage: 66.5% of statements [2021-01-16T02:48:00.610Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-16T02:48:00.610Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-16T02:48:00.610Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-16T02:48:00.610Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-16T02:48:00.610Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.088s coverage: 53.8% of statements [2021-01-16T02:48:00.610Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-16T02:48:00.610Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-16T02:48:00.610Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.073s coverage: 30.4% of statements [2021-01-16T02:48:00.610Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.317s coverage: 68.9% of statements [2021-01-16T02:48:00.610Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.065s coverage: 4.2% of statements [2021-01-16T02:48:00.610Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-16T02:48:00.610Z] GO111MODULE=on go vet ./... [2021-01-16T02:48:07.338Z] gofmt -l . [2021-01-16T02:48:07.338Z] [ "`gofmt -l .`" = "" ] [2021-01-16T02:48:07.338Z] ./bin/test-attribution-txt.sh [2021-01-16T02:48:07.602Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-16T02:48:07.883Z] $ docker stop --time=1 cb5f05fee8cdb34c28e1e562e460bfaa3e21233df20a86f18624c4714fc963be [2021-01-16T02:48:09.881Z] $ docker rm -f cb5f05fee8cdb34c28e1e562e460bfaa3e21233df20a86f18624c4714fc963be [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-16T02:48:10.630Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-16T02:48:11.194Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-16T02:48:12.373Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-16T02:48:12.673Z] + ls -al . [2021-01-16T02:48:12.673Z] total 224 [2021-01-16T02:48:12.673Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 16 02:48 . [2021-01-16T02:48:12.673Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 16 02:46 .. [2021-01-16T02:48:12.673Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 16 02:46 bin [2021-01-16T02:48:12.673Z] -rw-r--r--. 1 jenkins jenkins 143825 Jan 16 02:47 coverage.out [2021-01-16T02:48:12.673Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 16 02:46 Dockerfile.build [2021-01-16T02:48:12.673Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 16 02:46 .dockerignore [2021-01-16T02:48:12.673Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 16 02:46 example [2021-01-16T02:48:12.673Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 16 02:46 .git [2021-01-16T02:48:12.673Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 16 02:46 .github [2021-01-16T02:48:12.673Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 16 02:46 .gitignore [2021-01-16T02:48:12.673Z] -rw-r--r--. 1 jenkins jenkins 491 Jan 16 02:48 go.mod [2021-01-16T02:48:12.673Z] -rw-r--r--. 1 jenkins jenkins 14124 Jan 16 02:48 go.sum [2021-01-16T02:48:12.673Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 16 02:46 internal [2021-01-16T02:48:12.673Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 16 02:46 Jenkinsfile [2021-01-16T02:48:12.673Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 16 02:46 LICENSE [2021-01-16T02:48:12.673Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 16 02:46 Makefile [2021-01-16T02:48:12.673Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 16 02:46 openapi [2021-01-16T02:48:12.673Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 16 02:46 pkg [2021-01-16T02:48:12.673Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 16 02:46 README.md [2021-01-16T02:48:12.673Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 16 02:46 RELEASE-NOTES.txt [2021-01-16T02:48:12.673Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 16 02:46 snap [2021-01-16T02:48:12.673Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 16 02:45 VERSION [2021-01-16T02:48:12.673Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 16 02:46 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-16T02:48:12.984Z] + 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=54903d81de16e04aa6173ce8aa56354737f9ea07 --label arch=amd64 --label version=0.0.0 . [2021-01-16T02:48:13.245Z] Sending build context to Docker daemon 2.786MB [2021-01-16T02:48:13.245Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-16T02:48:13.245Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-16T02:48:13.245Z] ---> 79a56c88852e [2021-01-16T02:48:13.245Z] Step 3/24 : ARG MAKE='make build' [2021-01-16T02:48:13.823Z] ---> Running in 2b7ff6f7a1fb [2021-01-16T02:48:14.088Z] Removing intermediate container 2b7ff6f7a1fb [2021-01-16T02:48:14.088Z] ---> fd3530f50f3d [2021-01-16T02:48:14.088Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-16T02:48:14.088Z] ---> Running in cae972764aa4 [2021-01-16T02:48:14.351Z] Removing intermediate container cae972764aa4 [2021-01-16T02:48:14.351Z] ---> 19be0663ad69 [2021-01-16T02:48:14.351Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-16T02:48:14.351Z] ---> Running in 4856b18f837c [2021-01-16T02:48:14.351Z] Removing intermediate container 4856b18f837c [2021-01-16T02:48:14.351Z] ---> c8d38630238f [2021-01-16T02:48:14.351Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-16T02:48:14.616Z] ---> Running in 8cc54430b02b [2021-01-16T02:48:15.567Z] Removing intermediate container 8cc54430b02b [2021-01-16T02:48:15.567Z] ---> 44450b9a24d5 [2021-01-16T02:48:15.567Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-16T02:48:15.567Z] ---> Running in 463015741c99 [2021-01-16T02:48:16.146Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-16T02:48:16.726Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-16T02:48:17.317Z] OK: 166 MiB in 39 packages [2021-01-16T02:48:17.898Z] Removing intermediate container 463015741c99 [2021-01-16T02:48:17.898Z] ---> 43c89efbf13f [2021-01-16T02:48:17.898Z] Step 8/24 : COPY . . [2021-01-16T02:48:18.849Z] ---> e11e9dd6bfcc [2021-01-16T02:48:18.849Z] Step 9/24 : RUN ${MAKE} [2021-01-16T02:48:18.849Z] ---> Running in 8ed707ce347d [2021-01-16T02:48:19.437Z] 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-16T02:48:27.675Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-16T02:48:30.989Z] Removing intermediate container 8ed707ce347d [2021-01-16T02:48:30.989Z] ---> 28f02a13b7ad [2021-01-16T02:48:30.989Z] Step 10/24 : FROM scratch [2021-01-16T02:48:30.989Z] ---> [2021-01-16T02:48:30.989Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-16T02:48:30.989Z] ---> Running in 549346abdcdc [2021-01-16T02:48:30.989Z] Removing intermediate container 549346abdcdc [2021-01-16T02:48:30.989Z] ---> 9edac0c25c98 [2021-01-16T02:48:30.989Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-16T02:48:30.989Z] ---> Running in 5f518b1fa3e0 [2021-01-16T02:48:30.989Z] Removing intermediate container 5f518b1fa3e0 [2021-01-16T02:48:30.989Z] ---> 5029e2c3f407 [2021-01-16T02:48:30.989Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-16T02:48:30.989Z] ---> Running in c57df9f6d6d5 [2021-01-16T02:48:30.989Z] Removing intermediate container c57df9f6d6d5 [2021-01-16T02:48:30.989Z] ---> 48e578ba05ef [2021-01-16T02:48:30.989Z] Step 14/24 : WORKDIR / [2021-01-16T02:48:31.252Z] ---> Running in e514e9636668 [2021-01-16T02:48:31.252Z] Removing intermediate container e514e9636668 [2021-01-16T02:48:31.252Z] ---> bac14ae2c70d [2021-01-16T02:48:31.252Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-16T02:48:31.836Z] ---> 5b140ebea021 [2021-01-16T02:48:31.836Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-16T02:48:32.100Z] ---> a48c3d3fbe4a [2021-01-16T02:48:32.100Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-16T02:48:32.363Z] ---> a0eaf76e8f17 [2021-01-16T02:48:32.363Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-16T02:48:32.363Z] ---> b5706bacf35e [2021-01-16T02:48:32.363Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-16T02:48:32.627Z] ---> 92f33e9d4814 [2021-01-16T02:48:32.627Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-16T02:48:32.890Z] ---> Running in a8ae453f4f77 [2021-01-16T02:48:32.890Z] Removing intermediate container a8ae453f4f77 [2021-01-16T02:48:32.890Z] ---> 8ce8d8fe3260 [2021-01-16T02:48:32.890Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-16T02:48:32.890Z] ---> Running in f8ccbc2ac438 [2021-01-16T02:48:33.152Z] Removing intermediate container f8ccbc2ac438 [2021-01-16T02:48:33.152Z] ---> 3a261119c602 [2021-01-16T02:48:33.152Z] Step 22/24 : LABEL arch=amd64 [2021-01-16T02:48:33.152Z] ---> Running in 3164f4f57815 [2021-01-16T02:48:33.428Z] Removing intermediate container 3164f4f57815 [2021-01-16T02:48:33.428Z] ---> 7a161a0142a5 [2021-01-16T02:48:33.428Z] Step 23/24 : LABEL git_sha=54903d81de16e04aa6173ce8aa56354737f9ea07 [2021-01-16T02:48:33.428Z] ---> Running in 2a9f6509df93 [2021-01-16T02:48:33.692Z] Removing intermediate container 2a9f6509df93 [2021-01-16T02:48:33.692Z] ---> c8be7c88a7e2 [2021-01-16T02:48:33.692Z] Step 24/24 : LABEL version=0.0.0 [2021-01-16T02:48:33.692Z] ---> Running in bd01b543fee3 [2021-01-16T02:48:33.954Z] Removing intermediate container bd01b543fee3 [2021-01-16T02:48:33.954Z] ---> 556d9f5e1b25 [2021-01-16T02:48:33.954Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-16T02:48:33.954Z] Successfully built 556d9f5e1b25 [2021-01-16T02:48:33.954Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-16T02:49:38.927Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-20749 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [Pipeline] { [Pipeline] ws [2021-01-16T02:49:38.979Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-01-16T02:49:44.146Z] using credential edgex-jenkins-ssh [2021-01-16T02:49:44.203Z] Cloning the remote Git repository [2021-01-16T02:49:44.262Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-16T02:49:44.367Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-01-16T02:49:44.450Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-16T02:49:44.451Z] > git --version # timeout=10 [2021-01-16T02:49:44.470Z] > git --version # 'git version 2.17.1' [2021-01-16T02:49:44.471Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-16T02:49:44.531Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-16T02:49:46.399Z] Merging remotes/origin/master commit 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c [2021-01-16T02:49:45.681Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-16T02:49:45.704Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-16T02:49:45.731Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-16T02:49:45.772Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-16T02:49:45.773Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-16T02:49:45.786Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/732/head:refs/remotes/origin/PR-732 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-16T02:49:46.416Z] > git config core.sparsecheckout # timeout=10 [2021-01-16T02:49:46.430Z] > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 [2021-01-16T02:49:46.543Z] > git remote # timeout=10 [2021-01-16T02:49:46.558Z] > git config --get remote.origin.url # timeout=10 [2021-01-16T02:49:46.751Z] Merge succeeded, producing 994f202495d5e09ff85df003a8b30304d98beee0 [2021-01-16T02:49:46.751Z] Checking out Revision 994f202495d5e09ff85df003a8b30304d98beee0 (PR-732) [2021-01-16T02:49:46.579Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-16T02:49:46.589Z] > git merge 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 [2021-01-16T02:49:46.734Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-16T02:49:46.755Z] > git config core.sparsecheckout # timeout=10 [2021-01-16T02:49:46.772Z] > git checkout -f 994f202495d5e09ff85df003a8b30304d98beee0 # timeout=10 [2021-01-16T02:49:51.237Z] Commit message: "Merge commit '4c3dc03c8ea9c7d0ca8607851bb568d204203cf0' into HEAD" [2021-01-16T02:49:51.243Z] > git rev-list --no-walk bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-16T02:49:52.884Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-16T02:49:53.293Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-16T02:49:53.635Z] + + sudotrue service [2021-01-16T02:49:53.635Z] docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-16T02:49:56.325Z] provisioning config files... [2021-01-16T02:49:56.368Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config1288331202497259810tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-16T02:49:56.849Z] ---> docker-login.sh [2021-01-16T02:49:56.849Z] nexus3.edgexfoundry.org:10001 [2021-01-16T02:49:57.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:49:58.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:49:58.101Z] Configure a credential helper to remove this warning. See [2021-01-16T02:49:58.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:49:58.101Z] [2021-01-16T02:49:58.101Z] Login Succeeded [2021-01-16T02:49:58.101Z] nexus3.edgexfoundry.org:10002 [2021-01-16T02:49:58.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:49:58.647Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:49:58.647Z] Configure a credential helper to remove this warning. See [2021-01-16T02:49:58.647Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:49:58.647Z] [2021-01-16T02:49:58.647Z] Login Succeeded [2021-01-16T02:49:58.647Z] nexus3.edgexfoundry.org:10003 [2021-01-16T02:49:58.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:49:58.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:49:58.917Z] Configure a credential helper to remove this warning. See [2021-01-16T02:49:58.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:49:58.917Z] [2021-01-16T02:49:58.917Z] Login Succeeded [2021-01-16T02:49:58.917Z] nexus3.edgexfoundry.org:10004 [2021-01-16T02:49:59.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:49:59.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:49:59.512Z] Configure a credential helper to remove this warning. See [2021-01-16T02:49:59.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:49:59.512Z] [2021-01-16T02:49:59.512Z] Login Succeeded [2021-01-16T02:49:59.512Z] docker.io [2021-01-16T02:49:59.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:50:00.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:50:00.058Z] Configure a credential helper to remove this warning. See [2021-01-16T02:50:00.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:50:00.058Z] [2021-01-16T02:50:00.058Z] Login Succeeded [2021-01-16T02:50:00.058Z] ---> docker-login.sh ends [Pipeline] } [2021-01-16T02:50:00.076Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-16T02:50:00.573Z] ========================================================= [2021-01-16T02:50:00.573Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-16T02:50:00.573Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-16T02:50:00.961Z] + 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 . [2021-01-16T02:50:01.584Z] Sending build context to Docker daemon 2.642MB [2021-01-16T02:50:01.584Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-16T02:50:01.584Z] Step 2/8 : FROM ${BASE} [2021-01-16T02:50:01.584Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-16T02:50:01.584Z] 5f621e34cdf4: Pulling fs layer [2021-01-16T02:50:01.584Z] a4357932f1b6: Pulling fs layer [2021-01-16T02:50:01.584Z] 18c013af1878: Pulling fs layer [2021-01-16T02:50:01.584Z] 00ac8860ef70: Pulling fs layer [2021-01-16T02:50:01.584Z] 63d7cb157983: Pulling fs layer [2021-01-16T02:50:01.584Z] b116817d02f9: Pulling fs layer [2021-01-16T02:50:01.584Z] 745a02a5169b: Pulling fs layer [2021-01-16T02:50:01.584Z] 00ac8860ef70: Waiting [2021-01-16T02:50:01.584Z] 63d7cb157983: Waiting [2021-01-16T02:50:01.584Z] b116817d02f9: Waiting [2021-01-16T02:50:01.584Z] 745a02a5169b: Waiting [2021-01-16T02:50:01.584Z] 18c013af1878: Verifying Checksum [2021-01-16T02:50:01.584Z] 18c013af1878: Download complete [2021-01-16T02:50:01.584Z] a4357932f1b6: Verifying Checksum [2021-01-16T02:50:01.584Z] a4357932f1b6: Download complete [2021-01-16T02:50:02.179Z] 63d7cb157983: Download complete [2021-01-16T02:50:02.454Z] b116817d02f9: Download complete [2021-01-16T02:50:02.454Z] 5f621e34cdf4: Verifying Checksum [2021-01-16T02:50:02.454Z] 5f621e34cdf4: Download complete [2021-01-16T02:50:03.068Z] 5f621e34cdf4: Pull complete [2021-01-16T02:50:03.680Z] a4357932f1b6: Pull complete [2021-01-16T02:50:03.963Z] 18c013af1878: Pull complete [2021-01-16T02:50:04.944Z] 745a02a5169b: Verifying Checksum [2021-01-16T02:50:04.944Z] 745a02a5169b: Download complete [2021-01-16T02:50:05.923Z] 00ac8860ef70: Verifying Checksum [2021-01-16T02:50:05.923Z] 00ac8860ef70: Download complete [2021-01-16T02:50:16.095Z] 00ac8860ef70: Pull complete [2021-01-16T02:50:16.372Z] 63d7cb157983: Pull complete [2021-01-16T02:50:16.646Z] b116817d02f9: Pull complete [2021-01-16T02:50:20.997Z] 745a02a5169b: Pull complete [2021-01-16T02:50:20.997Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-16T02:50:20.997Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-16T02:50:20.997Z] ---> b7e6874047d6 [2021-01-16T02:50:20.997Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-16T02:50:23.016Z] ---> Running in ad88016a2411 [2021-01-16T02:50:23.612Z] Removing intermediate container ad88016a2411 [2021-01-16T02:50:23.612Z] ---> 4abb0912a191 [2021-01-16T02:50:23.613Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-16T02:50:23.613Z] ---> Running in c64e826936a1 [2021-01-16T02:50:25.614Z] Removing intermediate container c64e826936a1 [2021-01-16T02:50:25.614Z] ---> 0e3d6ffae277 [2021-01-16T02:50:25.614Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-16T02:50:25.889Z] ---> Running in bbadb85a2ff2 [2021-01-16T02:50:26.872Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-16T02:50:27.843Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-16T02:50:28.439Z] OK: 142 MiB in 39 packages [2021-01-16T02:50:29.411Z] Removing intermediate container bbadb85a2ff2 [2021-01-16T02:50:29.412Z] ---> 3b629d671f82 [2021-01-16T02:50:29.412Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-16T02:50:29.412Z] ---> Running in 4b06dc41709f [2021-01-16T02:50:30.005Z] Removing intermediate container 4b06dc41709f [2021-01-16T02:50:30.005Z] ---> 4251dad070a4 [2021-01-16T02:50:30.005Z] Step 7/8 : COPY . . [2021-01-16T02:50:31.433Z] ---> cfeaaa1ae882 [2021-01-16T02:50:31.433Z] Step 8/8 : RUN go mod download [2021-01-16T02:50:31.433Z] ---> Running in 32c46c73ed12 [2021-01-16T02:50:53.602Z] Removing intermediate container 32c46c73ed12 [2021-01-16T02:50:53.602Z] ---> 97d97f0a75d6 [2021-01-16T02:50:53.602Z] Successfully built 97d97f0a75d6 [2021-01-16T02:50:53.602Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-16T02:50:53.949Z] + docker inspect -f . ci-base-image-arm64 [2021-01-16T02:50:53.949Z] . [Pipeline] withDockerContainer [2021-01-16T02:50:54.181Z] prd-ubuntu18.04-docker-arm64-4c-16g-20749 does not seem to be running inside a container [2021-01-16T02:50:54.259Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** ci-base-image-arm64 cat [2021-01-16T02:50:55.683Z] $ docker top 0510e5a7392d703ca6d73a59a2bf04a53f2713b15bb8f2c97c7f8227c540294b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-16T02:50:56.710Z] + go version [2021-01-16T02:50:56.710Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-16T02:50:56.735Z] $ docker stop --time=1 0510e5a7392d703ca6d73a59a2bf04a53f2713b15bb8f2c97c7f8227c540294b [2021-01-16T02:50:58.589Z] $ docker rm -f 0510e5a7392d703ca6d73a59a2bf04a53f2713b15bb8f2c97c7f8227c540294b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-16T02:50:59.540Z] + docker inspect -f . ci-base-image-arm64 [2021-01-16T02:50:59.540Z] . [Pipeline] withDockerContainer [2021-01-16T02:50:59.778Z] prd-ubuntu18.04-docker-arm64-4c-16g-20749 does not seem to be running inside a container [2021-01-16T02:50:59.858Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** ci-base-image-arm64 cat [2021-01-16T02:51:01.285Z] $ docker top d2e2b6e4c27f44ab810f3eae32ed4e168fd23a5313984ec8331a972f0ec3c997 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-16T02:51:02.327Z] + make test [2021-01-16T02:51:02.327Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-16T02:51:24.521Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-16T02:52:03.596Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-16T02:52:03.596Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-16T02:52:03.596Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-16T02:52:03.596Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.207s coverage: 19.4% of statements [2021-01-16T02:52:09.037Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.229s coverage: 97.1% of statements [2021-01-16T02:52:35.874Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.129s coverage: 9.4% of statements [2021-01-16T02:52:35.874Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.116s coverage: 21.7% of statements [2021-01-16T02:52:35.874Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-16T02:52:35.874Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.620s coverage: 42.9% of statements [2021-01-16T02:52:35.874Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-16T02:52:35.874Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.726s coverage: 66.5% of statements [2021-01-16T02:52:35.874Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-16T02:52:35.874Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-16T02:52:35.874Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-16T02:52:35.874Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-16T02:52:35.874Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.202s coverage: 53.8% of statements [2021-01-16T02:52:35.874Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-16T02:52:35.874Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-16T02:52:35.874Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.186s coverage: 30.4% of statements [2021-01-16T02:52:35.874Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.908s coverage: 68.9% of statements [2021-01-16T02:52:35.874Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.151s coverage: 4.2% of statements [2021-01-16T02:52:35.874Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-16T02:52:36.146Z] GO111MODULE=on go vet ./... [2021-01-16T02:53:15.402Z] gofmt -l . [2021-01-16T02:53:15.402Z] [ "`gofmt -l .`" = "" ] [2021-01-16T02:53:15.402Z] ./bin/test-attribution-txt.sh [2021-01-16T02:53:15.402Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-16T02:53:15.421Z] $ docker stop --time=1 d2e2b6e4c27f44ab810f3eae32ed4e168fd23a5313984ec8331a972f0ec3c997 [2021-01-16T02:53:17.660Z] $ docker rm -f d2e2b6e4c27f44ab810f3eae32ed4e168fd23a5313984ec8331a972f0ec3c997 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-16T02:53:18.777Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-16T02:53:18.796Z] Warning: overwriting stash ‘coverage-report’ [2021-01-16T02:53:19.612Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-16T02:53:20.287Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-16T02:53:20.616Z] + ls -al . [2021-01-16T02:53:20.617Z] total 260 [2021-01-16T02:53:20.617Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 16 02:53 . [2021-01-16T02:53:20.617Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 02:49 .. [2021-01-16T02:53:20.617Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 16 02:49 .dockerignore [2021-01-16T02:53:20.617Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 16 02:49 .git [2021-01-16T02:53:20.617Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 02:49 .github [2021-01-16T02:53:20.617Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 16 02:49 .gitignore [2021-01-16T02:53:20.617Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 16 02:49 Dockerfile.build [2021-01-16T02:53:20.617Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 16 02:49 Jenkinsfile [2021-01-16T02:53:20.617Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 16 02:49 LICENSE [2021-01-16T02:53:20.617Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 16 02:49 Makefile [2021-01-16T02:53:20.617Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 16 02:49 README.md [2021-01-16T02:53:20.617Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 16 02:49 RELEASE-NOTES.txt [2021-01-16T02:53:20.617Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 16 02:45 VERSION [2021-01-16T02:53:20.617Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 02:49 bin [2021-01-16T02:53:20.617Z] -rw-r--r-- 1 jenkins jenkins 143825 Jan 16 02:52 coverage.out [2021-01-16T02:53:20.617Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 02:49 example [2021-01-16T02:53:20.617Z] -rw-r--r-- 1 jenkins jenkins 491 Jan 16 02:53 go.mod [2021-01-16T02:53:20.617Z] -rw-r--r-- 1 jenkins jenkins 14124 Jan 16 02:53 go.sum [2021-01-16T02:53:20.617Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 16 02:49 internal [2021-01-16T02:53:20.617Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 02:49 openapi [2021-01-16T02:53:20.617Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 16 02:49 pkg [2021-01-16T02:53:20.617Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 02:49 snap [2021-01-16T02:53:20.617Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 16 02:49 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-16T02:53:20.955Z] + 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=54903d81de16e04aa6173ce8aa56354737f9ea07 --label arch=arm64 --label version=0.0.0 . [2021-01-16T02:53:21.548Z] Sending build context to Docker daemon 2.787MB [2021-01-16T02:53:21.548Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-16T02:53:21.548Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-16T02:53:21.548Z] ---> 97d97f0a75d6 [2021-01-16T02:53:21.548Z] Step 3/24 : ARG MAKE='make build' [2021-01-16T02:53:21.822Z] ---> Running in 63633b830a9c [2021-01-16T02:53:22.418Z] Removing intermediate container 63633b830a9c [2021-01-16T02:53:22.418Z] ---> f121991658a1 [2021-01-16T02:53:22.418Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-16T02:53:22.418Z] ---> Running in 99d7ae4eaf72 [2021-01-16T02:53:23.014Z] Removing intermediate container 99d7ae4eaf72 [2021-01-16T02:53:23.014Z] ---> 43bd511e3647 [2021-01-16T02:53:23.014Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-16T02:53:23.014Z] ---> Running in 67a756f1d353 [2021-01-16T02:53:23.606Z] Removing intermediate container 67a756f1d353 [2021-01-16T02:53:23.606Z] ---> 4b240ed78dd4 [2021-01-16T02:53:23.607Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-16T02:53:23.607Z] ---> Running in 174f7b16d7d9 [2021-01-16T02:53:25.587Z] Removing intermediate container 174f7b16d7d9 [2021-01-16T02:53:25.587Z] ---> c12a65b408ae [2021-01-16T02:53:25.587Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-16T02:53:25.866Z] ---> Running in e1b2910cc5bd [2021-01-16T02:53:26.844Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-16T02:53:28.814Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-16T02:53:31.421Z] OK: 142 MiB in 39 packages [2021-01-16T02:53:32.850Z] Removing intermediate container e1b2910cc5bd [2021-01-16T02:53:32.850Z] ---> 190f3a79b6f0 [2021-01-16T02:53:32.850Z] Step 8/24 : COPY . . [2021-01-16T02:53:34.281Z] ---> 947609079b25 [2021-01-16T02:53:34.281Z] Step 9/24 : RUN ${MAKE} [2021-01-16T02:53:34.281Z] ---> Running in c009ce592dbf [2021-01-16T02:53:35.262Z] 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-16T02:54:02.092Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-16T02:54:02.092Z] Removing intermediate container c009ce592dbf [2021-01-16T02:54:02.092Z] ---> 53016d6007ae [2021-01-16T02:54:02.092Z] Step 10/24 : FROM scratch [2021-01-16T02:54:02.092Z] ---> [2021-01-16T02:54:02.092Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-16T02:54:02.092Z] ---> Running in 7e1a8ec3d87f [2021-01-16T02:54:02.685Z] Removing intermediate container 7e1a8ec3d87f [2021-01-16T02:54:02.685Z] ---> 7ae35159eb26 [2021-01-16T02:54:02.685Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-16T02:54:02.685Z] ---> Running in 8d572ac40471 [2021-01-16T02:54:02.956Z] Removing intermediate container 8d572ac40471 [2021-01-16T02:54:02.956Z] ---> b467ab677f3b [2021-01-16T02:54:02.956Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-16T02:54:03.230Z] ---> Running in 9f77871e2ff2 [2021-01-16T02:54:03.512Z] Removing intermediate container 9f77871e2ff2 [2021-01-16T02:54:03.512Z] ---> 8d29a008d7e7 [2021-01-16T02:54:03.512Z] Step 14/24 : WORKDIR / [2021-01-16T02:54:03.512Z] ---> Running in 3dbce33e0da5 [2021-01-16T02:54:04.109Z] Removing intermediate container 3dbce33e0da5 [2021-01-16T02:54:04.109Z] ---> 775ee38bb77e [2021-01-16T02:54:04.109Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-16T02:54:05.088Z] ---> a2ae923a4d6a [2021-01-16T02:54:05.088Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-16T02:54:06.064Z] ---> 598a58d37da3 [2021-01-16T02:54:06.064Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-16T02:54:06.661Z] ---> 1a4af9eadf3e [2021-01-16T02:54:06.661Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-16T02:54:07.251Z] ---> 3d8cffb7d662 [2021-01-16T02:54:07.252Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-16T02:54:07.844Z] ---> 177af070a168 [2021-01-16T02:54:07.844Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-16T02:54:07.844Z] ---> Running in bdb64c165f1d [2021-01-16T02:54:08.436Z] Removing intermediate container bdb64c165f1d [2021-01-16T02:54:08.436Z] ---> a315b6bad2c0 [2021-01-16T02:54:08.436Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-16T02:54:08.436Z] ---> Running in 92a7024b7816 [2021-01-16T02:54:08.829Z] Removing intermediate container 92a7024b7816 [2021-01-16T02:54:08.829Z] ---> 3faa161bf9a0 [2021-01-16T02:54:08.829Z] Step 22/24 : LABEL arch=arm64 [2021-01-16T02:54:09.099Z] ---> Running in d6d7f1e02f08 [2021-01-16T02:54:09.369Z] Removing intermediate container d6d7f1e02f08 [2021-01-16T02:54:09.369Z] ---> 17b403e1b9ad [2021-01-16T02:54:09.369Z] Step 23/24 : LABEL git_sha=54903d81de16e04aa6173ce8aa56354737f9ea07 [2021-01-16T02:54:09.639Z] ---> Running in 39fe7486ab64 [2021-01-16T02:54:09.911Z] Removing intermediate container 39fe7486ab64 [2021-01-16T02:54:09.911Z] ---> 4d03d7ada057 [2021-01-16T02:54:09.911Z] Step 24/24 : LABEL version=0.0.0 [2021-01-16T02:54:10.180Z] ---> Running in 1a2ae5d2d90f [2021-01-16T02:54:10.449Z] Removing intermediate container 1a2ae5d2d90f [2021-01-16T02:54:10.449Z] ---> ca4320497bea [2021-01-16T02:54:10.449Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-16T02:54:10.449Z] Successfully built ca4320497bea [2021-01-16T02:54:10.449Z] 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-16T02:54:13.024Z] provisioning config files... [2021-01-16T02:54:13.035Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config5968610336054951715tmp [Pipeline] { [Pipeline] sh [2021-01-16T02:54:13.426Z] + set +x [2021-01-16T02:54:13.426Z] + curl -s https://codecov.io/bash [2021-01-16T02:54:13.426Z] + bash -s -- [2021-01-16T02:54:13.690Z] [2021-01-16T02:54:13.690Z] _____ _ [2021-01-16T02:54:13.690Z] / ____| | | [2021-01-16T02:54:13.690Z] | | ___ __| | ___ ___ _____ __ [2021-01-16T02:54:13.690Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-16T02:54:13.690Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-16T02:54:13.690Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-16T02:54:13.690Z] Bash-20210115-cec3c92 [2021-01-16T02:54:13.691Z] [2021-01-16T02:54:13.691Z] [2021-01-16T02:54:13.691Z] ==> git version 2.24.3 found [2021-01-16T02:54:13.691Z] ==> 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-16T02:54:13.691Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-16T02:54:13.691Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-16T02:54:13.691Z] ==> Jenkins CI detected. [2021-01-16T02:54:13.691Z] project root: . [2021-01-16T02:54:13.691Z] --> token set from env [2021-01-16T02:54:13.691Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-16T02:54:13.691Z] ==> Running gcov in . (disable via -X gcov) [2021-01-16T02:54:13.691Z] ==> Python coveragepy not found [2021-01-16T02:54:13.691Z] ==> Searching for coverage reports in: [2021-01-16T02:54:13.691Z] + . [2021-01-16T02:54:13.691Z] -> Found 1 reports [2021-01-16T02:54:13.691Z] ==> Detecting git/mercurial file structure [2021-01-16T02:54:13.691Z] ==> Reading reports [2021-01-16T02:54:13.691Z] + ./coverage.out bytes=143825 [2021-01-16T02:54:13.691Z] ==> Appending adjustments [2021-01-16T02:54:13.691Z] https://docs.codecov.io/docs/fixing-reports [2021-01-16T02:54:14.267Z] + Found adjustments [2021-01-16T02:54:14.267Z] ==> Gzipping contents [2021-01-16T02:54:14.267Z] 24K /tmp/codecov.8TQRHh.gz [2021-01-16T02:54:14.267Z] ==> Uploading reports [2021-01-16T02:54:14.267Z] url: https://codecov.io [2021-01-16T02:54:14.267Z] query: branch=PR-732&commit=54903d81de16e04aa6173ce8aa56354737f9ea07&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-732%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=732&job=&cmd_args= [2021-01-16T02:54:14.267Z] -> Pinging Codecov [2021-01-16T02:54:14.267Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-732&commit=54903d81de16e04aa6173ce8aa56354737f9ea07&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-732%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=732&job=&cmd_args= [2021-01-16T02:54:14.530Z] -> Uploading to [2021-01-16T02:54:14.530Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-16/7E55EF52A471D76F132DFD9A03CDDE97/54903d81de16e04aa6173ce8aa56354737f9ea07/baaf845b-c850-4048-b163-1147cc6181da.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210116%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210116T025414Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=74be654d4a9967abd9b8ab5ac5f84868b2fd62c2b38b5610fd1d9208f84445ea [2021-01-16T02:54:14.530Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-16T02:54:14.530Z] Dload Upload Total Spent Left Speed [2021-01-16T02:54:15.056Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22230 0 0 100 22230 0 45142 --:--:-- --:--:-- --:--:-- 45091 [2021-01-16T02:54:15.056Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/54903d81de16e04aa6173ce8aa56354737f9ea07 [Pipeline] } [2021-01-16T02:54:15.067Z] 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-16T02:54:17.466Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-16T02:54:18.039Z] ---> package-listing.sh [2021-01-16T02:54:18.039Z] ++ facter osfamily [2021-01-16T02:54:18.039Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-16T02:54:18.039Z] + OS_FAMILY=redhat [2021-01-16T02:54:18.039Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-732 [2021-01-16T02:54:18.039Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-16T02:54:18.039Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-16T02:54:18.039Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-16T02:54:18.039Z] + PACKAGES=/tmp/packages_start.txt [2021-01-16T02:54:18.039Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-732 ']' [2021-01-16T02:54:18.039Z] + PACKAGES=/tmp/packages_end.txt [2021-01-16T02:54:18.039Z] + case "${OS_FAMILY}" in [2021-01-16T02:54:18.039Z] + rpm -qa [2021-01-16T02:54:18.039Z] + sort [2021-01-16T02:54:23.356Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-16T02:54:23.356Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-16T02:54:23.356Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-16T02:54:23.356Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-732 ']' [2021-01-16T02:54:23.356Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-732/archives/ [2021-01-16T02:54:23.356Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-732/archives/ [Pipeline] echo [2021-01-16T02:54:23.370Z] 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-732/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-16T02:54:23.663Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-16T02:54:23.967Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-16T02:54:23.967Z] [2021-01-16T02:54:23.967Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-16T02:54:24.315Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-16T02:54:24.315Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-16T02:54:24.315Z] df20fa9351a1: Pulling fs layer [2021-01-16T02:54:24.315Z] 36b3adc4ff6f: Pulling fs layer [2021-01-16T02:54:24.315Z] 8ad3a11d3b57: Pulling fs layer [2021-01-16T02:54:24.315Z] 46f8f816bc3b: Pulling fs layer [2021-01-16T02:54:24.315Z] 93b61091891f: Pulling fs layer [2021-01-16T02:54:24.315Z] 93b9cdb0e59b: Pulling fs layer [2021-01-16T02:54:24.315Z] 5e14af77c1be: Pulling fs layer [2021-01-16T02:54:24.315Z] 01666e4c0597: Pulling fs layer [2021-01-16T02:54:24.315Z] aa168da1d23b: Pulling fs layer [2021-01-16T02:54:24.315Z] 93b9cdb0e59b: Waiting [2021-01-16T02:54:24.315Z] 5e14af77c1be: Waiting [2021-01-16T02:54:24.315Z] 01666e4c0597: Waiting [2021-01-16T02:54:24.315Z] aa168da1d23b: Waiting [2021-01-16T02:54:24.315Z] 46f8f816bc3b: Waiting [2021-01-16T02:54:24.315Z] 93b61091891f: Waiting [2021-01-16T02:54:24.315Z] 36b3adc4ff6f: Download complete [2021-01-16T02:54:24.315Z] 46f8f816bc3b: Verifying Checksum [2021-01-16T02:54:24.315Z] 46f8f816bc3b: Download complete [2021-01-16T02:54:24.578Z] df20fa9351a1: Verifying Checksum [2021-01-16T02:54:24.578Z] 93b9cdb0e59b: Verifying Checksum [2021-01-16T02:54:24.578Z] 93b9cdb0e59b: Download complete [2021-01-16T02:54:24.578Z] 5e14af77c1be: Verifying Checksum [2021-01-16T02:54:24.578Z] 5e14af77c1be: Download complete [2021-01-16T02:54:24.578Z] 93b61091891f: Verifying Checksum [2021-01-16T02:54:24.578Z] 93b61091891f: Download complete [2021-01-16T02:54:24.578Z] 01666e4c0597: Verifying Checksum [2021-01-16T02:54:24.578Z] 01666e4c0597: Download complete [2021-01-16T02:54:24.842Z] df20fa9351a1: Pull complete [2021-01-16T02:54:25.104Z] 36b3adc4ff6f: Pull complete [2021-01-16T02:54:25.375Z] 8ad3a11d3b57: Verifying Checksum [2021-01-16T02:54:25.375Z] 8ad3a11d3b57: Download complete [2021-01-16T02:54:25.965Z] 8ad3a11d3b57: Pull complete [2021-01-16T02:54:25.965Z] 46f8f816bc3b: Pull complete [2021-01-16T02:54:26.551Z] 93b61091891f: Pull complete [2021-01-16T02:54:27.129Z] 93b9cdb0e59b: Pull complete [2021-01-16T02:54:27.392Z] aa168da1d23b: Verifying Checksum [2021-01-16T02:54:27.392Z] aa168da1d23b: Download complete [2021-01-16T02:54:27.655Z] 5e14af77c1be: Pull complete [2021-01-16T02:54:27.655Z] 01666e4c0597: Pull complete [2021-01-16T02:54:34.291Z] aa168da1d23b: Pull complete [2021-01-16T02:54:34.291Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-16T02:54:34.291Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-16T02:54:34.291Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-16T02:54:34.439Z] prd-centos7-docker-4c-2g-20744 does not seem to be running inside a container [2021-01-16T02:54:34.486Z] $ 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-732/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-732 -v /w/workspace/dgexfoundry_device-sdk-go_PR-732:/w/workspace/dgexfoundry_device-sdk-go_PR-732:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-732@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-16T02:54:37.710Z] $ docker top 27817d9af313ff8d047b7b42097d77efb2a260ba363d57ceb667814a0dc37800 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-16T02:54:38.280Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-16T02:54:38.580Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-16T02:54:38.883Z] + ls /var/log/sa-host [2021-01-16T02:54:38.883Z] + sadf -c /var/log/sa-host/sa16 [2021-01-16T02:54:38.883Z] file_magic: OK [2021-01-16T02:54:38.883Z] HZ: Using current value: 100 [2021-01-16T02:54:38.883Z] file_header: OK [2021-01-16T02:54:38.883Z] 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-16T02:54:38.883Z] Statistics: [2021-01-16T02:54:38.883Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-16T02:54:38.883Z] File successfully converted to sysstat format version 12.2.1 [2021-01-16T02:54:38.883Z] + sadf -c /var/log/sa-host/sa23 [2021-01-16T02:54:38.883Z] file_magic: OK [2021-01-16T02:54:38.883Z] HZ: Using current value: 100 [2021-01-16T02:54:38.883Z] file_header: OK [2021-01-16T02:54:38.883Z] 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-16T02:54:38.883Z] Statistics: [2021-01-16T02:54:38.883Z] Hnuu...uuuununununu... [2021-01-16T02:54:38.883Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-16T02:54:39.085Z] provisioning config files... [2021-01-16T02:54:39.104Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config4330860300641420837tmp [Pipeline] { [Pipeline] echo [2021-01-16T02:54:39.180Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-16T02:54:39.481Z] ---> create-netrc.sh [Pipeline] } [2021-01-16T02:54:39.491Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-16T02:54:39.589Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-16T02:54:39.896Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-16T02:54:39.908Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-16T02:54:40.204Z] ---> sudo-logs.sh [2021-01-16T02:54:40.204Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-16T02:54:40.217Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-16T02:54:40.518Z] ---> job-cost.sh [2021-01-16T02:54:40.518Z] lf-activate-venv: SKIPPING [2021-01-16T02:54:40.518Z] INFO: No Stack... [2021-01-16T02:54:41.465Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-16T02:54:42.041Z] INFO: Archiving Costs [Pipeline] echo [2021-01-16T02:54:42.061Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-16T02:54:42.372Z] ---> logs-deploy.sh [2021-01-16T02:54:42.372Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-732/3 [2021-01-16T02:54:42.372Z] INFO: archiving workspace using pattern(s): [2021-01-16T02:54:44.289Z] Archives upload complete. [2021-01-16T02:54:44.289Z] INFO: archiving logs to Nexus