Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 668eef0d26df75f2028b0bd35b6bb5025555581e+9e4888f50a2a312870744f4f89808877d999d7c6 (3e851bf6cd23bc927af63df9c168b0da87ba4bec) 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-21712 in /w/workspace/dgexfoundry_device-rest-go_PR-75 [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-75 # 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 Merging remotes/origin/master commit 9e4888f50a2a312870744f4f89808877d999d7c6 into PR head commit 668eef0d26df75f2028b0bd35b6bb5025555581e Merge succeeded, producing 7fd803e86ba6ea3066bf9279466b3a00cca402b7 Checking out Revision 7fd803e86ba6ea3066bf9279466b3a00cca402b7 (PR-75) > 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/75/head:refs/remotes/origin/PR-75 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 668eef0d26df75f2028b0bd35b6bb5025555581e # 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 9e4888f50a2a312870744f4f89808877d999d7c6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7fd803e86ba6ea3066bf9279466b3a00cca402b7 # timeout=10 Commit message: "Merge commit '9e4888f50a2a312870744f4f89808877d999d7c6' into HEAD" > git rev-list --no-walk 668eef0d26df75f2028b0bd35b6bb5025555581e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-20T23:08:45.229Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-20T23:08:45.454Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-20T23:08:45.541Z] ========================================================= [2021-01-20T23:08:45.541Z] EdgeX Global Pipelines Version Info [2021-01-20T23:08:45.541Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:08:47.071Z] ------------------- [2021-01-20T23:08:47.071Z] stable info: [2021-01-20T23:08:47.071Z] ------------------- [2021-01-20T23:08:47.071Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-20T23:08:47.071Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-20T23:08:47.071Z] Message: update stable to v1.0.179 [2021-01-20T23:08:48.023Z] ------------------- [2021-01-20T23:08:48.023Z] experimental info: [2021-01-20T23:08:48.023Z] ------------------- [2021-01-20T23:08:48.023Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-20T23:08:48.023Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-20T23:08:48.023Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-20T23:08:48.293Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-01-20T23:08:48.465Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-01-20T23:08:48.550Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-20T23:08:48.642Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-20T23:08:48.728Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-20T23:08:48.836Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-20T23:08:48.938Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-20T23:08:49.031Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-20T23:08:49.130Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-20T23:08:49.215Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-20T23:08:49.301Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-20T23:08:49.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2021-01-20T23:08:49.474Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-20T23:08:49.572Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-20T23:08:49.659Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-20T23:08:49.745Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-20T23:08:49.854Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-20T23:08:49.941Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-20T23:08:50.030Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-20T23:08:50.159Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-20T23:08:50.260Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-20T23:08:50.363Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-20T23:08:50.466Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-20T23:08:50.577Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-20T23:08:50.667Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-20T23:08:50.760Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-20T23:08:50.876Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-20T23:08:50.962Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-75 [Pipeline] echo [2021-01-20T23:08:51.067Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-75 [Pipeline] echo [2021-01-20T23:08:51.154Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-75 [Pipeline] echo [2021-01-20T23:08:51.251Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7fd803e86ba6ea3066bf9279466b3a00cca402b7 [Pipeline] echo [2021-01-20T23:08:51.375Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7fd803e [Pipeline] echo [2021-01-20T23:08:51.489Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-20T23:08:51.725Z] provisioning config files... [2021-01-20T23:08:51.757Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-75@tmp/config2588517319424583632tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:08:52.160Z] ---> docker-login.sh [2021-01-20T23:08:52.160Z] nexus3.edgexfoundry.org:10001 [2021-01-20T23:08:52.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:08:52.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:08:52.702Z] Configure a credential helper to remove this warning. See [2021-01-20T23:08:52.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:08:52.702Z] [2021-01-20T23:08:52.702Z] Login Succeeded [2021-01-20T23:08:52.702Z] nexus3.edgexfoundry.org:10002 [2021-01-20T23:08:52.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:08:52.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:08:52.967Z] Configure a credential helper to remove this warning. See [2021-01-20T23:08:52.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:08:52.967Z] [2021-01-20T23:08:52.967Z] Login Succeeded [2021-01-20T23:08:52.967Z] nexus3.edgexfoundry.org:10003 [2021-01-20T23:08:52.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:08:52.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:08:52.967Z] Configure a credential helper to remove this warning. See [2021-01-20T23:08:52.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:08:52.967Z] [2021-01-20T23:08:52.967Z] Login Succeeded [2021-01-20T23:08:52.967Z] nexus3.edgexfoundry.org:10004 [2021-01-20T23:08:53.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:08:53.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:08:53.231Z] Configure a credential helper to remove this warning. See [2021-01-20T23:08:53.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:08:53.231Z] [2021-01-20T23:08:53.231Z] Login Succeeded [2021-01-20T23:08:53.231Z] docker.io [2021-01-20T23:08:53.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:08:53.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:08:53.758Z] Configure a credential helper to remove this warning. See [2021-01-20T23:08:53.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:08:53.758Z] [2021-01-20T23:08:53.758Z] Login Succeeded [2021-01-20T23:08:53.758Z] ---> docker-login.sh ends [Pipeline] } [2021-01-20T23:08:53.769Z] 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 [2021-01-20T23:08:54.633Z] + git log --format=format:%s -1 7fd803e86ba6ea3066bf9279466b3a00cca402b7 [Pipeline] echo [2021-01-20T23:08:54.704Z] GIT_COMMIT: 7fd803e86ba6ea3066bf9279466b3a00cca402b7, Commit Message: Merge commit '9e4888f50a2a312870744f4f89808877d999d7c6' into HEAD [Pipeline] echo [2021-01-20T23:08:54.747Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:08:55.315Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T23:08:55.315Z] [2021-01-20T23:08:55.315Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:08:55.695Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T23:08:55.695Z] latest: Pulling from edgex-devops/git-semver [2021-01-20T23:08:55.695Z] 31603596830f: Pulling fs layer [2021-01-20T23:08:55.695Z] 2a8b12db71e7: Pulling fs layer [2021-01-20T23:08:55.695Z] 6ca5941a6612: Pulling fs layer [2021-01-20T23:08:55.695Z] ecc8261a40a4: Pulling fs layer [2021-01-20T23:08:55.695Z] ecc8261a40a4: Waiting [2021-01-20T23:08:55.695Z] 2a8b12db71e7: Verifying Checksum [2021-01-20T23:08:55.695Z] 2a8b12db71e7: Download complete [2021-01-20T23:08:55.961Z] 31603596830f: Verifying Checksum [2021-01-20T23:08:55.961Z] 31603596830f: Download complete [2021-01-20T23:08:55.961Z] ecc8261a40a4: Verifying Checksum [2021-01-20T23:08:55.961Z] ecc8261a40a4: Download complete [2021-01-20T23:08:55.961Z] 6ca5941a6612: Verifying Checksum [2021-01-20T23:08:55.961Z] 6ca5941a6612: Download complete [2021-01-20T23:08:56.236Z] 31603596830f: Pull complete [2021-01-20T23:08:56.505Z] 2a8b12db71e7: Pull complete [2021-01-20T23:08:57.470Z] 6ca5941a6612: Pull complete [2021-01-20T23:08:57.734Z] ecc8261a40a4: Pull complete [2021-01-20T23:08:57.734Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-20T23:08:57.997Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T23:08:57.997Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-20T23:08:58.117Z] prd-centos7-docker-4c-2g-21712 does not seem to be running inside a container [2021-01-20T23:08:58.175Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-75 -v /w/workspace/dgexfoundry_device-rest-go_PR-75:/w/workspace/dgexfoundry_device-rest-go_PR-75:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-75@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-75@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-20T23:09:00.949Z] $ docker top bae6820b04e87ebcb48bd12b0fc0d05ad5a008da9bbe97bc493f661bc7ebccf5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-20T23:09:01.297Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-20T23:09:01.297Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-20T23:09:01.631Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-20T23:09:01.635Z] $ docker exec bae6820b04e87ebcb48bd12b0fc0d05ad5a008da9bbe97bc493f661bc7ebccf5 ssh-agent [2021-01-20T23:09:01.896Z] SSH_AUTH_SOCK=/tmp/ssh-b2I0JB8OJecx/agent.11 [2021-01-20T23:09:01.896Z] SSH_AGENT_PID=17 [2021-01-20T23:09:01.908Z] Running ssh-add (command line suppressed) [2021-01-20T23:09:02.101Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-75@tmp/private_key_6291396647360716921.key (/w/workspace/dgexfoundry_device-rest-go_PR-75@tmp/private_key_6291396647360716921.key) [2021-01-20T23:09:02.162Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-20T23:09:02.523Z] + git tag --points-at HEAD [Pipeline] } [2021-01-20T23:09:02.546Z] $ docker exec --env ******** --env ******** bae6820b04e87ebcb48bd12b0fc0d05ad5a008da9bbe97bc493f661bc7ebccf5 ssh-agent -k [2021-01-20T23:09:02.686Z] unset SSH_AUTH_SOCK; [2021-01-20T23:09:02.686Z] unset SSH_AGENT_PID; [2021-01-20T23:09:02.686Z] echo Agent pid 17 killed; [2021-01-20T23:09:02.738Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-20T23:09:02.955Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-20T23:09:02.955Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-20T23:09:03.298Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-20T23:09:03.302Z] $ docker exec bae6820b04e87ebcb48bd12b0fc0d05ad5a008da9bbe97bc493f661bc7ebccf5 ssh-agent [2021-01-20T23:09:03.559Z] SSH_AUTH_SOCK=/tmp/ssh-MnlGVBTZbXZR/agent.45 [2021-01-20T23:09:03.559Z] SSH_AGENT_PID=51 [2021-01-20T23:09:03.566Z] Running ssh-add (command line suppressed) [2021-01-20T23:09:03.713Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-75@tmp/private_key_4684437503331953284.key (/w/workspace/dgexfoundry_device-rest-go_PR-75@tmp/private_key_4684437503331953284.key) [2021-01-20T23:09:03.774Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-20T23:09:04.109Z] + git semver init [2021-01-20T23:09:04.109Z] # -> Open(): unable to determine branch for HEAD [2021-01-20T23:09:04.109Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-75/.git [2021-01-20T23:09:04.109Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-75 [2021-01-20T23:09:04.109Z] # $SEMVER_REMOTE_NAME = origin [2021-01-20T23:09:04.109Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-20T23:09:04.109Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-20T23:09:04.109Z] # $SEMVER_BRANCH = PR-75 [2021-01-20T23:09:04.109Z] # $SEMVER_TEMP = /tmp/semver-573047858 [2021-01-20T23:09:04.109Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-01-20T23:09:06.042Z] # '/tmp/semver-573047858' -> '/w/workspace/dgexfoundry_device-rest-go_PR-75/.semver' [2021-01-20T23:09:06.042Z] # -> Force: false [2021-01-20T23:09:06.042Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-75/.semver [Pipeline] } [2021-01-20T23:09:06.056Z] $ docker exec --env ******** --env ******** bae6820b04e87ebcb48bd12b0fc0d05ad5a008da9bbe97bc493f661bc7ebccf5 ssh-agent -k [2021-01-20T23:09:06.191Z] unset SSH_AUTH_SOCK; [2021-01-20T23:09:06.191Z] unset SSH_AGENT_PID; [2021-01-20T23:09:06.191Z] echo Agent pid 51 killed; [2021-01-20T23:09:06.247Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-20T23:09:06.731Z] + git semver [Pipeline] } [2021-01-20T23:09:06.757Z] $ docker stop --time=1 bae6820b04e87ebcb48bd12b0fc0d05ad5a008da9bbe97bc493f661bc7ebccf5 [2021-01-20T23:09:08.286Z] $ docker rm -f bae6820b04e87ebcb48bd12b0fc0d05ad5a008da9bbe97bc493f661bc7ebccf5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-20T23:09:08.790Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-20T23:09:09.201Z] Stashed 1 file(s) [Pipeline] echo [2021-01-20T23:09:09.204Z] [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 [2021-01-20T23:09:24.743Z] Still waiting to schedule task [2021-01-20T23:09:24.744Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-20T23:09:24.746Z] Still waiting to schedule task [2021-01-20T23:09:24.746Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-01-20T23:10:16.699Z] Running on prd-centos7-docker-4c-2g-21714 in /w/workspace/dgexfoundry_device-rest-go_PR-75 [Pipeline] { [Pipeline] ws [2021-01-20T23:10:16.754Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-01-20T23:10:25.337Z] using credential edgex-jenkins-ssh [2021-01-20T23:10:25.447Z] Cloning the remote Git repository [2021-01-20T23:10:25.508Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-01-20T23:10:25.607Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-01-20T23:10:25.753Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-20T23:10:25.753Z] > git --version # timeout=10 [2021-01-20T23:10:25.808Z] > git --version # 'git version 2.24.3' [2021-01-20T23:10:25.809Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T23:10:25.919Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T23:10:27.392Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-20T23:10:27.452Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T23:10:27.527Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-20T23:10:27.600Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-20T23:10:27.600Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T23:10:28.093Z] Merging remotes/origin/master commit 9e4888f50a2a312870744f4f89808877d999d7c6 into PR head commit 668eef0d26df75f2028b0bd35b6bb5025555581e [2021-01-20T23:10:28.642Z] Merge succeeded, producing 25530dea3a71ffd99a65e2726615af25802baaa7 [2021-01-20T23:10:28.642Z] Checking out Revision 25530dea3a71ffd99a65e2726615af25802baaa7 (PR-75) [2021-01-20T23:10:27.610Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/75/head:refs/remotes/origin/PR-75 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-20T23:10:28.120Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T23:10:28.169Z] > git checkout -f 668eef0d26df75f2028b0bd35b6bb5025555581e # timeout=10 [2021-01-20T23:10:28.324Z] > git remote # timeout=10 [2021-01-20T23:10:28.424Z] > git config --get remote.origin.url # timeout=10 [2021-01-20T23:10:28.504Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T23:10:28.537Z] > git merge 9e4888f50a2a312870744f4f89808877d999d7c6 # timeout=10 [2021-01-20T23:10:28.620Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-20T23:10:28.656Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T23:10:28.690Z] > git checkout -f 25530dea3a71ffd99a65e2726615af25802baaa7 # timeout=10 [2021-01-20T23:10:34.501Z] Commit message: "Merge commit '9e4888f50a2a312870744f4f89808877d999d7c6' into HEAD" [2021-01-20T23:10:34.540Z] > git rev-list --no-walk 668eef0d26df75f2028b0bd35b6bb5025555581e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-20T23:10:36.446Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-20T23:10:36.972Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-20T23:10:37.419Z] + sudo service docker restart [2021-01-20T23:10:37.419Z] + true [2021-01-20T23:10:37.419Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-20T23:10:40.636Z] provisioning config files... [2021-01-20T23:10:40.733Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config5526128419850924214tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:10:41.315Z] ---> docker-login.sh [2021-01-20T23:10:41.315Z] nexus3.edgexfoundry.org:10001 [2021-01-20T23:10:42.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:10:42.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:10:42.777Z] Configure a credential helper to remove this warning. See [2021-01-20T23:10:42.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:10:42.777Z] [2021-01-20T23:10:42.777Z] Login Succeeded [2021-01-20T23:10:42.777Z] nexus3.edgexfoundry.org:10002 [2021-01-20T23:10:43.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:10:43.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:10:43.411Z] Configure a credential helper to remove this warning. See [2021-01-20T23:10:43.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:10:43.411Z] [2021-01-20T23:10:43.411Z] Login Succeeded [2021-01-20T23:10:43.411Z] nexus3.edgexfoundry.org:10003 [2021-01-20T23:10:43.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:10:43.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:10:43.987Z] Configure a credential helper to remove this warning. See [2021-01-20T23:10:43.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:10:43.987Z] [2021-01-20T23:10:43.987Z] Login Succeeded [2021-01-20T23:10:43.987Z] nexus3.edgexfoundry.org:10004 [2021-01-20T23:10:44.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:10:44.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:10:44.572Z] Configure a credential helper to remove this warning. See [2021-01-20T23:10:44.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:10:44.572Z] [2021-01-20T23:10:44.572Z] Login Succeeded [2021-01-20T23:10:44.572Z] docker.io [2021-01-20T23:10:44.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:10:45.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:10:45.457Z] Configure a credential helper to remove this warning. See [2021-01-20T23:10:45.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:10:45.457Z] [2021-01-20T23:10:45.457Z] Login Succeeded [2021-01-20T23:10:45.457Z] ---> docker-login.sh ends [Pipeline] } [2021-01-20T23:10:45.493Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-20T23:10:46.370Z] ========================================================= [2021-01-20T23:10:46.370Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-20T23:10:46.370Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:10:46.877Z] + 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 . [2021-01-20T23:10:47.204Z] Sending build context to Docker daemon 89.6kB [2021-01-20T23:10:47.499Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-01-20T23:10:47.499Z] Step 2/10 : FROM ${BASE} [2021-01-20T23:10:47.791Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-20T23:10:47.791Z] 188c0c94c7c5: Pulling fs layer [2021-01-20T23:10:47.791Z] 0ef7d3d256c8: Pulling fs layer [2021-01-20T23:10:47.791Z] de9db76c5a1d: Pulling fs layer [2021-01-20T23:10:47.791Z] bca2f99d35d6: Pulling fs layer [2021-01-20T23:10:47.791Z] 93359f2a8cfa: Pulling fs layer [2021-01-20T23:10:47.791Z] 7c6f9722023f: Pulling fs layer [2021-01-20T23:10:47.791Z] a35cf1a2eb13: Pulling fs layer [2021-01-20T23:10:47.791Z] bca2f99d35d6: Waiting [2021-01-20T23:10:47.791Z] 93359f2a8cfa: Waiting [2021-01-20T23:10:47.791Z] 7c6f9722023f: Waiting [2021-01-20T23:10:47.791Z] a35cf1a2eb13: Waiting [2021-01-20T23:10:47.791Z] de9db76c5a1d: Verifying Checksum [2021-01-20T23:10:47.791Z] de9db76c5a1d: Download complete [2021-01-20T23:10:48.074Z] 0ef7d3d256c8: Verifying Checksum [2021-01-20T23:10:48.074Z] 0ef7d3d256c8: Download complete [2021-01-20T23:10:48.074Z] 93359f2a8cfa: Download complete [2021-01-20T23:10:48.522Z] 7c6f9722023f: Verifying Checksum [2021-01-20T23:10:48.522Z] 7c6f9722023f: Download complete [2021-01-20T23:10:48.522Z] 188c0c94c7c5: Verifying Checksum [2021-01-20T23:10:48.522Z] 188c0c94c7c5: Download complete [2021-01-20T23:10:51.333Z] 188c0c94c7c5: Pull complete [2021-01-20T23:10:52.520Z] 0ef7d3d256c8: Pull complete [2021-01-20T23:10:52.830Z] de9db76c5a1d: Pull complete [2021-01-20T23:10:56.499Z] a35cf1a2eb13: Verifying Checksum [2021-01-20T23:10:56.499Z] a35cf1a2eb13: Download complete [2021-01-20T23:10:59.972Z] bca2f99d35d6: Verifying Checksum [2021-01-20T23:10:59.972Z] bca2f99d35d6: Download complete [2021-01-20T23:11:15.560Z] bca2f99d35d6: Pull complete [2021-01-20T23:11:15.560Z] 93359f2a8cfa: Pull complete [2021-01-20T23:11:15.560Z] 7c6f9722023f: Pull complete [2021-01-20T23:11:24.101Z] a35cf1a2eb13: Pull complete [2021-01-20T23:11:24.101Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-20T23:11:24.101Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-20T23:11:24.101Z] ---> a62c8e92a672 [2021-01-20T23:11:24.101Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-01-20T23:11:24.101Z] ---> Running in 98b471c2fbc4 [2021-01-20T23:11:24.101Z] Removing intermediate container 98b471c2fbc4 [2021-01-20T23:11:24.101Z] ---> f75199f949a2 [2021-01-20T23:11:24.101Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-01-20T23:11:24.101Z] ---> Running in c4d532181130 [2021-01-20T23:11:24.101Z] Removing intermediate container c4d532181130 [2021-01-20T23:11:24.101Z] ---> a56fe79d7804 [2021-01-20T23:11:24.101Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-20T23:11:24.101Z] ---> Running in 02b81e5c617a [2021-01-20T23:11:24.391Z] Removing intermediate container 02b81e5c617a [2021-01-20T23:11:24.391Z] ---> bb1c54a70a68 [2021-01-20T23:11:24.391Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-20T23:11:24.677Z] ---> Running in 1eee076d7bce [2021-01-20T23:11:26.784Z] Removing intermediate container 1eee076d7bce [2021-01-20T23:11:26.784Z] ---> e3d239a57be7 [2021-01-20T23:11:26.784Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-20T23:11:26.784Z] ---> Running in 425b64c3b9f9 [2021-01-20T23:11:28.948Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-20T23:11:29.571Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-20T23:11:30.166Z] OK: 166 MiB in 39 packages [2021-01-20T23:11:31.334Z] Removing intermediate container 425b64c3b9f9 [2021-01-20T23:11:31.334Z] ---> b4adfeccd108 [2021-01-20T23:11:31.334Z] Step 8/10 : WORKDIR /device-rest-go [2021-01-20T23:11:31.334Z] ---> Running in 28f299203f47 [2021-01-20T23:11:31.617Z] Removing intermediate container 28f299203f47 [2021-01-20T23:11:31.617Z] ---> 1c5ffff9fe1a [2021-01-20T23:11:31.617Z] Step 9/10 : COPY . . [2021-01-20T23:11:32.660Z] ---> 1633364e2993 [2021-01-20T23:11:32.660Z] Step 10/10 : RUN go mod download [2021-01-20T23:11:32.660Z] ---> Running in ba5b373f1c0d [2021-01-20T23:11:47.229Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-21717 in /w/workspace/dgexfoundry_device-rest-go_PR-75 [Pipeline] { [Pipeline] ws [2021-01-20T23:11:47.325Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-01-20T23:11:52.538Z] using credential edgex-jenkins-ssh [2021-01-20T23:11:52.595Z] Cloning the remote Git repository [2021-01-20T23:11:52.676Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-01-20T23:11:52.808Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-01-20T23:11:52.876Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-20T23:11:52.877Z] > git --version # timeout=10 [2021-01-20T23:11:52.902Z] > git --version # 'git version 2.17.1' [2021-01-20T23:11:52.903Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T23:11:52.987Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T23:11:54.824Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-20T23:11:54.846Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T23:11:54.889Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-20T23:11:54.946Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-20T23:11:54.947Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T23:11:54.964Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/75/head:refs/remotes/origin/PR-75 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-20T23:11:55.443Z] Merging remotes/origin/master commit 9e4888f50a2a312870744f4f89808877d999d7c6 into PR head commit 668eef0d26df75f2028b0bd35b6bb5025555581e [2021-01-20T23:11:55.748Z] Merge succeeded, producing d71e9e68c39551cbfbc0f5235739c7248f82a609 [2021-01-20T23:11:55.749Z] Checking out Revision d71e9e68c39551cbfbc0f5235739c7248f82a609 (PR-75) [2021-01-20T23:11:55.467Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T23:11:55.482Z] > git checkout -f 668eef0d26df75f2028b0bd35b6bb5025555581e # timeout=10 [2021-01-20T23:11:55.595Z] > git remote # timeout=10 [2021-01-20T23:11:55.623Z] > git config --get remote.origin.url # timeout=10 [2021-01-20T23:11:55.656Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T23:11:55.672Z] > git merge 9e4888f50a2a312870744f4f89808877d999d7c6 # timeout=10 [2021-01-20T23:11:55.730Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-20T23:11:55.759Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T23:11:55.775Z] > git checkout -f d71e9e68c39551cbfbc0f5235739c7248f82a609 # timeout=10 [2021-01-20T23:12:00.728Z] Commit message: "Merge commit '9e4888f50a2a312870744f4f89808877d999d7c6' into HEAD" [2021-01-20T23:12:00.738Z] > git rev-list --no-walk 668eef0d26df75f2028b0bd35b6bb5025555581e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-20T23:12:02.583Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-20T23:12:03.027Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-20T23:12:03.376Z] + + true [2021-01-20T23:12:03.376Z] sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-20T23:12:05.445Z] provisioning config files... [2021-01-20T23:12:05.502Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config1018415320465104855tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:12:05.705Z] Removing intermediate container ba5b373f1c0d [2021-01-20T23:12:05.705Z] ---> 026b2a563629 [2021-01-20T23:12:05.705Z] Successfully built 026b2a563629 [2021-01-20T23:12:05.705Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:12:05.945Z] ---> docker-login.sh [2021-01-20T23:12:05.945Z] nexus3.edgexfoundry.org:10001 [2021-01-20T23:12:06.119Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-20T23:12:06.390Z] . [Pipeline] withDockerContainer [2021-01-20T23:12:06.767Z] prd-centos7-docker-4c-2g-21714 does not seem to be running inside a container [2021-01-20T23:12:06.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:12:06.975Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-20T23:12:07.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:12:07.538Z] Configure a credential helper to remove this warning. See [2021-01-20T23:12:07.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:12:07.538Z] [2021-01-20T23:12:07.538Z] Login Succeeded [2021-01-20T23:12:07.538Z] nexus3.edgexfoundry.org:10002 [2021-01-20T23:12:07.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:12:08.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:12:08.093Z] Configure a credential helper to remove this warning. See [2021-01-20T23:12:08.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:12:08.093Z] [2021-01-20T23:12:08.093Z] Login Succeeded [2021-01-20T23:12:08.093Z] nexus3.edgexfoundry.org:10003 [2021-01-20T23:12:08.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:12:08.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:12:08.644Z] Configure a credential helper to remove this warning. See [2021-01-20T23:12:08.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:12:08.644Z] [2021-01-20T23:12:08.644Z] Login Succeeded [2021-01-20T23:12:08.644Z] nexus3.edgexfoundry.org:10004 [2021-01-20T23:12:08.798Z] $ docker top a53ea6d71e292e733db33b7adeb7a367ce978c74632e3e38327e059ae5a14bcf -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T23:12:09.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:12:09.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:12:09.251Z] Configure a credential helper to remove this warning. See [2021-01-20T23:12:09.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:12:09.251Z] [2021-01-20T23:12:09.251Z] Login Succeeded [2021-01-20T23:12:09.251Z] docker.io [2021-01-20T23:12:09.548Z] + go version [2021-01-20T23:12:09.603Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-20T23:12:09.657Z] $ docker stop --time=1 a53ea6d71e292e733db33b7adeb7a367ce978c74632e3e38327e059ae5a14bcf [2021-01-20T23:12:09.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:12:10.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:12:10.124Z] Configure a credential helper to remove this warning. See [2021-01-20T23:12:10.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:12:10.124Z] [2021-01-20T23:12:10.124Z] Login Succeeded [2021-01-20T23:12:10.124Z] ---> docker-login.sh ends [2021-01-20T23:12:11.444Z] $ docker rm -f a53ea6d71e292e733db33b7adeb7a367ce978c74632e3e38327e059ae5a14bcf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2021-01-20T23:12:11.659Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // wrap [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // withEnv [Pipeline] unstash [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] echo [2021-01-20T23:12:12.281Z] ========================================================= [2021-01-20T23:12:12.281Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-20T23:12:12.281Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:12:12.469Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-20T23:12:12.469Z] . [Pipeline] withDockerContainer [2021-01-20T23:12:12.686Z] + 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 . [2021-01-20T23:12:12.686Z] Sending build context to Docker daemon 89.6kB [2021-01-20T23:12:12.726Z] prd-centos7-docker-4c-2g-21714 does not seem to be running inside a container [2021-01-20T23:12:12.963Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-01-20T23:12:12.963Z] Step 2/10 : FROM ${BASE} [2021-01-20T23:12:12.974Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-20T23:12:13.244Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-20T23:12:13.244Z] 5f621e34cdf4: Pulling fs layer [2021-01-20T23:12:13.244Z] a4357932f1b6: Pulling fs layer [2021-01-20T23:12:13.244Z] 18c013af1878: Pulling fs layer [2021-01-20T23:12:13.244Z] 00ac8860ef70: Pulling fs layer [2021-01-20T23:12:13.244Z] 63d7cb157983: Pulling fs layer [2021-01-20T23:12:13.244Z] b116817d02f9: Pulling fs layer [2021-01-20T23:12:13.244Z] 745a02a5169b: Pulling fs layer [2021-01-20T23:12:13.244Z] 00ac8860ef70: Waiting [2021-01-20T23:12:13.244Z] 63d7cb157983: Waiting [2021-01-20T23:12:13.244Z] b116817d02f9: Waiting [2021-01-20T23:12:13.244Z] 745a02a5169b: Waiting [2021-01-20T23:12:13.244Z] 18c013af1878: Verifying Checksum [2021-01-20T23:12:13.244Z] 18c013af1878: Download complete [2021-01-20T23:12:13.244Z] a4357932f1b6: Verifying Checksum [2021-01-20T23:12:13.244Z] a4357932f1b6: Download complete [2021-01-20T23:12:13.244Z] 63d7cb157983: Verifying Checksum [2021-01-20T23:12:13.244Z] 63d7cb157983: Download complete [2021-01-20T23:12:13.244Z] b116817d02f9: Download complete [2021-01-20T23:12:13.244Z] 5f621e34cdf4: Verifying Checksum [2021-01-20T23:12:13.244Z] 5f621e34cdf4: Download complete [2021-01-20T23:12:13.851Z] 5f621e34cdf4: Pull complete [2021-01-20T23:12:14.471Z] a4357932f1b6: Pull complete [2021-01-20T23:12:14.530Z] $ docker top 114d0731de88a8f29801a817c08446ba045c2e68bdc2293ab1594d694249b9db -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T23:12:15.080Z] 18c013af1878: Pull complete [2021-01-20T23:12:15.863Z] + make test [2021-01-20T23:12:15.863Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-01-20T23:12:16.535Z] 745a02a5169b: Verifying Checksum [2021-01-20T23:12:16.535Z] 745a02a5169b: Download complete [2021-01-20T23:12:17.522Z] 00ac8860ef70: Verifying Checksum [2021-01-20T23:12:17.522Z] 00ac8860ef70: Download complete [2021-01-20T23:12:17.906Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-01-20T23:12:27.708Z] 00ac8860ef70: Pull complete [2021-01-20T23:12:27.708Z] 63d7cb157983: Pull complete [2021-01-20T23:12:27.708Z] b116817d02f9: Pull complete [2021-01-20T23:12:31.134Z] 745a02a5169b: Pull complete [2021-01-20T23:12:31.134Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-20T23:12:31.134Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-20T23:12:31.134Z] ---> b7e6874047d6 [2021-01-20T23:12:31.134Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-01-20T23:12:34.581Z] ---> Running in 67fa22eb3856 [2021-01-20T23:12:34.581Z] Removing intermediate container 67fa22eb3856 [2021-01-20T23:12:34.581Z] ---> 086457dcb965 [2021-01-20T23:12:34.581Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-01-20T23:12:34.867Z] ---> Running in 822c34901050 [2021-01-20T23:12:35.142Z] Removing intermediate container 822c34901050 [2021-01-20T23:12:35.142Z] ---> 954c62246326 [2021-01-20T23:12:35.142Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-20T23:12:35.415Z] ---> Running in a38eba16f010 [2021-01-20T23:12:35.689Z] Removing intermediate container a38eba16f010 [2021-01-20T23:12:35.689Z] ---> fcfa420d69a4 [2021-01-20T23:12:35.689Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-20T23:12:35.967Z] ---> Running in ed86071bf3ae [2021-01-20T23:12:38.622Z] Removing intermediate container ed86071bf3ae [2021-01-20T23:12:38.622Z] ---> 7d539d18ef28 [2021-01-20T23:12:38.622Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-20T23:12:38.622Z] ---> Running in daef0158c80a [2021-01-20T23:12:39.604Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-20T23:12:41.037Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-20T23:12:42.027Z] OK: 142 MiB in 39 packages [2021-01-20T23:12:43.484Z] Removing intermediate container daef0158c80a [2021-01-20T23:12:43.484Z] ---> 8a74c53b457f [2021-01-20T23:12:43.484Z] Step 8/10 : WORKDIR /device-rest-go [2021-01-20T23:12:43.484Z] ---> Running in fd76307c1391 [2021-01-20T23:12:44.076Z] Removing intermediate container fd76307c1391 [2021-01-20T23:12:44.076Z] ---> b3f3bb156abc [2021-01-20T23:12:44.076Z] Step 9/10 : COPY . . [2021-01-20T23:12:44.676Z] ---> 17ca136205ad [2021-01-20T23:12:44.676Z] Step 10/10 : RUN go mod download [2021-01-20T23:12:44.676Z] ---> Running in b7f6f5e93f98 [2021-01-20T23:12:45.922Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-01-20T23:12:45.922Z] ok github.com/edgexfoundry/device-rest-go/driver 0.086s coverage: 56.3% of statements [2021-01-20T23:12:45.922Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-20T23:12:51.608Z] gofmt -l . [2021-01-20T23:12:51.608Z] [ "`gofmt -l .`" = "" ] [2021-01-20T23:12:51.608Z] ./bin/test-go-mod-tidy.sh [2021-01-20T23:12:52.604Z] ./bin/test-attribution-txt.sh [2021-01-20T23:12:53.677Z] An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add [2021-01-20T23:12:53.677Z] make: *** [Makefile:28: test] Error 1 [Pipeline] } [2021-01-20T23:12:53.703Z] $ docker stop --time=1 114d0731de88a8f29801a817c08446ba045c2e68bdc2293ab1594d694249b9db [2021-01-20T23:12:56.266Z] $ docker rm -f 114d0731de88a8f29801a817c08446ba045c2e68bdc2293ab1594d694249b9db [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] } [2021-01-20T23:12:58.160Z] Failed in branch amd64 [2021-01-20T23:13:11.526Z] Removing intermediate container b7f6f5e93f98 [2021-01-20T23:13:11.527Z] ---> a893ce62eabf [2021-01-20T23:13:11.527Z] Successfully built a893ce62eabf [2021-01-20T23:13:11.527Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:13:11.877Z] + docker inspect -f . ci-base-image-arm64 [2021-01-20T23:13:11.877Z] . [Pipeline] withDockerContainer [2021-01-20T23:13:12.120Z] prd-ubuntu18.04-docker-arm64-4c-16g-21717 does not seem to be running inside a container [2021-01-20T23:13:12.212Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-20T23:13:13.846Z] $ docker top bb5c484e348175c6d0f29b4c1f9dc7fda3963b5e3a102d62d49b54ffd5e30108 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T23:13:14.901Z] + go version [2021-01-20T23:13:14.901Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-20T23:13:14.923Z] $ docker stop --time=1 bb5c484e348175c6d0f29b4c1f9dc7fda3963b5e3a102d62d49b54ffd5e30108 [2021-01-20T23:13:16.827Z] $ docker rm -f bb5c484e348175c6d0f29b4c1f9dc7fda3963b5e3a102d62d49b54ffd5e30108 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:13:17.904Z] + docker inspect -f . ci-base-image-arm64 [2021-01-20T23:13:17.905Z] . [Pipeline] withDockerContainer [2021-01-20T23:13:18.184Z] prd-ubuntu18.04-docker-arm64-4c-16g-21717 does not seem to be running inside a container [2021-01-20T23:13:18.272Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-20T23:13:19.885Z] $ docker top ac66d5118dac231ad5f9c0f861190c2aea9261d6ea8c074a14eaf8e3791e506e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T23:13:20.939Z] + make test [2021-01-20T23:13:20.939Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-01-20T23:13:21.928Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-01-20T23:14:01.032Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-01-20T23:14:01.032Z] ok github.com/edgexfoundry/device-rest-go/driver 0.054s coverage: 56.3% of statements [2021-01-20T23:14:01.032Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-20T23:14:07.783Z] gofmt -l . [2021-01-20T23:14:07.784Z] [ "`gofmt -l .`" = "" ] [2021-01-20T23:14:07.784Z] ./bin/test-go-mod-tidy.sh [2021-01-20T23:14:07.784Z] ./bin/test-attribution-txt.sh [2021-01-20T23:14:08.061Z] An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add [2021-01-20T23:14:08.061Z] make: *** [Makefile:28: test] Error 1 [Pipeline] } [2021-01-20T23:14:08.086Z] $ docker stop --time=1 ac66d5118dac231ad5f9c0f861190c2aea9261d6ea8c074a14eaf8e3791e506e [2021-01-20T23:14:10.558Z] $ docker rm -f ac66d5118dac231ad5f9c0f861190c2aea9261d6ea8c074a14eaf8e3791e506e [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] } [2021-01-20T23:14:12.401Z] 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 [2021-01-20T23:14:15.083Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:14:15.668Z] ---> package-listing.sh [2021-01-20T23:14:15.669Z] ++ facter osfamily [2021-01-20T23:14:15.669Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-20T23:14:15.669Z] + OS_FAMILY=redhat [2021-01-20T23:14:15.669Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-75 [2021-01-20T23:14:15.669Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-20T23:14:15.669Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-20T23:14:15.669Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-20T23:14:15.669Z] + PACKAGES=/tmp/packages_start.txt [2021-01-20T23:14:15.669Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-75 ']' [2021-01-20T23:14:15.669Z] + PACKAGES=/tmp/packages_end.txt [2021-01-20T23:14:15.669Z] + case "${OS_FAMILY}" in [2021-01-20T23:14:15.669Z] + rpm -qa [2021-01-20T23:14:15.669Z] + sort [2021-01-20T23:14:21.034Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-20T23:14:21.034Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-20T23:14:21.034Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-20T23:14:21.034Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-75 ']' [2021-01-20T23:14:21.034Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-75/archives/ [2021-01-20T23:14:21.034Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-75/archives/ [Pipeline] echo [2021-01-20T23:14:21.048Z] 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-75/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-20T23:14:21.345Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:14:21.655Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-20T23:14:21.655Z] [2021-01-20T23:14:21.655Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:14:22.080Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-20T23:14:22.080Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-20T23:14:22.080Z] df20fa9351a1: Pulling fs layer [2021-01-20T23:14:22.080Z] 36b3adc4ff6f: Pulling fs layer [2021-01-20T23:14:22.080Z] 8ad3a11d3b57: Pulling fs layer [2021-01-20T23:14:22.080Z] 46f8f816bc3b: Pulling fs layer [2021-01-20T23:14:22.080Z] 93b61091891f: Pulling fs layer [2021-01-20T23:14:22.080Z] 93b9cdb0e59b: Pulling fs layer [2021-01-20T23:14:22.080Z] 5e14af77c1be: Pulling fs layer [2021-01-20T23:14:22.080Z] 01666e4c0597: Pulling fs layer [2021-01-20T23:14:22.080Z] aa168da1d23b: Pulling fs layer [2021-01-20T23:14:22.080Z] 93b61091891f: Waiting [2021-01-20T23:14:22.080Z] 93b9cdb0e59b: Waiting [2021-01-20T23:14:22.080Z] 5e14af77c1be: Waiting [2021-01-20T23:14:22.080Z] 01666e4c0597: Waiting [2021-01-20T23:14:22.080Z] aa168da1d23b: Waiting [2021-01-20T23:14:22.080Z] 36b3adc4ff6f: Verifying Checksum [2021-01-20T23:14:22.080Z] 36b3adc4ff6f: Download complete [2021-01-20T23:14:22.345Z] 46f8f816bc3b: Verifying Checksum [2021-01-20T23:14:22.345Z] 46f8f816bc3b: Download complete [2021-01-20T23:14:22.345Z] df20fa9351a1: Verifying Checksum [2021-01-20T23:14:22.345Z] df20fa9351a1: Download complete [2021-01-20T23:14:22.345Z] 93b9cdb0e59b: Verifying Checksum [2021-01-20T23:14:22.345Z] 93b9cdb0e59b: Download complete [2021-01-20T23:14:22.345Z] 93b61091891f: Verifying Checksum [2021-01-20T23:14:22.345Z] 93b61091891f: Download complete [2021-01-20T23:14:22.345Z] 5e14af77c1be: Verifying Checksum [2021-01-20T23:14:22.345Z] 5e14af77c1be: Download complete [2021-01-20T23:14:22.345Z] 01666e4c0597: Verifying Checksum [2021-01-20T23:14:22.345Z] 01666e4c0597: Download complete [2021-01-20T23:14:22.923Z] df20fa9351a1: Pull complete [2021-01-20T23:14:22.923Z] 36b3adc4ff6f: Pull complete [2021-01-20T23:14:23.501Z] 8ad3a11d3b57: Download complete [2021-01-20T23:14:24.085Z] 8ad3a11d3b57: Pull complete [2021-01-20T23:14:24.085Z] 46f8f816bc3b: Pull complete [2021-01-20T23:14:24.669Z] 93b61091891f: Pull complete [2021-01-20T23:14:24.669Z] 93b9cdb0e59b: Pull complete [2021-01-20T23:14:26.069Z] aa168da1d23b: Verifying Checksum [2021-01-20T23:14:26.069Z] aa168da1d23b: Download complete [2021-01-20T23:14:26.069Z] 5e14af77c1be: Pull complete [2021-01-20T23:14:26.335Z] 01666e4c0597: Pull complete [2021-01-20T23:14:34.537Z] aa168da1d23b: Pull complete [2021-01-20T23:14:34.537Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-20T23:14:34.537Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-20T23:14:34.537Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-20T23:14:34.774Z] prd-centos7-docker-4c-2g-21712 does not seem to be running inside a container [2021-01-20T23:14:34.830Z] $ 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-75/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-75 -v /w/workspace/dgexfoundry_device-rest-go_PR-75:/w/workspace/dgexfoundry_device-rest-go_PR-75:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-75@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-75@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-20T23:14:38.713Z] $ docker top 3e7ab83ca86e47355d4ca418a795aeccdbd02862b0ad291ee9403ead527a2afb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T23:14:39.301Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-20T23:14:39.607Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-20T23:14:39.913Z] + ls /var/log/sa-host [2021-01-20T23:14:39.913Z] + sadf -c /var/log/sa-host/sa20 [2021-01-20T23:14:39.913Z] file_magic: OK [2021-01-20T23:14:39.913Z] HZ: Using current value: 100 [2021-01-20T23:14:39.913Z] file_header: OK [2021-01-20T23:14:39.913Z] 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 [2021-01-20T23:14:39.913Z] Statistics: [2021-01-20T23:14:39.913Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-20T23:14:39.913Z] File successfully converted to sysstat format version 12.2.1 [2021-01-20T23:14:39.913Z] + sadf -c /var/log/sa-host/sa23 [2021-01-20T23:14:39.913Z] file_magic: OK [2021-01-20T23:14:39.913Z] HZ: Using current value: 100 [2021-01-20T23:14:39.913Z] file_header: OK [2021-01-20T23:14:39.913Z] 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 [2021-01-20T23:14:39.913Z] Statistics: [2021-01-20T23:14:39.913Z] Hnuu...uuuununununu... [2021-01-20T23:14:39.913Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-20T23:14:40.147Z] provisioning config files... [2021-01-20T23:14:40.163Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-75@tmp/config4353603318809532149tmp [Pipeline] { [Pipeline] echo [2021-01-20T23:14:40.321Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:14:40.630Z] ---> create-netrc.sh [Pipeline] } [2021-01-20T23:14:40.640Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-20T23:14:40.978Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:14:41.281Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-20T23:14:41.292Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:14:41.591Z] ---> sudo-logs.sh [2021-01-20T23:14:41.592Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-20T23:14:41.605Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:14:41.910Z] ---> job-cost.sh [2021-01-20T23:14:41.910Z] lf-activate-venv: SKIPPING [2021-01-20T23:14:41.910Z] INFO: No Stack... [2021-01-20T23:14:42.860Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-20T23:14:43.439Z] INFO: Archiving Costs [Pipeline] echo [2021-01-20T23:14:43.452Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:14:43.753Z] ---> logs-deploy.sh [2021-01-20T23:14:43.753Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-75/2 [2021-01-20T23:14:43.753Z] INFO: archiving workspace using pattern(s): [2021-01-20T23:14:45.680Z] Archives upload complete. [2021-01-20T23:14:45.680Z] INFO: archiving logs to Nexus