Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 6b68d86531d298a1b5061a6d42461cfeb6932779+d2188d43b05b3896e876a49d31725ed73587c144 (66ddeac4e282bf18c81b48a5c9d23346616bd1c6) 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-16019 in /w/workspace/dgexfoundry_device-sdk-go_PR-691 [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-691 # 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 d2188d43b05b3896e876a49d31725ed73587c144 into PR head commit 6b68d86531d298a1b5061a6d42461cfeb6932779 Merge succeeded, producing 582ecceb18f818dca43e7e82730d9b9992ad501f Checking out Revision 582ecceb18f818dca43e7e82730d9b9992ad501f (PR-691) > 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/691/head:refs/remotes/origin/PR-691 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6b68d86531d298a1b5061a6d42461cfeb6932779 # 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 d2188d43b05b3896e876a49d31725ed73587c144 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 582ecceb18f818dca43e7e82730d9b9992ad501f # timeout=10 Commit message: "Merge commit 'd2188d43b05b3896e876a49d31725ed73587c144' into HEAD" > git rev-list --no-walk 6b68d86531d298a1b5061a6d42461cfeb6932779 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-15T02:42:34.556Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-15T02:42:34.812Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-15T02:42:34.909Z] ========================================================= [2020-12-15T02:42:34.909Z] EdgeX Global Pipelines Version Info [2020-12-15T02:42:34.909Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-15T02:42:36.398Z] ------------------- [2020-12-15T02:42:36.398Z] stable info: [2020-12-15T02:42:36.398Z] ------------------- [2020-12-15T02:42:36.398Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-15T02:42:36.398Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-15T02:42:36.398Z] Message: update stable to v1.0.172 [2020-12-15T02:42:37.342Z] ------------------- [2020-12-15T02:42:37.342Z] experimental info: [2020-12-15T02:42:37.342Z] ------------------- [2020-12-15T02:42:37.342Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-15T02:42:37.342Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-15T02:42:37.342Z] Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-15T02:42:37.596Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-12-15T02:42:37.716Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-12-15T02:42:37.810Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-15T02:42:37.909Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-15T02:42:38.002Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-15T02:42:38.100Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-15T02:42:38.194Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-15T02:42:38.309Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-15T02:42:38.400Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-12-15T02:42:38.491Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-15T02:42:38.585Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-15T02:42:38.678Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-12-15T02:42:38.800Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-15T02:42:38.901Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-15T02:42:39.084Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-15T02:42:39.178Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-15T02:42:39.303Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-15T02:42:39.435Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-15T02:42:39.534Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-15T02:42:39.629Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-15T02:42:39.736Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-15T02:42:39.887Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-15T02:42:39.989Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-15T02:42:40.089Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-15T02:42:40.185Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-15T02:42:40.281Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-15T02:42:40.391Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-691 [Pipeline] echo [2020-12-15T02:42:40.489Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-691 [Pipeline] echo [2020-12-15T02:42:40.649Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-691 [Pipeline] echo [2020-12-15T02:42:40.756Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 582ecceb18f818dca43e7e82730d9b9992ad501f [Pipeline] echo [2020-12-15T02:42:40.881Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 582ecce [Pipeline] echo [2020-12-15T02:42:41.004Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-15T02:42:41.196Z] provisioning config files... [2020-12-15T02:42:41.222Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-691@tmp/config2940401275478863822tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-15T02:42:41.613Z] ---> docker-login.sh [2020-12-15T02:42:41.614Z] nexus3.edgexfoundry.org:10001 [2020-12-15T02:42:41.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T02:42:42.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T02:42:42.138Z] Configure a credential helper to remove this warning. See [2020-12-15T02:42:42.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T02:42:42.138Z] [2020-12-15T02:42:42.138Z] Login Succeeded [2020-12-15T02:42:42.138Z] nexus3.edgexfoundry.org:10002 [2020-12-15T02:42:42.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T02:42:42.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T02:42:42.401Z] Configure a credential helper to remove this warning. See [2020-12-15T02:42:42.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T02:42:42.401Z] [2020-12-15T02:42:42.401Z] Login Succeeded [2020-12-15T02:42:42.401Z] nexus3.edgexfoundry.org:10003 [2020-12-15T02:42:42.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T02:42:42.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T02:42:42.401Z] Configure a credential helper to remove this warning. See [2020-12-15T02:42:42.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T02:42:42.401Z] [2020-12-15T02:42:42.401Z] Login Succeeded [2020-12-15T02:42:42.401Z] nexus3.edgexfoundry.org:10004 [2020-12-15T02:42:42.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T02:42:42.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T02:42:42.664Z] Configure a credential helper to remove this warning. See [2020-12-15T02:42:42.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T02:42:42.664Z] [2020-12-15T02:42:42.664Z] Login Succeeded [2020-12-15T02:42:42.664Z] docker.io [2020-12-15T02:42:42.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T02:42:43.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T02:42:43.198Z] Configure a credential helper to remove this warning. See [2020-12-15T02:42:43.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T02:42:43.198Z] [2020-12-15T02:42:43.198Z] Login Succeeded [2020-12-15T02:42:43.198Z] ---> docker-login.sh ends [Pipeline] } [2020-12-15T02:42:43.211Z] 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-15T02:42:44.160Z] + git log --format=format:%s -1 582ecceb18f818dca43e7e82730d9b9992ad501f [Pipeline] echo [2020-12-15T02:42:44.233Z] GIT_COMMIT: 582ecceb18f818dca43e7e82730d9b9992ad501f, Commit Message: Merge commit 'd2188d43b05b3896e876a49d31725ed73587c144' into HEAD [Pipeline] echo [2020-12-15T02:42:44.285Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-15T02:42:44.933Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-15T02:42:44.933Z] [2020-12-15T02:42:44.933Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-15T02:42:45.289Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-15T02:42:45.289Z] latest: Pulling from edgex-devops/git-semver [2020-12-15T02:42:45.289Z] 31603596830f: Pulling fs layer [2020-12-15T02:42:45.289Z] 2a8b12db71e7: Pulling fs layer [2020-12-15T02:42:45.289Z] 6ca5941a6612: Pulling fs layer [2020-12-15T02:42:45.289Z] ecc8261a40a4: Pulling fs layer [2020-12-15T02:42:45.289Z] ecc8261a40a4: Waiting [2020-12-15T02:42:45.289Z] 2a8b12db71e7: Verifying Checksum [2020-12-15T02:42:45.289Z] 2a8b12db71e7: Download complete [2020-12-15T02:42:45.555Z] 31603596830f: Download complete [2020-12-15T02:42:45.555Z] 6ca5941a6612: Verifying Checksum [2020-12-15T02:42:45.555Z] 6ca5941a6612: Download complete [2020-12-15T02:42:45.555Z] ecc8261a40a4: Verifying Checksum [2020-12-15T02:42:45.555Z] ecc8261a40a4: Download complete [2020-12-15T02:42:45.817Z] 31603596830f: Pull complete [2020-12-15T02:42:46.087Z] 2a8b12db71e7: Pull complete [2020-12-15T02:42:47.039Z] 6ca5941a6612: Pull complete [2020-12-15T02:42:47.039Z] ecc8261a40a4: Pull complete [2020-12-15T02:42:47.039Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-15T02:42:47.039Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-15T02:42:47.039Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-15T02:42:47.144Z] prd-centos7-docker-4c-2g-16019 does not seem to be running inside a container [2020-12-15T02:42:47.214Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-691 -v /w/workspace/dgexfoundry_device-sdk-go_PR-691:/w/workspace/dgexfoundry_device-sdk-go_PR-691:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-691@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-691@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-15T02:42:49.242Z] $ docker top f55a60a1fe5cb5fabcc6b997a2094c456a0c82ff8e527c09fdf27bde5d95fcd2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-15T02:42:49.602Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-15T02:42:49.602Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-15T02:42:49.875Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-15T02:42:49.883Z] $ docker exec f55a60a1fe5cb5fabcc6b997a2094c456a0c82ff8e527c09fdf27bde5d95fcd2 ssh-agent [2020-12-15T02:42:50.071Z] SSH_AUTH_SOCK=/tmp/ssh-1uqSlsv0iSMU/agent.12 [2020-12-15T02:42:50.071Z] SSH_AGENT_PID=17 [2020-12-15T02:42:50.081Z] Running ssh-add (command line suppressed) [2020-12-15T02:42:50.210Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-691@tmp/private_key_5613954093965256705.key (/w/workspace/dgexfoundry_device-sdk-go_PR-691@tmp/private_key_5613954093965256705.key) [2020-12-15T02:42:50.262Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-15T02:42:50.632Z] + git tag --points-at HEAD [Pipeline] } [2020-12-15T02:42:50.655Z] $ docker exec --env ******** --env ******** f55a60a1fe5cb5fabcc6b997a2094c456a0c82ff8e527c09fdf27bde5d95fcd2 ssh-agent -k [2020-12-15T02:42:50.802Z] unset SSH_AUTH_SOCK; [2020-12-15T02:42:50.803Z] unset SSH_AGENT_PID; [2020-12-15T02:42:50.803Z] echo Agent pid 17 killed; [2020-12-15T02:42:50.861Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-15T02:42:51.010Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-15T02:42:51.011Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-15T02:42:51.254Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-15T02:42:51.260Z] $ docker exec f55a60a1fe5cb5fabcc6b997a2094c456a0c82ff8e527c09fdf27bde5d95fcd2 ssh-agent [2020-12-15T02:42:51.457Z] SSH_AUTH_SOCK=/tmp/ssh-6mHYuIDiNY2j/agent.45 [2020-12-15T02:42:51.457Z] SSH_AGENT_PID=50 [2020-12-15T02:42:51.466Z] Running ssh-add (command line suppressed) [2020-12-15T02:42:51.619Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-691@tmp/private_key_5896061448838500650.key (/w/workspace/dgexfoundry_device-sdk-go_PR-691@tmp/private_key_5896061448838500650.key) [2020-12-15T02:42:51.674Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-15T02:42:52.012Z] + git semver init [2020-12-15T02:42:52.013Z] # -> Open(): unable to determine branch for HEAD [2020-12-15T02:42:52.013Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-691/.git [2020-12-15T02:42:52.013Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-691 [2020-12-15T02:42:52.013Z] # $SEMVER_REMOTE_NAME = origin [2020-12-15T02:42:52.013Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-15T02:42:52.013Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-15T02:42:52.013Z] # $SEMVER_BRANCH = PR-691 [2020-12-15T02:42:52.013Z] # $SEMVER_TEMP = /tmp/semver-271366014 [2020-12-15T02:42:52.013Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-12-15T02:42:52.592Z] # '/tmp/semver-271366014' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-691/.semver' [2020-12-15T02:42:52.592Z] # -> Force: false [2020-12-15T02:42:52.592Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-691/.semver [Pipeline] } [2020-12-15T02:42:52.609Z] $ docker exec --env ******** --env ******** f55a60a1fe5cb5fabcc6b997a2094c456a0c82ff8e527c09fdf27bde5d95fcd2 ssh-agent -k [2020-12-15T02:42:52.728Z] unset SSH_AUTH_SOCK; [2020-12-15T02:42:52.728Z] unset SSH_AGENT_PID; [2020-12-15T02:42:52.728Z] echo Agent pid 50 killed; [2020-12-15T02:42:52.779Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-15T02:42:53.254Z] + git semver [Pipeline] } [2020-12-15T02:42:53.274Z] $ docker stop --time=1 f55a60a1fe5cb5fabcc6b997a2094c456a0c82ff8e527c09fdf27bde5d95fcd2 [2020-12-15T02:42:54.921Z] $ docker rm -f f55a60a1fe5cb5fabcc6b997a2094c456a0c82ff8e527c09fdf27bde5d95fcd2 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-15T02:42:55.396Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-15T02:42:55.832Z] Stashed 1 file(s) [Pipeline] echo [2020-12-15T02:42:55.835Z] [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-15T02:43:11.354Z] Still waiting to schedule task [2020-12-15T02:43:11.354Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-15T02:43:11.357Z] Still waiting to schedule task [2020-12-15T02:43:11.357Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-16016’ [2020-12-15T02:44:27.017Z] Running on prd-centos7-docker-4c-2g-16023 in /w/workspace/dgexfoundry_device-sdk-go_PR-691 [Pipeline] { [Pipeline] ws [2020-12-15T02:44:27.072Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-12-15T02:44:29.527Z] using credential edgex-jenkins-ssh [2020-12-15T02:44:29.597Z] Cloning the remote Git repository [2020-12-15T02:44:29.401Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-15T02:44:29.478Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-12-15T02:44:29.548Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-15T02:44:29.549Z] > git --version # timeout=10 [2020-12-15T02:44:29.556Z] > git --version # 'git version 2.24.3' [2020-12-15T02:44:29.557Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T02:44:29.588Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-15T02:44:30.956Z] Merging remotes/origin/master commit d2188d43b05b3896e876a49d31725ed73587c144 into PR head commit 6b68d86531d298a1b5061a6d42461cfeb6932779 [2020-12-15T02:44:31.083Z] Merge succeeded, producing dccd904a7888555829d8f154f366400e33ade05f [2020-12-15T02:44:31.083Z] Checking out Revision dccd904a7888555829d8f154f366400e33ade05f (PR-691) [2020-12-15T02:44:30.387Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-15T02:44:30.394Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-15T02:44:30.412Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-15T02:44:30.429Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-15T02:44:30.429Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T02:44:30.434Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/691/head:refs/remotes/origin/PR-691 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-15T02:44:30.843Z] > git config core.sparsecheckout # timeout=10 [2020-12-15T02:44:30.850Z] > git checkout -f 6b68d86531d298a1b5061a6d42461cfeb6932779 # timeout=10 [2020-12-15T02:44:30.910Z] > git remote # timeout=10 [2020-12-15T02:44:30.916Z] > git config --get remote.origin.url # timeout=10 [2020-12-15T02:44:30.921Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T02:44:30.925Z] > git merge d2188d43b05b3896e876a49d31725ed73587c144 # timeout=10 [2020-12-15T02:44:30.962Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-15T02:44:30.974Z] > git config core.sparsecheckout # timeout=10 [2020-12-15T02:44:30.979Z] > git checkout -f dccd904a7888555829d8f154f366400e33ade05f # timeout=10 [2020-12-15T02:44:34.805Z] Commit message: "Merge commit 'd2188d43b05b3896e876a49d31725ed73587c144' into HEAD" [2020-12-15T02:44:34.811Z] > git rev-list --no-walk 6b68d86531d298a1b5061a6d42461cfeb6932779 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-15T02:44:36.048Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-15T02:44:36.384Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-15T02:44:36.682Z] + sudo service docker restart [2020-12-15T02:44:36.682Z] + true [2020-12-15T02:44:36.682Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-15T02:44:37.730Z] provisioning config files... [2020-12-15T02:44:37.755Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config3968764003947049119tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-15T02:44:38.119Z] ---> docker-login.sh [2020-12-15T02:44:38.119Z] nexus3.edgexfoundry.org:10001 [2020-12-15T02:44:38.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T02:44:38.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T02:44:38.646Z] Configure a credential helper to remove this warning. See [2020-12-15T02:44:38.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T02:44:38.646Z] [2020-12-15T02:44:38.646Z] Login Succeeded [2020-12-15T02:44:38.646Z] nexus3.edgexfoundry.org:10002 [2020-12-15T02:44:38.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T02:44:38.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T02:44:38.908Z] Configure a credential helper to remove this warning. See [2020-12-15T02:44:38.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T02:44:38.908Z] [2020-12-15T02:44:38.908Z] Login Succeeded [2020-12-15T02:44:38.908Z] nexus3.edgexfoundry.org:10003 [2020-12-15T02:44:38.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T02:44:38.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T02:44:38.909Z] Configure a credential helper to remove this warning. See [2020-12-15T02:44:38.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T02:44:38.909Z] [2020-12-15T02:44:38.909Z] Login Succeeded [2020-12-15T02:44:38.909Z] nexus3.edgexfoundry.org:10004 [2020-12-15T02:44:39.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T02:44:39.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T02:44:39.171Z] Configure a credential helper to remove this warning. See [2020-12-15T02:44:39.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T02:44:39.171Z] [2020-12-15T02:44:39.171Z] Login Succeeded [2020-12-15T02:44:39.171Z] docker.io [2020-12-15T02:44:39.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T02:44:39.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T02:44:39.442Z] Configure a credential helper to remove this warning. See [2020-12-15T02:44:39.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T02:44:39.442Z] [2020-12-15T02:44:39.442Z] Login Succeeded [2020-12-15T02:44:39.442Z] ---> docker-login.sh ends [Pipeline] } [2020-12-15T02:44:39.453Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-15T02:44:39.966Z] ========================================================= [2020-12-15T02:44:39.966Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-15T02:44:39.966Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-15T02:44:40.360Z] + 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-15T02:44:40.623Z] Sending build context to Docker daemon 2.38MB [2020-12-15T02:44:40.623Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-15T02:44:40.623Z] Step 2/8 : FROM ${BASE} [2020-12-15T02:44:40.623Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-15T02:44:40.623Z] 188c0c94c7c5: Pulling fs layer [2020-12-15T02:44:40.623Z] 0ef7d3d256c8: Pulling fs layer [2020-12-15T02:44:40.623Z] de9db76c5a1d: Pulling fs layer [2020-12-15T02:44:40.623Z] bca2f99d35d6: Pulling fs layer [2020-12-15T02:44:40.623Z] 93359f2a8cfa: Pulling fs layer [2020-12-15T02:44:40.623Z] 7c6f9722023f: Pulling fs layer [2020-12-15T02:44:40.623Z] a35cf1a2eb13: Pulling fs layer [2020-12-15T02:44:40.623Z] 93359f2a8cfa: Waiting [2020-12-15T02:44:40.623Z] a35cf1a2eb13: Waiting [2020-12-15T02:44:40.623Z] 7c6f9722023f: Waiting [2020-12-15T02:44:40.623Z] bca2f99d35d6: Waiting [2020-12-15T02:44:40.623Z] de9db76c5a1d: Verifying Checksum [2020-12-15T02:44:40.623Z] de9db76c5a1d: Download complete [2020-12-15T02:44:40.623Z] 0ef7d3d256c8: Verifying Checksum [2020-12-15T02:44:40.623Z] 0ef7d3d256c8: Download complete [2020-12-15T02:44:40.623Z] 93359f2a8cfa: Verifying Checksum [2020-12-15T02:44:40.623Z] 93359f2a8cfa: Download complete [2020-12-15T02:44:40.623Z] 7c6f9722023f: Verifying Checksum [2020-12-15T02:44:40.623Z] 7c6f9722023f: Download complete [2020-12-15T02:44:40.884Z] 188c0c94c7c5: Verifying Checksum [2020-12-15T02:44:40.884Z] 188c0c94c7c5: Download complete [2020-12-15T02:44:40.884Z] 188c0c94c7c5: Pull complete [2020-12-15T02:44:41.147Z] 0ef7d3d256c8: Pull complete [2020-12-15T02:44:41.411Z] de9db76c5a1d: Pull complete [2020-12-15T02:44:42.829Z] a35cf1a2eb13: Verifying Checksum [2020-12-15T02:44:42.829Z] a35cf1a2eb13: Download complete [2020-12-15T02:44:43.787Z] bca2f99d35d6: Verifying Checksum [2020-12-15T02:44:43.787Z] bca2f99d35d6: Download complete [2020-12-15T02:44:49.141Z] bca2f99d35d6: Pull complete [2020-12-15T02:44:49.406Z] 93359f2a8cfa: Pull complete [2020-12-15T02:44:49.406Z] 7c6f9722023f: Pull complete [2020-12-15T02:44:53.662Z] a35cf1a2eb13: Pull complete [2020-12-15T02:44:53.662Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-15T02:44:53.662Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-15T02:44:53.662Z] ---> a62c8e92a672 [2020-12-15T02:44:53.662Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-15T02:44:53.926Z] ---> Running in dde33f12486d [2020-12-15T02:44:54.190Z] Removing intermediate container dde33f12486d [2020-12-15T02:44:54.190Z] ---> d1c986ecb59f [2020-12-15T02:44:54.190Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-15T02:44:54.458Z] ---> Running in aa554c76fe65 [2020-12-15T02:44:55.421Z] Removing intermediate container aa554c76fe65 [2020-12-15T02:44:55.421Z] ---> 89d93151240b [2020-12-15T02:44:55.421Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-15T02:44:55.421Z] ---> Running in 216d3d189a00 [2020-12-15T02:44:55.999Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-15T02:44:56.947Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-15T02:44:57.897Z] OK: 166 MiB in 39 packages [2020-12-15T02:44:58.472Z] Removing intermediate container 216d3d189a00 [2020-12-15T02:44:58.472Z] ---> 721765ad3243 [2020-12-15T02:44:58.472Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-15T02:44:58.472Z] ---> Running in 9b0f1f361c12 [2020-12-15T02:44:58.472Z] Removing intermediate container 9b0f1f361c12 [2020-12-15T02:44:58.472Z] ---> a410ad541d47 [2020-12-15T02:44:58.472Z] Step 7/8 : COPY . . [2020-12-15T02:44:59.879Z] ---> b29578e242d0 [2020-12-15T02:44:59.879Z] Step 8/8 : RUN go mod download [2020-12-15T02:44:59.879Z] ---> Running in 6d6ce31d264b [2020-12-15T02:45:18.137Z] Removing intermediate container 6d6ce31d264b [2020-12-15T02:45:18.137Z] ---> 98e9cb9060b5 [2020-12-15T02:45:18.137Z] Successfully built 98e9cb9060b5 [2020-12-15T02:45:18.137Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-15T02:45:18.638Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-15T02:45:18.638Z] . [Pipeline] withDockerContainer [2020-12-15T02:45:18.788Z] prd-centos7-docker-4c-2g-16023 does not seem to be running inside a container [2020-12-15T02:45:18.863Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-15T02:45:19.951Z] $ docker top afed0d70daa2ff8d178b9078c1e15f0a936d22cabb2acb3283dcb559e88b9b32 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-15T02:45:20.481Z] + go version [2020-12-15T02:45:20.481Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-15T02:45:20.500Z] $ docker stop --time=1 afed0d70daa2ff8d178b9078c1e15f0a936d22cabb2acb3283dcb559e88b9b32 [2020-12-15T02:45:21.854Z] $ docker rm -f afed0d70daa2ff8d178b9078c1e15f0a936d22cabb2acb3283dcb559e88b9b32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-15T02:45:22.769Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-15T02:45:22.769Z] . [Pipeline] withDockerContainer [2020-12-15T02:45:22.876Z] prd-centos7-docker-4c-2g-16023 does not seem to be running inside a container [2020-12-15T02:45:22.940Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-15T02:45:23.550Z] $ docker top 5d59e33e0f9d168603e63289581987d37d69d67ed9446e51d1c7c1b780b41a8b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-15T02:45:24.169Z] + make test [2020-12-15T02:45:24.169Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-15T02:45:30.798Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-15T02:45:43.130Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-15T02:45:43.130Z] internal/v2/application/command.go:713:31: unknown field 'Name' in struct literal of type dtos.BaseReading [2020-12-15T02:45:43.130Z] internal/v2/application/command.go:719:10: reading.FloatEncoding undefined (type *dtos.BaseReading has no field or method FloatEncoding) [2020-12-15T02:45:45.738Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.073s coverage: 20.6% of statements [2020-12-15T02:45:47.711Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.465s coverage: 97.1% of statements [2020-12-15T02:46:19.873Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.064s coverage: 9.4% of statements [2020-12-15T02:46:19.873Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.060s coverage: 21.9% of statements [2020-12-15T02:46:19.873Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-12-15T02:46:19.873Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.295s coverage: 68.9% of statements [2020-12-15T02:46:19.873Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.072s coverage: 52.6% of statements [2020-12-15T02:46:19.873Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.397s coverage: 68.9% of statements [2020-12-15T02:46:19.873Z] FAIL github.com/edgexfoundry/device-sdk-go/pkg/service [build failed] [2020-12-15T02:46:19.873Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2020-12-15T02:46:19.896Z] $ docker stop --time=1 5d59e33e0f9d168603e63289581987d37d69d67ed9446e51d1c7c1b780b41a8b [2020-12-15T02:46:21.535Z] $ docker rm -f 5d59e33e0f9d168603e63289581987d37d69d67ed9446e51d1c7c1b780b41a8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2020-12-15T02:46:22.166Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-16027 in /w/workspace/dgexfoundry_device-sdk-go_PR-691 [Pipeline] // stage [Pipeline] { [Pipeline] stage [Pipeline] { (Build) [Pipeline] ws [2020-12-15T02:46:22.292Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] checkout [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-15T02:46:23.668Z] Failed in branch amd64 [2020-12-15T02:46:27.728Z] using credential edgex-jenkins-ssh [2020-12-15T02:46:27.804Z] Cloning the remote Git repository [2020-12-15T02:46:27.876Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-15T02:46:27.994Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-12-15T02:46:28.074Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-15T02:46:28.075Z] > git --version # timeout=10 [2020-12-15T02:46:28.095Z] > git --version # 'git version 2.17.1' [2020-12-15T02:46:28.097Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T02:46:28.166Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-15T02:46:29.607Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-15T02:46:29.628Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-15T02:46:29.662Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-15T02:46:29.708Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-15T02:46:29.709Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T02:46:29.732Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/691/head:refs/remotes/origin/PR-691 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-15T02:46:30.228Z] Merging remotes/origin/master commit d2188d43b05b3896e876a49d31725ed73587c144 into PR head commit 6b68d86531d298a1b5061a6d42461cfeb6932779 [2020-12-15T02:46:30.571Z] Merge succeeded, producing c51273084bf774642f9a17e704087ff426a3098c [2020-12-15T02:46:30.572Z] Checking out Revision c51273084bf774642f9a17e704087ff426a3098c (PR-691) [2020-12-15T02:46:30.249Z] > git config core.sparsecheckout # timeout=10 [2020-12-15T02:46:30.276Z] > git checkout -f 6b68d86531d298a1b5061a6d42461cfeb6932779 # timeout=10 [2020-12-15T02:46:30.401Z] > git remote # timeout=10 [2020-12-15T02:46:30.423Z] > git config --get remote.origin.url # timeout=10 [2020-12-15T02:46:30.445Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T02:46:30.456Z] > git merge d2188d43b05b3896e876a49d31725ed73587c144 # timeout=10 [2020-12-15T02:46:30.553Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-15T02:46:30.579Z] > git config core.sparsecheckout # timeout=10 [2020-12-15T02:46:30.592Z] > git checkout -f c51273084bf774642f9a17e704087ff426a3098c # timeout=10 [2020-12-15T02:46:35.323Z] Commit message: "Merge commit 'd2188d43b05b3896e876a49d31725ed73587c144' into HEAD" [2020-12-15T02:46:35.331Z] > git rev-list --no-walk 6b68d86531d298a1b5061a6d42461cfeb6932779 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-15T02:46:37.141Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-15T02:46:37.559Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-15T02:46:37.899Z] + sudo service docker restart [2020-12-15T02:46:37.899Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-15T02:46:40.608Z] provisioning config files... [2020-12-15T02:46:40.648Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config1182184595141694876tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-15T02:46:41.063Z] ---> docker-login.sh [2020-12-15T02:46:41.063Z] nexus3.edgexfoundry.org:10001 [2020-12-15T02:46:42.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T02:46:42.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T02:46:42.650Z] Configure a credential helper to remove this warning. See [2020-12-15T02:46:42.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T02:46:42.650Z] [2020-12-15T02:46:42.650Z] Login Succeeded [2020-12-15T02:46:42.650Z] nexus3.edgexfoundry.org:10002 [2020-12-15T02:46:42.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T02:46:42.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T02:46:42.926Z] Configure a credential helper to remove this warning. See [2020-12-15T02:46:42.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T02:46:42.926Z] [2020-12-15T02:46:42.926Z] Login Succeeded [2020-12-15T02:46:42.926Z] nexus3.edgexfoundry.org:10003 [2020-12-15T02:46:43.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T02:46:43.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T02:46:43.525Z] Configure a credential helper to remove this warning. See [2020-12-15T02:46:43.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T02:46:43.525Z] [2020-12-15T02:46:43.525Z] Login Succeeded [2020-12-15T02:46:43.525Z] nexus3.edgexfoundry.org:10004 [2020-12-15T02:46:43.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T02:46:44.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T02:46:44.075Z] Configure a credential helper to remove this warning. See [2020-12-15T02:46:44.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T02:46:44.075Z] [2020-12-15T02:46:44.075Z] Login Succeeded [2020-12-15T02:46:44.075Z] docker.io [2020-12-15T02:46:44.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T02:46:44.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T02:46:44.633Z] Configure a credential helper to remove this warning. See [2020-12-15T02:46:44.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T02:46:44.633Z] [2020-12-15T02:46:44.633Z] Login Succeeded [2020-12-15T02:46:44.633Z] ---> docker-login.sh ends [Pipeline] } [2020-12-15T02:46:44.652Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-15T02:46:45.152Z] ========================================================= [2020-12-15T02:46:45.152Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-15T02:46:45.152Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-15T02:46:45.531Z] + 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-15T02:46:46.132Z] Sending build context to Docker daemon 2.38MB [2020-12-15T02:46:46.132Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-15T02:46:46.132Z] Step 2/8 : FROM ${BASE} [2020-12-15T02:46:46.132Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-15T02:46:46.132Z] 5f621e34cdf4: Pulling fs layer [2020-12-15T02:46:46.132Z] a4357932f1b6: Pulling fs layer [2020-12-15T02:46:46.132Z] 18c013af1878: Pulling fs layer [2020-12-15T02:46:46.132Z] 00ac8860ef70: Pulling fs layer [2020-12-15T02:46:46.132Z] 63d7cb157983: Pulling fs layer [2020-12-15T02:46:46.132Z] b116817d02f9: Pulling fs layer [2020-12-15T02:46:46.132Z] 745a02a5169b: Pulling fs layer [2020-12-15T02:46:46.132Z] 00ac8860ef70: Waiting [2020-12-15T02:46:46.132Z] 63d7cb157983: Waiting [2020-12-15T02:46:46.132Z] b116817d02f9: Waiting [2020-12-15T02:46:46.132Z] 18c013af1878: Verifying Checksum [2020-12-15T02:46:46.132Z] 18c013af1878: Download complete [2020-12-15T02:46:46.132Z] a4357932f1b6: Verifying Checksum [2020-12-15T02:46:46.132Z] a4357932f1b6: Download complete [2020-12-15T02:46:46.132Z] 63d7cb157983: Verifying Checksum [2020-12-15T02:46:46.132Z] 63d7cb157983: Download complete [2020-12-15T02:46:46.132Z] b116817d02f9: Download complete [2020-12-15T02:46:46.733Z] 5f621e34cdf4: Verifying Checksum [2020-12-15T02:46:46.733Z] 5f621e34cdf4: Download complete [2020-12-15T02:46:47.353Z] 5f621e34cdf4: Pull complete [2020-12-15T02:46:48.350Z] a4357932f1b6: Pull complete [2020-12-15T02:46:48.629Z] 18c013af1878: Pull complete [2020-12-15T02:46:49.234Z] 745a02a5169b: Verifying Checksum [2020-12-15T02:46:49.234Z] 745a02a5169b: Download complete [2020-12-15T02:46:50.681Z] 00ac8860ef70: Verifying Checksum [2020-12-15T02:46:50.681Z] 00ac8860ef70: Download complete [2020-12-15T02:47:00.855Z] 00ac8860ef70: Pull complete [2020-12-15T02:47:00.855Z] 63d7cb157983: Pull complete [2020-12-15T02:47:00.855Z] b116817d02f9: Pull complete [2020-12-15T02:47:04.247Z] 745a02a5169b: Pull complete [2020-12-15T02:47:04.247Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-15T02:47:04.247Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-15T02:47:04.247Z] ---> b7e6874047d6 [2020-12-15T02:47:04.247Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-15T02:47:07.635Z] ---> Running in 626e23126269 [2020-12-15T02:47:07.635Z] Removing intermediate container 626e23126269 [2020-12-15T02:47:07.635Z] ---> cabb7593cd0b [2020-12-15T02:47:07.635Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-15T02:47:07.910Z] ---> Running in 2db68d8eaa86 [2020-12-15T02:47:10.544Z] Removing intermediate container 2db68d8eaa86 [2020-12-15T02:47:10.544Z] ---> 3e4853c94aec [2020-12-15T02:47:10.544Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-15T02:47:10.544Z] ---> Running in e46fc8ea0c0c [2020-12-15T02:47:11.137Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-15T02:47:12.131Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-15T02:47:14.748Z] OK: 142 MiB in 39 packages [2020-12-15T02:47:15.338Z] Removing intermediate container e46fc8ea0c0c [2020-12-15T02:47:15.338Z] ---> f40069354070 [2020-12-15T02:47:15.338Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-15T02:47:15.611Z] ---> Running in 4e0f57f68b3d [2020-12-15T02:47:16.203Z] Removing intermediate container 4e0f57f68b3d [2020-12-15T02:47:16.203Z] ---> 8801065a8a6c [2020-12-15T02:47:16.203Z] Step 7/8 : COPY . . [2020-12-15T02:47:17.180Z] ---> 555281eeb605 [2020-12-15T02:47:17.180Z] Step 8/8 : RUN go mod download [2020-12-15T02:47:17.451Z] ---> Running in e369994d2839 [2020-12-15T02:47:39.641Z] Removing intermediate container e369994d2839 [2020-12-15T02:47:39.641Z] ---> cc03d3febce2 [2020-12-15T02:47:39.641Z] Successfully built cc03d3febce2 [2020-12-15T02:47:39.641Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-15T02:47:40.004Z] + docker inspect -f . ci-base-image-arm64 [2020-12-15T02:47:40.004Z] . [Pipeline] withDockerContainer [2020-12-15T02:47:40.316Z] prd-ubuntu18.04-docker-arm64-4c-16g-16027 does not seem to be running inside a container [2020-12-15T02:47:40.409Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-15T02:47:42.004Z] $ docker top 264e79883d8d05d51eccb87c3301bbcdfbc669769594b8cd6eff350b0ea9fd43 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-15T02:47:43.075Z] + go version [2020-12-15T02:47:43.075Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-15T02:47:43.101Z] $ docker stop --time=1 264e79883d8d05d51eccb87c3301bbcdfbc669769594b8cd6eff350b0ea9fd43 [2020-12-15T02:47:45.048Z] $ docker rm -f 264e79883d8d05d51eccb87c3301bbcdfbc669769594b8cd6eff350b0ea9fd43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-15T02:47:46.036Z] + docker inspect -f . ci-base-image-arm64 [2020-12-15T02:47:46.036Z] . [Pipeline] withDockerContainer [2020-12-15T02:47:46.329Z] prd-ubuntu18.04-docker-arm64-4c-16g-16027 does not seem to be running inside a container [2020-12-15T02:47:46.418Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-15T02:47:47.838Z] $ docker top cac21c9d65477e80109e7f0b1b86d2fc4cf90a84e3ed6b43ae5be6da451f0b17 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-15T02:47:48.826Z] + make test [2020-12-15T02:47:48.826Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-15T02:48:11.021Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-15T02:48:58.165Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-15T02:48:58.165Z] internal/v2/application/command.go:713:31: unknown field 'Name' in struct literal of type dtos.BaseReading [2020-12-15T02:48:58.165Z] internal/v2/application/command.go:719:10: reading.FloatEncoding undefined (type *dtos.BaseReading has no field or method FloatEncoding) [2020-12-15T02:48:58.165Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.198s coverage: 20.6% of statements [2020-12-15T02:48:59.623Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.204s coverage: 97.1% of statements [2020-12-15T02:49:31.956Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.129s coverage: 9.4% of statements [2020-12-15T02:49:31.957Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.110s coverage: 21.9% of statements [2020-12-15T02:49:31.957Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-12-15T02:49:31.957Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.872s coverage: 68.9% of statements [2020-12-15T02:49:31.957Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.173s coverage: 52.6% of statements [2020-12-15T02:49:31.957Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.171s coverage: 68.9% of statements [2020-12-15T02:49:31.957Z] FAIL github.com/edgexfoundry/device-sdk-go/pkg/service [build failed] [2020-12-15T02:49:31.957Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2020-12-15T02:49:31.987Z] $ docker stop --time=1 cac21c9d65477e80109e7f0b1b86d2fc4cf90a84e3ed6b43ae5be6da451f0b17 [2020-12-15T02:49:34.096Z] $ docker rm -f cac21c9d65477e80109e7f0b1b86d2fc4cf90a84e3ed6b43ae5be6da451f0b17 [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-15T02:49:36.204Z] 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-15T02:49:39.152Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T02:49:39.734Z] ---> package-listing.sh [2020-12-15T02:49:39.734Z] ++ facter osfamily [2020-12-15T02:49:39.734Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-15T02:49:39.734Z] + OS_FAMILY=redhat [2020-12-15T02:49:39.734Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-691 [2020-12-15T02:49:39.734Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-15T02:49:39.734Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-15T02:49:39.734Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-15T02:49:39.734Z] + PACKAGES=/tmp/packages_start.txt [2020-12-15T02:49:39.734Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-691 ']' [2020-12-15T02:49:39.734Z] + PACKAGES=/tmp/packages_end.txt [2020-12-15T02:49:39.734Z] + case "${OS_FAMILY}" in [2020-12-15T02:49:39.734Z] + rpm -qa [2020-12-15T02:49:39.734Z] + sort [2020-12-15T02:49:45.045Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-15T02:49:45.045Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-15T02:49:45.045Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-15T02:49:45.045Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-691 ']' [2020-12-15T02:49:45.045Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-691/archives/ [2020-12-15T02:49:45.045Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-691/archives/ [Pipeline] echo [2020-12-15T02:49:45.061Z] 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-691/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-15T02:49:45.352Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-15T02:49:45.662Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-15T02:49:45.662Z] [2020-12-15T02:49:45.662Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-15T02:49:46.040Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-15T02:49:46.040Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-15T02:49:46.040Z] df20fa9351a1: Pulling fs layer [2020-12-15T02:49:46.040Z] 36b3adc4ff6f: Pulling fs layer [2020-12-15T02:49:46.040Z] 8ad3a11d3b57: Pulling fs layer [2020-12-15T02:49:46.040Z] 46f8f816bc3b: Pulling fs layer [2020-12-15T02:49:46.040Z] 93b61091891f: Pulling fs layer [2020-12-15T02:49:46.040Z] 93b9cdb0e59b: Pulling fs layer [2020-12-15T02:49:46.040Z] 5e14af77c1be: Pulling fs layer [2020-12-15T02:49:46.040Z] 01666e4c0597: Pulling fs layer [2020-12-15T02:49:46.040Z] aa168da1d23b: Pulling fs layer [2020-12-15T02:49:46.040Z] 93b9cdb0e59b: Waiting [2020-12-15T02:49:46.040Z] 5e14af77c1be: Waiting [2020-12-15T02:49:46.040Z] 01666e4c0597: Waiting [2020-12-15T02:49:46.040Z] aa168da1d23b: Waiting [2020-12-15T02:49:46.040Z] 46f8f816bc3b: Waiting [2020-12-15T02:49:46.040Z] 93b61091891f: Waiting [2020-12-15T02:49:46.040Z] 36b3adc4ff6f: Verifying Checksum [2020-12-15T02:49:46.040Z] 36b3adc4ff6f: Download complete [2020-12-15T02:49:46.040Z] 46f8f816bc3b: Verifying Checksum [2020-12-15T02:49:46.040Z] 46f8f816bc3b: Download complete [2020-12-15T02:49:46.304Z] 93b61091891f: Verifying Checksum [2020-12-15T02:49:46.304Z] 93b61091891f: Download complete [2020-12-15T02:49:46.304Z] df20fa9351a1: Download complete [2020-12-15T02:49:46.304Z] 93b9cdb0e59b: Verifying Checksum [2020-12-15T02:49:46.304Z] 93b9cdb0e59b: Download complete [2020-12-15T02:49:46.304Z] 5e14af77c1be: Download complete [2020-12-15T02:49:46.304Z] 01666e4c0597: Verifying Checksum [2020-12-15T02:49:46.304Z] 01666e4c0597: Download complete [2020-12-15T02:49:46.567Z] df20fa9351a1: Pull complete [2020-12-15T02:49:46.830Z] 36b3adc4ff6f: Pull complete [2020-12-15T02:49:47.097Z] 8ad3a11d3b57: Verifying Checksum [2020-12-15T02:49:47.097Z] 8ad3a11d3b57: Download complete [2020-12-15T02:49:47.672Z] 8ad3a11d3b57: Pull complete [2020-12-15T02:49:47.936Z] 46f8f816bc3b: Pull complete [2020-12-15T02:49:48.202Z] 93b61091891f: Pull complete [2020-12-15T02:49:49.154Z] aa168da1d23b: Verifying Checksum [2020-12-15T02:49:49.154Z] aa168da1d23b: Download complete [2020-12-15T02:49:49.417Z] 93b9cdb0e59b: Pull complete [2020-12-15T02:49:49.680Z] 5e14af77c1be: Pull complete [2020-12-15T02:49:49.680Z] 01666e4c0597: Pull complete [2020-12-15T02:49:57.873Z] aa168da1d23b: Pull complete [2020-12-15T02:49:57.873Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-15T02:49:57.873Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-15T02:49:57.873Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-15T02:49:58.062Z] prd-centos7-docker-4c-2g-16019 does not seem to be running inside a container [2020-12-15T02:49:58.114Z] $ 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-691/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-691 -v /w/workspace/dgexfoundry_device-sdk-go_PR-691:/w/workspace/dgexfoundry_device-sdk-go_PR-691:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-691@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-691@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:10003/edgex-lftools-log-publisher:alpine cat [2020-12-15T02:50:01.557Z] $ docker top c6514145573757b491e425873a0ab793d479c3dac7f03ea7bb2e2d155314c263 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-15T02:50:02.082Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-15T02:50:02.402Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-15T02:50:02.723Z] + ls /var/log/sa-host [2020-12-15T02:50:02.723Z] + sadf -c /var/log/sa-host/sa15 [2020-12-15T02:50:02.723Z] file_magic: OK [2020-12-15T02:50:02.723Z] HZ: Using current value: 100 [2020-12-15T02:50:02.723Z] file_header: OK [2020-12-15T02:50:02.723Z] 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-15T02:50:02.723Z] Statistics: [2020-12-15T02:50:02.723Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-15T02:50:02.723Z] File successfully converted to sysstat format version 12.2.1 [2020-12-15T02:50:02.723Z] + sadf -c /var/log/sa-host/sa23 [2020-12-15T02:50:02.723Z] file_magic: OK [2020-12-15T02:50:02.723Z] HZ: Using current value: 100 [2020-12-15T02:50:02.723Z] file_header: OK [2020-12-15T02:50:02.723Z] 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-15T02:50:02.723Z] Statistics: [2020-12-15T02:50:02.723Z] Hnuu...uuuununununu... [2020-12-15T02:50:02.723Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-15T02:50:03.491Z] provisioning config files... [2020-12-15T02:50:03.507Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-691@tmp/config3911799025887267728tmp [Pipeline] { [Pipeline] echo [2020-12-15T02:50:03.594Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T02:50:03.901Z] ---> create-netrc.sh [Pipeline] } [2020-12-15T02:50:03.912Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-15T02:50:04.012Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T02:50:04.308Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-15T02:50:04.320Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T02:50:04.614Z] ---> sudo-logs.sh [2020-12-15T02:50:04.615Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-15T02:50:04.626Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T02:50:04.923Z] ---> job-cost.sh [2020-12-15T02:50:04.923Z] lf-activate-venv: SKIPPING [2020-12-15T02:50:04.923Z] INFO: No Stack... [2020-12-15T02:50:05.869Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-15T02:50:06.131Z] INFO: Archiving Costs [Pipeline] echo [2020-12-15T02:50:06.144Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T02:50:06.445Z] ---> logs-deploy.sh [2020-12-15T02:50:06.445Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-691/2 [2020-12-15T02:50:06.445Z] INFO: archiving workspace using pattern(s): [2020-12-15T02:50:08.368Z] Archives upload complete. [2020-12-15T02:50:08.368Z] INFO: archiving logs to Nexus