Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 42e5a1ea61e0adb23423a933a3224d1395f33e87 rather than 1d243b9086b4db4f65a8fc81fe8b6f0be7ce970d Obtained Jenkinsfile from 42e5a1ea61e0adb23423a933a3224d1395f33e87 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-17566 in /w/workspace/dgexfoundry_device-sdk-go_PR-701 [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-701 # 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 Merging remotes/origin/master commit 42e5a1ea61e0adb23423a933a3224d1395f33e87 into PR head commit 1d243b9086b4db4f65a8fc81fe8b6f0be7ce970d Merge succeeded, producing f7e26946eb1c27985fba750238850478c356cdb1 Checking out Revision f7e26946eb1c27985fba750238850478c356cdb1 (PR-701) > 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/701/head:refs/remotes/origin/PR-701 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1d243b9086b4db4f65a8fc81fe8b6f0be7ce970d # 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 f7e26946eb1c27985fba750238850478c356cdb1 # timeout=10 Commit message: "Merge commit '42e5a1ea61e0adb23423a933a3224d1395f33e87' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 273d5a985045ba56b5b3b45608352783840e985f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-29T02:42:34.449Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-29T02:42:34.746Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-29T02:42:34.843Z] ========================================================= [2020-12-29T02:42:34.843Z] EdgeX Global Pipelines Version Info [2020-12-29T02:42:34.843Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-29T02:42:36.488Z] ------------------- [2020-12-29T02:42:36.488Z] stable info: [2020-12-29T02:42:36.488Z] ------------------- [2020-12-29T02:42:36.488Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-29T02:42:36.488Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-29T02:42:36.488Z] Message: update stable to v1.0.173 [2020-12-29T02:42:37.474Z] ------------------- [2020-12-29T02:42:37.474Z] experimental info: [2020-12-29T02:42:37.474Z] ------------------- [2020-12-29T02:42:37.474Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-29T02:42:37.474Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-29T02:42:37.474Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-29T02:42:37.826Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-12-29T02:42:37.962Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-12-29T02:42:38.092Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-29T02:42:38.247Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-29T02:42:38.349Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-29T02:42:38.454Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-29T02:42:38.550Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-29T02:42:38.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-29T02:42:38.736Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-12-29T02:42:38.829Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-29T02:42:38.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-29T02:42:39.044Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-12-29T02:42:39.137Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-29T02:42:39.243Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-29T02:42:39.382Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-29T02:42:39.481Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-29T02:42:39.577Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-29T02:42:39.674Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-29T02:42:39.763Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-29T02:42:39.867Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-29T02:42:39.969Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-29T02:42:40.059Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-29T02:42:40.246Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-29T02:42:40.334Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-29T02:42:40.417Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-29T02:42:40.504Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-29T02:42:40.623Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-29T02:42:40.733Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-701 [Pipeline] echo [2020-12-29T02:42:40.825Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-701 [Pipeline] echo [2020-12-29T02:42:40.933Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-701 [Pipeline] echo [2020-12-29T02:42:41.043Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f7e26946eb1c27985fba750238850478c356cdb1 [Pipeline] echo [2020-12-29T02:42:41.132Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f7e2694 [Pipeline] echo [2020-12-29T02:42:41.219Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-29T02:42:41.395Z] provisioning config files... [2020-12-29T02:42:41.421Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp/config6682995620899297501tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-29T02:42:41.776Z] ---> docker-login.sh [2020-12-29T02:42:41.776Z] nexus3.edgexfoundry.org:10001 [2020-12-29T02:42:42.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-29T02:42:42.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-29T02:42:42.303Z] Configure a credential helper to remove this warning. See [2020-12-29T02:42:42.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-29T02:42:42.303Z] [2020-12-29T02:42:42.303Z] Login Succeeded [2020-12-29T02:42:42.303Z] nexus3.edgexfoundry.org:10002 [2020-12-29T02:42:42.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-29T02:42:42.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-29T02:42:42.303Z] Configure a credential helper to remove this warning. See [2020-12-29T02:42:42.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-29T02:42:42.303Z] [2020-12-29T02:42:42.303Z] Login Succeeded [2020-12-29T02:42:42.303Z] nexus3.edgexfoundry.org:10003 [2020-12-29T02:42:42.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-29T02:42:42.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-29T02:42:42.568Z] Configure a credential helper to remove this warning. See [2020-12-29T02:42:42.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-29T02:42:42.568Z] [2020-12-29T02:42:42.568Z] Login Succeeded [2020-12-29T02:42:42.568Z] nexus3.edgexfoundry.org:10004 [2020-12-29T02:42:42.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-29T02:42:42.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-29T02:42:42.831Z] Configure a credential helper to remove this warning. See [2020-12-29T02:42:42.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-29T02:42:42.831Z] [2020-12-29T02:42:42.831Z] Login Succeeded [2020-12-29T02:42:42.831Z] docker.io [2020-12-29T02:42:42.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-29T02:42:43.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-29T02:42:43.095Z] Configure a credential helper to remove this warning. See [2020-12-29T02:42:43.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-29T02:42:43.095Z] [2020-12-29T02:42:43.095Z] Login Succeeded [2020-12-29T02:42:43.095Z] ---> docker-login.sh ends [Pipeline] } [2020-12-29T02:42:43.105Z] 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-29T02:42:43.952Z] + git log --format=format:%s -1 f7e26946eb1c27985fba750238850478c356cdb1 [Pipeline] echo [2020-12-29T02:42:44.043Z] GIT_COMMIT: f7e26946eb1c27985fba750238850478c356cdb1, Commit Message: Merge commit '42e5a1ea61e0adb23423a933a3224d1395f33e87' into HEAD [Pipeline] echo [2020-12-29T02:42:44.087Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-29T02:42:44.679Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-29T02:42:44.679Z] [2020-12-29T02:42:44.679Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-29T02:42:45.037Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-29T02:42:45.037Z] latest: Pulling from edgex-devops/git-semver [2020-12-29T02:42:45.037Z] 31603596830f: Pulling fs layer [2020-12-29T02:42:45.037Z] 2a8b12db71e7: Pulling fs layer [2020-12-29T02:42:45.037Z] 6ca5941a6612: Pulling fs layer [2020-12-29T02:42:45.037Z] ecc8261a40a4: Pulling fs layer [2020-12-29T02:42:45.037Z] ecc8261a40a4: Waiting [2020-12-29T02:42:45.037Z] 2a8b12db71e7: Verifying Checksum [2020-12-29T02:42:45.037Z] 2a8b12db71e7: Download complete [2020-12-29T02:42:45.037Z] 31603596830f: Verifying Checksum [2020-12-29T02:42:45.037Z] 31603596830f: Download complete [2020-12-29T02:42:45.305Z] ecc8261a40a4: Verifying Checksum [2020-12-29T02:42:45.305Z] ecc8261a40a4: Download complete [2020-12-29T02:42:45.305Z] 6ca5941a6612: Verifying Checksum [2020-12-29T02:42:45.305Z] 6ca5941a6612: Download complete [2020-12-29T02:42:45.566Z] 31603596830f: Pull complete [2020-12-29T02:42:45.832Z] 2a8b12db71e7: Pull complete [2020-12-29T02:42:46.790Z] 6ca5941a6612: Pull complete [2020-12-29T02:42:47.054Z] ecc8261a40a4: Pull complete [2020-12-29T02:42:47.054Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-29T02:42:47.054Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-29T02:42:47.054Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-29T02:42:47.238Z] prd-centos7-docker-4c-2g-17566 does not seem to be running inside a container [2020-12-29T02:42:47.294Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-701 -v /w/workspace/dgexfoundry_device-sdk-go_PR-701:/w/workspace/dgexfoundry_device-sdk-go_PR-701:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-701@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-29T02:42:49.905Z] $ docker top 36fa6eb0bf8c8bbd953619221c321711c4725809be7af29b03b790e992cb3122 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-29T02:42:50.372Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-29T02:42:50.372Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-29T02:42:50.608Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-29T02:42:50.616Z] $ docker exec 36fa6eb0bf8c8bbd953619221c321711c4725809be7af29b03b790e992cb3122 ssh-agent [2020-12-29T02:42:50.792Z] SSH_AUTH_SOCK=/tmp/ssh-oRi44u8JPUUC/agent.12 [2020-12-29T02:42:50.792Z] SSH_AGENT_PID=18 [2020-12-29T02:42:50.807Z] Running ssh-add (command line suppressed) [2020-12-29T02:42:50.929Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp/private_key_7847832274417207998.key (/w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp/private_key_7847832274417207998.key) [2020-12-29T02:42:50.981Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-29T02:42:51.320Z] + git tag --points-at HEAD [Pipeline] } [2020-12-29T02:42:51.346Z] $ docker exec --env ******** --env ******** 36fa6eb0bf8c8bbd953619221c321711c4725809be7af29b03b790e992cb3122 ssh-agent -k [2020-12-29T02:42:51.461Z] unset SSH_AUTH_SOCK; [2020-12-29T02:42:51.461Z] unset SSH_AGENT_PID; [2020-12-29T02:42:51.461Z] echo Agent pid 18 killed; [2020-12-29T02:42:51.508Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-29T02:42:51.679Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-29T02:42:51.679Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-29T02:42:51.842Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-29T02:42:51.849Z] $ docker exec 36fa6eb0bf8c8bbd953619221c321711c4725809be7af29b03b790e992cb3122 ssh-agent [2020-12-29T02:42:52.008Z] SSH_AUTH_SOCK=/tmp/ssh-0QU5r44kveA0/agent.47 [2020-12-29T02:42:52.008Z] SSH_AGENT_PID=53 [2020-12-29T02:42:52.016Z] Running ssh-add (command line suppressed) [2020-12-29T02:42:52.135Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp/private_key_1472606712727103614.key (/w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp/private_key_1472606712727103614.key) [2020-12-29T02:42:52.183Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-29T02:42:52.520Z] + git semver init [2020-12-29T02:42:52.520Z] # -> Open(): unable to determine branch for HEAD [2020-12-29T02:42:52.520Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-701/.git [2020-12-29T02:42:52.520Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-701 [2020-12-29T02:42:52.520Z] # $SEMVER_REMOTE_NAME = origin [2020-12-29T02:42:52.520Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-29T02:42:52.520Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-29T02:42:52.520Z] # $SEMVER_BRANCH = PR-701 [2020-12-29T02:42:52.520Z] # $SEMVER_TEMP = /tmp/semver-239121883 [2020-12-29T02:42:52.520Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-12-29T02:42:53.097Z] # '/tmp/semver-239121883' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-701/.semver' [2020-12-29T02:42:53.097Z] # -> Force: false [2020-12-29T02:42:53.097Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-701/.semver [Pipeline] } [2020-12-29T02:42:53.140Z] $ docker exec --env ******** --env ******** 36fa6eb0bf8c8bbd953619221c321711c4725809be7af29b03b790e992cb3122 ssh-agent -k [2020-12-29T02:42:53.318Z] unset SSH_AUTH_SOCK; [2020-12-29T02:42:53.319Z] unset SSH_AGENT_PID; [2020-12-29T02:42:53.319Z] echo Agent pid 53 killed; [2020-12-29T02:42:53.377Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-29T02:42:53.908Z] + git semver [Pipeline] } [2020-12-29T02:42:53.931Z] $ docker stop --time=1 36fa6eb0bf8c8bbd953619221c321711c4725809be7af29b03b790e992cb3122 [2020-12-29T02:42:55.523Z] $ docker rm -f 36fa6eb0bf8c8bbd953619221c321711c4725809be7af29b03b790e992cb3122 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-29T02:42:56.007Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-29T02:42:56.523Z] Stashed 1 file(s) [Pipeline] echo [2020-12-29T02:42:56.526Z] [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-29T02:43:12.064Z] Still waiting to schedule task [2020-12-29T02:43:12.064Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-29T02:43:12.066Z] Still waiting to schedule task [2020-12-29T02:43:12.066Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-29T02:45:26.368Z] Running on prd-centos7-docker-4c-2g-17575 in /w/workspace/dgexfoundry_device-sdk-go_PR-701 [Pipeline] { [Pipeline] ws [2020-12-29T02:45:26.425Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-12-29T02:45:28.776Z] using credential edgex-jenkins-ssh [2020-12-29T02:45:28.827Z] Cloning the remote Git repository [2020-12-29T02:45:28.561Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-29T02:45:28.634Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2020-12-29T02:45:28.694Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-29T02:45:28.695Z] > git --version # timeout=10 [2020-12-29T02:45:28.701Z] > git --version # 'git version 2.24.3' [2020-12-29T02:45:28.702Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-29T02:45:28.731Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-29T02:45:29.495Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-29T02:45:29.502Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-29T02:45:29.515Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-29T02:45:30.291Z] Merging remotes/origin/master commit 42e5a1ea61e0adb23423a933a3224d1395f33e87 into PR head commit 1d243b9086b4db4f65a8fc81fe8b6f0be7ce970d [2020-12-29T02:45:30.497Z] Merge succeeded, producing 77d7a56c7bd547208d4c829717bfb50a89a9e658 [2020-12-29T02:45:30.497Z] Checking out Revision 77d7a56c7bd547208d4c829717bfb50a89a9e658 (PR-701) [2020-12-29T02:45:29.536Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-29T02:45:29.537Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-29T02:45:29.545Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/701/head:refs/remotes/origin/PR-701 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-29T02:45:30.127Z] > git config core.sparsecheckout # timeout=10 [2020-12-29T02:45:30.135Z] > git checkout -f 1d243b9086b4db4f65a8fc81fe8b6f0be7ce970d # timeout=10 [2020-12-29T02:45:30.235Z] > git remote # timeout=10 [2020-12-29T02:45:30.241Z] > git config --get remote.origin.url # timeout=10 [2020-12-29T02:45:30.246Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-29T02:45:30.249Z] > git merge 42e5a1ea61e0adb23423a933a3224d1395f33e87 # timeout=10 [2020-12-29T02:45:30.330Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-29T02:45:30.350Z] > git config core.sparsecheckout # timeout=10 [2020-12-29T02:45:30.359Z] > git checkout -f 77d7a56c7bd547208d4c829717bfb50a89a9e658 # timeout=10 [2020-12-29T02:45:34.103Z] Commit message: "Merge commit '42e5a1ea61e0adb23423a933a3224d1395f33e87' into HEAD" [2020-12-29T02:45:34.116Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [2020-12-29T02:45:34.108Z] > git rev-list --no-walk 273d5a985045ba56b5b3b45608352783840e985f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-29T02:45:35.334Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-29T02:45:35.693Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-29T02:45:36.001Z] + sudo service docker restart [2020-12-29T02:45:36.001Z] + true [2020-12-29T02:45:36.001Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-29T02:45:37.992Z] provisioning config files... [2020-12-29T02:45:38.020Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config8032604565050773707tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-29T02:45:38.415Z] ---> docker-login.sh [2020-12-29T02:45:38.415Z] nexus3.edgexfoundry.org:10001 [2020-12-29T02:45:38.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-29T02:45:38.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-29T02:45:38.685Z] Configure a credential helper to remove this warning. See [2020-12-29T02:45:38.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-29T02:45:38.685Z] [2020-12-29T02:45:38.685Z] Login Succeeded [2020-12-29T02:45:38.685Z] nexus3.edgexfoundry.org:10002 [2020-12-29T02:45:38.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-29T02:45:38.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-29T02:45:38.951Z] Configure a credential helper to remove this warning. See [2020-12-29T02:45:38.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-29T02:45:38.951Z] [2020-12-29T02:45:38.951Z] Login Succeeded [2020-12-29T02:45:38.951Z] nexus3.edgexfoundry.org:10003 [2020-12-29T02:45:39.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-29T02:45:39.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-29T02:45:39.482Z] Configure a credential helper to remove this warning. See [2020-12-29T02:45:39.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-29T02:45:39.482Z] [2020-12-29T02:45:39.482Z] Login Succeeded [2020-12-29T02:45:39.482Z] nexus3.edgexfoundry.org:10004 [2020-12-29T02:45:39.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-29T02:45:39.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-29T02:45:39.745Z] Configure a credential helper to remove this warning. See [2020-12-29T02:45:39.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-29T02:45:39.745Z] [2020-12-29T02:45:39.745Z] Login Succeeded [2020-12-29T02:45:39.745Z] docker.io [2020-12-29T02:45:39.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-29T02:45:40.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-29T02:45:40.008Z] Configure a credential helper to remove this warning. See [2020-12-29T02:45:40.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-29T02:45:40.008Z] [2020-12-29T02:45:40.008Z] Login Succeeded [2020-12-29T02:45:40.008Z] ---> docker-login.sh ends [Pipeline] } [2020-12-29T02:45:40.018Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-29T02:45:40.360Z] ========================================================= [2020-12-29T02:45:40.360Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-29T02:45:40.360Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-29T02:45:40.751Z] + 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-29T02:45:41.016Z] Sending build context to Docker daemon 2.472MB [2020-12-29T02:45:41.016Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-29T02:45:41.016Z] Step 2/8 : FROM ${BASE} [2020-12-29T02:45:41.016Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-29T02:45:41.016Z] 188c0c94c7c5: Pulling fs layer [2020-12-29T02:45:41.016Z] 0ef7d3d256c8: Pulling fs layer [2020-12-29T02:45:41.016Z] de9db76c5a1d: Pulling fs layer [2020-12-29T02:45:41.016Z] bca2f99d35d6: Pulling fs layer [2020-12-29T02:45:41.016Z] 93359f2a8cfa: Pulling fs layer [2020-12-29T02:45:41.016Z] 7c6f9722023f: Pulling fs layer [2020-12-29T02:45:41.016Z] a35cf1a2eb13: Pulling fs layer [2020-12-29T02:45:41.016Z] bca2f99d35d6: Waiting [2020-12-29T02:45:41.016Z] 93359f2a8cfa: Waiting [2020-12-29T02:45:41.016Z] 7c6f9722023f: Waiting [2020-12-29T02:45:41.016Z] a35cf1a2eb13: Waiting [2020-12-29T02:45:41.016Z] de9db76c5a1d: Verifying Checksum [2020-12-29T02:45:41.016Z] de9db76c5a1d: Download complete [2020-12-29T02:45:41.016Z] 0ef7d3d256c8: Verifying Checksum [2020-12-29T02:45:41.016Z] 0ef7d3d256c8: Download complete [2020-12-29T02:45:41.016Z] 93359f2a8cfa: Verifying Checksum [2020-12-29T02:45:41.016Z] 93359f2a8cfa: Download complete [2020-12-29T02:45:41.016Z] 7c6f9722023f: Verifying Checksum [2020-12-29T02:45:41.016Z] 7c6f9722023f: Download complete [2020-12-29T02:45:41.279Z] 188c0c94c7c5: Verifying Checksum [2020-12-29T02:45:41.279Z] 188c0c94c7c5: Download complete [2020-12-29T02:45:41.544Z] 188c0c94c7c5: Pull complete [2020-12-29T02:45:41.807Z] 0ef7d3d256c8: Pull complete [2020-12-29T02:45:41.807Z] de9db76c5a1d: Pull complete [2020-12-29T02:45:43.756Z] a35cf1a2eb13: Verifying Checksum [2020-12-29T02:45:43.756Z] a35cf1a2eb13: Download complete [2020-12-29T02:45:44.022Z] bca2f99d35d6: Verifying Checksum [2020-12-29T02:45:44.022Z] bca2f99d35d6: Download complete [2020-12-29T02:45:50.686Z] bca2f99d35d6: Pull complete [2020-12-29T02:45:50.686Z] 93359f2a8cfa: Pull complete [2020-12-29T02:45:50.686Z] 7c6f9722023f: Pull complete [2020-12-29T02:45:56.035Z] a35cf1a2eb13: Pull complete [2020-12-29T02:45:56.035Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-29T02:45:56.035Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-29T02:45:56.035Z] ---> a62c8e92a672 [2020-12-29T02:45:56.035Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-29T02:45:56.035Z] ---> Running in 70edb445a394 [2020-12-29T02:45:56.307Z] Removing intermediate container 70edb445a394 [2020-12-29T02:45:56.307Z] ---> b26fb9e90369 [2020-12-29T02:45:56.307Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-29T02:45:56.307Z] ---> Running in 0a9e2db23ce1 [2020-12-29T02:45:57.322Z] Removing intermediate container 0a9e2db23ce1 [2020-12-29T02:45:57.322Z] ---> d45644dbabfa [2020-12-29T02:45:57.322Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-29T02:45:57.591Z] ---> Running in 7ef0d70c88f7 [2020-12-29T02:45:58.543Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-29T02:45:59.141Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-29T02:46:00.053Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-17571 in /w/workspace/dgexfoundry_device-sdk-go_PR-701 [Pipeline] { [2020-12-29T02:46:00.099Z] OK: 166 MiB in 39 packages [Pipeline] ws [2020-12-29T02:46:00.107Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-12-29T02:46:00.363Z] Removing intermediate container 7ef0d70c88f7 [2020-12-29T02:46:00.363Z] ---> a35ea5ad0a64 [2020-12-29T02:46:00.363Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-29T02:46:00.628Z] ---> Running in 09dda24bf881 [2020-12-29T02:46:00.628Z] Removing intermediate container 09dda24bf881 [2020-12-29T02:46:00.628Z] ---> 7327470f0bc5 [2020-12-29T02:46:00.628Z] Step 7/8 : COPY . . [2020-12-29T02:46:02.028Z] ---> 48358fb2ccda [2020-12-29T02:46:02.028Z] Step 8/8 : RUN go mod download [2020-12-29T02:46:02.028Z] ---> Running in c81c586e1171 [2020-12-29T02:46:05.664Z] using credential edgex-jenkins-ssh [2020-12-29T02:46:05.725Z] Cloning the remote Git repository [2020-12-29T02:46:05.812Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-29T02:46:05.937Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2020-12-29T02:46:06.049Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-29T02:46:06.050Z] > git --version # timeout=10 [2020-12-29T02:46:06.075Z] > git --version # 'git version 2.17.1' [2020-12-29T02:46:06.077Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-29T02:46:06.163Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-29T02:46:07.408Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-29T02:46:07.433Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-29T02:46:07.474Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-29T02:46:07.522Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-29T02:46:07.523Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-29T02:46:07.549Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/701/head:refs/remotes/origin/PR-701 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-29T02:46:08.199Z] Merging remotes/origin/master commit 42e5a1ea61e0adb23423a933a3224d1395f33e87 into PR head commit 1d243b9086b4db4f65a8fc81fe8b6f0be7ce970d [2020-12-29T02:46:08.612Z] Merge succeeded, producing a69f40ae173603b1dbe19ae15b321be2ade7cfb3 [2020-12-29T02:46:08.612Z] Checking out Revision a69f40ae173603b1dbe19ae15b321be2ade7cfb3 (PR-701) [2020-12-29T02:46:08.241Z] > git config core.sparsecheckout # timeout=10 [2020-12-29T02:46:08.270Z] > git checkout -f 1d243b9086b4db4f65a8fc81fe8b6f0be7ce970d # timeout=10 [2020-12-29T02:46:08.423Z] > git remote # timeout=10 [2020-12-29T02:46:08.447Z] > git config --get remote.origin.url # timeout=10 [2020-12-29T02:46:08.478Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-29T02:46:08.492Z] > git merge 42e5a1ea61e0adb23423a933a3224d1395f33e87 # timeout=10 [2020-12-29T02:46:08.601Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-29T02:46:08.635Z] > git config core.sparsecheckout # timeout=10 [2020-12-29T02:46:08.659Z] > git checkout -f a69f40ae173603b1dbe19ae15b321be2ade7cfb3 # timeout=10 [2020-12-29T02:46:13.354Z] Commit message: "Merge commit '42e5a1ea61e0adb23423a933a3224d1395f33e87' into HEAD" [2020-12-29T02:46:13.381Z] First time build. Skipping changelog. [2020-12-29T02:46:13.376Z] > git rev-list --no-walk 273d5a985045ba56b5b3b45608352783840e985f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-29T02:46:14.909Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-29T02:46:15.389Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-29T02:46:15.736Z] + true [2020-12-29T02:46:15.736Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-29T02:46:17.806Z] provisioning config files... [2020-12-29T02:46:17.848Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config8130822244132584241tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-29T02:46:18.290Z] ---> docker-login.sh [2020-12-29T02:46:18.290Z] nexus3.edgexfoundry.org:10001 [2020-12-29T02:46:19.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-29T02:46:19.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-29T02:46:19.600Z] Configure a credential helper to remove this warning. See [2020-12-29T02:46:19.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-29T02:46:19.600Z] [2020-12-29T02:46:19.600Z] Login Succeeded [2020-12-29T02:46:19.600Z] nexus3.edgexfoundry.org:10002 [2020-12-29T02:46:20.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-29T02:46:20.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-29T02:46:20.206Z] Configure a credential helper to remove this warning. See [2020-12-29T02:46:20.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-29T02:46:20.206Z] [2020-12-29T02:46:20.206Z] Login Succeeded [2020-12-29T02:46:20.206Z] nexus3.edgexfoundry.org:10003 [2020-12-29T02:46:20.355Z] Removing intermediate container c81c586e1171 [2020-12-29T02:46:20.355Z] ---> 7e03a261fd16 [2020-12-29T02:46:20.355Z] Successfully built 7e03a261fd16 [2020-12-29T02:46:20.355Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-29T02:46:20.744Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-29T02:46:20.744Z] . [Pipeline] withDockerContainer [2020-12-29T02:46:20.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-29T02:46:20.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-29T02:46:20.822Z] Configure a credential helper to remove this warning. See [2020-12-29T02:46:20.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-29T02:46:20.822Z] [2020-12-29T02:46:20.822Z] Login Succeeded [2020-12-29T02:46:20.822Z] nexus3.edgexfoundry.org:10004 [2020-12-29T02:46:21.071Z] prd-centos7-docker-4c-2g-17575 does not seem to be running inside a container [2020-12-29T02:46:21.163Z] $ 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-29T02:46:21.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-29T02:46:21.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-29T02:46:21.474Z] Configure a credential helper to remove this warning. See [2020-12-29T02:46:21.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-29T02:46:21.474Z] [2020-12-29T02:46:21.474Z] Login Succeeded [2020-12-29T02:46:21.474Z] docker.io [2020-12-29T02:46:22.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-29T02:46:22.128Z] $ docker top cf900c34eb65301283b6592606902373d902b216d48dd5fdb7940f3372a0f7d2 -eo pid,comm [Pipeline] { [2020-12-29T02:46:22.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-29T02:46:22.374Z] Configure a credential helper to remove this warning. See [2020-12-29T02:46:22.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-29T02:46:22.374Z] [2020-12-29T02:46:22.374Z] Login Succeeded [2020-12-29T02:46:22.374Z] ---> docker-login.sh ends [Pipeline] } [2020-12-29T02:46:22.396Z] Deleting 1 temporary files [Pipeline] sh [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2020-12-29T02:46:22.696Z] + go version [2020-12-29T02:46:22.696Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-29T02:46:22.720Z] $ docker stop --time=1 cf900c34eb65301283b6592606902373d902b216d48dd5fdb7940f3372a0f7d2 [2020-12-29T02:46:24.121Z] $ docker rm -f cf900c34eb65301283b6592606902373d902b216d48dd5fdb7940f3372a0f7d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] echo [2020-12-29T02:46:24.316Z] ========================================================= [2020-12-29T02:46:24.316Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-29T02:46:24.316Z] ========================================================= [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-29T02:46:24.801Z] + 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-29T02:46:24.946Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-29T02:46:24.946Z] . [Pipeline] withDockerContainer [2020-12-29T02:46:25.078Z] prd-centos7-docker-4c-2g-17575 does not seem to be running inside a container [2020-12-29T02:46:25.179Z] $ 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-29T02:46:25.416Z] Sending build context to Docker daemon 2.473MB [2020-12-29T02:46:25.416Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-29T02:46:25.416Z] Step 2/8 : FROM ${BASE} [2020-12-29T02:46:25.416Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-29T02:46:25.416Z] 5f621e34cdf4: Pulling fs layer [2020-12-29T02:46:25.416Z] a4357932f1b6: Pulling fs layer [2020-12-29T02:46:25.416Z] 18c013af1878: Pulling fs layer [2020-12-29T02:46:25.416Z] 00ac8860ef70: Pulling fs layer [2020-12-29T02:46:25.416Z] 63d7cb157983: Pulling fs layer [2020-12-29T02:46:25.416Z] b116817d02f9: Pulling fs layer [2020-12-29T02:46:25.416Z] 745a02a5169b: Pulling fs layer [2020-12-29T02:46:25.416Z] 00ac8860ef70: Waiting [2020-12-29T02:46:25.416Z] 63d7cb157983: Waiting [2020-12-29T02:46:25.416Z] 745a02a5169b: Waiting [2020-12-29T02:46:25.416Z] b116817d02f9: Waiting [2020-12-29T02:46:25.416Z] 18c013af1878: Download complete [2020-12-29T02:46:25.416Z] a4357932f1b6: Download complete [2020-12-29T02:46:25.695Z] 63d7cb157983: Verifying Checksum [2020-12-29T02:46:25.695Z] 63d7cb157983: Download complete [2020-12-29T02:46:25.695Z] b116817d02f9: Download complete [2020-12-29T02:46:25.797Z] $ docker top 7ecdc8432a095c32e5f65d20b9ca12f290de6a033a81e58f4bb64b2889a87124 -eo pid,comm [Pipeline] { [2020-12-29T02:46:25.976Z] 5f621e34cdf4: Verifying Checksum [2020-12-29T02:46:25.976Z] 5f621e34cdf4: Download complete [Pipeline] sh [2020-12-29T02:46:26.272Z] + make test [2020-12-29T02:46:26.272Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-29T02:46:26.593Z] 5f621e34cdf4: Pull complete [2020-12-29T02:46:27.209Z] a4357932f1b6: Pull complete [2020-12-29T02:46:27.496Z] 18c013af1878: Pull complete [2020-12-29T02:46:28.513Z] 745a02a5169b: Verifying Checksum [2020-12-29T02:46:28.513Z] 745a02a5169b: Download complete [2020-12-29T02:46:29.512Z] 00ac8860ef70: Verifying Checksum [2020-12-29T02:46:29.512Z] 00ac8860ef70: Download complete [2020-12-29T02:46:36.417Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-29T02:46:39.703Z] 00ac8860ef70: Pull complete [2020-12-29T02:46:39.704Z] 63d7cb157983: Pull complete [2020-12-29T02:46:39.980Z] b116817d02f9: Pull complete [2020-12-29T02:46:44.312Z] 745a02a5169b: Pull complete [2020-12-29T02:46:44.312Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-29T02:46:44.312Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-29T02:46:44.312Z] ---> b7e6874047d6 [2020-12-29T02:46:44.312Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-29T02:46:46.940Z] ---> Running in 8f04b2c5ef84 [2020-12-29T02:46:46.940Z] Removing intermediate container 8f04b2c5ef84 [2020-12-29T02:46:46.940Z] ---> 996a8589d22b [2020-12-29T02:46:46.940Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-29T02:46:47.218Z] ---> Running in a0c3c20a742a [2020-12-29T02:46:48.839Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-29T02:46:48.839Z] internal/v2/application/command.go:495:23: undefined: v2.ValueTypeString [2020-12-29T02:46:48.839Z] internal/v2/application/command.go:497:23: undefined: v2.ValueTypeBool [2020-12-29T02:46:48.839Z] internal/v2/application/command.go:503:23: undefined: v2.ValueTypeBoolArray [2020-12-29T02:46:48.839Z] internal/v2/application/command.go:510:23: undefined: v2.ValueTypeUint8 [2020-12-29T02:46:48.839Z] internal/v2/application/command.go:516:23: undefined: v2.ValueTypeUint8Array [2020-12-29T02:46:48.839Z] internal/v2/application/command.go:527:23: undefined: v2.ValueTypeUint16 [2020-12-29T02:46:48.839Z] internal/v2/application/command.go:533:23: undefined: v2.ValueTypeUint16Array [2020-12-29T02:46:48.839Z] internal/v2/application/command.go:544:23: undefined: v2.ValueTypeUint32 [2020-12-29T02:46:48.839Z] internal/v2/application/command.go:550:23: undefined: v2.ValueTypeUint32Array [2020-12-29T02:46:48.839Z] internal/v2/application/command.go:561:23: undefined: v2.ValueTypeUint64 [2020-12-29T02:46:48.839Z] internal/v2/application/command.go:561:23: too many errors [2020-12-29T02:46:49.222Z] Removing intermediate container a0c3c20a742a [2020-12-29T02:46:49.222Z] ---> b2299c4999c3 [2020-12-29T02:46:49.222Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-29T02:46:49.497Z] ---> Running in 1a8381b17290 [2020-12-29T02:46:50.476Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-29T02:46:51.455Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-29T02:46:52.220Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.044s coverage: 19.4% of statements [2020-12-29T02:46:52.887Z] OK: 142 MiB in 39 packages [2020-12-29T02:46:53.862Z] Removing intermediate container 1a8381b17290 [2020-12-29T02:46:53.862Z] ---> 10f71508ddb6 [2020-12-29T02:46:53.862Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-29T02:46:54.134Z] ---> Running in ffbbb9feb02a [2020-12-29T02:46:54.180Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.437s coverage: 97.1% of statements [2020-12-29T02:46:54.406Z] Removing intermediate container ffbbb9feb02a [2020-12-29T02:46:54.406Z] ---> dbc1f9f25bf2 [2020-12-29T02:46:54.406Z] Step 7/8 : COPY . . [2020-12-29T02:46:55.850Z] ---> 4cb00149f191 [2020-12-29T02:46:55.850Z] Step 8/8 : RUN go mod download [2020-12-29T02:46:55.850Z] ---> Running in 2830d5762900 [2020-12-29T02:47:18.058Z] Removing intermediate container 2830d5762900 [2020-12-29T02:47:18.058Z] ---> 39fa48df4623 [2020-12-29T02:47:18.058Z] Successfully built 39fa48df4623 [2020-12-29T02:47:18.058Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-29T02:47:18.413Z] + docker inspect -f . ci-base-image-arm64 [2020-12-29T02:47:18.413Z] . [Pipeline] withDockerContainer [2020-12-29T02:47:18.712Z] prd-ubuntu18.04-docker-arm64-4c-16g-17571 does not seem to be running inside a container [2020-12-29T02:47:18.825Z] $ 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-29T02:47:20.517Z] $ docker top 3f4cec427189bb60df6aaef59e2e21762da64e2967959609db715a0f545cfa8d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-29T02:47:21.606Z] + go version [2020-12-29T02:47:21.606Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-29T02:47:21.640Z] $ docker stop --time=1 3f4cec427189bb60df6aaef59e2e21762da64e2967959609db715a0f545cfa8d [2020-12-29T02:47:23.616Z] $ docker rm -f 3f4cec427189bb60df6aaef59e2e21762da64e2967959609db715a0f545cfa8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-29T02:47:24.754Z] + docker inspect -f . ci-base-image-arm64 [2020-12-29T02:47:24.754Z] . [Pipeline] withDockerContainer [2020-12-29T02:47:25.050Z] prd-ubuntu18.04-docker-arm64-4c-16g-17571 does not seem to be running inside a container [2020-12-29T02:47:25.165Z] $ 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-29T02:47:26.339Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.041s coverage: 9.4% of statements [2020-12-29T02:47:26.339Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.026s coverage: 21.9% of statements [2020-12-29T02:47:26.339Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-12-29T02:47:26.339Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.263s coverage: 68.9% of statements [2020-12-29T02:47:26.339Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.051s coverage: 53.8% of statements [2020-12-29T02:47:26.339Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.659s coverage: 68.9% of statements [2020-12-29T02:47:26.339Z] FAIL github.com/edgexfoundry/device-sdk-go/pkg/service [build failed] [2020-12-29T02:47:26.339Z] make: *** [Makefile:32: test] Error 2 [2020-12-29T02:47:26.831Z] $ docker top 2be292ea83dae91463553a1df1d3f2e1e721f6e7422e0b82981cf3bc7e6dd629 -eo pid,comm [Pipeline] { [Pipeline] } [2020-12-29T02:47:27.227Z] $ docker stop --time=1 7ecdc8432a095c32e5f65d20b9ca12f290de6a033a81e58f4bb64b2889a87124 [2020-12-29T02:47:28.802Z] $ docker rm -f 7ecdc8432a095c32e5f65d20b9ca12f290de6a033a81e58f4bb64b2889a87124 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [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 [2020-12-29T02:47:29.750Z] + make test [2020-12-29T02:47:29.750Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [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-29T02:47:30.565Z] Failed in branch amd64 [2020-12-29T02:47:51.973Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-29T02:48:31.069Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-29T02:48:31.069Z] internal/v2/application/command.go:495:23: undefined: v2.ValueTypeString [2020-12-29T02:48:31.069Z] internal/v2/application/command.go:497:23: undefined: v2.ValueTypeBool [2020-12-29T02:48:31.069Z] internal/v2/application/command.go:503:23: undefined: v2.ValueTypeBoolArray [2020-12-29T02:48:31.069Z] internal/v2/application/command.go:510:23: undefined: v2.ValueTypeUint8 [2020-12-29T02:48:31.069Z] internal/v2/application/command.go:516:23: undefined: v2.ValueTypeUint8Array [2020-12-29T02:48:31.069Z] internal/v2/application/command.go:527:23: undefined: v2.ValueTypeUint16 [2020-12-29T02:48:31.069Z] internal/v2/application/command.go:533:23: undefined: v2.ValueTypeUint16Array [2020-12-29T02:48:31.069Z] internal/v2/application/command.go:544:23: undefined: v2.ValueTypeUint32 [2020-12-29T02:48:31.069Z] internal/v2/application/command.go:550:23: undefined: v2.ValueTypeUint32Array [2020-12-29T02:48:31.069Z] internal/v2/application/command.go:561:23: undefined: v2.ValueTypeUint64 [2020-12-29T02:48:31.069Z] internal/v2/application/command.go:561:23: too many errors [2020-12-29T02:48:36.500Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.105s coverage: 19.4% of statements [2020-12-29T02:48:41.944Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.142s coverage: 97.1% of statements [2020-12-29T02:49:08.755Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.061s coverage: 9.4% of statements [2020-12-29T02:49:08.755Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.070s coverage: 21.9% of statements [2020-12-29T02:49:08.755Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-12-29T02:49:08.755Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.749s coverage: 68.9% of statements [2020-12-29T02:49:08.755Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.155s coverage: 53.8% of statements [2020-12-29T02:49:08.755Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.867s coverage: 68.9% of statements [2020-12-29T02:49:08.755Z] FAIL github.com/edgexfoundry/device-sdk-go/pkg/service [build failed] [2020-12-29T02:49:08.755Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2020-12-29T02:49:08.794Z] $ docker stop --time=1 2be292ea83dae91463553a1df1d3f2e1e721f6e7422e0b82981cf3bc7e6dd629 [2020-12-29T02:49:11.001Z] $ docker rm -f 2be292ea83dae91463553a1df1d3f2e1e721f6e7422e0b82981cf3bc7e6dd629 [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-29T02:49:13.004Z] 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-29T02:49:15.510Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-29T02:49:15.816Z] ---> package-listing.sh [2020-12-29T02:49:15.816Z] ++ facter osfamily [2020-12-29T02:49:15.816Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-29T02:49:15.816Z] + OS_FAMILY=redhat [2020-12-29T02:49:15.816Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-701 [2020-12-29T02:49:15.816Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-29T02:49:15.816Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-29T02:49:15.816Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-29T02:49:15.816Z] + PACKAGES=/tmp/packages_start.txt [2020-12-29T02:49:15.816Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-701 ']' [2020-12-29T02:49:15.816Z] + PACKAGES=/tmp/packages_end.txt [2020-12-29T02:49:15.816Z] + case "${OS_FAMILY}" in [2020-12-29T02:49:15.816Z] + rpm -qa [2020-12-29T02:49:15.816Z] + sort [2020-12-29T02:49:21.120Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-29T02:49:21.120Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-29T02:49:21.120Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-29T02:49:21.120Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-701 ']' [2020-12-29T02:49:21.120Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-701/archives/ [2020-12-29T02:49:21.120Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-701/archives/ [Pipeline] echo [2020-12-29T02:49:21.134Z] 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-701/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-29T02:49:21.425Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-29T02:49:21.733Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-29T02:49:21.733Z] [2020-12-29T02:49:21.733Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-29T02:49:22.095Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-29T02:49:22.095Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-29T02:49:22.095Z] df20fa9351a1: Pulling fs layer [2020-12-29T02:49:22.095Z] 36b3adc4ff6f: Pulling fs layer [2020-12-29T02:49:22.095Z] 8ad3a11d3b57: Pulling fs layer [2020-12-29T02:49:22.095Z] 46f8f816bc3b: Pulling fs layer [2020-12-29T02:49:22.095Z] 93b61091891f: Pulling fs layer [2020-12-29T02:49:22.095Z] 93b9cdb0e59b: Pulling fs layer [2020-12-29T02:49:22.095Z] 5e14af77c1be: Pulling fs layer [2020-12-29T02:49:22.095Z] 01666e4c0597: Pulling fs layer [2020-12-29T02:49:22.095Z] aa168da1d23b: Pulling fs layer [2020-12-29T02:49:22.095Z] 46f8f816bc3b: Waiting [2020-12-29T02:49:22.095Z] 93b61091891f: Waiting [2020-12-29T02:49:22.095Z] 93b9cdb0e59b: Waiting [2020-12-29T02:49:22.095Z] 5e14af77c1be: Waiting [2020-12-29T02:49:22.095Z] 01666e4c0597: Waiting [2020-12-29T02:49:22.095Z] aa168da1d23b: Waiting [2020-12-29T02:49:22.095Z] 36b3adc4ff6f: Verifying Checksum [2020-12-29T02:49:22.095Z] 36b3adc4ff6f: Download complete [2020-12-29T02:49:22.095Z] 46f8f816bc3b: Download complete [2020-12-29T02:49:22.095Z] df20fa9351a1: Verifying Checksum [2020-12-29T02:49:22.095Z] df20fa9351a1: Download complete [2020-12-29T02:49:22.358Z] 93b9cdb0e59b: Verifying Checksum [2020-12-29T02:49:22.358Z] 93b9cdb0e59b: Download complete [2020-12-29T02:49:22.358Z] 5e14af77c1be: Verifying Checksum [2020-12-29T02:49:22.358Z] 5e14af77c1be: Download complete [2020-12-29T02:49:22.358Z] 93b61091891f: Download complete [2020-12-29T02:49:22.358Z] 01666e4c0597: Verifying Checksum [2020-12-29T02:49:22.358Z] 01666e4c0597: Download complete [2020-12-29T02:49:22.620Z] df20fa9351a1: Pull complete [2020-12-29T02:49:22.882Z] 36b3adc4ff6f: Pull complete [2020-12-29T02:49:22.882Z] 8ad3a11d3b57: Verifying Checksum [2020-12-29T02:49:22.882Z] 8ad3a11d3b57: Download complete [2020-12-29T02:49:23.463Z] 8ad3a11d3b57: Pull complete [2020-12-29T02:49:23.728Z] 46f8f816bc3b: Pull complete [2020-12-29T02:49:24.679Z] aa168da1d23b: Verifying Checksum [2020-12-29T02:49:24.679Z] aa168da1d23b: Download complete [2020-12-29T02:49:24.945Z] 93b61091891f: Pull complete [2020-12-29T02:49:25.210Z] 93b9cdb0e59b: Pull complete [2020-12-29T02:49:25.473Z] 5e14af77c1be: Pull complete [2020-12-29T02:49:25.473Z] 01666e4c0597: Pull complete [2020-12-29T02:49:32.116Z] aa168da1d23b: Pull complete [2020-12-29T02:49:32.116Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-29T02:49:32.116Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-29T02:49:32.116Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-29T02:49:32.259Z] prd-centos7-docker-4c-2g-17566 does not seem to be running inside a container [2020-12-29T02:49:32.308Z] $ 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-701/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-701 -v /w/workspace/dgexfoundry_device-sdk-go_PR-701:/w/workspace/dgexfoundry_device-sdk-go_PR-701:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-701@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-29T02:49:35.619Z] $ docker top 3c06567f0b603a34caa642330847f8b34518c9b6dbd9e459710d42eb5178ae16 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-29T02:49:36.204Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-29T02:49:36.507Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-29T02:49:36.810Z] + ls /var/log/sa-host [2020-12-29T02:49:36.810Z] + sadf -c /var/log/sa-host/sa23 [2020-12-29T02:49:36.810Z] file_magic: OK [2020-12-29T02:49:36.810Z] HZ: Using current value: 100 [2020-12-29T02:49:36.810Z] file_header: OK [2020-12-29T02:49:36.810Z] 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-29T02:49:36.810Z] Statistics: [2020-12-29T02:49:36.810Z] Hnuu...uuuununununu... [2020-12-29T02:49:36.810Z] File successfully converted to sysstat format version 12.2.1 [2020-12-29T02:49:36.810Z] + sadf -c /var/log/sa-host/sa29 [2020-12-29T02:49:36.810Z] file_magic: OK [2020-12-29T02:49:36.810Z] HZ: Using current value: 100 [2020-12-29T02:49:36.810Z] file_header: OK [2020-12-29T02:49:36.810Z] 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-29T02:49:36.810Z] Statistics: [2020-12-29T02:49:36.810Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-29T02:49:36.810Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-29T02:49:37.018Z] provisioning config files... [2020-12-29T02:49:37.034Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp/config3784029246141142806tmp [Pipeline] { [Pipeline] echo [2020-12-29T02:49:37.131Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-29T02:49:37.453Z] ---> create-netrc.sh [Pipeline] } [2020-12-29T02:49:37.468Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-29T02:49:37.570Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-29T02:49:37.887Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-29T02:49:37.900Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-29T02:49:38.205Z] ---> sudo-logs.sh [2020-12-29T02:49:38.205Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-29T02:49:38.218Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-29T02:49:38.517Z] ---> job-cost.sh [2020-12-29T02:49:38.517Z] lf-activate-venv: SKIPPING [2020-12-29T02:49:38.517Z] INFO: No Stack... [2020-12-29T02:49:39.913Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-29T02:49:40.488Z] INFO: Archiving Costs [Pipeline] echo [2020-12-29T02:49:40.501Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-29T02:49:40.796Z] ---> logs-deploy.sh [2020-12-29T02:49:40.796Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-701/3 [2020-12-29T02:49:40.796Z] INFO: archiving workspace using pattern(s): [2020-12-29T02:49:42.712Z] Archives upload complete. [2020-12-29T02:49:42.712Z] INFO: archiving logs to Nexus