Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f7552a030ae1ce77e826f10205b919d23d12d66c+b058260e0a173cbd20e8373902e2c8ff53da770e (27bba89210a5543191bce5752ad6e426c1140603) 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-16812 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 Merging remotes/origin/master commit b058260e0a173cbd20e8373902e2c8ff53da770e into PR head commit f7552a030ae1ce77e826f10205b919d23d12d66c Merge succeeded, producing 698d5ecc23d6f37d9d302f32eb1b12950de61c2e Checking out Revision 698d5ecc23d6f37d9d302f32eb1b12950de61c2e (PR-697) > 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 > 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 b058260e0a173cbd20e8373902e2c8ff53da770e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 698d5ecc23d6f37d9d302f32eb1b12950de61c2e # timeout=10 Commit message: "Merge commit 'b058260e0a173cbd20e8373902e2c8ff53da770e' into HEAD" > git rev-list --no-walk f7552a030ae1ce77e826f10205b919d23d12d66c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-19T02:41:47.657Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-19T02:41:47.948Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-19T02:41:48.057Z] ========================================================= [2020-12-19T02:41:48.058Z] EdgeX Global Pipelines Version Info [2020-12-19T02:41:48.058Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-19T02:41:49.510Z] ------------------- [2020-12-19T02:41:49.510Z] stable info: [2020-12-19T02:41:49.510Z] ------------------- [2020-12-19T02:41:49.510Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-19T02:41:49.510Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-19T02:41:49.510Z] Message: update stable to v1.0.173 [2020-12-19T02:41:50.461Z] ------------------- [2020-12-19T02:41:50.461Z] experimental info: [2020-12-19T02:41:50.461Z] ------------------- [2020-12-19T02:41:50.461Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-19T02:41:50.461Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-19T02:41:50.461Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-19T02:41:50.758Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-12-19T02:41:50.874Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-12-19T02:41:50.990Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-19T02:41:51.094Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-19T02:41:51.196Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-19T02:41:51.299Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-19T02:41:51.393Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-19T02:41:51.510Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-19T02:41:51.613Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-12-19T02:41:51.707Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-19T02:41:51.802Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-19T02:41:51.894Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-12-19T02:41:52.003Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-19T02:41:52.097Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-19T02:41:52.191Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-19T02:41:52.305Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-19T02:41:52.402Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-19T02:41:52.497Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-19T02:41:52.593Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-19T02:41:52.686Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-19T02:41:52.777Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-19T02:41:52.867Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-19T02:41:52.956Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-19T02:41:53.046Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-19T02:41:53.155Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-19T02:41:53.247Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-19T02:41:53.338Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-19T02:41:53.440Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-697 [Pipeline] echo [2020-12-19T02:41:53.536Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-697 [Pipeline] echo [2020-12-19T02:41:53.627Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-697 [Pipeline] echo [2020-12-19T02:41:53.732Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 698d5ecc23d6f37d9d302f32eb1b12950de61c2e [Pipeline] echo [2020-12-19T02:41:53.825Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 698d5ec [Pipeline] echo [2020-12-19T02:41:53.940Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-19T02:41:54.119Z] provisioning config files... [2020-12-19T02:41:54.145Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-697@tmp/config2677983904210082173tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-19T02:41:54.517Z] ---> docker-login.sh [2020-12-19T02:41:54.517Z] nexus3.edgexfoundry.org:10001 [2020-12-19T02:41:54.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T02:41:55.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T02:41:55.041Z] Configure a credential helper to remove this warning. See [2020-12-19T02:41:55.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T02:41:55.041Z] [2020-12-19T02:41:55.041Z] Login Succeeded [2020-12-19T02:41:55.041Z] nexus3.edgexfoundry.org:10002 [2020-12-19T02:41:55.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T02:41:55.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T02:41:55.041Z] Configure a credential helper to remove this warning. See [2020-12-19T02:41:55.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T02:41:55.041Z] [2020-12-19T02:41:55.041Z] Login Succeeded [2020-12-19T02:41:55.305Z] nexus3.edgexfoundry.org:10003 [2020-12-19T02:41:55.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T02:41:55.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T02:41:55.305Z] Configure a credential helper to remove this warning. See [2020-12-19T02:41:55.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T02:41:55.305Z] [2020-12-19T02:41:55.305Z] Login Succeeded [2020-12-19T02:41:55.305Z] nexus3.edgexfoundry.org:10004 [2020-12-19T02:41:55.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T02:41:55.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T02:41:55.566Z] Configure a credential helper to remove this warning. See [2020-12-19T02:41:55.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T02:41:55.566Z] [2020-12-19T02:41:55.566Z] Login Succeeded [2020-12-19T02:41:55.566Z] docker.io [2020-12-19T02:41:55.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T02:41:55.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T02:41:55.828Z] Configure a credential helper to remove this warning. See [2020-12-19T02:41:55.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T02:41:55.828Z] [2020-12-19T02:41:55.828Z] Login Succeeded [2020-12-19T02:41:55.828Z] ---> docker-login.sh ends [Pipeline] } [2020-12-19T02:41:55.837Z] 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-19T02:41:56.780Z] + git log --format=format:%s -1 698d5ecc23d6f37d9d302f32eb1b12950de61c2e [Pipeline] echo [2020-12-19T02:41:56.843Z] GIT_COMMIT: 698d5ecc23d6f37d9d302f32eb1b12950de61c2e, Commit Message: Merge commit 'b058260e0a173cbd20e8373902e2c8ff53da770e' into HEAD [Pipeline] echo [2020-12-19T02:41:56.898Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-19T02:41:57.831Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-19T02:41:57.831Z] [2020-12-19T02:41:57.831Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-19T02:41:58.179Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-19T02:41:58.180Z] latest: Pulling from edgex-devops/git-semver [2020-12-19T02:41:58.180Z] 31603596830f: Pulling fs layer [2020-12-19T02:41:58.180Z] 2a8b12db71e7: Pulling fs layer [2020-12-19T02:41:58.180Z] 6ca5941a6612: Pulling fs layer [2020-12-19T02:41:58.180Z] ecc8261a40a4: Pulling fs layer [2020-12-19T02:41:58.180Z] ecc8261a40a4: Waiting [2020-12-19T02:41:58.180Z] 2a8b12db71e7: Verifying Checksum [2020-12-19T02:41:58.180Z] 2a8b12db71e7: Download complete [2020-12-19T02:41:58.442Z] 31603596830f: Download complete [2020-12-19T02:41:58.442Z] ecc8261a40a4: Verifying Checksum [2020-12-19T02:41:58.442Z] ecc8261a40a4: Download complete [2020-12-19T02:41:58.442Z] 6ca5941a6612: Verifying Checksum [2020-12-19T02:41:58.442Z] 6ca5941a6612: Download complete [2020-12-19T02:41:58.704Z] 31603596830f: Pull complete [2020-12-19T02:41:58.971Z] 2a8b12db71e7: Pull complete [2020-12-19T02:41:59.551Z] 6ca5941a6612: Pull complete [2020-12-19T02:41:59.813Z] ecc8261a40a4: Pull complete [2020-12-19T02:42:00.074Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-19T02:42:00.074Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-19T02:42:00.074Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-19T02:42:00.178Z] prd-centos7-docker-4c-2g-16812 does not seem to be running inside a container [2020-12-19T02:42:00.225Z] $ 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-19T02:42:02.200Z] $ docker top fb6d816e80af0f19c32a7cde51af84790d9afedb6d5d83a751be19e73375c7ae -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-19T02:42:02.541Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-19T02:42:02.541Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-19T02:42:02.749Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-19T02:42:02.755Z] $ docker exec fb6d816e80af0f19c32a7cde51af84790d9afedb6d5d83a751be19e73375c7ae ssh-agent [2020-12-19T02:42:02.914Z] SSH_AUTH_SOCK=/tmp/ssh-UkNBZmbHlr2c/agent.12 [2020-12-19T02:42:02.914Z] SSH_AGENT_PID=17 [2020-12-19T02:42:02.924Z] Running ssh-add (command line suppressed) [2020-12-19T02:42:03.045Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-697@tmp/private_key_9193626813156024963.key (/w/workspace/dgexfoundry_device-sdk-go_PR-697@tmp/private_key_9193626813156024963.key) [2020-12-19T02:42:03.092Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-19T02:42:03.427Z] + git tag --points-at HEAD [Pipeline] } [2020-12-19T02:42:03.452Z] $ docker exec --env ******** --env ******** fb6d816e80af0f19c32a7cde51af84790d9afedb6d5d83a751be19e73375c7ae ssh-agent -k [2020-12-19T02:42:03.568Z] unset SSH_AUTH_SOCK; [2020-12-19T02:42:03.569Z] unset SSH_AGENT_PID; [2020-12-19T02:42:03.569Z] echo Agent pid 17 killed; [2020-12-19T02:42:03.610Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-19T02:42:03.763Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-19T02:42:03.763Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-19T02:42:03.927Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-19T02:42:03.935Z] $ docker exec fb6d816e80af0f19c32a7cde51af84790d9afedb6d5d83a751be19e73375c7ae ssh-agent [2020-12-19T02:42:04.094Z] SSH_AUTH_SOCK=/tmp/ssh-xCGvXM08IIlo/agent.45 [2020-12-19T02:42:04.094Z] SSH_AGENT_PID=50 [2020-12-19T02:42:04.101Z] Running ssh-add (command line suppressed) [2020-12-19T02:42:04.216Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-697@tmp/private_key_1719325973590342680.key (/w/workspace/dgexfoundry_device-sdk-go_PR-697@tmp/private_key_1719325973590342680.key) [2020-12-19T02:42:04.264Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-19T02:42:04.599Z] + git semver init [2020-12-19T02:42:04.599Z] # -> Open(): unable to determine branch for HEAD [2020-12-19T02:42:04.599Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-697/.git [2020-12-19T02:42:04.599Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-697 [2020-12-19T02:42:04.599Z] # $SEMVER_REMOTE_NAME = origin [2020-12-19T02:42:04.599Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-19T02:42:04.599Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-19T02:42:04.599Z] # $SEMVER_BRANCH = PR-697 [2020-12-19T02:42:04.599Z] # $SEMVER_TEMP = /tmp/semver-377790424 [2020-12-19T02:42:04.599Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-12-19T02:42:05.173Z] # '/tmp/semver-377790424' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-697/.semver' [2020-12-19T02:42:05.173Z] # -> Force: false [2020-12-19T02:42:05.173Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-697/.semver [Pipeline] } [2020-12-19T02:42:05.188Z] $ docker exec --env ******** --env ******** fb6d816e80af0f19c32a7cde51af84790d9afedb6d5d83a751be19e73375c7ae ssh-agent -k [2020-12-19T02:42:05.298Z] unset SSH_AUTH_SOCK; [2020-12-19T02:42:05.298Z] unset SSH_AGENT_PID; [2020-12-19T02:42:05.298Z] echo Agent pid 50 killed; [2020-12-19T02:42:05.340Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-19T02:42:05.834Z] + git semver [Pipeline] } [2020-12-19T02:42:05.852Z] $ docker stop --time=1 fb6d816e80af0f19c32a7cde51af84790d9afedb6d5d83a751be19e73375c7ae [2020-12-19T02:42:07.466Z] $ docker rm -f fb6d816e80af0f19c32a7cde51af84790d9afedb6d5d83a751be19e73375c7ae [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-19T02:42:07.938Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-19T02:42:08.312Z] Stashed 1 file(s) [Pipeline] echo [2020-12-19T02:42:08.316Z] [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-19T02:42:23.875Z] Still waiting to schedule task [2020-12-19T02:42:23.875Z] ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-16814’ is offline [2020-12-19T02:42:23.877Z] Still waiting to schedule task [2020-12-19T02:42:23.877Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-19T02:43:38.097Z] Running on prd-centos7-docker-4c-2g-16817 in /w/workspace/dgexfoundry_device-sdk-go_PR-697 [Pipeline] { [Pipeline] ws [2020-12-19T02:43:38.145Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-12-19T02:43:40.661Z] using credential edgex-jenkins-ssh [2020-12-19T02:43:40.710Z] Cloning the remote Git repository [2020-12-19T02:43:40.515Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-19T02:43:40.590Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-12-19T02:43:40.649Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-19T02:43:40.650Z] > git --version # timeout=10 [2020-12-19T02:43:40.657Z] > git --version # 'git version 2.24.3' [2020-12-19T02:43:40.658Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-19T02:43:40.698Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-19T02:43:42.089Z] Merging remotes/origin/master commit b058260e0a173cbd20e8373902e2c8ff53da770e into PR head commit f7552a030ae1ce77e826f10205b919d23d12d66c [2020-12-19T02:43:42.233Z] Merge succeeded, producing 810a3884db33716c9a5d10fe56fc10ad5fea8154 [2020-12-19T02:43:42.233Z] Checking out Revision 810a3884db33716c9a5d10fe56fc10ad5fea8154 (PR-697) [2020-12-19T02:43:41.460Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-19T02:43:41.474Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-19T02:43:41.485Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-19T02:43:41.504Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-19T02:43:41.505Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-19T02:43:41.510Z] > 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-19T02:43:41.996Z] > git config core.sparsecheckout # timeout=10 [2020-12-19T02:43:42.006Z] > git checkout -f f7552a030ae1ce77e826f10205b919d23d12d66c # timeout=10 [2020-12-19T02:43:42.068Z] > git remote # timeout=10 [2020-12-19T02:43:42.075Z] > git config --get remote.origin.url # timeout=10 [2020-12-19T02:43:42.081Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-19T02:43:42.087Z] > git merge b058260e0a173cbd20e8373902e2c8ff53da770e # timeout=10 [2020-12-19T02:43:42.133Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-19T02:43:42.145Z] > git config core.sparsecheckout # timeout=10 [2020-12-19T02:43:42.151Z] > git checkout -f 810a3884db33716c9a5d10fe56fc10ad5fea8154 # timeout=10 [2020-12-19T02:43:46.062Z] Commit message: "Merge commit 'b058260e0a173cbd20e8373902e2c8ff53da770e' into HEAD" [2020-12-19T02:43:46.068Z] > git rev-list --no-walk f7552a030ae1ce77e826f10205b919d23d12d66c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-19T02:43:47.263Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-19T02:43:47.604Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-19T02:43:47.901Z] + sudo service docker restart [2020-12-19T02:43:47.901Z] + true [2020-12-19T02:43:47.901Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-19T02:43:49.350Z] provisioning config files... [2020-12-19T02:43:49.385Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config965718248270199013tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-19T02:43:49.742Z] ---> docker-login.sh [2020-12-19T02:43:49.742Z] nexus3.edgexfoundry.org:10001 [2020-12-19T02:43:50.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T02:43:50.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T02:43:50.005Z] Configure a credential helper to remove this warning. See [2020-12-19T02:43:50.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T02:43:50.005Z] [2020-12-19T02:43:50.005Z] Login Succeeded [2020-12-19T02:43:50.005Z] nexus3.edgexfoundry.org:10002 [2020-12-19T02:43:50.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T02:43:50.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T02:43:50.269Z] Configure a credential helper to remove this warning. See [2020-12-19T02:43:50.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T02:43:50.269Z] [2020-12-19T02:43:50.269Z] Login Succeeded [2020-12-19T02:43:50.269Z] nexus3.edgexfoundry.org:10003 [2020-12-19T02:43:50.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T02:43:50.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T02:43:50.531Z] Configure a credential helper to remove this warning. See [2020-12-19T02:43:50.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T02:43:50.531Z] [2020-12-19T02:43:50.531Z] Login Succeeded [2020-12-19T02:43:50.531Z] nexus3.edgexfoundry.org:10004 [2020-12-19T02:43:50.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T02:43:50.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T02:43:50.794Z] Configure a credential helper to remove this warning. See [2020-12-19T02:43:50.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T02:43:50.794Z] [2020-12-19T02:43:50.794Z] Login Succeeded [2020-12-19T02:43:50.794Z] docker.io [2020-12-19T02:43:50.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T02:43:51.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T02:43:51.056Z] Configure a credential helper to remove this warning. See [2020-12-19T02:43:51.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T02:43:51.056Z] [2020-12-19T02:43:51.056Z] Login Succeeded [2020-12-19T02:43:51.056Z] ---> docker-login.sh ends [Pipeline] } [2020-12-19T02:43:51.065Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-19T02:43:51.468Z] ========================================================= [2020-12-19T02:43:51.468Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-19T02:43:51.468Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-19T02:43:51.813Z] + 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-19T02:43:51.813Z] Sending build context to Docker daemon 2.41MB [2020-12-19T02:43:51.813Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-19T02:43:51.813Z] Step 2/8 : FROM ${BASE} [2020-12-19T02:43:52.079Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-19T02:43:52.079Z] 188c0c94c7c5: Pulling fs layer [2020-12-19T02:43:52.079Z] 0ef7d3d256c8: Pulling fs layer [2020-12-19T02:43:52.079Z] de9db76c5a1d: Pulling fs layer [2020-12-19T02:43:52.079Z] bca2f99d35d6: Pulling fs layer [2020-12-19T02:43:52.079Z] 93359f2a8cfa: Pulling fs layer [2020-12-19T02:43:52.079Z] 7c6f9722023f: Pulling fs layer [2020-12-19T02:43:52.079Z] a35cf1a2eb13: Pulling fs layer [2020-12-19T02:43:52.079Z] 93359f2a8cfa: Waiting [2020-12-19T02:43:52.079Z] 7c6f9722023f: Waiting [2020-12-19T02:43:52.079Z] a35cf1a2eb13: Waiting [2020-12-19T02:43:52.079Z] bca2f99d35d6: Waiting [2020-12-19T02:43:52.079Z] de9db76c5a1d: Download complete [2020-12-19T02:43:52.079Z] 0ef7d3d256c8: Verifying Checksum [2020-12-19T02:43:52.079Z] 0ef7d3d256c8: Download complete [2020-12-19T02:43:52.079Z] 93359f2a8cfa: Verifying Checksum [2020-12-19T02:43:52.079Z] 93359f2a8cfa: Download complete [2020-12-19T02:43:52.079Z] 7c6f9722023f: Verifying Checksum [2020-12-19T02:43:52.079Z] 7c6f9722023f: Download complete [2020-12-19T02:43:52.079Z] 188c0c94c7c5: Verifying Checksum [2020-12-19T02:43:52.079Z] 188c0c94c7c5: Download complete [2020-12-19T02:43:52.345Z] 188c0c94c7c5: Pull complete [2020-12-19T02:43:52.609Z] 0ef7d3d256c8: Pull complete [2020-12-19T02:43:52.609Z] de9db76c5a1d: Pull complete [2020-12-19T02:43:55.184Z] a35cf1a2eb13: Verifying Checksum [2020-12-19T02:43:55.184Z] a35cf1a2eb13: Download complete [2020-12-19T02:43:55.184Z] bca2f99d35d6: Verifying Checksum [2020-12-19T02:43:55.184Z] bca2f99d35d6: Download complete [2020-12-19T02:44:00.523Z] bca2f99d35d6: Pull complete [2020-12-19T02:44:00.523Z] 93359f2a8cfa: Pull complete [2020-12-19T02:44:00.786Z] 7c6f9722023f: Pull complete [2020-12-19T02:44:06.168Z] a35cf1a2eb13: Pull complete [2020-12-19T02:44:06.168Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-19T02:44:06.168Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-19T02:44:06.168Z] ---> a62c8e92a672 [2020-12-19T02:44:06.168Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-19T02:44:06.168Z] ---> Running in f88f8a6dffd5 [2020-12-19T02:44:06.168Z] Removing intermediate container f88f8a6dffd5 [2020-12-19T02:44:06.168Z] ---> da60cc77fb71 [2020-12-19T02:44:06.168Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-19T02:44:06.168Z] ---> Running in cbc6b4d80c30 [2020-12-19T02:44:06.751Z] Removing intermediate container cbc6b4d80c30 [2020-12-19T02:44:06.751Z] ---> 7e15237b2951 [2020-12-19T02:44:06.751Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-19T02:44:06.751Z] ---> Running in 662087d1d4c7 [2020-12-19T02:44:08.163Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-19T02:44:08.737Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-19T02:44:09.008Z] OK: 166 MiB in 39 packages [2020-12-19T02:44:09.278Z] Removing intermediate container 662087d1d4c7 [2020-12-19T02:44:09.278Z] ---> fba885f8397d [2020-12-19T02:44:09.278Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-19T02:44:09.541Z] ---> Running in 5dc3b142cb8c [2020-12-19T02:44:09.541Z] Removing intermediate container 5dc3b142cb8c [2020-12-19T02:44:09.541Z] ---> d123a9aafc6c [2020-12-19T02:44:09.541Z] Step 7/8 : COPY . . [2020-12-19T02:44:10.936Z] ---> fa95092034e5 [2020-12-19T02:44:10.936Z] Step 8/8 : RUN go mod download [2020-12-19T02:44:10.936Z] ---> Running in 93ff2082baa9 [2020-12-19T02:44:13.079Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-16816 in /w/workspace/dgexfoundry_device-sdk-go_PR-697 [Pipeline] { [Pipeline] ws [2020-12-19T02:44:13.131Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-12-19T02:44:18.046Z] using credential edgex-jenkins-ssh [2020-12-19T02:44:18.140Z] Cloning the remote Git repository [2020-12-19T02:44:18.224Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-19T02:44:18.336Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-12-19T02:44:18.498Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-19T02:44:18.500Z] > git --version # timeout=10 [2020-12-19T02:44:18.561Z] > git --version # 'git version 2.17.1' [2020-12-19T02:44:18.563Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-19T02:44:18.714Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-19T02:44:20.145Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-19T02:44:20.164Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-19T02:44:20.196Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-19T02:44:20.237Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-19T02:44:20.238Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-19T02:44:20.252Z] > 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-19T02:44:20.787Z] Merging remotes/origin/master commit b058260e0a173cbd20e8373902e2c8ff53da770e into PR head commit f7552a030ae1ce77e826f10205b919d23d12d66c [2020-12-19T02:44:21.208Z] Merge succeeded, producing 804e45491959b00718ce08fe58a9d399d8062786 [2020-12-19T02:44:21.209Z] Checking out Revision 804e45491959b00718ce08fe58a9d399d8062786 (PR-697) [2020-12-19T02:44:20.797Z] > git config core.sparsecheckout # timeout=10 [2020-12-19T02:44:20.868Z] > git checkout -f f7552a030ae1ce77e826f10205b919d23d12d66c # timeout=10 [2020-12-19T02:44:21.012Z] > git remote # timeout=10 [2020-12-19T02:44:21.043Z] > git config --get remote.origin.url # timeout=10 [2020-12-19T02:44:21.086Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-19T02:44:21.096Z] > git merge b058260e0a173cbd20e8373902e2c8ff53da770e # timeout=10 [2020-12-19T02:44:21.181Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-19T02:44:21.205Z] > git config core.sparsecheckout # timeout=10 [2020-12-19T02:44:21.215Z] > git checkout -f 804e45491959b00718ce08fe58a9d399d8062786 # timeout=10 [2020-12-19T02:44:25.531Z] Commit message: "Merge commit 'b058260e0a173cbd20e8373902e2c8ff53da770e' into HEAD" [2020-12-19T02:44:25.529Z] > git rev-list --no-walk f7552a030ae1ce77e826f10205b919d23d12d66c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-19T02:44:27.311Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-19T02:44:27.733Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-19T02:44:28.082Z] + true [2020-12-19T02:44:28.082Z] + sudo service docker restart [2020-12-19T02:44:29.130Z] Removing intermediate container 93ff2082baa9 [2020-12-19T02:44:29.130Z] ---> 9c66fc0e3fa4 [2020-12-19T02:44:29.130Z] Successfully built 9c66fc0e3fa4 [2020-12-19T02:44:29.130Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-19T02:44:29.443Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-19T02:44:29.443Z] . [Pipeline] withDockerContainer [2020-12-19T02:44:29.550Z] prd-centos7-docker-4c-2g-16817 does not seem to be running inside a container [2020-12-19T02:44:29.602Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-19T02:44:30.319Z] $ docker top b56dfd68fa2149ad7d287d683da4adb4086522f02b82898efce2f195c3b4fdde -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-19T02:44:30.786Z] provisioning config files... [2020-12-19T02:44:30.815Z] + go version [2020-12-19T02:44:30.815Z] go version go1.15.5 linux/amd64 [2020-12-19T02:44:30.822Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config2079227199557366936tmp [Pipeline] } [2020-12-19T02:44:30.843Z] $ docker stop --time=1 b56dfd68fa2149ad7d287d683da4adb4086522f02b82898efce2f195c3b4fdde [2020-12-19T02:44:32.918Z] $ docker rm -f b56dfd68fa2149ad7d287d683da4adb4086522f02b82898efce2f195c3b4fdde [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [2020-12-19T02:44:33.494Z] ---> docker-login.sh [2020-12-19T02:44:33.494Z] nexus3.edgexfoundry.org:10001 [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-19T02:44:33.871Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-19T02:44:33.871Z] . [Pipeline] withDockerContainer [2020-12-19T02:44:33.979Z] prd-centos7-docker-4c-2g-16817 does not seem to be running inside a container [2020-12-19T02:44:34.029Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-19T02:44:34.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T02:44:34.606Z] $ docker top f1de0567bf3f3922ff4e61223df27ff428cb5b9a5af7bd34b8cbbe63df781ce1 -eo pid,comm [Pipeline] { [2020-12-19T02:44:34.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T02:44:34.797Z] Configure a credential helper to remove this warning. See [2020-12-19T02:44:34.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T02:44:34.797Z] [2020-12-19T02:44:34.797Z] Login Succeeded [2020-12-19T02:44:34.797Z] nexus3.edgexfoundry.org:10002 [Pipeline] sh [2020-12-19T02:44:35.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T02:44:35.124Z] + make test [2020-12-19T02:44:35.124Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-19T02:44:35.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T02:44:35.343Z] Configure a credential helper to remove this warning. See [2020-12-19T02:44:35.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T02:44:35.343Z] [2020-12-19T02:44:35.343Z] Login Succeeded [2020-12-19T02:44:35.343Z] nexus3.edgexfoundry.org:10003 [2020-12-19T02:44:35.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T02:44:35.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T02:44:35.618Z] Configure a credential helper to remove this warning. See [2020-12-19T02:44:35.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T02:44:35.618Z] [2020-12-19T02:44:35.618Z] Login Succeeded [2020-12-19T02:44:35.618Z] nexus3.edgexfoundry.org:10004 [2020-12-19T02:44:36.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T02:44:36.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T02:44:36.218Z] Configure a credential helper to remove this warning. See [2020-12-19T02:44:36.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T02:44:36.218Z] [2020-12-19T02:44:36.218Z] Login Succeeded [2020-12-19T02:44:36.218Z] docker.io [2020-12-19T02:44:36.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T02:44:37.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T02:44:37.097Z] Configure a credential helper to remove this warning. See [2020-12-19T02:44:37.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T02:44:37.097Z] [2020-12-19T02:44:37.097Z] Login Succeeded [2020-12-19T02:44:37.097Z] ---> docker-login.sh ends [Pipeline] } [2020-12-19T02:44:37.115Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-19T02:44:37.528Z] ========================================================= [2020-12-19T02:44:37.528Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-19T02:44:37.528Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-19T02:44:37.900Z] + 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-19T02:44:38.521Z] Sending build context to Docker daemon 2.406MB [2020-12-19T02:44:38.521Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-19T02:44:38.521Z] Step 2/8 : FROM ${BASE} [2020-12-19T02:44:38.521Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-19T02:44:38.521Z] 5f621e34cdf4: Pulling fs layer [2020-12-19T02:44:38.521Z] a4357932f1b6: Pulling fs layer [2020-12-19T02:44:38.521Z] 18c013af1878: Pulling fs layer [2020-12-19T02:44:38.521Z] 00ac8860ef70: Pulling fs layer [2020-12-19T02:44:38.521Z] 63d7cb157983: Pulling fs layer [2020-12-19T02:44:38.521Z] b116817d02f9: Pulling fs layer [2020-12-19T02:44:38.521Z] 745a02a5169b: Pulling fs layer [2020-12-19T02:44:38.521Z] 63d7cb157983: Waiting [2020-12-19T02:44:38.521Z] b116817d02f9: Waiting [2020-12-19T02:44:38.521Z] 00ac8860ef70: Waiting [2020-12-19T02:44:38.521Z] 745a02a5169b: Waiting [2020-12-19T02:44:38.521Z] 18c013af1878: Verifying Checksum [2020-12-19T02:44:38.521Z] 18c013af1878: Download complete [2020-12-19T02:44:38.521Z] a4357932f1b6: Verifying Checksum [2020-12-19T02:44:38.521Z] a4357932f1b6: Download complete [2020-12-19T02:44:38.521Z] 63d7cb157983: Download complete [2020-12-19T02:44:38.521Z] b116817d02f9: Verifying Checksum [2020-12-19T02:44:38.521Z] b116817d02f9: Download complete [2020-12-19T02:44:38.521Z] 5f621e34cdf4: Verifying Checksum [2020-12-19T02:44:38.521Z] 5f621e34cdf4: Download complete [2020-12-19T02:44:39.529Z] 5f621e34cdf4: Pull complete [2020-12-19T02:44:40.139Z] a4357932f1b6: Pull complete [2020-12-19T02:44:40.418Z] 18c013af1878: Pull complete [2020-12-19T02:44:41.809Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-19T02:44:42.404Z] 745a02a5169b: Verifying Checksum [2020-12-19T02:44:42.404Z] 745a02a5169b: Download complete [2020-12-19T02:44:45.033Z] 00ac8860ef70: Verifying Checksum [2020-12-19T02:44:45.033Z] 00ac8860ef70: Download complete [2020-12-19T02:44:54.162Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-19T02:44:54.162Z] internal/v2/application/command.go:494:23: undefined: dtos.ValueTypeString [2020-12-19T02:44:54.162Z] internal/v2/application/command.go:496:23: undefined: dtos.ValueTypeBool [2020-12-19T02:44:54.162Z] internal/v2/application/command.go:502:23: undefined: dtos.ValueTypeBoolArray [2020-12-19T02:44:54.162Z] internal/v2/application/command.go:509:23: undefined: dtos.ValueTypeUint8 [2020-12-19T02:44:54.162Z] internal/v2/application/command.go:515:23: undefined: dtos.ValueTypeUint8Array [2020-12-19T02:44:54.162Z] internal/v2/application/command.go:526:23: undefined: dtos.ValueTypeUint16 [2020-12-19T02:44:54.162Z] internal/v2/application/command.go:532:23: undefined: dtos.ValueTypeUint16Array [2020-12-19T02:44:54.162Z] internal/v2/application/command.go:543:23: undefined: dtos.ValueTypeUint32 [2020-12-19T02:44:54.162Z] internal/v2/application/command.go:549:23: undefined: dtos.ValueTypeUint32Array [2020-12-19T02:44:54.162Z] internal/v2/application/command.go:560:23: undefined: dtos.ValueTypeUint64 [2020-12-19T02:44:54.162Z] internal/v2/application/command.go:560:23: too many errors [2020-12-19T02:44:55.190Z] 00ac8860ef70: Pull complete [2020-12-19T02:44:55.190Z] 63d7cb157983: Pull complete [2020-12-19T02:44:55.190Z] b116817d02f9: Pull complete [2020-12-19T02:44:56.125Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.063s coverage: 19.4% of statements [2020-12-19T02:44:57.549Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.449s coverage: 97.1% of statements [2020-12-19T02:44:59.508Z] 745a02a5169b: Pull complete [2020-12-19T02:44:59.508Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-19T02:44:59.508Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-19T02:44:59.508Z] ---> b7e6874047d6 [2020-12-19T02:44:59.508Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-19T02:45:02.121Z] ---> Running in 6d017893463d [2020-12-19T02:45:02.409Z] Removing intermediate container 6d017893463d [2020-12-19T02:45:02.410Z] ---> 897aadd107e8 [2020-12-19T02:45:02.410Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-19T02:45:02.410Z] ---> Running in 6d25498f7223 [2020-12-19T02:45:05.052Z] Removing intermediate container 6d25498f7223 [2020-12-19T02:45:05.052Z] ---> 5c4d1fe00202 [2020-12-19T02:45:05.052Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-19T02:45:05.052Z] ---> Running in b1177c4c68e9 [2020-12-19T02:45:06.488Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-19T02:45:07.082Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-19T02:45:07.679Z] OK: 142 MiB in 39 packages [2020-12-19T02:45:08.661Z] Removing intermediate container b1177c4c68e9 [2020-12-19T02:45:08.661Z] ---> 0adbf8329fbc [2020-12-19T02:45:08.661Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-19T02:45:08.938Z] ---> Running in 80ad9e1c2f66 [2020-12-19T02:45:09.537Z] Removing intermediate container 80ad9e1c2f66 [2020-12-19T02:45:09.537Z] ---> 95a2b156b4db [2020-12-19T02:45:09.537Z] Step 7/8 : COPY . . [2020-12-19T02:45:10.980Z] ---> 81d70176cde6 [2020-12-19T02:45:10.980Z] Step 8/8 : RUN go mod download [2020-12-19T02:45:10.980Z] ---> Running in 09db9950626d [2020-12-19T02:45:29.722Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.054s coverage: 9.4% of statements [2020-12-19T02:45:29.722Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.059s coverage: 21.9% of statements [2020-12-19T02:45:29.722Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-12-19T02:45:29.722Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.290s coverage: 68.9% of statements [2020-12-19T02:45:29.722Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.069s coverage: 53.8% of statements [2020-12-19T02:45:29.722Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.256s coverage: 68.9% of statements [2020-12-19T02:45:29.722Z] FAIL github.com/edgexfoundry/device-sdk-go/pkg/service [build failed] [2020-12-19T02:45:29.722Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2020-12-19T02:45:29.749Z] $ docker stop --time=1 f1de0567bf3f3922ff4e61223df27ff428cb5b9a5af7bd34b8cbbe63df781ce1 [2020-12-19T02:45:31.872Z] $ docker rm -f f1de0567bf3f3922ff4e61223df27ff428cb5b9a5af7bd34b8cbbe63df781ce1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [2020-12-19T02:45:33.149Z] Removing intermediate container 09db9950626d [2020-12-19T02:45:33.149Z] ---> 61d0ccba433c [2020-12-19T02:45:33.149Z] Successfully built 61d0ccba433c [2020-12-19T02:45:33.149Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-19T02:45:33.490Z] Failed in branch amd64 [Pipeline] isUnix [Pipeline] sh [2020-12-19T02:45:33.824Z] + docker inspect -f . ci-base-image-arm64 [2020-12-19T02:45:33.824Z] . [Pipeline] withDockerContainer [2020-12-19T02:45:34.102Z] prd-ubuntu18.04-docker-arm64-4c-16g-16816 does not seem to be running inside a container [2020-12-19T02:45:34.207Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-19T02:45:35.890Z] $ docker top 9780c6c0903ca4a55e3af4fe7c232da8022b963df73d34ca4adf1fc73e6b0cb7 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-19T02:45:36.971Z] + go version [2020-12-19T02:45:36.971Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-19T02:45:36.998Z] $ docker stop --time=1 9780c6c0903ca4a55e3af4fe7c232da8022b963df73d34ca4adf1fc73e6b0cb7 [2020-12-19T02:45:39.062Z] $ docker rm -f 9780c6c0903ca4a55e3af4fe7c232da8022b963df73d34ca4adf1fc73e6b0cb7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-19T02:45:40.135Z] + docker inspect -f . ci-base-image-arm64 [2020-12-19T02:45:40.135Z] . [Pipeline] withDockerContainer [2020-12-19T02:45:40.439Z] prd-ubuntu18.04-docker-arm64-4c-16g-16816 does not seem to be running inside a container [2020-12-19T02:45:40.541Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-19T02:45:42.281Z] $ docker top c50ba60d1086b1ced5af5669b651466d852e44422357b8a1a8aac066979bfb4d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-19T02:45:43.337Z] + make test [2020-12-19T02:45:43.337Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-19T02:46:10.181Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-19T02:46:49.247Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-19T02:46:49.247Z] internal/v2/application/command.go:494:23: undefined: dtos.ValueTypeString [2020-12-19T02:46:49.247Z] internal/v2/application/command.go:496:23: undefined: dtos.ValueTypeBool [2020-12-19T02:46:49.247Z] internal/v2/application/command.go:502:23: undefined: dtos.ValueTypeBoolArray [2020-12-19T02:46:49.247Z] internal/v2/application/command.go:509:23: undefined: dtos.ValueTypeUint8 [2020-12-19T02:46:49.247Z] internal/v2/application/command.go:515:23: undefined: dtos.ValueTypeUint8Array [2020-12-19T02:46:49.247Z] internal/v2/application/command.go:526:23: undefined: dtos.ValueTypeUint16 [2020-12-19T02:46:49.247Z] internal/v2/application/command.go:532:23: undefined: dtos.ValueTypeUint16Array [2020-12-19T02:46:49.247Z] internal/v2/application/command.go:543:23: undefined: dtos.ValueTypeUint32 [2020-12-19T02:46:49.247Z] internal/v2/application/command.go:549:23: undefined: dtos.ValueTypeUint32Array [2020-12-19T02:46:49.247Z] internal/v2/application/command.go:560:23: undefined: dtos.ValueTypeUint64 [2020-12-19T02:46:49.247Z] internal/v2/application/command.go:560:23: too many errors [2020-12-19T02:46:51.245Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.135s coverage: 19.4% of statements [2020-12-19T02:46:58.016Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.283s coverage: 97.1% of statements [2020-12-19T02:47:24.835Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.162s coverage: 9.4% of statements [2020-12-19T02:47:24.835Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.120s coverage: 21.9% of statements [2020-12-19T02:47:24.835Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-12-19T02:47:24.835Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.866s coverage: 68.9% of statements [2020-12-19T02:47:24.835Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.209s coverage: 53.8% of statements [2020-12-19T02:47:24.835Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.899s coverage: 68.9% of statements [2020-12-19T02:47:24.835Z] FAIL github.com/edgexfoundry/device-sdk-go/pkg/service [build failed] [2020-12-19T02:47:24.835Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2020-12-19T02:47:24.857Z] $ docker stop --time=1 c50ba60d1086b1ced5af5669b651466d852e44422357b8a1a8aac066979bfb4d [2020-12-19T02:47:27.022Z] $ docker rm -f c50ba60d1086b1ced5af5669b651466d852e44422357b8a1a8aac066979bfb4d [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-19T02:47:28.975Z] 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-19T02:47:31.999Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-19T02:47:32.312Z] ---> package-listing.sh [2020-12-19T02:47:32.312Z] ++ facter osfamily [2020-12-19T02:47:32.312Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-19T02:47:32.312Z] + OS_FAMILY=redhat [2020-12-19T02:47:32.312Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-697 [2020-12-19T02:47:32.312Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-19T02:47:32.312Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-19T02:47:32.312Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-19T02:47:32.312Z] + PACKAGES=/tmp/packages_start.txt [2020-12-19T02:47:32.312Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-697 ']' [2020-12-19T02:47:32.312Z] + PACKAGES=/tmp/packages_end.txt [2020-12-19T02:47:32.312Z] + case "${OS_FAMILY}" in [2020-12-19T02:47:32.312Z] + rpm -qa [2020-12-19T02:47:32.312Z] + sort [2020-12-19T02:47:37.626Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-19T02:47:37.626Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-19T02:47:37.626Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-19T02:47:37.626Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-697 ']' [2020-12-19T02:47:37.626Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-697/archives/ [2020-12-19T02:47:37.626Z] + 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-19T02:47:37.642Z] 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-19T02:47:37.939Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-19T02:47:38.282Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-19T02:47:38.282Z] [2020-12-19T02:47:38.282Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-19T02:47:38.636Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-19T02:47:38.636Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-19T02:47:38.636Z] df20fa9351a1: Pulling fs layer [2020-12-19T02:47:38.636Z] 36b3adc4ff6f: Pulling fs layer [2020-12-19T02:47:38.636Z] 8ad3a11d3b57: Pulling fs layer [2020-12-19T02:47:38.636Z] 46f8f816bc3b: Pulling fs layer [2020-12-19T02:47:38.636Z] 93b61091891f: Pulling fs layer [2020-12-19T02:47:38.636Z] 93b9cdb0e59b: Pulling fs layer [2020-12-19T02:47:38.636Z] 5e14af77c1be: Pulling fs layer [2020-12-19T02:47:38.636Z] 01666e4c0597: Pulling fs layer [2020-12-19T02:47:38.636Z] aa168da1d23b: Pulling fs layer [2020-12-19T02:47:38.636Z] 46f8f816bc3b: Waiting [2020-12-19T02:47:38.636Z] 93b61091891f: Waiting [2020-12-19T02:47:38.636Z] 93b9cdb0e59b: Waiting [2020-12-19T02:47:38.636Z] 5e14af77c1be: Waiting [2020-12-19T02:47:38.636Z] 01666e4c0597: Waiting [2020-12-19T02:47:38.636Z] aa168da1d23b: Waiting [2020-12-19T02:47:38.907Z] 36b3adc4ff6f: Verifying Checksum [2020-12-19T02:47:38.907Z] 36b3adc4ff6f: Download complete [2020-12-19T02:47:38.907Z] 46f8f816bc3b: Verifying Checksum [2020-12-19T02:47:38.907Z] 46f8f816bc3b: Download complete [2020-12-19T02:47:38.907Z] df20fa9351a1: Verifying Checksum [2020-12-19T02:47:38.907Z] df20fa9351a1: Download complete [2020-12-19T02:47:38.907Z] 93b9cdb0e59b: Verifying Checksum [2020-12-19T02:47:38.907Z] 93b9cdb0e59b: Download complete [2020-12-19T02:47:38.907Z] 93b61091891f: Verifying Checksum [2020-12-19T02:47:38.907Z] 93b61091891f: Download complete [2020-12-19T02:47:39.175Z] 5e14af77c1be: Verifying Checksum [2020-12-19T02:47:39.175Z] 5e14af77c1be: Download complete [2020-12-19T02:47:39.175Z] 01666e4c0597: Verifying Checksum [2020-12-19T02:47:39.175Z] 01666e4c0597: Download complete [2020-12-19T02:47:39.438Z] df20fa9351a1: Pull complete [2020-12-19T02:47:39.703Z] 36b3adc4ff6f: Pull complete [2020-12-19T02:47:39.703Z] 8ad3a11d3b57: Verifying Checksum [2020-12-19T02:47:39.703Z] 8ad3a11d3b57: Download complete [2020-12-19T02:47:40.283Z] 8ad3a11d3b57: Pull complete [2020-12-19T02:47:40.283Z] 46f8f816bc3b: Pull complete [2020-12-19T02:47:40.860Z] 93b61091891f: Pull complete [2020-12-19T02:47:40.860Z] 93b9cdb0e59b: Pull complete [2020-12-19T02:47:41.122Z] 5e14af77c1be: Pull complete [2020-12-19T02:47:41.122Z] 01666e4c0597: Pull complete [2020-12-19T02:47:43.043Z] aa168da1d23b: Verifying Checksum [2020-12-19T02:47:43.043Z] aa168da1d23b: Download complete [2020-12-19T02:47:49.663Z] aa168da1d23b: Pull complete [2020-12-19T02:47:49.664Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-19T02:47:49.664Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-19T02:47:49.664Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-19T02:47:49.823Z] prd-centos7-docker-4c-2g-16812 does not seem to be running inside a container [2020-12-19T02:47:49.871Z] $ 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-19T02:47:53.993Z] $ docker top b784ec4bb09fed0e8072e750b9af377e88dc606c5502523462c4f9823147376c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-19T02:47:54.568Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-19T02:47:54.871Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-19T02:47:55.169Z] + ls /var/log/sa-host [2020-12-19T02:47:55.170Z] + sadf -c /var/log/sa-host/sa19 [2020-12-19T02:47:55.170Z] file_magic: OK [2020-12-19T02:47:55.170Z] HZ: Using current value: 100 [2020-12-19T02:47:55.170Z] file_header: OK [2020-12-19T02:47:55.170Z] 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-19T02:47:55.170Z] Statistics: [2020-12-19T02:47:55.170Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-19T02:47:55.170Z] File successfully converted to sysstat format version 12.2.1 [2020-12-19T02:47:55.170Z] + sadf -c /var/log/sa-host/sa23 [2020-12-19T02:47:55.170Z] file_magic: OK [2020-12-19T02:47:55.170Z] HZ: Using current value: 100 [2020-12-19T02:47:55.170Z] file_header: OK [2020-12-19T02:47:55.170Z] 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-19T02:47:55.170Z] Statistics: [2020-12-19T02:47:55.170Z] Hnuu...uuuununununu... [2020-12-19T02:47:55.170Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-19T02:47:55.805Z] provisioning config files... [2020-12-19T02:47:55.819Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-697@tmp/config203474815522236615tmp [Pipeline] { [Pipeline] echo [2020-12-19T02:47:55.898Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-19T02:47:56.200Z] ---> create-netrc.sh [Pipeline] } [2020-12-19T02:47:56.211Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-19T02:47:56.301Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-19T02:47:56.598Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-19T02:47:56.609Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-19T02:47:56.904Z] ---> sudo-logs.sh [2020-12-19T02:47:56.904Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-19T02:47:56.915Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-19T02:47:57.211Z] ---> job-cost.sh [2020-12-19T02:47:57.211Z] lf-activate-venv: SKIPPING [2020-12-19T02:47:57.211Z] INFO: No Stack... [2020-12-19T02:47:57.785Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-19T02:47:58.361Z] INFO: Archiving Costs [Pipeline] echo [2020-12-19T02:47:58.377Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-19T02:47:58.676Z] ---> logs-deploy.sh [2020-12-19T02:47:58.676Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-697/2 [2020-12-19T02:47:58.676Z] INFO: archiving workspace using pattern(s): [2020-12-19T02:48:00.160Z] Archives upload complete. [2020-12-19T02:48:00.440Z] INFO: archiving logs to Nexus