Pull request #746 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 85d163331c1d3a26042463e63600e55946f7f2d2+1c2f003b09666c9aca7d142d934c7ec3af9c247b (46c2c3341be243ab2ae663c6f2efaec0ed2df1fd) 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-21891 in /w/workspace/dgexfoundry_device-sdk-go_PR-746 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-746 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/746/head:refs/remotes/origin/PR-746 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 1c2f003b09666c9aca7d142d934c7ec3af9c247b into PR head commit 85d163331c1d3a26042463e63600e55946f7f2d2 Merge succeeded, producing 85d163331c1d3a26042463e63600e55946f7f2d2 Checking out Revision 85d163331c1d3a26042463e63600e55946f7f2d2 (PR-746) > git config core.sparsecheckout # timeout=10 > git checkout -f 85d163331c1d3a26042463e63600e55946f7f2d2 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1c2f003b09666c9aca7d142d934c7ec3af9c247b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 85d163331c1d3a26042463e63600e55946f7f2d2 # timeout=10 Commit message: "refactor: refactor autoevent package for v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-21T08:37:40.909Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk e869826568a3ef92961d02a1aadb5b263d2aa395 # timeout=10 [2021-01-21T08:37:41.204Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-21T08:37:41.316Z] ========================================================= [2021-01-21T08:37:41.317Z] EdgeX Global Pipelines Version Info [2021-01-21T08:37:41.317Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-21T08:37:42.792Z] ------------------- [2021-01-21T08:37:42.792Z] stable info: [2021-01-21T08:37:42.792Z] ------------------- [2021-01-21T08:37:42.792Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-21T08:37:42.792Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-21T08:37:42.792Z] Message: update stable to v1.0.179 [2021-01-21T08:37:43.738Z] ------------------- [2021-01-21T08:37:43.738Z] experimental info: [2021-01-21T08:37:43.738Z] ------------------- [2021-01-21T08:37:43.738Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-21T08:37:43.738Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-21T08:37:43.738Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-21T08:37:44.037Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-21T08:37:44.140Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-21T08:37:44.249Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-21T08:37:44.351Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-21T08:37:44.452Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-21T08:37:44.570Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-21T08:37:44.669Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-21T08:37:44.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-21T08:37:44.873Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-21T08:37:44.998Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-21T08:37:45.112Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-21T08:37:45.249Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-21T08:37:45.353Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-21T08:37:45.452Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-21T08:37:45.553Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-21T08:37:45.654Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-21T08:37:45.788Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-21T08:37:45.920Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-21T08:37:46.029Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-21T08:37:46.141Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-21T08:37:46.251Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-21T08:37:46.395Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-21T08:37:46.494Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-21T08:37:46.689Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-21T08:37:46.782Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-21T08:37:46.879Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-21T08:37:46.976Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-21T08:37:47.079Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-746 [Pipeline] echo [2021-01-21T08:37:47.174Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-746 [Pipeline] echo [2021-01-21T08:37:47.284Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-746 [Pipeline] echo [2021-01-21T08:37:47.381Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 85d163331c1d3a26042463e63600e55946f7f2d2 [Pipeline] echo [2021-01-21T08:37:47.473Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 85d1633 [Pipeline] echo [2021-01-21T08:37:47.605Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-21T08:37:47.798Z] provisioning config files... [2021-01-21T08:37:47.827Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/config6302411821026728294tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-21T08:37:48.207Z] ---> docker-login.sh [2021-01-21T08:37:48.208Z] nexus3.edgexfoundry.org:10001 [2021-01-21T08:37:48.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T08:37:48.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T08:37:48.477Z] Configure a credential helper to remove this warning. See [2021-01-21T08:37:48.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T08:37:48.477Z] [2021-01-21T08:37:48.477Z] Login Succeeded [2021-01-21T08:37:48.477Z] nexus3.edgexfoundry.org:10002 [2021-01-21T08:37:48.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T08:37:48.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T08:37:48.739Z] Configure a credential helper to remove this warning. See [2021-01-21T08:37:48.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T08:37:48.739Z] [2021-01-21T08:37:48.739Z] Login Succeeded [2021-01-21T08:37:48.739Z] nexus3.edgexfoundry.org:10003 [2021-01-21T08:37:48.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T08:37:49.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T08:37:49.002Z] Configure a credential helper to remove this warning. See [2021-01-21T08:37:49.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T08:37:49.002Z] [2021-01-21T08:37:49.002Z] Login Succeeded [2021-01-21T08:37:49.002Z] nexus3.edgexfoundry.org:10004 [2021-01-21T08:37:49.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T08:37:49.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T08:37:49.002Z] Configure a credential helper to remove this warning. See [2021-01-21T08:37:49.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T08:37:49.002Z] [2021-01-21T08:37:49.002Z] Login Succeeded [2021-01-21T08:37:49.002Z] docker.io [2021-01-21T08:37:49.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T08:37:49.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T08:37:49.527Z] Configure a credential helper to remove this warning. See [2021-01-21T08:37:49.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T08:37:49.527Z] [2021-01-21T08:37:49.527Z] Login Succeeded [2021-01-21T08:37:49.527Z] ---> docker-login.sh ends [Pipeline] } [2021-01-21T08:37:49.536Z] 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-21T08:37:50.514Z] + git log --format=format:%s -1 85d163331c1d3a26042463e63600e55946f7f2d2 [Pipeline] echo [2021-01-21T08:37:50.592Z] GIT_COMMIT: 85d163331c1d3a26042463e63600e55946f7f2d2, Commit Message: refactor: refactor autoevent package for v2 [Pipeline] echo [2021-01-21T08:37:50.640Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-21T08:37:51.618Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-21T08:37:51.618Z] [2021-01-21T08:37:51.618Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-21T08:37:51.967Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-21T08:37:51.967Z] latest: Pulling from edgex-devops/git-semver [2021-01-21T08:37:51.967Z] 31603596830f: Pulling fs layer [2021-01-21T08:37:51.967Z] 2a8b12db71e7: Pulling fs layer [2021-01-21T08:37:51.967Z] 6ca5941a6612: Pulling fs layer [2021-01-21T08:37:51.967Z] ecc8261a40a4: Pulling fs layer [2021-01-21T08:37:51.967Z] ecc8261a40a4: Waiting [2021-01-21T08:37:51.967Z] 2a8b12db71e7: Verifying Checksum [2021-01-21T08:37:51.967Z] 2a8b12db71e7: Download complete [2021-01-21T08:37:52.229Z] 31603596830f: Verifying Checksum [2021-01-21T08:37:52.229Z] 31603596830f: Download complete [2021-01-21T08:37:52.229Z] ecc8261a40a4: Verifying Checksum [2021-01-21T08:37:52.229Z] ecc8261a40a4: Download complete [2021-01-21T08:37:52.229Z] 6ca5941a6612: Verifying Checksum [2021-01-21T08:37:52.229Z] 6ca5941a6612: Download complete [2021-01-21T08:37:52.494Z] 31603596830f: Pull complete [2021-01-21T08:37:52.494Z] 2a8b12db71e7: Pull complete [2021-01-21T08:37:53.444Z] 6ca5941a6612: Pull complete [2021-01-21T08:37:53.445Z] ecc8261a40a4: Pull complete [2021-01-21T08:37:53.706Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-21T08:37:53.706Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-21T08:37:53.706Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-21T08:37:53.809Z] prd-centos7-docker-4c-2g-21891 does not seem to be running inside a container [2021-01-21T08:37:53.857Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-746 -v /w/workspace/dgexfoundry_device-sdk-go_PR-746:/w/workspace/dgexfoundry_device-sdk-go_PR-746:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-21T08:37:55.999Z] $ docker top 8973b336cd3560290d17147f60309e8890c146a08e136b0dc2d4793be8d9b49b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-21T08:37:56.291Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-21T08:37:56.291Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-21T08:37:56.515Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-21T08:37:56.521Z] $ docker exec 8973b336cd3560290d17147f60309e8890c146a08e136b0dc2d4793be8d9b49b ssh-agent [2021-01-21T08:37:56.700Z] SSH_AUTH_SOCK=/tmp/ssh-d27NnA9dK52r/agent.12 [2021-01-21T08:37:56.700Z] SSH_AGENT_PID=17 [2021-01-21T08:37:56.710Z] Running ssh-add (command line suppressed) [2021-01-21T08:37:56.840Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_4609458398045405767.key (/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_4609458398045405767.key) [2021-01-21T08:37:56.892Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-21T08:37:57.225Z] + git tag --points-at HEAD [Pipeline] } [2021-01-21T08:37:57.249Z] $ docker exec --env ******** --env ******** 8973b336cd3560290d17147f60309e8890c146a08e136b0dc2d4793be8d9b49b ssh-agent -k [2021-01-21T08:37:57.370Z] unset SSH_AUTH_SOCK; [2021-01-21T08:37:57.370Z] unset SSH_AGENT_PID; [2021-01-21T08:37:57.370Z] echo Agent pid 17 killed; [2021-01-21T08:37:57.420Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-21T08:37:57.570Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-21T08:37:57.570Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-21T08:37:57.760Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-21T08:37:57.766Z] $ docker exec 8973b336cd3560290d17147f60309e8890c146a08e136b0dc2d4793be8d9b49b ssh-agent [2021-01-21T08:37:57.943Z] SSH_AUTH_SOCK=/tmp/ssh-kWrV7ZClUnZ5/agent.47 [2021-01-21T08:37:57.943Z] SSH_AGENT_PID=53 [2021-01-21T08:37:57.949Z] Running ssh-add (command line suppressed) [2021-01-21T08:37:58.076Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_8355125846806951523.key (/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_8355125846806951523.key) [2021-01-21T08:37:58.178Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-21T08:37:58.524Z] + git semver init [2021-01-21T08:37:58.525Z] # -> Open(): unable to determine branch for HEAD [2021-01-21T08:37:58.525Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-746/.git [2021-01-21T08:37:58.525Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-746 [2021-01-21T08:37:58.525Z] # $SEMVER_REMOTE_NAME = origin [2021-01-21T08:37:58.525Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-21T08:37:58.525Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-21T08:37:58.525Z] # $SEMVER_BRANCH = PR-746 [2021-01-21T08:37:58.525Z] # $SEMVER_TEMP = /tmp/semver-223616335 [2021-01-21T08:37:58.525Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-21T08:37:59.100Z] # '/tmp/semver-223616335' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-746/.semver' [2021-01-21T08:37:59.100Z] # -> Force: false [2021-01-21T08:37:59.100Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-746/.semver [Pipeline] } [2021-01-21T08:37:59.115Z] $ docker exec --env ******** --env ******** 8973b336cd3560290d17147f60309e8890c146a08e136b0dc2d4793be8d9b49b ssh-agent -k [2021-01-21T08:37:59.241Z] unset SSH_AUTH_SOCK; [2021-01-21T08:37:59.242Z] unset SSH_AGENT_PID; [2021-01-21T08:37:59.242Z] echo Agent pid 53 killed; [2021-01-21T08:37:59.287Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-21T08:37:59.785Z] + git semver [Pipeline] } [2021-01-21T08:37:59.805Z] $ docker stop --time=1 8973b336cd3560290d17147f60309e8890c146a08e136b0dc2d4793be8d9b49b [2021-01-21T08:38:01.195Z] $ docker rm -f 8973b336cd3560290d17147f60309e8890c146a08e136b0dc2d4793be8d9b49b [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-21T08:38:01.710Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-21T08:38:02.213Z] Stashed 1 file(s) [Pipeline] echo [2021-01-21T08:38:02.216Z] [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-21T08:38:17.842Z] Still waiting to schedule task [2021-01-21T08:38:17.842Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-21T08:38:17.844Z] Still waiting to schedule task [2021-01-21T08:38:17.844Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline [2021-01-21T08:39:57.868Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-21892 in /w/workspace/dgexfoundry_device-sdk-go_PR-746 [Pipeline] { [Pipeline] ws [2021-01-21T08:39:57.962Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-01-21T08:40:02.898Z] using credential edgex-jenkins-ssh [2021-01-21T08:40:02.973Z] Cloning the remote Git repository [2021-01-21T08:40:03.024Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-21T08:40:03.129Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-01-21T08:40:03.214Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-21T08:40:03.215Z] > git --version # timeout=10 [2021-01-21T08:40:03.237Z] > git --version # 'git version 2.17.1' [2021-01-21T08:40:03.239Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-21T08:40:03.325Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-21T08:40:07.289Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-21T08:40:07.303Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-21T08:40:07.331Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-21T08:40:07.373Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-21T08:40:07.374Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-21T08:40:07.386Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/746/head:refs/remotes/origin/PR-746 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-21T08:40:08.930Z] Merging remotes/origin/master commit 1c2f003b09666c9aca7d142d934c7ec3af9c247b into PR head commit 85d163331c1d3a26042463e63600e55946f7f2d2 [2021-01-21T08:40:09.272Z] Merge succeeded, producing 85d163331c1d3a26042463e63600e55946f7f2d2 [2021-01-21T08:40:09.273Z] Checking out Revision 85d163331c1d3a26042463e63600e55946f7f2d2 (PR-746) [2021-01-21T08:40:08.953Z] > git config core.sparsecheckout # timeout=10 [2021-01-21T08:40:08.973Z] > git checkout -f 85d163331c1d3a26042463e63600e55946f7f2d2 # timeout=10 [2021-01-21T08:40:09.091Z] > git remote # timeout=10 [2021-01-21T08:40:09.115Z] > git config --get remote.origin.url # timeout=10 [2021-01-21T08:40:09.142Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-21T08:40:09.154Z] > git merge 1c2f003b09666c9aca7d142d934c7ec3af9c247b # timeout=10 [2021-01-21T08:40:09.224Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-21T08:40:09.278Z] > git config core.sparsecheckout # timeout=10 [2021-01-21T08:40:09.319Z] > git checkout -f 85d163331c1d3a26042463e63600e55946f7f2d2 # timeout=10 [2021-01-21T08:40:13.666Z] Commit message: "refactor: refactor autoevent package for v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-21T08:40:15.502Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-21T08:40:15.910Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-21T08:40:16.262Z] + sudo service docker restart [2021-01-21T08:40:16.262Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-21T08:40:18.985Z] provisioning config files... [2021-01-21T08:40:19.029Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config6049547704398851589tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-21T08:40:19.494Z] ---> docker-login.sh [2021-01-21T08:40:19.494Z] nexus3.edgexfoundry.org:10001 [2021-01-21T08:40:20.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T08:40:20.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T08:40:20.755Z] Configure a credential helper to remove this warning. See [2021-01-21T08:40:20.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T08:40:20.755Z] [2021-01-21T08:40:20.755Z] Login Succeeded [2021-01-21T08:40:20.755Z] nexus3.edgexfoundry.org:10002 [2021-01-21T08:40:21.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T08:40:21.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T08:40:21.028Z] Configure a credential helper to remove this warning. See [2021-01-21T08:40:21.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T08:40:21.028Z] [2021-01-21T08:40:21.028Z] Login Succeeded [2021-01-21T08:40:21.028Z] nexus3.edgexfoundry.org:10003 [2021-01-21T08:40:21.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T08:40:21.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T08:40:21.625Z] Configure a credential helper to remove this warning. See [2021-01-21T08:40:21.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T08:40:21.625Z] [2021-01-21T08:40:21.625Z] Login Succeeded [2021-01-21T08:40:21.625Z] nexus3.edgexfoundry.org:10004 [2021-01-21T08:40:21.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T08:40:22.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T08:40:22.175Z] Configure a credential helper to remove this warning. See [2021-01-21T08:40:22.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T08:40:22.175Z] [2021-01-21T08:40:22.175Z] Login Succeeded [2021-01-21T08:40:22.175Z] docker.io [2021-01-21T08:40:22.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T08:40:22.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T08:40:22.719Z] Configure a credential helper to remove this warning. See [2021-01-21T08:40:22.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T08:40:22.719Z] [2021-01-21T08:40:22.719Z] Login Succeeded [2021-01-21T08:40:22.719Z] ---> docker-login.sh ends [Pipeline] } [2021-01-21T08:40:22.738Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-21T08:40:23.229Z] ========================================================= [2021-01-21T08:40:23.229Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-21T08:40:23.229Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-21T08:40:23.607Z] + 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-21T08:40:24.230Z] Sending build context to Docker daemon 2.383MB [2021-01-21T08:40:24.230Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-21T08:40:24.230Z] Step 2/8 : FROM ${BASE} [2021-01-21T08:40:24.230Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-21T08:40:24.230Z] 5f621e34cdf4: Pulling fs layer [2021-01-21T08:40:24.230Z] a4357932f1b6: Pulling fs layer [2021-01-21T08:40:24.230Z] 18c013af1878: Pulling fs layer [2021-01-21T08:40:24.230Z] 00ac8860ef70: Pulling fs layer [2021-01-21T08:40:24.230Z] 63d7cb157983: Pulling fs layer [2021-01-21T08:40:24.230Z] b116817d02f9: Pulling fs layer [2021-01-21T08:40:24.230Z] 745a02a5169b: Pulling fs layer [2021-01-21T08:40:24.230Z] 00ac8860ef70: Waiting [2021-01-21T08:40:24.230Z] 63d7cb157983: Waiting [2021-01-21T08:40:24.230Z] b116817d02f9: Waiting [2021-01-21T08:40:24.230Z] 745a02a5169b: Waiting [2021-01-21T08:40:24.230Z] 18c013af1878: Verifying Checksum [2021-01-21T08:40:24.230Z] 18c013af1878: Download complete [2021-01-21T08:40:24.230Z] a4357932f1b6: Verifying Checksum [2021-01-21T08:40:24.230Z] a4357932f1b6: Download complete [2021-01-21T08:40:24.230Z] 63d7cb157983: Verifying Checksum [2021-01-21T08:40:24.230Z] 63d7cb157983: Download complete [2021-01-21T08:40:24.837Z] b116817d02f9: Verifying Checksum [2021-01-21T08:40:24.837Z] b116817d02f9: Download complete [2021-01-21T08:40:25.114Z] 5f621e34cdf4: Verifying Checksum [2021-01-21T08:40:25.114Z] 5f621e34cdf4: Download complete [2021-01-21T08:40:25.729Z] 5f621e34cdf4: Pull complete [2021-01-21T08:40:26.380Z] a4357932f1b6: Pull complete [2021-01-21T08:40:26.986Z] 18c013af1878: Pull complete [2021-01-21T08:40:27.969Z] 745a02a5169b: Verifying Checksum [2021-01-21T08:40:27.969Z] 745a02a5169b: Download complete [2021-01-21T08:40:28.945Z] 00ac8860ef70: Verifying Checksum [2021-01-21T08:40:28.945Z] 00ac8860ef70: Download complete [2021-01-21T08:40:39.108Z] 00ac8860ef70: Pull complete [2021-01-21T08:40:39.108Z] 63d7cb157983: Pull complete [2021-01-21T08:40:39.108Z] b116817d02f9: Pull complete [2021-01-21T08:40:42.512Z] 745a02a5169b: Pull complete [2021-01-21T08:40:42.512Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-21T08:40:42.785Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-21T08:40:42.785Z] ---> b7e6874047d6 [2021-01-21T08:40:42.785Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-21T08:40:45.137Z] Running on prd-centos7-docker-4c-2g-21893 in /w/workspace/dgexfoundry_device-sdk-go_PR-746 [Pipeline] { [Pipeline] ws [2021-01-21T08:40:45.201Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-01-21T08:40:45.442Z] ---> Running in b03afb4a0c7e [2021-01-21T08:40:45.728Z] Removing intermediate container b03afb4a0c7e [2021-01-21T08:40:45.728Z] ---> 170fc5191268 [2021-01-21T08:40:45.728Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-21T08:40:45.728Z] ---> Running in d85c2e76701a [2021-01-21T08:40:47.569Z] using credential edgex-jenkins-ssh [2021-01-21T08:40:47.622Z] Cloning the remote Git repository [2021-01-21T08:40:48.411Z] Removing intermediate container d85c2e76701a [2021-01-21T08:40:48.411Z] ---> 0f7ed6c8ed34 [2021-01-21T08:40:48.411Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-21T08:40:48.411Z] ---> Running in 111dbdcf9752 [2021-01-21T08:40:47.447Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-21T08:40:47.519Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-01-21T08:40:47.579Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-21T08:40:47.579Z] > git --version # timeout=10 [2021-01-21T08:40:47.586Z] > git --version # 'git version 2.24.3' [2021-01-21T08:40:47.587Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-21T08:40:47.614Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-21T08:40:48.332Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-21T08:40:48.342Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-21T08:40:48.354Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-21T08:40:48.369Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-21T08:40:48.369Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-21T08:40:48.374Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/746/head:refs/remotes/origin/PR-746 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-21T08:40:48.969Z] Merging remotes/origin/master commit 1c2f003b09666c9aca7d142d934c7ec3af9c247b into PR head commit 85d163331c1d3a26042463e63600e55946f7f2d2 [2021-01-21T08:40:49.061Z] Merge succeeded, producing 85d163331c1d3a26042463e63600e55946f7f2d2 [2021-01-21T08:40:49.062Z] Checking out Revision 85d163331c1d3a26042463e63600e55946f7f2d2 (PR-746) [2021-01-21T08:40:49.416Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-21T08:40:48.889Z] > git config core.sparsecheckout # timeout=10 [2021-01-21T08:40:48.895Z] > git checkout -f 85d163331c1d3a26042463e63600e55946f7f2d2 # timeout=10 [2021-01-21T08:40:48.946Z] > git remote # timeout=10 [2021-01-21T08:40:48.953Z] > git config --get remote.origin.url # timeout=10 [2021-01-21T08:40:48.958Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-21T08:40:48.962Z] > git merge 1c2f003b09666c9aca7d142d934c7ec3af9c247b # timeout=10 [2021-01-21T08:40:48.972Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-21T08:40:48.983Z] > git config core.sparsecheckout # timeout=10 [2021-01-21T08:40:48.990Z] > git checkout -f 85d163331c1d3a26042463e63600e55946f7f2d2 # timeout=10 [2021-01-21T08:40:50.012Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-21T08:40:50.612Z] OK: 142 MiB in 39 packages [2021-01-21T08:40:52.050Z] Removing intermediate container 111dbdcf9752 [2021-01-21T08:40:52.050Z] ---> ebc5fd7fcb95 [2021-01-21T08:40:52.050Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-21T08:40:52.050Z] ---> Running in 7e5c9e471b4c [2021-01-21T08:40:52.322Z] Removing intermediate container 7e5c9e471b4c [2021-01-21T08:40:52.595Z] ---> 0b6b2d73c840 [2021-01-21T08:40:52.595Z] Step 7/8 : COPY . . [2021-01-21T08:40:52.701Z] Commit message: "refactor: refactor autoevent package for v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-21T08:40:54.043Z] ---> a41d512ec768 [2021-01-21T08:40:54.043Z] Step 8/8 : RUN go mod download [2021-01-21T08:40:54.043Z] ---> Running in f7de121ff4ad [2021-01-21T08:40:54.064Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-21T08:40:54.400Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-21T08:40:54.703Z] + true [2021-01-21T08:40:54.703Z] + sudo service docker restart [2021-01-21T08:40:54.703Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-21T08:40:55.715Z] provisioning config files... [2021-01-21T08:40:55.740Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4055675432638643380tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-21T08:40:56.123Z] ---> docker-login.sh [2021-01-21T08:40:56.123Z] nexus3.edgexfoundry.org:10001 [2021-01-21T08:40:56.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T08:40:56.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T08:40:56.389Z] Configure a credential helper to remove this warning. See [2021-01-21T08:40:56.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T08:40:56.389Z] [2021-01-21T08:40:56.389Z] Login Succeeded [2021-01-21T08:40:56.389Z] nexus3.edgexfoundry.org:10002 [2021-01-21T08:40:56.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T08:40:56.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T08:40:56.651Z] Configure a credential helper to remove this warning. See [2021-01-21T08:40:56.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T08:40:56.651Z] [2021-01-21T08:40:56.651Z] Login Succeeded [2021-01-21T08:40:56.651Z] nexus3.edgexfoundry.org:10003 [2021-01-21T08:40:56.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T08:40:56.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T08:40:56.913Z] Configure a credential helper to remove this warning. See [2021-01-21T08:40:56.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T08:40:56.914Z] [2021-01-21T08:40:56.914Z] Login Succeeded [2021-01-21T08:40:56.914Z] nexus3.edgexfoundry.org:10004 [2021-01-21T08:40:56.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T08:40:57.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T08:40:57.176Z] Configure a credential helper to remove this warning. See [2021-01-21T08:40:57.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T08:40:57.176Z] [2021-01-21T08:40:57.176Z] Login Succeeded [2021-01-21T08:40:57.176Z] docker.io [2021-01-21T08:40:57.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T08:40:57.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T08:40:57.702Z] Configure a credential helper to remove this warning. See [2021-01-21T08:40:57.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T08:40:57.702Z] [2021-01-21T08:40:57.702Z] Login Succeeded [2021-01-21T08:40:57.702Z] ---> docker-login.sh ends [Pipeline] } [2021-01-21T08:40:57.713Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-21T08:40:58.032Z] ========================================================= [2021-01-21T08:40:58.032Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-21T08:40:58.032Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-21T08:40:58.372Z] + 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-21T08:40:58.372Z] Sending build context to Docker daemon 2.385MB [2021-01-21T08:40:58.372Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-21T08:40:58.372Z] Step 2/8 : FROM ${BASE} [2021-01-21T08:40:58.637Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-21T08:40:58.637Z] 188c0c94c7c5: Pulling fs layer [2021-01-21T08:40:58.637Z] 0ef7d3d256c8: Pulling fs layer [2021-01-21T08:40:58.637Z] de9db76c5a1d: Pulling fs layer [2021-01-21T08:40:58.637Z] bca2f99d35d6: Pulling fs layer [2021-01-21T08:40:58.637Z] 93359f2a8cfa: Pulling fs layer [2021-01-21T08:40:58.637Z] 7c6f9722023f: Pulling fs layer [2021-01-21T08:40:58.637Z] a35cf1a2eb13: Pulling fs layer [2021-01-21T08:40:58.637Z] 7c6f9722023f: Waiting [2021-01-21T08:40:58.637Z] a35cf1a2eb13: Waiting [2021-01-21T08:40:58.637Z] bca2f99d35d6: Waiting [2021-01-21T08:40:58.637Z] de9db76c5a1d: Download complete [2021-01-21T08:40:58.637Z] 0ef7d3d256c8: Verifying Checksum [2021-01-21T08:40:58.637Z] 0ef7d3d256c8: Download complete [2021-01-21T08:40:58.637Z] 93359f2a8cfa: Verifying Checksum [2021-01-21T08:40:58.637Z] 93359f2a8cfa: Download complete [2021-01-21T08:40:58.637Z] 188c0c94c7c5: Verifying Checksum [2021-01-21T08:40:58.637Z] 188c0c94c7c5: Download complete [2021-01-21T08:40:58.637Z] 7c6f9722023f: Verifying Checksum [2021-01-21T08:40:58.637Z] 7c6f9722023f: Download complete [2021-01-21T08:40:58.901Z] 188c0c94c7c5: Pull complete [2021-01-21T08:40:59.166Z] 0ef7d3d256c8: Pull complete [2021-01-21T08:40:59.166Z] de9db76c5a1d: Pull complete [2021-01-21T08:41:01.136Z] a35cf1a2eb13: Verifying Checksum [2021-01-21T08:41:01.136Z] a35cf1a2eb13: Download complete [2021-01-21T08:41:01.406Z] bca2f99d35d6: Verifying Checksum [2021-01-21T08:41:01.406Z] bca2f99d35d6: Download complete [2021-01-21T08:41:06.746Z] bca2f99d35d6: Pull complete [2021-01-21T08:41:06.746Z] 93359f2a8cfa: Pull complete [2021-01-21T08:41:07.018Z] 7c6f9722023f: Pull complete [2021-01-21T08:41:11.249Z] a35cf1a2eb13: Pull complete [2021-01-21T08:41:11.249Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-21T08:41:11.249Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-21T08:41:11.249Z] ---> a62c8e92a672 [2021-01-21T08:41:11.249Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-21T08:41:11.249Z] ---> Running in d6ea8d0d99ed [2021-01-21T08:41:11.249Z] Removing intermediate container d6ea8d0d99ed [2021-01-21T08:41:11.249Z] ---> a7528d5e1871 [2021-01-21T08:41:11.249Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-21T08:41:11.249Z] ---> Running in e0b13df0ea84 [2021-01-21T08:41:12.649Z] Removing intermediate container e0b13df0ea84 [2021-01-21T08:41:12.649Z] ---> eb3575e6a2b5 [2021-01-21T08:41:12.649Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-21T08:41:12.649Z] ---> Running in 1e0065ff19e7 [2021-01-21T08:41:13.597Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-21T08:41:14.170Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-21T08:41:14.748Z] OK: 166 MiB in 39 packages [2021-01-21T08:41:15.010Z] Removing intermediate container 1e0065ff19e7 [2021-01-21T08:41:15.010Z] ---> 6f27d65faa42 [2021-01-21T08:41:15.010Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-21T08:41:15.010Z] ---> Running in 5fdb76e07049 [2021-01-21T08:41:15.273Z] Removing intermediate container 5fdb76e07049 [2021-01-21T08:41:15.273Z] ---> 941e106bd7fe [2021-01-21T08:41:15.273Z] Step 7/8 : COPY . . [2021-01-21T08:41:16.213Z] Removing intermediate container f7de121ff4ad [2021-01-21T08:41:16.213Z] ---> 90d508efb840 [2021-01-21T08:41:16.213Z] Successfully built 90d508efb840 [2021-01-21T08:41:16.213Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-21T08:41:16.555Z] + docker inspect -f . ci-base-image-arm64 [2021-01-21T08:41:16.555Z] . [Pipeline] withDockerContainer [2021-01-21T08:41:16.666Z] ---> 39babf86175d [2021-01-21T08:41:16.666Z] Step 8/8 : RUN go mod download [2021-01-21T08:41:16.666Z] ---> Running in 9bffe6c764b4 [2021-01-21T08:41:16.862Z] prd-ubuntu18.04-docker-arm64-4c-16g-21892 does not seem to be running inside a container [2021-01-21T08:41:16.952Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-21T08:41:18.389Z] $ docker top ed67140bc1bb10388a84a69f6272e4e486358c679f3fbe0bc2f8ce9e7733567a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-21T08:41:19.410Z] + go version [2021-01-21T08:41:19.410Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-21T08:41:19.444Z] $ docker stop --time=1 ed67140bc1bb10388a84a69f6272e4e486358c679f3fbe0bc2f8ce9e7733567a [2021-01-21T08:41:21.314Z] $ docker rm -f ed67140bc1bb10388a84a69f6272e4e486358c679f3fbe0bc2f8ce9e7733567a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-21T08:41:22.367Z] + docker inspect -f . ci-base-image-arm64 [2021-01-21T08:41:22.367Z] . [Pipeline] withDockerContainer [2021-01-21T08:41:22.628Z] prd-ubuntu18.04-docker-arm64-4c-16g-21892 does not seem to be running inside a container [2021-01-21T08:41:22.717Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-21T08:41:24.156Z] $ docker top 695c1541c822fa70717113e35e7d0a7610210a9a88c872021a6a1966a3bf3932 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-21T08:41:25.178Z] + make test [2021-01-21T08:41:25.178Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-21T08:41:34.819Z] Removing intermediate container 9bffe6c764b4 [2021-01-21T08:41:34.819Z] ---> 02fe9275acff [2021-01-21T08:41:34.819Z] Successfully built 02fe9275acff [2021-01-21T08:41:34.819Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-21T08:41:35.137Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-21T08:41:35.137Z] . [Pipeline] withDockerContainer [2021-01-21T08:41:35.395Z] prd-centos7-docker-4c-2g-21893 does not seem to be running inside a container [2021-01-21T08:41:35.463Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-21T08:41:36.301Z] $ docker top 7661c107a368af52ea4bd00a5dd638fca90715872759ea1adecb1d7294d6dd6a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-21T08:41:36.808Z] + go version [2021-01-21T08:41:36.808Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-21T08:41:36.823Z] $ docker stop --time=1 7661c107a368af52ea4bd00a5dd638fca90715872759ea1adecb1d7294d6dd6a [2021-01-21T08:41:38.483Z] $ docker rm -f 7661c107a368af52ea4bd00a5dd638fca90715872759ea1adecb1d7294d6dd6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-21T08:41:39.332Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-21T08:41:39.333Z] . [Pipeline] withDockerContainer [2021-01-21T08:41:39.431Z] prd-centos7-docker-4c-2g-21893 does not seem to be running inside a container [2021-01-21T08:41:39.480Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-21T08:41:40.162Z] $ docker top 104de98bf1308b2bf4e1a0820d8a7939525210cbd9764d41b56937e35ae2ce35 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-21T08:41:40.690Z] + make test [2021-01-21T08:41:40.690Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-21T08:41:47.318Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-21T08:41:47.339Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-21T08:42:02.348Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-21T08:42:02.348Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-21T08:42:02.348Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-21T08:42:02.934Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.066s coverage: 15.2% of statements [2021-01-21T08:42:03.519Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.453s coverage: 97.1% of statements [2021-01-21T08:42:26.372Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-21T08:42:26.372Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-21T08:42:26.372Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-21T08:42:29.008Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.120s coverage: 15.2% of statements [2021-01-21T08:42:30.469Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.306s coverage: 97.1% of statements [2021-01-21T08:42:35.687Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.081s coverage: 9.4% of statements [2021-01-21T08:42:35.687Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.049s coverage: 22.9% of statements [2021-01-21T08:42:35.687Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-21T08:42:35.687Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.066s coverage: 84.8% of statements [2021-01-21T08:42:35.687Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-21T08:42:35.687Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-21T08:42:35.687Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-21T08:42:35.687Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-21T08:42:35.687Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.067s coverage: 53.8% of statements [2021-01-21T08:42:35.687Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-21T08:42:35.687Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-21T08:42:35.687Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.071s coverage: 26.8% of statements [2021-01-21T08:42:35.687Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.339s coverage: 83.5% of statements [2021-01-21T08:42:35.687Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 4.2% of statements [2021-01-21T08:42:35.687Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-21T08:42:35.687Z] GO111MODULE=on go vet ./... [2021-01-21T08:42:43.904Z] gofmt -l . [2021-01-21T08:42:43.904Z] internal/container/deviceservice.go [2021-01-21T08:42:43.904Z] [ "`gofmt -l .`" = "" ] [2021-01-21T08:42:44.167Z] make: *** [Makefile:35: test] Error 1 [Pipeline] } [2021-01-21T08:42:44.191Z] $ docker stop --time=1 104de98bf1308b2bf4e1a0820d8a7939525210cbd9764d41b56937e35ae2ce35 [2021-01-21T08:42:46.204Z] $ docker rm -f 104de98bf1308b2bf4e1a0820d8a7939525210cbd9764d41b56937e35ae2ce35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-21T08:42:48.024Z] Failed in branch amd64 [2021-01-21T08:43:02.879Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.191s coverage: 9.4% of statements [2021-01-21T08:43:02.879Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.110s coverage: 22.9% of statements [2021-01-21T08:43:02.879Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-21T08:43:02.879Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.144s coverage: 84.8% of statements [2021-01-21T08:43:02.879Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-21T08:43:02.879Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-21T08:43:02.879Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-21T08:43:02.879Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-21T08:43:02.879Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.233s coverage: 53.8% of statements [2021-01-21T08:43:02.879Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-21T08:43:02.879Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-21T08:43:02.879Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.189s coverage: 26.8% of statements [2021-01-21T08:43:02.879Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.696s coverage: 83.5% of statements [2021-01-21T08:43:02.879Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.143s coverage: 4.2% of statements [2021-01-21T08:43:02.879Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-21T08:43:02.879Z] GO111MODULE=on go vet ./... [2021-01-21T08:43:35.315Z] gofmt -l . [2021-01-21T08:43:35.315Z] internal/container/deviceservice.go [2021-01-21T08:43:35.315Z] [ "`gofmt -l .`" = "" ] [2021-01-21T08:43:35.315Z] make: *** [Makefile:35: test] Error 1 [Pipeline] } [2021-01-21T08:43:35.353Z] $ docker stop --time=1 695c1541c822fa70717113e35e7d0a7610210a9a88c872021a6a1966a3bf3932 [2021-01-21T08:43:37.555Z] $ docker rm -f 695c1541c822fa70717113e35e7d0a7610210a9a88c872021a6a1966a3bf3932 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-21T08:43:39.408Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-21T08:43:42.453Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-21T08:43:42.761Z] ---> package-listing.sh [2021-01-21T08:43:42.761Z] ++ facter osfamily [2021-01-21T08:43:42.761Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-21T08:43:42.761Z] + OS_FAMILY=redhat [2021-01-21T08:43:42.761Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-746 [2021-01-21T08:43:42.761Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-21T08:43:42.761Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-21T08:43:42.761Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-21T08:43:42.761Z] + PACKAGES=/tmp/packages_start.txt [2021-01-21T08:43:42.761Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-746 ']' [2021-01-21T08:43:42.761Z] + PACKAGES=/tmp/packages_end.txt [2021-01-21T08:43:42.761Z] + case "${OS_FAMILY}" in [2021-01-21T08:43:42.761Z] + rpm -qa [2021-01-21T08:43:42.761Z] + sort [2021-01-21T08:43:48.080Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-21T08:43:48.080Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-21T08:43:48.080Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-21T08:43:48.080Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-746 ']' [2021-01-21T08:43:48.080Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-746/archives/ [2021-01-21T08:43:48.080Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-746/archives/ [Pipeline] echo [2021-01-21T08:43:48.097Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-746/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-21T08:43:48.390Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-21T08:43:48.693Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-21T08:43:48.693Z] [2021-01-21T08:43:48.693Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-21T08:43:49.056Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-21T08:43:49.056Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-21T08:43:49.056Z] df20fa9351a1: Pulling fs layer [2021-01-21T08:43:49.056Z] 36b3adc4ff6f: Pulling fs layer [2021-01-21T08:43:49.056Z] 8ad3a11d3b57: Pulling fs layer [2021-01-21T08:43:49.056Z] 46f8f816bc3b: Pulling fs layer [2021-01-21T08:43:49.056Z] 93b61091891f: Pulling fs layer [2021-01-21T08:43:49.056Z] 93b9cdb0e59b: Pulling fs layer [2021-01-21T08:43:49.056Z] 5e14af77c1be: Pulling fs layer [2021-01-21T08:43:49.056Z] 01666e4c0597: Pulling fs layer [2021-01-21T08:43:49.056Z] aa168da1d23b: Pulling fs layer [2021-01-21T08:43:49.056Z] 93b61091891f: Waiting [2021-01-21T08:43:49.056Z] 93b9cdb0e59b: Waiting [2021-01-21T08:43:49.056Z] 5e14af77c1be: Waiting [2021-01-21T08:43:49.056Z] 01666e4c0597: Waiting [2021-01-21T08:43:49.056Z] aa168da1d23b: Waiting [2021-01-21T08:43:49.056Z] 46f8f816bc3b: Waiting [2021-01-21T08:43:49.056Z] 36b3adc4ff6f: Download complete [2021-01-21T08:43:49.056Z] 46f8f816bc3b: Verifying Checksum [2021-01-21T08:43:49.056Z] 46f8f816bc3b: Download complete [2021-01-21T08:43:49.319Z] df20fa9351a1: Verifying Checksum [2021-01-21T08:43:49.319Z] df20fa9351a1: Download complete [2021-01-21T08:43:49.319Z] 93b9cdb0e59b: Verifying Checksum [2021-01-21T08:43:49.319Z] 93b9cdb0e59b: Download complete [2021-01-21T08:43:49.319Z] 5e14af77c1be: Verifying Checksum [2021-01-21T08:43:49.319Z] 5e14af77c1be: Download complete [2021-01-21T08:43:49.319Z] 93b61091891f: Verifying Checksum [2021-01-21T08:43:49.319Z] 93b61091891f: Download complete [2021-01-21T08:43:49.319Z] 01666e4c0597: Verifying Checksum [2021-01-21T08:43:49.319Z] 01666e4c0597: Download complete [2021-01-21T08:43:49.582Z] df20fa9351a1: Pull complete [2021-01-21T08:43:49.844Z] 36b3adc4ff6f: Pull complete [2021-01-21T08:43:50.114Z] 8ad3a11d3b57: Verifying Checksum [2021-01-21T08:43:50.114Z] 8ad3a11d3b57: Download complete [2021-01-21T08:43:51.073Z] 8ad3a11d3b57: Pull complete [2021-01-21T08:43:51.073Z] 46f8f816bc3b: Pull complete [2021-01-21T08:43:51.652Z] aa168da1d23b: Verifying Checksum [2021-01-21T08:43:51.652Z] aa168da1d23b: Download complete [2021-01-21T08:43:51.652Z] 93b61091891f: Pull complete [2021-01-21T08:43:51.916Z] 93b9cdb0e59b: Pull complete [2021-01-21T08:43:51.916Z] 5e14af77c1be: Pull complete [2021-01-21T08:43:52.178Z] 01666e4c0597: Pull complete [2021-01-21T08:43:58.801Z] aa168da1d23b: Pull complete [2021-01-21T08:43:58.801Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-21T08:43:58.801Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-21T08:43:58.801Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-21T08:43:59.051Z] prd-centos7-docker-4c-2g-21891 does not seem to be running inside a container [2021-01-21T08:43:59.106Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-746/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-746 -v /w/workspace/dgexfoundry_device-sdk-go_PR-746:/w/workspace/dgexfoundry_device-sdk-go_PR-746:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-21T08:44:01.299Z] $ docker top 4208c736a0c867879d0dabe3867cd725cdb4cdd06771f31755c6c821030b8386 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-21T08:44:01.840Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-21T08:44:02.148Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-21T08:44:02.449Z] + ls /var/log/sa-host [2021-01-21T08:44:02.449Z] + sadf -c /var/log/sa-host/sa21 [2021-01-21T08:44:02.449Z] file_magic: OK [2021-01-21T08:44:02.449Z] HZ: Using current value: 100 [2021-01-21T08:44:02.449Z] file_header: OK [2021-01-21T08:44:02.449Z] 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-21T08:44:02.449Z] Statistics: [2021-01-21T08:44:02.449Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-21T08:44:02.449Z] File successfully converted to sysstat format version 12.2.1 [2021-01-21T08:44:02.449Z] + sadf -c /var/log/sa-host/sa23 [2021-01-21T08:44:02.449Z] file_magic: OK [2021-01-21T08:44:02.449Z] HZ: Using current value: 100 [2021-01-21T08:44:02.449Z] file_header: OK [2021-01-21T08:44:02.449Z] 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-21T08:44:02.449Z] Statistics: [2021-01-21T08:44:02.449Z] Hnuu...uuuununununu... [2021-01-21T08:44:02.449Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-21T08:44:03.107Z] provisioning config files... [2021-01-21T08:44:03.126Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/config5341980318834584902tmp [Pipeline] { [Pipeline] echo [2021-01-21T08:44:03.205Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-21T08:44:03.506Z] ---> create-netrc.sh [Pipeline] } [2021-01-21T08:44:03.516Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-21T08:44:03.611Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-21T08:44:03.909Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-21T08:44:03.921Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-21T08:44:04.216Z] ---> sudo-logs.sh [2021-01-21T08:44:04.216Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-21T08:44:04.227Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-21T08:44:04.532Z] ---> job-cost.sh [2021-01-21T08:44:04.532Z] lf-activate-venv: SKIPPING [2021-01-21T08:44:04.532Z] INFO: No Stack... [2021-01-21T08:44:06.450Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-21T08:44:06.450Z] INFO: Archiving Costs [Pipeline] echo [2021-01-21T08:44:06.464Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-21T08:44:06.758Z] ---> logs-deploy.sh [2021-01-21T08:44:06.758Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-746/2 [2021-01-21T08:44:06.758Z] INFO: archiving workspace using pattern(s): [2021-01-21T08:44:08.681Z] Archives upload complete. [2021-01-21T08:44:08.681Z] INFO: archiving logs to Nexus