Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 849d8f88f274c87283735f0e8ef818be655570f9+c21ff6277396b81a1001baea71274dd2dd19f737 (74dc0440f8cd1df6e7090bc4333821e3b6ebb49e) 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 48b313303ce5ba460cd13c4c603c4b280f104d53 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 48b313303ce5ba460cd13c4c603c4b280f104d53 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 48b313303ce5ba460cd13c4c603c4b280f104d53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 48b313303ce5ba460cd13c4c603c4b280f104d53 # timeout=10 Commit message: "Merge pull request #305 from ernestojeda/revert-go-mod-change" > 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-15033 in /w/workspace/dgexfoundry_device-sdk-go_PR-680 [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-680 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/680/head:refs/remotes/origin/PR-680 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit 849d8f88f274c87283735f0e8ef818be655570f9 Merge succeeded, producing 0b1bc66a1a7ce981c5240d1d926da71ab019b0b2 Checking out Revision 0b1bc66a1a7ce981c5240d1d926da71ab019b0b2 (PR-680) > git config core.sparsecheckout # timeout=10 > git checkout -f 849d8f88f274c87283735f0e8ef818be655570f9 # 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 c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0b1bc66a1a7ce981c5240d1d926da71ab019b0b2 # timeout=10 Commit message: "Merge commit 'c21ff6277396b81a1001baea71274dd2dd19f737' into HEAD" > git rev-list --no-walk 849d8f88f274c87283735f0e8ef818be655570f9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-08T02:42:32.448Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-08T02:42:32.694Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-08T02:42:32.798Z] ========================================================= [2020-12-08T02:42:32.798Z] EdgeX Global Pipelines Version Info [2020-12-08T02:42:32.798Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-08T02:42:34.211Z] ------------------- [2020-12-08T02:42:34.211Z] stable info: [2020-12-08T02:42:34.211Z] ------------------- [2020-12-08T02:42:34.211Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-08T02:42:34.211Z] Commit SHA: 48b313303ce5ba460cd13c4c603c4b280f104d53 [2020-12-08T02:42:34.211Z] Message: update stable to v1.0.171 [2020-12-08T02:42:35.155Z] ------------------- [2020-12-08T02:42:35.155Z] experimental info: [2020-12-08T02:42:35.155Z] ------------------- [2020-12-08T02:42:35.155Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-08T02:42:35.155Z] Commit SHA: 48b313303ce5ba460cd13c4c603c4b280f104d53 [2020-12-08T02:42:35.155Z] Message: update experimental to v1.0.171 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-08T02:42:35.569Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-12-08T02:42:35.657Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-12-08T02:42:35.799Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-08T02:42:35.888Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-08T02:42:35.978Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-08T02:42:36.100Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-08T02:42:36.192Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-08T02:42:36.300Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-08T02:42:36.506Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-12-08T02:42:36.596Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-08T02:42:36.686Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-08T02:42:36.776Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-12-08T02:42:36.866Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-08T02:42:36.961Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-08T02:42:37.068Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-08T02:42:37.167Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-08T02:42:37.262Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-08T02:42:37.352Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-08T02:42:37.460Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-08T02:42:37.549Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-08T02:42:37.696Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-08T02:42:37.786Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-08T02:42:37.881Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-08T02:42:37.988Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-08T02:42:38.078Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-08T02:42:38.161Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-08T02:42:38.243Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-680 [Pipeline] echo [2020-12-08T02:42:38.398Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-680 [Pipeline] echo [2020-12-08T02:42:38.495Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-680 [Pipeline] echo [2020-12-08T02:42:38.587Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0b1bc66a1a7ce981c5240d1d926da71ab019b0b2 [Pipeline] echo [2020-12-08T02:42:38.688Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0b1bc66 [Pipeline] echo [2020-12-08T02:42:38.773Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-08T02:42:38.962Z] provisioning config files... [2020-12-08T02:42:38.994Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-680@tmp/config7822319702281578983tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-08T02:42:39.342Z] ---> docker-login.sh [2020-12-08T02:42:39.342Z] nexus3.edgexfoundry.org:10001 [2020-12-08T02:42:39.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:42:39.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:42:39.603Z] Configure a credential helper to remove this warning. See [2020-12-08T02:42:39.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:42:39.603Z] [2020-12-08T02:42:39.603Z] Login Succeeded [2020-12-08T02:42:39.603Z] nexus3.edgexfoundry.org:10002 [2020-12-08T02:42:39.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:42:39.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:42:39.866Z] Configure a credential helper to remove this warning. See [2020-12-08T02:42:39.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:42:39.866Z] [2020-12-08T02:42:39.866Z] Login Succeeded [2020-12-08T02:42:39.866Z] nexus3.edgexfoundry.org:10003 [2020-12-08T02:42:39.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:42:39.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:42:39.866Z] Configure a credential helper to remove this warning. See [2020-12-08T02:42:39.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:42:39.866Z] [2020-12-08T02:42:39.866Z] Login Succeeded [2020-12-08T02:42:40.129Z] nexus3.edgexfoundry.org:10004 [2020-12-08T02:42:40.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:42:40.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:42:40.129Z] Configure a credential helper to remove this warning. See [2020-12-08T02:42:40.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:42:40.129Z] [2020-12-08T02:42:40.129Z] Login Succeeded [2020-12-08T02:42:40.129Z] docker.io [2020-12-08T02:42:40.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:42:40.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:42:40.698Z] Configure a credential helper to remove this warning. See [2020-12-08T02:42:40.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:42:40.698Z] [2020-12-08T02:42:40.698Z] Login Succeeded [2020-12-08T02:42:40.698Z] ---> docker-login.sh ends [Pipeline] } [2020-12-08T02:42:40.746Z] 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-08T02:42:41.560Z] + git log --format=format:%s -1 0b1bc66a1a7ce981c5240d1d926da71ab019b0b2 [Pipeline] echo [2020-12-08T02:42:41.621Z] GIT_COMMIT: 0b1bc66a1a7ce981c5240d1d926da71ab019b0b2, Commit Message: Merge commit 'c21ff6277396b81a1001baea71274dd2dd19f737' into HEAD [Pipeline] echo [2020-12-08T02:42:41.665Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-08T02:42:42.265Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-08T02:42:42.265Z] [2020-12-08T02:42:42.265Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-08T02:42:42.607Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-08T02:42:42.607Z] latest: Pulling from edgex-devops/git-semver [2020-12-08T02:42:42.607Z] 31603596830f: Pulling fs layer [2020-12-08T02:42:42.607Z] 2a8b12db71e7: Pulling fs layer [2020-12-08T02:42:42.607Z] 6ca5941a6612: Pulling fs layer [2020-12-08T02:42:42.607Z] ecc8261a40a4: Pulling fs layer [2020-12-08T02:42:42.607Z] ecc8261a40a4: Waiting [2020-12-08T02:42:42.607Z] 2a8b12db71e7: Verifying Checksum [2020-12-08T02:42:42.607Z] 2a8b12db71e7: Download complete [2020-12-08T02:42:42.607Z] 31603596830f: Verifying Checksum [2020-12-08T02:42:42.607Z] 31603596830f: Download complete [2020-12-08T02:42:42.872Z] ecc8261a40a4: Verifying Checksum [2020-12-08T02:42:42.872Z] ecc8261a40a4: Download complete [2020-12-08T02:42:42.872Z] 31603596830f: Pull complete [2020-12-08T02:42:43.134Z] 6ca5941a6612: Verifying Checksum [2020-12-08T02:42:43.134Z] 6ca5941a6612: Download complete [2020-12-08T02:42:43.134Z] 2a8b12db71e7: Pull complete [2020-12-08T02:42:43.712Z] 6ca5941a6612: Pull complete [2020-12-08T02:42:43.978Z] ecc8261a40a4: Pull complete [2020-12-08T02:42:43.978Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-08T02:42:43.978Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-08T02:42:43.978Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-08T02:42:44.074Z] prd-centos7-docker-4c-2g-15033 does not seem to be running inside a container [2020-12-08T02:42:44.120Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-680 -v /w/workspace/dgexfoundry_device-sdk-go_PR-680:/w/workspace/dgexfoundry_device-sdk-go_PR-680:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-680@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-680@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-08T02:42:46.060Z] $ docker top 8bc78f2cc8522f7c95b6726e02171fa720c56d4e70ae01a8e1d9ccdb337c2e68 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-08T02:42:46.330Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-08T02:42:46.330Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-08T02:42:46.533Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-08T02:42:46.539Z] $ docker exec 8bc78f2cc8522f7c95b6726e02171fa720c56d4e70ae01a8e1d9ccdb337c2e68 ssh-agent [2020-12-08T02:42:46.692Z] SSH_AUTH_SOCK=/tmp/ssh-9poZ7kQq6kBc/agent.12 [2020-12-08T02:42:46.692Z] SSH_AGENT_PID=18 [2020-12-08T02:42:46.702Z] Running ssh-add (command line suppressed) [2020-12-08T02:42:46.827Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-680@tmp/private_key_5487981342648893815.key (/w/workspace/dgexfoundry_device-sdk-go_PR-680@tmp/private_key_5487981342648893815.key) [2020-12-08T02:42:46.878Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-08T02:42:47.209Z] + git tag --points-at HEAD [Pipeline] } [2020-12-08T02:42:47.232Z] $ docker exec --env ******** --env ******** 8bc78f2cc8522f7c95b6726e02171fa720c56d4e70ae01a8e1d9ccdb337c2e68 ssh-agent -k [2020-12-08T02:42:47.346Z] unset SSH_AUTH_SOCK; [2020-12-08T02:42:47.346Z] unset SSH_AGENT_PID; [2020-12-08T02:42:47.346Z] echo Agent pid 18 killed; [2020-12-08T02:42:47.391Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-08T02:42:47.553Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-08T02:42:47.553Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-08T02:42:47.716Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-08T02:42:47.721Z] $ docker exec 8bc78f2cc8522f7c95b6726e02171fa720c56d4e70ae01a8e1d9ccdb337c2e68 ssh-agent [2020-12-08T02:42:47.882Z] SSH_AUTH_SOCK=/tmp/ssh-ZsaEiWK1lPXs/agent.47 [2020-12-08T02:42:47.882Z] SSH_AGENT_PID=53 [2020-12-08T02:42:47.888Z] Running ssh-add (command line suppressed) [2020-12-08T02:42:48.005Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-680@tmp/private_key_506728179721541103.key (/w/workspace/dgexfoundry_device-sdk-go_PR-680@tmp/private_key_506728179721541103.key) [2020-12-08T02:42:48.053Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-08T02:42:48.429Z] + git semver init [2020-12-08T02:42:48.429Z] # -> Open(): unable to determine branch for HEAD [2020-12-08T02:42:48.429Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-680/.git [2020-12-08T02:42:48.429Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-680 [2020-12-08T02:42:48.429Z] # $SEMVER_REMOTE_NAME = origin [2020-12-08T02:42:48.429Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-08T02:42:48.429Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-08T02:42:48.429Z] # $SEMVER_BRANCH = PR-680 [2020-12-08T02:42:48.429Z] # $SEMVER_TEMP = /tmp/semver-887580490 [2020-12-08T02:42:48.429Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-12-08T02:42:49.001Z] # '/tmp/semver-887580490' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-680/.semver' [2020-12-08T02:42:49.001Z] # -> Force: false [2020-12-08T02:42:49.001Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-680/.semver [Pipeline] } [2020-12-08T02:42:49.014Z] $ docker exec --env ******** --env ******** 8bc78f2cc8522f7c95b6726e02171fa720c56d4e70ae01a8e1d9ccdb337c2e68 ssh-agent -k [2020-12-08T02:42:49.124Z] unset SSH_AUTH_SOCK; [2020-12-08T02:42:49.124Z] unset SSH_AGENT_PID; [2020-12-08T02:42:49.125Z] echo Agent pid 53 killed; [2020-12-08T02:42:49.171Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-08T02:42:49.619Z] + git semver [Pipeline] } [2020-12-08T02:42:49.636Z] $ docker stop --time=1 8bc78f2cc8522f7c95b6726e02171fa720c56d4e70ae01a8e1d9ccdb337c2e68 [2020-12-08T02:42:50.980Z] $ docker rm -f 8bc78f2cc8522f7c95b6726e02171fa720c56d4e70ae01a8e1d9ccdb337c2e68 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-08T02:42:51.460Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-08T02:42:51.820Z] Stashed 1 file(s) [Pipeline] echo [2020-12-08T02:42:51.823Z] [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-08T02:43:07.334Z] Still waiting to schedule task [2020-12-08T02:43:07.334Z] ‘prd-centos7-builder-2c-1g-14365’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15035’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-12-08T02:43:07.337Z] Still waiting to schedule task [2020-12-08T02:43:07.337Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ is offline [2020-12-08T02:44:15.710Z] Running on prd-centos7-docker-4c-2g-15039 in /w/workspace/dgexfoundry_device-sdk-go_PR-680 [Pipeline] { [Pipeline] ws [2020-12-08T02:44:15.764Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-12-08T02:44:18.337Z] using credential edgex-jenkins-ssh [2020-12-08T02:44:18.411Z] Cloning the remote Git repository [2020-12-08T02:44:18.442Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-08T02:44:18.512Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-12-08T02:44:18.576Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-08T02:44:18.577Z] > git --version # timeout=10 [2020-12-08T02:44:18.585Z] > git --version # 'git version 2.24.3' [2020-12-08T02:44:18.585Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-08T02:44:18.618Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-08T02:44:19.271Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-08T02:44:19.284Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-08T02:44:19.298Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-08T02:44:19.311Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-08T02:44:19.311Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-08T02:44:19.315Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/680/head:refs/remotes/origin/PR-680 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-08T02:44:19.685Z] Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit 849d8f88f274c87283735f0e8ef818be655570f9 [2020-12-08T02:44:19.865Z] Merge succeeded, producing 3c99a4bf822b60afb73caba2f3334ab262d6d9f8 [2020-12-08T02:44:19.866Z] Checking out Revision 3c99a4bf822b60afb73caba2f3334ab262d6d9f8 (PR-680) [2020-12-08T02:44:19.695Z] > git config core.sparsecheckout # timeout=10 [2020-12-08T02:44:19.700Z] > git checkout -f 849d8f88f274c87283735f0e8ef818be655570f9 # timeout=10 [2020-12-08T02:44:19.776Z] > git remote # timeout=10 [2020-12-08T02:44:19.789Z] > git config --get remote.origin.url # timeout=10 [2020-12-08T02:44:19.819Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-08T02:44:19.824Z] > git merge c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 [2020-12-08T02:44:19.860Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-08T02:44:19.871Z] > git config core.sparsecheckout # timeout=10 [2020-12-08T02:44:19.876Z] > git checkout -f 3c99a4bf822b60afb73caba2f3334ab262d6d9f8 # timeout=10 [2020-12-08T02:44:23.515Z] Commit message: "Merge commit 'c21ff6277396b81a1001baea71274dd2dd19f737' into HEAD" [2020-12-08T02:44:23.520Z] > git rev-list --no-walk 849d8f88f274c87283735f0e8ef818be655570f9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-08T02:44:24.788Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-08T02:44:25.117Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-08T02:44:25.416Z] + sudo service docker restart [2020-12-08T02:44:25.416Z] + true [2020-12-08T02:44:25.416Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-08T02:44:26.482Z] provisioning config files... [2020-12-08T02:44:26.512Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config772694156207185323tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-08T02:44:26.915Z] ---> docker-login.sh [2020-12-08T02:44:26.915Z] nexus3.edgexfoundry.org:10001 [2020-12-08T02:44:27.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:44:27.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:44:27.178Z] Configure a credential helper to remove this warning. See [2020-12-08T02:44:27.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:44:27.178Z] [2020-12-08T02:44:27.178Z] Login Succeeded [2020-12-08T02:44:27.178Z] nexus3.edgexfoundry.org:10002 [2020-12-08T02:44:27.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:44:27.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:44:27.440Z] Configure a credential helper to remove this warning. See [2020-12-08T02:44:27.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:44:27.440Z] [2020-12-08T02:44:27.440Z] Login Succeeded [2020-12-08T02:44:27.440Z] nexus3.edgexfoundry.org:10003 [2020-12-08T02:44:27.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:44:27.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:44:27.705Z] Configure a credential helper to remove this warning. See [2020-12-08T02:44:27.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:44:27.705Z] [2020-12-08T02:44:27.705Z] Login Succeeded [2020-12-08T02:44:27.705Z] nexus3.edgexfoundry.org:10004 [2020-12-08T02:44:27.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:44:27.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:44:27.705Z] Configure a credential helper to remove this warning. See [2020-12-08T02:44:27.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:44:27.705Z] [2020-12-08T02:44:27.705Z] Login Succeeded [2020-12-08T02:44:27.968Z] docker.io [2020-12-08T02:44:27.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:44:28.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:44:28.231Z] Configure a credential helper to remove this warning. See [2020-12-08T02:44:28.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:44:28.231Z] [2020-12-08T02:44:28.231Z] Login Succeeded [2020-12-08T02:44:28.231Z] ---> docker-login.sh ends [Pipeline] } [2020-12-08T02:44:28.243Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-08T02:44:28.625Z] ========================================================= [2020-12-08T02:44:28.625Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-08T02:44:28.626Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-08T02:44:28.993Z] + 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-08T02:44:28.993Z] Sending build context to Docker daemon 2.375MB [2020-12-08T02:44:28.993Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-08T02:44:28.993Z] Step 2/8 : FROM ${BASE} [2020-12-08T02:44:29.257Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-08T02:44:29.257Z] 188c0c94c7c5: Pulling fs layer [2020-12-08T02:44:29.257Z] 0ef7d3d256c8: Pulling fs layer [2020-12-08T02:44:29.257Z] de9db76c5a1d: Pulling fs layer [2020-12-08T02:44:29.257Z] bca2f99d35d6: Pulling fs layer [2020-12-08T02:44:29.257Z] 93359f2a8cfa: Pulling fs layer [2020-12-08T02:44:29.257Z] 7c6f9722023f: Pulling fs layer [2020-12-08T02:44:29.257Z] a35cf1a2eb13: Pulling fs layer [2020-12-08T02:44:29.257Z] 93359f2a8cfa: Waiting [2020-12-08T02:44:29.257Z] 7c6f9722023f: Waiting [2020-12-08T02:44:29.257Z] a35cf1a2eb13: Waiting [2020-12-08T02:44:29.257Z] bca2f99d35d6: Waiting [2020-12-08T02:44:29.257Z] de9db76c5a1d: Verifying Checksum [2020-12-08T02:44:29.257Z] de9db76c5a1d: Download complete [2020-12-08T02:44:29.257Z] 0ef7d3d256c8: Verifying Checksum [2020-12-08T02:44:29.257Z] 0ef7d3d256c8: Download complete [2020-12-08T02:44:29.257Z] 93359f2a8cfa: Download complete [2020-12-08T02:44:29.257Z] 188c0c94c7c5: Verifying Checksum [2020-12-08T02:44:29.257Z] 188c0c94c7c5: Download complete [2020-12-08T02:44:29.257Z] 7c6f9722023f: Verifying Checksum [2020-12-08T02:44:29.257Z] 7c6f9722023f: Download complete [2020-12-08T02:44:29.523Z] 188c0c94c7c5: Pull complete [2020-12-08T02:44:29.790Z] 0ef7d3d256c8: Pull complete [2020-12-08T02:44:29.790Z] de9db76c5a1d: Pull complete [2020-12-08T02:44:31.189Z] a35cf1a2eb13: Verifying Checksum [2020-12-08T02:44:31.189Z] a35cf1a2eb13: Download complete [2020-12-08T02:44:31.766Z] bca2f99d35d6: Verifying Checksum [2020-12-08T02:44:31.766Z] bca2f99d35d6: Download complete [2020-12-08T02:44:37.107Z] bca2f99d35d6: Pull complete [2020-12-08T02:44:37.107Z] 93359f2a8cfa: Pull complete [2020-12-08T02:44:37.107Z] 7c6f9722023f: Pull complete [2020-12-08T02:44:42.462Z] a35cf1a2eb13: Pull complete [2020-12-08T02:44:42.462Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-08T02:44:42.462Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-08T02:44:42.462Z] ---> a62c8e92a672 [2020-12-08T02:44:42.462Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-08T02:44:42.462Z] ---> Running in c157869623be [2020-12-08T02:44:42.462Z] Removing intermediate container c157869623be [2020-12-08T02:44:42.462Z] ---> 78edcbbd2d7d [2020-12-08T02:44:42.462Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-08T02:44:42.462Z] ---> Running in 4e8c6baa51f3 [2020-12-08T02:44:43.038Z] Removing intermediate container 4e8c6baa51f3 [2020-12-08T02:44:43.038Z] ---> 4d536dbdddd5 [2020-12-08T02:44:43.038Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-08T02:44:43.038Z] ---> Running in 97d25036cc54 [2020-12-08T02:44:43.991Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-08T02:44:45.915Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-08T02:44:47.312Z] OK: 166 MiB in 39 packages [2020-12-08T02:44:47.574Z] Removing intermediate container 97d25036cc54 [2020-12-08T02:44:47.574Z] ---> da5c320d9556 [2020-12-08T02:44:47.574Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-08T02:44:47.837Z] ---> Running in 788b3bc4498e [2020-12-08T02:44:47.837Z] Removing intermediate container 788b3bc4498e [2020-12-08T02:44:47.837Z] ---> dc03cdcbf274 [2020-12-08T02:44:47.837Z] Step 7/8 : COPY . . [2020-12-08T02:44:49.239Z] ---> 672e9c368bec [2020-12-08T02:44:49.239Z] Step 8/8 : RUN go mod download [2020-12-08T02:44:49.239Z] ---> Running in 69516e7187df [2020-12-08T02:45:07.419Z] Removing intermediate container 69516e7187df [2020-12-08T02:45:07.419Z] ---> daa943e7d1c8 [2020-12-08T02:45:07.419Z] Successfully built daa943e7d1c8 [2020-12-08T02:45:07.419Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-08T02:45:07.739Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-08T02:45:07.739Z] . [Pipeline] withDockerContainer [2020-12-08T02:45:07.850Z] prd-centos7-docker-4c-2g-15039 does not seem to be running inside a container [2020-12-08T02:45:07.902Z] $ 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 ******** ci-base-image-x86_64 cat [2020-12-08T02:45:08.754Z] $ docker top 70f73b58588e50fc6676ac70ec46da822dd2b0dcd0e3d0a954a18ea0b809777f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-08T02:45:09.314Z] + go version [2020-12-08T02:45:09.314Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-08T02:45:09.335Z] $ docker stop --time=1 70f73b58588e50fc6676ac70ec46da822dd2b0dcd0e3d0a954a18ea0b809777f [2020-12-08T02:45:10.677Z] $ docker rm -f 70f73b58588e50fc6676ac70ec46da822dd2b0dcd0e3d0a954a18ea0b809777f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-08T02:45:11.637Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-08T02:45:11.637Z] . [Pipeline] withDockerContainer [2020-12-08T02:45:11.741Z] prd-centos7-docker-4c-2g-15039 does not seem to be running inside a container [2020-12-08T02:45:11.793Z] $ 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 ******** ci-base-image-x86_64 cat [2020-12-08T02:45:12.330Z] $ docker top 1f40493b6f5d26e6534c9ad518b80ac145c9b8064866c20ba1558b5f9430d427 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-08T02:45:12.802Z] + make test [2020-12-08T02:45:12.802Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-08T02:45:21.003Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-08T02:45:31.109Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-08T02:45:31.109Z] internal/v2/application/command.go:713:31: unknown field 'Name' in struct literal of type dtos.BaseReading [2020-12-08T02:45:31.109Z] internal/v2/application/command.go:719:10: reading.FloatEncoding undefined (type *dtos.BaseReading has no field or method FloatEncoding) [2020-12-08T02:45:34.487Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.068s coverage: 20.6% of statements [2020-12-08T02:45:36.440Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.460s coverage: 97.1% of statements [2020-12-08T02:46:01.716Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15042 in /w/workspace/dgexfoundry_device-sdk-go_PR-680 [Pipeline] { [Pipeline] ws [2020-12-08T02:46:01.773Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-12-08T02:46:06.672Z] using credential edgex-jenkins-ssh [2020-12-08T02:46:06.775Z] Cloning the remote Git repository [2020-12-08T02:46:06.833Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-08T02:46:06.934Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-12-08T02:46:07.008Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-08T02:46:07.009Z] > git --version # timeout=10 [2020-12-08T02:46:07.028Z] > git --version # 'git version 2.17.1' [2020-12-08T02:46:07.030Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-08T02:46:07.115Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-08T02:46:08.627Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.066s coverage: 9.4% of statements [2020-12-08T02:46:08.628Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.048s coverage: 21.9% of statements [2020-12-08T02:46:08.628Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-12-08T02:46:08.628Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.301s coverage: 68.9% of statements [2020-12-08T02:46:08.628Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.069s coverage: 52.6% of statements [2020-12-08T02:46:08.628Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.295s coverage: 68.9% of statements [2020-12-08T02:46:08.628Z] FAIL github.com/edgexfoundry/device-sdk-go/pkg/service [build failed] [2020-12-08T02:46:08.628Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2020-12-08T02:46:08.659Z] $ docker stop --time=1 1f40493b6f5d26e6534c9ad518b80ac145c9b8064866c20ba1558b5f9430d427 [2020-12-08T02:46:09.306Z] Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit 849d8f88f274c87283735f0e8ef818be655570f9 [2020-12-08T02:46:08.506Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-08T02:46:08.526Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-08T02:46:08.558Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-08T02:46:08.702Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-08T02:46:08.705Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-08T02:46:08.733Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/680/head:refs/remotes/origin/PR-680 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-08T02:46:09.330Z] > git config core.sparsecheckout # timeout=10 [2020-12-08T02:46:09.350Z] > git checkout -f 849d8f88f274c87283735f0e8ef818be655570f9 # timeout=10 [2020-12-08T02:46:09.667Z] Merge succeeded, producing dd5bb0e45bbe874978689562bc102d0bb43d682b [2020-12-08T02:46:09.667Z] Checking out Revision dd5bb0e45bbe874978689562bc102d0bb43d682b (PR-680) [2020-12-08T02:46:10.234Z] $ docker rm -f 1f40493b6f5d26e6534c9ad518b80ac145c9b8064866c20ba1558b5f9430d427 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2020-12-08T02:46:09.476Z] > git remote # timeout=10 [2020-12-08T02:46:09.505Z] > git config --get remote.origin.url # timeout=10 [2020-12-08T02:46:09.529Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-08T02:46:09.540Z] > git merge c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 [2020-12-08T02:46:09.639Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-08T02:46:09.680Z] > git config core.sparsecheckout # timeout=10 [2020-12-08T02:46:09.698Z] > git checkout -f dd5bb0e45bbe874978689562bc102d0bb43d682b # timeout=10 [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-08T02:46:12.324Z] Failed in branch amd64 [2020-12-08T02:46:14.145Z] Commit message: "Merge commit 'c21ff6277396b81a1001baea71274dd2dd19f737' into HEAD" [2020-12-08T02:46:14.157Z] > git rev-list --no-walk 849d8f88f274c87283735f0e8ef818be655570f9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-08T02:46:15.725Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-08T02:46:16.216Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-08T02:46:16.577Z] + true [2020-12-08T02:46:16.577Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-08T02:46:19.290Z] provisioning config files... [2020-12-08T02:46:19.337Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config3849279559489224337tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-08T02:46:19.761Z] ---> docker-login.sh [2020-12-08T02:46:19.761Z] nexus3.edgexfoundry.org:10001 [2020-12-08T02:46:20.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:46:21.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:46:21.023Z] Configure a credential helper to remove this warning. See [2020-12-08T02:46:21.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:46:21.023Z] [2020-12-08T02:46:21.023Z] Login Succeeded [2020-12-08T02:46:21.023Z] nexus3.edgexfoundry.org:10002 [2020-12-08T02:46:21.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:46:21.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:46:21.575Z] Configure a credential helper to remove this warning. See [2020-12-08T02:46:21.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:46:21.575Z] [2020-12-08T02:46:21.575Z] Login Succeeded [2020-12-08T02:46:21.575Z] nexus3.edgexfoundry.org:10003 [2020-12-08T02:46:22.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:46:22.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:46:22.180Z] Configure a credential helper to remove this warning. See [2020-12-08T02:46:22.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:46:22.180Z] [2020-12-08T02:46:22.180Z] Login Succeeded [2020-12-08T02:46:22.180Z] nexus3.edgexfoundry.org:10004 [2020-12-08T02:46:22.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:46:22.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:46:22.748Z] Configure a credential helper to remove this warning. See [2020-12-08T02:46:22.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:46:22.748Z] [2020-12-08T02:46:22.748Z] Login Succeeded [2020-12-08T02:46:22.748Z] docker.io [2020-12-08T02:46:23.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-08T02:46:23.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-08T02:46:23.628Z] Configure a credential helper to remove this warning. See [2020-12-08T02:46:23.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-08T02:46:23.628Z] [2020-12-08T02:46:23.628Z] Login Succeeded [2020-12-08T02:46:23.628Z] ---> docker-login.sh ends [Pipeline] } [2020-12-08T02:46:23.646Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-08T02:46:24.185Z] ========================================================= [2020-12-08T02:46:24.185Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-08T02:46:24.185Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-08T02:46:24.575Z] + 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-08T02:46:25.174Z] Sending build context to Docker daemon 2.374MB [2020-12-08T02:46:25.174Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-08T02:46:25.174Z] Step 2/8 : FROM ${BASE} [2020-12-08T02:46:25.174Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-08T02:46:25.174Z] 5f621e34cdf4: Pulling fs layer [2020-12-08T02:46:25.174Z] a4357932f1b6: Pulling fs layer [2020-12-08T02:46:25.174Z] 18c013af1878: Pulling fs layer [2020-12-08T02:46:25.174Z] 00ac8860ef70: Pulling fs layer [2020-12-08T02:46:25.174Z] 63d7cb157983: Pulling fs layer [2020-12-08T02:46:25.174Z] b116817d02f9: Pulling fs layer [2020-12-08T02:46:25.174Z] 745a02a5169b: Pulling fs layer [2020-12-08T02:46:25.174Z] 00ac8860ef70: Waiting [2020-12-08T02:46:25.174Z] 63d7cb157983: Waiting [2020-12-08T02:46:25.174Z] b116817d02f9: Waiting [2020-12-08T02:46:25.174Z] 745a02a5169b: Waiting [2020-12-08T02:46:25.174Z] 18c013af1878: Verifying Checksum [2020-12-08T02:46:25.174Z] 18c013af1878: Download complete [2020-12-08T02:46:25.174Z] a4357932f1b6: Download complete [2020-12-08T02:46:25.174Z] 63d7cb157983: Verifying Checksum [2020-12-08T02:46:25.174Z] b116817d02f9: Download complete [2020-12-08T02:46:25.453Z] 5f621e34cdf4: Verifying Checksum [2020-12-08T02:46:25.453Z] 5f621e34cdf4: Download complete [2020-12-08T02:46:26.060Z] 5f621e34cdf4: Pull complete [2020-12-08T02:46:26.699Z] a4357932f1b6: Pull complete [2020-12-08T02:46:27.302Z] 18c013af1878: Pull complete [2020-12-08T02:46:27.903Z] 745a02a5169b: Verifying Checksum [2020-12-08T02:46:27.903Z] 745a02a5169b: Download complete [2020-12-08T02:46:29.350Z] 00ac8860ef70: Verifying Checksum [2020-12-08T02:46:29.350Z] 00ac8860ef70: Download complete [2020-12-08T02:46:40.245Z] 00ac8860ef70: Pull complete [2020-12-08T02:46:40.245Z] 63d7cb157983: Pull complete [2020-12-08T02:46:40.245Z] b116817d02f9: Pull complete [2020-12-08T02:46:43.662Z] 745a02a5169b: Pull complete [2020-12-08T02:46:43.662Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-08T02:46:43.662Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-08T02:46:43.662Z] ---> b7e6874047d6 [2020-12-08T02:46:43.662Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-08T02:46:47.097Z] ---> Running in 981455a126dd [2020-12-08T02:46:47.375Z] Removing intermediate container 981455a126dd [2020-12-08T02:46:47.375Z] ---> 49c6427f64d9 [2020-12-08T02:46:47.375Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-08T02:46:47.375Z] ---> Running in 9f2786627265 [2020-12-08T02:46:50.001Z] Removing intermediate container 9f2786627265 [2020-12-08T02:46:50.001Z] ---> a1b8b2d91756 [2020-12-08T02:46:50.001Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-08T02:46:50.001Z] ---> Running in 4763c9c46afa [2020-12-08T02:46:50.983Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-08T02:46:52.409Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-08T02:46:53.380Z] OK: 142 MiB in 39 packages [2020-12-08T02:46:54.372Z] Removing intermediate container 4763c9c46afa [2020-12-08T02:46:54.372Z] ---> 75c62f489e13 [2020-12-08T02:46:54.372Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-08T02:46:54.971Z] ---> Running in 496dc272c130 [2020-12-08T02:46:55.246Z] Removing intermediate container 496dc272c130 [2020-12-08T02:46:55.246Z] ---> aeb5b2110e6a [2020-12-08T02:46:55.246Z] Step 7/8 : COPY . . [2020-12-08T02:46:56.682Z] ---> 055e12d67fdd [2020-12-08T02:46:56.682Z] Step 8/8 : RUN go mod download [2020-12-08T02:46:56.682Z] ---> Running in ee0bdd6aee0f [2020-12-08T02:47:18.881Z] Removing intermediate container ee0bdd6aee0f [2020-12-08T02:47:18.881Z] ---> c836f56da80c [2020-12-08T02:47:18.881Z] Successfully built c836f56da80c [2020-12-08T02:47:18.881Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-08T02:47:19.253Z] + docker inspect -f . ci-base-image-arm64 [2020-12-08T02:47:19.253Z] . [Pipeline] withDockerContainer [2020-12-08T02:47:19.505Z] prd-ubuntu18.04-docker-arm64-4c-16g-15042 does not seem to be running inside a container [2020-12-08T02:47:19.598Z] $ 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-08T02:47:21.131Z] $ docker top 15033cbe7a49a46ca765a683927452a107cc150dead4fa94d77a094c8cdfc1a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-08T02:47:22.221Z] + go version [2020-12-08T02:47:22.221Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-08T02:47:22.267Z] $ docker stop --time=1 15033cbe7a49a46ca765a683927452a107cc150dead4fa94d77a094c8cdfc1a6 [2020-12-08T02:47:24.278Z] $ docker rm -f 15033cbe7a49a46ca765a683927452a107cc150dead4fa94d77a094c8cdfc1a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-08T02:47:25.345Z] + docker inspect -f . ci-base-image-arm64 [2020-12-08T02:47:25.345Z] . [Pipeline] withDockerContainer [2020-12-08T02:47:25.624Z] prd-ubuntu18.04-docker-arm64-4c-16g-15042 does not seem to be running inside a container [2020-12-08T02:47:25.712Z] $ 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-08T02:47:27.305Z] $ docker top 2d0efb51ebd7ccf75da4d0105bdad06635f02081e2be0c57da4167e0d10e2281 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-08T02:47:28.285Z] + make test [2020-12-08T02:47:28.285Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-08T02:47:50.466Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-08T02:48:29.511Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-08T02:48:29.511Z] internal/v2/application/command.go:713:31: unknown field 'Name' in struct literal of type dtos.BaseReading [2020-12-08T02:48:29.511Z] internal/v2/application/command.go:719:10: reading.FloatEncoding undefined (type *dtos.BaseReading has no field or method FloatEncoding) [2020-12-08T02:48:29.511Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.120s coverage: 20.6% of statements [2020-12-08T02:48:32.915Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.168s coverage: 97.1% of statements [2020-12-08T02:48:59.716Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.184s coverage: 9.4% of statements [2020-12-08T02:48:59.716Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.123s coverage: 21.9% of statements [2020-12-08T02:48:59.716Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-12-08T02:48:59.716Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.763s coverage: 68.9% of statements [2020-12-08T02:48:59.716Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.176s coverage: 52.6% of statements [2020-12-08T02:48:59.716Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.910s coverage: 68.9% of statements [2020-12-08T02:48:59.716Z] FAIL github.com/edgexfoundry/device-sdk-go/pkg/service [build failed] [2020-12-08T02:48:59.987Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2020-12-08T02:49:00.019Z] $ docker stop --time=1 2d0efb51ebd7ccf75da4d0105bdad06635f02081e2be0c57da4167e0d10e2281 [2020-12-08T02:49:02.069Z] $ docker rm -f 2d0efb51ebd7ccf75da4d0105bdad06635f02081e2be0c57da4167e0d10e2281 [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-08T02:49:04.495Z] 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-08T02:49:07.435Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-08T02:49:07.775Z] ---> package-listing.sh [2020-12-08T02:49:07.776Z] ++ facter osfamily [2020-12-08T02:49:07.776Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-08T02:49:07.776Z] + OS_FAMILY=redhat [2020-12-08T02:49:07.776Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-680 [2020-12-08T02:49:07.776Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-08T02:49:07.776Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-08T02:49:07.776Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-08T02:49:07.776Z] + PACKAGES=/tmp/packages_start.txt [2020-12-08T02:49:07.776Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-680 ']' [2020-12-08T02:49:07.776Z] + PACKAGES=/tmp/packages_end.txt [2020-12-08T02:49:07.776Z] + case "${OS_FAMILY}" in [2020-12-08T02:49:07.776Z] + rpm -qa [2020-12-08T02:49:07.776Z] + sort [2020-12-08T02:49:13.076Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-08T02:49:13.076Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-08T02:49:13.076Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-08T02:49:13.076Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-680 ']' [2020-12-08T02:49:13.076Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-680/archives/ [2020-12-08T02:49:13.076Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-680/archives/ [Pipeline] echo [2020-12-08T02:49:13.089Z] 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-680/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-08T02:49:13.377Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-08T02:49:13.678Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-08T02:49:13.678Z] [2020-12-08T02:49:13.678Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-08T02:49:14.021Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-08T02:49:14.593Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-08T02:49:14.593Z] df20fa9351a1: Pulling fs layer [2020-12-08T02:49:14.593Z] 36b3adc4ff6f: Pulling fs layer [2020-12-08T02:49:14.593Z] 8ad3a11d3b57: Pulling fs layer [2020-12-08T02:49:14.593Z] 46f8f816bc3b: Pulling fs layer [2020-12-08T02:49:14.593Z] 93b61091891f: Pulling fs layer [2020-12-08T02:49:14.593Z] 93b9cdb0e59b: Pulling fs layer [2020-12-08T02:49:14.593Z] 5e14af77c1be: Pulling fs layer [2020-12-08T02:49:14.593Z] 01666e4c0597: Pulling fs layer [2020-12-08T02:49:14.593Z] aa168da1d23b: Pulling fs layer [2020-12-08T02:49:14.593Z] 93b9cdb0e59b: Waiting [2020-12-08T02:49:14.593Z] 5e14af77c1be: Waiting [2020-12-08T02:49:14.593Z] 01666e4c0597: Waiting [2020-12-08T02:49:14.593Z] aa168da1d23b: Waiting [2020-12-08T02:49:14.593Z] 46f8f816bc3b: Waiting [2020-12-08T02:49:14.593Z] 93b61091891f: Waiting [2020-12-08T02:49:14.593Z] 36b3adc4ff6f: Verifying Checksum [2020-12-08T02:49:14.593Z] 36b3adc4ff6f: Download complete [2020-12-08T02:49:14.860Z] 46f8f816bc3b: Verifying Checksum [2020-12-08T02:49:14.860Z] 46f8f816bc3b: Download complete [2020-12-08T02:49:14.860Z] df20fa9351a1: Download complete [2020-12-08T02:49:14.860Z] 93b9cdb0e59b: Verifying Checksum [2020-12-08T02:49:14.860Z] 93b9cdb0e59b: Download complete [2020-12-08T02:49:14.860Z] 93b61091891f: Download complete [2020-12-08T02:49:14.860Z] 5e14af77c1be: Verifying Checksum [2020-12-08T02:49:14.860Z] 5e14af77c1be: Download complete [2020-12-08T02:49:14.860Z] 01666e4c0597: Verifying Checksum [2020-12-08T02:49:14.860Z] 01666e4c0597: Download complete [2020-12-08T02:49:15.121Z] df20fa9351a1: Pull complete [2020-12-08T02:49:15.121Z] 36b3adc4ff6f: Pull complete [2020-12-08T02:49:15.700Z] 8ad3a11d3b57: Verifying Checksum [2020-12-08T02:49:15.701Z] 8ad3a11d3b57: Download complete [2020-12-08T02:49:16.277Z] 8ad3a11d3b57: Pull complete [2020-12-08T02:49:16.543Z] 46f8f816bc3b: Pull complete [2020-12-08T02:49:16.804Z] 93b61091891f: Pull complete [2020-12-08T02:49:16.804Z] 93b9cdb0e59b: Pull complete [2020-12-08T02:49:17.065Z] 5e14af77c1be: Pull complete [2020-12-08T02:49:17.065Z] 01666e4c0597: Pull complete [2020-12-08T02:49:18.461Z] aa168da1d23b: Verifying Checksum [2020-12-08T02:49:18.461Z] aa168da1d23b: Download complete [2020-12-08T02:49:23.783Z] aa168da1d23b: Pull complete [2020-12-08T02:49:23.783Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-08T02:49:23.783Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-08T02:49:23.783Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-08T02:49:23.918Z] prd-centos7-docker-4c-2g-15033 does not seem to be running inside a container [2020-12-08T02:49:23.963Z] $ 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-680/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-680 -v /w/workspace/dgexfoundry_device-sdk-go_PR-680:/w/workspace/dgexfoundry_device-sdk-go_PR-680:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-680@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-680@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-08T02:49:31.436Z] $ docker top f209616a1cf3ac89a482a4a4d5c5e005a4f4b837a78cfd0056e78b37240027ff -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-08T02:49:31.920Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-08T02:49:32.217Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-08T02:49:32.517Z] + ls /var/log/sa-host [2020-12-08T02:49:32.517Z] + sadf -c /var/log/sa-host/sa08 [2020-12-08T02:49:32.517Z] file_magic: OK [2020-12-08T02:49:32.517Z] HZ: Using current value: 100 [2020-12-08T02:49:32.517Z] file_header: OK [2020-12-08T02:49:32.517Z] 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-08T02:49:32.517Z] Statistics: [2020-12-08T02:49:32.517Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-08T02:49:32.517Z] File successfully converted to sysstat format version 12.2.1 [2020-12-08T02:49:32.517Z] + sadf -c /var/log/sa-host/sa23 [2020-12-08T02:49:32.517Z] file_magic: OK [2020-12-08T02:49:32.517Z] HZ: Using current value: 100 [2020-12-08T02:49:32.517Z] file_header: OK [2020-12-08T02:49:32.517Z] 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-08T02:49:32.517Z] Statistics: [2020-12-08T02:49:32.517Z] Hnuu...uuuununununu... [2020-12-08T02:49:32.517Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-08T02:49:32.722Z] provisioning config files... [2020-12-08T02:49:32.734Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-680@tmp/config1982037399792643363tmp [Pipeline] { [Pipeline] echo [2020-12-08T02:49:32.829Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-08T02:49:33.126Z] ---> create-netrc.sh [Pipeline] } [2020-12-08T02:49:33.135Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-08T02:49:33.241Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-08T02:49:33.533Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-08T02:49:33.544Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-08T02:49:33.840Z] ---> sudo-logs.sh [2020-12-08T02:49:33.840Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-08T02:49:33.856Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-08T02:49:34.148Z] ---> job-cost.sh [2020-12-08T02:49:34.148Z] lf-activate-venv: SKIPPING [2020-12-08T02:49:34.148Z] INFO: No Stack... [2020-12-08T02:49:34.719Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-08T02:49:35.292Z] INFO: Archiving Costs [Pipeline] echo [2020-12-08T02:49:35.307Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-08T02:49:35.602Z] ---> logs-deploy.sh [2020-12-08T02:49:35.602Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-680/2 [2020-12-08T02:49:35.602Z] INFO: archiving workspace using pattern(s): [2020-12-08T02:49:36.986Z] Archives upload complete. [2020-12-08T02:49:37.247Z] INFO: archiving logs to Nexus