Pull request #661 updated 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 weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at d0df7b9da6961378affa4a44df784d03e7885d3e rather than e273dc83938adb51930e182e2cc5cd11642e85ac Obtained Jenkinsfile from d0df7b9da6961378affa4a44df784d03e7885d3e 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-16052 in /w/workspace/dgexfoundry_device-sdk-go_PR-661 [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-661 # 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 > 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/661/head:refs/remotes/origin/PR-661 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d0df7b9da6961378affa4a44df784d03e7885d3e into PR head commit e273dc83938adb51930e182e2cc5cd11642e85ac Merge succeeded, producing e273dc83938adb51930e182e2cc5cd11642e85ac Checking out Revision e273dc83938adb51930e182e2cc5cd11642e85ac (PR-661) > git config core.sparsecheckout # timeout=10 > git checkout -f e273dc83938adb51930e182e2cc5cd11642e85ac # 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 d0df7b9da6961378affa4a44df784d03e7885d3e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e273dc83938adb51930e182e2cc5cd11642e85ac # timeout=10 Commit message: "feat: add a comment to explain why use buffer for sending event" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git rev-list --no-walk a1efd3b5f5051e75bcd403a2d3463c22f1729ba5 # timeout=10 [Pipeline] timeout [2020-12-15T04:46:30.929Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-15T04:46:31.149Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-15T04:46:31.321Z] ========================================================= [2020-12-15T04:46:31.321Z] EdgeX Global Pipelines Version Info [2020-12-15T04:46:31.322Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:46:32.885Z] ------------------- [2020-12-15T04:46:32.885Z] stable info: [2020-12-15T04:46:32.885Z] ------------------- [2020-12-15T04:46:32.885Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-15T04:46:32.885Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-15T04:46:32.885Z] Message: update stable to v1.0.172 [2020-12-15T04:46:33.831Z] ------------------- [2020-12-15T04:46:33.831Z] experimental info: [2020-12-15T04:46:33.831Z] ------------------- [2020-12-15T04:46:33.831Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-15T04:46:33.831Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-15T04:46:33.831Z] Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-15T04:46:34.131Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-12-15T04:46:34.323Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-12-15T04:46:34.453Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-15T04:46:34.538Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-15T04:46:34.649Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-15T04:46:34.822Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-15T04:46:34.928Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-15T04:46:35.017Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-15T04:46:35.103Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-12-15T04:46:35.187Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-15T04:46:35.284Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-15T04:46:35.369Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-12-15T04:46:35.460Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-15T04:46:35.546Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-15T04:46:35.632Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-15T04:46:35.718Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-15T04:46:35.815Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-15T04:46:35.901Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-15T04:46:35.987Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-15T04:46:36.085Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-15T04:46:36.168Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-15T04:46:36.256Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-15T04:46:36.346Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-15T04:46:36.454Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-15T04:46:36.550Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-15T04:46:36.635Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-15T04:46:36.750Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-661 [Pipeline] echo [2020-12-15T04:46:36.837Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-661 [Pipeline] echo [2020-12-15T04:46:36.944Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-661 [Pipeline] echo [2020-12-15T04:46:37.031Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e273dc83938adb51930e182e2cc5cd11642e85ac [Pipeline] echo [2020-12-15T04:46:37.122Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e273dc8 [Pipeline] echo [2020-12-15T04:46:37.241Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-15T04:46:37.423Z] provisioning config files... [2020-12-15T04:46:37.455Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/config5311329364500784903tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:46:37.825Z] ---> docker-login.sh [2020-12-15T04:46:37.825Z] nexus3.edgexfoundry.org:10001 [2020-12-15T04:46:38.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:46:38.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:46:38.090Z] Configure a credential helper to remove this warning. See [2020-12-15T04:46:38.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:46:38.090Z] [2020-12-15T04:46:38.090Z] Login Succeeded [2020-12-15T04:46:38.090Z] nexus3.edgexfoundry.org:10002 [2020-12-15T04:46:38.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:46:38.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:46:38.353Z] Configure a credential helper to remove this warning. See [2020-12-15T04:46:38.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:46:38.353Z] [2020-12-15T04:46:38.353Z] Login Succeeded [2020-12-15T04:46:38.353Z] nexus3.edgexfoundry.org:10003 [2020-12-15T04:46:38.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:46:38.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:46:38.618Z] Configure a credential helper to remove this warning. See [2020-12-15T04:46:38.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:46:38.618Z] [2020-12-15T04:46:38.618Z] Login Succeeded [2020-12-15T04:46:38.618Z] nexus3.edgexfoundry.org:10004 [2020-12-15T04:46:38.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:46:38.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:46:38.884Z] Configure a credential helper to remove this warning. See [2020-12-15T04:46:38.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:46:38.884Z] [2020-12-15T04:46:38.884Z] Login Succeeded [2020-12-15T04:46:38.884Z] docker.io [2020-12-15T04:46:38.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:46:39.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:46:39.148Z] Configure a credential helper to remove this warning. See [2020-12-15T04:46:39.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:46:39.148Z] [2020-12-15T04:46:39.148Z] Login Succeeded [2020-12-15T04:46:39.148Z] ---> docker-login.sh ends [Pipeline] } [2020-12-15T04:46:39.159Z] 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 [2020-12-15T04:46:40.014Z] + git log --format=format:%s -1 e273dc83938adb51930e182e2cc5cd11642e85ac [Pipeline] echo [2020-12-15T04:46:40.089Z] GIT_COMMIT: e273dc83938adb51930e182e2cc5cd11642e85ac, Commit Message: feat: add a comment to explain why use buffer for sending event [Pipeline] echo [2020-12-15T04:46:40.135Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:46:40.743Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-15T04:46:40.743Z] [2020-12-15T04:46:40.743Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:46:41.111Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-15T04:46:41.111Z] latest: Pulling from edgex-devops/git-semver [2020-12-15T04:46:41.111Z] 31603596830f: Pulling fs layer [2020-12-15T04:46:41.111Z] 2a8b12db71e7: Pulling fs layer [2020-12-15T04:46:41.111Z] 6ca5941a6612: Pulling fs layer [2020-12-15T04:46:41.111Z] ecc8261a40a4: Pulling fs layer [2020-12-15T04:46:41.111Z] ecc8261a40a4: Waiting [2020-12-15T04:46:41.111Z] 2a8b12db71e7: Verifying Checksum [2020-12-15T04:46:41.111Z] 2a8b12db71e7: Download complete [2020-12-15T04:46:41.377Z] 31603596830f: Verifying Checksum [2020-12-15T04:46:41.377Z] 31603596830f: Download complete [2020-12-15T04:46:41.377Z] ecc8261a40a4: Verifying Checksum [2020-12-15T04:46:41.377Z] ecc8261a40a4: Download complete [2020-12-15T04:46:41.377Z] 6ca5941a6612: Verifying Checksum [2020-12-15T04:46:41.377Z] 6ca5941a6612: Download complete [2020-12-15T04:46:41.639Z] 31603596830f: Pull complete [2020-12-15T04:46:41.911Z] 2a8b12db71e7: Pull complete [2020-12-15T04:46:42.494Z] 6ca5941a6612: Pull complete [2020-12-15T04:46:42.757Z] ecc8261a40a4: Pull complete [2020-12-15T04:46:43.019Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-15T04:46:43.019Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-15T04:46:43.019Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-15T04:46:43.145Z] prd-centos7-docker-4c-2g-16052 does not seem to be running inside a container [2020-12-15T04:46:43.196Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-661 -v /w/workspace/dgexfoundry_device-sdk-go_PR-661:/w/workspace/dgexfoundry_device-sdk-go_PR-661:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-661@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:10004/edgex-devops/git-semver:latest cat [2020-12-15T04:46:45.416Z] $ docker top 5742b1107a7220699446b83a0e5b9a6ed8a5c8a87f6608e7f192a4ae6c5a0ca2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-15T04:46:45.718Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-15T04:46:45.718Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-15T04:46:45.970Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-15T04:46:45.975Z] $ docker exec 5742b1107a7220699446b83a0e5b9a6ed8a5c8a87f6608e7f192a4ae6c5a0ca2 ssh-agent [2020-12-15T04:46:46.167Z] SSH_AUTH_SOCK=/tmp/ssh-sUkqKT55CCpa/agent.12 [2020-12-15T04:46:46.167Z] SSH_AGENT_PID=17 [2020-12-15T04:46:46.177Z] Running ssh-add (command line suppressed) [2020-12-15T04:46:46.321Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_8365067447586592222.key (/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_8365067447586592222.key) [2020-12-15T04:46:46.379Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-15T04:46:46.719Z] + git tag --points-at HEAD [Pipeline] } [2020-12-15T04:46:46.741Z] $ docker exec --env ******** --env ******** 5742b1107a7220699446b83a0e5b9a6ed8a5c8a87f6608e7f192a4ae6c5a0ca2 ssh-agent -k [2020-12-15T04:46:46.866Z] unset SSH_AUTH_SOCK; [2020-12-15T04:46:46.867Z] unset SSH_AGENT_PID; [2020-12-15T04:46:46.867Z] echo Agent pid 17 killed; [2020-12-15T04:46:46.913Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-15T04:46:47.113Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-15T04:46:47.113Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-15T04:46:47.286Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-15T04:46:47.291Z] $ docker exec 5742b1107a7220699446b83a0e5b9a6ed8a5c8a87f6608e7f192a4ae6c5a0ca2 ssh-agent [2020-12-15T04:46:47.475Z] SSH_AUTH_SOCK=/tmp/ssh-wFo0nGXqIMbz/agent.47 [2020-12-15T04:46:47.475Z] SSH_AGENT_PID=53 [2020-12-15T04:46:47.481Z] Running ssh-add (command line suppressed) [2020-12-15T04:46:47.611Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_9196982214227864744.key (/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_9196982214227864744.key) [2020-12-15T04:46:47.673Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-15T04:46:48.012Z] + git semver init [2020-12-15T04:46:48.012Z] # -> Open(): unable to determine branch for HEAD [2020-12-15T04:46:48.012Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-661/.git [2020-12-15T04:46:48.012Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-661 [2020-12-15T04:46:48.012Z] # $SEMVER_REMOTE_NAME = origin [2020-12-15T04:46:48.012Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-15T04:46:48.012Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-15T04:46:48.012Z] # $SEMVER_BRANCH = PR-661 [2020-12-15T04:46:48.012Z] # $SEMVER_TEMP = /tmp/semver-019848870 [2020-12-15T04:46:48.012Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-12-15T04:46:48.964Z] # '/tmp/semver-019848870' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-661/.semver' [2020-12-15T04:46:48.964Z] # -> Force: false [2020-12-15T04:46:48.964Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-661/.semver [Pipeline] } [2020-12-15T04:46:48.977Z] $ docker exec --env ******** --env ******** 5742b1107a7220699446b83a0e5b9a6ed8a5c8a87f6608e7f192a4ae6c5a0ca2 ssh-agent -k [2020-12-15T04:46:49.099Z] unset SSH_AUTH_SOCK; [2020-12-15T04:46:49.099Z] unset SSH_AGENT_PID; [2020-12-15T04:46:49.100Z] echo Agent pid 53 killed; [2020-12-15T04:46:49.149Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-15T04:46:49.635Z] + git semver [Pipeline] } [2020-12-15T04:46:49.660Z] $ docker stop --time=1 5742b1107a7220699446b83a0e5b9a6ed8a5c8a87f6608e7f192a4ae6c5a0ca2 [2020-12-15T04:46:51.192Z] $ docker rm -f 5742b1107a7220699446b83a0e5b9a6ed8a5c8a87f6608e7f192a4ae6c5a0ca2 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-15T04:46:51.662Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-15T04:46:52.207Z] Stashed 1 file(s) [Pipeline] echo [2020-12-15T04:46:52.209Z] [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 [2020-12-15T04:47:07.943Z] Still waiting to schedule task [2020-12-15T04:47:07.943Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-15T04:47:07.945Z] Still waiting to schedule task [2020-12-15T04:47:07.945Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-12-15T04:49:12.534Z] Running on prd-centos7-docker-4c-2g-16053 in /w/workspace/dgexfoundry_device-sdk-go_PR-661 [Pipeline] { [Pipeline] ws [2020-12-15T04:49:12.591Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2020-12-15T04:49:14.938Z] using credential edgex-jenkins-ssh [2020-12-15T04:49:14.992Z] Cloning the remote Git repository [2020-12-15T04:49:14.563Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-15T04:49:14.645Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2020-12-15T04:49:14.710Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-15T04:49:14.711Z] > git --version # timeout=10 [2020-12-15T04:49:14.717Z] > git --version # 'git version 2.24.3' [2020-12-15T04:49:14.719Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T04:49:14.748Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-15T04:49:15.447Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-15T04:49:15.456Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-15T04:49:15.470Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-15T04:49:15.484Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-15T04:49:15.485Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T04:49:15.489Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/661/head:refs/remotes/origin/PR-661 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-15T04:49:16.309Z] Merging remotes/origin/master commit d0df7b9da6961378affa4a44df784d03e7885d3e into PR head commit e273dc83938adb51930e182e2cc5cd11642e85ac [2020-12-15T04:49:16.415Z] Merge succeeded, producing e273dc83938adb51930e182e2cc5cd11642e85ac [2020-12-15T04:49:16.416Z] Checking out Revision e273dc83938adb51930e182e2cc5cd11642e85ac (PR-661) [2020-12-15T04:49:15.968Z] > git config core.sparsecheckout # timeout=10 [2020-12-15T04:49:15.974Z] > git checkout -f e273dc83938adb51930e182e2cc5cd11642e85ac # timeout=10 [2020-12-15T04:49:16.033Z] > git remote # timeout=10 [2020-12-15T04:49:16.041Z] > git config --get remote.origin.url # timeout=10 [2020-12-15T04:49:16.047Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T04:49:16.054Z] > git merge d0df7b9da6961378affa4a44df784d03e7885d3e # timeout=10 [2020-12-15T04:49:16.065Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-15T04:49:16.075Z] > git config core.sparsecheckout # timeout=10 [2020-12-15T04:49:16.081Z] > git checkout -f e273dc83938adb51930e182e2cc5cd11642e85ac # timeout=10 [2020-12-15T04:49:19.791Z] Commit message: "feat: add a comment to explain why use buffer for sending event" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-15T04:49:21.216Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-15T04:49:21.539Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-15T04:49:21.835Z] + true [2020-12-15T04:49:21.836Z] + sudo service docker restart [2020-12-15T04:49:21.836Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-15T04:49:22.893Z] provisioning config files... [2020-12-15T04:49:22.918Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config8505849289181083523tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:49:23.282Z] ---> docker-login.sh [2020-12-15T04:49:23.282Z] nexus3.edgexfoundry.org:10001 [2020-12-15T04:49:23.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:49:23.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:49:23.544Z] Configure a credential helper to remove this warning. See [2020-12-15T04:49:23.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:49:23.544Z] [2020-12-15T04:49:23.544Z] Login Succeeded [2020-12-15T04:49:23.808Z] nexus3.edgexfoundry.org:10002 [2020-12-15T04:49:23.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:49:23.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:49:23.808Z] Configure a credential helper to remove this warning. See [2020-12-15T04:49:23.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:49:23.808Z] [2020-12-15T04:49:23.808Z] Login Succeeded [2020-12-15T04:49:23.808Z] nexus3.edgexfoundry.org:10003 [2020-12-15T04:49:24.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:49:24.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:49:24.070Z] Configure a credential helper to remove this warning. See [2020-12-15T04:49:24.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:49:24.070Z] [2020-12-15T04:49:24.070Z] Login Succeeded [2020-12-15T04:49:24.070Z] nexus3.edgexfoundry.org:10004 [2020-12-15T04:49:24.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:49:24.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:49:24.334Z] Configure a credential helper to remove this warning. See [2020-12-15T04:49:24.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:49:24.334Z] [2020-12-15T04:49:24.334Z] Login Succeeded [2020-12-15T04:49:24.334Z] docker.io [2020-12-15T04:49:24.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:49:24.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:49:24.597Z] Configure a credential helper to remove this warning. See [2020-12-15T04:49:24.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:49:24.597Z] [2020-12-15T04:49:24.597Z] Login Succeeded [2020-12-15T04:49:24.597Z] ---> docker-login.sh ends [Pipeline] } [2020-12-15T04:49:24.606Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-15T04:49:24.959Z] ========================================================= [2020-12-15T04:49:24.959Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-15T04:49:24.959Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:49:25.309Z] + 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 . [2020-12-15T04:49:25.309Z] Sending build context to Docker daemon 2.421MB [2020-12-15T04:49:25.309Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-15T04:49:25.309Z] Step 2/8 : FROM ${BASE} [2020-12-15T04:49:25.570Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-15T04:49:25.570Z] 188c0c94c7c5: Pulling fs layer [2020-12-15T04:49:25.570Z] 0ef7d3d256c8: Pulling fs layer [2020-12-15T04:49:25.570Z] de9db76c5a1d: Pulling fs layer [2020-12-15T04:49:25.570Z] bca2f99d35d6: Pulling fs layer [2020-12-15T04:49:25.570Z] 93359f2a8cfa: Pulling fs layer [2020-12-15T04:49:25.570Z] 7c6f9722023f: Pulling fs layer [2020-12-15T04:49:25.570Z] a35cf1a2eb13: Pulling fs layer [2020-12-15T04:49:25.570Z] 93359f2a8cfa: Waiting [2020-12-15T04:49:25.570Z] 7c6f9722023f: Waiting [2020-12-15T04:49:25.570Z] bca2f99d35d6: Waiting [2020-12-15T04:49:25.570Z] a35cf1a2eb13: Waiting [2020-12-15T04:49:25.570Z] de9db76c5a1d: Verifying Checksum [2020-12-15T04:49:25.570Z] de9db76c5a1d: Download complete [2020-12-15T04:49:25.570Z] 0ef7d3d256c8: Verifying Checksum [2020-12-15T04:49:25.570Z] 0ef7d3d256c8: Download complete [2020-12-15T04:49:25.570Z] 93359f2a8cfa: Verifying Checksum [2020-12-15T04:49:25.570Z] 93359f2a8cfa: Download complete [2020-12-15T04:49:25.570Z] 7c6f9722023f: Verifying Checksum [2020-12-15T04:49:25.570Z] 7c6f9722023f: Download complete [2020-12-15T04:49:25.570Z] 188c0c94c7c5: Verifying Checksum [2020-12-15T04:49:25.570Z] 188c0c94c7c5: Download complete [2020-12-15T04:49:25.833Z] 188c0c94c7c5: Pull complete [2020-12-15T04:49:26.097Z] 0ef7d3d256c8: Pull complete [2020-12-15T04:49:26.097Z] de9db76c5a1d: Pull complete [2020-12-15T04:49:28.015Z] a35cf1a2eb13: Verifying Checksum [2020-12-15T04:49:28.015Z] a35cf1a2eb13: Download complete [2020-12-15T04:49:28.015Z] bca2f99d35d6: Verifying Checksum [2020-12-15T04:49:28.015Z] bca2f99d35d6: Download complete [2020-12-15T04:49:33.345Z] bca2f99d35d6: Pull complete [2020-12-15T04:49:33.345Z] 93359f2a8cfa: Pull complete [2020-12-15T04:49:33.609Z] 7c6f9722023f: Pull complete [2020-12-15T04:49:40.241Z] a35cf1a2eb13: Pull complete [2020-12-15T04:49:40.241Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-15T04:49:40.241Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-15T04:49:40.241Z] ---> a62c8e92a672 [2020-12-15T04:49:40.241Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-15T04:49:40.241Z] ---> Running in ac31d81fb01f [2020-12-15T04:49:40.241Z] Removing intermediate container ac31d81fb01f [2020-12-15T04:49:40.241Z] ---> 01f4eb256c07 [2020-12-15T04:49:40.241Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-15T04:49:40.241Z] ---> Running in 42610539b41c [2020-12-15T04:49:41.207Z] Removing intermediate container 42610539b41c [2020-12-15T04:49:41.207Z] ---> 3fa3a20fbb3f [2020-12-15T04:49:41.207Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-15T04:49:41.207Z] ---> Running in 8ac3311e2ef5 [2020-12-15T04:49:41.784Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-15T04:49:42.734Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-15T04:49:42.996Z] OK: 166 MiB in 39 packages [2020-12-15T04:49:43.572Z] Removing intermediate container 8ac3311e2ef5 [2020-12-15T04:49:43.572Z] ---> 70db2d9dd862 [2020-12-15T04:49:43.572Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-15T04:49:43.572Z] ---> Running in 1d0053b402f6 [2020-12-15T04:49:43.834Z] Removing intermediate container 1d0053b402f6 [2020-12-15T04:49:43.835Z] ---> b9de5168e90e [2020-12-15T04:49:43.835Z] Step 7/8 : COPY . . [2020-12-15T04:49:45.232Z] ---> e8e8b278af87 [2020-12-15T04:49:45.232Z] Step 8/8 : RUN go mod download [2020-12-15T04:49:45.232Z] ---> Running in a3094ed4f524 [2020-12-15T04:50:03.408Z] Removing intermediate container a3094ed4f524 [2020-12-15T04:50:03.408Z] ---> 1e1c524fb17b [2020-12-15T04:50:03.408Z] Successfully built 1e1c524fb17b [2020-12-15T04:50:03.408Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:50:03.878Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-15T04:50:03.878Z] . [Pipeline] withDockerContainer [2020-12-15T04:50:04.079Z] prd-centos7-docker-4c-2g-16053 does not seem to be running inside a container [2020-12-15T04:50:04.130Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-15T04:50:05.006Z] $ docker top c58382d8aa05d75592984c7107627d6087aee647d75763fe8efa31d84a17204d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-15T04:50:05.518Z] + go version [2020-12-15T04:50:05.518Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-15T04:50:05.534Z] $ docker stop --time=1 c58382d8aa05d75592984c7107627d6087aee647d75763fe8efa31d84a17204d [2020-12-15T04:50:06.863Z] $ docker rm -f c58382d8aa05d75592984c7107627d6087aee647d75763fe8efa31d84a17204d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:50:07.746Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-15T04:50:07.746Z] . [Pipeline] withDockerContainer [2020-12-15T04:50:07.852Z] prd-centos7-docker-4c-2g-16053 does not seem to be running inside a container [2020-12-15T04:50:07.902Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-15T04:50:08.476Z] $ docker top 1b426e175f72a7a668d9437dfb88bc11b65fe8039d607898376c1c50add6ca71 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-15T04:50:09.417Z] + make test [2020-12-15T04:50:09.417Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-15T04:50:17.607Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-15T04:50:31.897Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-16054 in /w/workspace/dgexfoundry_device-sdk-go_PR-661 [Pipeline] { [Pipeline] ws [2020-12-15T04:50:31.961Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2020-12-15T04:50:32.637Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-12-15T04:50:32.638Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-12-15T04:50:32.638Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-12-15T04:50:32.638Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.052s coverage: 20.0% of statements [2020-12-15T04:50:32.638Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.477s coverage: 97.1% of statements [2020-12-15T04:50:36.913Z] using credential edgex-jenkins-ssh [2020-12-15T04:50:36.985Z] Cloning the remote Git repository [2020-12-15T04:50:37.056Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-15T04:50:37.180Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2020-12-15T04:50:37.277Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-15T04:50:37.277Z] > git --version # timeout=10 [2020-12-15T04:50:37.302Z] > git --version # 'git version 2.17.1' [2020-12-15T04:50:37.303Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T04:50:37.358Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-15T04:50:39.147Z] Merging remotes/origin/master commit d0df7b9da6961378affa4a44df784d03e7885d3e into PR head commit e273dc83938adb51930e182e2cc5cd11642e85ac [2020-12-15T04:50:39.536Z] Merge succeeded, producing e273dc83938adb51930e182e2cc5cd11642e85ac [2020-12-15T04:50:39.536Z] Checking out Revision e273dc83938adb51930e182e2cc5cd11642e85ac (PR-661) [2020-12-15T04:50:38.417Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-15T04:50:38.446Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-15T04:50:38.480Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-15T04:50:38.533Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-15T04:50:38.534Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T04:50:38.548Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/661/head:refs/remotes/origin/PR-661 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-15T04:50:39.173Z] > git config core.sparsecheckout # timeout=10 [2020-12-15T04:50:39.195Z] > git checkout -f e273dc83938adb51930e182e2cc5cd11642e85ac # timeout=10 [2020-12-15T04:50:39.324Z] > git remote # timeout=10 [2020-12-15T04:50:39.347Z] > git config --get remote.origin.url # timeout=10 [2020-12-15T04:50:39.370Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T04:50:39.385Z] > git merge d0df7b9da6961378affa4a44df784d03e7885d3e # timeout=10 [2020-12-15T04:50:39.474Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-15T04:50:39.548Z] > git config core.sparsecheckout # timeout=10 [2020-12-15T04:50:39.580Z] > git checkout -f e273dc83938adb51930e182e2cc5cd11642e85ac # timeout=10 [2020-12-15T04:50:44.010Z] Commit message: "feat: add a comment to explain why use buffer for sending event" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-15T04:50:45.559Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-15T04:50:46.038Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-15T04:50:46.383Z] + sudo+ service docker restart [2020-12-15T04:50:46.383Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-15T04:50:49.116Z] provisioning config files... [2020-12-15T04:50:49.154Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config8645799505506265321tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:50:49.593Z] ---> docker-login.sh [2020-12-15T04:50:49.593Z] nexus3.edgexfoundry.org:10001 [2020-12-15T04:50:50.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:50:50.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:50:50.854Z] Configure a credential helper to remove this warning. See [2020-12-15T04:50:50.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:50:50.854Z] [2020-12-15T04:50:50.854Z] Login Succeeded [2020-12-15T04:50:50.854Z] nexus3.edgexfoundry.org:10002 [2020-12-15T04:50:51.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:50:51.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:50:51.403Z] Configure a credential helper to remove this warning. See [2020-12-15T04:50:51.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:50:51.403Z] [2020-12-15T04:50:51.403Z] Login Succeeded [2020-12-15T04:50:51.403Z] nexus3.edgexfoundry.org:10003 [2020-12-15T04:50:51.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:50:51.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:50:51.959Z] Configure a credential helper to remove this warning. See [2020-12-15T04:50:51.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:50:51.959Z] [2020-12-15T04:50:51.959Z] Login Succeeded [2020-12-15T04:50:51.959Z] nexus3.edgexfoundry.org:10004 [2020-12-15T04:50:52.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:50:52.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:50:52.507Z] Configure a credential helper to remove this warning. See [2020-12-15T04:50:52.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:50:52.507Z] [2020-12-15T04:50:52.507Z] Login Succeeded [2020-12-15T04:50:52.507Z] docker.io [2020-12-15T04:50:52.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:50:53.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:50:53.052Z] Configure a credential helper to remove this warning. See [2020-12-15T04:50:53.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:50:53.052Z] [2020-12-15T04:50:53.052Z] Login Succeeded [2020-12-15T04:50:53.324Z] ---> docker-login.sh ends [Pipeline] } [2020-12-15T04:50:53.340Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-15T04:50:53.927Z] ========================================================= [2020-12-15T04:50:53.927Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-15T04:50:53.927Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:50:54.312Z] + 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 . [2020-12-15T04:50:54.917Z] Sending build context to Docker daemon 2.419MB [2020-12-15T04:50:54.917Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-15T04:50:54.917Z] Step 2/8 : FROM ${BASE} [2020-12-15T04:50:54.917Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-15T04:50:54.917Z] 5f621e34cdf4: Pulling fs layer [2020-12-15T04:50:54.917Z] a4357932f1b6: Pulling fs layer [2020-12-15T04:50:54.917Z] 18c013af1878: Pulling fs layer [2020-12-15T04:50:54.917Z] 00ac8860ef70: Pulling fs layer [2020-12-15T04:50:54.917Z] 63d7cb157983: Pulling fs layer [2020-12-15T04:50:54.917Z] b116817d02f9: Pulling fs layer [2020-12-15T04:50:54.917Z] 745a02a5169b: Pulling fs layer [2020-12-15T04:50:54.917Z] b116817d02f9: Waiting [2020-12-15T04:50:54.917Z] 00ac8860ef70: Waiting [2020-12-15T04:50:54.917Z] 745a02a5169b: Waiting [2020-12-15T04:50:54.917Z] 63d7cb157983: Waiting [2020-12-15T04:50:54.917Z] 18c013af1878: Verifying Checksum [2020-12-15T04:50:54.917Z] 18c013af1878: Download complete [2020-12-15T04:50:54.917Z] a4357932f1b6: Verifying Checksum [2020-12-15T04:50:54.917Z] a4357932f1b6: Download complete [2020-12-15T04:50:54.917Z] 63d7cb157983: Verifying Checksum [2020-12-15T04:50:54.917Z] 63d7cb157983: Download complete [2020-12-15T04:50:54.917Z] b116817d02f9: Verifying Checksum [2020-12-15T04:50:54.917Z] b116817d02f9: Download complete [2020-12-15T04:50:55.199Z] 5f621e34cdf4: Verifying Checksum [2020-12-15T04:50:55.199Z] 5f621e34cdf4: Download complete [2020-12-15T04:50:55.806Z] 5f621e34cdf4: Pull complete [2020-12-15T04:50:56.415Z] a4357932f1b6: Pull complete [2020-12-15T04:50:56.689Z] 18c013af1878: Pull complete [2020-12-15T04:50:57.679Z] 745a02a5169b: Verifying Checksum [2020-12-15T04:50:57.679Z] 745a02a5169b: Download complete [2020-12-15T04:50:58.656Z] 00ac8860ef70: Verifying Checksum [2020-12-15T04:50:58.656Z] 00ac8860ef70: Download complete [2020-12-15T04:51:04.813Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.056s coverage: 9.4% of statements [2020-12-15T04:51:04.813Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.046s coverage: 21.9% of statements [2020-12-15T04:51:04.813Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-12-15T04:51:04.813Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.225s coverage: 42.5% of statements [2020-12-15T04:51:04.813Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-12-15T04:51:04.813Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.279s coverage: 68.9% of statements [2020-12-15T04:51:04.813Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-12-15T04:51:04.813Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-12-15T04:51:04.813Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-12-15T04:51:04.813Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-12-15T04:51:04.813Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.064s coverage: 53.8% of statements [2020-12-15T04:51:04.813Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-12-15T04:51:04.813Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-12-15T04:51:04.813Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-12-15T04:51:04.813Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.247s coverage: 68.9% of statements [2020-12-15T04:51:04.813Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.054s coverage: 4.6% of statements [2020-12-15T04:51:04.813Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-12-15T04:51:04.813Z] GO111MODULE=on go vet ./... [2020-12-15T04:51:08.818Z] 00ac8860ef70: Pull complete [2020-12-15T04:51:08.818Z] 63d7cb157983: Pull complete [2020-12-15T04:51:08.818Z] b116817d02f9: Pull complete [2020-12-15T04:51:13.036Z] gofmt -l . [2020-12-15T04:51:13.036Z] [ "`gofmt -l .`" = "" ] [2020-12-15T04:51:13.036Z] ./bin/test-attribution-txt.sh [2020-12-15T04:51:13.036Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-15T04:51:13.054Z] $ docker stop --time=1 1b426e175f72a7a668d9437dfb88bc11b65fe8039d607898376c1c50add6ca71 [2020-12-15T04:51:13.165Z] 745a02a5169b: Pull complete [2020-12-15T04:51:13.165Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-15T04:51:13.165Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-15T04:51:13.165Z] ---> b7e6874047d6 [2020-12-15T04:51:13.165Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-15T04:51:14.980Z] $ docker rm -f 1b426e175f72a7a668d9437dfb88bc11b65fe8039d607898376c1c50add6ca71 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-15T04:51:15.693Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-15T04:51:15.806Z] ---> Running in 16dee35af838 [2020-12-15T04:51:16.176Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2020-12-15T04:51:16.407Z] Removing intermediate container 16dee35af838 [2020-12-15T04:51:16.407Z] ---> f4a9a4a745e5 [2020-12-15T04:51:16.407Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-15T04:51:16.407Z] ---> Running in addb2222ca3f [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-12-15T04:51:18.977Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-15T04:51:19.235Z] Removing intermediate container addb2222ca3f [2020-12-15T04:51:19.235Z] ---> 1a18f76b0ece [2020-12-15T04:51:19.235Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-15T04:51:19.235Z] ---> Running in 9f14af47ade1 [2020-12-15T04:51:19.278Z] + ls -al . [2020-12-15T04:51:19.278Z] total 208 [2020-12-15T04:51:19.278Z] drwxrwxr-x. 10 jenkins jenkins 4096 Dec 15 04:51 . [2020-12-15T04:51:19.278Z] drwxrwxr-x. 4 jenkins jenkins 28 Dec 15 04:49 .. [2020-12-15T04:51:19.278Z] drwxrwxr-x. 2 jenkins jenkins 64 Dec 15 04:49 bin [2020-12-15T04:51:19.278Z] -rw-r--r--. 1 jenkins jenkins 128916 Dec 15 04:51 coverage.out [2020-12-15T04:51:19.278Z] -rw-rw-r--. 1 jenkins jenkins 936 Dec 15 04:49 Dockerfile.build [2020-12-15T04:51:19.278Z] -rw-rw-r--. 1 jenkins jenkins 140 Dec 15 04:49 .dockerignore [2020-12-15T04:51:19.278Z] drwxrwxr-x. 4 jenkins jenkins 48 Dec 15 04:49 example [2020-12-15T04:51:19.278Z] drwxrwxr-x. 8 jenkins jenkins 179 Dec 15 04:49 .git [2020-12-15T04:51:19.278Z] drwxrwxr-x. 2 jenkins jenkins 103 Dec 15 04:49 .github [2020-12-15T04:51:19.278Z] -rw-rw-r--. 1 jenkins jenkins 138 Dec 15 04:49 .gitignore [2020-12-15T04:51:19.278Z] -rw-r--r--. 1 jenkins jenkins 488 Dec 15 04:51 go.mod [2020-12-15T04:51:19.278Z] -rw-r--r--. 1 jenkins jenkins 13631 Dec 15 04:51 go.sum [2020-12-15T04:51:19.278Z] drwxrwxr-x. 15 jenkins jenkins 211 Dec 15 04:49 internal [2020-12-15T04:51:19.278Z] -rw-rw-r--. 1 jenkins jenkins 901 Dec 15 04:49 Jenkinsfile [2020-12-15T04:51:19.278Z] -rw-rw-r--. 1 jenkins jenkins 11341 Dec 15 04:49 LICENSE [2020-12-15T04:51:19.278Z] -rw-rw-r--. 1 jenkins jenkins 1013 Dec 15 04:49 Makefile [2020-12-15T04:51:19.278Z] drwxrwxr-x. 4 jenkins jenkins 26 Dec 15 04:49 openapi [2020-12-15T04:51:19.278Z] drwxrwxr-x. 5 jenkins jenkins 50 Dec 15 04:49 pkg [2020-12-15T04:51:19.278Z] -rw-rw-r--. 1 jenkins jenkins 5897 Dec 15 04:49 README.md [2020-12-15T04:51:19.278Z] -rw-rw-r--. 1 jenkins jenkins 4291 Dec 15 04:49 RELEASE-NOTES.txt [2020-12-15T04:51:19.278Z] drwxrwxr-x. 4 jenkins jenkins 54 Dec 15 04:49 snap [2020-12-15T04:51:19.278Z] -rw-rw-r--. 1 jenkins jenkins 5 Dec 15 04:46 VERSION [2020-12-15T04:51:19.278Z] -rw-rw-r--. 1 jenkins jenkins 222 Dec 15 04:49 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:51:19.591Z] + 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=e273dc83938adb51930e182e2cc5cd11642e85ac --label arch=amd64 --label version=0.0.0 . [2020-12-15T04:51:19.855Z] Sending build context to Docker daemon 2.55MB [2020-12-15T04:51:19.855Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-12-15T04:51:19.855Z] Step 2/24 : FROM ${BASE} AS builder [2020-12-15T04:51:19.855Z] ---> 1e1c524fb17b [2020-12-15T04:51:19.855Z] Step 3/24 : ARG MAKE='make build' [2020-12-15T04:51:20.214Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-15T04:51:20.435Z] ---> Running in 7d7ccbaa27cc [2020-12-15T04:51:20.702Z] Removing intermediate container 7d7ccbaa27cc [2020-12-15T04:51:20.702Z] ---> cbb389b9a0b3 [2020-12-15T04:51:20.702Z] Step 4/24 : WORKDIR /device-sdk-go [2020-12-15T04:51:20.702Z] ---> Running in b2c68bb8c598 [2020-12-15T04:51:20.966Z] Removing intermediate container b2c68bb8c598 [2020-12-15T04:51:20.966Z] ---> c71dea5ab4e9 [2020-12-15T04:51:20.966Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-15T04:51:20.966Z] ---> Running in 7fc973132c23 [2020-12-15T04:51:21.191Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-15T04:51:21.233Z] Removing intermediate container 7fc973132c23 [2020-12-15T04:51:21.233Z] ---> 99a5a5fc9a2b [2020-12-15T04:51:21.233Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-15T04:51:21.233Z] ---> Running in 94f455bad6f2 [2020-12-15T04:51:21.787Z] OK: 142 MiB in 39 packages [2020-12-15T04:51:22.188Z] Removing intermediate container 94f455bad6f2 [2020-12-15T04:51:22.189Z] ---> cd8dbd32f469 [2020-12-15T04:51:22.189Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-12-15T04:51:22.189Z] ---> Running in 40a9a6ad9a80 [2020-12-15T04:51:22.764Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-15T04:51:23.218Z] Removing intermediate container 9f14af47ade1 [2020-12-15T04:51:23.218Z] ---> c2cdcb5260a5 [2020-12-15T04:51:23.218Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-15T04:51:23.218Z] ---> Running in aaac0f5e58c3 [2020-12-15T04:51:23.338Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-15T04:51:23.492Z] Removing intermediate container aaac0f5e58c3 [2020-12-15T04:51:23.492Z] ---> 09140a929dbd [2020-12-15T04:51:23.492Z] Step 7/8 : COPY . . [2020-12-15T04:51:23.912Z] OK: 166 MiB in 39 packages [2020-12-15T04:51:24.489Z] Removing intermediate container 40a9a6ad9a80 [2020-12-15T04:51:24.490Z] ---> c74eb350e00c [2020-12-15T04:51:24.490Z] Step 8/24 : COPY . . [2020-12-15T04:51:24.941Z] ---> 6f6d6e7fde83 [2020-12-15T04:51:24.941Z] Step 8/8 : RUN go mod download [2020-12-15T04:51:24.941Z] ---> Running in 1469aada3128 [2020-12-15T04:51:25.446Z] ---> 73023027c9b6 [2020-12-15T04:51:25.446Z] Step 9/24 : RUN ${MAKE} [2020-12-15T04:51:25.711Z] ---> Running in 064fbb7cdf07 [2020-12-15T04:51:26.285Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-12-15T04:51:34.562Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-12-15T04:51:37.128Z] Removing intermediate container 064fbb7cdf07 [2020-12-15T04:51:37.128Z] ---> 43bbdc365d0a [2020-12-15T04:51:37.128Z] Step 10/24 : FROM scratch [2020-12-15T04:51:37.128Z] ---> [2020-12-15T04:51:37.128Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-15T04:51:37.128Z] ---> Running in 83bad3e9b972 [2020-12-15T04:51:37.128Z] Removing intermediate container 83bad3e9b972 [2020-12-15T04:51:37.128Z] ---> 60f11fa2c106 [2020-12-15T04:51:37.128Z] Step 12/24 : ENV APP_PORT=49990 [2020-12-15T04:51:37.128Z] ---> Running in 4e8183cd9bea [2020-12-15T04:51:37.128Z] Removing intermediate container 4e8183cd9bea [2020-12-15T04:51:37.128Z] ---> 3fd17a544b5a [2020-12-15T04:51:37.128Z] Step 13/24 : EXPOSE $APP_PORT [2020-12-15T04:51:37.128Z] ---> Running in 1ba1e770cc68 [2020-12-15T04:51:37.390Z] Removing intermediate container 1ba1e770cc68 [2020-12-15T04:51:37.390Z] ---> e4382e88c859 [2020-12-15T04:51:37.390Z] Step 14/24 : WORKDIR / [2020-12-15T04:51:37.390Z] ---> Running in 90db4aab005a [2020-12-15T04:51:37.652Z] Removing intermediate container 90db4aab005a [2020-12-15T04:51:37.652Z] ---> f8d2d4bf332e [2020-12-15T04:51:37.652Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-12-15T04:51:37.915Z] ---> 01e5ea329815 [2020-12-15T04:51:37.915Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-12-15T04:51:38.178Z] ---> 1dd15569ef90 [2020-12-15T04:51:38.178Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-12-15T04:51:38.445Z] ---> f430184f84f0 [2020-12-15T04:51:38.445Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-12-15T04:51:38.709Z] ---> 50ca847e7976 [2020-12-15T04:51:38.709Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-12-15T04:51:38.973Z] ---> 991ecf52d4f3 [2020-12-15T04:51:38.973Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-12-15T04:51:38.973Z] ---> Running in 9d907d090439 [2020-12-15T04:51:39.919Z] Removing intermediate container 9d907d090439 [2020-12-15T04:51:39.919Z] ---> 495231facb48 [2020-12-15T04:51:39.919Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-15T04:51:39.919Z] ---> Running in 1aaa8867438b [2020-12-15T04:51:39.919Z] Removing intermediate container 1aaa8867438b [2020-12-15T04:51:39.919Z] ---> 808b595ba362 [2020-12-15T04:51:39.919Z] Step 22/24 : LABEL arch=amd64 [2020-12-15T04:51:39.919Z] ---> Running in 2a546233e54b [2020-12-15T04:51:40.182Z] Removing intermediate container 2a546233e54b [2020-12-15T04:51:40.182Z] ---> 1afb701ff343 [2020-12-15T04:51:40.182Z] Step 23/24 : LABEL git_sha=e273dc83938adb51930e182e2cc5cd11642e85ac [2020-12-15T04:51:40.182Z] ---> Running in 8c37941dc8fa [2020-12-15T04:51:40.446Z] Removing intermediate container 8c37941dc8fa [2020-12-15T04:51:40.446Z] ---> f0ae9508ac16 [2020-12-15T04:51:40.446Z] Step 24/24 : LABEL version=0.0.0 [2020-12-15T04:51:40.446Z] ---> Running in 13092c886fd6 [2020-12-15T04:51:40.709Z] Removing intermediate container 13092c886fd6 [2020-12-15T04:51:40.709Z] ---> 8468eecdd505 [2020-12-15T04:51:40.709Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-15T04:51:40.709Z] Successfully built 8468eecdd505 [2020-12-15T04:51:40.709Z] 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] } [2020-12-15T04:51:47.132Z] Removing intermediate container 1469aada3128 [2020-12-15T04:51:47.132Z] ---> 86edce9f2945 [2020-12-15T04:51:47.132Z] Successfully built 86edce9f2945 [2020-12-15T04:51:47.132Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:51:47.477Z] + docker inspect -f . ci-base-image-arm64 [2020-12-15T04:51:47.477Z] . [Pipeline] withDockerContainer [2020-12-15T04:51:47.724Z] prd-ubuntu18.04-docker-arm64-4c-16g-16054 does not seem to be running inside a container [2020-12-15T04:51:47.817Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-15T04:51:49.435Z] $ docker top d49bc47edaf713caa6e3531d45fd72423fae9351944d0972149ffb9af0d268e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-15T04:51:50.476Z] + go version [2020-12-15T04:51:50.476Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-15T04:51:50.503Z] $ docker stop --time=1 d49bc47edaf713caa6e3531d45fd72423fae9351944d0972149ffb9af0d268e0 [2020-12-15T04:51:52.471Z] $ docker rm -f d49bc47edaf713caa6e3531d45fd72423fae9351944d0972149ffb9af0d268e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:51:53.503Z] + docker inspect -f . ci-base-image-arm64 [2020-12-15T04:51:53.503Z] . [Pipeline] withDockerContainer [2020-12-15T04:51:53.765Z] prd-ubuntu18.04-docker-arm64-4c-16g-16054 does not seem to be running inside a container [2020-12-15T04:51:53.851Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-15T04:51:55.350Z] $ docker top 7c46318f7e3579e48470266a202934e775c6ab53eeb7318dd352ea636310212a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-15T04:51:56.370Z] + make test [2020-12-15T04:51:56.370Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-15T04:52:18.581Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-15T04:52:57.670Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-12-15T04:52:57.670Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-12-15T04:52:57.670Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-12-15T04:52:57.670Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.145s coverage: 20.0% of statements [2020-12-15T04:53:03.102Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.201s coverage: 97.1% of statements [2020-12-15T04:53:29.933Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.117s coverage: 9.4% of statements [2020-12-15T04:53:29.933Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.113s coverage: 21.9% of statements [2020-12-15T04:53:29.933Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-12-15T04:53:29.933Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.618s coverage: 42.5% of statements [2020-12-15T04:53:29.933Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-12-15T04:53:29.933Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.791s coverage: 68.9% of statements [2020-12-15T04:53:29.933Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-12-15T04:53:29.933Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-12-15T04:53:29.933Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-12-15T04:53:29.933Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-12-15T04:53:29.933Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.203s coverage: 53.8% of statements [2020-12-15T04:53:29.933Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-12-15T04:53:29.933Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-12-15T04:53:29.933Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-12-15T04:53:29.933Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.701s coverage: 68.9% of statements [2020-12-15T04:53:29.933Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.131s coverage: 4.6% of statements [2020-12-15T04:53:29.934Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-12-15T04:53:29.934Z] GO111MODULE=on go vet ./... [2020-12-15T04:54:02.340Z] gofmt -l . [2020-12-15T04:54:02.340Z] [ "`gofmt -l .`" = "" ] [2020-12-15T04:54:02.340Z] ./bin/test-attribution-txt.sh [2020-12-15T04:54:02.340Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-15T04:54:02.368Z] $ docker stop --time=1 7c46318f7e3579e48470266a202934e775c6ab53eeb7318dd352ea636310212a [2020-12-15T04:54:04.649Z] $ docker rm -f 7c46318f7e3579e48470266a202934e775c6ab53eeb7318dd352ea636310212a [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-15T04:54:05.829Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-15T04:54:05.904Z] Warning: overwriting stash ‘coverage-report’ [2020-12-15T04:54:06.970Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-15T04:54:07.790Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-15T04:54:08.150Z] + ls -al . [2020-12-15T04:54:08.150Z] total 244 [2020-12-15T04:54:08.150Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 15 04:54 . [2020-12-15T04:54:08.150Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 04:50 .. [2020-12-15T04:54:08.150Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 15 04:50 .dockerignore [2020-12-15T04:54:08.150Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 04:50 .git [2020-12-15T04:54:08.150Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 04:50 .github [2020-12-15T04:54:08.150Z] -rw-rw-r-- 1 jenkins jenkins 138 Dec 15 04:50 .gitignore [2020-12-15T04:54:08.150Z] -rw-rw-r-- 1 jenkins jenkins 936 Dec 15 04:50 Dockerfile.build [2020-12-15T04:54:08.150Z] -rw-rw-r-- 1 jenkins jenkins 901 Dec 15 04:50 Jenkinsfile [2020-12-15T04:54:08.150Z] -rw-rw-r-- 1 jenkins jenkins 11341 Dec 15 04:50 LICENSE [2020-12-15T04:54:08.150Z] -rw-rw-r-- 1 jenkins jenkins 1013 Dec 15 04:50 Makefile [2020-12-15T04:54:08.150Z] -rw-rw-r-- 1 jenkins jenkins 5897 Dec 15 04:50 README.md [2020-12-15T04:54:08.150Z] -rw-rw-r-- 1 jenkins jenkins 4291 Dec 15 04:50 RELEASE-NOTES.txt [2020-12-15T04:54:08.150Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 15 04:46 VERSION [2020-12-15T04:54:08.150Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 04:50 bin [2020-12-15T04:54:08.150Z] -rw-r--r-- 1 jenkins jenkins 128916 Dec 15 04:53 coverage.out [2020-12-15T04:54:08.150Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 04:50 example [2020-12-15T04:54:08.150Z] -rw-r--r-- 1 jenkins jenkins 488 Dec 15 04:54 go.mod [2020-12-15T04:54:08.150Z] -rw-r--r-- 1 jenkins jenkins 13631 Dec 15 04:54 go.sum [2020-12-15T04:54:08.150Z] drwxrwxr-x 15 jenkins jenkins 4096 Dec 15 04:50 internal [2020-12-15T04:54:08.150Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 04:50 openapi [2020-12-15T04:54:08.150Z] drwxrwxr-x 5 jenkins jenkins 4096 Dec 15 04:50 pkg [2020-12-15T04:54:08.150Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 04:50 snap [2020-12-15T04:54:08.150Z] -rw-rw-r-- 1 jenkins jenkins 222 Dec 15 04:50 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:54:08.523Z] + 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=e273dc83938adb51930e182e2cc5cd11642e85ac --label arch=arm64 --label version=0.0.0 . [2020-12-15T04:54:09.158Z] Sending build context to Docker daemon 2.549MB [2020-12-15T04:54:09.158Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-12-15T04:54:09.158Z] Step 2/24 : FROM ${BASE} AS builder [2020-12-15T04:54:09.158Z] ---> 86edce9f2945 [2020-12-15T04:54:09.158Z] Step 3/24 : ARG MAKE='make build' [2020-12-15T04:54:09.449Z] ---> Running in 448f06b15d9b [2020-12-15T04:54:10.064Z] Removing intermediate container 448f06b15d9b [2020-12-15T04:54:10.064Z] ---> 40030dc0ab2a [2020-12-15T04:54:10.064Z] Step 4/24 : WORKDIR /device-sdk-go [2020-12-15T04:54:10.064Z] ---> Running in 10b362584e0a [2020-12-15T04:54:10.674Z] Removing intermediate container 10b362584e0a [2020-12-15T04:54:10.674Z] ---> e566bd47aebf [2020-12-15T04:54:10.674Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-15T04:54:10.674Z] ---> Running in 59f1ec98c2cb [2020-12-15T04:54:11.276Z] Removing intermediate container 59f1ec98c2cb [2020-12-15T04:54:11.276Z] ---> 63517707405d [2020-12-15T04:54:11.276Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-15T04:54:11.276Z] ---> Running in 1b3aa22959f3 [2020-12-15T04:54:13.908Z] Removing intermediate container 1b3aa22959f3 [2020-12-15T04:54:13.908Z] ---> 14d56722a457 [2020-12-15T04:54:13.908Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-12-15T04:54:13.908Z] ---> Running in 0b104cff3774 [2020-12-15T04:54:14.893Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-15T04:54:15.871Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-15T04:54:17.309Z] OK: 142 MiB in 39 packages [2020-12-15T04:54:18.286Z] Removing intermediate container 0b104cff3774 [2020-12-15T04:54:18.286Z] ---> cb5daa31a1d6 [2020-12-15T04:54:18.286Z] Step 8/24 : COPY . . [2020-12-15T04:54:19.724Z] ---> 568e8c3811fa [2020-12-15T04:54:19.724Z] Step 9/24 : RUN ${MAKE} [2020-12-15T04:54:19.724Z] ---> Running in 5095641b366f [2020-12-15T04:54:20.701Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-12-15T04:54:47.542Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-12-15T04:54:47.542Z] Removing intermediate container 5095641b366f [2020-12-15T04:54:47.542Z] ---> 79ee840a4234 [2020-12-15T04:54:47.542Z] Step 10/24 : FROM scratch [2020-12-15T04:54:47.543Z] ---> [2020-12-15T04:54:47.543Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-15T04:54:47.543Z] ---> Running in af5755e2c8db [2020-12-15T04:54:48.138Z] Removing intermediate container af5755e2c8db [2020-12-15T04:54:48.139Z] ---> 983938dd297f [2020-12-15T04:54:48.139Z] Step 12/24 : ENV APP_PORT=49990 [2020-12-15T04:54:48.139Z] ---> Running in e00453957c87 [2020-12-15T04:54:48.411Z] Removing intermediate container e00453957c87 [2020-12-15T04:54:48.411Z] ---> 0536d180f1da [2020-12-15T04:54:48.411Z] Step 13/24 : EXPOSE $APP_PORT [2020-12-15T04:54:48.685Z] ---> Running in 36ac2ca78055 [2020-12-15T04:54:48.959Z] Removing intermediate container 36ac2ca78055 [2020-12-15T04:54:48.959Z] ---> 62c419f22822 [2020-12-15T04:54:48.959Z] Step 14/24 : WORKDIR / [2020-12-15T04:54:49.231Z] ---> Running in f0da18318004 [2020-12-15T04:54:49.506Z] Removing intermediate container f0da18318004 [2020-12-15T04:54:49.506Z] ---> 2377a525f682 [2020-12-15T04:54:49.506Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-12-15T04:54:50.942Z] ---> 15e8da1281fa [2020-12-15T04:54:50.942Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-12-15T04:54:51.535Z] ---> ebc848622985 [2020-12-15T04:54:51.535Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-12-15T04:54:52.136Z] ---> 0ca8476c0a7c [2020-12-15T04:54:52.136Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-12-15T04:54:52.731Z] ---> b5aefdd502be [2020-12-15T04:54:52.731Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-12-15T04:54:53.709Z] ---> bf826a88dbd5 [2020-12-15T04:54:53.709Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-12-15T04:54:53.709Z] ---> Running in 03572db21a3f [2020-12-15T04:54:54.310Z] Removing intermediate container 03572db21a3f [2020-12-15T04:54:54.310Z] ---> b308d9c49388 [2020-12-15T04:54:54.310Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-15T04:54:54.310Z] ---> Running in 2592f5d3dc32 [2020-12-15T04:54:54.583Z] Removing intermediate container 2592f5d3dc32 [2020-12-15T04:54:54.583Z] ---> 700da24ae75b [2020-12-15T04:54:54.583Z] Step 22/24 : LABEL arch=arm64 [2020-12-15T04:54:54.858Z] ---> Running in f98931b4df37 [2020-12-15T04:54:55.133Z] Removing intermediate container f98931b4df37 [2020-12-15T04:54:55.133Z] ---> 8c85c3e00174 [2020-12-15T04:54:55.133Z] Step 23/24 : LABEL git_sha=e273dc83938adb51930e182e2cc5cd11642e85ac [2020-12-15T04:54:55.407Z] ---> Running in b14cd806d80b [2020-12-15T04:54:56.004Z] Removing intermediate container b14cd806d80b [2020-12-15T04:54:56.004Z] ---> 96a9f14c40f1 [2020-12-15T04:54:56.004Z] Step 24/24 : LABEL version=0.0.0 [2020-12-15T04:54:56.004Z] ---> Running in 7d02904a4dec [2020-12-15T04:54:56.278Z] Removing intermediate container 7d02904a4dec [2020-12-15T04:54:56.278Z] ---> 49c4e3b09e59 [2020-12-15T04:54:56.278Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-15T04:54:56.549Z] Successfully built 49c4e3b09e59 [2020-12-15T04:54:56.550Z] 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 [2020-12-15T04:54:58.462Z] provisioning config files... [2020-12-15T04:54:58.477Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/config660044819500615892tmp [Pipeline] { [Pipeline] sh [2020-12-15T04:54:58.879Z] + set +x [2020-12-15T04:54:58.879Z] + curl -s https://codecov.io/bash [2020-12-15T04:54:58.879Z] + bash -s -- [2020-12-15T04:54:59.143Z] [2020-12-15T04:54:59.143Z] _____ _ [2020-12-15T04:54:59.143Z] / ____| | | [2020-12-15T04:54:59.143Z] | | ___ __| | ___ ___ _____ __ [2020-12-15T04:54:59.143Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-15T04:54:59.143Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-15T04:54:59.143Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-15T04:54:59.143Z] Bash-20201130-cc6d3fe [2020-12-15T04:54:59.143Z] [2020-12-15T04:54:59.143Z] [2020-12-15T04:54:59.144Z] ==> Jenkins CI detected. [2020-12-15T04:54:59.144Z] project root: . [2020-12-15T04:54:59.144Z] --> token set from env [2020-12-15T04:54:59.144Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-15T04:54:59.144Z] ==> Running gcov in . (disable via -X gcov) [2020-12-15T04:54:59.144Z] ==> Python coveragepy not found [2020-12-15T04:54:59.144Z] ==> Searching for coverage reports in: [2020-12-15T04:54:59.144Z] + . [2020-12-15T04:54:59.144Z] -> Found 1 reports [2020-12-15T04:54:59.144Z] ==> Detecting git/mercurial file structure [2020-12-15T04:54:59.144Z] ==> Reading reports [2020-12-15T04:54:59.144Z] + ./coverage.out bytes=128916 [2020-12-15T04:54:59.144Z] ==> Appending adjustments [2020-12-15T04:54:59.144Z] https://docs.codecov.io/docs/fixing-reports [2020-12-15T04:54:59.719Z] + Found adjustments [2020-12-15T04:54:59.719Z] ==> Gzipping contents [2020-12-15T04:54:59.719Z] 24K /tmp/codecov.3BVEVZ.gz [2020-12-15T04:54:59.719Z] ==> Uploading reports [2020-12-15T04:54:59.719Z] url: https://codecov.io [2020-12-15T04:54:59.719Z] query: branch=PR-661&commit=e273dc83938adb51930e182e2cc5cd11642e85ac&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-661%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=661&job=&cmd_args= [2020-12-15T04:54:59.719Z] -> Pinging Codecov [2020-12-15T04:54:59.719Z] https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-661&commit=e273dc83938adb51930e182e2cc5cd11642e85ac&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-661%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=661&job=&cmd_args= [2020-12-15T04:54:59.982Z] -> Uploading to [2020-12-15T04:54:59.982Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-15/7E55EF52A471D76F132DFD9A03CDDE97/e273dc83938adb51930e182e2cc5cd11642e85ac/22abb5df-cbb1-4e7b-903f-2d8379689a08.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201215T045459Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f52976b0e1b5ce3b1702f8e802168d6617eaf70bb4d45d90e8759f06a88d1d79 [2020-12-15T04:54:59.982Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-15T04:54:59.982Z] Dload Upload Total Spent Left Speed [2020-12-15T04:55:00.559Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21053 0 0 100 21053 0 42091 --:--:-- --:--:-- --:--:-- 42106 [2020-12-15T04:55:00.559Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e273dc83938adb51930e182e2cc5cd11642e85ac [Pipeline] } [2020-12-15T04:55:00.569Z] 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 [2020-12-15T04:55:03.863Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:55:04.172Z] ---> package-listing.sh [2020-12-15T04:55:04.172Z] ++ facter osfamily [2020-12-15T04:55:04.172Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-15T04:55:04.172Z] + OS_FAMILY=redhat [2020-12-15T04:55:04.172Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-661 [2020-12-15T04:55:04.172Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-15T04:55:04.172Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-15T04:55:04.172Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-15T04:55:04.172Z] + PACKAGES=/tmp/packages_start.txt [2020-12-15T04:55:04.172Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-661 ']' [2020-12-15T04:55:04.172Z] + PACKAGES=/tmp/packages_end.txt [2020-12-15T04:55:04.172Z] + case "${OS_FAMILY}" in [2020-12-15T04:55:04.172Z] + rpm -qa [2020-12-15T04:55:04.172Z] + sort [2020-12-15T04:55:09.495Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-15T04:55:09.495Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-15T04:55:09.495Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-15T04:55:09.495Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-661 ']' [2020-12-15T04:55:09.495Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-661/archives/ [2020-12-15T04:55:09.495Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-661/archives/ [Pipeline] echo [2020-12-15T04:55:09.512Z] 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-661/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-15T04:55:09.809Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:55:10.123Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-15T04:55:10.123Z] [2020-12-15T04:55:10.123Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:55:10.497Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-15T04:55:10.497Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-15T04:55:10.497Z] df20fa9351a1: Pulling fs layer [2020-12-15T04:55:10.497Z] 36b3adc4ff6f: Pulling fs layer [2020-12-15T04:55:10.497Z] 8ad3a11d3b57: Pulling fs layer [2020-12-15T04:55:10.497Z] 46f8f816bc3b: Pulling fs layer [2020-12-15T04:55:10.497Z] 93b61091891f: Pulling fs layer [2020-12-15T04:55:10.497Z] 93b9cdb0e59b: Pulling fs layer [2020-12-15T04:55:10.497Z] 5e14af77c1be: Pulling fs layer [2020-12-15T04:55:10.497Z] 01666e4c0597: Pulling fs layer [2020-12-15T04:55:10.497Z] aa168da1d23b: Pulling fs layer [2020-12-15T04:55:10.497Z] 93b9cdb0e59b: Waiting [2020-12-15T04:55:10.498Z] 01666e4c0597: Waiting [2020-12-15T04:55:10.498Z] aa168da1d23b: Waiting [2020-12-15T04:55:10.498Z] 5e14af77c1be: Waiting [2020-12-15T04:55:10.498Z] 46f8f816bc3b: Waiting [2020-12-15T04:55:10.498Z] 93b61091891f: Waiting [2020-12-15T04:55:10.498Z] 36b3adc4ff6f: Download complete [2020-12-15T04:55:10.762Z] 46f8f816bc3b: Verifying Checksum [2020-12-15T04:55:10.762Z] 46f8f816bc3b: Download complete [2020-12-15T04:55:10.762Z] df20fa9351a1: Verifying Checksum [2020-12-15T04:55:10.762Z] df20fa9351a1: Download complete [2020-12-15T04:55:10.762Z] 93b9cdb0e59b: Download complete [2020-12-15T04:55:10.762Z] 5e14af77c1be: Verifying Checksum [2020-12-15T04:55:10.762Z] 5e14af77c1be: Download complete [2020-12-15T04:55:10.762Z] 93b61091891f: Verifying Checksum [2020-12-15T04:55:10.762Z] 93b61091891f: Download complete [2020-12-15T04:55:10.762Z] 01666e4c0597: Verifying Checksum [2020-12-15T04:55:10.762Z] 01666e4c0597: Download complete [2020-12-15T04:55:11.025Z] df20fa9351a1: Pull complete [2020-12-15T04:55:11.291Z] 36b3adc4ff6f: Pull complete [2020-12-15T04:55:11.558Z] 8ad3a11d3b57: Verifying Checksum [2020-12-15T04:55:11.558Z] 8ad3a11d3b57: Download complete [2020-12-15T04:55:12.514Z] 8ad3a11d3b57: Pull complete [2020-12-15T04:55:12.515Z] 46f8f816bc3b: Pull complete [2020-12-15T04:55:13.466Z] aa168da1d23b: Verifying Checksum [2020-12-15T04:55:13.466Z] aa168da1d23b: Download complete [2020-12-15T04:55:13.729Z] 93b61091891f: Pull complete [2020-12-15T04:55:13.729Z] 93b9cdb0e59b: Pull complete [2020-12-15T04:55:13.993Z] 5e14af77c1be: Pull complete [2020-12-15T04:55:13.993Z] 01666e4c0597: Pull complete [2020-12-15T04:55:22.186Z] aa168da1d23b: Pull complete [2020-12-15T04:55:22.186Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-15T04:55:22.186Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-15T04:55:22.186Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-15T04:55:22.406Z] prd-centos7-docker-4c-2g-16052 does not seem to be running inside a container [2020-12-15T04:55:22.464Z] $ 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-661/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-661 -v /w/workspace/dgexfoundry_device-sdk-go_PR-661:/w/workspace/dgexfoundry_device-sdk-go_PR-661:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-15T04:55:25.768Z] $ docker top 9aea924576d359a58e763972d5490fa2a13e38269682bc95ad80e30d48efc57a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-15T04:55:26.317Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-15T04:55:26.624Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-15T04:55:26.933Z] + ls /var/log/sa-host [2020-12-15T04:55:26.933Z] + sadf -c /var/log/sa-host/sa15 [2020-12-15T04:55:26.933Z] file_magic: OK [2020-12-15T04:55:26.933Z] HZ: Using current value: 100 [2020-12-15T04:55:26.933Z] file_header: OK [2020-12-15T04:55:26.933Z] 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 [2020-12-15T04:55:26.933Z] Statistics: [2020-12-15T04:55:26.933Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-15T04:55:26.933Z] File successfully converted to sysstat format version 12.2.1 [2020-12-15T04:55:26.933Z] + sadf -c /var/log/sa-host/sa23 [2020-12-15T04:55:26.933Z] file_magic: OK [2020-12-15T04:55:26.933Z] HZ: Using current value: 100 [2020-12-15T04:55:26.933Z] file_header: OK [2020-12-15T04:55:26.933Z] 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 [2020-12-15T04:55:26.933Z] Statistics: [2020-12-15T04:55:26.933Z] Hnuu...uuuununununu... [2020-12-15T04:55:26.933Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-15T04:55:27.788Z] provisioning config files... [2020-12-15T04:55:27.810Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/config6163063150105202017tmp [Pipeline] { [Pipeline] echo [2020-12-15T04:55:27.880Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:55:28.178Z] ---> create-netrc.sh [Pipeline] } [2020-12-15T04:55:28.188Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-15T04:55:28.281Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:55:28.579Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-15T04:55:28.596Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:55:28.897Z] ---> sudo-logs.sh [2020-12-15T04:55:28.897Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-15T04:55:28.909Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:55:29.209Z] ---> job-cost.sh [2020-12-15T04:55:29.209Z] lf-activate-venv: SKIPPING [2020-12-15T04:55:29.209Z] INFO: No Stack... [2020-12-15T04:55:30.159Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-15T04:55:30.734Z] INFO: Archiving Costs [Pipeline] echo [2020-12-15T04:55:30.750Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:55:31.050Z] ---> logs-deploy.sh [2020-12-15T04:55:31.050Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-661/8 [2020-12-15T04:55:31.050Z] INFO: archiving workspace using pattern(s): [2020-12-15T04:55:32.979Z] Archives upload complete. [2020-12-15T04:55:32.979Z] INFO: archiving logs to Nexus