Pull request #750 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 vijay-hcl-epl for edgexfoundry/device-sdk-go Obtained Jenkinsfile from fc417a4a7760e79cd3fb62518c4fb0334d857caa+1c2f003b09666c9aca7d142d934c7ec3af9c247b (ab1ea7ee4028686ef212063c15f7dc038b491371) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-21978 in /w/workspace/dgexfoundry_device-sdk-go_PR-750 [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-750 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 1c2f003b09666c9aca7d142d934c7ec3af9c247b into PR head commit fc417a4a7760e79cd3fb62518c4fb0334d857caa > 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/750/head:refs/remotes/origin/PR-750 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fc417a4a7760e79cd3fb62518c4fb0334d857caa # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 Merge succeeded, producing fc417a4a7760e79cd3fb62518c4fb0334d857caa Checking out Revision fc417a4a7760e79cd3fb62518c4fb0334d857caa (PR-750) using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1c2f003b09666c9aca7d142d934c7ec3af9c247b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fc417a4a7760e79cd3fb62518c4fb0334d857caa # timeout=10 Commit message: "fix (device services): Block writes to input table" > git rev-list --no-walk 3f6367ec7abd0c3eff64e23ec1ea6e54b586c43d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-21T16:45:48.649Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-21T16:45:48.936Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-21T16:45:49.046Z] ========================================================= [2021-01-21T16:45:49.046Z] EdgeX Global Pipelines Version Info [2021-01-21T16:45:49.046Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-21T16:45:52.074Z] ------------------- [2021-01-21T16:45:52.074Z] stable info: [2021-01-21T16:45:52.074Z] ------------------- [2021-01-21T16:45:52.074Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-21T16:45:52.074Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-21T16:45:52.074Z] Message: update stable to v1.0.179 [2021-01-21T16:45:53.567Z] ------------------- [2021-01-21T16:45:53.567Z] experimental info: [2021-01-21T16:45:53.567Z] ------------------- [2021-01-21T16:45:53.567Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-21T16:45:53.567Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-21T16:45:53.567Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-21T16:45:53.961Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-21T16:45:54.070Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-21T16:45:54.175Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-21T16:45:54.284Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-21T16:45:54.400Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-21T16:45:54.504Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-21T16:45:54.617Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-21T16:45:54.719Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-21T16:45:54.846Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-21T16:45:54.947Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-21T16:45:55.060Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-21T16:45:55.180Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-21T16:45:55.289Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-21T16:45:55.468Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-21T16:45:55.569Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-21T16:45:55.676Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-21T16:45:55.781Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-21T16:45:55.886Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-21T16:45:56.020Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-21T16:45:56.123Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-21T16:45:56.220Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-21T16:45:56.317Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-21T16:45:56.414Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-21T16:45:56.510Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-21T16:45:56.608Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-21T16:45:56.704Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-21T16:45:56.834Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-21T16:45:56.945Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-750 [Pipeline] echo [2021-01-21T16:45:57.085Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-750 [Pipeline] echo [2021-01-21T16:45:57.227Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-750 [Pipeline] echo [2021-01-21T16:45:57.329Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fc417a4a7760e79cd3fb62518c4fb0334d857caa [Pipeline] echo [2021-01-21T16:45:57.451Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fc417a4 [Pipeline] echo [2021-01-21T16:45:57.543Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-21T16:45:57.731Z] provisioning config files... [2021-01-21T16:45:57.769Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/config1178972800713922500tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-21T16:45:58.220Z] ---> docker-login.sh [2021-01-21T16:45:58.220Z] nexus3.edgexfoundry.org:10001 [2021-01-21T16:45:59.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T16:45:59.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T16:45:59.883Z] Configure a credential helper to remove this warning. See [2021-01-21T16:45:59.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T16:45:59.883Z] [2021-01-21T16:45:59.883Z] Login Succeeded [2021-01-21T16:45:59.883Z] nexus3.edgexfoundry.org:10002 [2021-01-21T16:46:00.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T16:46:00.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T16:46:00.195Z] Configure a credential helper to remove this warning. See [2021-01-21T16:46:00.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T16:46:00.195Z] [2021-01-21T16:46:00.195Z] Login Succeeded [2021-01-21T16:46:00.195Z] nexus3.edgexfoundry.org:10003 [2021-01-21T16:46:00.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T16:46:00.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T16:46:00.488Z] Configure a credential helper to remove this warning. See [2021-01-21T16:46:00.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T16:46:00.488Z] [2021-01-21T16:46:00.488Z] Login Succeeded [2021-01-21T16:46:00.488Z] nexus3.edgexfoundry.org:10004 [2021-01-21T16:46:01.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T16:46:01.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T16:46:01.140Z] Configure a credential helper to remove this warning. See [2021-01-21T16:46:01.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T16:46:01.140Z] [2021-01-21T16:46:01.140Z] Login Succeeded [2021-01-21T16:46:01.140Z] docker.io [2021-01-21T16:46:01.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T16:46:02.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T16:46:02.186Z] Configure a credential helper to remove this warning. See [2021-01-21T16:46:02.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T16:46:02.187Z] [2021-01-21T16:46:02.187Z] Login Succeeded [2021-01-21T16:46:02.187Z] ---> docker-login.sh ends [Pipeline] } [2021-01-21T16:46:02.209Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-21T16:46:03.241Z] + git log --format=format:%s -1 fc417a4a7760e79cd3fb62518c4fb0334d857caa [Pipeline] echo [2021-01-21T16:46:03.393Z] GIT_COMMIT: fc417a4a7760e79cd3fb62518c4fb0334d857caa, Commit Message: fix (device services): Block writes to input table [Pipeline] echo [2021-01-21T16:46:03.442Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-21T16:46:04.673Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-21T16:46:04.673Z] [2021-01-21T16:46:04.673Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-21T16:46:05.066Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-21T16:46:05.352Z] latest: Pulling from edgex-devops/git-semver [2021-01-21T16:46:05.352Z] 31603596830f: Pulling fs layer [2021-01-21T16:46:05.352Z] 2a8b12db71e7: Pulling fs layer [2021-01-21T16:46:05.352Z] 6ca5941a6612: Pulling fs layer [2021-01-21T16:46:05.352Z] ecc8261a40a4: Pulling fs layer [2021-01-21T16:46:05.352Z] ecc8261a40a4: Waiting [2021-01-21T16:46:05.352Z] 2a8b12db71e7: Verifying Checksum [2021-01-21T16:46:05.352Z] 2a8b12db71e7: Download complete [2021-01-21T16:46:05.641Z] 31603596830f: Verifying Checksum [2021-01-21T16:46:05.641Z] 31603596830f: Download complete [2021-01-21T16:46:05.988Z] ecc8261a40a4: Verifying Checksum [2021-01-21T16:46:05.988Z] ecc8261a40a4: Download complete [2021-01-21T16:46:05.988Z] 6ca5941a6612: Verifying Checksum [2021-01-21T16:46:05.988Z] 6ca5941a6612: Download complete [2021-01-21T16:46:07.020Z] 31603596830f: Pull complete [2021-01-21T16:46:07.020Z] 2a8b12db71e7: Pull complete [2021-01-21T16:46:09.049Z] 6ca5941a6612: Pull complete [2021-01-21T16:46:09.650Z] ecc8261a40a4: Pull complete [2021-01-21T16:46:09.650Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-21T16:46:09.650Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-21T16:46:09.650Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-21T16:46:09.953Z] prd-centos7-docker-4c-2g-21978 does not seem to be running inside a container [2021-01-21T16:46:10.288Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-750 -v /w/workspace/dgexfoundry_device-sdk-go_PR-750:/w/workspace/dgexfoundry_device-sdk-go_PR-750:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-750@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-21T16:46:13.453Z] $ docker top 409dad8b6cd4d70dba243591f4277018fd8e1fc072278e107ac63f38fdf45601 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-21T16:46:14.048Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-21T16:46:14.048Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-21T16:46:14.440Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-21T16:46:14.453Z] $ docker exec 409dad8b6cd4d70dba243591f4277018fd8e1fc072278e107ac63f38fdf45601 ssh-agent [2021-01-21T16:46:14.732Z] SSH_AUTH_SOCK=/tmp/ssh-qfk1NYwbYD0k/agent.13 [2021-01-21T16:46:14.732Z] SSH_AGENT_PID=19 [2021-01-21T16:46:14.748Z] Running ssh-add (command line suppressed) [2021-01-21T16:46:15.068Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/private_key_4029263318812364173.key (/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/private_key_4029263318812364173.key) [2021-01-21T16:46:15.201Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-21T16:46:15.960Z] + git tag --points-at HEAD [Pipeline] } [2021-01-21T16:46:16.095Z] $ docker exec --env ******** --env ******** 409dad8b6cd4d70dba243591f4277018fd8e1fc072278e107ac63f38fdf45601 ssh-agent -k [2021-01-21T16:46:16.706Z] unset SSH_AUTH_SOCK; [2021-01-21T16:46:16.706Z] unset SSH_AGENT_PID; [2021-01-21T16:46:16.706Z] echo Agent pid 19 killed; [2021-01-21T16:46:16.817Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-21T16:46:16.973Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-21T16:46:16.973Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-21T16:46:17.838Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-21T16:46:17.846Z] $ docker exec 409dad8b6cd4d70dba243591f4277018fd8e1fc072278e107ac63f38fdf45601 ssh-agent [2021-01-21T16:46:18.814Z] SSH_AUTH_SOCK=/tmp/ssh-vr3FOPt1dygQ/agent.47 [2021-01-21T16:46:18.814Z] SSH_AGENT_PID=52 [2021-01-21T16:46:18.875Z] Running ssh-add (command line suppressed) [2021-01-21T16:46:19.152Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/private_key_7873649770794810638.key (/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/private_key_7873649770794810638.key) [2021-01-21T16:46:19.279Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-21T16:46:19.656Z] + git semver init [2021-01-21T16:46:19.656Z] # -> Open(): unable to determine branch for HEAD [2021-01-21T16:46:19.656Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-750/.git [2021-01-21T16:46:19.656Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-750 [2021-01-21T16:46:19.656Z] # $SEMVER_REMOTE_NAME = origin [2021-01-21T16:46:19.656Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-21T16:46:19.656Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-21T16:46:19.656Z] # $SEMVER_BRANCH = PR-750 [2021-01-21T16:46:19.656Z] # $SEMVER_TEMP = /tmp/semver-680695932 [2021-01-21T16:46:19.656Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-21T16:46:20.641Z] # '/tmp/semver-680695932' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-750/.semver' [2021-01-21T16:46:20.641Z] # -> Force: false [2021-01-21T16:46:20.641Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-750/.semver [Pipeline] } [2021-01-21T16:46:20.664Z] $ docker exec --env ******** --env ******** 409dad8b6cd4d70dba243591f4277018fd8e1fc072278e107ac63f38fdf45601 ssh-agent -k [2021-01-21T16:46:21.061Z] unset SSH_AUTH_SOCK; [2021-01-21T16:46:21.063Z] unset SSH_AGENT_PID; [2021-01-21T16:46:21.064Z] echo Agent pid 52 killed; [2021-01-21T16:46:21.185Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-21T16:46:22.108Z] + git semver [Pipeline] } [2021-01-21T16:46:22.146Z] $ docker stop --time=1 409dad8b6cd4d70dba243591f4277018fd8e1fc072278e107ac63f38fdf45601 [2021-01-21T16:46:23.858Z] $ docker rm -f 409dad8b6cd4d70dba243591f4277018fd8e1fc072278e107ac63f38fdf45601 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-21T16:46:24.577Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-21T16:46:25.680Z] Stashed 1 file(s) [Pipeline] echo [2021-01-21T16:46:25.683Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-01-21T16:46:41.259Z] Still waiting to schedule task [2021-01-21T16:46:41.260Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-21T16:46:41.261Z] Still waiting to schedule task [2021-01-21T16:46:41.262Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline [2021-01-21T16:48:25.287Z] Running on prd-centos7-docker-4c-2g-21980 in /w/workspace/dgexfoundry_device-sdk-go_PR-750 [Pipeline] { [Pipeline] ws [2021-01-21T16:48:25.413Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-01-21T16:48:27.810Z] using credential edgex-jenkins-ssh [2021-01-21T16:48:27.867Z] Cloning the remote Git repository [2021-01-21T16:48:27.893Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-21T16:48:27.965Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-01-21T16:48:28.024Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-21T16:48:28.025Z] > git --version # timeout=10 [2021-01-21T16:48:28.033Z] > git --version # 'git version 2.24.3' [2021-01-21T16:48:28.033Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-21T16:48:28.060Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-21T16:48:28.870Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-21T16:48:28.877Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-21T16:48:28.888Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-21T16:48:28.906Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-21T16:48:28.906Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-21T16:48:28.913Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/750/head:refs/remotes/origin/PR-750 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-21T16:48:29.398Z] Merging remotes/origin/master commit 1c2f003b09666c9aca7d142d934c7ec3af9c247b into PR head commit fc417a4a7760e79cd3fb62518c4fb0334d857caa [2021-01-21T16:48:29.498Z] Merge succeeded, producing fc417a4a7760e79cd3fb62518c4fb0334d857caa [2021-01-21T16:48:29.499Z] Checking out Revision fc417a4a7760e79cd3fb62518c4fb0334d857caa (PR-750) [2021-01-21T16:48:29.407Z] > git config core.sparsecheckout # timeout=10 [2021-01-21T16:48:29.416Z] > git checkout -f fc417a4a7760e79cd3fb62518c4fb0334d857caa # timeout=10 [2021-01-21T16:48:29.467Z] > git remote # timeout=10 [2021-01-21T16:48:29.475Z] > git config --get remote.origin.url # timeout=10 [2021-01-21T16:48:29.480Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-21T16:48:29.484Z] > git merge 1c2f003b09666c9aca7d142d934c7ec3af9c247b # timeout=10 [2021-01-21T16:48:29.493Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-21T16:48:29.502Z] > git config core.sparsecheckout # timeout=10 [2021-01-21T16:48:29.506Z] > git checkout -f fc417a4a7760e79cd3fb62518c4fb0334d857caa # timeout=10 [2021-01-21T16:48:33.170Z] Commit message: "fix (device services): Block writes to input table" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-21T16:48:34.410Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-21T16:48:34.739Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-21T16:48:35.037Z] + sudo service docker restart [2021-01-21T16:48:35.037Z] + true [2021-01-21T16:48:35.037Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-21T16:48:36.066Z] provisioning config files... [2021-01-21T16:48:36.098Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config2567058546847706160tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-21T16:48:36.449Z] ---> docker-login.sh [2021-01-21T16:48:36.449Z] nexus3.edgexfoundry.org:10001 [2021-01-21T16:48:36.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T16:48:36.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T16:48:36.714Z] Configure a credential helper to remove this warning. See [2021-01-21T16:48:36.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T16:48:36.714Z] [2021-01-21T16:48:36.714Z] Login Succeeded [2021-01-21T16:48:36.714Z] nexus3.edgexfoundry.org:10002 [2021-01-21T16:48:36.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T16:48:36.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T16:48:36.977Z] Configure a credential helper to remove this warning. See [2021-01-21T16:48:36.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T16:48:36.977Z] [2021-01-21T16:48:36.977Z] Login Succeeded [2021-01-21T16:48:36.977Z] nexus3.edgexfoundry.org:10003 [2021-01-21T16:48:37.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T16:48:37.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T16:48:37.240Z] Configure a credential helper to remove this warning. See [2021-01-21T16:48:37.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T16:48:37.240Z] [2021-01-21T16:48:37.240Z] Login Succeeded [2021-01-21T16:48:37.240Z] nexus3.edgexfoundry.org:10004 [2021-01-21T16:48:37.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T16:48:37.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T16:48:37.501Z] Configure a credential helper to remove this warning. See [2021-01-21T16:48:37.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T16:48:37.501Z] [2021-01-21T16:48:37.501Z] Login Succeeded [2021-01-21T16:48:37.501Z] docker.io [2021-01-21T16:48:37.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T16:48:37.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T16:48:37.763Z] Configure a credential helper to remove this warning. See [2021-01-21T16:48:37.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T16:48:37.763Z] [2021-01-21T16:48:37.763Z] Login Succeeded [2021-01-21T16:48:37.763Z] ---> docker-login.sh ends [Pipeline] } [2021-01-21T16:48:37.773Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-21T16:48:38.112Z] ========================================================= [2021-01-21T16:48:38.112Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-21T16:48:38.112Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-21T16:48:38.453Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-01-21T16:48:38.453Z] Sending build context to Docker daemon 2.474MB [2021-01-21T16:48:38.453Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-21T16:48:38.453Z] Step 2/8 : FROM ${BASE} [2021-01-21T16:48:38.715Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-21T16:48:38.715Z] 188c0c94c7c5: Pulling fs layer [2021-01-21T16:48:38.715Z] 0ef7d3d256c8: Pulling fs layer [2021-01-21T16:48:38.715Z] de9db76c5a1d: Pulling fs layer [2021-01-21T16:48:38.715Z] bca2f99d35d6: Pulling fs layer [2021-01-21T16:48:38.715Z] 93359f2a8cfa: Pulling fs layer [2021-01-21T16:48:38.715Z] 7c6f9722023f: Pulling fs layer [2021-01-21T16:48:38.715Z] a35cf1a2eb13: Pulling fs layer [2021-01-21T16:48:38.715Z] 93359f2a8cfa: Waiting [2021-01-21T16:48:38.715Z] 7c6f9722023f: Waiting [2021-01-21T16:48:38.715Z] a35cf1a2eb13: Waiting [2021-01-21T16:48:38.715Z] bca2f99d35d6: Waiting [2021-01-21T16:48:38.715Z] de9db76c5a1d: Verifying Checksum [2021-01-21T16:48:38.715Z] de9db76c5a1d: Download complete [2021-01-21T16:48:38.715Z] 0ef7d3d256c8: Verifying Checksum [2021-01-21T16:48:38.715Z] 0ef7d3d256c8: Download complete [2021-01-21T16:48:39.293Z] 93359f2a8cfa: Verifying Checksum [2021-01-21T16:48:39.293Z] 93359f2a8cfa: Download complete [2021-01-21T16:48:39.555Z] 7c6f9722023f: Verifying Checksum [2021-01-21T16:48:39.555Z] 7c6f9722023f: Download complete [2021-01-21T16:48:39.555Z] 188c0c94c7c5: Download complete [2021-01-21T16:48:39.555Z] 188c0c94c7c5: Pull complete [2021-01-21T16:48:39.816Z] 0ef7d3d256c8: Pull complete [2021-01-21T16:48:40.079Z] de9db76c5a1d: Pull complete [2021-01-21T16:48:41.030Z] a35cf1a2eb13: Verifying Checksum [2021-01-21T16:48:41.030Z] a35cf1a2eb13: Download complete [2021-01-21T16:48:43.587Z] bca2f99d35d6: Verifying Checksum [2021-01-21T16:48:43.587Z] bca2f99d35d6: Download complete [2021-01-21T16:48:48.922Z] bca2f99d35d6: Pull complete [2021-01-21T16:48:48.922Z] 93359f2a8cfa: Pull complete [2021-01-21T16:48:48.922Z] 7c6f9722023f: Pull complete [2021-01-21T16:48:53.175Z] a35cf1a2eb13: Pull complete [2021-01-21T16:48:53.175Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-21T16:48:53.175Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-21T16:48:53.175Z] ---> a62c8e92a672 [2021-01-21T16:48:53.175Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-21T16:48:53.755Z] ---> Running in bf5094f2eae3 [2021-01-21T16:48:54.018Z] Removing intermediate container bf5094f2eae3 [2021-01-21T16:48:54.018Z] ---> 024fbe6886fc [2021-01-21T16:48:54.018Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-21T16:48:54.018Z] ---> Running in 88a68d268ca8 [2021-01-21T16:48:54.968Z] Removing intermediate container 88a68d268ca8 [2021-01-21T16:48:54.968Z] ---> 7b918861ad09 [2021-01-21T16:48:54.968Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-21T16:48:54.968Z] ---> Running in 402a9379cc1f [2021-01-21T16:48:55.916Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-21T16:48:57.309Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-21T16:48:58.256Z] OK: 166 MiB in 39 packages [2021-01-21T16:48:58.833Z] Removing intermediate container 402a9379cc1f [2021-01-21T16:48:58.833Z] ---> ccefbdef4e77 [2021-01-21T16:48:58.833Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-21T16:48:58.833Z] ---> Running in f1929c7a2803 [2021-01-21T16:48:58.833Z] Removing intermediate container f1929c7a2803 [2021-01-21T16:48:58.833Z] ---> 02f64023847c [2021-01-21T16:48:58.833Z] Step 7/8 : COPY . . [2021-01-21T16:49:00.226Z] ---> a1fc921c42e9 [2021-01-21T16:49:00.226Z] Step 8/8 : RUN go mod download [2021-01-21T16:49:00.226Z] ---> Running in 2258f2bab93e [2021-01-21T16:49:05.427Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-21979 in /w/workspace/dgexfoundry_device-sdk-go_PR-750 [Pipeline] { [Pipeline] ws [2021-01-21T16:49:05.487Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-01-21T16:49:10.829Z] using credential edgex-jenkins-ssh [2021-01-21T16:49:10.897Z] Cloning the remote Git repository [2021-01-21T16:49:10.953Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-21T16:49:11.055Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-01-21T16:49:11.132Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-21T16:49:11.132Z] > git --version # timeout=10 [2021-01-21T16:49:11.150Z] > git --version # 'git version 2.17.1' [2021-01-21T16:49:11.152Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-21T16:49:11.230Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-21T16:49:12.417Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-21T16:49:12.445Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-21T16:49:12.476Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-21T16:49:12.521Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-21T16:49:12.523Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-21T16:49:12.544Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/750/head:refs/remotes/origin/PR-750 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-21T16:49:13.200Z] Merging remotes/origin/master commit 1c2f003b09666c9aca7d142d934c7ec3af9c247b into PR head commit fc417a4a7760e79cd3fb62518c4fb0334d857caa [2021-01-21T16:49:13.480Z] Merge succeeded, producing fc417a4a7760e79cd3fb62518c4fb0334d857caa [2021-01-21T16:49:13.480Z] Checking out Revision fc417a4a7760e79cd3fb62518c4fb0334d857caa (PR-750) [2021-01-21T16:49:13.225Z] > git config core.sparsecheckout # timeout=10 [2021-01-21T16:49:13.275Z] > git checkout -f fc417a4a7760e79cd3fb62518c4fb0334d857caa # timeout=10 [2021-01-21T16:49:13.399Z] > git remote # timeout=10 [2021-01-21T16:49:13.415Z] > git config --get remote.origin.url # timeout=10 [2021-01-21T16:49:13.430Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-21T16:49:13.444Z] > git merge 1c2f003b09666c9aca7d142d934c7ec3af9c247b # timeout=10 [2021-01-21T16:49:13.464Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-21T16:49:13.490Z] > git config core.sparsecheckout # timeout=10 [2021-01-21T16:49:13.506Z] > git checkout -f fc417a4a7760e79cd3fb62518c4fb0334d857caa # timeout=10 [2021-01-21T16:49:17.843Z] Commit message: "fix (device services): Block writes to input table" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2021-01-21T16:49:18.447Z] Removing intermediate container 2258f2bab93e [2021-01-21T16:49:18.447Z] ---> 280ec1c2e4fd [2021-01-21T16:49:18.447Z] Successfully built 280ec1c2e4fd [2021-01-21T16:49:18.447Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-01-21T16:49:19.337Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-01-21T16:49:19.423Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-21T16:49:19.423Z] . [Pipeline] sh [Pipeline] withDockerContainer [2021-01-21T16:49:19.770Z] prd-centos7-docker-4c-2g-21980 does not seem to be running inside a container [2021-01-21T16:49:19.818Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-21T16:49:19.828Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [2021-01-21T16:49:20.474Z] $ docker top 42c3e415ac16baf2774eb848d47bd918f9b898537e38b08a4d3264052caebb26 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-01-21T16:49:21.026Z] + sudo service docker restart [2021-01-21T16:49:21.026Z] + true [2021-01-21T16:49:21.090Z] + go version [2021-01-21T16:49:21.091Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-21T16:49:21.104Z] $ docker stop --time=1 42c3e415ac16baf2774eb848d47bd918f9b898537e38b08a4d3264052caebb26 [2021-01-21T16:49:22.439Z] $ docker rm -f 42c3e415ac16baf2774eb848d47bd918f9b898537e38b08a4d3264052caebb26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-21T16:49:23.230Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-21T16:49:23.230Z] . [Pipeline] withDockerContainer [2021-01-21T16:49:23.322Z] prd-centos7-docker-4c-2g-21980 does not seem to be running inside a container [2021-01-21T16:49:23.369Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-21T16:49:24.039Z] $ docker top 491edb85af46f2f300bfcd0eff42dd97b5ba7c69fa9a002573af5aee8c85f808 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] wrap [2021-01-21T16:49:24.380Z] provisioning config files... [2021-01-21T16:49:24.421Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7086970786172347646tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-21T16:49:24.567Z] + make test [2021-01-21T16:49:24.567Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-21T16:49:24.853Z] ---> docker-login.sh [2021-01-21T16:49:24.853Z] nexus3.edgexfoundry.org:10001 [2021-01-21T16:49:25.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T16:49:26.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T16:49:26.111Z] Configure a credential helper to remove this warning. See [2021-01-21T16:49:26.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T16:49:26.111Z] [2021-01-21T16:49:26.111Z] Login Succeeded [2021-01-21T16:49:26.111Z] nexus3.edgexfoundry.org:10002 [2021-01-21T16:49:26.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T16:49:26.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T16:49:26.664Z] Configure a credential helper to remove this warning. See [2021-01-21T16:49:26.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T16:49:26.664Z] [2021-01-21T16:49:26.664Z] Login Succeeded [2021-01-21T16:49:26.664Z] nexus3.edgexfoundry.org:10003 [2021-01-21T16:49:26.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T16:49:26.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T16:49:26.938Z] Configure a credential helper to remove this warning. See [2021-01-21T16:49:26.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T16:49:26.938Z] [2021-01-21T16:49:26.938Z] Login Succeeded [2021-01-21T16:49:26.938Z] nexus3.edgexfoundry.org:10004 [2021-01-21T16:49:27.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T16:49:27.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T16:49:27.533Z] Configure a credential helper to remove this warning. See [2021-01-21T16:49:27.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T16:49:27.533Z] [2021-01-21T16:49:27.533Z] Login Succeeded [2021-01-21T16:49:27.533Z] docker.io [2021-01-21T16:49:27.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T16:49:28.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T16:49:28.081Z] Configure a credential helper to remove this warning. See [2021-01-21T16:49:28.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T16:49:28.081Z] [2021-01-21T16:49:28.081Z] Login Succeeded [2021-01-21T16:49:28.081Z] ---> docker-login.sh ends [Pipeline] } [2021-01-21T16:49:28.099Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-21T16:49:28.514Z] ========================================================= [2021-01-21T16:49:28.515Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-21T16:49:28.515Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-21T16:49:28.887Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-01-21T16:49:29.160Z] Sending build context to Docker daemon 2.471MB [2021-01-21T16:49:29.435Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-21T16:49:29.435Z] Step 2/8 : FROM ${BASE} [2021-01-21T16:49:29.435Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-21T16:49:29.435Z] 5f621e34cdf4: Pulling fs layer [2021-01-21T16:49:29.435Z] a4357932f1b6: Pulling fs layer [2021-01-21T16:49:29.435Z] 18c013af1878: Pulling fs layer [2021-01-21T16:49:29.435Z] 00ac8860ef70: Pulling fs layer [2021-01-21T16:49:29.435Z] 63d7cb157983: Pulling fs layer [2021-01-21T16:49:29.435Z] b116817d02f9: Pulling fs layer [2021-01-21T16:49:29.435Z] 745a02a5169b: Pulling fs layer [2021-01-21T16:49:29.435Z] 00ac8860ef70: Waiting [2021-01-21T16:49:29.435Z] b116817d02f9: Waiting [2021-01-21T16:49:29.435Z] 745a02a5169b: Waiting [2021-01-21T16:49:29.435Z] 63d7cb157983: Waiting [2021-01-21T16:49:29.435Z] 18c013af1878: Verifying Checksum [2021-01-21T16:49:29.435Z] 18c013af1878: Download complete [2021-01-21T16:49:29.435Z] a4357932f1b6: Verifying Checksum [2021-01-21T16:49:29.435Z] a4357932f1b6: Download complete [2021-01-21T16:49:29.435Z] 63d7cb157983: Verifying Checksum [2021-01-21T16:49:29.435Z] 63d7cb157983: Download complete [2021-01-21T16:49:29.435Z] b116817d02f9: Verifying Checksum [2021-01-21T16:49:29.435Z] b116817d02f9: Download complete [2021-01-21T16:49:29.435Z] 5f621e34cdf4: Verifying Checksum [2021-01-21T16:49:30.036Z] 5f621e34cdf4: Pull complete [2021-01-21T16:49:30.677Z] a4357932f1b6: Pull complete [2021-01-21T16:49:31.225Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-21T16:49:31.296Z] 18c013af1878: Pull complete [2021-01-21T16:49:32.729Z] 745a02a5169b: Verifying Checksum [2021-01-21T16:49:32.729Z] 745a02a5169b: Download complete [2021-01-21T16:49:33.327Z] 00ac8860ef70: Verifying Checksum [2021-01-21T16:49:33.327Z] 00ac8860ef70: Download complete [2021-01-21T16:49:43.480Z] 00ac8860ef70: Pull complete [2021-01-21T16:49:43.480Z] 63d7cb157983: Pull complete [2021-01-21T16:49:43.480Z] b116817d02f9: Pull complete [2021-01-21T16:49:46.094Z] 745a02a5169b: Pull complete [2021-01-21T16:49:46.094Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-21T16:49:46.094Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-21T16:49:46.094Z] ---> b7e6874047d6 [2021-01-21T16:49:46.094Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-21T16:49:46.245Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-21T16:49:46.245Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-21T16:49:46.245Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-21T16:49:46.521Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.069s coverage: 19.4% of statements [2021-01-21T16:49:48.718Z] ---> Running in ec6a269bed1e [2021-01-21T16:49:49.126Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.464s coverage: 97.1% of statements [2021-01-21T16:49:49.315Z] Removing intermediate container ec6a269bed1e [2021-01-21T16:49:49.315Z] ---> ef02d497ef25 [2021-01-21T16:49:49.315Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-21T16:49:49.315Z] ---> Running in f89f83d7956b [2021-01-21T16:49:51.949Z] Removing intermediate container f89f83d7956b [2021-01-21T16:49:51.949Z] ---> 263b2a015242 [2021-01-21T16:49:51.949Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-21T16:49:51.949Z] ---> Running in 8f9eae0f5ef2 [2021-01-21T16:49:52.936Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-21T16:49:53.923Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-21T16:49:55.890Z] OK: 142 MiB in 39 packages [2021-01-21T16:49:56.878Z] Removing intermediate container 8f9eae0f5ef2 [2021-01-21T16:49:56.878Z] ---> 95dc6922ad83 [2021-01-21T16:49:56.878Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-21T16:49:57.151Z] ---> Running in db4bf6365841 [2021-01-21T16:49:57.748Z] Removing intermediate container db4bf6365841 [2021-01-21T16:49:57.748Z] ---> 9c4fbf1d3749 [2021-01-21T16:49:57.748Z] Step 7/8 : COPY . . [2021-01-21T16:49:58.730Z] ---> 46f6522e2a35 [2021-01-21T16:49:58.730Z] Step 8/8 : RUN go mod download [2021-01-21T16:49:59.001Z] ---> Running in d5edfd4e41ef [2021-01-21T16:50:21.151Z] Removing intermediate container d5edfd4e41ef [2021-01-21T16:50:21.151Z] ---> aba1403cc308 [2021-01-21T16:50:21.151Z] Successfully built aba1403cc308 [2021-01-21T16:50:21.151Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-21T16:50:21.303Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.075s coverage: 9.4% of statements [2021-01-21T16:50:21.303Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.045s coverage: 21.7% of statements [2021-01-21T16:50:21.303Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-21T16:50:21.303Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.220s coverage: 43.2% of statements [2021-01-21T16:50:21.304Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-21T16:50:21.304Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.294s coverage: 68.9% of statements [2021-01-21T16:50:21.304Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-21T16:50:21.304Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-21T16:50:21.304Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-21T16:50:21.304Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-21T16:50:21.304Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.067s coverage: 53.8% of statements [2021-01-21T16:50:21.304Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-21T16:50:21.304Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-21T16:50:21.304Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.069s coverage: 26.8% of statements [2021-01-21T16:50:21.304Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.379s coverage: 83.5% of statements [2021-01-21T16:50:21.304Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 4.2% of statements [2021-01-21T16:50:21.304Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-21T16:50:21.304Z] GO111MODULE=on go vet ./... [2021-01-21T16:50:21.495Z] + docker inspect -f . ci-base-image-arm64 [2021-01-21T16:50:21.495Z] . [Pipeline] withDockerContainer [2021-01-21T16:50:21.759Z] prd-ubuntu18.04-docker-arm64-4c-16g-21979 does not seem to be running inside a container [2021-01-21T16:50:21.862Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-21T16:50:23.549Z] $ docker top 68930903272ef378105d6674988dbdfbfe78877c56794a444c417c7952144718 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-21T16:50:24.621Z] + go version [2021-01-21T16:50:24.621Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-21T16:50:24.648Z] $ docker stop --time=1 68930903272ef378105d6674988dbdfbfe78877c56794a444c417c7952144718 [2021-01-21T16:50:26.716Z] $ docker rm -f 68930903272ef378105d6674988dbdfbfe78877c56794a444c417c7952144718 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-21T16:50:27.775Z] + docker inspect -f . ci-base-image-arm64 [2021-01-21T16:50:27.775Z] . [Pipeline] withDockerContainer [2021-01-21T16:50:27.994Z] gofmt -l . [2021-01-21T16:50:28.061Z] prd-ubuntu18.04-docker-arm64-4c-16g-21979 does not seem to be running inside a container [2021-01-21T16:50:28.153Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-21T16:50:28.256Z] [ "`gofmt -l .`" = "" ] [2021-01-21T16:50:28.256Z] ./bin/test-attribution-txt.sh [2021-01-21T16:50:29.203Z] ./bin/test-go-mod-tidy.sh [2021-01-21T16:50:29.833Z] $ docker top 624efa67aa4292a54780efaeee7cbcd9f5f762774e5a548dbdbced21b9b6b942 -eo pid,comm [Pipeline] { [Pipeline] } [2021-01-21T16:50:30.256Z] $ docker stop --time=1 491edb85af46f2f300bfcd0eff42dd97b5ba7c69fa9a002573af5aee8c85f808 [2021-01-21T16:50:32.298Z] $ docker rm -f 491edb85af46f2f300bfcd0eff42dd97b5ba7c69fa9a002573af5aee8c85f808 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2021-01-21T16:50:32.909Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-21T16:50:33.341Z] + make test [2021-01-21T16:50:33.341Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-21T16:50:33.371Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-21T16:50:35.843Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-21T16:50:36.144Z] + ls -al . [2021-01-21T16:50:36.144Z] total 216 [2021-01-21T16:50:36.144Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 21 16:50 . [2021-01-21T16:50:36.144Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 21 16:48 .. [2021-01-21T16:50:36.144Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 21 16:48 bin [2021-01-21T16:50:36.144Z] -rw-r--r--. 1 jenkins jenkins 136842 Jan 21 16:50 coverage.out [2021-01-21T16:50:36.144Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 21 16:48 Dockerfile.build [2021-01-21T16:50:36.144Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 21 16:48 .dockerignore [2021-01-21T16:50:36.144Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 21 16:48 example [2021-01-21T16:50:36.144Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 21 16:48 .git [2021-01-21T16:50:36.144Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 21 16:48 .github [2021-01-21T16:50:36.144Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 21 16:48 .gitignore [2021-01-21T16:50:36.144Z] -rw-r--r--. 1 jenkins jenkins 491 Jan 21 16:50 go.mod [2021-01-21T16:50:36.144Z] -rw-r--r--. 1 jenkins jenkins 14124 Jan 21 16:50 go.sum [2021-01-21T16:50:36.144Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 21 16:48 internal [2021-01-21T16:50:36.144Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 21 16:48 Jenkinsfile [2021-01-21T16:50:36.144Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 21 16:48 LICENSE [2021-01-21T16:50:36.144Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 21 16:48 Makefile [2021-01-21T16:50:36.144Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 21 16:48 openapi [2021-01-21T16:50:36.144Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 21 16:48 pkg [2021-01-21T16:50:36.144Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 21 16:48 README.md [2021-01-21T16:50:36.144Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 21 16:48 RELEASE-NOTES.txt [2021-01-21T16:50:36.144Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 21 16:48 snap [2021-01-21T16:50:36.144Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 21 16:46 VERSION [2021-01-21T16:50:36.144Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 21 16:48 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-21T16:50:36.453Z] + 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=fc417a4a7760e79cd3fb62518c4fb0334d857caa --label arch=amd64 --label version=0.0.0 . [2021-01-21T16:50:36.720Z] Sending build context to Docker daemon 2.612MB [2021-01-21T16:50:36.720Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-21T16:50:36.720Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-21T16:50:36.720Z] ---> 280ec1c2e4fd [2021-01-21T16:50:36.720Z] Step 3/24 : ARG MAKE='make build' [2021-01-21T16:50:37.295Z] ---> Running in d5f5afb21bf9 [2021-01-21T16:50:37.558Z] Removing intermediate container d5f5afb21bf9 [2021-01-21T16:50:37.558Z] ---> c00f82de674b [2021-01-21T16:50:37.559Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-21T16:50:37.559Z] ---> Running in 78333db56847 [2021-01-21T16:50:37.821Z] Removing intermediate container 78333db56847 [2021-01-21T16:50:37.821Z] ---> 4c3466867c19 [2021-01-21T16:50:37.822Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-21T16:50:37.822Z] ---> Running in c3867ae140d6 [2021-01-21T16:50:37.822Z] Removing intermediate container c3867ae140d6 [2021-01-21T16:50:37.822Z] ---> 7d8c5506497d [2021-01-21T16:50:37.822Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-21T16:50:38.086Z] ---> Running in df473e8f85d3 [2021-01-21T16:50:39.041Z] Removing intermediate container df473e8f85d3 [2021-01-21T16:50:39.041Z] ---> cc8f83c3573e [2021-01-21T16:50:39.041Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-21T16:50:39.041Z] ---> Running in 83b16d01e8cc [2021-01-21T16:50:39.620Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-21T16:50:40.576Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-21T16:50:41.523Z] OK: 166 MiB in 39 packages [2021-01-21T16:50:42.099Z] Removing intermediate container 83b16d01e8cc [2021-01-21T16:50:42.099Z] ---> 4bd38e7d353d [2021-01-21T16:50:42.099Z] Step 8/24 : COPY . . [2021-01-21T16:50:43.049Z] ---> 5a4541ff6e4b [2021-01-21T16:50:43.049Z] Step 9/24 : RUN ${MAKE} [2021-01-21T16:50:43.049Z] ---> Running in 668cd468178c [2021-01-21T16:50:43.626Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-21T16:50:53.716Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-21T16:50:54.291Z] Removing intermediate container 668cd468178c [2021-01-21T16:50:54.291Z] ---> 47ac4b5bffd0 [2021-01-21T16:50:54.291Z] Step 10/24 : FROM scratch [2021-01-21T16:50:54.291Z] ---> [2021-01-21T16:50:54.291Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-21T16:50:54.291Z] ---> Running in a1a4ea1b5829 [2021-01-21T16:50:54.291Z] Removing intermediate container a1a4ea1b5829 [2021-01-21T16:50:54.291Z] ---> 897ed99aade7 [2021-01-21T16:50:54.291Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-21T16:50:54.555Z] ---> Running in a62c328c3e42 [2021-01-21T16:50:54.555Z] Removing intermediate container a62c328c3e42 [2021-01-21T16:50:54.555Z] ---> f52ec753573a [2021-01-21T16:50:54.555Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-21T16:50:54.555Z] ---> Running in f5d96142bb19 [2021-01-21T16:50:54.817Z] Removing intermediate container f5d96142bb19 [2021-01-21T16:50:54.817Z] ---> edde3b6831bc [2021-01-21T16:50:54.817Z] Step 14/24 : WORKDIR / [2021-01-21T16:50:54.817Z] ---> Running in 31822593033a [2021-01-21T16:50:55.079Z] Removing intermediate container 31822593033a [2021-01-21T16:50:55.079Z] ---> 1effdc8bb711 [2021-01-21T16:50:55.079Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-21T16:50:55.349Z] ---> 2b42de269177 [2021-01-21T16:50:55.349Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-21T16:50:55.616Z] ---> 70fa94e87705 [2021-01-21T16:50:55.616Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-21T16:50:55.878Z] ---> 8e84b39c32bd [2021-01-21T16:50:55.878Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-21T16:50:56.142Z] ---> 5bdef655adfa [2021-01-21T16:50:56.142Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-21T16:50:56.405Z] ---> daf20748a296 [2021-01-21T16:50:56.405Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-21T16:50:56.405Z] ---> Running in 85acab6ca64b [2021-01-21T16:50:56.667Z] Removing intermediate container 85acab6ca64b [2021-01-21T16:50:56.667Z] ---> 6bdb2abc8227 [2021-01-21T16:50:56.667Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-21T16:50:56.667Z] ---> Running in a948387732a5 [2021-01-21T16:50:56.933Z] Removing intermediate container a948387732a5 [2021-01-21T16:50:56.933Z] ---> 8f8f35868d70 [2021-01-21T16:50:56.933Z] Step 22/24 : LABEL arch=amd64 [2021-01-21T16:50:56.933Z] ---> Running in 93da8a8c5426 [2021-01-21T16:50:57.201Z] Removing intermediate container 93da8a8c5426 [2021-01-21T16:50:57.201Z] ---> 4a93c31537cb [2021-01-21T16:50:57.201Z] Step 23/24 : LABEL git_sha=fc417a4a7760e79cd3fb62518c4fb0334d857caa [2021-01-21T16:50:57.201Z] ---> Running in 8b391e021ecb [2021-01-21T16:50:57.466Z] Removing intermediate container 8b391e021ecb [2021-01-21T16:50:57.466Z] ---> a4c3f37fdee8 [2021-01-21T16:50:57.466Z] Step 24/24 : LABEL version=0.0.0 [2021-01-21T16:50:57.466Z] ---> Running in c397f3b751a4 [2021-01-21T16:50:57.466Z] Removing intermediate container c397f3b751a4 [2021-01-21T16:50:57.466Z] ---> 61f9b0fb78e4 [2021-01-21T16:50:57.466Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-21T16:50:57.466Z] Successfully built 61f9b0fb78e4 [2021-01-21T16:50:57.466Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-21T16:51:00.163Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-21T16:51:47.219Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-21T16:51:47.219Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-21T16:51:47.219Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-21T16:51:47.219Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.148s coverage: 19.4% of statements [2021-01-21T16:51:52.651Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.221s coverage: 97.1% of statements [2021-01-21T16:52:14.814Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.120s coverage: 9.4% of statements [2021-01-21T16:52:14.814Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.150s coverage: 21.7% of statements [2021-01-21T16:52:14.814Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-21T16:52:14.814Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.560s coverage: 43.2% of statements [2021-01-21T16:52:14.814Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-21T16:52:14.814Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.760s coverage: 68.9% of statements [2021-01-21T16:52:14.814Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-21T16:52:14.814Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-21T16:52:14.814Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-21T16:52:14.814Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-21T16:52:14.814Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.176s coverage: 53.8% of statements [2021-01-21T16:52:14.814Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-21T16:52:14.814Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-21T16:52:14.814Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.187s coverage: 26.8% of statements [2021-01-21T16:52:14.814Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.925s coverage: 83.5% of statements [2021-01-21T16:52:14.814Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 4.2% of statements [2021-01-21T16:52:14.814Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-21T16:52:14.814Z] GO111MODULE=on go vet ./... [2021-01-21T16:52:47.478Z] gofmt -l . [2021-01-21T16:52:47.478Z] [ "`gofmt -l .`" = "" ] [2021-01-21T16:52:47.478Z] ./bin/test-attribution-txt.sh [2021-01-21T16:52:48.073Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-21T16:52:48.691Z] $ docker stop --time=1 624efa67aa4292a54780efaeee7cbcd9f5f762774e5a548dbdbced21b9b6b942 [2021-01-21T16:52:50.901Z] $ docker rm -f 624efa67aa4292a54780efaeee7cbcd9f5f762774e5a548dbdbced21b9b6b942 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-21T16:52:51.969Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-21T16:52:51.990Z] Warning: overwriting stash ‘coverage-report’ [2021-01-21T16:52:52.909Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-21T16:52:53.890Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-21T16:52:54.224Z] + ls -al . [2021-01-21T16:52:54.224Z] total 252 [2021-01-21T16:52:54.224Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 21 16:52 . [2021-01-21T16:52:54.224Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 21 16:49 .. [2021-01-21T16:52:54.224Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 21 16:49 .dockerignore [2021-01-21T16:52:54.224Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 21 16:49 .git [2021-01-21T16:52:54.224Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 21 16:49 .github [2021-01-21T16:52:54.224Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 21 16:49 .gitignore [2021-01-21T16:52:54.224Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 21 16:49 Dockerfile.build [2021-01-21T16:52:54.224Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 21 16:49 Jenkinsfile [2021-01-21T16:52:54.224Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 21 16:49 LICENSE [2021-01-21T16:52:54.224Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 21 16:49 Makefile [2021-01-21T16:52:54.224Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 21 16:49 README.md [2021-01-21T16:52:54.224Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 21 16:49 RELEASE-NOTES.txt [2021-01-21T16:52:54.224Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 21 16:46 VERSION [2021-01-21T16:52:54.224Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 21 16:49 bin [2021-01-21T16:52:54.224Z] -rw-r--r-- 1 jenkins jenkins 136842 Jan 21 16:52 coverage.out [2021-01-21T16:52:54.224Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 21 16:49 example [2021-01-21T16:52:54.224Z] -rw-r--r-- 1 jenkins jenkins 491 Jan 21 16:52 go.mod [2021-01-21T16:52:54.224Z] -rw-r--r-- 1 jenkins jenkins 14124 Jan 21 16:52 go.sum [2021-01-21T16:52:54.224Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 21 16:49 internal [2021-01-21T16:52:54.224Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 21 16:49 openapi [2021-01-21T16:52:54.224Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 21 16:49 pkg [2021-01-21T16:52:54.224Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 21 16:49 snap [2021-01-21T16:52:54.224Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 21 16:49 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-21T16:52:54.569Z] + 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=fc417a4a7760e79cd3fb62518c4fb0334d857caa --label arch=arm64 --label version=0.0.0 . [2021-01-21T16:52:54.842Z] Sending build context to Docker daemon 2.609MB [2021-01-21T16:52:55.115Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-21T16:52:55.115Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-21T16:52:55.115Z] ---> aba1403cc308 [2021-01-21T16:52:55.115Z] Step 3/24 : ARG MAKE='make build' [2021-01-21T16:52:55.390Z] ---> Running in ce7c9245d241 [2021-01-21T16:52:55.672Z] Removing intermediate container ce7c9245d241 [2021-01-21T16:52:55.672Z] ---> f1ff911830e1 [2021-01-21T16:52:55.672Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-21T16:52:55.945Z] ---> Running in 6a3790b5a7d2 [2021-01-21T16:52:56.542Z] Removing intermediate container 6a3790b5a7d2 [2021-01-21T16:52:56.542Z] ---> 9f0b390f066b [2021-01-21T16:52:56.542Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-21T16:52:56.542Z] ---> Running in 906aacd7728f [2021-01-21T16:52:57.137Z] Removing intermediate container 906aacd7728f [2021-01-21T16:52:57.137Z] ---> 35a1cd50f424 [2021-01-21T16:52:57.137Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-21T16:52:57.137Z] ---> Running in 2a1ceb405434 [2021-01-21T16:52:59.132Z] Removing intermediate container 2a1ceb405434 [2021-01-21T16:52:59.132Z] ---> d58240f88cf6 [2021-01-21T16:52:59.132Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-21T16:52:59.407Z] ---> Running in 7ffc5233fcaa [2021-01-21T16:53:00.399Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-21T16:53:01.377Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-21T16:53:02.809Z] OK: 142 MiB in 39 packages [2021-01-21T16:53:04.249Z] Removing intermediate container 7ffc5233fcaa [2021-01-21T16:53:04.249Z] ---> 7cbe5fceff74 [2021-01-21T16:53:04.249Z] Step 8/24 : COPY . . [2021-01-21T16:53:05.226Z] ---> 885639b79400 [2021-01-21T16:53:05.226Z] Step 9/24 : RUN ${MAKE} [2021-01-21T16:53:05.499Z] ---> Running in 36f3d436b22d [2021-01-21T16:53:06.934Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-21T16:53:33.793Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-21T16:53:37.188Z] Removing intermediate container 36f3d436b22d [2021-01-21T16:53:37.188Z] ---> ff3bae97cff8 [2021-01-21T16:53:37.188Z] Step 10/24 : FROM scratch [2021-01-21T16:53:37.188Z] ---> [2021-01-21T16:53:37.188Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-21T16:53:37.188Z] ---> Running in b898eed74062 [2021-01-21T16:53:37.461Z] Removing intermediate container b898eed74062 [2021-01-21T16:53:37.461Z] ---> d357799434cf [2021-01-21T16:53:37.461Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-21T16:53:37.735Z] ---> Running in 3cff9f24ff01 [2021-01-21T16:53:38.010Z] Removing intermediate container 3cff9f24ff01 [2021-01-21T16:53:38.010Z] ---> d54b89a27c31 [2021-01-21T16:53:38.010Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-21T16:53:38.285Z] ---> Running in 54ec87575d06 [2021-01-21T16:53:38.883Z] Removing intermediate container 54ec87575d06 [2021-01-21T16:53:38.883Z] ---> 17b78653ee0d [2021-01-21T16:53:38.883Z] Step 14/24 : WORKDIR / [2021-01-21T16:53:38.883Z] ---> Running in a3c7db46c652 [2021-01-21T16:53:39.480Z] Removing intermediate container a3c7db46c652 [2021-01-21T16:53:39.480Z] ---> 72f0f66a67ab [2021-01-21T16:53:39.480Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-21T16:53:40.462Z] ---> fca33a97d7bb [2021-01-21T16:53:40.462Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-21T16:53:41.067Z] ---> 368830833620 [2021-01-21T16:53:41.067Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-21T16:53:42.051Z] ---> 8ba995429799 [2021-01-21T16:53:42.051Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-21T16:53:42.655Z] ---> 39aa5378fa02 [2021-01-21T16:53:42.655Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-21T16:53:43.635Z] ---> 6dae67354e4b [2021-01-21T16:53:43.636Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-21T16:53:43.636Z] ---> Running in 3e53072ac690 [2021-01-21T16:53:44.235Z] Removing intermediate container 3e53072ac690 [2021-01-21T16:53:44.235Z] ---> 2f2c08a4e1cb [2021-01-21T16:53:44.235Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-21T16:53:44.235Z] ---> Running in 5eee7271de4d [2021-01-21T16:53:44.837Z] Removing intermediate container 5eee7271de4d [2021-01-21T16:53:44.837Z] ---> 6a93697f5d58 [2021-01-21T16:53:44.837Z] Step 22/24 : LABEL arch=arm64 [2021-01-21T16:53:45.112Z] ---> Running in 9655704c8e4b [2021-01-21T16:53:45.712Z] Removing intermediate container 9655704c8e4b [2021-01-21T16:53:45.712Z] ---> dd841ee0e69a [2021-01-21T16:53:45.712Z] Step 23/24 : LABEL git_sha=fc417a4a7760e79cd3fb62518c4fb0334d857caa [2021-01-21T16:53:45.712Z] ---> Running in 2f8a349ddd9a [2021-01-21T16:53:46.314Z] Removing intermediate container 2f8a349ddd9a [2021-01-21T16:53:46.314Z] ---> 28882597185e [2021-01-21T16:53:46.314Z] Step 24/24 : LABEL version=0.0.0 [2021-01-21T16:53:46.590Z] ---> Running in f95197c138fa [2021-01-21T16:53:47.187Z] Removing intermediate container f95197c138fa [2021-01-21T16:53:47.187Z] ---> b58224eda6d5 [2021-01-21T16:53:47.187Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-21T16:53:47.187Z] Successfully built b58224eda6d5 [2021-01-21T16:53:47.187Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-21T16:53:49.163Z] provisioning config files... [2021-01-21T16:53:49.184Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/config8782564034653908875tmp [Pipeline] { [Pipeline] sh [2021-01-21T16:53:49.671Z] + set +x [2021-01-21T16:53:49.671Z] + curl -s https://codecov.io/bash [2021-01-21T16:53:49.671Z] + bash -s -- [2021-01-21T16:53:49.977Z] [2021-01-21T16:53:49.977Z] _____ _ [2021-01-21T16:53:49.977Z] / ____| | | [2021-01-21T16:53:49.977Z] | | ___ __| | ___ ___ _____ __ [2021-01-21T16:53:49.977Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-21T16:53:49.977Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-21T16:53:49.977Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-21T16:53:49.977Z] Bash-20210115-cec3c92 [2021-01-21T16:53:49.977Z] [2021-01-21T16:53:49.977Z] [2021-01-21T16:53:49.977Z] ==> git version 2.24.3 found [2021-01-21T16:53:49.977Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-01-21T16:53:49.977Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-21T16:53:49.977Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-21T16:53:49.977Z] ==> Jenkins CI detected. [2021-01-21T16:53:49.977Z] project root: . [2021-01-21T16:53:49.977Z] --> token set from env [2021-01-21T16:53:49.977Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-21T16:53:50.283Z] ==> Running gcov in . (disable via -X gcov) [2021-01-21T16:53:50.283Z] ==> Python coveragepy not found [2021-01-21T16:53:50.283Z] ==> Searching for coverage reports in: [2021-01-21T16:53:50.283Z] + . [2021-01-21T16:53:50.283Z] -> Found 1 reports [2021-01-21T16:53:50.283Z] ==> Detecting git/mercurial file structure [2021-01-21T16:53:50.283Z] ==> Reading reports [2021-01-21T16:53:50.283Z] + ./coverage.out bytes=136842 [2021-01-21T16:53:50.283Z] ==> Appending adjustments [2021-01-21T16:53:50.283Z] https://docs.codecov.io/docs/fixing-reports [2021-01-21T16:53:51.271Z] + Found adjustments [2021-01-21T16:53:51.271Z] ==> Gzipping contents [2021-01-21T16:53:51.271Z] 24K /tmp/codecov.bM4Ze0.gz [2021-01-21T16:53:51.271Z] ==> Uploading reports [2021-01-21T16:53:51.271Z] url: https://codecov.io [2021-01-21T16:53:51.271Z] query: branch=PR-750&commit=fc417a4a7760e79cd3fb62518c4fb0334d857caa&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-750%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=750&job=&cmd_args= [2021-01-21T16:53:51.271Z] -> Pinging Codecov [2021-01-21T16:53:51.271Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-750&commit=fc417a4a7760e79cd3fb62518c4fb0334d857caa&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-750%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=750&job=&cmd_args= [2021-01-21T16:53:51.874Z] -> Uploading to [2021-01-21T16:53:51.874Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-21/7E55EF52A471D76F132DFD9A03CDDE97/fc417a4a7760e79cd3fb62518c4fb0334d857caa/90587502-8b7d-4ea1-9667-7743c296454d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210121%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210121T165351Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bcceec4157418e7eea6c1757c379501559da634d8d12184508dc3233e8c23528 [2021-01-21T16:53:51.874Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-21T16:53:51.874Z] Dload Upload Total Spent Left Speed [2021-01-21T16:53:52.144Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21538 0 0 100 21538 0 38596 --:--:-- --:--:-- --:--:-- 38598 100 21538 0 0 100 21538 0 38580 --:--:-- --:--:-- --:--:-- 38598 [2021-01-21T16:53:52.144Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/fc417a4a7760e79cd3fb62518c4fb0334d857caa [Pipeline] } [2021-01-21T16:53:52.157Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-21T16:53:54.777Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-21T16:53:55.402Z] ---> package-listing.sh [2021-01-21T16:53:55.402Z] ++ facter osfamily [2021-01-21T16:53:55.402Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-21T16:53:55.669Z] + OS_FAMILY=redhat [2021-01-21T16:53:55.669Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-750 [2021-01-21T16:53:55.669Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-21T16:53:55.669Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-21T16:53:55.669Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-21T16:53:55.669Z] + PACKAGES=/tmp/packages_start.txt [2021-01-21T16:53:55.669Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-750 ']' [2021-01-21T16:53:55.669Z] + PACKAGES=/tmp/packages_end.txt [2021-01-21T16:53:55.669Z] + case "${OS_FAMILY}" in [2021-01-21T16:53:55.669Z] + sort [2021-01-21T16:53:55.669Z] + rpm -qa [2021-01-21T16:54:02.590Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-21T16:54:02.590Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-21T16:54:02.590Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-21T16:54:02.590Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-750 ']' [2021-01-21T16:54:02.590Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-750/archives/ [2021-01-21T16:54:02.590Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-750/archives/ [Pipeline] echo [2021-01-21T16:54:02.649Z] 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-750/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-21T16:54:03.160Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-21T16:54:03.865Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-21T16:54:04.692Z] [2021-01-21T16:54:04.692Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-21T16:54:05.094Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-21T16:54:05.410Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-21T16:54:05.410Z] df20fa9351a1: Pulling fs layer [2021-01-21T16:54:05.410Z] 36b3adc4ff6f: Pulling fs layer [2021-01-21T16:54:05.410Z] 8ad3a11d3b57: Pulling fs layer [2021-01-21T16:54:05.410Z] 46f8f816bc3b: Pulling fs layer [2021-01-21T16:54:05.410Z] 93b61091891f: Pulling fs layer [2021-01-21T16:54:05.410Z] 93b9cdb0e59b: Pulling fs layer [2021-01-21T16:54:05.410Z] 5e14af77c1be: Pulling fs layer [2021-01-21T16:54:05.410Z] 01666e4c0597: Pulling fs layer [2021-01-21T16:54:05.410Z] aa168da1d23b: Pulling fs layer [2021-01-21T16:54:05.410Z] 46f8f816bc3b: Waiting [2021-01-21T16:54:05.410Z] 93b61091891f: Waiting [2021-01-21T16:54:05.410Z] 93b9cdb0e59b: Waiting [2021-01-21T16:54:05.410Z] 5e14af77c1be: Waiting [2021-01-21T16:54:05.410Z] 01666e4c0597: Waiting [2021-01-21T16:54:05.410Z] aa168da1d23b: Waiting [2021-01-21T16:54:05.410Z] 36b3adc4ff6f: Verifying Checksum [2021-01-21T16:54:05.410Z] 36b3adc4ff6f: Download complete [2021-01-21T16:54:05.410Z] 46f8f816bc3b: Verifying Checksum [2021-01-21T16:54:05.410Z] 46f8f816bc3b: Download complete [2021-01-21T16:54:05.755Z] df20fa9351a1: Verifying Checksum [2021-01-21T16:54:05.755Z] df20fa9351a1: Download complete [2021-01-21T16:54:05.755Z] 93b9cdb0e59b: Verifying Checksum [2021-01-21T16:54:05.755Z] 93b9cdb0e59b: Download complete [2021-01-21T16:54:05.755Z] 5e14af77c1be: Verifying Checksum [2021-01-21T16:54:05.755Z] 5e14af77c1be: Download complete [2021-01-21T16:54:05.755Z] 01666e4c0597: Download complete [2021-01-21T16:54:06.055Z] 93b61091891f: Verifying Checksum [2021-01-21T16:54:06.055Z] 93b61091891f: Download complete [2021-01-21T16:54:06.734Z] df20fa9351a1: Pull complete [2021-01-21T16:54:07.141Z] 8ad3a11d3b57: Verifying Checksum [2021-01-21T16:54:07.141Z] 8ad3a11d3b57: Download complete [2021-01-21T16:54:07.141Z] 36b3adc4ff6f: Pull complete [2021-01-21T16:54:08.864Z] 8ad3a11d3b57: Pull complete [2021-01-21T16:54:09.206Z] 46f8f816bc3b: Pull complete [2021-01-21T16:54:10.095Z] 93b61091891f: Pull complete [2021-01-21T16:54:10.765Z] 93b9cdb0e59b: Pull complete [2021-01-21T16:54:11.052Z] 5e14af77c1be: Pull complete [2021-01-21T16:54:11.350Z] 01666e4c0597: Pull complete [2021-01-21T16:54:13.353Z] aa168da1d23b: Verifying Checksum [2021-01-21T16:54:13.353Z] aa168da1d23b: Download complete [2021-01-21T16:54:28.613Z] aa168da1d23b: Pull complete [2021-01-21T16:54:28.613Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-21T16:54:28.613Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-21T16:54:28.613Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-21T16:54:28.914Z] prd-centos7-docker-4c-2g-21978 does not seem to be running inside a container [2021-01-21T16:54:28.986Z] $ 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-750/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-750 -v /w/workspace/dgexfoundry_device-sdk-go_PR-750:/w/workspace/dgexfoundry_device-sdk-go_PR-750:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-750@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-21T16:54:33.351Z] $ docker top 33c2ac1e066a0077deb561fd86050990cfb3b8833eea9e1ffafea864c95ac757 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-21T16:54:34.057Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-21T16:54:34.764Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-21T16:54:35.447Z] + ls /var/log/sa-host [2021-01-21T16:54:35.447Z] + sadf -c /var/log/sa-host/sa21 [2021-01-21T16:54:35.447Z] file_magic: OK [2021-01-21T16:54:35.447Z] HZ: Using current value: 100 [2021-01-21T16:54:35.447Z] file_header: OK [2021-01-21T16:54:35.447Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-21T16:54:35.447Z] Statistics: [2021-01-21T16:54:35.447Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-21T16:54:35.447Z] File successfully converted to sysstat format version 12.2.1 [2021-01-21T16:54:35.447Z] + sadf -c /var/log/sa-host/sa23 [2021-01-21T16:54:35.447Z] file_magic: OK [2021-01-21T16:54:35.447Z] HZ: Using current value: 100 [2021-01-21T16:54:35.447Z] file_header: OK [2021-01-21T16:54:35.447Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-21T16:54:35.447Z] Statistics: [2021-01-21T16:54:35.447Z] Hnuu...uuuununununu... [2021-01-21T16:54:35.447Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-21T16:54:36.152Z] provisioning config files... [2021-01-21T16:54:36.180Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/config1299961548683430813tmp [Pipeline] { [Pipeline] echo [2021-01-21T16:54:36.245Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-21T16:54:36.605Z] ---> create-netrc.sh [Pipeline] } [2021-01-21T16:54:36.926Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-21T16:54:37.031Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-21T16:54:37.390Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-21T16:54:37.393Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-21T16:54:38.072Z] ---> sudo-logs.sh [2021-01-21T16:54:38.072Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-21T16:54:38.094Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-21T16:54:38.761Z] ---> job-cost.sh [2021-01-21T16:54:38.762Z] lf-activate-venv: SKIPPING [2021-01-21T16:54:38.762Z] INFO: No Stack... [2021-01-21T16:54:39.766Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-21T16:54:40.367Z] INFO: Archiving Costs [Pipeline] echo [2021-01-21T16:54:40.397Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-21T16:54:41.099Z] ---> logs-deploy.sh [2021-01-21T16:54:41.099Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-750/2 [2021-01-21T16:54:41.099Z] INFO: archiving workspace using pattern(s): [2021-01-21T16:54:43.794Z] Archives upload complete. [2021-01-21T16:54:44.064Z] INFO: archiving logs to Nexus [2021-01-21T16:54:45.512Z] ---> uname -a: [2021-01-21T16:54:45.512Z] Linux prd-centos7-docker-4c-2g-21978.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-01-21T16:54:45.512Z] [2021-01-21T16:54:45.512Z] [2021-01-21T16:54:45.512Z] ---> lscpu: [2021-01-21T16:54:45.512Z] Architecture: x86_64 [2021-01-21T16:54:45.512Z] CPU op-mode(s): 32-bit, 64-bit [2021-01-21T16:54:45.512Z] Byte Order: Little Endian [2021-01-21T16:54:45.512Z] Address sizes: 40 bits physical, 48 bits virtual [2021-01-21T16:54:45.512Z] CPU(s): 4 [2021-01-21T16:54:45.512Z] On-line CPU(s) list: 0-3 [2021-01-21T16:54:45.512Z] Thread(s) per core: 1 [2021-01-21T16:54:45.512Z] Core(s) per socket: 1 [2021-01-21T16:54:45.512Z] Socket(s): 4 [2021-01-21T16:54:45.512Z] NUMA node(s): 1 [2021-01-21T16:54:45.512Z] Vendor ID: GenuineIntel [2021-01-21T16:54:45.512Z] CPU family: 6 [2021-01-21T16:54:45.512Z] Model: 44 [2021-01-21T16:54:45.512Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-01-21T16:54:45.512Z] Stepping: 1 [2021-01-21T16:54:45.512Z] CPU MHz: 2933.438 [2021-01-21T16:54:45.512Z] BogoMIPS: 5866.87 [2021-01-21T16:54:45.512Z] Virtualization: VT-x [2021-01-21T16:54:45.512Z] Hypervisor vendor: KVM [2021-01-21T16:54:45.512Z] Virtualization type: full [2021-01-21T16:54:45.512Z] L1d cache: 128 KiB [2021-01-21T16:54:45.512Z] L1i cache: 128 KiB [2021-01-21T16:54:45.512Z] L2 cache: 16 MiB [2021-01-21T16:54:45.512Z] L3 cache: 64 MiB [2021-01-21T16:54:45.512Z] NUMA node0 CPU(s): 0-3 [2021-01-21T16:54:45.512Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-01-21T16:54:45.512Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-01-21T16:54:45.512Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-01-21T16:54:45.512Z] Vulnerability Meltdown: Mitigation; PTI [2021-01-21T16:54:45.512Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-01-21T16:54:45.512Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-01-21T16:54:45.512Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-01-21T16:54:45.512Z] Vulnerability Srbds: Not affected [2021-01-21T16:54:45.512Z] Vulnerability Tsx async abort: Not affected [2021-01-21T16:54:45.512Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-01-21T16:54:45.512Z] [2021-01-21T16:54:45.512Z] [2021-01-21T16:54:45.512Z] ---> nproc: [2021-01-21T16:54:45.512Z] 4 [2021-01-21T16:54:45.512Z] [2021-01-21T16:54:45.512Z] [2021-01-21T16:54:45.512Z] ---> df -h: [2021-01-21T16:54:45.512Z] Filesystem Size Used Available Use% Mounted on [2021-01-21T16:54:45.512Z] overlay 50.0G 7.3G 42.7G 15% / [2021-01-21T16:54:45.512Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-01-21T16:54:45.512Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-01-21T16:54:45.512Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-01-21T16:54:45.512Z] /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os [2021-01-21T16:54:45.512Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf [2021-01-21T16:54:45.512Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname [2021-01-21T16:54:45.512Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts [2021-01-21T16:54:45.512Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log [2021-01-21T16:54:45.512Z] /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json [2021-01-21T16:54:45.512Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-750 [2021-01-21T16:54:45.512Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp [2021-01-21T16:54:45.512Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host [2021-01-21T16:54:45.512Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure [2021-01-21T16:54:45.512Z] [2021-01-21T16:54:45.512Z] [2021-01-21T16:54:45.512Z] ---> free -m: [2021-01-21T16:54:45.512Z] total used free shared buff/cache available [2021-01-21T16:54:45.512Z] Mem: 1837 719 80 0 1037 1013 [2021-01-21T16:54:45.512Z] Swap: 1023 0 1023 [2021-01-21T16:54:45.512Z] [2021-01-21T16:54:45.512Z]