Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b2dc1009696e581976701f93299ca14bdab07eb3+3b3704fceb7b97b6b41b020a3a5d9692cb604e42 (2e35d3446631028a99843f826ab3add4936ec303) 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-rest-go] ========================================================= [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-rest-go-settings PROJECT: device-rest-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: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 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-14969 in /w/workspace/dgexfoundry_device-rest-go_PR-62 [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-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-62 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-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-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/62/head:refs/remotes/origin/PR-62 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 into PR head commit b2dc1009696e581976701f93299ca14bdab07eb3 Merge succeeded, producing b493557bd7de0c656711d0c9c3894498d507d7cd Checking out Revision b493557bd7de0c656711d0c9c3894498d507d7cd (PR-62) > git config core.sparsecheckout # timeout=10 > git checkout -f b2dc1009696e581976701f93299ca14bdab07eb3 # 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 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b493557bd7de0c656711d0c9c3894498d507d7cd # timeout=10 Commit message: "Merge commit '3b3704fceb7b97b6b41b020a3a5d9692cb604e42' into HEAD" > git rev-list --no-walk b2dc1009696e581976701f93299ca14bdab07eb3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-07T23:07:58.077Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-07T23:07:58.376Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-07T23:07:58.467Z] ========================================================= [2020-12-07T23:07:58.467Z] EdgeX Global Pipelines Version Info [2020-12-07T23:07:58.467Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-07T23:07:59.912Z] ------------------- [2020-12-07T23:07:59.912Z] stable info: [2020-12-07T23:07:59.912Z] ------------------- [2020-12-07T23:07:59.912Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-07T23:07:59.912Z] Commit SHA: 48b313303ce5ba460cd13c4c603c4b280f104d53 [2020-12-07T23:07:59.912Z] Message: update stable to v1.0.171 [2020-12-07T23:08:00.871Z] ------------------- [2020-12-07T23:08:00.871Z] experimental info: [2020-12-07T23:08:00.872Z] ------------------- [2020-12-07T23:08:00.872Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-07T23:08:00.872Z] Commit SHA: 48b313303ce5ba460cd13c4c603c4b280f104d53 [2020-12-07T23:08:00.872Z] Message: update experimental to v1.0.171 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-07T23:08:01.172Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2020-12-07T23:08:01.289Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2020-12-07T23:08:01.385Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-07T23:08:01.475Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-07T23:08:01.725Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-07T23:08:01.828Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-07T23:08:01.930Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-07T23:08:02.036Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-07T23:08:02.126Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-07T23:08:02.211Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-07T23:08:02.327Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-07T23:08:02.412Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2020-12-07T23:08:02.532Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-07T23:08:02.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-07T23:08:02.721Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-07T23:08:02.808Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-12-07T23:08:02.901Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-07T23:08:02.985Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-07T23:08:03.070Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-07T23:08:03.172Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-07T23:08:03.263Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-07T23:08:03.350Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-07T23:08:03.467Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-07T23:08:03.555Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-07T23:08:03.652Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-07T23:08:03.755Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-07T23:08:03.854Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-62 [Pipeline] echo [2020-12-07T23:08:03.947Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-62 [Pipeline] echo [2020-12-07T23:08:04.037Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-62 [Pipeline] echo [2020-12-07T23:08:04.126Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b493557bd7de0c656711d0c9c3894498d507d7cd [Pipeline] echo [2020-12-07T23:08:04.215Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b493557 [Pipeline] echo [2020-12-07T23:08:04.316Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-07T23:08:04.485Z] provisioning config files... [2020-12-07T23:08:04.517Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-62@tmp/config6038505655582127596tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-07T23:08:04.879Z] ---> docker-login.sh [2020-12-07T23:08:04.879Z] nexus3.edgexfoundry.org:10001 [2020-12-07T23:08:05.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:08:05.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:08:05.145Z] Configure a credential helper to remove this warning. See [2020-12-07T23:08:05.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:08:05.145Z] [2020-12-07T23:08:05.145Z] Login Succeeded [2020-12-07T23:08:05.408Z] nexus3.edgexfoundry.org:10002 [2020-12-07T23:08:05.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:08:05.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:08:05.408Z] Configure a credential helper to remove this warning. See [2020-12-07T23:08:05.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:08:05.408Z] [2020-12-07T23:08:05.408Z] Login Succeeded [2020-12-07T23:08:05.408Z] nexus3.edgexfoundry.org:10003 [2020-12-07T23:08:05.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:08:05.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:08:05.689Z] Configure a credential helper to remove this warning. See [2020-12-07T23:08:05.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:08:05.689Z] [2020-12-07T23:08:05.689Z] Login Succeeded [2020-12-07T23:08:05.689Z] nexus3.edgexfoundry.org:10004 [2020-12-07T23:08:05.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:08:05.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:08:05.955Z] Configure a credential helper to remove this warning. See [2020-12-07T23:08:05.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:08:05.955Z] [2020-12-07T23:08:05.955Z] Login Succeeded [2020-12-07T23:08:05.955Z] docker.io [2020-12-07T23:08:05.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:08:06.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:08:06.223Z] Configure a credential helper to remove this warning. See [2020-12-07T23:08:06.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:08:06.223Z] [2020-12-07T23:08:06.223Z] Login Succeeded [2020-12-07T23:08:06.223Z] ---> docker-login.sh ends [Pipeline] } [2020-12-07T23:08:06.240Z] 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-07T23:08:07.200Z] + git log --format=format:%s -1 b493557bd7de0c656711d0c9c3894498d507d7cd [Pipeline] echo [2020-12-07T23:08:07.326Z] GIT_COMMIT: b493557bd7de0c656711d0c9c3894498d507d7cd, Commit Message: Merge commit '3b3704fceb7b97b6b41b020a3a5d9692cb604e42' into HEAD [Pipeline] echo [2020-12-07T23:08:07.372Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-07T23:08:08.012Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-07T23:08:08.012Z] [2020-12-07T23:08:08.012Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-07T23:08:08.401Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-07T23:08:08.401Z] latest: Pulling from edgex-devops/git-semver [2020-12-07T23:08:08.401Z] 31603596830f: Pulling fs layer [2020-12-07T23:08:08.401Z] 2a8b12db71e7: Pulling fs layer [2020-12-07T23:08:08.401Z] 6ca5941a6612: Pulling fs layer [2020-12-07T23:08:08.401Z] ecc8261a40a4: Pulling fs layer [2020-12-07T23:08:08.401Z] 2a8b12db71e7: Verifying Checksum [2020-12-07T23:08:08.401Z] 2a8b12db71e7: Download complete [2020-12-07T23:08:08.666Z] 31603596830f: Verifying Checksum [2020-12-07T23:08:08.666Z] 31603596830f: Download complete [2020-12-07T23:08:08.666Z] 6ca5941a6612: Verifying Checksum [2020-12-07T23:08:08.666Z] 6ca5941a6612: Download complete [2020-12-07T23:08:08.930Z] ecc8261a40a4: Verifying Checksum [2020-12-07T23:08:08.930Z] ecc8261a40a4: Download complete [2020-12-07T23:08:08.930Z] 31603596830f: Pull complete [2020-12-07T23:08:09.198Z] 2a8b12db71e7: Pull complete [2020-12-07T23:08:10.158Z] 6ca5941a6612: Pull complete [2020-12-07T23:08:10.158Z] ecc8261a40a4: Pull complete [2020-12-07T23:08:10.421Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-07T23:08:10.421Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-07T23:08:10.421Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-07T23:08:10.537Z] prd-centos7-docker-4c-2g-14969 does not seem to be running inside a container [2020-12-07T23:08:10.634Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-62 -v /w/workspace/dgexfoundry_device-rest-go_PR-62:/w/workspace/dgexfoundry_device-rest-go_PR-62:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-62@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-62@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-07T23:08:12.628Z] $ docker top 6fbd1b6a70248c1a62ce813526b24cebc0a6514e16713a10a94880fa156fd377 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-07T23:08:12.937Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-07T23:08:12.937Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-07T23:08:13.150Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-07T23:08:13.154Z] $ docker exec 6fbd1b6a70248c1a62ce813526b24cebc0a6514e16713a10a94880fa156fd377 ssh-agent [2020-12-07T23:08:13.336Z] SSH_AUTH_SOCK=/tmp/ssh-DAOzBfv8HOBG/agent.11 [2020-12-07T23:08:13.336Z] SSH_AGENT_PID=17 [2020-12-07T23:08:13.349Z] Running ssh-add (command line suppressed) [2020-12-07T23:08:13.476Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-62@tmp/private_key_4989123888100286884.key (/w/workspace/dgexfoundry_device-rest-go_PR-62@tmp/private_key_4989123888100286884.key) [2020-12-07T23:08:13.537Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-07T23:08:13.915Z] + git tag --points-at HEAD [Pipeline] } [2020-12-07T23:08:13.940Z] $ docker exec --env ******** --env ******** 6fbd1b6a70248c1a62ce813526b24cebc0a6514e16713a10a94880fa156fd377 ssh-agent -k [2020-12-07T23:08:14.051Z] unset SSH_AUTH_SOCK; [2020-12-07T23:08:14.051Z] unset SSH_AGENT_PID; [2020-12-07T23:08:14.051Z] echo Agent pid 17 killed; [2020-12-07T23:08:14.099Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-07T23:08:14.265Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-07T23:08:14.265Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-07T23:08:14.451Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-07T23:08:14.455Z] $ docker exec 6fbd1b6a70248c1a62ce813526b24cebc0a6514e16713a10a94880fa156fd377 ssh-agent [2020-12-07T23:08:14.634Z] SSH_AUTH_SOCK=/tmp/ssh-GPCHzdOUeGKC/agent.45 [2020-12-07T23:08:14.634Z] SSH_AGENT_PID=50 [2020-12-07T23:08:14.641Z] Running ssh-add (command line suppressed) [2020-12-07T23:08:14.763Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-62@tmp/private_key_8127720110924538287.key (/w/workspace/dgexfoundry_device-rest-go_PR-62@tmp/private_key_8127720110924538287.key) [2020-12-07T23:08:14.823Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-07T23:08:15.163Z] + git semver init [2020-12-07T23:08:15.163Z] # -> Open(): unable to determine branch for HEAD [2020-12-07T23:08:15.163Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-62/.git [2020-12-07T23:08:15.163Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-62 [2020-12-07T23:08:15.164Z] # $SEMVER_REMOTE_NAME = origin [2020-12-07T23:08:15.164Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-07T23:08:15.164Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-07T23:08:15.164Z] # $SEMVER_BRANCH = PR-62 [2020-12-07T23:08:15.164Z] # $SEMVER_TEMP = /tmp/semver-511100697 [2020-12-07T23:08:15.164Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-12-07T23:08:16.564Z] # '/tmp/semver-511100697' -> '/w/workspace/dgexfoundry_device-rest-go_PR-62/.semver' [2020-12-07T23:08:16.564Z] # -> Force: false [2020-12-07T23:08:16.564Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-62/.semver [Pipeline] } [2020-12-07T23:08:16.578Z] $ docker exec --env ******** --env ******** 6fbd1b6a70248c1a62ce813526b24cebc0a6514e16713a10a94880fa156fd377 ssh-agent -k [2020-12-07T23:08:16.698Z] unset SSH_AUTH_SOCK; [2020-12-07T23:08:16.699Z] unset SSH_AGENT_PID; [2020-12-07T23:08:16.699Z] echo Agent pid 50 killed; [2020-12-07T23:08:16.749Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-07T23:08:17.225Z] + git semver [Pipeline] } [2020-12-07T23:08:17.250Z] $ docker stop --time=1 6fbd1b6a70248c1a62ce813526b24cebc0a6514e16713a10a94880fa156fd377 [2020-12-07T23:08:18.649Z] $ docker rm -f 6fbd1b6a70248c1a62ce813526b24cebc0a6514e16713a10a94880fa156fd377 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-07T23:08:19.143Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-07T23:08:19.526Z] Stashed 1 file(s) [Pipeline] echo [2020-12-07T23:08:19.529Z] [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-07T23:08:35.160Z] Still waiting to schedule task [2020-12-07T23:08:35.160Z] ‘prd-centos7-blackbox-4c-2g-14966’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-builder-2c-1g-14365’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-builder-2c-1g-14967’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-14971’ is offline; ‘prd-centos7-docker-4c-2g-14972’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-14962’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-12-07T23:08:35.162Z] Still waiting to schedule task [2020-12-07T23:08:35.162Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-12-07T23:09:34.762Z] Running on prd-centos7-docker-4c-2g-14975 in /w/workspace/dgexfoundry_device-rest-go_PR-62 [Pipeline] { [Pipeline] ws [2020-12-07T23:09:34.842Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2020-12-07T23:09:37.297Z] using credential edgex-jenkins-ssh [2020-12-07T23:09:37.363Z] Cloning the remote Git repository [2020-12-07T23:09:37.391Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-12-07T23:09:37.455Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2020-12-07T23:09:37.509Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-12-07T23:09:37.509Z] > git --version # timeout=10 [2020-12-07T23:09:37.515Z] > git --version # 'git version 2.24.3' [2020-12-07T23:09:37.515Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T23:09:37.547Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-07T23:09:38.849Z] Merging remotes/origin/master commit 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 into PR head commit b2dc1009696e581976701f93299ca14bdab07eb3 [2020-12-07T23:09:38.956Z] Merge succeeded, producing 8a4daa20472902103ff160f19a596723550e6886 [2020-12-07T23:09:38.957Z] Checking out Revision 8a4daa20472902103ff160f19a596723550e6886 (PR-62) [2020-12-07T23:09:38.436Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-12-07T23:09:38.443Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-07T23:09:38.456Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-12-07T23:09:38.468Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-12-07T23:09:38.469Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T23:09:38.473Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/62/head:refs/remotes/origin/PR-62 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-07T23:09:38.863Z] > git config core.sparsecheckout # timeout=10 [2020-12-07T23:09:38.879Z] > git checkout -f b2dc1009696e581976701f93299ca14bdab07eb3 # timeout=10 [2020-12-07T23:09:38.916Z] > git remote # timeout=10 [2020-12-07T23:09:38.922Z] > git config --get remote.origin.url # timeout=10 [2020-12-07T23:09:38.929Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T23:09:38.934Z] > git merge 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 # timeout=10 [2020-12-07T23:09:38.952Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-07T23:09:38.961Z] > git config core.sparsecheckout # timeout=10 [2020-12-07T23:09:38.966Z] > git checkout -f 8a4daa20472902103ff160f19a596723550e6886 # timeout=10 [2020-12-07T23:09:42.625Z] Commit message: "Merge commit '3b3704fceb7b97b6b41b020a3a5d9692cb604e42' into HEAD" [2020-12-07T23:09:42.631Z] > git rev-list --no-walk b2dc1009696e581976701f93299ca14bdab07eb3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-07T23:09:43.817Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-07T23:09:44.157Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-07T23:09:44.462Z] + sudo service docker restart [2020-12-07T23:09:44.462Z] + true [2020-12-07T23:09:44.462Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-07T23:09:45.480Z] provisioning config files... [2020-12-07T23:09:45.508Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config8684248086684347459tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-07T23:09:45.949Z] ---> docker-login.sh [2020-12-07T23:09:45.949Z] nexus3.edgexfoundry.org:10001 [2020-12-07T23:09:46.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:09:46.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:09:46.476Z] Configure a credential helper to remove this warning. See [2020-12-07T23:09:46.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:09:46.476Z] [2020-12-07T23:09:46.476Z] Login Succeeded [2020-12-07T23:09:46.476Z] nexus3.edgexfoundry.org:10002 [2020-12-07T23:09:46.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:09:46.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:09:46.739Z] Configure a credential helper to remove this warning. See [2020-12-07T23:09:46.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:09:46.739Z] [2020-12-07T23:09:46.739Z] Login Succeeded [2020-12-07T23:09:46.739Z] nexus3.edgexfoundry.org:10003 [2020-12-07T23:09:47.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:09:47.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:09:47.003Z] Configure a credential helper to remove this warning. See [2020-12-07T23:09:47.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:09:47.003Z] [2020-12-07T23:09:47.003Z] Login Succeeded [2020-12-07T23:09:47.003Z] nexus3.edgexfoundry.org:10004 [2020-12-07T23:09:47.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:09:47.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:09:47.267Z] Configure a credential helper to remove this warning. See [2020-12-07T23:09:47.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:09:47.267Z] [2020-12-07T23:09:47.267Z] Login Succeeded [2020-12-07T23:09:47.267Z] docker.io [2020-12-07T23:09:47.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:09:47.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:09:47.528Z] Configure a credential helper to remove this warning. See [2020-12-07T23:09:47.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:09:47.528Z] [2020-12-07T23:09:47.528Z] Login Succeeded [2020-12-07T23:09:47.528Z] ---> docker-login.sh ends [Pipeline] } [2020-12-07T23:09:47.539Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-07T23:09:48.026Z] ========================================================= [2020-12-07T23:09:48.026Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-07T23:09:48.026Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-07T23:09:48.375Z] + 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-07T23:09:48.375Z] Sending build context to Docker daemon 84.48kB [2020-12-07T23:09:48.375Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-12-07T23:09:48.375Z] Step 2/10 : FROM ${BASE} [2020-12-07T23:09:48.636Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-07T23:09:48.636Z] 188c0c94c7c5: Pulling fs layer [2020-12-07T23:09:48.637Z] 0ef7d3d256c8: Pulling fs layer [2020-12-07T23:09:48.637Z] de9db76c5a1d: Pulling fs layer [2020-12-07T23:09:48.637Z] bca2f99d35d6: Pulling fs layer [2020-12-07T23:09:48.637Z] 93359f2a8cfa: Pulling fs layer [2020-12-07T23:09:48.637Z] 7c6f9722023f: Pulling fs layer [2020-12-07T23:09:48.637Z] a35cf1a2eb13: Pulling fs layer [2020-12-07T23:09:48.637Z] bca2f99d35d6: Waiting [2020-12-07T23:09:48.637Z] 93359f2a8cfa: Waiting [2020-12-07T23:09:48.637Z] 7c6f9722023f: Waiting [2020-12-07T23:09:48.637Z] a35cf1a2eb13: Waiting [2020-12-07T23:09:48.637Z] de9db76c5a1d: Verifying Checksum [2020-12-07T23:09:48.637Z] de9db76c5a1d: Download complete [2020-12-07T23:09:48.637Z] 0ef7d3d256c8: Verifying Checksum [2020-12-07T23:09:48.637Z] 0ef7d3d256c8: Download complete [2020-12-07T23:09:48.637Z] 93359f2a8cfa: Verifying Checksum [2020-12-07T23:09:48.637Z] 93359f2a8cfa: Download complete [2020-12-07T23:09:48.637Z] 7c6f9722023f: Verifying Checksum [2020-12-07T23:09:48.637Z] 7c6f9722023f: Download complete [2020-12-07T23:09:48.637Z] 188c0c94c7c5: Verifying Checksum [2020-12-07T23:09:48.637Z] 188c0c94c7c5: Download complete [2020-12-07T23:09:48.901Z] 188c0c94c7c5: Pull complete [2020-12-07T23:09:49.173Z] 0ef7d3d256c8: Pull complete [2020-12-07T23:09:49.173Z] de9db76c5a1d: Pull complete [2020-12-07T23:09:50.572Z] a35cf1a2eb13: Verifying Checksum [2020-12-07T23:09:50.572Z] a35cf1a2eb13: Download complete [2020-12-07T23:09:51.151Z] bca2f99d35d6: Verifying Checksum [2020-12-07T23:09:51.151Z] bca2f99d35d6: Download complete [2020-12-07T23:09:56.493Z] bca2f99d35d6: Pull complete [2020-12-07T23:09:56.493Z] 93359f2a8cfa: Pull complete [2020-12-07T23:09:56.493Z] 7c6f9722023f: Pull complete [2020-12-07T23:10:04.662Z] a35cf1a2eb13: Pull complete [2020-12-07T23:10:04.662Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-07T23:10:04.662Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-07T23:10:04.662Z] ---> a62c8e92a672 [2020-12-07T23:10:04.662Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-12-07T23:10:04.662Z] ---> Running in 8cac3c592c9a [2020-12-07T23:10:04.662Z] Removing intermediate container 8cac3c592c9a [2020-12-07T23:10:04.662Z] ---> 55ac684d1ecc [2020-12-07T23:10:04.662Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-12-07T23:10:04.925Z] ---> Running in 3cc281b41b33 [2020-12-07T23:10:04.925Z] Removing intermediate container 3cc281b41b33 [2020-12-07T23:10:04.925Z] ---> 94f720c423d2 [2020-12-07T23:10:04.925Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-07T23:10:04.925Z] ---> Running in 8367e6bd7d00 [2020-12-07T23:10:05.188Z] Removing intermediate container 8367e6bd7d00 [2020-12-07T23:10:05.188Z] ---> b40110098c55 [2020-12-07T23:10:05.188Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-07T23:10:05.188Z] ---> Running in 891641d44c41 [2020-12-07T23:10:06.589Z] Removing intermediate container 891641d44c41 [2020-12-07T23:10:06.589Z] ---> 8651f276ceaf [2020-12-07T23:10:06.589Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-12-07T23:10:06.861Z] ---> Running in 82a4abe93f6d [2020-12-07T23:10:07.449Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-07T23:10:08.856Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-07T23:10:10.253Z] OK: 166 MiB in 39 packages [2020-12-07T23:10:10.825Z] Removing intermediate container 82a4abe93f6d [2020-12-07T23:10:10.825Z] ---> e43d801aa6f3 [2020-12-07T23:10:10.825Z] Step 8/10 : WORKDIR /device-rest-go [2020-12-07T23:10:10.825Z] ---> Running in 66644c187757 [2020-12-07T23:10:11.087Z] Removing intermediate container 66644c187757 [2020-12-07T23:10:11.087Z] ---> c0b5d0b8b564 [2020-12-07T23:10:11.087Z] Step 9/10 : COPY . . [2020-12-07T23:10:11.351Z] ---> d4cbfaed6987 [2020-12-07T23:10:11.351Z] Step 10/10 : RUN go mod download [2020-12-07T23:10:11.351Z] ---> Running in 5e22c353a33e [2020-12-07T23:10:29.542Z] Removing intermediate container 5e22c353a33e [2020-12-07T23:10:29.542Z] ---> 338e84c24d33 [2020-12-07T23:10:29.543Z] Successfully built 338e84c24d33 [2020-12-07T23:10:29.543Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-07T23:10:29.858Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-07T23:10:29.858Z] . [Pipeline] withDockerContainer [2020-12-07T23:10:29.973Z] prd-centos7-docker-4c-2g-14975 does not seem to be running inside a container [2020-12-07T23:10:30.026Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-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-07T23:10:31.344Z] $ docker top 36ca9c142c11a88a08c0b2fe1bb02064e8407053d810e72afcb1986819858bea -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T23:10:31.850Z] + go version [2020-12-07T23:10:31.850Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-07T23:10:31.867Z] $ docker stop --time=1 36ca9c142c11a88a08c0b2fe1bb02064e8407053d810e72afcb1986819858bea [2020-12-07T23:10:33.225Z] $ docker rm -f 36ca9c142c11a88a08c0b2fe1bb02064e8407053d810e72afcb1986819858bea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-07T23:10:34.144Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-07T23:10:34.144Z] . [Pipeline] withDockerContainer [2020-12-07T23:10:34.239Z] prd-centos7-docker-4c-2g-14975 does not seem to be running inside a container [2020-12-07T23:10:34.281Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-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-07T23:10:34.861Z] $ docker top 287bb5ae0789279d896cf84239d69f78d44f7a54a4b22d6709340616e4fb8057 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T23:10:35.372Z] + make test [2020-12-07T23:10:35.372Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-12-07T23:10:36.344Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-12-07T23:10:43.066Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-07T23:10:43.066Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go@v1.3.0/internal/v2/application/command.go:713:31: unknown field 'Name' in struct literal of type dtos.BaseReading [2020-12-07T23:10:43.066Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go@v1.3.0/internal/v2/application/command.go:719:10: reading.FloatEncoding undefined (type *dtos.BaseReading has no field or method FloatEncoding) [2020-12-07T23:10:45.676Z] FAIL github.com/edgexfoundry/device-rest-go/driver [build failed] [2020-12-07T23:10:45.676Z] make: *** [Makefile:23: test] Error 2 [Pipeline] } [2020-12-07T23:10:45.697Z] $ docker stop --time=1 287bb5ae0789279d896cf84239d69f78d44f7a54a4b22d6709340616e4fb8057 [2020-12-07T23:10:47.965Z] $ docker rm -f 287bb5ae0789279d896cf84239d69f78d44f7a54a4b22d6709340616e4fb8057 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-07T23:10:49.689Z] Failed in branch amd64 [2020-12-07T23:11:44.176Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-14981 in /w/workspace/dgexfoundry_device-rest-go_PR-62 [Pipeline] { [Pipeline] ws [2020-12-07T23:11:44.241Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2020-12-07T23:11:49.363Z] using credential edgex-jenkins-ssh [2020-12-07T23:11:49.418Z] Cloning the remote Git repository [2020-12-07T23:11:49.483Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-12-07T23:11:49.591Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2020-12-07T23:11:49.672Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-12-07T23:11:49.673Z] > git --version # timeout=10 [2020-12-07T23:11:49.695Z] > git --version # 'git version 2.17.1' [2020-12-07T23:11:49.697Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T23:11:49.793Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-07T23:11:51.590Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-12-07T23:11:51.621Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-07T23:11:51.652Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-12-07T23:11:51.686Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-12-07T23:11:51.686Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T23:11:51.699Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/62/head:refs/remotes/origin/PR-62 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-07T23:11:52.185Z] Merging remotes/origin/master commit 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 into PR head commit b2dc1009696e581976701f93299ca14bdab07eb3 [2020-12-07T23:11:52.425Z] Merge succeeded, producing 8b2e55c21fe2c39e9af13edd01582973c94fdd1f [2020-12-07T23:11:52.426Z] Checking out Revision 8b2e55c21fe2c39e9af13edd01582973c94fdd1f (PR-62) [2020-12-07T23:11:52.206Z] > git config core.sparsecheckout # timeout=10 [2020-12-07T23:11:52.220Z] > git checkout -f b2dc1009696e581976701f93299ca14bdab07eb3 # timeout=10 [2020-12-07T23:11:52.300Z] > git remote # timeout=10 [2020-12-07T23:11:52.322Z] > git config --get remote.origin.url # timeout=10 [2020-12-07T23:11:52.349Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T23:11:52.360Z] > git merge 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 # timeout=10 [2020-12-07T23:11:52.409Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-07T23:11:52.436Z] > git config core.sparsecheckout # timeout=10 [2020-12-07T23:11:52.449Z] > git checkout -f 8b2e55c21fe2c39e9af13edd01582973c94fdd1f # timeout=10 [2020-12-07T23:11:56.890Z] Commit message: "Merge commit '3b3704fceb7b97b6b41b020a3a5d9692cb604e42' into HEAD" [2020-12-07T23:11:56.901Z] > git rev-list --no-walk b2dc1009696e581976701f93299ca14bdab07eb3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-07T23:11:58.477Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-07T23:11:58.950Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-07T23:11:59.298Z] + sudo service docker restart [2020-12-07T23:11:59.298Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-07T23:12:02.041Z] provisioning config files... [2020-12-07T23:12:02.079Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config3144163309610684755tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-07T23:12:02.483Z] ---> docker-login.sh [2020-12-07T23:12:02.483Z] nexus3.edgexfoundry.org:10001 [2020-12-07T23:12:03.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:12:03.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:12:03.741Z] Configure a credential helper to remove this warning. See [2020-12-07T23:12:03.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:12:03.741Z] [2020-12-07T23:12:03.741Z] Login Succeeded [2020-12-07T23:12:03.741Z] nexus3.edgexfoundry.org:10002 [2020-12-07T23:12:04.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:12:04.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:12:04.294Z] Configure a credential helper to remove this warning. See [2020-12-07T23:12:04.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:12:04.294Z] [2020-12-07T23:12:04.294Z] Login Succeeded [2020-12-07T23:12:04.294Z] nexus3.edgexfoundry.org:10003 [2020-12-07T23:12:04.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:12:04.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:12:04.839Z] Configure a credential helper to remove this warning. See [2020-12-07T23:12:04.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:12:04.839Z] [2020-12-07T23:12:04.839Z] Login Succeeded [2020-12-07T23:12:04.839Z] nexus3.edgexfoundry.org:10004 [2020-12-07T23:12:05.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:12:05.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:12:05.386Z] Configure a credential helper to remove this warning. See [2020-12-07T23:12:05.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:12:05.386Z] [2020-12-07T23:12:05.386Z] Login Succeeded [2020-12-07T23:12:05.386Z] docker.io [2020-12-07T23:12:05.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:12:05.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:12:05.937Z] Configure a credential helper to remove this warning. See [2020-12-07T23:12:05.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:12:05.937Z] [2020-12-07T23:12:05.937Z] Login Succeeded [2020-12-07T23:12:05.937Z] ---> docker-login.sh ends [Pipeline] } [2020-12-07T23:12:05.958Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-07T23:12:06.465Z] ========================================================= [2020-12-07T23:12:06.465Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-07T23:12:06.465Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-07T23:12:06.842Z] + 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-07T23:12:06.842Z] Sending build context to Docker daemon 84.48kB [2020-12-07T23:12:07.119Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-12-07T23:12:07.119Z] Step 2/10 : FROM ${BASE} [2020-12-07T23:12:07.401Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-07T23:12:07.401Z] 5f621e34cdf4: Pulling fs layer [2020-12-07T23:12:07.401Z] a4357932f1b6: Pulling fs layer [2020-12-07T23:12:07.401Z] 18c013af1878: Pulling fs layer [2020-12-07T23:12:07.401Z] 00ac8860ef70: Pulling fs layer [2020-12-07T23:12:07.401Z] 63d7cb157983: Pulling fs layer [2020-12-07T23:12:07.401Z] b116817d02f9: Pulling fs layer [2020-12-07T23:12:07.401Z] 745a02a5169b: Pulling fs layer [2020-12-07T23:12:07.401Z] 00ac8860ef70: Waiting [2020-12-07T23:12:07.401Z] 63d7cb157983: Waiting [2020-12-07T23:12:07.401Z] b116817d02f9: Waiting [2020-12-07T23:12:07.401Z] 18c013af1878: Verifying Checksum [2020-12-07T23:12:07.401Z] 18c013af1878: Download complete [2020-12-07T23:12:07.401Z] a4357932f1b6: Verifying Checksum [2020-12-07T23:12:07.401Z] a4357932f1b6: Download complete [2020-12-07T23:12:07.401Z] 63d7cb157983: Verifying Checksum [2020-12-07T23:12:07.401Z] 63d7cb157983: Download complete [2020-12-07T23:12:07.401Z] b116817d02f9: Verifying Checksum [2020-12-07T23:12:07.401Z] b116817d02f9: Download complete [2020-12-07T23:12:07.401Z] 5f621e34cdf4: Verifying Checksum [2020-12-07T23:12:07.401Z] 5f621e34cdf4: Download complete [2020-12-07T23:12:08.395Z] 5f621e34cdf4: Pull complete [2020-12-07T23:12:08.681Z] a4357932f1b6: Pull complete [2020-12-07T23:12:09.291Z] 18c013af1878: Pull complete [2020-12-07T23:12:10.279Z] 745a02a5169b: Verifying Checksum [2020-12-07T23:12:10.279Z] 745a02a5169b: Download complete [2020-12-07T23:12:11.273Z] 00ac8860ef70: Verifying Checksum [2020-12-07T23:12:11.273Z] 00ac8860ef70: Download complete [2020-12-07T23:12:22.059Z] 00ac8860ef70: Pull complete [2020-12-07T23:12:22.059Z] 63d7cb157983: Pull complete [2020-12-07T23:12:22.059Z] b116817d02f9: Pull complete [2020-12-07T23:12:26.381Z] 745a02a5169b: Pull complete [2020-12-07T23:12:26.381Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-07T23:12:26.381Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-07T23:12:26.381Z] ---> b7e6874047d6 [2020-12-07T23:12:26.381Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-12-07T23:12:29.787Z] ---> Running in 90ac280a236d [2020-12-07T23:12:29.787Z] Removing intermediate container 90ac280a236d [2020-12-07T23:12:29.787Z] ---> ac0f13249f18 [2020-12-07T23:12:29.787Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-12-07T23:12:29.787Z] ---> Running in 97e66995369f [2020-12-07T23:12:30.388Z] Removing intermediate container 97e66995369f [2020-12-07T23:12:30.388Z] ---> 4da9beba2f25 [2020-12-07T23:12:30.388Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-07T23:12:30.388Z] ---> Running in 426c3faff6fa [2020-12-07T23:12:31.007Z] Removing intermediate container 426c3faff6fa [2020-12-07T23:12:31.007Z] ---> 07b013fe99a7 [2020-12-07T23:12:31.007Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-07T23:12:31.007Z] ---> Running in 66255bdf82d8 [2020-12-07T23:12:33.650Z] Removing intermediate container 66255bdf82d8 [2020-12-07T23:12:33.650Z] ---> 95e70a9c3361 [2020-12-07T23:12:33.650Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-12-07T23:12:33.650Z] ---> Running in 57099f95ca0c [2020-12-07T23:12:35.093Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-07T23:12:35.691Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-07T23:12:36.695Z] OK: 142 MiB in 39 packages [2020-12-07T23:12:38.134Z] Removing intermediate container 57099f95ca0c [2020-12-07T23:12:38.134Z] ---> 66ac159faee6 [2020-12-07T23:12:38.134Z] Step 8/10 : WORKDIR /device-rest-go [2020-12-07T23:12:38.134Z] ---> Running in 670bbfcf4b20 [2020-12-07T23:12:38.730Z] Removing intermediate container 670bbfcf4b20 [2020-12-07T23:12:38.730Z] ---> 8237c1985692 [2020-12-07T23:12:38.730Z] Step 9/10 : COPY . . [2020-12-07T23:12:39.329Z] ---> 2127e8fa0cd1 [2020-12-07T23:12:39.329Z] Step 10/10 : RUN go mod download [2020-12-07T23:12:39.602Z] ---> Running in c4b9ea206bff [2020-12-07T23:13:06.417Z] Removing intermediate container c4b9ea206bff [2020-12-07T23:13:06.417Z] ---> bf38f6587be1 [2020-12-07T23:13:06.417Z] Successfully built bf38f6587be1 [2020-12-07T23:13:06.417Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-07T23:13:06.763Z] + docker inspect -f . ci-base-image-arm64 [2020-12-07T23:13:06.763Z] . [Pipeline] withDockerContainer [2020-12-07T23:13:07.011Z] prd-ubuntu18.04-docker-arm64-4c-16g-14981 does not seem to be running inside a container [2020-12-07T23:13:07.105Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-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-arm64 cat [2020-12-07T23:13:08.641Z] $ docker top 79a74af9ceb89ace1d0a4df81aa7187661a68b003432a8ec94c1f92858519ece -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T23:13:09.736Z] + go version [2020-12-07T23:13:09.736Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-07T23:13:09.762Z] $ docker stop --time=1 79a74af9ceb89ace1d0a4df81aa7187661a68b003432a8ec94c1f92858519ece [2020-12-07T23:13:11.686Z] $ docker rm -f 79a74af9ceb89ace1d0a4df81aa7187661a68b003432a8ec94c1f92858519ece [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-07T23:13:12.764Z] + docker inspect -f . ci-base-image-arm64 [2020-12-07T23:13:12.765Z] . [Pipeline] withDockerContainer [2020-12-07T23:13:13.067Z] prd-ubuntu18.04-docker-arm64-4c-16g-14981 does not seem to be running inside a container [2020-12-07T23:13:13.193Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-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-arm64 cat [2020-12-07T23:13:14.919Z] $ docker top ae1d3970723fe890b5a01abd79a259769deb27b60001fb03ccdcdf2363a68d65 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T23:13:15.911Z] + make test [2020-12-07T23:13:15.911Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-12-07T23:13:16.893Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-12-07T23:13:43.743Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-07T23:13:43.743Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go@v1.3.0/internal/v2/application/command.go:713:31: unknown field 'Name' in struct literal of type dtos.BaseReading [2020-12-07T23:13:43.743Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go@v1.3.0/internal/v2/application/command.go:719:10: reading.FloatEncoding undefined (type *dtos.BaseReading has no field or method FloatEncoding) [2020-12-07T23:13:50.532Z] FAIL github.com/edgexfoundry/device-rest-go/driver [build failed] [2020-12-07T23:13:50.803Z] make: *** [Makefile:23: test] Error 2 [Pipeline] } [2020-12-07T23:13:50.833Z] $ docker stop --time=1 ae1d3970723fe890b5a01abd79a259769deb27b60001fb03ccdcdf2363a68d65 [2020-12-07T23:13:53.194Z] $ docker rm -f ae1d3970723fe890b5a01abd79a259769deb27b60001fb03ccdcdf2363a68d65 [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-07T23:13:55.392Z] 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-07T23:13:58.528Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T23:13:58.836Z] ---> package-listing.sh [2020-12-07T23:13:58.836Z] ++ facter osfamily [2020-12-07T23:13:58.836Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-07T23:13:58.836Z] + OS_FAMILY=redhat [2020-12-07T23:13:58.836Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-62 [2020-12-07T23:13:58.836Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-07T23:13:58.836Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-07T23:13:58.836Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-07T23:13:58.836Z] + PACKAGES=/tmp/packages_start.txt [2020-12-07T23:13:58.836Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-62 ']' [2020-12-07T23:13:58.836Z] + PACKAGES=/tmp/packages_end.txt [2020-12-07T23:13:58.836Z] + case "${OS_FAMILY}" in [2020-12-07T23:13:58.836Z] + rpm -qa [2020-12-07T23:13:58.836Z] + sort [2020-12-07T23:14:05.436Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-07T23:14:05.436Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-07T23:14:05.436Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-07T23:14:05.436Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-62 ']' [2020-12-07T23:14:05.436Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-62/archives/ [2020-12-07T23:14:05.436Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-62/archives/ [Pipeline] echo [2020-12-07T23:14:05.452Z] 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-rest-go_PR-62/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-07T23:14:05.742Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-07T23:14:06.062Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-07T23:14:06.062Z] [2020-12-07T23:14:06.062Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-07T23:14:06.426Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-07T23:14:06.426Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-07T23:14:06.426Z] df20fa9351a1: Pulling fs layer [2020-12-07T23:14:06.426Z] 36b3adc4ff6f: Pulling fs layer [2020-12-07T23:14:06.426Z] 8ad3a11d3b57: Pulling fs layer [2020-12-07T23:14:06.426Z] 46f8f816bc3b: Pulling fs layer [2020-12-07T23:14:06.426Z] 93b61091891f: Pulling fs layer [2020-12-07T23:14:06.426Z] 93b9cdb0e59b: Pulling fs layer [2020-12-07T23:14:06.426Z] 5e14af77c1be: Pulling fs layer [2020-12-07T23:14:06.426Z] 01666e4c0597: Pulling fs layer [2020-12-07T23:14:06.426Z] aa168da1d23b: Pulling fs layer [2020-12-07T23:14:06.426Z] 93b9cdb0e59b: Waiting [2020-12-07T23:14:06.426Z] 5e14af77c1be: Waiting [2020-12-07T23:14:06.426Z] 01666e4c0597: Waiting [2020-12-07T23:14:06.426Z] aa168da1d23b: Waiting [2020-12-07T23:14:06.426Z] 46f8f816bc3b: Waiting [2020-12-07T23:14:06.426Z] 93b61091891f: Waiting [2020-12-07T23:14:06.426Z] 36b3adc4ff6f: Verifying Checksum [2020-12-07T23:14:06.426Z] 36b3adc4ff6f: Download complete [2020-12-07T23:14:06.426Z] 46f8f816bc3b: Verifying Checksum [2020-12-07T23:14:06.426Z] 46f8f816bc3b: Download complete [2020-12-07T23:14:06.426Z] df20fa9351a1: Verifying Checksum [2020-12-07T23:14:06.426Z] df20fa9351a1: Download complete [2020-12-07T23:14:06.697Z] 93b9cdb0e59b: Verifying Checksum [2020-12-07T23:14:06.697Z] 93b9cdb0e59b: Download complete [2020-12-07T23:14:06.697Z] 5e14af77c1be: Verifying Checksum [2020-12-07T23:14:06.697Z] 5e14af77c1be: Download complete [2020-12-07T23:14:06.697Z] 01666e4c0597: Verifying Checksum [2020-12-07T23:14:06.697Z] 01666e4c0597: Download complete [2020-12-07T23:14:06.697Z] 93b61091891f: Verifying Checksum [2020-12-07T23:14:06.697Z] 93b61091891f: Download complete [2020-12-07T23:14:06.697Z] 8ad3a11d3b57: Verifying Checksum [2020-12-07T23:14:06.697Z] 8ad3a11d3b57: Download complete [2020-12-07T23:14:06.963Z] df20fa9351a1: Pull complete [2020-12-07T23:14:07.232Z] 36b3adc4ff6f: Pull complete [2020-12-07T23:14:08.190Z] 8ad3a11d3b57: Pull complete [2020-12-07T23:14:08.466Z] 46f8f816bc3b: Pull complete [2020-12-07T23:14:08.466Z] aa168da1d23b: Verifying Checksum [2020-12-07T23:14:08.466Z] aa168da1d23b: Download complete [2020-12-07T23:14:08.733Z] 93b61091891f: Pull complete [2020-12-07T23:14:08.733Z] 93b9cdb0e59b: Pull complete [2020-12-07T23:14:08.997Z] 5e14af77c1be: Pull complete [2020-12-07T23:14:08.997Z] 01666e4c0597: Pull complete [2020-12-07T23:14:17.166Z] aa168da1d23b: Pull complete [2020-12-07T23:14:17.166Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-07T23:14:17.166Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-07T23:14:17.166Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-07T23:14:17.313Z] prd-centos7-docker-4c-2g-14969 does not seem to be running inside a container [2020-12-07T23:14:17.368Z] $ 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-rest-go_PR-62/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-rest-go_PR-62 -v /w/workspace/dgexfoundry_device-rest-go_PR-62:/w/workspace/dgexfoundry_device-rest-go_PR-62:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-62@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-62@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-07T23:14:20.092Z] $ docker top 8ec596813c267c9e56f2c5692062b953419832a31b90e93a3b02a007c0be4b46 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T23:14:20.691Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-07T23:14:20.990Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-07T23:14:21.287Z] + ls /var/log/sa-host [2020-12-07T23:14:21.287Z] + sadf -c /var/log/sa-host/sa07 [2020-12-07T23:14:21.287Z] file_magic: OK [2020-12-07T23:14:21.287Z] HZ: Using current value: 100 [2020-12-07T23:14:21.287Z] file_header: OK [2020-12-07T23:14:21.287Z] 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-07T23:14:21.287Z] Statistics: [2020-12-07T23:14:21.287Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-07T23:14:21.287Z] File successfully converted to sysstat format version 12.2.1 [2020-12-07T23:14:21.287Z] + sadf -c /var/log/sa-host/sa23 [2020-12-07T23:14:21.287Z] file_magic: OK [2020-12-07T23:14:21.287Z] HZ: Using current value: 100 [2020-12-07T23:14:21.287Z] file_header: OK [2020-12-07T23:14:21.287Z] 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-07T23:14:21.287Z] Statistics: [2020-12-07T23:14:21.287Z] Hnuu...uuuununununu... [2020-12-07T23:14:21.287Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-07T23:14:21.934Z] provisioning config files... [2020-12-07T23:14:21.948Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-62@tmp/config1286063120109576960tmp [Pipeline] { [Pipeline] echo [2020-12-07T23:14:22.024Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T23:14:22.321Z] ---> create-netrc.sh [Pipeline] } [2020-12-07T23:14:22.331Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-07T23:14:22.428Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T23:14:22.723Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-07T23:14:22.733Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T23:14:23.026Z] ---> sudo-logs.sh [2020-12-07T23:14:23.026Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-07T23:14:23.036Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T23:14:23.326Z] ---> job-cost.sh [2020-12-07T23:14:23.326Z] lf-activate-venv: SKIPPING [2020-12-07T23:14:23.326Z] INFO: No Stack... [2020-12-07T23:14:24.712Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-07T23:14:24.973Z] INFO: Archiving Costs [Pipeline] echo [2020-12-07T23:14:24.986Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T23:14:25.279Z] ---> logs-deploy.sh [2020-12-07T23:14:25.279Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-62/2 [2020-12-07T23:14:25.279Z] INFO: archiving workspace using pattern(s): [2020-12-07T23:14:27.193Z] Archives upload complete. [2020-12-07T23:14:27.193Z] INFO: archiving logs to Nexus