Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f7552a030ae1ce77e826f10205b919d23d12d66c+42e5a1ea61e0adb23423a933a3224d1395f33e87 (083357c30afe2878b4b19bf7e3edbb386f0615d2) 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-17564 in /w/workspace/dgexfoundry_device-sdk-go_PR-697 [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-697 # 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/697/head:refs/remotes/origin/PR-697 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 42e5a1ea61e0adb23423a933a3224d1395f33e87 into PR head commit f7552a030ae1ce77e826f10205b919d23d12d66c Merge succeeded, producing 6671aa33608b9bf68713bd0b0d67b6850b38a682 Checking out Revision 6671aa33608b9bf68713bd0b0d67b6850b38a682 (PR-697) > git config core.sparsecheckout # timeout=10 > git checkout -f f7552a030ae1ce77e826f10205b919d23d12d66c # 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 6671aa33608b9bf68713bd0b0d67b6850b38a682 # timeout=10 Commit message: "Merge commit '42e5a1ea61e0adb23423a933a3224d1395f33e87' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-29T02:41:45.763Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 03ea3e19de6a47058ac4a64d6b2ca0b385876086 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-29T02:41:46.058Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-29T02:41:46.160Z] ========================================================= [2020-12-29T02:41:46.160Z] EdgeX Global Pipelines Version Info [2020-12-29T02:41:46.160Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-29T02:41:47.674Z] ------------------- [2020-12-29T02:41:47.674Z] stable info: [2020-12-29T02:41:47.674Z] ------------------- [2020-12-29T02:41:47.674Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-29T02:41:47.674Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-29T02:41:47.674Z] Message: update stable to v1.0.173 [2020-12-29T02:41:48.619Z] ------------------- [2020-12-29T02:41:48.619Z] experimental info: [2020-12-29T02:41:48.619Z] ------------------- [2020-12-29T02:41:48.619Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-29T02:41:48.619Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-29T02:41:48.619Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-29T02:41:48.949Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-12-29T02:41:49.057Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-12-29T02:41:49.154Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-29T02:41:49.255Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-29T02:41:49.362Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-29T02:41:49.463Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-29T02:41:49.560Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-29T02:41:49.662Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-29T02:41:49.761Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-12-29T02:41:49.855Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-29T02:41:49.953Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-29T02:41:50.049Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-12-29T02:41:50.187Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-29T02:41:50.303Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-29T02:41:50.436Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-29T02:41:50.530Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-29T02:41:50.646Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-29T02:41:50.749Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-29T02:41:50.846Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-29T02:41:50.953Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-29T02:41:51.052Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-29T02:41:51.146Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-29T02:41:51.241Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-29T02:41:51.335Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-29T02:41:51.428Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-29T02:41:51.520Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-29T02:41:51.614Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-29T02:41:51.709Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-697 [Pipeline] echo [2020-12-29T02:41:51.819Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-697 [Pipeline] echo [2020-12-29T02:41:51.910Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-697 [Pipeline] echo [2020-12-29T02:41:52.005Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6671aa33608b9bf68713bd0b0d67b6850b38a682 [Pipeline] echo [2020-12-29T02:41:52.099Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6671aa3 [Pipeline] echo [2020-12-29T02:41:52.188Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-29T02:41:52.369Z] provisioning config files... [2020-12-29T02:41:52.400Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-697@tmp/config7757281981602349018tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-29T02:41:52.762Z] ---> docker-login.sh [2020-12-29T02:41:52.762Z] nexus3.edgexfoundry.org:10001 [2020-12-29T02:41:53.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-29T02:41:53.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-29T02:41:53.286Z] Configure a credential helper to remove this warning. See [2020-12-29T02:41:53.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-29T02:41:53.286Z] [2020-12-29T02:41:53.286Z] Login Succeeded [2020-12-29T02:41:53.286Z] nexus3.edgexfoundry.org:10002 [2020-12-29T02:41:53.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-29T02:41:53.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-29T02:41:53.549Z] Configure a credential helper to remove this warning. See [2020-12-29T02:41:53.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-29T02:41:53.549Z] [2020-12-29T02:41:53.549Z] Login Succeeded [2020-12-29T02:41:53.549Z] nexus3.edgexfoundry.org:10003 [2020-12-29T02:41:53.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-29T02:41:53.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-29T02:41:53.549Z] Configure a credential helper to remove this warning. See [2020-12-29T02:41:53.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-29T02:41:53.549Z] [2020-12-29T02:41:53.549Z] Login Succeeded [2020-12-29T02:41:53.549Z] nexus3.edgexfoundry.org:10004 [2020-12-29T02:41:53.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-29T02:41:53.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-29T02:41:53.813Z] Configure a credential helper to remove this warning. See [2020-12-29T02:41:53.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-29T02:41:53.813Z] [2020-12-29T02:41:53.813Z] Login Succeeded [2020-12-29T02:41:53.813Z] docker.io [2020-12-29T02:41:54.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-29T02:41:54.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-29T02:41:54.339Z] Configure a credential helper to remove this warning. See [2020-12-29T02:41:54.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-29T02:41:54.339Z] [2020-12-29T02:41:54.339Z] Login Succeeded [2020-12-29T02:41:54.339Z] ---> docker-login.sh ends [Pipeline] } [2020-12-29T02:41:54.348Z] 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:41:55.215Z] + git log --format=format:%s -1 6671aa33608b9bf68713bd0b0d67b6850b38a682 [Pipeline] echo [2020-12-29T02:41:55.279Z] GIT_COMMIT: 6671aa33608b9bf68713bd0b0d67b6850b38a682, Commit Message: Merge commit '42e5a1ea61e0adb23423a933a3224d1395f33e87' into HEAD [Pipeline] echo [2020-12-29T02:41:55.329Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-29T02:41:56.505Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-29T02:41:56.505Z] [2020-12-29T02:41:56.505Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-29T02:41:56.875Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-29T02:41:56.875Z] latest: Pulling from edgex-devops/git-semver [2020-12-29T02:41:56.875Z] 31603596830f: Pulling fs layer [2020-12-29T02:41:56.875Z] 2a8b12db71e7: Pulling fs layer [2020-12-29T02:41:56.875Z] 6ca5941a6612: Pulling fs layer [2020-12-29T02:41:56.875Z] ecc8261a40a4: Pulling fs layer [2020-12-29T02:41:56.875Z] ecc8261a40a4: Waiting [2020-12-29T02:41:56.875Z] 2a8b12db71e7: Verifying Checksum [2020-12-29T02:41:56.875Z] 2a8b12db71e7: Download complete [2020-12-29T02:41:57.142Z] 31603596830f: Download complete [2020-12-29T02:41:57.142Z] ecc8261a40a4: Verifying Checksum [2020-12-29T02:41:57.142Z] ecc8261a40a4: Download complete [2020-12-29T02:41:57.406Z] 6ca5941a6612: Verifying Checksum [2020-12-29T02:41:57.406Z] 6ca5941a6612: Download complete [2020-12-29T02:41:57.406Z] 31603596830f: Pull complete [2020-12-29T02:41:57.674Z] 2a8b12db71e7: Pull complete [2020-12-29T02:41:58.633Z] 6ca5941a6612: Pull complete [2020-12-29T02:41:58.895Z] ecc8261a40a4: Pull complete [2020-12-29T02:41:59.157Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-29T02:41:59.157Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-29T02:41:59.157Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-29T02:41:59.267Z] prd-centos7-docker-4c-2g-17564 does not seem to be running inside a container [2020-12-29T02:41:59.330Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-697 -v /w/workspace/dgexfoundry_device-sdk-go_PR-697:/w/workspace/dgexfoundry_device-sdk-go_PR-697:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-697@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-697@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-29T02:42:00.998Z] $ docker top 9a467558d8b130eec260f7655fef8f2bc2764eb66c649786036db0efd407fd3a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-29T02:42:01.312Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-29T02:42:01.312Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-29T02:42:01.542Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-29T02:42:01.552Z] $ docker exec 9a467558d8b130eec260f7655fef8f2bc2764eb66c649786036db0efd407fd3a ssh-agent [2020-12-29T02:42:01.732Z] SSH_AUTH_SOCK=/tmp/ssh-5y4U89N9zdQ0/agent.12 [2020-12-29T02:42:01.732Z] SSH_AGENT_PID=17 [2020-12-29T02:42:01.749Z] Running ssh-add (command line suppressed) [2020-12-29T02:42:01.887Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-697@tmp/private_key_4796574501872809617.key (/w/workspace/dgexfoundry_device-sdk-go_PR-697@tmp/private_key_4796574501872809617.key) [2020-12-29T02:42:01.936Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-29T02:42:02.276Z] + git tag --points-at HEAD [Pipeline] } [2020-12-29T02:42:02.302Z] $ docker exec --env ******** --env ******** 9a467558d8b130eec260f7655fef8f2bc2764eb66c649786036db0efd407fd3a ssh-agent -k [2020-12-29T02:42:02.420Z] unset SSH_AUTH_SOCK; [2020-12-29T02:42:02.420Z] unset SSH_AGENT_PID; [2020-12-29T02:42:02.420Z] echo Agent pid 17 killed; [2020-12-29T02:42:02.465Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-29T02:42:02.621Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-29T02:42:02.621Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-29T02:42:02.800Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-29T02:42:02.808Z] $ docker exec 9a467558d8b130eec260f7655fef8f2bc2764eb66c649786036db0efd407fd3a ssh-agent [2020-12-29T02:42:02.969Z] SSH_AUTH_SOCK=/tmp/ssh-zml9A9ltuaB2/agent.46 [2020-12-29T02:42:02.969Z] SSH_AGENT_PID=52 [2020-12-29T02:42:03.005Z] Running ssh-add (command line suppressed) [2020-12-29T02:42:03.137Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-697@tmp/private_key_1412947447404588536.key (/w/workspace/dgexfoundry_device-sdk-go_PR-697@tmp/private_key_1412947447404588536.key) [2020-12-29T02:42:03.182Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-29T02:42:03.525Z] + git semver init [2020-12-29T02:42:03.525Z] # -> Open(): unable to determine branch for HEAD [2020-12-29T02:42:03.525Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-697/.git [2020-12-29T02:42:03.525Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-697 [2020-12-29T02:42:03.525Z] # $SEMVER_REMOTE_NAME = origin [2020-12-29T02:42:03.525Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-29T02:42:03.525Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-29T02:42:03.525Z] # $SEMVER_BRANCH = PR-697 [2020-12-29T02:42:03.525Z] # $SEMVER_TEMP = /tmp/semver-956876541 [2020-12-29T02:42:03.525Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-12-29T02:42:04.102Z] # '/tmp/semver-956876541' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-697/.semver' [2020-12-29T02:42:04.102Z] # -> Force: false [2020-12-29T02:42:04.102Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-697/.semver [Pipeline] } [2020-12-29T02:42:04.119Z] $ docker exec --env ******** --env ******** 9a467558d8b130eec260f7655fef8f2bc2764eb66c649786036db0efd407fd3a ssh-agent -k [2020-12-29T02:42:04.231Z] unset SSH_AUTH_SOCK; [2020-12-29T02:42:04.232Z] unset SSH_AGENT_PID; [2020-12-29T02:42:04.232Z] echo Agent pid 52 killed; [2020-12-29T02:42:04.289Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-29T02:42:04.821Z] + git semver [Pipeline] } [2020-12-29T02:42:04.847Z] $ docker stop --time=1 9a467558d8b130eec260f7655fef8f2bc2764eb66c649786036db0efd407fd3a [2020-12-29T02:42:06.587Z] $ docker rm -f 9a467558d8b130eec260f7655fef8f2bc2764eb66c649786036db0efd407fd3a [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-29T02:42:07.094Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-29T02:42:07.696Z] Stashed 1 file(s) [Pipeline] echo [2020-12-29T02:42:07.699Z] [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:42:23.310Z] Still waiting to schedule task [2020-12-29T02:42:23.310Z] ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-17566’ is offline; ‘prd-centos7-docker-4c-2g-17567’ is offline [2020-12-29T02:42:23.313Z] Still waiting to schedule task [2020-12-29T02:42:23.313Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-29T02:44:10.837Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-17569 in /w/workspace/dgexfoundry_device-sdk-go_PR-697 [Pipeline] { [Pipeline] ws [2020-12-29T02:44:10.894Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2020-12-29T02:44:16.169Z] using credential edgex-jenkins-ssh [2020-12-29T02:44:16.229Z] Cloning the remote Git repository [2020-12-29T02:44:16.307Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-29T02:44:16.418Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2020-12-29T02:44:16.504Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-29T02:44:16.505Z] > git --version # timeout=10 [2020-12-29T02:44:16.529Z] > git --version # 'git version 2.17.1' [2020-12-29T02:44:16.531Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-29T02:44:16.619Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-29T02:44:18.396Z] Merging remotes/origin/master commit 42e5a1ea61e0adb23423a933a3224d1395f33e87 into PR head commit f7552a030ae1ce77e826f10205b919d23d12d66c [2020-12-29T02:44:17.754Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-29T02:44:17.775Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-29T02:44:17.811Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-29T02:44:17.860Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-29T02:44:17.861Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-29T02:44:17.877Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/697/head:refs/remotes/origin/PR-697 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-29T02:44:18.425Z] > git config core.sparsecheckout # timeout=10 [2020-12-29T02:44:18.451Z] > git checkout -f f7552a030ae1ce77e826f10205b919d23d12d66c # timeout=10 [2020-12-29T02:44:18.763Z] Merge succeeded, producing 0d04ae4ce8a053db7a222a4cdbaa4f518045c7d6 [2020-12-29T02:44:18.764Z] Checking out Revision 0d04ae4ce8a053db7a222a4cdbaa4f518045c7d6 (PR-697) [2020-12-29T02:44:18.588Z] > git remote # timeout=10 [2020-12-29T02:44:18.612Z] > git config --get remote.origin.url # timeout=10 [2020-12-29T02:44:18.630Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-29T02:44:18.641Z] > git merge 42e5a1ea61e0adb23423a933a3224d1395f33e87 # timeout=10 [2020-12-29T02:44:18.747Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-29T02:44:18.777Z] > git config core.sparsecheckout # timeout=10 [2020-12-29T02:44:18.806Z] > git checkout -f 0d04ae4ce8a053db7a222a4cdbaa4f518045c7d6 # timeout=10 [2020-12-29T02:44:23.363Z] Commit message: "Merge commit '42e5a1ea61e0adb23423a933a3224d1395f33e87' into HEAD" [2020-12-29T02:44:23.391Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-29T02:44:23.373Z] > git rev-list --no-walk 03ea3e19de6a47058ac4a64d6b2ca0b385876086 # timeout=10 [2020-12-29T02:44:25.027Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-29T02:44:25.448Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-29T02:44:26.631Z] + true [2020-12-29T02:44:26.631Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-29T02:44:28.324Z] provisioning config files... [2020-12-29T02:44:28.376Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config8998742017117122174tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-29T02:44:28.798Z] ---> docker-login.sh [2020-12-29T02:44:28.798Z] nexus3.edgexfoundry.org:10001 [2020-12-29T02:44:29.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-29T02:44:30.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-29T02:44:30.069Z] Configure a credential helper to remove this warning. See [2020-12-29T02:44:30.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-29T02:44:30.069Z] [2020-12-29T02:44:30.069Z] Login Succeeded [2020-12-29T02:44:30.070Z] nexus3.edgexfoundry.org:10002 [2020-12-29T02:44:30.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-29T02:44:30.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-29T02:44:30.676Z] Configure a credential helper to remove this warning. See [2020-12-29T02:44:30.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-29T02:44:30.676Z] [2020-12-29T02:44:30.676Z] Login Succeeded [2020-12-29T02:44:30.676Z] nexus3.edgexfoundry.org:10003 [2020-12-29T02:44:31.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-29T02:44:31.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-29T02:44:31.279Z] Configure a credential helper to remove this warning. See [2020-12-29T02:44:31.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-29T02:44:31.279Z] [2020-12-29T02:44:31.279Z] Login Succeeded [2020-12-29T02:44:31.556Z] nexus3.edgexfoundry.org:10004 [2020-12-29T02:44:31.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-29T02:44:32.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-29T02:44:32.109Z] Configure a credential helper to remove this warning. See [2020-12-29T02:44:32.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-29T02:44:32.109Z] [2020-12-29T02:44:32.109Z] Login Succeeded [2020-12-29T02:44:32.109Z] docker.io [2020-12-29T02:44:32.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-29T02:44:32.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-29T02:44:32.987Z] Configure a credential helper to remove this warning. See [2020-12-29T02:44:32.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-29T02:44:32.987Z] [2020-12-29T02:44:32.987Z] Login Succeeded [2020-12-29T02:44:32.987Z] ---> docker-login.sh ends [Pipeline] } [2020-12-29T02:44:33.005Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-29T02:44:33.498Z] ========================================================= [2020-12-29T02:44:33.498Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-29T02:44:33.498Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-29T02:44:33.897Z] + 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:44:34.513Z] Sending build context to Docker daemon 2.423MB [2020-12-29T02:44:34.513Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-29T02:44:34.513Z] Step 2/8 : FROM ${BASE} [2020-12-29T02:44:34.513Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-29T02:44:34.513Z] 5f621e34cdf4: Pulling fs layer [2020-12-29T02:44:34.513Z] a4357932f1b6: Pulling fs layer [2020-12-29T02:44:34.513Z] 18c013af1878: Pulling fs layer [2020-12-29T02:44:34.513Z] 00ac8860ef70: Pulling fs layer [2020-12-29T02:44:34.513Z] 63d7cb157983: Pulling fs layer [2020-12-29T02:44:34.513Z] b116817d02f9: Pulling fs layer [2020-12-29T02:44:34.513Z] 745a02a5169b: Pulling fs layer [2020-12-29T02:44:34.513Z] 745a02a5169b: Waiting [2020-12-29T02:44:34.513Z] 00ac8860ef70: Waiting [2020-12-29T02:44:34.513Z] 63d7cb157983: Waiting [2020-12-29T02:44:34.513Z] b116817d02f9: Waiting [2020-12-29T02:44:34.513Z] 18c013af1878: Download complete [2020-12-29T02:44:34.513Z] a4357932f1b6: Verifying Checksum [2020-12-29T02:44:34.513Z] a4357932f1b6: Download complete [2020-12-29T02:44:34.513Z] 63d7cb157983: Verifying Checksum [2020-12-29T02:44:34.513Z] 63d7cb157983: Download complete [2020-12-29T02:44:34.513Z] b116817d02f9: Verifying Checksum [2020-12-29T02:44:34.513Z] b116817d02f9: Download complete [2020-12-29T02:44:34.788Z] 5f621e34cdf4: Verifying Checksum [2020-12-29T02:44:34.788Z] 5f621e34cdf4: Download complete [2020-12-29T02:44:36.229Z] 5f621e34cdf4: Pull complete [2020-12-29T02:44:36.829Z] a4357932f1b6: Pull complete [2020-12-29T02:44:37.102Z] 18c013af1878: Pull complete [2020-12-29T02:44:38.097Z] 745a02a5169b: Verifying Checksum [2020-12-29T02:44:38.097Z] 745a02a5169b: Download complete [2020-12-29T02:44:39.085Z] 00ac8860ef70: Download complete [2020-12-29T02:44:49.269Z] 00ac8860ef70: Pull complete [2020-12-29T02:44:49.269Z] 63d7cb157983: Pull complete [2020-12-29T02:44:49.544Z] b116817d02f9: Pull complete [2020-12-29T02:44:53.873Z] 745a02a5169b: Pull complete [2020-12-29T02:44:53.874Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-29T02:44:53.874Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-29T02:44:53.874Z] ---> b7e6874047d6 [2020-12-29T02:44:53.874Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-29T02:44:56.503Z] ---> Running in 96191aa89525 [2020-12-29T02:44:56.503Z] Removing intermediate container 96191aa89525 [2020-12-29T02:44:56.503Z] ---> 40a5a9ceac11 [2020-12-29T02:44:56.503Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-29T02:44:56.778Z] ---> Running in a064b42002db [2020-12-29T02:44:58.766Z] Removing intermediate container a064b42002db [2020-12-29T02:44:58.766Z] ---> edb2230c9f1c [2020-12-29T02:44:58.766Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-29T02:44:59.041Z] ---> Running in 21d6ef313350 [2020-12-29T02:45:00.497Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-29T02:45:01.111Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-29T02:45:02.099Z] OK: 142 MiB in 39 packages [2020-12-29T02:45:03.098Z] Removing intermediate container 21d6ef313350 [2020-12-29T02:45:03.098Z] ---> bde2dee8b3ab [2020-12-29T02:45:03.098Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-29T02:45:03.098Z] ---> Running in b0b28e992a48 [2020-12-29T02:45:03.710Z] Removing intermediate container b0b28e992a48 [2020-12-29T02:45:03.710Z] ---> 13568a276b9c [2020-12-29T02:45:03.710Z] Step 7/8 : COPY . . [2020-12-29T02:45:05.157Z] ---> c7a877e7e4d4 [2020-12-29T02:45:05.157Z] Step 8/8 : RUN go mod download [2020-12-29T02:45:05.157Z] ---> Running in 5c8ec7c39a75 [2020-12-29T02:45:20.143Z] Running on prd-centos7-docker-4c-2g-17572 in /w/workspace/dgexfoundry_device-sdk-go_PR-697 [Pipeline] { [Pipeline] ws [2020-12-29T02:45:20.261Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2020-12-29T02:45:22.762Z] using credential edgex-jenkins-ssh [2020-12-29T02:45:22.814Z] Cloning the remote Git repository [2020-12-29T02:45:22.461Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-29T02:45:22.539Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2020-12-29T02:45:22.599Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-29T02:45:22.600Z] > git --version # timeout=10 [2020-12-29T02:45:22.609Z] > git --version # 'git version 2.24.3' [2020-12-29T02:45:22.610Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-29T02:45:22.639Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-29T02:45:24.239Z] Merging remotes/origin/master commit 42e5a1ea61e0adb23423a933a3224d1395f33e87 into PR head commit f7552a030ae1ce77e826f10205b919d23d12d66c [2020-12-29T02:45:24.373Z] Merge succeeded, producing 54b1f8be4a9dc7f498eaa4be9c83c8b0edc5f660 [2020-12-29T02:45:24.373Z] Checking out Revision 54b1f8be4a9dc7f498eaa4be9c83c8b0edc5f660 (PR-697) [2020-12-29T02:45:23.495Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-29T02:45:23.504Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-29T02:45:23.522Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-29T02:45:23.546Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-29T02:45:23.546Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-29T02:45:23.551Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/697/head:refs/remotes/origin/PR-697 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-29T02:45:23.980Z] > git config core.sparsecheckout # timeout=10 [2020-12-29T02:45:23.985Z] > git checkout -f f7552a030ae1ce77e826f10205b919d23d12d66c # timeout=10 [2020-12-29T02:45:24.056Z] > git remote # timeout=10 [2020-12-29T02:45:24.062Z] > git config --get remote.origin.url # timeout=10 [2020-12-29T02:45:24.068Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-29T02:45:24.072Z] > git merge 42e5a1ea61e0adb23423a933a3224d1395f33e87 # timeout=10 [2020-12-29T02:45:24.109Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-29T02:45:24.120Z] > git config core.sparsecheckout # timeout=10 [2020-12-29T02:45:24.125Z] > git checkout -f 54b1f8be4a9dc7f498eaa4be9c83c8b0edc5f660 # timeout=10 [2020-12-29T02:45:27.387Z] Removing intermediate container 5c8ec7c39a75 [2020-12-29T02:45:27.387Z] ---> abaf2c2a29b0 [2020-12-29T02:45:27.387Z] Successfully built abaf2c2a29b0 [2020-12-29T02:45:27.387Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-29T02:45:27.745Z] + docker inspect -f . ci-base-image-arm64 [2020-12-29T02:45:27.745Z] . [Pipeline] withDockerContainer [2020-12-29T02:45:27.947Z] Commit message: "Merge commit '42e5a1ea61e0adb23423a933a3224d1395f33e87' into HEAD" [2020-12-29T02:45:27.961Z] First time build. Skipping changelog. [2020-12-29T02:45:27.988Z] prd-ubuntu18.04-docker-arm64-4c-16g-17569 does not seem to be running inside a container [2020-12-29T02:45:28.080Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** ci-base-image-arm64 cat [2020-12-29T02:45:27.953Z] > git rev-list --no-walk 03ea3e19de6a47058ac4a64d6b2ca0b385876086 # timeout=10 [2020-12-29T02:45:29.483Z] $ docker top 4819d39e9194a749acce3e5019e214a58cde8cd36d6c1266d7e88a10216769fc -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-29T02:45:30.508Z] + go version [2020-12-29T02:45:30.509Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-29T02:45:30.844Z] $ docker stop --time=1 4819d39e9194a749acce3e5019e214a58cde8cd36d6c1266d7e88a10216769fc [2020-12-29T02:45:31.073Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [2020-12-29T02:45:32.790Z] $ docker rm -f 4819d39e9194a749acce3e5019e214a58cde8cd36d6c1266d7e88a10216769fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [2020-12-29T02:45:33.368Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-12-29T02:45:33.717Z] + sudo service docker restart [2020-12-29T02:45:33.717Z] + true [2020-12-29T02:45:33.717Z] Redirecting to /bin/systemctl restart docker.service [2020-12-29T02:45:33.828Z] + docker inspect -f . ci-base-image-arm64 [2020-12-29T02:45:33.828Z] . [Pipeline] withDockerContainer [2020-12-29T02:45:34.052Z] prd-ubuntu18.04-docker-arm64-4c-16g-17569 does not seem to be running inside a container [2020-12-29T02:45:34.136Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** ci-base-image-arm64 cat [2020-12-29T02:45:35.530Z] $ docker top 379266433a2c0db3b13fb69650a55e7906e6dc08591d3d7cd9a1eea91a9e2b15 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] wrap [2020-12-29T02:45:35.969Z] provisioning config files... [2020-12-29T02:45:35.996Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config8454987940612338745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-29T02:45:36.375Z] ---> docker-login.sh [2020-12-29T02:45:36.375Z] nexus3.edgexfoundry.org:10001 [2020-12-29T02:45:36.511Z] + make test [2020-12-29T02:45:36.511Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-29T02:45:36.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-29T02:45:36.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-29T02:45:36.905Z] Configure a credential helper to remove this warning. See [2020-12-29T02:45:36.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-29T02:45:36.905Z] [2020-12-29T02:45:36.905Z] Login Succeeded [2020-12-29T02:45:36.905Z] nexus3.edgexfoundry.org:10002 [2020-12-29T02:45:36.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-29T02:45:36.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-29T02:45:36.905Z] Configure a credential helper to remove this warning. See [2020-12-29T02:45:36.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-29T02:45:36.905Z] [2020-12-29T02:45:36.905Z] Login Succeeded [2020-12-29T02:45:36.905Z] nexus3.edgexfoundry.org:10003 [2020-12-29T02:45:37.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-29T02:45:37.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-29T02:45:37.169Z] Configure a credential helper to remove this warning. See [2020-12-29T02:45:37.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-29T02:45:37.169Z] [2020-12-29T02:45:37.169Z] Login Succeeded [2020-12-29T02:45:37.169Z] nexus3.edgexfoundry.org:10004 [2020-12-29T02:45:37.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-29T02:45:37.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-29T02:45:37.695Z] Configure a credential helper to remove this warning. See [2020-12-29T02:45:37.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-29T02:45:37.695Z] [2020-12-29T02:45:37.695Z] Login Succeeded [2020-12-29T02:45:37.695Z] docker.io [2020-12-29T02:45:37.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-29T02:45:37.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-29T02:45:37.957Z] Configure a credential helper to remove this warning. See [2020-12-29T02:45:37.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-29T02:45:37.957Z] [2020-12-29T02:45:37.957Z] Login Succeeded [2020-12-29T02:45:37.957Z] ---> docker-login.sh ends [Pipeline] } [2020-12-29T02:45:37.968Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-29T02:45:38.333Z] ========================================================= [2020-12-29T02:45:38.334Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-29T02:45:38.334Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-29T02:45:38.693Z] + 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:38.966Z] Sending build context to Docker daemon 2.422MB [2020-12-29T02:45:38.966Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-29T02:45:38.966Z] Step 2/8 : FROM ${BASE} [2020-12-29T02:45:38.966Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-29T02:45:38.966Z] 188c0c94c7c5: Pulling fs layer [2020-12-29T02:45:38.966Z] 0ef7d3d256c8: Pulling fs layer [2020-12-29T02:45:38.966Z] de9db76c5a1d: Pulling fs layer [2020-12-29T02:45:38.966Z] bca2f99d35d6: Pulling fs layer [2020-12-29T02:45:38.966Z] 93359f2a8cfa: Pulling fs layer [2020-12-29T02:45:38.966Z] 7c6f9722023f: Pulling fs layer [2020-12-29T02:45:38.966Z] a35cf1a2eb13: Pulling fs layer [2020-12-29T02:45:38.966Z] 93359f2a8cfa: Waiting [2020-12-29T02:45:38.966Z] bca2f99d35d6: Waiting [2020-12-29T02:45:38.966Z] 7c6f9722023f: Waiting [2020-12-29T02:45:38.966Z] a35cf1a2eb13: Waiting [2020-12-29T02:45:38.966Z] de9db76c5a1d: Verifying Checksum [2020-12-29T02:45:38.966Z] de9db76c5a1d: Download complete [2020-12-29T02:45:38.966Z] 0ef7d3d256c8: Verifying Checksum [2020-12-29T02:45:38.966Z] 0ef7d3d256c8: Download complete [2020-12-29T02:45:38.966Z] 93359f2a8cfa: Verifying Checksum [2020-12-29T02:45:38.966Z] 93359f2a8cfa: Download complete [2020-12-29T02:45:38.966Z] 188c0c94c7c5: Verifying Checksum [2020-12-29T02:45:38.966Z] 188c0c94c7c5: Download complete [2020-12-29T02:45:38.966Z] 7c6f9722023f: Verifying Checksum [2020-12-29T02:45:38.966Z] 7c6f9722023f: Download complete [2020-12-29T02:45:39.229Z] 188c0c94c7c5: Pull complete [2020-12-29T02:45:39.494Z] 0ef7d3d256c8: Pull complete [2020-12-29T02:45:39.494Z] de9db76c5a1d: Pull complete [2020-12-29T02:45:41.447Z] a35cf1a2eb13: Verifying Checksum [2020-12-29T02:45:41.447Z] a35cf1a2eb13: Download complete [2020-12-29T02:45:42.412Z] bca2f99d35d6: Verifying Checksum [2020-12-29T02:45:42.412Z] bca2f99d35d6: Download complete [2020-12-29T02:45:47.786Z] bca2f99d35d6: Pull complete [2020-12-29T02:45:47.786Z] 93359f2a8cfa: Pull complete [2020-12-29T02:45:47.786Z] 7c6f9722023f: Pull complete [2020-12-29T02:45:54.410Z] a35cf1a2eb13: Pull complete [2020-12-29T02:45:54.410Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-29T02:45:54.410Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-29T02:45:54.410Z] ---> a62c8e92a672 [2020-12-29T02:45:54.410Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-29T02:45:54.410Z] ---> Running in f09fe20759e8 [2020-12-29T02:45:54.410Z] Removing intermediate container f09fe20759e8 [2020-12-29T02:45:54.410Z] ---> a20ee6ca35dc [2020-12-29T02:45:54.410Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-29T02:45:54.410Z] ---> Running in 51fbbe7b6942 [2020-12-29T02:45:55.370Z] Removing intermediate container 51fbbe7b6942 [2020-12-29T02:45:55.370Z] ---> d78a862c0c63 [2020-12-29T02:45:55.370Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-29T02:45:55.370Z] ---> Running in f76fafd39893 [2020-12-29T02:45:56.771Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-29T02:45:57.044Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-29T02:45:57.629Z] OK: 166 MiB in 39 packages [2020-12-29T02:45:57.892Z] Removing intermediate container f76fafd39893 [2020-12-29T02:45:57.892Z] ---> 9b81f53f5280 [2020-12-29T02:45:57.892Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-29T02:45:58.154Z] ---> Running in b7cd23f3d114 [2020-12-29T02:45:58.154Z] Removing intermediate container b7cd23f3d114 [2020-12-29T02:45:58.154Z] ---> 56c9659ccadb [2020-12-29T02:45:58.154Z] Step 7/8 : COPY . . [2020-12-29T02:45:58.726Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-29T02:45:59.553Z] ---> 4a3a6732379a [2020-12-29T02:45:59.553Z] Step 8/8 : RUN go mod download [2020-12-29T02:45:59.553Z] ---> Running in 2ea6e50b1970 [2020-12-29T02:46:21.706Z] Removing intermediate container 2ea6e50b1970 [2020-12-29T02:46:21.706Z] ---> e3bcc3ba0d68 [2020-12-29T02:46:21.706Z] Successfully built e3bcc3ba0d68 [2020-12-29T02:46:21.706Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-29T02:46:22.027Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-29T02:46:22.027Z] . [Pipeline] withDockerContainer [2020-12-29T02:46:22.136Z] prd-centos7-docker-4c-2g-17572 does not seem to be running inside a container [2020-12-29T02:46:22.189Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** ci-base-image-x86_64 cat [2020-12-29T02:46:22.919Z] $ docker top 93f029421912847e9a5defe6f3888b06ecb10d3f8f9fd6737ad966a9b13ae207 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-29T02:46:23.441Z] + go version [2020-12-29T02:46:23.441Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-29T02:46:23.458Z] $ docker stop --time=1 93f029421912847e9a5defe6f3888b06ecb10d3f8f9fd6737ad966a9b13ae207 [2020-12-29T02:46:24.792Z] $ docker rm -f 93f029421912847e9a5defe6f3888b06ecb10d3f8f9fd6737ad966a9b13ae207 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-29T02:46:25.699Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-29T02:46:25.699Z] . [Pipeline] withDockerContainer [2020-12-29T02:46:25.798Z] prd-centos7-docker-4c-2g-17572 does not seem to be running inside a container [2020-12-29T02:46:25.850Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** ci-base-image-x86_64 cat [2020-12-29T02:46:26.435Z] $ docker top f831a67c9479f244674437c9e3e4b9996de6b6901b12d44b2d22b0de0017d50e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-29T02:46:26.898Z] + make test [2020-12-29T02:46:26.898Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-29T02:46:35.106Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-29T02:46:45.234Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-29T02:46:45.234Z] internal/v2/application/command.go:494:23: undefined: dtos.ValueTypeString [2020-12-29T02:46:45.234Z] internal/v2/application/command.go:496:23: undefined: dtos.ValueTypeBool [2020-12-29T02:46:45.234Z] internal/v2/application/command.go:502:23: undefined: dtos.ValueTypeBoolArray [2020-12-29T02:46:45.234Z] internal/v2/application/command.go:509:23: undefined: dtos.ValueTypeUint8 [2020-12-29T02:46:45.234Z] internal/v2/application/command.go:515:23: undefined: dtos.ValueTypeUint8Array [2020-12-29T02:46:45.234Z] internal/v2/application/command.go:526:23: undefined: dtos.ValueTypeUint16 [2020-12-29T02:46:45.234Z] internal/v2/application/command.go:532:23: undefined: dtos.ValueTypeUint16Array [2020-12-29T02:46:45.234Z] internal/v2/application/command.go:543:23: undefined: dtos.ValueTypeUint32 [2020-12-29T02:46:45.234Z] internal/v2/application/command.go:549:23: undefined: dtos.ValueTypeUint32Array [2020-12-29T02:46:45.234Z] internal/v2/application/command.go:560:23: undefined: dtos.ValueTypeUint64 [2020-12-29T02:46:45.234Z] internal/v2/application/command.go:560:23: too many errors [2020-12-29T02:46:45.826Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-29T02:46:45.826Z] internal/v2/application/command.go:494:23: undefined: dtos.ValueTypeString [2020-12-29T02:46:45.826Z] internal/v2/application/command.go:496:23: undefined: dtos.ValueTypeBool [2020-12-29T02:46:45.826Z] internal/v2/application/command.go:502:23: undefined: dtos.ValueTypeBoolArray [2020-12-29T02:46:45.826Z] internal/v2/application/command.go:509:23: undefined: dtos.ValueTypeUint8 [2020-12-29T02:46:45.826Z] internal/v2/application/command.go:515:23: undefined: dtos.ValueTypeUint8Array [2020-12-29T02:46:45.826Z] internal/v2/application/command.go:526:23: undefined: dtos.ValueTypeUint16 [2020-12-29T02:46:45.826Z] internal/v2/application/command.go:532:23: undefined: dtos.ValueTypeUint16Array [2020-12-29T02:46:45.826Z] internal/v2/application/command.go:543:23: undefined: dtos.ValueTypeUint32 [2020-12-29T02:46:45.826Z] internal/v2/application/command.go:549:23: undefined: dtos.ValueTypeUint32Array [2020-12-29T02:46:45.826Z] internal/v2/application/command.go:560:23: undefined: dtos.ValueTypeUint64 [2020-12-29T02:46:45.826Z] internal/v2/application/command.go:560:23: too many errors [2020-12-29T02:46:45.826Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.131s coverage: 19.4% of statements [2020-12-29T02:46:45.826Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.266s coverage: 97.1% of statements [2020-12-29T02:46:48.637Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.053s coverage: 19.4% of statements [2020-12-29T02:46:49.605Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.454s coverage: 97.1% of statements [2020-12-29T02:47:18.230Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.155s coverage: 9.4% of statements [2020-12-29T02:47:18.230Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.156s coverage: 21.9% of statements [2020-12-29T02:47:18.230Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-12-29T02:47:18.230Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.845s coverage: 68.9% of statements [2020-12-29T02:47:18.230Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.206s coverage: 53.8% of statements [2020-12-29T02:47:18.230Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.149s coverage: 68.9% of statements [2020-12-29T02:47:18.230Z] FAIL github.com/edgexfoundry/device-sdk-go/pkg/service [build failed] [2020-12-29T02:47:18.230Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2020-12-29T02:47:18.258Z] $ docker stop --time=1 379266433a2c0db3b13fb69650a55e7906e6dc08591d3d7cd9a1eea91a9e2b15 [2020-12-29T02:47:20.263Z] $ docker rm -f 379266433a2c0db3b13fb69650a55e7906e6dc08591d3d7cd9a1eea91a9e2b15 [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] } [2020-12-29T02:47:21.778Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.072s coverage: 9.4% of statements [2020-12-29T02:47:21.778Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.057s coverage: 21.9% of statements [2020-12-29T02:47:21.778Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-12-29T02:47:21.778Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.300s coverage: 68.9% of statements [2020-12-29T02:47:21.778Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.076s coverage: 53.8% of statements [2020-12-29T02:47:21.778Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.314s coverage: 68.9% of statements [2020-12-29T02:47:21.778Z] FAIL github.com/edgexfoundry/device-sdk-go/pkg/service [build failed] [2020-12-29T02:47:21.778Z] make: *** [Makefile:32: test] Error 2 [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] } [2020-12-29T02:47:21.908Z] $ docker stop --time=1 f831a67c9479f244674437c9e3e4b9996de6b6901b12d44b2d22b0de0017d50e [2020-12-29T02:47:23.535Z] $ docker rm -f f831a67c9479f244674437c9e3e4b9996de6b6901b12d44b2d22b0de0017d50e [Pipeline] // ws [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // node [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [2020-12-29T02:47:24.476Z] Failed in branch arm64 [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-29T02:47:25.728Z] Failed in branch amd64 [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:47:28.671Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-29T02:47:28.983Z] ---> package-listing.sh [2020-12-29T02:47:28.983Z] ++ facter osfamily [2020-12-29T02:47:28.983Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-29T02:47:28.983Z] + OS_FAMILY=redhat [2020-12-29T02:47:28.983Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-697 [2020-12-29T02:47:28.983Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-29T02:47:28.983Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-29T02:47:28.983Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-29T02:47:28.983Z] + PACKAGES=/tmp/packages_start.txt [2020-12-29T02:47:28.983Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-697 ']' [2020-12-29T02:47:28.983Z] + PACKAGES=/tmp/packages_end.txt [2020-12-29T02:47:28.983Z] + case "${OS_FAMILY}" in [2020-12-29T02:47:28.983Z] + rpm -qa [2020-12-29T02:47:28.983Z] + sort [2020-12-29T02:47:34.329Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-29T02:47:34.329Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-29T02:47:34.329Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-29T02:47:34.329Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-697 ']' [2020-12-29T02:47:34.329Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-697/archives/ [2020-12-29T02:47:34.329Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-697/archives/ [Pipeline] echo [2020-12-29T02:47:34.345Z] 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-697/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:47:34.644Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-29T02:47:34.965Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-29T02:47:34.965Z] [2020-12-29T02:47:34.965Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-29T02:47:35.338Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-29T02:47:35.338Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-29T02:47:35.338Z] df20fa9351a1: Pulling fs layer [2020-12-29T02:47:35.338Z] 36b3adc4ff6f: Pulling fs layer [2020-12-29T02:47:35.338Z] 8ad3a11d3b57: Pulling fs layer [2020-12-29T02:47:35.338Z] 46f8f816bc3b: Pulling fs layer [2020-12-29T02:47:35.338Z] 93b61091891f: Pulling fs layer [2020-12-29T02:47:35.338Z] 93b9cdb0e59b: Pulling fs layer [2020-12-29T02:47:35.338Z] 5e14af77c1be: Pulling fs layer [2020-12-29T02:47:35.338Z] 01666e4c0597: Pulling fs layer [2020-12-29T02:47:35.338Z] aa168da1d23b: Pulling fs layer [2020-12-29T02:47:35.338Z] 46f8f816bc3b: Waiting [2020-12-29T02:47:35.338Z] 5e14af77c1be: Waiting [2020-12-29T02:47:35.338Z] 01666e4c0597: Waiting [2020-12-29T02:47:35.338Z] 93b61091891f: Waiting [2020-12-29T02:47:35.338Z] 93b9cdb0e59b: Waiting [2020-12-29T02:47:35.338Z] aa168da1d23b: Waiting [2020-12-29T02:47:35.338Z] 36b3adc4ff6f: Verifying Checksum [2020-12-29T02:47:35.338Z] 36b3adc4ff6f: Download complete [2020-12-29T02:47:35.600Z] 46f8f816bc3b: Verifying Checksum [2020-12-29T02:47:35.600Z] 46f8f816bc3b: Download complete [2020-12-29T02:47:35.600Z] df20fa9351a1: Verifying Checksum [2020-12-29T02:47:35.600Z] 93b9cdb0e59b: Verifying Checksum [2020-12-29T02:47:35.600Z] 93b9cdb0e59b: Download complete [2020-12-29T02:47:35.600Z] 93b61091891f: Verifying Checksum [2020-12-29T02:47:35.600Z] 93b61091891f: Download complete [2020-12-29T02:47:35.600Z] 5e14af77c1be: Verifying Checksum [2020-12-29T02:47:35.600Z] 5e14af77c1be: Download complete [2020-12-29T02:47:35.600Z] 01666e4c0597: Download complete [2020-12-29T02:47:35.866Z] 8ad3a11d3b57: Verifying Checksum [2020-12-29T02:47:35.866Z] 8ad3a11d3b57: Download complete [2020-12-29T02:47:35.866Z] df20fa9351a1: Pull complete [2020-12-29T02:47:36.130Z] 36b3adc4ff6f: Pull complete [2020-12-29T02:47:37.189Z] 8ad3a11d3b57: Pull complete [2020-12-29T02:47:37.189Z] 46f8f816bc3b: Pull complete [2020-12-29T02:47:37.806Z] aa168da1d23b: Download complete [2020-12-29T02:47:37.806Z] 93b61091891f: Pull complete [2020-12-29T02:47:38.083Z] 93b9cdb0e59b: Pull complete [2020-12-29T02:47:38.083Z] 5e14af77c1be: Pull complete [2020-12-29T02:47:38.376Z] 01666e4c0597: Pull complete [2020-12-29T02:47:45.004Z] aa168da1d23b: Pull complete [2020-12-29T02:47:45.004Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-29T02:47:45.004Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-29T02:47:45.004Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-29T02:47:45.210Z] prd-centos7-docker-4c-2g-17564 does not seem to be running inside a container [2020-12-29T02:47:45.261Z] $ 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-697/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-697 -v /w/workspace/dgexfoundry_device-sdk-go_PR-697:/w/workspace/dgexfoundry_device-sdk-go_PR-697:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-697@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-697@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-29T02:47:48.529Z] $ docker top 218e7784f6018bf0b54f5fb0e6c3eecfadf3f2ebe7587b0f4baee6bf5ad6e031 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-29T02:47:49.045Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-29T02:47:49.351Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-29T02:47:49.655Z] + ls /var/log/sa-host [2020-12-29T02:47:49.655Z] + sadf -c /var/log/sa-host/sa23 [2020-12-29T02:47:49.655Z] file_magic: OK [2020-12-29T02:47:49.655Z] HZ: Using current value: 100 [2020-12-29T02:47:49.655Z] file_header: OK [2020-12-29T02:47:49.655Z] 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:47:49.655Z] Statistics: [2020-12-29T02:47:49.655Z] Hnuu...uuuununununu... [2020-12-29T02:47:49.655Z] File successfully converted to sysstat format version 12.2.1 [2020-12-29T02:47:49.655Z] + sadf -c /var/log/sa-host/sa29 [2020-12-29T02:47:49.655Z] file_magic: OK [2020-12-29T02:47:49.655Z] HZ: Using current value: 100 [2020-12-29T02:47:49.655Z] file_header: OK [2020-12-29T02:47:49.655Z] 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:47:49.655Z] Statistics: [2020-12-29T02:47:49.655Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-29T02:47:49.655Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-29T02:47:50.303Z] provisioning config files... [2020-12-29T02:47:50.322Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-697@tmp/config2152159503078716260tmp [Pipeline] { [Pipeline] echo [2020-12-29T02:47:50.411Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-29T02:47:50.718Z] ---> create-netrc.sh [Pipeline] } [2020-12-29T02:47:50.728Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-29T02:47:50.829Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-29T02:47:51.128Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-29T02:47:51.141Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-29T02:47:51.452Z] ---> sudo-logs.sh [2020-12-29T02:47:51.452Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-29T02:47:51.469Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-29T02:47:51.794Z] ---> job-cost.sh [2020-12-29T02:47:51.794Z] lf-activate-venv: SKIPPING [2020-12-29T02:47:51.794Z] INFO: No Stack... [2020-12-29T02:47:52.746Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-29T02:47:53.322Z] INFO: Archiving Costs [Pipeline] echo [2020-12-29T02:47:53.334Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-29T02:47:53.639Z] ---> logs-deploy.sh [2020-12-29T02:47:53.639Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-697/4 [2020-12-29T02:47:53.639Z] INFO: archiving workspace using pattern(s): [2020-12-29T02:47:55.572Z] Archives upload complete. [2020-12-29T02:47:55.572Z] INFO: archiving logs to Nexus