Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 rather than 1d243b9086b4db4f65a8fc81fe8b6f0be7ce970d Obtained Jenkinsfile from 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 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-17164 in /w/workspace/dgexfoundry_device-sdk-go_PR-701 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-701 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 into PR head commit 1d243b9086b4db4f65a8fc81fe8b6f0be7ce970d Merge succeeded, producing 273d5a985045ba56b5b3b45608352783840e985f Checking out Revision 273d5a985045ba56b5b3b45608352783840e985f (PR-701) > 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/701/head:refs/remotes/origin/PR-701 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1d243b9086b4db4f65a8fc81fe8b6f0be7ce970d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 273d5a985045ba56b5b3b45608352783840e985f # timeout=10 Commit message: "Merge commit '93569aefbcf2dcd4d18a31fcf2c190494ae30d88' into HEAD" > git rev-list --no-walk 1d243b9086b4db4f65a8fc81fe8b6f0be7ce970d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-22T02:43:24.524Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-22T02:43:24.741Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-22T02:43:24.831Z] ========================================================= [2020-12-22T02:43:24.831Z] EdgeX Global Pipelines Version Info [2020-12-22T02:43:24.831Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-22T02:43:26.427Z] ------------------- [2020-12-22T02:43:26.427Z] stable info: [2020-12-22T02:43:26.427Z] ------------------- [2020-12-22T02:43:26.427Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-22T02:43:26.427Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-22T02:43:26.427Z] Message: update stable to v1.0.173 [2020-12-22T02:43:27.371Z] ------------------- [2020-12-22T02:43:27.371Z] experimental info: [2020-12-22T02:43:27.371Z] ------------------- [2020-12-22T02:43:27.371Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-22T02:43:27.371Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-22T02:43:27.371Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-22T02:43:27.615Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-12-22T02:43:27.701Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-12-22T02:43:27.795Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-22T02:43:27.879Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-22T02:43:27.965Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-22T02:43:28.050Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-22T02:43:28.131Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-22T02:43:28.213Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-22T02:43:28.310Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-12-22T02:43:28.390Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-22T02:43:28.473Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-22T02:43:28.596Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-12-22T02:43:28.679Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-22T02:43:28.774Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-22T02:43:28.859Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-22T02:43:28.941Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-22T02:43:29.025Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-22T02:43:29.119Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-22T02:43:29.202Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-22T02:43:29.288Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-22T02:43:29.379Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-22T02:43:29.467Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-22T02:43:29.549Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-22T02:43:29.640Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-22T02:43:29.760Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-22T02:43:29.843Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-22T02:43:29.930Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-22T02:43:30.019Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-701 [Pipeline] echo [2020-12-22T02:43:30.199Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-701 [Pipeline] echo [2020-12-22T02:43:30.293Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-701 [Pipeline] echo [2020-12-22T02:43:30.431Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 273d5a985045ba56b5b3b45608352783840e985f [Pipeline] echo [2020-12-22T02:43:30.522Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 273d5a9 [Pipeline] echo [2020-12-22T02:43:30.611Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-22T02:43:30.837Z] provisioning config files... [2020-12-22T02:43:30.875Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp/config2325740970839092596tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-22T02:43:31.232Z] ---> docker-login.sh [2020-12-22T02:43:31.232Z] nexus3.edgexfoundry.org:10001 [2020-12-22T02:43:31.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T02:43:31.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T02:43:31.498Z] Configure a credential helper to remove this warning. See [2020-12-22T02:43:31.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T02:43:31.498Z] [2020-12-22T02:43:31.498Z] Login Succeeded [2020-12-22T02:43:31.498Z] nexus3.edgexfoundry.org:10002 [2020-12-22T02:43:31.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T02:43:31.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T02:43:31.760Z] Configure a credential helper to remove this warning. See [2020-12-22T02:43:31.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T02:43:31.760Z] [2020-12-22T02:43:31.760Z] Login Succeeded [2020-12-22T02:43:31.760Z] nexus3.edgexfoundry.org:10003 [2020-12-22T02:43:32.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T02:43:32.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T02:43:32.024Z] Configure a credential helper to remove this warning. See [2020-12-22T02:43:32.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T02:43:32.024Z] [2020-12-22T02:43:32.024Z] Login Succeeded [2020-12-22T02:43:32.024Z] nexus3.edgexfoundry.org:10004 [2020-12-22T02:43:32.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T02:43:32.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T02:43:32.024Z] Configure a credential helper to remove this warning. See [2020-12-22T02:43:32.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T02:43:32.024Z] [2020-12-22T02:43:32.024Z] Login Succeeded [2020-12-22T02:43:32.024Z] docker.io [2020-12-22T02:43:32.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T02:43:32.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T02:43:32.548Z] Configure a credential helper to remove this warning. See [2020-12-22T02:43:32.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T02:43:32.548Z] [2020-12-22T02:43:32.548Z] Login Succeeded [2020-12-22T02:43:32.548Z] ---> docker-login.sh ends [Pipeline] } [2020-12-22T02:43:32.557Z] 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-22T02:43:33.433Z] + git log --format=format:%s -1 273d5a985045ba56b5b3b45608352783840e985f [Pipeline] echo [2020-12-22T02:43:33.497Z] GIT_COMMIT: 273d5a985045ba56b5b3b45608352783840e985f, Commit Message: Merge commit '93569aefbcf2dcd4d18a31fcf2c190494ae30d88' into HEAD [Pipeline] echo [2020-12-22T02:43:33.543Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-22T02:43:34.143Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-22T02:43:34.143Z] [2020-12-22T02:43:34.143Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-22T02:43:34.509Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-22T02:43:34.509Z] latest: Pulling from edgex-devops/git-semver [2020-12-22T02:43:34.509Z] 31603596830f: Pulling fs layer [2020-12-22T02:43:34.509Z] 2a8b12db71e7: Pulling fs layer [2020-12-22T02:43:34.509Z] 6ca5941a6612: Pulling fs layer [2020-12-22T02:43:34.509Z] ecc8261a40a4: Pulling fs layer [2020-12-22T02:43:34.509Z] ecc8261a40a4: Waiting [2020-12-22T02:43:34.509Z] 2a8b12db71e7: Download complete [2020-12-22T02:43:34.509Z] 31603596830f: Verifying Checksum [2020-12-22T02:43:34.509Z] 31603596830f: Download complete [2020-12-22T02:43:34.775Z] ecc8261a40a4: Verifying Checksum [2020-12-22T02:43:34.775Z] ecc8261a40a4: Download complete [2020-12-22T02:43:34.775Z] 6ca5941a6612: Download complete [2020-12-22T02:43:35.044Z] 31603596830f: Pull complete [2020-12-22T02:43:35.044Z] 2a8b12db71e7: Pull complete [2020-12-22T02:43:35.996Z] 6ca5941a6612: Pull complete [2020-12-22T02:43:36.258Z] ecc8261a40a4: Pull complete [2020-12-22T02:43:36.258Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-22T02:43:36.258Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-22T02:43:36.258Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-22T02:43:36.361Z] prd-centos7-docker-4c-2g-17164 does not seem to be running inside a container [2020-12-22T02:43:36.413Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-701 -v /w/workspace/dgexfoundry_device-sdk-go_PR-701:/w/workspace/dgexfoundry_device-sdk-go_PR-701:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-22T02:43:38.673Z] $ docker top 3af341b1384efbcc8dd9249e99f189b1f3ebbe07234f45a48b2fc68f10ebf78c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-22T02:43:38.949Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-22T02:43:38.949Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-22T02:43:39.154Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-22T02:43:39.160Z] $ docker exec 3af341b1384efbcc8dd9249e99f189b1f3ebbe07234f45a48b2fc68f10ebf78c ssh-agent [2020-12-22T02:43:39.335Z] SSH_AUTH_SOCK=/tmp/ssh-uUn5B4KaKJZe/agent.11 [2020-12-22T02:43:39.335Z] SSH_AGENT_PID=16 [2020-12-22T02:43:39.344Z] Running ssh-add (command line suppressed) [2020-12-22T02:43:39.464Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp/private_key_4569588792444125055.key (/w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp/private_key_4569588792444125055.key) [2020-12-22T02:43:39.511Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-22T02:43:39.841Z] + git tag --points-at HEAD [Pipeline] } [2020-12-22T02:43:39.861Z] $ docker exec --env ******** --env ******** 3af341b1384efbcc8dd9249e99f189b1f3ebbe07234f45a48b2fc68f10ebf78c ssh-agent -k [2020-12-22T02:43:39.971Z] unset SSH_AUTH_SOCK; [2020-12-22T02:43:39.971Z] unset SSH_AGENT_PID; [2020-12-22T02:43:39.971Z] echo Agent pid 16 killed; [2020-12-22T02:43:40.014Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-22T02:43:40.226Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-22T02:43:40.226Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-22T02:43:40.396Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-22T02:43:40.401Z] $ docker exec 3af341b1384efbcc8dd9249e99f189b1f3ebbe07234f45a48b2fc68f10ebf78c ssh-agent [2020-12-22T02:43:40.567Z] SSH_AUTH_SOCK=/tmp/ssh-jSrrWk0HRtlZ/agent.44 [2020-12-22T02:43:40.567Z] SSH_AGENT_PID=50 [2020-12-22T02:43:40.576Z] Running ssh-add (command line suppressed) [2020-12-22T02:43:40.697Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp/private_key_3942668542036766559.key (/w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp/private_key_3942668542036766559.key) [2020-12-22T02:43:40.746Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-22T02:43:41.080Z] + git semver init [2020-12-22T02:43:41.080Z] # -> Open(): unable to determine branch for HEAD [2020-12-22T02:43:41.080Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-701/.git [2020-12-22T02:43:41.080Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-701 [2020-12-22T02:43:41.080Z] # $SEMVER_REMOTE_NAME = origin [2020-12-22T02:43:41.080Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-22T02:43:41.080Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-22T02:43:41.080Z] # $SEMVER_BRANCH = PR-701 [2020-12-22T02:43:41.080Z] # $SEMVER_TEMP = /tmp/semver-316096524 [2020-12-22T02:43:41.080Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-12-22T02:43:42.026Z] # '/tmp/semver-316096524' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-701/.semver' [2020-12-22T02:43:42.026Z] # -> Force: false [2020-12-22T02:43:42.026Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-701/.semver [Pipeline] } [2020-12-22T02:43:42.041Z] $ docker exec --env ******** --env ******** 3af341b1384efbcc8dd9249e99f189b1f3ebbe07234f45a48b2fc68f10ebf78c ssh-agent -k [2020-12-22T02:43:42.150Z] unset SSH_AUTH_SOCK; [2020-12-22T02:43:42.150Z] unset SSH_AGENT_PID; [2020-12-22T02:43:42.150Z] echo Agent pid 50 killed; [2020-12-22T02:43:42.194Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-22T02:43:42.667Z] + git semver [Pipeline] } [2020-12-22T02:43:42.685Z] $ docker stop --time=1 3af341b1384efbcc8dd9249e99f189b1f3ebbe07234f45a48b2fc68f10ebf78c [2020-12-22T02:43:44.059Z] $ docker rm -f 3af341b1384efbcc8dd9249e99f189b1f3ebbe07234f45a48b2fc68f10ebf78c [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-22T02:43:44.516Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-22T02:43:44.919Z] Stashed 1 file(s) [Pipeline] echo [2020-12-22T02:43:44.922Z] [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-22T02:44:00.505Z] Still waiting to schedule task [2020-12-22T02:44:00.506Z] ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-17167’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-17166’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-12-22T02:44:00.509Z] Still waiting to schedule task [2020-12-22T02:44:00.509Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-17166’ is offline [2020-12-22T02:45:19.446Z] Running on prd-centos7-docker-4c-2g-17172 in /w/workspace/dgexfoundry_device-sdk-go_PR-701 [Pipeline] { [Pipeline] ws [2020-12-22T02:45:19.503Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-12-22T02:45:22.090Z] using credential edgex-jenkins-ssh [2020-12-22T02:45:22.143Z] Cloning the remote Git repository [2020-12-22T02:45:21.763Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-22T02:45:21.841Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-12-22T02:45:21.907Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-22T02:45:21.907Z] > git --version # timeout=10 [2020-12-22T02:45:21.919Z] > git --version # 'git version 2.24.3' [2020-12-22T02:45:21.920Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-22T02:45:21.968Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-22T02:45:23.627Z] Merging remotes/origin/master commit 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 into PR head commit 1d243b9086b4db4f65a8fc81fe8b6f0be7ce970d [2020-12-22T02:45:23.752Z] Merge succeeded, producing 4dd468ac66f913f821302d1d76cd31edb1dccc8d [2020-12-22T02:45:23.753Z] Checking out Revision 4dd468ac66f913f821302d1d76cd31edb1dccc8d (PR-701) [2020-12-22T02:45:22.768Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-22T02:45:22.775Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-22T02:45:22.787Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-22T02:45:22.801Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-22T02:45:22.801Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-22T02:45:22.808Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/701/head:refs/remotes/origin/PR-701 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-22T02:45:23.344Z] > git config core.sparsecheckout # timeout=10 [2020-12-22T02:45:23.349Z] > git checkout -f 1d243b9086b4db4f65a8fc81fe8b6f0be7ce970d # timeout=10 [2020-12-22T02:45:23.405Z] > git remote # timeout=10 [2020-12-22T02:45:23.411Z] > git config --get remote.origin.url # timeout=10 [2020-12-22T02:45:23.419Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-22T02:45:23.423Z] > git merge 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 # timeout=10 [2020-12-22T02:45:23.464Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-22T02:45:23.475Z] > git config core.sparsecheckout # timeout=10 [2020-12-22T02:45:23.481Z] > git checkout -f 4dd468ac66f913f821302d1d76cd31edb1dccc8d # timeout=10 [2020-12-22T02:45:27.113Z] Commit message: "Merge commit '93569aefbcf2dcd4d18a31fcf2c190494ae30d88' into HEAD" [2020-12-22T02:45:27.116Z] > git rev-list --no-walk 1d243b9086b4db4f65a8fc81fe8b6f0be7ce970d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-22T02:45:28.446Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-22T02:45:28.768Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-22T02:45:29.079Z] + sudo service docker restart [2020-12-22T02:45:29.079Z] + true [2020-12-22T02:45:29.079Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-22T02:45:30.097Z] provisioning config files... [2020-12-22T02:45:30.121Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config1820559061172406929tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-22T02:45:30.479Z] ---> docker-login.sh [2020-12-22T02:45:30.479Z] nexus3.edgexfoundry.org:10001 [2020-12-22T02:45:30.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T02:45:30.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T02:45:30.743Z] Configure a credential helper to remove this warning. See [2020-12-22T02:45:30.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T02:45:30.743Z] [2020-12-22T02:45:30.743Z] Login Succeeded [2020-12-22T02:45:30.743Z] nexus3.edgexfoundry.org:10002 [2020-12-22T02:45:31.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T02:45:31.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T02:45:31.004Z] Configure a credential helper to remove this warning. See [2020-12-22T02:45:31.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T02:45:31.004Z] [2020-12-22T02:45:31.004Z] Login Succeeded [2020-12-22T02:45:31.004Z] nexus3.edgexfoundry.org:10003 [2020-12-22T02:45:31.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T02:45:31.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T02:45:31.266Z] Configure a credential helper to remove this warning. See [2020-12-22T02:45:31.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T02:45:31.266Z] [2020-12-22T02:45:31.266Z] Login Succeeded [2020-12-22T02:45:31.266Z] nexus3.edgexfoundry.org:10004 [2020-12-22T02:45:31.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T02:45:31.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T02:45:31.528Z] Configure a credential helper to remove this warning. See [2020-12-22T02:45:31.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T02:45:31.528Z] [2020-12-22T02:45:31.528Z] Login Succeeded [2020-12-22T02:45:31.528Z] docker.io [2020-12-22T02:45:31.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T02:45:31.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T02:45:31.791Z] Configure a credential helper to remove this warning. See [2020-12-22T02:45:31.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T02:45:31.791Z] [2020-12-22T02:45:31.791Z] Login Succeeded [2020-12-22T02:45:31.791Z] ---> docker-login.sh ends [Pipeline] } [2020-12-22T02:45:31.801Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-22T02:45:32.242Z] ========================================================= [2020-12-22T02:45:32.242Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-22T02:45:32.242Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-22T02:45:32.582Z] + 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-22T02:45:32.582Z] Sending build context to Docker daemon 2.47MB [2020-12-22T02:45:32.848Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-22T02:45:32.848Z] Step 2/8 : FROM ${BASE} [2020-12-22T02:45:32.848Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-22T02:45:32.848Z] 188c0c94c7c5: Pulling fs layer [2020-12-22T02:45:32.848Z] 0ef7d3d256c8: Pulling fs layer [2020-12-22T02:45:32.848Z] de9db76c5a1d: Pulling fs layer [2020-12-22T02:45:32.848Z] bca2f99d35d6: Pulling fs layer [2020-12-22T02:45:32.848Z] 93359f2a8cfa: Pulling fs layer [2020-12-22T02:45:32.848Z] 7c6f9722023f: Pulling fs layer [2020-12-22T02:45:32.848Z] a35cf1a2eb13: Pulling fs layer [2020-12-22T02:45:32.848Z] 93359f2a8cfa: Waiting [2020-12-22T02:45:32.848Z] 7c6f9722023f: Waiting [2020-12-22T02:45:32.848Z] a35cf1a2eb13: Waiting [2020-12-22T02:45:32.848Z] bca2f99d35d6: Waiting [2020-12-22T02:45:32.849Z] de9db76c5a1d: Verifying Checksum [2020-12-22T02:45:32.849Z] de9db76c5a1d: Download complete [2020-12-22T02:45:32.849Z] 0ef7d3d256c8: Verifying Checksum [2020-12-22T02:45:32.849Z] 0ef7d3d256c8: Download complete [2020-12-22T02:45:32.849Z] 93359f2a8cfa: Verifying Checksum [2020-12-22T02:45:32.849Z] 93359f2a8cfa: Download complete [2020-12-22T02:45:32.849Z] 7c6f9722023f: Verifying Checksum [2020-12-22T02:45:32.849Z] 7c6f9722023f: Download complete [2020-12-22T02:45:33.424Z] 188c0c94c7c5: Verifying Checksum [2020-12-22T02:45:33.424Z] 188c0c94c7c5: Download complete [2020-12-22T02:45:33.689Z] 188c0c94c7c5: Pull complete [2020-12-22T02:45:33.955Z] 0ef7d3d256c8: Pull complete [2020-12-22T02:45:34.223Z] de9db76c5a1d: Pull complete [2020-12-22T02:45:35.625Z] a35cf1a2eb13: Verifying Checksum [2020-12-22T02:45:35.625Z] a35cf1a2eb13: Download complete [2020-12-22T02:45:36.583Z] bca2f99d35d6: Verifying Checksum [2020-12-22T02:45:36.583Z] bca2f99d35d6: Download complete [2020-12-22T02:45:41.923Z] bca2f99d35d6: Pull complete [2020-12-22T02:45:41.923Z] 93359f2a8cfa: Pull complete [2020-12-22T02:45:41.923Z] 7c6f9722023f: Pull complete [2020-12-22T02:45:47.241Z] a35cf1a2eb13: Pull complete [2020-12-22T02:45:47.241Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-22T02:45:47.241Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-22T02:45:47.241Z] ---> a62c8e92a672 [2020-12-22T02:45:47.241Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-22T02:45:47.507Z] ---> Running in 3b5e7e8699eb [2020-12-22T02:45:47.770Z] Removing intermediate container 3b5e7e8699eb [2020-12-22T02:45:47.770Z] ---> ce9be4aeb03c [2020-12-22T02:45:47.770Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-22T02:45:47.770Z] ---> Running in 1460526be667 [2020-12-22T02:45:48.719Z] Removing intermediate container 1460526be667 [2020-12-22T02:45:48.719Z] ---> 4f1314dcf113 [2020-12-22T02:45:48.719Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-22T02:45:48.719Z] ---> Running in 23db38f89d84 [2020-12-22T02:45:50.890Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-22T02:45:50.890Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-22T02:45:50.890Z] OK: 166 MiB in 39 packages [2020-12-22T02:45:51.155Z] Removing intermediate container 23db38f89d84 [2020-12-22T02:45:51.155Z] ---> a700056bf5a3 [2020-12-22T02:45:51.155Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-22T02:45:51.155Z] ---> Running in dd4dcfb11c7e [2020-12-22T02:45:51.155Z] Removing intermediate container dd4dcfb11c7e [2020-12-22T02:45:51.155Z] ---> d0515dda43cb [2020-12-22T02:45:51.155Z] Step 7/8 : COPY . . [2020-12-22T02:45:52.545Z] ---> 61ad8dce62d3 [2020-12-22T02:45:52.545Z] Step 8/8 : RUN go mod download [2020-12-22T02:45:52.545Z] ---> Running in 8c62df329adf [2020-12-22T02:46:10.718Z] Removing intermediate container 8c62df329adf [2020-12-22T02:46:10.718Z] ---> fa78845caeb3 [2020-12-22T02:46:10.718Z] Successfully built fa78845caeb3 [2020-12-22T02:46:10.718Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-22T02:46:11.037Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-22T02:46:11.037Z] . [Pipeline] withDockerContainer [2020-12-22T02:46:11.204Z] prd-centos7-docker-4c-2g-17172 does not seem to be running inside a container [2020-12-22T02:46:11.343Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-22T02:46:12.477Z] $ docker top c4782e9393b8ab9d5c95835f2c06e64ff18df0e31355694b2dcb328bc7887fd6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-22T02:46:12.968Z] + go version [2020-12-22T02:46:12.968Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-22T02:46:12.985Z] $ docker stop --time=1 c4782e9393b8ab9d5c95835f2c06e64ff18df0e31355694b2dcb328bc7887fd6 [2020-12-22T02:46:14.311Z] $ docker rm -f c4782e9393b8ab9d5c95835f2c06e64ff18df0e31355694b2dcb328bc7887fd6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-22T02:46:15.203Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-22T02:46:15.203Z] . [Pipeline] withDockerContainer [2020-12-22T02:46:15.334Z] prd-centos7-docker-4c-2g-17172 does not seem to be running inside a container [2020-12-22T02:46:15.386Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-22T02:46:16.006Z] $ docker top 6a6ddf6ee97ca01e9ffffcee63b94c2d8d611949eb55141818995dab68e91ed0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-22T02:46:16.518Z] + make test [2020-12-22T02:46:16.518Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-22T02:46:23.157Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-22T02:46:35.527Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-22T02:46:35.527Z] internal/v2/application/command.go:495:23: undefined: v2.ValueTypeString [2020-12-22T02:46:35.527Z] internal/v2/application/command.go:497:23: undefined: v2.ValueTypeBool [2020-12-22T02:46:35.527Z] internal/v2/application/command.go:503:23: undefined: v2.ValueTypeBoolArray [2020-12-22T02:46:35.527Z] internal/v2/application/command.go:510:23: undefined: v2.ValueTypeUint8 [2020-12-22T02:46:35.527Z] internal/v2/application/command.go:516:23: undefined: v2.ValueTypeUint8Array [2020-12-22T02:46:35.527Z] internal/v2/application/command.go:527:23: undefined: v2.ValueTypeUint16 [2020-12-22T02:46:35.527Z] internal/v2/application/command.go:533:23: undefined: v2.ValueTypeUint16Array [2020-12-22T02:46:35.527Z] internal/v2/application/command.go:544:23: undefined: v2.ValueTypeUint32 [2020-12-22T02:46:35.527Z] internal/v2/application/command.go:550:23: undefined: v2.ValueTypeUint32Array [2020-12-22T02:46:35.527Z] internal/v2/application/command.go:561:23: undefined: v2.ValueTypeUint64 [2020-12-22T02:46:35.527Z] internal/v2/application/command.go:561:23: too many errors [2020-12-22T02:46:38.137Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.038s coverage: 19.4% of statements [2020-12-22T02:46:39.112Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.427s coverage: 97.1% of statements [2020-12-22T02:46:56.507Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-17173 in /w/workspace/dgexfoundry_device-sdk-go_PR-701 [Pipeline] { [Pipeline] ws [2020-12-22T02:46:56.563Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-12-22T02:47:01.666Z] using credential edgex-jenkins-ssh [2020-12-22T02:47:01.740Z] Cloning the remote Git repository [2020-12-22T02:47:01.809Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-22T02:47:01.943Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-12-22T02:47:02.023Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-22T02:47:02.024Z] > git --version # timeout=10 [2020-12-22T02:47:02.049Z] > git --version # 'git version 2.17.1' [2020-12-22T02:47:02.051Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-22T02:47:02.138Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-22T02:47:04.026Z] Merging remotes/origin/master commit 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 into PR head commit 1d243b9086b4db4f65a8fc81fe8b6f0be7ce970d [2020-12-22T02:47:03.271Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-22T02:47:03.288Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-22T02:47:03.325Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-22T02:47:03.360Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-22T02:47:03.361Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-22T02:47:03.373Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/701/head:refs/remotes/origin/PR-701 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-22T02:47:04.049Z] > git config core.sparsecheckout # timeout=10 [2020-12-22T02:47:04.077Z] > git checkout -f 1d243b9086b4db4f65a8fc81fe8b6f0be7ce970d # timeout=10 [2020-12-22T02:47:04.192Z] > git remote # timeout=10 [2020-12-22T02:47:04.211Z] > git config --get remote.origin.url # timeout=10 [2020-12-22T02:47:04.229Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-22T02:47:04.239Z] > git merge 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 # timeout=10 [2020-12-22T02:47:04.484Z] Merge succeeded, producing a8b4cfd8b35dc992f0abe31f637fb2f6a94ab738 [2020-12-22T02:47:04.484Z] Checking out Revision a8b4cfd8b35dc992f0abe31f637fb2f6a94ab738 (PR-701) [2020-12-22T02:47:04.465Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-22T02:47:04.493Z] > git config core.sparsecheckout # timeout=10 [2020-12-22T02:47:04.518Z] > git checkout -f a8b4cfd8b35dc992f0abe31f637fb2f6a94ab738 # timeout=10 [2020-12-22T02:47:08.819Z] Commit message: "Merge commit '93569aefbcf2dcd4d18a31fcf2c190494ae30d88' into HEAD" [2020-12-22T02:47:08.831Z] > git rev-list --no-walk 1d243b9086b4db4f65a8fc81fe8b6f0be7ce970d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-22T02:47:10.460Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-22T02:47:10.950Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-22T02:47:11.287Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.042s coverage: 9.4% of statements [2020-12-22T02:47:11.288Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.025s coverage: 21.9% of statements [2020-12-22T02:47:11.288Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-12-22T02:47:11.288Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.274s coverage: 68.9% of statements [2020-12-22T02:47:11.288Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.046s coverage: 53.8% of statements [2020-12-22T02:47:11.288Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.374s coverage: 68.9% of statements [2020-12-22T02:47:11.288Z] FAIL github.com/edgexfoundry/device-sdk-go/pkg/service [build failed] [2020-12-22T02:47:11.288Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2020-12-22T02:47:11.307Z] $ docker stop --time=1 6a6ddf6ee97ca01e9ffffcee63b94c2d8d611949eb55141818995dab68e91ed0 [2020-12-22T02:47:11.313Z] + sudo service docker restart+ [2020-12-22T02:47:11.313Z] true [2020-12-22T02:47:13.145Z] $ docker rm -f 6a6ddf6ee97ca01e9ffffcee63b94c2d8d611949eb55141818995dab68e91ed0 [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] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Snap) [Pipeline] wrap [2020-12-22T02:47:14.212Z] provisioning config files... Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [2020-12-22T02:47:14.275Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config2775805548849125321tmp [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [2020-12-22T02:47:14.770Z] ---> docker-login.sh [2020-12-22T02:47:14.771Z] nexus3.edgexfoundry.org:10001 [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-22T02:47:15.041Z] Failed in branch amd64 [2020-12-22T02:47:15.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T02:47:15.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T02:47:15.976Z] Configure a credential helper to remove this warning. See [2020-12-22T02:47:15.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T02:47:15.976Z] [2020-12-22T02:47:15.976Z] Login Succeeded [2020-12-22T02:47:15.976Z] nexus3.edgexfoundry.org:10002 [2020-12-22T02:47:16.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T02:47:16.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T02:47:16.581Z] Configure a credential helper to remove this warning. See [2020-12-22T02:47:16.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T02:47:16.581Z] [2020-12-22T02:47:16.581Z] Login Succeeded [2020-12-22T02:47:16.581Z] nexus3.edgexfoundry.org:10003 [2020-12-22T02:47:16.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T02:47:17.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T02:47:17.132Z] Configure a credential helper to remove this warning. See [2020-12-22T02:47:17.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T02:47:17.132Z] [2020-12-22T02:47:17.132Z] Login Succeeded [2020-12-22T02:47:17.132Z] nexus3.edgexfoundry.org:10004 [2020-12-22T02:47:17.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T02:47:17.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T02:47:17.682Z] Configure a credential helper to remove this warning. See [2020-12-22T02:47:17.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T02:47:17.682Z] [2020-12-22T02:47:17.682Z] Login Succeeded [2020-12-22T02:47:17.682Z] docker.io [2020-12-22T02:47:17.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T02:47:18.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T02:47:18.226Z] Configure a credential helper to remove this warning. See [2020-12-22T02:47:18.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T02:47:18.227Z] [2020-12-22T02:47:18.227Z] Login Succeeded [2020-12-22T02:47:18.227Z] ---> docker-login.sh ends [Pipeline] } [2020-12-22T02:47:18.243Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-22T02:47:18.737Z] ========================================================= [2020-12-22T02:47:18.737Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-22T02:47:18.737Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-22T02:47:19.129Z] + 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-22T02:47:19.412Z] Sending build context to Docker daemon 2.471MB [2020-12-22T02:47:19.697Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-22T02:47:19.697Z] Step 2/8 : FROM ${BASE} [2020-12-22T02:47:19.697Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-22T02:47:19.697Z] 5f621e34cdf4: Pulling fs layer [2020-12-22T02:47:19.697Z] a4357932f1b6: Pulling fs layer [2020-12-22T02:47:19.697Z] 18c013af1878: Pulling fs layer [2020-12-22T02:47:19.697Z] 00ac8860ef70: Pulling fs layer [2020-12-22T02:47:19.697Z] 63d7cb157983: Pulling fs layer [2020-12-22T02:47:19.697Z] b116817d02f9: Pulling fs layer [2020-12-22T02:47:19.698Z] 745a02a5169b: Pulling fs layer [2020-12-22T02:47:19.698Z] 63d7cb157983: Waiting [2020-12-22T02:47:19.698Z] b116817d02f9: Waiting [2020-12-22T02:47:19.698Z] 745a02a5169b: Waiting [2020-12-22T02:47:19.698Z] 00ac8860ef70: Waiting [2020-12-22T02:47:19.698Z] 18c013af1878: Verifying Checksum [2020-12-22T02:47:19.698Z] 18c013af1878: Download complete [2020-12-22T02:47:19.698Z] a4357932f1b6: Verifying Checksum [2020-12-22T02:47:19.698Z] a4357932f1b6: Download complete [2020-12-22T02:47:19.698Z] 63d7cb157983: Verifying Checksum [2020-12-22T02:47:19.698Z] 63d7cb157983: Download complete [2020-12-22T02:47:19.981Z] b116817d02f9: Verifying Checksum [2020-12-22T02:47:19.981Z] b116817d02f9: Download complete [2020-12-22T02:47:19.981Z] 5f621e34cdf4: Verifying Checksum [2020-12-22T02:47:19.981Z] 5f621e34cdf4: Download complete [2020-12-22T02:47:20.591Z] 5f621e34cdf4: Pull complete [2020-12-22T02:47:21.202Z] a4357932f1b6: Pull complete [2020-12-22T02:47:21.481Z] 18c013af1878: Pull complete [2020-12-22T02:47:22.462Z] 745a02a5169b: Verifying Checksum [2020-12-22T02:47:22.462Z] 745a02a5169b: Download complete [2020-12-22T02:47:23.456Z] 00ac8860ef70: Verifying Checksum [2020-12-22T02:47:23.456Z] 00ac8860ef70: Download complete [2020-12-22T02:47:33.663Z] 00ac8860ef70: Pull complete [2020-12-22T02:47:33.663Z] 63d7cb157983: Pull complete [2020-12-22T02:47:33.663Z] b116817d02f9: Pull complete [2020-12-22T02:47:37.057Z] 745a02a5169b: Pull complete [2020-12-22T02:47:37.057Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-22T02:47:37.057Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-22T02:47:37.057Z] ---> b7e6874047d6 [2020-12-22T02:47:37.057Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-22T02:47:40.463Z] ---> Running in 58e6772c35a3 [2020-12-22T02:47:40.737Z] Removing intermediate container 58e6772c35a3 [2020-12-22T02:47:40.737Z] ---> 2e645d9e909f [2020-12-22T02:47:40.737Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-22T02:47:41.015Z] ---> Running in f89dbfd2147c [2020-12-22T02:47:43.655Z] Removing intermediate container f89dbfd2147c [2020-12-22T02:47:43.655Z] ---> b0a30108edce [2020-12-22T02:47:43.655Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-22T02:47:43.655Z] ---> Running in 6c26533bb0ad [2020-12-22T02:47:44.251Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-22T02:47:45.221Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-22T02:47:46.206Z] OK: 142 MiB in 39 packages [2020-12-22T02:47:47.188Z] Removing intermediate container 6c26533bb0ad [2020-12-22T02:47:47.188Z] ---> 81a6b7db4472 [2020-12-22T02:47:47.188Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-22T02:47:47.460Z] ---> Running in ebcfca4f9b9e [2020-12-22T02:47:48.054Z] Removing intermediate container ebcfca4f9b9e [2020-12-22T02:47:48.054Z] ---> 3b125961e896 [2020-12-22T02:47:48.054Z] Step 7/8 : COPY . . [2020-12-22T02:47:49.504Z] ---> fd883e964cae [2020-12-22T02:47:49.504Z] Step 8/8 : RUN go mod download [2020-12-22T02:47:49.504Z] ---> Running in 7e581046e93e [2020-12-22T02:48:11.688Z] Removing intermediate container 7e581046e93e [2020-12-22T02:48:11.688Z] ---> 5ef2d9a36b43 [2020-12-22T02:48:11.688Z] Successfully built 5ef2d9a36b43 [2020-12-22T02:48:11.688Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-22T02:48:12.041Z] + docker inspect -f . ci-base-image-arm64 [2020-12-22T02:48:12.041Z] . [Pipeline] withDockerContainer [2020-12-22T02:48:12.348Z] prd-ubuntu18.04-docker-arm64-4c-16g-17173 does not seem to be running inside a container [2020-12-22T02:48:12.449Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-22T02:48:13.926Z] $ docker top 0c7711908690322944c27e2197557e83c16befbfcf58ea3875ca9349167eff91 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-22T02:48:14.919Z] + go version [2020-12-22T02:48:14.919Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-22T02:48:14.956Z] $ docker stop --time=1 0c7711908690322944c27e2197557e83c16befbfcf58ea3875ca9349167eff91 [2020-12-22T02:48:16.889Z] $ docker rm -f 0c7711908690322944c27e2197557e83c16befbfcf58ea3875ca9349167eff91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-22T02:48:17.896Z] + docker inspect -f . ci-base-image-arm64 [2020-12-22T02:48:17.896Z] . [Pipeline] withDockerContainer [2020-12-22T02:48:18.136Z] prd-ubuntu18.04-docker-arm64-4c-16g-17173 does not seem to be running inside a container [2020-12-22T02:48:18.230Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-22T02:48:19.612Z] $ docker top c10f70aeed68b9c4e6a21569e980cbf3f1f445a42aa9e6628d15f60c5cd12a2c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-22T02:48:20.587Z] + make test [2020-12-22T02:48:20.587Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-22T02:48:42.755Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-22T02:49:15.192Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-22T02:49:15.192Z] internal/v2/application/command.go:495:23: undefined: v2.ValueTypeString [2020-12-22T02:49:15.192Z] internal/v2/application/command.go:497:23: undefined: v2.ValueTypeBool [2020-12-22T02:49:15.192Z] internal/v2/application/command.go:503:23: undefined: v2.ValueTypeBoolArray [2020-12-22T02:49:15.192Z] internal/v2/application/command.go:510:23: undefined: v2.ValueTypeUint8 [2020-12-22T02:49:15.192Z] internal/v2/application/command.go:516:23: undefined: v2.ValueTypeUint8Array [2020-12-22T02:49:15.192Z] internal/v2/application/command.go:527:23: undefined: v2.ValueTypeUint16 [2020-12-22T02:49:15.192Z] internal/v2/application/command.go:533:23: undefined: v2.ValueTypeUint16Array [2020-12-22T02:49:15.192Z] internal/v2/application/command.go:544:23: undefined: v2.ValueTypeUint32 [2020-12-22T02:49:15.192Z] internal/v2/application/command.go:550:23: undefined: v2.ValueTypeUint32Array [2020-12-22T02:49:15.192Z] internal/v2/application/command.go:561:23: undefined: v2.ValueTypeUint64 [2020-12-22T02:49:15.192Z] internal/v2/application/command.go:561:23: too many errors [2020-12-22T02:49:23.516Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.105s coverage: 19.4% of statements [2020-12-22T02:49:26.957Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.181s coverage: 97.1% of statements [2020-12-22T02:49:59.395Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.052s coverage: 9.4% of statements [2020-12-22T02:49:59.395Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.052s coverage: 21.9% of statements [2020-12-22T02:49:59.395Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-12-22T02:49:59.395Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.715s coverage: 68.9% of statements [2020-12-22T02:49:59.395Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.129s coverage: 53.8% of statements [2020-12-22T02:49:59.395Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.656s coverage: 68.9% of statements [2020-12-22T02:49:59.395Z] FAIL github.com/edgexfoundry/device-sdk-go/pkg/service [build failed] [2020-12-22T02:49:59.395Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2020-12-22T02:49:59.466Z] $ docker stop --time=1 c10f70aeed68b9c4e6a21569e980cbf3f1f445a42aa9e6628d15f60c5cd12a2c [2020-12-22T02:50:01.487Z] $ docker rm -f c10f70aeed68b9c4e6a21569e980cbf3f1f445a42aa9e6628d15f60c5cd12a2c [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-22T02:50:03.529Z] 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-22T02:50:06.044Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-22T02:50:06.349Z] ---> package-listing.sh [2020-12-22T02:50:06.349Z] ++ facter osfamily [2020-12-22T02:50:06.349Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-22T02:50:06.349Z] + OS_FAMILY=redhat [2020-12-22T02:50:06.349Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-701 [2020-12-22T02:50:06.349Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-22T02:50:06.349Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-22T02:50:06.349Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-22T02:50:06.349Z] + PACKAGES=/tmp/packages_start.txt [2020-12-22T02:50:06.349Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-701 ']' [2020-12-22T02:50:06.349Z] + PACKAGES=/tmp/packages_end.txt [2020-12-22T02:50:06.349Z] + case "${OS_FAMILY}" in [2020-12-22T02:50:06.349Z] + rpm -qa [2020-12-22T02:50:06.349Z] + sort [2020-12-22T02:50:11.659Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-22T02:50:11.659Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-22T02:50:11.659Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-22T02:50:11.659Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-701 ']' [2020-12-22T02:50:11.659Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-701/archives/ [2020-12-22T02:50:11.659Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-701/archives/ [Pipeline] echo [2020-12-22T02:50:11.673Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-701/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-22T02:50:11.971Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-22T02:50:12.279Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-22T02:50:12.279Z] [2020-12-22T02:50:12.279Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-22T02:50:12.652Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-22T02:50:12.652Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-22T02:50:12.652Z] df20fa9351a1: Pulling fs layer [2020-12-22T02:50:12.652Z] 36b3adc4ff6f: Pulling fs layer [2020-12-22T02:50:12.652Z] 8ad3a11d3b57: Pulling fs layer [2020-12-22T02:50:12.652Z] 46f8f816bc3b: Pulling fs layer [2020-12-22T02:50:12.652Z] 93b61091891f: Pulling fs layer [2020-12-22T02:50:12.652Z] 93b9cdb0e59b: Pulling fs layer [2020-12-22T02:50:12.652Z] 5e14af77c1be: Pulling fs layer [2020-12-22T02:50:12.652Z] 01666e4c0597: Pulling fs layer [2020-12-22T02:50:12.652Z] aa168da1d23b: Pulling fs layer [2020-12-22T02:50:12.652Z] 46f8f816bc3b: Waiting [2020-12-22T02:50:12.652Z] 93b61091891f: Waiting [2020-12-22T02:50:12.652Z] 01666e4c0597: Waiting [2020-12-22T02:50:12.652Z] 93b9cdb0e59b: Waiting [2020-12-22T02:50:12.652Z] aa168da1d23b: Waiting [2020-12-22T02:50:12.652Z] 5e14af77c1be: Waiting [2020-12-22T02:50:12.652Z] 36b3adc4ff6f: Download complete [2020-12-22T02:50:12.652Z] 46f8f816bc3b: Verifying Checksum [2020-12-22T02:50:12.652Z] 46f8f816bc3b: Download complete [2020-12-22T02:50:12.652Z] df20fa9351a1: Verifying Checksum [2020-12-22T02:50:12.652Z] df20fa9351a1: Download complete [2020-12-22T02:50:12.913Z] 93b9cdb0e59b: Verifying Checksum [2020-12-22T02:50:12.913Z] 93b9cdb0e59b: Download complete [2020-12-22T02:50:12.913Z] 5e14af77c1be: Verifying Checksum [2020-12-22T02:50:12.913Z] 5e14af77c1be: Download complete [2020-12-22T02:50:12.913Z] 93b61091891f: Verifying Checksum [2020-12-22T02:50:12.913Z] 93b61091891f: Download complete [2020-12-22T02:50:12.913Z] 01666e4c0597: Verifying Checksum [2020-12-22T02:50:12.913Z] 01666e4c0597: Download complete [2020-12-22T02:50:13.179Z] df20fa9351a1: Pull complete [2020-12-22T02:50:13.179Z] 36b3adc4ff6f: Pull complete [2020-12-22T02:50:13.442Z] 8ad3a11d3b57: Verifying Checksum [2020-12-22T02:50:13.443Z] 8ad3a11d3b57: Download complete [2020-12-22T02:50:14.023Z] 8ad3a11d3b57: Pull complete [2020-12-22T02:50:14.293Z] 46f8f816bc3b: Pull complete [2020-12-22T02:50:14.880Z] 93b61091891f: Pull complete [2020-12-22T02:50:15.143Z] 93b9cdb0e59b: Pull complete [2020-12-22T02:50:15.143Z] aa168da1d23b: Verifying Checksum [2020-12-22T02:50:15.143Z] aa168da1d23b: Download complete [2020-12-22T02:50:15.143Z] 5e14af77c1be: Pull complete [2020-12-22T02:50:15.408Z] 01666e4c0597: Pull complete [2020-12-22T02:50:23.604Z] aa168da1d23b: Pull complete [2020-12-22T02:50:23.604Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-22T02:50:23.604Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-22T02:50:23.604Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-22T02:50:23.765Z] prd-centos7-docker-4c-2g-17164 does not seem to be running inside a container [2020-12-22T02:50:23.813Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-701/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-701 -v /w/workspace/dgexfoundry_device-sdk-go_PR-701:/w/workspace/dgexfoundry_device-sdk-go_PR-701:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-22T02:50:27.487Z] $ docker top 622d218508b530cffeee8df729e3dd26d6df3543be49111fe380f9f6438ef584 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-22T02:50:28.020Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-22T02:50:28.322Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-22T02:50:28.622Z] + ls /var/log/sa-host [2020-12-22T02:50:28.622Z] + sadf -c /var/log/sa-host/sa22 [2020-12-22T02:50:28.622Z] file_magic: OK [2020-12-22T02:50:28.622Z] HZ: Using current value: 100 [2020-12-22T02:50:28.622Z] file_header: OK [2020-12-22T02:50:28.622Z] 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-22T02:50:28.622Z] Statistics: [2020-12-22T02:50:28.622Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-22T02:50:28.622Z] File successfully converted to sysstat format version 12.2.1 [2020-12-22T02:50:28.622Z] + sadf -c /var/log/sa-host/sa23 [2020-12-22T02:50:28.622Z] file_magic: OK [2020-12-22T02:50:28.622Z] HZ: Using current value: 100 [2020-12-22T02:50:28.622Z] file_header: OK [2020-12-22T02:50:28.622Z] 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-22T02:50:28.622Z] Statistics: [2020-12-22T02:50:28.622Z] Hnuu...uuuununununu... [2020-12-22T02:50:28.622Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-22T02:50:28.805Z] provisioning config files... [2020-12-22T02:50:28.825Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp/config5906485453556363188tmp [Pipeline] { [Pipeline] echo [2020-12-22T02:50:28.889Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-22T02:50:29.194Z] ---> create-netrc.sh [Pipeline] } [2020-12-22T02:50:29.225Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-22T02:50:29.312Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-22T02:50:29.608Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-22T02:50:29.620Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-22T02:50:29.914Z] ---> sudo-logs.sh [2020-12-22T02:50:29.914Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-22T02:50:29.925Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-22T02:50:30.227Z] ---> job-cost.sh [2020-12-22T02:50:30.227Z] lf-activate-venv: SKIPPING [2020-12-22T02:50:30.227Z] INFO: No Stack... [2020-12-22T02:50:31.170Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-22T02:50:31.742Z] INFO: Archiving Costs [Pipeline] echo [2020-12-22T02:50:31.755Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-22T02:50:32.046Z] ---> logs-deploy.sh [2020-12-22T02:50:32.046Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-701/2 [2020-12-22T02:50:32.046Z] INFO: archiving workspace using pattern(s): [2020-12-22T02:50:34.599Z] Archives upload complete. [2020-12-22T02:50:34.599Z] INFO: archiving logs to Nexus