Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f7552a030ae1ce77e826f10205b919d23d12d66c+93569aefbcf2dcd4d18a31fcf2c190494ae30d88 (004ade0a054b284534f667fed94fe2a51452aad1) 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-17165 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 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 into PR head commit f7552a030ae1ce77e826f10205b919d23d12d66c Merge succeeded, producing 03ea3e19de6a47058ac4a64d6b2ca0b385876086 Checking out Revision 03ea3e19de6a47058ac4a64d6b2ca0b385876086 (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 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 03ea3e19de6a47058ac4a64d6b2ca0b385876086 # timeout=10 Commit message: "Merge commit '93569aefbcf2dcd4d18a31fcf2c190494ae30d88' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 698d5ecc23d6f37d9d302f32eb1b12950de61c2e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-22T02:43:25.007Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-22T02:43:25.301Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-22T02:43:25.394Z] ========================================================= [2020-12-22T02:43:25.394Z] EdgeX Global Pipelines Version Info [2020-12-22T02:43:25.394Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-22T02:43:26.964Z] ------------------- [2020-12-22T02:43:26.964Z] stable info: [2020-12-22T02:43:26.964Z] ------------------- [2020-12-22T02:43:26.964Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-22T02:43:26.964Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-22T02:43:26.964Z] Message: update stable to v1.0.173 [2020-12-22T02:43:27.912Z] ------------------- [2020-12-22T02:43:27.912Z] experimental info: [2020-12-22T02:43:27.912Z] ------------------- [2020-12-22T02:43:27.912Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-22T02:43:27.912Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-22T02:43:27.912Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-22T02:43:28.164Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-12-22T02:43:28.242Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-12-22T02:43:28.323Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-22T02:43:28.402Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-22T02:43:28.536Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-22T02:43:28.621Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-22T02:43:28.706Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-22T02:43:28.878Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-22T02:43:29.038Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-12-22T02:43:29.137Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-22T02:43:29.226Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-22T02:43:29.312Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-12-22T02:43:29.401Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-22T02:43:29.489Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-22T02:43:29.577Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-22T02:43:29.667Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-22T02:43:29.782Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-22T02:43:29.876Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-22T02:43:29.959Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-22T02:43:30.087Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-22T02:43:30.246Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-22T02:43:30.364Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-22T02:43:30.457Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-22T02:43:30.541Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-22T02:43:30.667Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-22T02:43:30.818Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-22T02:43:30.910Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-22T02:43:31.001Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-697 [Pipeline] echo [2020-12-22T02:43:31.085Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-697 [Pipeline] echo [2020-12-22T02:43:31.168Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-697 [Pipeline] echo [2020-12-22T02:43:31.254Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 03ea3e19de6a47058ac4a64d6b2ca0b385876086 [Pipeline] echo [2020-12-22T02:43:31.335Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 03ea3e1 [Pipeline] echo [2020-12-22T02:43:31.437Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-22T02:43:31.617Z] provisioning config files... [2020-12-22T02:43:31.644Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-697@tmp/config4358921985736740512tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-22T02:43:31.998Z] ---> docker-login.sh [2020-12-22T02:43:31.998Z] nexus3.edgexfoundry.org:10001 [2020-12-22T02:43:32.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T02:43:32.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T02:43:32.261Z] Configure a credential helper to remove this warning. See [2020-12-22T02:43:32.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T02:43:32.261Z] [2020-12-22T02:43:32.261Z] Login Succeeded [2020-12-22T02:43:32.261Z] nexus3.edgexfoundry.org:10002 [2020-12-22T02:43:32.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T02:43:32.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T02:43:32.525Z] Configure a credential helper to remove this warning. See [2020-12-22T02:43:32.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T02:43:32.525Z] [2020-12-22T02:43:32.525Z] Login Succeeded [2020-12-22T02:43:32.525Z] nexus3.edgexfoundry.org:10003 [2020-12-22T02:43:32.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T02:43:32.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T02:43:32.787Z] Configure a credential helper to remove this warning. See [2020-12-22T02:43:32.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T02:43:32.787Z] [2020-12-22T02:43:32.787Z] Login Succeeded [2020-12-22T02:43:32.787Z] nexus3.edgexfoundry.org:10004 [2020-12-22T02:43:32.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T02:43:33.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T02:43:33.052Z] Configure a credential helper to remove this warning. See [2020-12-22T02:43:33.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T02:43:33.052Z] [2020-12-22T02:43:33.052Z] Login Succeeded [2020-12-22T02:43:33.052Z] docker.io [2020-12-22T02:43:33.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T02:43:33.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T02:43:33.315Z] Configure a credential helper to remove this warning. See [2020-12-22T02:43:33.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T02:43:33.315Z] [2020-12-22T02:43:33.315Z] Login Succeeded [2020-12-22T02:43:33.315Z] ---> docker-login.sh ends [Pipeline] } [2020-12-22T02:43:33.325Z] 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:34.170Z] + git log --format=format:%s -1 03ea3e19de6a47058ac4a64d6b2ca0b385876086 [Pipeline] echo [2020-12-22T02:43:34.238Z] GIT_COMMIT: 03ea3e19de6a47058ac4a64d6b2ca0b385876086, Commit Message: Merge commit '93569aefbcf2dcd4d18a31fcf2c190494ae30d88' into HEAD [Pipeline] echo [2020-12-22T02:43:34.283Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-22T02:43:34.868Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-22T02:43:34.868Z] [2020-12-22T02:43:34.868Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-22T02:43:35.236Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-22T02:43:35.236Z] latest: Pulling from edgex-devops/git-semver [2020-12-22T02:43:35.236Z] 31603596830f: Pulling fs layer [2020-12-22T02:43:35.236Z] 2a8b12db71e7: Pulling fs layer [2020-12-22T02:43:35.236Z] 6ca5941a6612: Pulling fs layer [2020-12-22T02:43:35.236Z] ecc8261a40a4: Pulling fs layer [2020-12-22T02:43:35.236Z] ecc8261a40a4: Waiting [2020-12-22T02:43:35.236Z] 2a8b12db71e7: Verifying Checksum [2020-12-22T02:43:35.236Z] 2a8b12db71e7: Download complete [2020-12-22T02:43:35.236Z] 31603596830f: Download complete [2020-12-22T02:43:35.502Z] ecc8261a40a4: Verifying Checksum [2020-12-22T02:43:35.502Z] ecc8261a40a4: Download complete [2020-12-22T02:43:35.502Z] 6ca5941a6612: Verifying Checksum [2020-12-22T02:43:35.502Z] 6ca5941a6612: Download complete [2020-12-22T02:43:35.767Z] 31603596830f: Pull complete [2020-12-22T02:43:35.768Z] 2a8b12db71e7: Pull complete [2020-12-22T02:43:36.713Z] 6ca5941a6612: Pull complete [2020-12-22T02:43:36.976Z] ecc8261a40a4: Pull complete [2020-12-22T02:43:36.976Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-22T02:43:36.976Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-22T02:43:36.976Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-22T02:43:37.075Z] prd-centos7-docker-4c-2g-17165 does not seem to be running inside a container [2020-12-22T02:43:37.125Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-22T02:43:39.307Z] $ docker top 858db6bc68321da0367cd504dead34dd3ebf1f82fd3f6c741b2b7fb457b6185e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-22T02:43:39.660Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-22T02:43:39.660Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-22T02:43:39.869Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-22T02:43:39.873Z] $ docker exec 858db6bc68321da0367cd504dead34dd3ebf1f82fd3f6c741b2b7fb457b6185e ssh-agent [2020-12-22T02:43:40.047Z] SSH_AUTH_SOCK=/tmp/ssh-zRhdq8QnUgHN/agent.11 [2020-12-22T02:43:40.047Z] SSH_AGENT_PID=16 [2020-12-22T02:43:40.056Z] Running ssh-add (command line suppressed) [2020-12-22T02:43:40.174Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-697@tmp/private_key_6689462677913769652.key (/w/workspace/dgexfoundry_device-sdk-go_PR-697@tmp/private_key_6689462677913769652.key) [2020-12-22T02:43:40.224Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-22T02:43:40.593Z] + git tag --points-at HEAD [Pipeline] } [2020-12-22T02:43:40.626Z] $ docker exec --env ******** --env ******** 858db6bc68321da0367cd504dead34dd3ebf1f82fd3f6c741b2b7fb457b6185e ssh-agent -k [2020-12-22T02:43:40.736Z] unset SSH_AUTH_SOCK; [2020-12-22T02:43:40.736Z] unset SSH_AGENT_PID; [2020-12-22T02:43:40.736Z] echo Agent pid 16 killed; [2020-12-22T02:43:40.792Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-22T02:43:40.925Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-22T02:43:40.925Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-22T02:43:41.082Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-22T02:43:41.087Z] $ docker exec 858db6bc68321da0367cd504dead34dd3ebf1f82fd3f6c741b2b7fb457b6185e ssh-agent [2020-12-22T02:43:41.253Z] SSH_AUTH_SOCK=/tmp/ssh-SIR2xR3hzoqk/agent.45 [2020-12-22T02:43:41.253Z] SSH_AGENT_PID=50 [2020-12-22T02:43:41.259Z] Running ssh-add (command line suppressed) [2020-12-22T02:43:41.374Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-697@tmp/private_key_8967552284343554212.key (/w/workspace/dgexfoundry_device-sdk-go_PR-697@tmp/private_key_8967552284343554212.key) [2020-12-22T02:43:41.423Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-22T02:43:41.755Z] + git semver init [2020-12-22T02:43:41.755Z] # -> Open(): unable to determine branch for HEAD [2020-12-22T02:43:41.755Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-697/.git [2020-12-22T02:43:41.755Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-697 [2020-12-22T02:43:41.755Z] # $SEMVER_REMOTE_NAME = origin [2020-12-22T02:43:41.755Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-22T02:43:41.755Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-22T02:43:41.755Z] # $SEMVER_BRANCH = PR-697 [2020-12-22T02:43:41.755Z] # $SEMVER_TEMP = /tmp/semver-916145716 [2020-12-22T02:43:41.755Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-12-22T02:43:42.332Z] # '/tmp/semver-916145716' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-697/.semver' [2020-12-22T02:43:42.332Z] # -> Force: false [2020-12-22T02:43:42.332Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-697/.semver [Pipeline] } [2020-12-22T02:43:42.351Z] $ docker exec --env ******** --env ******** 858db6bc68321da0367cd504dead34dd3ebf1f82fd3f6c741b2b7fb457b6185e ssh-agent -k [2020-12-22T02:43:42.465Z] unset SSH_AUTH_SOCK; [2020-12-22T02:43:42.465Z] unset SSH_AGENT_PID; [2020-12-22T02:43:42.466Z] echo Agent pid 50 killed; [2020-12-22T02:43:42.510Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-22T02:43:42.978Z] + git semver [Pipeline] } [2020-12-22T02:43:42.996Z] $ docker stop --time=1 858db6bc68321da0367cd504dead34dd3ebf1f82fd3f6c741b2b7fb457b6185e [2020-12-22T02:43:44.722Z] $ docker rm -f 858db6bc68321da0367cd504dead34dd3ebf1f82fd3f6c741b2b7fb457b6185e [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-22T02:43:45.272Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-22T02:43:45.814Z] Stashed 1 file(s) [Pipeline] echo [2020-12-22T02:43:45.818Z] [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:01.347Z] Still waiting to schedule task [2020-12-22T02:44:01.347Z] ‘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:01.350Z] Still waiting to schedule task [2020-12-22T02:44:01.350Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-17166’ is offline [2020-12-22T02:45:42.206Z] Running on prd-centos7-docker-4c-2g-17170 in /w/workspace/dgexfoundry_device-sdk-go_PR-697 [Pipeline] { [Pipeline] ws [2020-12-22T02:45:42.311Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-12-22T02:45:53.791Z] using credential edgex-jenkins-ssh [2020-12-22T02:45:53.872Z] Cloning the remote Git repository [2020-12-22T02:45:54.107Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-22T02:45:54.327Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2020-12-22T02:45:54.563Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-22T02:45:54.564Z] > git --version # timeout=10 [2020-12-22T02:45:54.594Z] > git --version # 'git version 2.24.3' [2020-12-22T02:45:54.595Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-22T02:45:54.669Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-22T02:45:56.362Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-22T02:45:56.412Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-22T02:45:56.497Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-22T02:45:56.525Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-22T02:45:56.525Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-22T02:45:56.533Z] > 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-22T02:45:57.032Z] Merging remotes/origin/master commit 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 into PR head commit f7552a030ae1ce77e826f10205b919d23d12d66c [2020-12-22T02:45:57.483Z] Merge succeeded, producing 099dcb59df0e2e474c3c272cb156ca3ef4ea3ac5 [2020-12-22T02:45:57.483Z] Checking out Revision 099dcb59df0e2e474c3c272cb156ca3ef4ea3ac5 (PR-697) [2020-12-22T02:45:57.057Z] > git config core.sparsecheckout # timeout=10 [2020-12-22T02:45:57.085Z] > git checkout -f f7552a030ae1ce77e826f10205b919d23d12d66c # timeout=10 [2020-12-22T02:45:57.264Z] > git remote # timeout=10 [2020-12-22T02:45:57.307Z] > git config --get remote.origin.url # timeout=10 [2020-12-22T02:45:57.341Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-22T02:45:57.348Z] > git merge 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 # timeout=10 [2020-12-22T02:45:57.454Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-22T02:45:57.491Z] > git config core.sparsecheckout # timeout=10 [2020-12-22T02:45:57.519Z] > git checkout -f 099dcb59df0e2e474c3c272cb156ca3ef4ea3ac5 # timeout=10 [2020-12-22T02:46:02.312Z] Commit message: "Merge commit '93569aefbcf2dcd4d18a31fcf2c190494ae30d88' into HEAD" [2020-12-22T02:46:02.341Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-22T02:46:02.321Z] > git rev-list --no-walk 698d5ecc23d6f37d9d302f32eb1b12950de61c2e # timeout=10 [2020-12-22T02:46:05.579Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-22T02:46:06.032Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-22T02:46:06.374Z] + sudo service docker restart [2020-12-22T02:46:06.374Z] + true [2020-12-22T02:46:06.374Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-22T02:46:09.288Z] provisioning config files... [2020-12-22T02:46:09.334Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config1090089360288753143tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-22T02:46:09.833Z] ---> docker-login.sh [2020-12-22T02:46:09.833Z] nexus3.edgexfoundry.org:10001 [2020-12-22T02:46:10.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T02:46:10.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T02:46:10.876Z] Configure a credential helper to remove this warning. See [2020-12-22T02:46:10.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T02:46:10.876Z] [2020-12-22T02:46:10.876Z] Login Succeeded [2020-12-22T02:46:10.876Z] nexus3.edgexfoundry.org:10002 [2020-12-22T02:46:11.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T02:46:11.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T02:46:11.496Z] Configure a credential helper to remove this warning. See [2020-12-22T02:46:11.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T02:46:11.496Z] [2020-12-22T02:46:11.496Z] Login Succeeded [2020-12-22T02:46:11.496Z] nexus3.edgexfoundry.org:10003 [2020-12-22T02:46:11.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T02:46:11.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T02:46:11.797Z] Configure a credential helper to remove this warning. See [2020-12-22T02:46:11.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T02:46:11.797Z] [2020-12-22T02:46:11.797Z] Login Succeeded [2020-12-22T02:46:11.797Z] nexus3.edgexfoundry.org:10004 [2020-12-22T02:46:12.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T02:46:12.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T02:46:12.071Z] Configure a credential helper to remove this warning. See [2020-12-22T02:46:12.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T02:46:12.071Z] [2020-12-22T02:46:12.071Z] Login Succeeded [2020-12-22T02:46:12.071Z] docker.io [2020-12-22T02:46:12.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T02:46:12.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T02:46:12.621Z] Configure a credential helper to remove this warning. See [2020-12-22T02:46:12.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T02:46:12.621Z] [2020-12-22T02:46:12.621Z] Login Succeeded [2020-12-22T02:46:12.621Z] ---> docker-login.sh ends [Pipeline] } [2020-12-22T02:46:12.634Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-22T02:46:13.393Z] ========================================================= [2020-12-22T02:46:13.393Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-22T02:46:13.393Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-22T02:46:13.895Z] + 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:46:14.212Z] Sending build context to Docker daemon 2.425MB [2020-12-22T02:46:14.212Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-22T02:46:14.212Z] Step 2/8 : FROM ${BASE} [2020-12-22T02:46:14.558Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-22T02:46:14.558Z] 188c0c94c7c5: Pulling fs layer [2020-12-22T02:46:14.558Z] 0ef7d3d256c8: Pulling fs layer [2020-12-22T02:46:14.558Z] de9db76c5a1d: Pulling fs layer [2020-12-22T02:46:14.558Z] bca2f99d35d6: Pulling fs layer [2020-12-22T02:46:14.558Z] 93359f2a8cfa: Pulling fs layer [2020-12-22T02:46:14.558Z] 7c6f9722023f: Pulling fs layer [2020-12-22T02:46:14.558Z] a35cf1a2eb13: Pulling fs layer [2020-12-22T02:46:14.558Z] bca2f99d35d6: Waiting [2020-12-22T02:46:14.558Z] 93359f2a8cfa: Waiting [2020-12-22T02:46:14.558Z] 7c6f9722023f: Waiting [2020-12-22T02:46:14.558Z] a35cf1a2eb13: Waiting [2020-12-22T02:46:14.558Z] de9db76c5a1d: Verifying Checksum [2020-12-22T02:46:14.558Z] de9db76c5a1d: Download complete [2020-12-22T02:46:14.558Z] 0ef7d3d256c8: Download complete [2020-12-22T02:46:14.558Z] 93359f2a8cfa: Verifying Checksum [2020-12-22T02:46:14.558Z] 93359f2a8cfa: Download complete [2020-12-22T02:46:14.558Z] 7c6f9722023f: Verifying Checksum [2020-12-22T02:46:14.558Z] 7c6f9722023f: Download complete [2020-12-22T02:46:14.931Z] 188c0c94c7c5: Verifying Checksum [2020-12-22T02:46:14.931Z] 188c0c94c7c5: Download complete [2020-12-22T02:46:17.784Z] 188c0c94c7c5: Pull complete [2020-12-22T02:46:18.707Z] 0ef7d3d256c8: Pull complete [2020-12-22T02:46:19.077Z] de9db76c5a1d: Pull complete [2020-12-22T02:46:28.260Z] a35cf1a2eb13: Verifying Checksum [2020-12-22T02:46:28.260Z] a35cf1a2eb13: Download complete [2020-12-22T02:46:29.807Z] bca2f99d35d6: Verifying Checksum [2020-12-22T02:46:29.807Z] bca2f99d35d6: Download complete [2020-12-22T02:46:45.480Z] bca2f99d35d6: Pull complete [2020-12-22T02:46:45.782Z] 93359f2a8cfa: Pull complete [2020-12-22T02:46:46.064Z] 7c6f9722023f: Pull complete [2020-12-22T02:46:56.784Z] a35cf1a2eb13: Pull complete [2020-12-22T02:46:56.785Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-22T02:46:56.785Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-22T02:46:56.785Z] ---> a62c8e92a672 [2020-12-22T02:46:56.785Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-22T02:46:56.785Z] ---> Running in 817f2fd4ab1a [2020-12-22T02:46:57.146Z] Removing intermediate container 817f2fd4ab1a [2020-12-22T02:46:57.146Z] ---> cac161dcb3c8 [2020-12-22T02:46:57.146Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-22T02:46:57.146Z] ---> Running in c46f48ac85b6 [2020-12-22T02:46:59.895Z] Removing intermediate container c46f48ac85b6 [2020-12-22T02:46:59.895Z] ---> fff55abc4883 [2020-12-22T02:46:59.895Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-22T02:46:59.895Z] ---> Running in 98eadb2b57b1 [2020-12-22T02:47:00.529Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-22T02:47:01.545Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-22T02:47:02.721Z] OK: 166 MiB in 39 packages [2020-12-22T02:47:03.348Z] Removing intermediate container 98eadb2b57b1 [2020-12-22T02:47:03.348Z] ---> 27128f40dc1c [2020-12-22T02:47:03.348Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-22T02:47:03.639Z] ---> Running in 9044b1321a3b [2020-12-22T02:47:03.954Z] Removing intermediate container 9044b1321a3b [2020-12-22T02:47:03.954Z] ---> 945634c4abe2 [2020-12-22T02:47:03.954Z] Step 7/8 : COPY . . [2020-12-22T02:47:05.955Z] ---> 28d32c750013 [2020-12-22T02:47:05.955Z] Step 8/8 : RUN go mod download [2020-12-22T02:47:05.955Z] ---> Running in 91fad5ba1c25 [2020-12-22T02:47:08.306Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-17174 in /w/workspace/dgexfoundry_device-sdk-go_PR-697 [Pipeline] { [Pipeline] ws [2020-12-22T02:47:08.356Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-12-22T02:47:14.866Z] using credential edgex-jenkins-ssh [2020-12-22T02:47:14.963Z] Cloning the remote Git repository [2020-12-22T02:47:15.051Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-22T02:47:15.179Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2020-12-22T02:47:15.277Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-22T02:47:15.279Z] > git --version # timeout=10 [2020-12-22T02:47:15.305Z] > git --version # 'git version 2.17.1' [2020-12-22T02:47:15.308Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-22T02:47:15.371Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-22T02:47:17.173Z] Merging remotes/origin/master commit 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 into PR head commit f7552a030ae1ce77e826f10205b919d23d12d66c [2020-12-22T02:47:17.466Z] Merge succeeded, producing ea1fd681026f3ff9eb160d49e17737f32241d965 [2020-12-22T02:47:17.466Z] Checking out Revision ea1fd681026f3ff9eb160d49e17737f32241d965 (PR-697) [2020-12-22T02:47:16.545Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-22T02:47:16.562Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-22T02:47:16.589Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-22T02:47:16.621Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-22T02:47:16.622Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-22T02:47:16.633Z] > 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-22T02:47:17.191Z] > git config core.sparsecheckout # timeout=10 [2020-12-22T02:47:17.203Z] > git checkout -f f7552a030ae1ce77e826f10205b919d23d12d66c # timeout=10 [2020-12-22T02:47:17.311Z] > git remote # timeout=10 [2020-12-22T02:47:17.330Z] > git config --get remote.origin.url # timeout=10 [2020-12-22T02:47:17.347Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-22T02:47:17.357Z] > git merge 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 # timeout=10 [2020-12-22T02:47:17.451Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-22T02:47:17.473Z] > git config core.sparsecheckout # timeout=10 [2020-12-22T02:47:17.483Z] > git checkout -f ea1fd681026f3ff9eb160d49e17737f32241d965 # timeout=10 [2020-12-22T02:47:21.884Z] Commit message: "Merge commit '93569aefbcf2dcd4d18a31fcf2c190494ae30d88' into HEAD" [2020-12-22T02:47:21.906Z] First time build. Skipping changelog. [2020-12-22T02:47:21.893Z] > git rev-list --no-walk 698d5ecc23d6f37d9d302f32eb1b12950de61c2e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-22T02:47:23.282Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-22T02:47:23.746Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-22T02:47:24.144Z] + sudo service docker restart [2020-12-22T02:47:24.144Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-22T02:47:26.871Z] provisioning config files... [2020-12-22T02:47:26.921Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config2827900701773684607tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-22T02:47:27.352Z] ---> docker-login.sh [2020-12-22T02:47:27.352Z] nexus3.edgexfoundry.org:10001 [2020-12-22T02:47:28.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T02:47:28.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T02:47:28.620Z] Configure a credential helper to remove this warning. See [2020-12-22T02:47:28.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T02:47:28.620Z] [2020-12-22T02:47:28.620Z] Login Succeeded [2020-12-22T02:47:28.620Z] nexus3.edgexfoundry.org:10002 [2020-12-22T02:47:29.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T02:47:29.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T02:47:29.221Z] Configure a credential helper to remove this warning. See [2020-12-22T02:47:29.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T02:47:29.221Z] [2020-12-22T02:47:29.221Z] Login Succeeded [2020-12-22T02:47:29.221Z] nexus3.edgexfoundry.org:10003 [2020-12-22T02:47:29.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T02:47:29.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T02:47:29.823Z] Configure a credential helper to remove this warning. See [2020-12-22T02:47:29.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T02:47:29.823Z] [2020-12-22T02:47:29.823Z] Login Succeeded [2020-12-22T02:47:29.823Z] nexus3.edgexfoundry.org:10004 [2020-12-22T02:47:30.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T02:47:30.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T02:47:30.424Z] Configure a credential helper to remove this warning. See [2020-12-22T02:47:30.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T02:47:30.424Z] [2020-12-22T02:47:30.424Z] Login Succeeded [2020-12-22T02:47:30.424Z] docker.io [2020-12-22T02:47:31.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T02:47:31.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T02:47:31.299Z] Configure a credential helper to remove this warning. See [2020-12-22T02:47:31.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T02:47:31.299Z] [2020-12-22T02:47:31.299Z] Login Succeeded [2020-12-22T02:47:31.299Z] ---> docker-login.sh ends [Pipeline] } [2020-12-22T02:47:31.318Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-22T02:47:31.893Z] ========================================================= [2020-12-22T02:47:31.894Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-22T02:47:31.894Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-22T02:47:32.295Z] + 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:32.941Z] Sending build context to Docker daemon 2.424MB [2020-12-22T02:47:32.941Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-22T02:47:32.941Z] Step 2/8 : FROM ${BASE} [2020-12-22T02:47:32.941Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-22T02:47:32.941Z] 5f621e34cdf4: Pulling fs layer [2020-12-22T02:47:32.941Z] a4357932f1b6: Pulling fs layer [2020-12-22T02:47:32.941Z] 18c013af1878: Pulling fs layer [2020-12-22T02:47:32.941Z] 00ac8860ef70: Pulling fs layer [2020-12-22T02:47:32.941Z] 63d7cb157983: Pulling fs layer [2020-12-22T02:47:32.941Z] b116817d02f9: Pulling fs layer [2020-12-22T02:47:32.941Z] 745a02a5169b: Pulling fs layer [2020-12-22T02:47:32.941Z] 63d7cb157983: Waiting [2020-12-22T02:47:32.941Z] b116817d02f9: Waiting [2020-12-22T02:47:32.941Z] 745a02a5169b: Waiting [2020-12-22T02:47:32.941Z] 00ac8860ef70: Waiting [2020-12-22T02:47:32.941Z] a4357932f1b6: Verifying Checksum [2020-12-22T02:47:32.941Z] a4357932f1b6: Download complete [2020-12-22T02:47:32.941Z] 18c013af1878: Verifying Checksum [2020-12-22T02:47:32.941Z] 18c013af1878: Download complete [2020-12-22T02:47:32.941Z] 63d7cb157983: Verifying Checksum [2020-12-22T02:47:32.941Z] 63d7cb157983: Download complete [2020-12-22T02:47:33.222Z] 5f621e34cdf4: Verifying Checksum [2020-12-22T02:47:33.222Z] 5f621e34cdf4: Download complete [2020-12-22T02:47:33.222Z] b116817d02f9: Verifying Checksum [2020-12-22T02:47:33.222Z] b116817d02f9: Download complete [2020-12-22T02:47:33.834Z] 5f621e34cdf4: Pull complete [2020-12-22T02:47:34.441Z] a4357932f1b6: Pull complete [2020-12-22T02:47:34.714Z] 18c013af1878: Pull complete [2020-12-22T02:47:34.988Z] 745a02a5169b: Verifying Checksum [2020-12-22T02:47:34.988Z] 745a02a5169b: Download complete [2020-12-22T02:47:36.975Z] 00ac8860ef70: Verifying Checksum [2020-12-22T02:47:36.975Z] 00ac8860ef70: Download complete [2020-12-22T02:47:47.148Z] 00ac8860ef70: Pull complete [2020-12-22T02:47:47.148Z] 63d7cb157983: Pull complete [2020-12-22T02:47:47.724Z] Removing intermediate container 91fad5ba1c25 [2020-12-22T02:47:47.724Z] ---> ef511651f19b [2020-12-22T02:47:47.724Z] Successfully built ef511651f19b [2020-12-22T02:47:47.724Z] Successfully tagged ci-base-image-x86_64:latest [2020-12-22T02:47:47.741Z] b116817d02f9: Pull complete [Pipeline] isUnix [Pipeline] sh [2020-12-22T02:47:48.115Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-22T02:47:48.390Z] . [Pipeline] withDockerContainer [2020-12-22T02:47:48.644Z] prd-centos7-docker-4c-2g-17170 does not seem to be running inside a container [2020-12-22T02:47:48.798Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-22T02:47:50.155Z] $ docker top 24e1e184b828d04f6ce33414856b164e9a67a6f59168dfb8e9eb3734034366d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-22T02:47:51.174Z] + go version [2020-12-22T02:47:51.174Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-22T02:47:51.288Z] $ docker stop --time=1 24e1e184b828d04f6ce33414856b164e9a67a6f59168dfb8e9eb3734034366d5 [2020-12-22T02:47:52.059Z] 745a02a5169b: Pull complete [2020-12-22T02:47:52.059Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-22T02:47:52.059Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-22T02:47:52.059Z] ---> b7e6874047d6 [2020-12-22T02:47:52.059Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-22T02:47:53.092Z] $ docker rm -f 24e1e184b828d04f6ce33414856b164e9a67a6f59168dfb8e9eb3734034366d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-22T02:47:54.191Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-22T02:47:54.191Z] . [Pipeline] withDockerContainer [2020-12-22T02:47:54.468Z] prd-centos7-docker-4c-2g-17170 does not seem to be running inside a container [2020-12-22T02:47:54.609Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-22T02:47:54.708Z] ---> Running in f78a21ccb2f4 [2020-12-22T02:47:55.312Z] Removing intermediate container f78a21ccb2f4 [2020-12-22T02:47:55.312Z] ---> c05533b832cf [2020-12-22T02:47:55.312Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-22T02:47:55.312Z] ---> Running in 61d1d4333e25 [2020-12-22T02:47:56.349Z] $ docker top 8cf58ba5662875eded8ee5dec2f993cf43fa55f291d149ad899556f534a143d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-22T02:47:57.255Z] + make test [2020-12-22T02:47:57.255Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-22T02:47:57.939Z] Removing intermediate container 61d1d4333e25 [2020-12-22T02:47:57.939Z] ---> f42f5e676f8f [2020-12-22T02:47:57.939Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-22T02:47:57.940Z] ---> Running in 3183d5f94d0f [2020-12-22T02:47:59.382Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-22T02:48:00.818Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-22T02:48:02.792Z] OK: 142 MiB in 39 packages [2020-12-22T02:48:04.227Z] Removing intermediate container 3183d5f94d0f [2020-12-22T02:48:04.227Z] ---> ce85adab4b93 [2020-12-22T02:48:04.227Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-22T02:48:04.227Z] ---> Running in 1c301912ad3d [2020-12-22T02:48:04.824Z] Removing intermediate container 1c301912ad3d [2020-12-22T02:48:04.824Z] ---> 9a935757d7ef [2020-12-22T02:48:04.824Z] Step 7/8 : COPY . . [2020-12-22T02:48:06.264Z] ---> eb8de206af14 [2020-12-22T02:48:06.264Z] Step 8/8 : RUN go mod download [2020-12-22T02:48:06.264Z] ---> Running in ec9a392d6972 [2020-12-22T02:48:12.801Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-22T02:48:33.117Z] Removing intermediate container ec9a392d6972 [2020-12-22T02:48:33.117Z] ---> d942c21ebff9 [2020-12-22T02:48:33.117Z] Successfully built d942c21ebff9 [2020-12-22T02:48:33.117Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-22T02:48:33.469Z] + docker inspect -f . ci-base-image-arm64 [2020-12-22T02:48:33.469Z] . [Pipeline] withDockerContainer [2020-12-22T02:48:33.758Z] prd-ubuntu18.04-docker-arm64-4c-16g-17174 does not seem to be running inside a container [2020-12-22T02:48:33.854Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-22T02:48:35.256Z] $ docker top f919677ad022735b92b11a43e7ca52b42dd36b3223bf2eafc3f206dfbada5dcc -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-22T02:48:35.805Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-22T02:48:35.805Z] internal/v2/application/command.go:494:23: undefined: dtos.ValueTypeString [2020-12-22T02:48:35.805Z] internal/v2/application/command.go:496:23: undefined: dtos.ValueTypeBool [2020-12-22T02:48:35.805Z] internal/v2/application/command.go:502:23: undefined: dtos.ValueTypeBoolArray [2020-12-22T02:48:35.805Z] internal/v2/application/command.go:509:23: undefined: dtos.ValueTypeUint8 [2020-12-22T02:48:35.805Z] internal/v2/application/command.go:515:23: undefined: dtos.ValueTypeUint8Array [2020-12-22T02:48:35.806Z] internal/v2/application/command.go:526:23: undefined: dtos.ValueTypeUint16 [2020-12-22T02:48:35.806Z] internal/v2/application/command.go:532:23: undefined: dtos.ValueTypeUint16Array [2020-12-22T02:48:35.806Z] internal/v2/application/command.go:543:23: undefined: dtos.ValueTypeUint32 [2020-12-22T02:48:35.806Z] internal/v2/application/command.go:549:23: undefined: dtos.ValueTypeUint32Array [2020-12-22T02:48:35.806Z] internal/v2/application/command.go:560:23: undefined: dtos.ValueTypeUint64 [2020-12-22T02:48:35.806Z] internal/v2/application/command.go:560:23: too many errors [2020-12-22T02:48:36.315Z] + go version [2020-12-22T02:48:36.315Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-22T02:48:36.344Z] $ docker stop --time=1 f919677ad022735b92b11a43e7ca52b42dd36b3223bf2eafc3f206dfbada5dcc [2020-12-22T02:48:38.208Z] $ docker rm -f f919677ad022735b92b11a43e7ca52b42dd36b3223bf2eafc3f206dfbada5dcc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-22T02:48:39.187Z] + docker inspect -f . ci-base-image-arm64 [2020-12-22T02:48:39.187Z] . [Pipeline] withDockerContainer [2020-12-22T02:48:39.418Z] prd-ubuntu18.04-docker-arm64-4c-16g-17174 does not seem to be running inside a container [2020-12-22T02:48:39.504Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-22T02:48:40.890Z] $ docker top 463fbc118dbdd183ded4ee8985abbdbe29c856664cf537434af98d33ebaffc9e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-22T02:48:41.862Z] + make test [2020-12-22T02:48:41.862Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-22T02:48:44.850Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.119s coverage: 19.4% of statements [2020-12-22T02:48:47.185Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.018s coverage: 97.1% of statements [2020-12-22T02:49:04.060Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-22T02:49:14.344Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.150s coverage: 9.4% of statements [2020-12-22T02:49:14.344Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.102s coverage: 21.9% of statements [2020-12-22T02:49:14.344Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-12-22T02:49:14.344Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.580s coverage: 68.9% of statements [2020-12-22T02:49:14.344Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.221s coverage: 53.8% of statements [2020-12-22T02:49:14.344Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.476s coverage: 68.9% of statements [2020-12-22T02:49:14.344Z] FAIL github.com/edgexfoundry/device-sdk-go/pkg/service [build failed] [2020-12-22T02:49:14.623Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2020-12-22T02:49:14.665Z] $ docker stop --time=1 8cf58ba5662875eded8ee5dec2f993cf43fa55f291d149ad899556f534a143d5 [2020-12-22T02:49:17.536Z] $ docker rm -f 8cf58ba5662875eded8ee5dec2f993cf43fa55f291d149ad899556f534a143d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-22T02:49:19.958Z] Failed in branch amd64 [2020-12-22T02:49:51.165Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-22T02:49:51.166Z] internal/v2/application/command.go:494:23: undefined: dtos.ValueTypeString [2020-12-22T02:49:51.166Z] internal/v2/application/command.go:496:23: undefined: dtos.ValueTypeBool [2020-12-22T02:49:51.166Z] internal/v2/application/command.go:502:23: undefined: dtos.ValueTypeBoolArray [2020-12-22T02:49:51.166Z] internal/v2/application/command.go:509:23: undefined: dtos.ValueTypeUint8 [2020-12-22T02:49:51.166Z] internal/v2/application/command.go:515:23: undefined: dtos.ValueTypeUint8Array [2020-12-22T02:49:51.166Z] internal/v2/application/command.go:526:23: undefined: dtos.ValueTypeUint16 [2020-12-22T02:49:51.166Z] internal/v2/application/command.go:532:23: undefined: dtos.ValueTypeUint16Array [2020-12-22T02:49:51.166Z] internal/v2/application/command.go:543:23: undefined: dtos.ValueTypeUint32 [2020-12-22T02:49:51.166Z] internal/v2/application/command.go:549:23: undefined: dtos.ValueTypeUint32Array [2020-12-22T02:49:51.166Z] internal/v2/application/command.go:560:23: undefined: dtos.ValueTypeUint64 [2020-12-22T02:49:51.166Z] internal/v2/application/command.go:560:23: too many errors [2020-12-22T02:49:51.166Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.177s coverage: 19.4% of statements [2020-12-22T02:49:53.820Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.266s coverage: 97.1% of statements [2020-12-22T02:50:20.624Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.135s coverage: 9.4% of statements [2020-12-22T02:50:20.624Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.131s coverage: 21.9% of statements [2020-12-22T02:50:20.624Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-12-22T02:50:20.624Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.857s coverage: 68.9% of statements [2020-12-22T02:50:20.624Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.226s coverage: 53.8% of statements [2020-12-22T02:50:20.624Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.253s coverage: 68.9% of statements [2020-12-22T02:50:20.624Z] FAIL github.com/edgexfoundry/device-sdk-go/pkg/service [build failed] [2020-12-22T02:50:20.624Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2020-12-22T02:50:20.652Z] $ docker stop --time=1 463fbc118dbdd183ded4ee8985abbdbe29c856664cf537434af98d33ebaffc9e [2020-12-22T02:50:22.828Z] $ docker rm -f 463fbc118dbdd183ded4ee8985abbdbe29c856664cf537434af98d33ebaffc9e [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:24.593Z] 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:27.264Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-22T02:50:27.578Z] ---> package-listing.sh [2020-12-22T02:50:27.578Z] ++ facter osfamily [2020-12-22T02:50:27.578Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-22T02:50:27.578Z] + OS_FAMILY=redhat [2020-12-22T02:50:27.578Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-697 [2020-12-22T02:50:27.578Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-22T02:50:27.578Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-22T02:50:27.578Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-22T02:50:27.578Z] + PACKAGES=/tmp/packages_start.txt [2020-12-22T02:50:27.578Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-697 ']' [2020-12-22T02:50:27.578Z] + PACKAGES=/tmp/packages_end.txt [2020-12-22T02:50:27.578Z] + case "${OS_FAMILY}" in [2020-12-22T02:50:27.578Z] + rpm -qa [2020-12-22T02:50:27.578Z] + sort [2020-12-22T02:50:32.884Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-22T02:50:32.884Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-22T02:50:32.884Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-22T02:50:32.884Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-697 ']' [2020-12-22T02:50:32.884Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-697/archives/ [2020-12-22T02:50:32.884Z] + 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-22T02:50:32.897Z] 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-22T02:50:33.193Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-22T02:50:33.500Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-22T02:50:33.500Z] [2020-12-22T02:50:33.500Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-22T02:50:33.847Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-22T02:50:34.110Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-22T02:50:34.110Z] df20fa9351a1: Pulling fs layer [2020-12-22T02:50:34.110Z] 36b3adc4ff6f: Pulling fs layer [2020-12-22T02:50:34.110Z] 8ad3a11d3b57: Pulling fs layer [2020-12-22T02:50:34.110Z] 46f8f816bc3b: Pulling fs layer [2020-12-22T02:50:34.110Z] 93b61091891f: Pulling fs layer [2020-12-22T02:50:34.110Z] 93b9cdb0e59b: Pulling fs layer [2020-12-22T02:50:34.110Z] 5e14af77c1be: Pulling fs layer [2020-12-22T02:50:34.110Z] 01666e4c0597: Pulling fs layer [2020-12-22T02:50:34.110Z] aa168da1d23b: Pulling fs layer [2020-12-22T02:50:34.110Z] 93b9cdb0e59b: Waiting [2020-12-22T02:50:34.110Z] 5e14af77c1be: Waiting [2020-12-22T02:50:34.110Z] 01666e4c0597: Waiting [2020-12-22T02:50:34.110Z] aa168da1d23b: Waiting [2020-12-22T02:50:34.110Z] 46f8f816bc3b: Waiting [2020-12-22T02:50:34.110Z] 93b61091891f: Waiting [2020-12-22T02:50:34.110Z] 36b3adc4ff6f: Verifying Checksum [2020-12-22T02:50:34.110Z] 36b3adc4ff6f: Download complete [2020-12-22T02:50:34.110Z] 46f8f816bc3b: Download complete [2020-12-22T02:50:34.371Z] df20fa9351a1: Download complete [2020-12-22T02:50:34.371Z] 93b9cdb0e59b: Verifying Checksum [2020-12-22T02:50:34.371Z] 93b9cdb0e59b: Download complete [2020-12-22T02:50:34.371Z] 5e14af77c1be: Verifying Checksum [2020-12-22T02:50:34.371Z] 5e14af77c1be: Download complete [2020-12-22T02:50:34.371Z] 01666e4c0597: Verifying Checksum [2020-12-22T02:50:34.371Z] 01666e4c0597: Download complete [2020-12-22T02:50:34.371Z] 93b61091891f: Verifying Checksum [2020-12-22T02:50:34.371Z] 93b61091891f: Download complete [2020-12-22T02:50:34.634Z] df20fa9351a1: Pull complete [2020-12-22T02:50:34.897Z] 36b3adc4ff6f: Pull complete [2020-12-22T02:50:35.171Z] 8ad3a11d3b57: Verifying Checksum [2020-12-22T02:50:35.171Z] 8ad3a11d3b57: Download complete [2020-12-22T02:50:35.753Z] 8ad3a11d3b57: Pull complete [2020-12-22T02:50:36.016Z] 46f8f816bc3b: Pull complete [2020-12-22T02:50:36.280Z] 93b61091891f: Pull complete [2020-12-22T02:50:36.542Z] 93b9cdb0e59b: Pull complete [2020-12-22T02:50:36.542Z] 5e14af77c1be: Pull complete [2020-12-22T02:50:36.805Z] 01666e4c0597: Pull complete [2020-12-22T02:50:37.765Z] aa168da1d23b: Verifying Checksum [2020-12-22T02:50:37.766Z] aa168da1d23b: Download complete [2020-12-22T02:50:44.474Z] aa168da1d23b: Pull complete [2020-12-22T02:50:44.474Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-22T02:50:44.474Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-22T02:50:44.474Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-22T02:50:44.672Z] prd-centos7-docker-4c-2g-17165 does not seem to be running inside a container [2020-12-22T02:50:44.722Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-22T02:50:48.117Z] $ docker top 66effd4f9bc32c8b672babca277dc269e80a2dbd24b6e17d49cca96a64ac3caa -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-22T02:50:48.586Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-22T02:50:48.885Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-22T02:50:49.191Z] + ls /var/log/sa-host [2020-12-22T02:50:49.191Z] + sadf -c /var/log/sa-host/sa22 [2020-12-22T02:50:49.191Z] file_magic: OK [2020-12-22T02:50:49.191Z] HZ: Using current value: 100 [2020-12-22T02:50:49.191Z] file_header: OK [2020-12-22T02:50:49.191Z] 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:49.191Z] Statistics: [2020-12-22T02:50:49.191Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-22T02:50:49.191Z] File successfully converted to sysstat format version 12.2.1 [2020-12-22T02:50:49.191Z] + sadf -c /var/log/sa-host/sa23 [2020-12-22T02:50:49.191Z] file_magic: OK [2020-12-22T02:50:49.191Z] HZ: Using current value: 100 [2020-12-22T02:50:49.191Z] file_header: OK [2020-12-22T02:50:49.191Z] 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:49.191Z] Statistics: [2020-12-22T02:50:49.191Z] Hnuu...uuuununununu... [2020-12-22T02:50:49.191Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-22T02:50:49.398Z] provisioning config files... [2020-12-22T02:50:49.412Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-697@tmp/config5997766676538762381tmp [Pipeline] { [Pipeline] echo [2020-12-22T02:50:49.507Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-22T02:50:49.834Z] ---> create-netrc.sh [Pipeline] } [2020-12-22T02:50:49.844Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-22T02:50:49.942Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-22T02:50:50.239Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-22T02:50:50.250Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-22T02:50:50.547Z] ---> sudo-logs.sh [2020-12-22T02:50:50.547Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-22T02:50:50.558Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-22T02:50:50.854Z] ---> job-cost.sh [2020-12-22T02:50:50.855Z] lf-activate-venv: SKIPPING [2020-12-22T02:50:50.855Z] INFO: No Stack... [2020-12-22T02:50:51.801Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-22T02:50:52.375Z] INFO: Archiving Costs [Pipeline] echo [2020-12-22T02:50:52.389Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-22T02:50:52.683Z] ---> logs-deploy.sh [2020-12-22T02:50:52.683Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-697/3 [2020-12-22T02:50:52.683Z] INFO: archiving workspace using pattern(s): [2020-12-22T02:50:54.607Z] Archives upload complete. [2020-12-22T02:50:54.607Z] INFO: archiving logs to Nexus