Pull request #707 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 lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 5ab4d4691831940b2e426fea2790b571b8dd4481+42e5a1ea61e0adb23423a933a3224d1395f33e87 (e93f58d4ef76a8170ca8df7b6721ed8013755cf4) 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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-17924 in /w/workspace/dgexfoundry_device-sdk-go_PR-707 [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-707 # 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/707/head:refs/remotes/origin/PR-707 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 42e5a1ea61e0adb23423a933a3224d1395f33e87 into PR head commit 5ab4d4691831940b2e426fea2790b571b8dd4481 Merge succeeded, producing 5ab4d4691831940b2e426fea2790b571b8dd4481 Checking out Revision 5ab4d4691831940b2e426fea2790b571b8dd4481 (PR-707) > git config core.sparsecheckout # timeout=10 > git checkout -f 5ab4d4691831940b2e426fea2790b571b8dd4481 # 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 42e5a1ea61e0adb23423a933a3224d1395f33e87 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5ab4d4691831940b2e426fea2790b571b8dd4481 # timeout=10 Commit message: "feat: SecretProvider for storing/retrieving secrets" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-31T22:16:32.475Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk 50a8ddcdac143ac91e73b2aa6e6c0cff7e210357 # timeout=10 [2020-12-31T22:16:32.805Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-31T22:16:32.914Z] ========================================================= [2020-12-31T22:16:32.914Z] EdgeX Global Pipelines Version Info [2020-12-31T22:16:32.914Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-31T22:16:34.403Z] ------------------- [2020-12-31T22:16:34.403Z] stable info: [2020-12-31T22:16:34.403Z] ------------------- [2020-12-31T22:16:34.403Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-31T22:16:34.403Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-31T22:16:34.403Z] Message: update stable to v1.0.173 [2020-12-31T22:16:35.351Z] ------------------- [2020-12-31T22:16:35.351Z] experimental info: [2020-12-31T22:16:35.351Z] ------------------- [2020-12-31T22:16:35.351Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-31T22:16:35.351Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-31T22:16:35.351Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-31T22:16:35.634Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-12-31T22:16:35.742Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-12-31T22:16:35.847Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-31T22:16:35.957Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-31T22:16:36.062Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-31T22:16:36.169Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-31T22:16:36.267Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-31T22:16:36.370Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-31T22:16:36.507Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-12-31T22:16:36.613Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-31T22:16:36.711Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-31T22:16:36.808Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-12-31T22:16:36.908Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-31T22:16:37.009Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-31T22:16:37.111Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-31T22:16:37.222Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-31T22:16:37.320Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-31T22:16:37.440Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-31T22:16:37.572Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-31T22:16:37.675Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-31T22:16:37.776Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-31T22:16:37.870Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-31T22:16:37.973Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-31T22:16:38.066Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-31T22:16:38.165Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-31T22:16:38.258Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-31T22:16:38.357Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-31T22:16:38.447Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-707 [Pipeline] echo [2020-12-31T22:16:38.539Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-707 [Pipeline] echo [2020-12-31T22:16:38.632Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-707 [Pipeline] echo [2020-12-31T22:16:38.726Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5ab4d4691831940b2e426fea2790b571b8dd4481 [Pipeline] echo [2020-12-31T22:16:38.823Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5ab4d46 [Pipeline] echo [2020-12-31T22:16:38.917Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-31T22:16:39.099Z] provisioning config files... [2020-12-31T22:16:39.142Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp/config6148541182836770945tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-31T22:16:39.508Z] ---> docker-login.sh [2020-12-31T22:16:39.508Z] nexus3.edgexfoundry.org:10001 [2020-12-31T22:16:39.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T22:16:40.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T22:16:40.034Z] Configure a credential helper to remove this warning. See [2020-12-31T22:16:40.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T22:16:40.034Z] [2020-12-31T22:16:40.034Z] Login Succeeded [2020-12-31T22:16:40.034Z] nexus3.edgexfoundry.org:10002 [2020-12-31T22:16:40.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T22:16:40.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T22:16:40.297Z] Configure a credential helper to remove this warning. See [2020-12-31T22:16:40.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T22:16:40.297Z] [2020-12-31T22:16:40.297Z] Login Succeeded [2020-12-31T22:16:40.297Z] nexus3.edgexfoundry.org:10003 [2020-12-31T22:16:40.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T22:16:40.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T22:16:40.297Z] Configure a credential helper to remove this warning. See [2020-12-31T22:16:40.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T22:16:40.297Z] [2020-12-31T22:16:40.297Z] Login Succeeded [2020-12-31T22:16:40.297Z] nexus3.edgexfoundry.org:10004 [2020-12-31T22:16:40.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T22:16:40.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T22:16:40.561Z] Configure a credential helper to remove this warning. See [2020-12-31T22:16:40.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T22:16:40.561Z] [2020-12-31T22:16:40.561Z] Login Succeeded [2020-12-31T22:16:40.561Z] docker.io [2020-12-31T22:16:40.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T22:16:40.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T22:16:40.825Z] Configure a credential helper to remove this warning. See [2020-12-31T22:16:40.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T22:16:40.825Z] [2020-12-31T22:16:40.825Z] Login Succeeded [2020-12-31T22:16:40.825Z] ---> docker-login.sh ends [Pipeline] } [2020-12-31T22:16:40.835Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-31T22:16:41.756Z] + git log --format=format:%s -1 5ab4d4691831940b2e426fea2790b571b8dd4481 [Pipeline] echo [2020-12-31T22:16:41.823Z] GIT_COMMIT: 5ab4d4691831940b2e426fea2790b571b8dd4481, Commit Message: feat: SecretProvider for storing/retrieving secrets [Pipeline] echo [2020-12-31T22:16:41.869Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-31T22:16:42.823Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-31T22:16:42.823Z] [2020-12-31T22:16:42.823Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-31T22:16:43.171Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-31T22:16:43.171Z] latest: Pulling from edgex-devops/git-semver [2020-12-31T22:16:43.171Z] 31603596830f: Pulling fs layer [2020-12-31T22:16:43.171Z] 2a8b12db71e7: Pulling fs layer [2020-12-31T22:16:43.171Z] 6ca5941a6612: Pulling fs layer [2020-12-31T22:16:43.171Z] ecc8261a40a4: Pulling fs layer [2020-12-31T22:16:43.171Z] ecc8261a40a4: Waiting [2020-12-31T22:16:43.171Z] 2a8b12db71e7: Verifying Checksum [2020-12-31T22:16:43.171Z] 2a8b12db71e7: Download complete [2020-12-31T22:16:43.433Z] 31603596830f: Verifying Checksum [2020-12-31T22:16:43.433Z] 31603596830f: Download complete [2020-12-31T22:16:43.433Z] ecc8261a40a4: Verifying Checksum [2020-12-31T22:16:43.433Z] ecc8261a40a4: Download complete [2020-12-31T22:16:43.698Z] 6ca5941a6612: Verifying Checksum [2020-12-31T22:16:43.698Z] 6ca5941a6612: Download complete [2020-12-31T22:16:43.698Z] 31603596830f: Pull complete [2020-12-31T22:16:43.965Z] 2a8b12db71e7: Pull complete [2020-12-31T22:16:44.925Z] 6ca5941a6612: Pull complete [2020-12-31T22:16:45.187Z] ecc8261a40a4: Pull complete [2020-12-31T22:16:45.187Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-31T22:16:45.187Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-31T22:16:45.187Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-31T22:16:45.294Z] prd-centos7-docker-4c-2g-17924 does not seem to be running inside a container [2020-12-31T22:16:45.346Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-707 -v /w/workspace/dgexfoundry_device-sdk-go_PR-707:/w/workspace/dgexfoundry_device-sdk-go_PR-707:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-707@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 [2020-12-31T22:16:47.758Z] $ docker top 8a4ad0fb4c571dc467620d8b342ef0a146dcf29f74255b5a35a23a48e8e21b90 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-31T22:16:48.040Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-31T22:16:48.040Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-31T22:16:48.242Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-31T22:16:48.245Z] $ docker exec 8a4ad0fb4c571dc467620d8b342ef0a146dcf29f74255b5a35a23a48e8e21b90 ssh-agent [2020-12-31T22:16:48.404Z] SSH_AUTH_SOCK=/tmp/ssh-cPd4Dqw44Obl/agent.11 [2020-12-31T22:16:48.404Z] SSH_AGENT_PID=16 [2020-12-31T22:16:48.413Z] Running ssh-add (command line suppressed) [2020-12-31T22:16:48.555Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp/private_key_1450803107548264806.key (/w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp/private_key_1450803107548264806.key) [2020-12-31T22:16:48.611Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-31T22:16:48.967Z] + git tag --points-at HEAD [Pipeline] } [2020-12-31T22:16:48.988Z] $ docker exec --env ******** --env ******** 8a4ad0fb4c571dc467620d8b342ef0a146dcf29f74255b5a35a23a48e8e21b90 ssh-agent -k [2020-12-31T22:16:49.101Z] unset SSH_AUTH_SOCK; [2020-12-31T22:16:49.102Z] unset SSH_AGENT_PID; [2020-12-31T22:16:49.102Z] echo Agent pid 16 killed; [2020-12-31T22:16:49.149Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-31T22:16:49.314Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-31T22:16:49.314Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-31T22:16:49.474Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-31T22:16:49.477Z] $ docker exec 8a4ad0fb4c571dc467620d8b342ef0a146dcf29f74255b5a35a23a48e8e21b90 ssh-agent [2020-12-31T22:16:49.635Z] SSH_AUTH_SOCK=/tmp/ssh-OOPS4yK1PDfC/agent.46 [2020-12-31T22:16:49.635Z] SSH_AGENT_PID=52 [2020-12-31T22:16:49.642Z] Running ssh-add (command line suppressed) [2020-12-31T22:16:49.757Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp/private_key_7110651828967490191.key (/w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp/private_key_7110651828967490191.key) [2020-12-31T22:16:49.809Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-31T22:16:50.144Z] + git semver init [2020-12-31T22:16:50.144Z] # -> Open(): unable to determine branch for HEAD [2020-12-31T22:16:50.144Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-707/.git [2020-12-31T22:16:50.144Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-707 [2020-12-31T22:16:50.144Z] # $SEMVER_REMOTE_NAME = origin [2020-12-31T22:16:50.144Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-31T22:16:50.144Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-31T22:16:50.144Z] # $SEMVER_BRANCH = PR-707 [2020-12-31T22:16:50.144Z] # $SEMVER_TEMP = /tmp/semver-504329101 [2020-12-31T22:16:50.144Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-12-31T22:16:50.719Z] # '/tmp/semver-504329101' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-707/.semver' [2020-12-31T22:16:50.719Z] # -> Force: false [2020-12-31T22:16:50.719Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-707/.semver [Pipeline] } [2020-12-31T22:16:50.732Z] $ docker exec --env ******** --env ******** 8a4ad0fb4c571dc467620d8b342ef0a146dcf29f74255b5a35a23a48e8e21b90 ssh-agent -k [2020-12-31T22:16:50.846Z] unset SSH_AUTH_SOCK; [2020-12-31T22:16:50.846Z] unset SSH_AGENT_PID; [2020-12-31T22:16:50.846Z] echo Agent pid 52 killed; [2020-12-31T22:16:50.896Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-31T22:16:51.369Z] + git semver [Pipeline] } [2020-12-31T22:16:51.385Z] $ docker stop --time=1 8a4ad0fb4c571dc467620d8b342ef0a146dcf29f74255b5a35a23a48e8e21b90 [2020-12-31T22:16:53.414Z] $ docker rm -f 8a4ad0fb4c571dc467620d8b342ef0a146dcf29f74255b5a35a23a48e8e21b90 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-31T22:16:53.900Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-31T22:16:54.431Z] Stashed 1 file(s) [Pipeline] echo [2020-12-31T22:16:54.434Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-12-31T22:17:09.974Z] Still waiting to schedule task [2020-12-31T22:17:09.974Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-31T22:17:09.977Z] Still waiting to schedule task [2020-12-31T22:17:09.977Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-31T22:19:04.316Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-17925 in /w/workspace/dgexfoundry_device-sdk-go_PR-707 [Pipeline] { [Pipeline] ws [2020-12-31T22:19:04.381Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-12-31T22:19:09.641Z] using credential edgex-jenkins-ssh [2020-12-31T22:19:09.704Z] Cloning the remote Git repository [2020-12-31T22:19:09.770Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-31T22:19:09.875Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2020-12-31T22:19:09.945Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-31T22:19:09.945Z] > git --version # timeout=10 [2020-12-31T22:19:09.966Z] > git --version # 'git version 2.17.1' [2020-12-31T22:19:09.968Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-31T22:19:10.044Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-31T22:19:11.935Z] Merging remotes/origin/master commit 42e5a1ea61e0adb23423a933a3224d1395f33e87 into PR head commit 5ab4d4691831940b2e426fea2790b571b8dd4481 [2020-12-31T22:19:11.162Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-31T22:19:11.184Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-31T22:19:11.219Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-31T22:19:11.261Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-31T22:19:11.262Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-31T22:19:11.275Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/707/head:refs/remotes/origin/PR-707 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-31T22:19:11.956Z] > git config core.sparsecheckout # timeout=10 [2020-12-31T22:19:11.976Z] > git checkout -f 5ab4d4691831940b2e426fea2790b571b8dd4481 # timeout=10 [2020-12-31T22:19:12.205Z] Merge succeeded, producing 5ab4d4691831940b2e426fea2790b571b8dd4481 [2020-12-31T22:19:12.206Z] Checking out Revision 5ab4d4691831940b2e426fea2790b571b8dd4481 (PR-707) [2020-12-31T22:19:12.103Z] > git remote # timeout=10 [2020-12-31T22:19:12.130Z] > git config --get remote.origin.url # timeout=10 [2020-12-31T22:19:12.145Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-31T22:19:12.159Z] > git merge 42e5a1ea61e0adb23423a933a3224d1395f33e87 # timeout=10 [2020-12-31T22:19:12.185Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-31T22:19:12.213Z] > git config core.sparsecheckout # timeout=10 [2020-12-31T22:19:12.223Z] > git checkout -f 5ab4d4691831940b2e426fea2790b571b8dd4481 # timeout=10 [2020-12-31T22:19:16.624Z] Commit message: "feat: SecretProvider for storing/retrieving secrets" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-31T22:19:18.285Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-31T22:19:18.745Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-31T22:19:19.087Z] + + true [2020-12-31T22:19:19.087Z] sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-31T22:19:21.801Z] provisioning config files... [2020-12-31T22:19:21.840Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config416116154206004202tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-31T22:19:22.262Z] ---> docker-login.sh [2020-12-31T22:19:22.262Z] nexus3.edgexfoundry.org:10001 [2020-12-31T22:19:23.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T22:19:23.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T22:19:23.526Z] Configure a credential helper to remove this warning. See [2020-12-31T22:19:23.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T22:19:23.526Z] [2020-12-31T22:19:23.526Z] Login Succeeded [2020-12-31T22:19:23.526Z] nexus3.edgexfoundry.org:10002 [2020-12-31T22:19:23.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T22:19:24.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T22:19:24.072Z] Configure a credential helper to remove this warning. See [2020-12-31T22:19:24.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T22:19:24.072Z] [2020-12-31T22:19:24.072Z] Login Succeeded [2020-12-31T22:19:24.072Z] nexus3.edgexfoundry.org:10003 [2020-12-31T22:19:24.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T22:19:24.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T22:19:24.619Z] Configure a credential helper to remove this warning. See [2020-12-31T22:19:24.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T22:19:24.619Z] [2020-12-31T22:19:24.619Z] Login Succeeded [2020-12-31T22:19:24.619Z] nexus3.edgexfoundry.org:10004 [2020-12-31T22:19:24.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T22:19:25.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T22:19:25.166Z] Configure a credential helper to remove this warning. See [2020-12-31T22:19:25.166Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T22:19:25.166Z] [2020-12-31T22:19:25.166Z] Login Succeeded [2020-12-31T22:19:25.166Z] docker.io [2020-12-31T22:19:25.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T22:19:26.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T22:19:26.031Z] Configure a credential helper to remove this warning. See [2020-12-31T22:19:26.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T22:19:26.031Z] [2020-12-31T22:19:26.031Z] Login Succeeded [2020-12-31T22:19:26.031Z] ---> docker-login.sh ends [Pipeline] } [2020-12-31T22:19:26.049Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-31T22:19:26.486Z] ========================================================= [2020-12-31T22:19:26.486Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-31T22:19:26.486Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-31T22:19:26.883Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-12-31T22:19:27.491Z] Sending build context to Docker daemon 2.502MB [2020-12-31T22:19:27.491Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-31T22:19:27.491Z] Step 2/8 : FROM ${BASE} [2020-12-31T22:19:27.491Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-31T22:19:27.491Z] 5f621e34cdf4: Pulling fs layer [2020-12-31T22:19:27.491Z] a4357932f1b6: Pulling fs layer [2020-12-31T22:19:27.491Z] 18c013af1878: Pulling fs layer [2020-12-31T22:19:27.491Z] 00ac8860ef70: Pulling fs layer [2020-12-31T22:19:27.491Z] 63d7cb157983: Pulling fs layer [2020-12-31T22:19:27.491Z] b116817d02f9: Pulling fs layer [2020-12-31T22:19:27.491Z] 745a02a5169b: Pulling fs layer [2020-12-31T22:19:27.491Z] 00ac8860ef70: Waiting [2020-12-31T22:19:27.491Z] b116817d02f9: Waiting [2020-12-31T22:19:27.491Z] 63d7cb157983: Waiting [2020-12-31T22:19:27.491Z] 745a02a5169b: Waiting [2020-12-31T22:19:27.491Z] 18c013af1878: Verifying Checksum [2020-12-31T22:19:27.491Z] 18c013af1878: Download complete [2020-12-31T22:19:27.491Z] a4357932f1b6: Verifying Checksum [2020-12-31T22:19:27.491Z] a4357932f1b6: Download complete [2020-12-31T22:19:27.491Z] 63d7cb157983: Download complete [2020-12-31T22:19:27.763Z] b116817d02f9: Verifying Checksum [2020-12-31T22:19:27.763Z] b116817d02f9: Download complete [2020-12-31T22:19:28.037Z] 5f621e34cdf4: Verifying Checksum [2020-12-31T22:19:28.037Z] 5f621e34cdf4: Download complete [2020-12-31T22:19:28.642Z] 5f621e34cdf4: Pull complete [2020-12-31T22:19:29.242Z] a4357932f1b6: Pull complete [2020-12-31T22:19:29.515Z] 18c013af1878: Pull complete [2020-12-31T22:19:30.108Z] 745a02a5169b: Verifying Checksum [2020-12-31T22:19:30.108Z] 745a02a5169b: Download complete [2020-12-31T22:19:31.080Z] 00ac8860ef70: Verifying Checksum [2020-12-31T22:19:31.080Z] 00ac8860ef70: Download complete [2020-12-31T22:19:41.238Z] 00ac8860ef70: Pull complete [2020-12-31T22:19:41.512Z] 63d7cb157983: Pull complete [2020-12-31T22:19:41.785Z] b116817d02f9: Pull complete [2020-12-31T22:19:46.099Z] 745a02a5169b: Pull complete [2020-12-31T22:19:46.099Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-31T22:19:46.099Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-31T22:19:46.099Z] ---> b7e6874047d6 [2020-12-31T22:19:46.099Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-31T22:19:48.736Z] ---> Running in 6e0d374d981c [2020-12-31T22:19:48.863Z] Running on prd-centos7-docker-4c-2g-17926 in /w/workspace/dgexfoundry_device-sdk-go_PR-707 [Pipeline] { [Pipeline] ws [2020-12-31T22:19:48.927Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [2020-12-31T22:19:49.008Z] Removing intermediate container 6e0d374d981c [2020-12-31T22:19:49.008Z] ---> b83f7610539c [2020-12-31T22:19:49.008Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [Pipeline] checkout [2020-12-31T22:19:49.285Z] ---> Running in 9f7327c8d8d7 [2020-12-31T22:19:51.339Z] using credential edgex-jenkins-ssh [2020-12-31T22:19:51.402Z] Cloning the remote Git repository [2020-12-31T22:19:51.431Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-31T22:19:51.906Z] Removing intermediate container 9f7327c8d8d7 [2020-12-31T22:19:51.906Z] ---> fe0d76a57525 [2020-12-31T22:19:51.906Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-31T22:19:51.906Z] ---> Running in 06a1af403b35 [2020-12-31T22:19:51.498Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2020-12-31T22:19:51.558Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-31T22:19:51.558Z] > git --version # timeout=10 [2020-12-31T22:19:51.564Z] > git --version # 'git version 2.24.3' [2020-12-31T22:19:51.565Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-31T22:19:51.591Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-31T22:19:52.244Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-31T22:19:52.253Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-31T22:19:52.266Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-31T22:19:52.279Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-31T22:19:52.280Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-31T22:19:52.283Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/707/head:refs/remotes/origin/PR-707 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-31T22:19:52.792Z] Merging remotes/origin/master commit 42e5a1ea61e0adb23423a933a3224d1395f33e87 into PR head commit 5ab4d4691831940b2e426fea2790b571b8dd4481 [2020-12-31T22:19:52.879Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-31T22:19:52.916Z] Merge succeeded, producing 5ab4d4691831940b2e426fea2790b571b8dd4481 [2020-12-31T22:19:52.917Z] Checking out Revision 5ab4d4691831940b2e426fea2790b571b8dd4481 (PR-707) [2020-12-31T22:19:53.473Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-31T22:19:52.805Z] > git config core.sparsecheckout # timeout=10 [2020-12-31T22:19:52.817Z] > git checkout -f 5ab4d4691831940b2e426fea2790b571b8dd4481 # timeout=10 [2020-12-31T22:19:52.873Z] > git remote # timeout=10 [2020-12-31T22:19:52.881Z] > git config --get remote.origin.url # timeout=10 [2020-12-31T22:19:52.889Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-31T22:19:52.894Z] > git merge 42e5a1ea61e0adb23423a933a3224d1395f33e87 # timeout=10 [2020-12-31T22:19:52.906Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-31T22:19:52.920Z] > git config core.sparsecheckout # timeout=10 [2020-12-31T22:19:52.925Z] > git checkout -f 5ab4d4691831940b2e426fea2790b571b8dd4481 # timeout=10 [2020-12-31T22:19:54.069Z] OK: 142 MiB in 39 packages [2020-12-31T22:19:56.050Z] Removing intermediate container 06a1af403b35 [2020-12-31T22:19:56.050Z] ---> ca6685920b49 [2020-12-31T22:19:56.050Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-31T22:19:56.050Z] ---> Running in 9751613bd9cb [2020-12-31T22:19:56.583Z] Commit message: "feat: SecretProvider for storing/retrieving secrets" [2020-12-31T22:19:56.645Z] Removing intermediate container 9751613bd9cb [2020-12-31T22:19:56.645Z] ---> e5ad8b6bc224 [2020-12-31T22:19:56.645Z] Step 7/8 : COPY . . [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-31T22:19:57.700Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-31T22:19:58.036Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-31T22:19:58.084Z] ---> 026db3313575 [2020-12-31T22:19:58.084Z] Step 8/8 : RUN go mod download [2020-12-31T22:19:58.084Z] ---> Running in 8818857ef560 [2020-12-31T22:19:58.336Z] + true [2020-12-31T22:19:58.336Z] + sudo service docker restart [2020-12-31T22:19:58.336Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-31T22:19:59.354Z] provisioning config files... [2020-12-31T22:19:59.381Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config4939211066564429955tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-31T22:19:59.760Z] ---> docker-login.sh [2020-12-31T22:19:59.760Z] nexus3.edgexfoundry.org:10001 [2020-12-31T22:20:00.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T22:20:00.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T22:20:00.025Z] Configure a credential helper to remove this warning. See [2020-12-31T22:20:00.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T22:20:00.025Z] [2020-12-31T22:20:00.025Z] Login Succeeded [2020-12-31T22:20:00.288Z] nexus3.edgexfoundry.org:10002 [2020-12-31T22:20:00.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T22:20:00.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T22:20:00.288Z] Configure a credential helper to remove this warning. See [2020-12-31T22:20:00.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T22:20:00.288Z] [2020-12-31T22:20:00.288Z] Login Succeeded [2020-12-31T22:20:00.288Z] nexus3.edgexfoundry.org:10003 [2020-12-31T22:20:00.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T22:20:00.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T22:20:00.552Z] Configure a credential helper to remove this warning. See [2020-12-31T22:20:00.552Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T22:20:00.552Z] [2020-12-31T22:20:00.552Z] Login Succeeded [2020-12-31T22:20:00.552Z] nexus3.edgexfoundry.org:10004 [2020-12-31T22:20:00.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T22:20:00.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T22:20:00.816Z] Configure a credential helper to remove this warning. See [2020-12-31T22:20:00.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T22:20:00.816Z] [2020-12-31T22:20:00.816Z] Login Succeeded [2020-12-31T22:20:00.816Z] docker.io [2020-12-31T22:20:00.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T22:20:01.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T22:20:01.079Z] Configure a credential helper to remove this warning. See [2020-12-31T22:20:01.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T22:20:01.079Z] [2020-12-31T22:20:01.079Z] Login Succeeded [2020-12-31T22:20:01.079Z] ---> docker-login.sh ends [Pipeline] } [2020-12-31T22:20:01.089Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-31T22:20:01.493Z] ========================================================= [2020-12-31T22:20:01.493Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-31T22:20:01.493Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-31T22:20:01.872Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-12-31T22:20:02.144Z] Sending build context to Docker daemon 2.502MB [2020-12-31T22:20:02.144Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-31T22:20:02.144Z] Step 2/8 : FROM ${BASE} [2020-12-31T22:20:02.144Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-31T22:20:02.144Z] 188c0c94c7c5: Pulling fs layer [2020-12-31T22:20:02.144Z] 0ef7d3d256c8: Pulling fs layer [2020-12-31T22:20:02.144Z] de9db76c5a1d: Pulling fs layer [2020-12-31T22:20:02.144Z] bca2f99d35d6: Pulling fs layer [2020-12-31T22:20:02.144Z] 93359f2a8cfa: Pulling fs layer [2020-12-31T22:20:02.144Z] 7c6f9722023f: Pulling fs layer [2020-12-31T22:20:02.144Z] a35cf1a2eb13: Pulling fs layer [2020-12-31T22:20:02.144Z] bca2f99d35d6: Waiting [2020-12-31T22:20:02.144Z] 93359f2a8cfa: Waiting [2020-12-31T22:20:02.144Z] 7c6f9722023f: Waiting [2020-12-31T22:20:02.144Z] a35cf1a2eb13: Waiting [2020-12-31T22:20:02.144Z] de9db76c5a1d: Download complete [2020-12-31T22:20:02.144Z] 0ef7d3d256c8: Download complete [2020-12-31T22:20:02.144Z] 93359f2a8cfa: Verifying Checksum [2020-12-31T22:20:02.144Z] 93359f2a8cfa: Download complete [2020-12-31T22:20:02.144Z] 188c0c94c7c5: Verifying Checksum [2020-12-31T22:20:02.144Z] 188c0c94c7c5: Download complete [2020-12-31T22:20:02.144Z] 7c6f9722023f: Verifying Checksum [2020-12-31T22:20:02.144Z] 7c6f9722023f: Download complete [2020-12-31T22:20:04.709Z] a35cf1a2eb13: Download complete [2020-12-31T22:20:05.676Z] bca2f99d35d6: Verifying Checksum [2020-12-31T22:20:05.676Z] bca2f99d35d6: Download complete [2020-12-31T22:20:07.602Z] 188c0c94c7c5: Pull complete [2020-12-31T22:20:07.602Z] 0ef7d3d256c8: Pull complete [2020-12-31T22:20:07.865Z] de9db76c5a1d: Pull complete [2020-12-31T22:20:14.512Z] bca2f99d35d6: Pull complete [2020-12-31T22:20:14.780Z] 93359f2a8cfa: Pull complete [2020-12-31T22:20:14.780Z] 7c6f9722023f: Pull complete [2020-12-31T22:20:20.118Z] a35cf1a2eb13: Pull complete [2020-12-31T22:20:20.118Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-31T22:20:20.270Z] Removing intermediate container 8818857ef560 [2020-12-31T22:20:20.270Z] ---> 4f79f9d5cdf5 [2020-12-31T22:20:20.270Z] Successfully built 4f79f9d5cdf5 [2020-12-31T22:20:20.270Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-31T22:20:20.391Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-31T22:20:20.391Z] ---> a62c8e92a672 [2020-12-31T22:20:20.391Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-31T22:20:20.618Z] + docker inspect -f . ci-base-image-arm64 [2020-12-31T22:20:20.618Z] . [Pipeline] withDockerContainer [2020-12-31T22:20:20.659Z] ---> Running in 3ce7a9937fc1 [2020-12-31T22:20:20.868Z] prd-ubuntu18.04-docker-arm64-4c-16g-17925 does not seem to be running inside a container [2020-12-31T22:20:20.923Z] Removing intermediate container 3ce7a9937fc1 [2020-12-31T22:20:20.923Z] ---> f7c8075193f8 [2020-12-31T22:20:20.923Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-31T22:20:20.923Z] ---> Running in 6697612d3bb1 [2020-12-31T22:20:20.950Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-31T22:20:22.337Z] Removing intermediate container 6697612d3bb1 [2020-12-31T22:20:22.338Z] ---> 6b3d80ddcbf0 [2020-12-31T22:20:22.338Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-31T22:20:22.338Z] ---> Running in 6d927d57d629 [2020-12-31T22:20:22.815Z] $ docker top c72b3c0b067161a89ccd923f54e15d2a77bb64a7867a0474cb537c5775560572 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-31T22:20:23.287Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-31T22:20:23.866Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-31T22:20:23.867Z] + go version [2020-12-31T22:20:23.868Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-31T22:20:23.888Z] $ docker stop --time=1 c72b3c0b067161a89ccd923f54e15d2a77bb64a7867a0474cb537c5775560572 [2020-12-31T22:20:24.442Z] OK: 166 MiB in 39 packages [2020-12-31T22:20:25.018Z] Removing intermediate container 6d927d57d629 [2020-12-31T22:20:25.018Z] ---> 77d02e0fbde6 [2020-12-31T22:20:25.019Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-31T22:20:25.019Z] ---> Running in 7288399b9723 [2020-12-31T22:20:25.282Z] Removing intermediate container 7288399b9723 [2020-12-31T22:20:25.282Z] ---> 1dc6bb6decc5 [2020-12-31T22:20:25.282Z] Step 7/8 : COPY . . [2020-12-31T22:20:25.817Z] $ docker rm -f c72b3c0b067161a89ccd923f54e15d2a77bb64a7867a0474cb537c5775560572 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-31T22:20:26.682Z] ---> a733c560b6c4 [2020-12-31T22:20:26.682Z] Step 8/8 : RUN go mod download [2020-12-31T22:20:26.682Z] ---> Running in 9e9461f3b942 [2020-12-31T22:20:26.882Z] + docker inspect -f . ci-base-image-arm64 [2020-12-31T22:20:26.882Z] . [Pipeline] withDockerContainer [2020-12-31T22:20:27.142Z] prd-ubuntu18.04-docker-arm64-4c-16g-17925 does not seem to be running inside a container [2020-12-31T22:20:27.218Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-31T22:20:31.418Z] $ docker top f918e6d8aa2e76efc042507084615868ee28c07eafd5b42cc259dc7477004f88 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-31T22:20:32.457Z] + make test [2020-12-31T22:20:32.457Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-31T22:20:48.742Z] Removing intermediate container 9e9461f3b942 [2020-12-31T22:20:48.742Z] ---> 80d2d6d3dddd [2020-12-31T22:20:48.742Z] Successfully built 80d2d6d3dddd [2020-12-31T22:20:48.742Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-31T22:20:49.058Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-31T22:20:49.058Z] . [Pipeline] withDockerContainer [2020-12-31T22:20:49.198Z] prd-centos7-docker-4c-2g-17926 does not seem to be running inside a container [2020-12-31T22:20:49.266Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-31T22:20:50.105Z] $ docker top 16a42b1cf2a5d98b1056151c824789ec5df1d97a7f40309690fbe75e3a6a4cd1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-31T22:20:50.605Z] + go version [2020-12-31T22:20:50.605Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-31T22:20:50.622Z] $ docker stop --time=1 16a42b1cf2a5d98b1056151c824789ec5df1d97a7f40309690fbe75e3a6a4cd1 [2020-12-31T22:20:51.983Z] $ docker rm -f 16a42b1cf2a5d98b1056151c824789ec5df1d97a7f40309690fbe75e3a6a4cd1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-31T22:20:52.834Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-31T22:20:52.835Z] . [Pipeline] withDockerContainer [2020-12-31T22:20:52.938Z] prd-centos7-docker-4c-2g-17926 does not seem to be running inside a container [2020-12-31T22:20:52.999Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-31T22:20:53.744Z] $ docker top 62e8bdcabcc8a717a7b14ee10293a9be720ea1f5dca1368b9a25708c9cdb9c4a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-31T22:20:54.238Z] + make test [2020-12-31T22:20:54.238Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-31T22:20:54.637Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-31T22:21:02.455Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-31T22:21:17.494Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-12-31T22:21:17.494Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-12-31T22:21:17.494Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-12-31T22:21:17.494Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.059s coverage: 19.4% of statements [2020-12-31T22:21:19.453Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.484s coverage: 97.1% of statements [2020-12-31T22:21:33.675Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-12-31T22:21:33.675Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-12-31T22:21:33.675Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-12-31T22:21:33.675Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.161s coverage: 19.4% of statements [2020-12-31T22:21:40.449Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.244s coverage: 97.1% of statements [2020-12-31T22:21:51.645Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.052s coverage: 9.4% of statements [2020-12-31T22:21:51.646Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.056s coverage: 21.7% of statements [2020-12-31T22:21:51.646Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-12-31T22:21:51.646Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.242s coverage: 42.5% of statements [2020-12-31T22:21:51.646Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-12-31T22:21:51.646Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.274s coverage: 68.9% of statements [2020-12-31T22:21:51.646Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-12-31T22:21:51.646Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-12-31T22:21:51.646Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-12-31T22:21:51.646Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-12-31T22:21:51.646Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.087s coverage: 53.8% of statements [2020-12-31T22:21:51.646Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-12-31T22:21:51.646Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-12-31T22:21:51.646Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-12-31T22:21:51.646Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.387s coverage: 68.9% of statements [2020-12-31T22:21:51.646Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.077s coverage: 4.2% of statements [2020-12-31T22:21:51.646Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-12-31T22:21:51.646Z] GO111MODULE=on go vet ./... [2020-12-31T22:21:58.314Z] gofmt -l . [2020-12-31T22:21:58.314Z] [ "`gofmt -l .`" = "" ] [2020-12-31T22:21:58.314Z] ./bin/test-attribution-txt.sh [2020-12-31T22:21:59.274Z] An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add [2020-12-31T22:21:59.274Z] make: *** [Makefile:36: test] Error 1 [Pipeline] } [2020-12-31T22:21:59.294Z] $ docker stop --time=1 62e8bdcabcc8a717a7b14ee10293a9be720ea1f5dca1368b9a25708c9cdb9c4a [2020-12-31T22:22:01.339Z] $ docker rm -f 62e8bdcabcc8a717a7b14ee10293a9be720ea1f5dca1368b9a25708c9cdb9c4a [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] } [2020-12-31T22:22:03.326Z] Failed in branch amd64 [2020-12-31T22:22:07.314Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.132s coverage: 9.4% of statements [2020-12-31T22:22:07.315Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.126s coverage: 21.7% of statements [2020-12-31T22:22:07.315Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-12-31T22:22:07.315Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.637s coverage: 42.5% of statements [2020-12-31T22:22:07.315Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-12-31T22:22:07.315Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.748s coverage: 68.9% of statements [2020-12-31T22:22:07.315Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-12-31T22:22:07.315Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-12-31T22:22:07.315Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-12-31T22:22:07.315Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-12-31T22:22:07.315Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.189s coverage: 53.8% of statements [2020-12-31T22:22:07.315Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-12-31T22:22:07.315Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-12-31T22:22:07.315Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-12-31T22:22:07.315Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.939s coverage: 68.9% of statements [2020-12-31T22:22:07.315Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.120s coverage: 4.2% of statements [2020-12-31T22:22:07.315Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-12-31T22:22:07.315Z] GO111MODULE=on go vet ./... [2020-12-31T22:22:39.776Z] gofmt -l . [2020-12-31T22:22:39.776Z] [ "`gofmt -l .`" = "" ] [2020-12-31T22:22:39.776Z] ./bin/test-attribution-txt.sh [2020-12-31T22:22:40.371Z] An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add [2020-12-31T22:22:40.643Z] make: *** [Makefile:36: test] Error 1 [Pipeline] } [2020-12-31T22:22:40.665Z] $ docker stop --time=1 f918e6d8aa2e76efc042507084615868ee28c07eafd5b42cc259dc7477004f88 [2020-12-31T22:22:42.874Z] $ docker rm -f f918e6d8aa2e76efc042507084615868ee28c07eafd5b42cc259dc7477004f88 [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] } [2020-12-31T22:22:44.870Z] 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 [2020-12-31T22:22:47.862Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-31T22:22:48.437Z] ---> package-listing.sh [2020-12-31T22:22:48.437Z] ++ facter osfamily [2020-12-31T22:22:48.437Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-31T22:22:48.437Z] + OS_FAMILY=redhat [2020-12-31T22:22:48.437Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-707 [2020-12-31T22:22:48.437Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-31T22:22:48.437Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-31T22:22:48.437Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-31T22:22:48.437Z] + PACKAGES=/tmp/packages_start.txt [2020-12-31T22:22:48.437Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-707 ']' [2020-12-31T22:22:48.437Z] + PACKAGES=/tmp/packages_end.txt [2020-12-31T22:22:48.437Z] + case "${OS_FAMILY}" in [2020-12-31T22:22:48.437Z] + rpm -qa [2020-12-31T22:22:48.437Z] + sort [2020-12-31T22:22:53.765Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-31T22:22:53.766Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-31T22:22:53.766Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-31T22:22:53.766Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-707 ']' [2020-12-31T22:22:53.766Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-707/archives/ [2020-12-31T22:22:53.766Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-707/archives/ [Pipeline] echo [2020-12-31T22:22:53.782Z] 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-707/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-31T22:22:54.073Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-31T22:22:54.380Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-31T22:22:54.380Z] [2020-12-31T22:22:54.380Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-31T22:22:54.735Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-31T22:22:54.735Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-31T22:22:54.735Z] df20fa9351a1: Pulling fs layer [2020-12-31T22:22:54.735Z] 36b3adc4ff6f: Pulling fs layer [2020-12-31T22:22:54.735Z] 8ad3a11d3b57: Pulling fs layer [2020-12-31T22:22:54.735Z] 46f8f816bc3b: Pulling fs layer [2020-12-31T22:22:54.735Z] 93b61091891f: Pulling fs layer [2020-12-31T22:22:54.735Z] 93b9cdb0e59b: Pulling fs layer [2020-12-31T22:22:54.735Z] 5e14af77c1be: Pulling fs layer [2020-12-31T22:22:54.735Z] 01666e4c0597: Pulling fs layer [2020-12-31T22:22:54.735Z] aa168da1d23b: Pulling fs layer [2020-12-31T22:22:54.735Z] 46f8f816bc3b: Waiting [2020-12-31T22:22:54.735Z] 93b61091891f: Waiting [2020-12-31T22:22:54.735Z] 93b9cdb0e59b: Waiting [2020-12-31T22:22:54.735Z] 5e14af77c1be: Waiting [2020-12-31T22:22:54.735Z] 01666e4c0597: Waiting [2020-12-31T22:22:54.735Z] aa168da1d23b: Waiting [2020-12-31T22:22:54.735Z] 36b3adc4ff6f: Verifying Checksum [2020-12-31T22:22:54.735Z] 36b3adc4ff6f: Download complete [2020-12-31T22:22:54.735Z] 46f8f816bc3b: Download complete [2020-12-31T22:22:55.000Z] df20fa9351a1: Verifying Checksum [2020-12-31T22:22:55.000Z] df20fa9351a1: Download complete [2020-12-31T22:22:55.000Z] 93b9cdb0e59b: Verifying Checksum [2020-12-31T22:22:55.000Z] 93b9cdb0e59b: Download complete [2020-12-31T22:22:55.000Z] 93b61091891f: Verifying Checksum [2020-12-31T22:22:55.000Z] 93b61091891f: Download complete [2020-12-31T22:22:55.000Z] 5e14af77c1be: Verifying Checksum [2020-12-31T22:22:55.000Z] 5e14af77c1be: Download complete [2020-12-31T22:22:55.000Z] 01666e4c0597: Verifying Checksum [2020-12-31T22:22:55.000Z] 01666e4c0597: Download complete [2020-12-31T22:22:55.263Z] df20fa9351a1: Pull complete [2020-12-31T22:22:55.532Z] 8ad3a11d3b57: Verifying Checksum [2020-12-31T22:22:55.532Z] 8ad3a11d3b57: Download complete [2020-12-31T22:22:55.532Z] 36b3adc4ff6f: Pull complete [2020-12-31T22:22:56.111Z] 8ad3a11d3b57: Pull complete [2020-12-31T22:22:56.387Z] 46f8f816bc3b: Pull complete [2020-12-31T22:22:56.652Z] 93b61091891f: Pull complete [2020-12-31T22:22:57.229Z] 93b9cdb0e59b: Pull complete [2020-12-31T22:22:57.496Z] 5e14af77c1be: Pull complete [2020-12-31T22:22:57.496Z] aa168da1d23b: Verifying Checksum [2020-12-31T22:22:57.496Z] aa168da1d23b: Download complete [2020-12-31T22:22:57.758Z] 01666e4c0597: Pull complete [2020-12-31T22:23:04.410Z] aa168da1d23b: Pull complete [2020-12-31T22:23:04.410Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-31T22:23:04.410Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-31T22:23:04.410Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-31T22:23:04.612Z] prd-centos7-docker-4c-2g-17924 does not seem to be running inside a container [2020-12-31T22:23:04.663Z] $ 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-707/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-707 -v /w/workspace/dgexfoundry_device-sdk-go_PR-707:/w/workspace/dgexfoundry_device-sdk-go_PR-707:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-707@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 [2020-12-31T22:23:10.630Z] $ docker top 13d6d8ec9fbd0faf0e31d578f346d7c9b249978f736accc3e2d0269eaa13104e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-31T22:23:11.107Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-31T22:23:11.407Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-31T22:23:11.706Z] + ls /var/log/sa-host [2020-12-31T22:23:11.706Z] + sadf -c /var/log/sa-host/sa23 [2020-12-31T22:23:11.706Z] file_magic: OK [2020-12-31T22:23:11.706Z] HZ: Using current value: 100 [2020-12-31T22:23:11.706Z] file_header: OK [2020-12-31T22:23:11.706Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-31T22:23:11.706Z] Statistics: [2020-12-31T22:23:11.706Z] Hnuu...uuuununununu... [2020-12-31T22:23:11.706Z] File successfully converted to sysstat format version 12.2.1 [2020-12-31T22:23:11.706Z] + sadf -c /var/log/sa-host/sa31 [2020-12-31T22:23:11.706Z] file_magic: OK [2020-12-31T22:23:11.706Z] HZ: Using current value: 100 [2020-12-31T22:23:11.706Z] file_header: OK [2020-12-31T22:23:11.706Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-31T22:23:11.706Z] Statistics: [2020-12-31T22:23:11.706Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-31T22:23:11.706Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-31T22:23:12.354Z] provisioning config files... [2020-12-31T22:23:12.371Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp/config4609625066336790252tmp [Pipeline] { [Pipeline] echo [2020-12-31T22:23:12.463Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-31T22:23:12.762Z] ---> create-netrc.sh [Pipeline] } [2020-12-31T22:23:12.772Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-31T22:23:12.876Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-31T22:23:13.178Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-31T22:23:13.193Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-31T22:23:13.493Z] ---> sudo-logs.sh [2020-12-31T22:23:13.493Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-31T22:23:13.506Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-31T22:23:13.808Z] ---> job-cost.sh [2020-12-31T22:23:13.808Z] lf-activate-venv: SKIPPING [2020-12-31T22:23:13.808Z] INFO: No Stack... [2020-12-31T22:23:15.199Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-31T22:23:15.460Z] INFO: Archiving Costs [Pipeline] echo [2020-12-31T22:23:15.474Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-31T22:23:15.770Z] ---> logs-deploy.sh [2020-12-31T22:23:15.770Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-707/3 [2020-12-31T22:23:15.770Z] INFO: archiving workspace using pattern(s): [2020-12-31T22:23:17.694Z] Archives upload complete. [2020-12-31T22:23:17.694Z] INFO: archiving logs to Nexus