Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 668eef0d26df75f2028b0bd35b6bb5025555581e+c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 (ed905dad6c94860e59987e77d033e5bf9fe534c6) 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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 ‘prd-centos7-blackbox-4c-2g-24093’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-25084’ is offline Running on prd-centos7-docker-4c-2g-25086 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 > 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 Merging remotes/origin/master commit c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 into PR head commit 668eef0d26df75f2028b0bd35b6bb5025555581e Merge succeeded, producing 65d1d972e34b5f73f4d8ca85a509c7e28cab2a20 Checking out Revision 65d1d972e34b5f73f4d8ca85a509c7e28cab2a20 (PR-75) > 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 c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 65d1d972e34b5f73f4d8ca85a509c7e28cab2a20 # timeout=10 Commit message: "Merge commit 'c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-04T23:08:09.891Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-04T23:08:10.175Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-04T23:08:10.296Z] ========================================================= [2021-02-04T23:08:10.296Z] EdgeX Global Pipelines Version Info [2021-02-04T23:08:10.296Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 7fd803e86ba6ea3066bf9279466b3a00cca402b7 # timeout=10 [2021-02-04T23:08:11.754Z] ------------------- [2021-02-04T23:08:11.754Z] stable info: [2021-02-04T23:08:11.754Z] ------------------- [2021-02-04T23:08:11.754Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-04T23:08:11.754Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-04T23:08:11.754Z] Message: update stable to v1.0.179 [2021-02-04T23:08:12.706Z] ------------------- [2021-02-04T23:08:12.706Z] experimental info: [2021-02-04T23:08:12.706Z] ------------------- [2021-02-04T23:08:12.706Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-04T23:08:12.706Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-04T23:08:12.706Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-04T23:08:12.972Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-02-04T23:08:13.058Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-02-04T23:08:13.141Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-04T23:08:13.252Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-04T23:08:13.339Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-04T23:08:13.465Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-04T23:08:13.565Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-04T23:08:13.648Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-04T23:08:13.738Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-02-04T23:08:13.827Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-04T23:08:13.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-04T23:08:13.996Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2021-02-04T23:08:14.083Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-04T23:08:14.163Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-04T23:08:14.249Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-04T23:08:14.336Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-02-04T23:08:14.450Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-04T23:08:14.588Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-04T23:08:14.690Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-04T23:08:14.774Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-04T23:08:14.859Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-02-04T23:08:14.944Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-02-04T23:08:15.030Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-04T23:08:15.118Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-04T23:08:15.283Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-04T23:08:15.380Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-04T23:08:15.465Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-04T23:08:15.565Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-75 [Pipeline] echo [2021-02-04T23:08:15.654Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-75 [Pipeline] echo [2021-02-04T23:08:15.743Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-75 [Pipeline] echo [2021-02-04T23:08:15.831Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 65d1d972e34b5f73f4d8ca85a509c7e28cab2a20 [Pipeline] echo [2021-02-04T23:08:15.927Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 65d1d97 [Pipeline] echo [2021-02-04T23:08:16.008Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-04T23:08:16.185Z] provisioning config files... [2021-02-04T23:08:16.216Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-75@tmp/config4789491544241377460tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-04T23:08:16.588Z] ---> docker-login.sh [2021-02-04T23:08:16.588Z] nexus3.edgexfoundry.org:10001 [2021-02-04T23:08:16.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T23:08:17.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T23:08:17.116Z] Configure a credential helper to remove this warning. See [2021-02-04T23:08:17.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T23:08:17.116Z] [2021-02-04T23:08:17.116Z] Login Succeeded [2021-02-04T23:08:17.116Z] nexus3.edgexfoundry.org:10002 [2021-02-04T23:08:17.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T23:08:17.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T23:08:17.116Z] Configure a credential helper to remove this warning. See [2021-02-04T23:08:17.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T23:08:17.116Z] [2021-02-04T23:08:17.116Z] Login Succeeded [2021-02-04T23:08:17.116Z] nexus3.edgexfoundry.org:10003 [2021-02-04T23:08:17.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T23:08:17.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T23:08:17.379Z] Configure a credential helper to remove this warning. See [2021-02-04T23:08:17.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T23:08:17.379Z] [2021-02-04T23:08:17.379Z] Login Succeeded [2021-02-04T23:08:17.379Z] nexus3.edgexfoundry.org:10004 [2021-02-04T23:08:17.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T23:08:17.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T23:08:17.643Z] Configure a credential helper to remove this warning. See [2021-02-04T23:08:17.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T23:08:17.643Z] [2021-02-04T23:08:17.643Z] Login Succeeded [2021-02-04T23:08:17.643Z] docker.io [2021-02-04T23:08:17.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T23:08:17.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T23:08:17.906Z] Configure a credential helper to remove this warning. See [2021-02-04T23:08:17.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T23:08:17.906Z] [2021-02-04T23:08:17.906Z] Login Succeeded [2021-02-04T23:08:17.906Z] ---> docker-login.sh ends [Pipeline] } [2021-02-04T23:08:17.916Z] 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-02-04T23:08:18.674Z] + git log --format=format:%s -1 65d1d972e34b5f73f4d8ca85a509c7e28cab2a20 [Pipeline] echo [2021-02-04T23:08:18.741Z] GIT_COMMIT: 65d1d972e34b5f73f4d8ca85a509c7e28cab2a20, Commit Message: Merge commit 'c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584' into HEAD [Pipeline] echo [2021-02-04T23:08:18.787Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-04T23:08:19.373Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T23:08:19.373Z] [2021-02-04T23:08:19.373Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-04T23:08:19.725Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T23:08:19.726Z] latest: Pulling from edgex-devops/git-semver [2021-02-04T23:08:19.726Z] 31603596830f: Pulling fs layer [2021-02-04T23:08:19.726Z] 2a8b12db71e7: Pulling fs layer [2021-02-04T23:08:19.726Z] 6ca5941a6612: Pulling fs layer [2021-02-04T23:08:19.726Z] ecc8261a40a4: Pulling fs layer [2021-02-04T23:08:19.726Z] ecc8261a40a4: Waiting [2021-02-04T23:08:19.726Z] 2a8b12db71e7: Verifying Checksum [2021-02-04T23:08:19.726Z] 2a8b12db71e7: Download complete [2021-02-04T23:08:19.987Z] 31603596830f: Verifying Checksum [2021-02-04T23:08:19.987Z] 31603596830f: Download complete [2021-02-04T23:08:19.987Z] ecc8261a40a4: Download complete [2021-02-04T23:08:19.987Z] 6ca5941a6612: Verifying Checksum [2021-02-04T23:08:19.987Z] 6ca5941a6612: Download complete [2021-02-04T23:08:20.250Z] 31603596830f: Pull complete [2021-02-04T23:08:20.518Z] 2a8b12db71e7: Pull complete [2021-02-04T23:08:21.094Z] 6ca5941a6612: Pull complete [2021-02-04T23:08:21.668Z] ecc8261a40a4: Pull complete [2021-02-04T23:08:21.668Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-04T23:08:21.668Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T23:08:21.668Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-04T23:08:21.772Z] prd-centos7-docker-4c-2g-25086 does not seem to be running inside a container [2021-02-04T23:08:21.826Z] $ 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-02-04T23:08:23.660Z] $ docker top 74a7dd46cf62af062fee3b165048448ff868d3959d6737009d1ee1086b1c297f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-04T23:08:23.994Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-04T23:08:23.994Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-04T23:08:24.211Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-04T23:08:24.214Z] $ docker exec 74a7dd46cf62af062fee3b165048448ff868d3959d6737009d1ee1086b1c297f ssh-agent [2021-02-04T23:08:24.379Z] SSH_AUTH_SOCK=/tmp/ssh-rrK9hDDfEo5v/agent.12 [2021-02-04T23:08:24.379Z] SSH_AGENT_PID=18 [2021-02-04T23:08:24.390Z] Running ssh-add (command line suppressed) [2021-02-04T23:08:24.512Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-75@tmp/private_key_2577314324359385902.key (/w/workspace/dgexfoundry_device-rest-go_PR-75@tmp/private_key_2577314324359385902.key) [2021-02-04T23:08:24.563Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-04T23:08:24.908Z] + git tag --points-at HEAD [Pipeline] } [2021-02-04T23:08:24.936Z] $ docker exec --env ******** --env ******** 74a7dd46cf62af062fee3b165048448ff868d3959d6737009d1ee1086b1c297f ssh-agent -k [2021-02-04T23:08:25.051Z] unset SSH_AUTH_SOCK; [2021-02-04T23:08:25.052Z] unset SSH_AGENT_PID; [2021-02-04T23:08:25.052Z] echo Agent pid 18 killed; [2021-02-04T23:08:25.099Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-04T23:08:25.242Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-04T23:08:25.242Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-04T23:08:25.402Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-04T23:08:25.405Z] $ docker exec 74a7dd46cf62af062fee3b165048448ff868d3959d6737009d1ee1086b1c297f ssh-agent [2021-02-04T23:08:25.571Z] SSH_AUTH_SOCK=/tmp/ssh-yywf2gcvZJ3e/agent.47 [2021-02-04T23:08:25.571Z] SSH_AGENT_PID=52 [2021-02-04T23:08:25.577Z] Running ssh-add (command line suppressed) [2021-02-04T23:08:25.693Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-75@tmp/private_key_1669500837658373303.key (/w/workspace/dgexfoundry_device-rest-go_PR-75@tmp/private_key_1669500837658373303.key) [2021-02-04T23:08:25.855Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-04T23:08:26.328Z] + git semver init [2021-02-04T23:08:26.328Z] # -> Open(): unable to determine branch for HEAD [2021-02-04T23:08:26.328Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-75/.git [2021-02-04T23:08:26.328Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-75 [2021-02-04T23:08:26.328Z] # $SEMVER_REMOTE_NAME = origin [2021-02-04T23:08:26.328Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-04T23:08:26.328Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-04T23:08:26.328Z] # $SEMVER_BRANCH = PR-75 [2021-02-04T23:08:26.328Z] # $SEMVER_TEMP = /tmp/semver-127006902 [2021-02-04T23:08:26.328Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-02-04T23:08:27.820Z] # '/tmp/semver-127006902' -> '/w/workspace/dgexfoundry_device-rest-go_PR-75/.semver' [2021-02-04T23:08:27.820Z] # -> Force: false [2021-02-04T23:08:27.820Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-75/.semver [Pipeline] } [2021-02-04T23:08:27.834Z] $ docker exec --env ******** --env ******** 74a7dd46cf62af062fee3b165048448ff868d3959d6737009d1ee1086b1c297f ssh-agent -k [2021-02-04T23:08:27.950Z] unset SSH_AUTH_SOCK; [2021-02-04T23:08:27.951Z] unset SSH_AGENT_PID; [2021-02-04T23:08:27.951Z] echo Agent pid 52 killed; [2021-02-04T23:08:28.003Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-04T23:08:28.470Z] + git semver [Pipeline] } [2021-02-04T23:08:28.489Z] $ docker stop --time=1 74a7dd46cf62af062fee3b165048448ff868d3959d6737009d1ee1086b1c297f [2021-02-04T23:08:29.892Z] $ docker rm -f 74a7dd46cf62af062fee3b165048448ff868d3959d6737009d1ee1086b1c297f [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-04T23:08:30.439Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-04T23:08:30.956Z] Stashed 1 file(s) [Pipeline] echo [2021-02-04T23:08:30.959Z] [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-02-04T23:08:46.479Z] Still waiting to schedule task [2021-02-04T23:08:46.479Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-02-04T23:08:46.481Z] Still waiting to schedule task [2021-02-04T23:08:46.481Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-25082’ [2021-02-04T23:10:59.260Z] Running on prd-centos7-docker-4c-2g-25089 in /w/workspace/dgexfoundry_device-rest-go_PR-75 [Pipeline] { [Pipeline] ws [2021-02-04T23:10:59.338Z] Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout [2021-02-04T23:11:08.425Z] using credential edgex-jenkins-ssh [2021-02-04T23:11:08.484Z] Cloning the remote Git repository [2021-02-04T23:11:08.620Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-02-04T23:11:08.768Z] > git init /w/workspace/device-rest-go/3 # timeout=10 [2021-02-04T23:11:08.950Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-02-04T23:11:08.950Z] > git --version # timeout=10 [2021-02-04T23:11:09.015Z] > git --version # 'git version 2.24.3' [2021-02-04T23:11:09.017Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T23:11:09.110Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-04T23:11:11.225Z] Merging remotes/origin/master commit c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 into PR head commit 668eef0d26df75f2028b0bd35b6bb5025555581e [2021-02-04T23:11:10.575Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-02-04T23:11:10.683Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-04T23:11:10.757Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-02-04T23:11:10.817Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-02-04T23:11:10.818Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T23:11:10.836Z] > 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-02-04T23:11:11.240Z] > git config core.sparsecheckout # timeout=10 [2021-02-04T23:11:11.257Z] > git checkout -f 668eef0d26df75f2028b0bd35b6bb5025555581e # timeout=10 [2021-02-04T23:11:11.346Z] > git remote # timeout=10 [2021-02-04T23:11:11.421Z] > git config --get remote.origin.url # timeout=10 [2021-02-04T23:11:11.490Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T23:11:11.512Z] > git merge c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 # timeout=10 [2021-02-04T23:11:11.724Z] Merge succeeded, producing c9e5ab8fa91438202a06ecbf412210ae4e3690ce [2021-02-04T23:11:11.724Z] Checking out Revision c9e5ab8fa91438202a06ecbf412210ae4e3690ce (PR-75) [2021-02-04T23:11:11.662Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-04T23:11:11.731Z] > git config core.sparsecheckout # timeout=10 [2021-02-04T23:11:11.772Z] > git checkout -f c9e5ab8fa91438202a06ecbf412210ae4e3690ce # timeout=10 [2021-02-04T23:11:16.940Z] Commit message: "Merge commit 'c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584' into HEAD" [2021-02-04T23:11:17.117Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-04T23:11:17.013Z] > git rev-list --no-walk 7fd803e86ba6ea3066bf9279466b3a00cca402b7 # timeout=10 [2021-02-04T23:11:19.629Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-04T23:11:20.031Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-04T23:11:20.405Z] + sudo service docker restart [2021-02-04T23:11:20.405Z] + true [2021-02-04T23:11:20.405Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-04T23:11:22.596Z] provisioning config files... [2021-02-04T23:11:22.636Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config6575083215558836952tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-04T23:11:23.292Z] ---> docker-login.sh [2021-02-04T23:11:23.292Z] nexus3.edgexfoundry.org:10001 [2021-02-04T23:11:24.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T23:11:24.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T23:11:24.806Z] Configure a credential helper to remove this warning. See [2021-02-04T23:11:24.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T23:11:24.807Z] [2021-02-04T23:11:24.807Z] Login Succeeded [2021-02-04T23:11:24.807Z] nexus3.edgexfoundry.org:10002 [2021-02-04T23:11:25.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T23:11:25.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T23:11:25.097Z] Configure a credential helper to remove this warning. See [2021-02-04T23:11:25.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T23:11:25.097Z] [2021-02-04T23:11:25.097Z] Login Succeeded [2021-02-04T23:11:25.097Z] nexus3.edgexfoundry.org:10003 [2021-02-04T23:11:25.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T23:11:25.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T23:11:25.731Z] Configure a credential helper to remove this warning. See [2021-02-04T23:11:25.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T23:11:25.731Z] [2021-02-04T23:11:25.731Z] Login Succeeded [2021-02-04T23:11:25.731Z] nexus3.edgexfoundry.org:10004 [2021-02-04T23:11:26.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T23:11:26.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T23:11:26.002Z] Configure a credential helper to remove this warning. See [2021-02-04T23:11:26.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T23:11:26.002Z] [2021-02-04T23:11:26.002Z] Login Succeeded [2021-02-04T23:11:26.002Z] docker.io [2021-02-04T23:11:26.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T23:11:27.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T23:11:27.095Z] Configure a credential helper to remove this warning. See [2021-02-04T23:11:27.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T23:11:27.095Z] [2021-02-04T23:11:27.095Z] Login Succeeded [2021-02-04T23:11:27.095Z] ---> docker-login.sh ends [Pipeline] } [2021-02-04T23:11:27.141Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-04T23:11:27.604Z] ========================================================= [2021-02-04T23:11:27.604Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-04T23:11:27.604Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-04T23:11:28.362Z] + 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-02-04T23:11:28.362Z] Sending build context to Docker daemon 89.09kB [2021-02-04T23:11:28.986Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-02-04T23:11:28.986Z] Step 2/10 : FROM ${BASE} [2021-02-04T23:11:28.986Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-04T23:11:28.986Z] 188c0c94c7c5: Pulling fs layer [2021-02-04T23:11:28.986Z] 0ef7d3d256c8: Pulling fs layer [2021-02-04T23:11:28.986Z] de9db76c5a1d: Pulling fs layer [2021-02-04T23:11:28.986Z] bca2f99d35d6: Pulling fs layer [2021-02-04T23:11:28.986Z] 93359f2a8cfa: Pulling fs layer [2021-02-04T23:11:28.986Z] 7c6f9722023f: Pulling fs layer [2021-02-04T23:11:28.986Z] a35cf1a2eb13: Pulling fs layer [2021-02-04T23:11:28.986Z] bca2f99d35d6: Waiting [2021-02-04T23:11:28.986Z] 7c6f9722023f: Waiting [2021-02-04T23:11:28.986Z] a35cf1a2eb13: Waiting [2021-02-04T23:11:28.986Z] 93359f2a8cfa: Waiting [2021-02-04T23:11:28.986Z] de9db76c5a1d: Verifying Checksum [2021-02-04T23:11:28.986Z] de9db76c5a1d: Download complete [2021-02-04T23:11:28.986Z] 0ef7d3d256c8: Verifying Checksum [2021-02-04T23:11:28.986Z] 0ef7d3d256c8: Download complete [2021-02-04T23:11:28.986Z] 93359f2a8cfa: Verifying Checksum [2021-02-04T23:11:28.986Z] 93359f2a8cfa: Download complete [2021-02-04T23:11:28.986Z] 7c6f9722023f: Download complete [2021-02-04T23:11:29.270Z] 188c0c94c7c5: Verifying Checksum [2021-02-04T23:11:29.270Z] 188c0c94c7c5: Download complete [2021-02-04T23:11:29.927Z] 188c0c94c7c5: Pull complete [2021-02-04T23:11:30.209Z] 0ef7d3d256c8: Pull complete [2021-02-04T23:11:30.487Z] de9db76c5a1d: Pull complete [2021-02-04T23:11:34.974Z] a35cf1a2eb13: Verifying Checksum [2021-02-04T23:11:34.974Z] a35cf1a2eb13: Download complete [2021-02-04T23:11:37.686Z] bca2f99d35d6: Verifying Checksum [2021-02-04T23:11:37.686Z] bca2f99d35d6: Download complete [2021-02-04T23:11:50.297Z] bca2f99d35d6: Pull complete [2021-02-04T23:11:50.297Z] 93359f2a8cfa: Pull complete [2021-02-04T23:11:50.297Z] 7c6f9722023f: Pull complete [2021-02-04T23:11:58.788Z] a35cf1a2eb13: Pull complete [2021-02-04T23:11:58.788Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-04T23:11:58.788Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-04T23:11:58.788Z] ---> a62c8e92a672 [2021-02-04T23:11:58.788Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-02-04T23:11:58.788Z] ---> Running in 57329082ee69 [2021-02-04T23:11:58.788Z] Removing intermediate container 57329082ee69 [2021-02-04T23:11:58.788Z] ---> 240464e984e8 [2021-02-04T23:11:58.788Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-02-04T23:11:58.788Z] ---> Running in f062ec36a5de [2021-02-04T23:11:58.788Z] Removing intermediate container f062ec36a5de [2021-02-04T23:11:58.788Z] ---> 8aaa0c5b6185 [2021-02-04T23:11:58.788Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-04T23:11:59.062Z] ---> Running in 997b86f1e1dc [2021-02-04T23:11:59.426Z] Removing intermediate container 997b86f1e1dc [2021-02-04T23:11:59.426Z] ---> e63e6e15a47d [2021-02-04T23:11:59.426Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-04T23:11:59.426Z] ---> Running in f1539b9cf2d2 [2021-02-04T23:12:02.179Z] Removing intermediate container f1539b9cf2d2 [2021-02-04T23:12:02.179Z] ---> 172c40f0ad6a [2021-02-04T23:12:02.179Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-02-04T23:12:02.179Z] ---> Running in eb27a33f2567 [2021-02-04T23:12:03.235Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-04T23:12:04.232Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-04T23:12:04.843Z] OK: 166 MiB in 39 packages [2021-02-04T23:12:05.446Z] Removing intermediate container eb27a33f2567 [2021-02-04T23:12:05.446Z] ---> 7abb5a71a384 [2021-02-04T23:12:05.446Z] Step 8/10 : WORKDIR /device-rest-go [2021-02-04T23:12:05.446Z] ---> Running in adcccb917485 [2021-02-04T23:12:06.108Z] Removing intermediate container adcccb917485 [2021-02-04T23:12:06.108Z] ---> 2a247f0a4359 [2021-02-04T23:12:06.108Z] Step 9/10 : COPY . . [2021-02-04T23:12:06.416Z] ---> f571137ea184 [2021-02-04T23:12:06.416Z] Step 10/10 : RUN go mod download [2021-02-04T23:12:06.706Z] ---> Running in 373aafb9bf85 [2021-02-04T23:12:23.445Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-25091 in /w/workspace/dgexfoundry_device-rest-go_PR-75 [Pipeline] { [Pipeline] ws [2021-02-04T23:12:23.499Z] Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout [2021-02-04T23:12:29.105Z] using credential edgex-jenkins-ssh [2021-02-04T23:12:29.160Z] Cloning the remote Git repository [2021-02-04T23:12:29.237Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-02-04T23:12:29.355Z] > git init /w/workspace/device-rest-go/3 # timeout=10 [2021-02-04T23:12:29.444Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-02-04T23:12:29.449Z] > git --version # timeout=10 [2021-02-04T23:12:29.470Z] > git --version # 'git version 2.17.1' [2021-02-04T23:12:29.472Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T23:12:29.535Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-04T23:12:31.762Z] Merging remotes/origin/master commit c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 into PR head commit 668eef0d26df75f2028b0bd35b6bb5025555581e [2021-02-04T23:12:32.025Z] Merge succeeded, producing cafbe5d62e0090285739d087d26baa210c390c20 [2021-02-04T23:12:32.025Z] Checking out Revision cafbe5d62e0090285739d087d26baa210c390c20 (PR-75) [2021-02-04T23:12:31.213Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-02-04T23:12:31.244Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-04T23:12:31.270Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-02-04T23:12:31.305Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-02-04T23:12:31.306Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T23:12:31.316Z] > 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-02-04T23:12:31.788Z] > git config core.sparsecheckout # timeout=10 [2021-02-04T23:12:31.817Z] > git checkout -f 668eef0d26df75f2028b0bd35b6bb5025555581e # timeout=10 [2021-02-04T23:12:31.909Z] > git remote # timeout=10 [2021-02-04T23:12:31.931Z] > git config --get remote.origin.url # timeout=10 [2021-02-04T23:12:31.954Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T23:12:31.965Z] > git merge c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 # timeout=10 [2021-02-04T23:12:32.015Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-04T23:12:32.043Z] > git config core.sparsecheckout # timeout=10 [2021-02-04T23:12:32.067Z] > git checkout -f cafbe5d62e0090285739d087d26baa210c390c20 # timeout=10 [2021-02-04T23:12:36.632Z] Commit message: "Merge commit 'c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584' into HEAD" [2021-02-04T23:12:36.665Z] First time build. Skipping changelog. [2021-02-04T23:12:36.648Z] > git rev-list --no-walk 7fd803e86ba6ea3066bf9279466b3a00cca402b7 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-04T23:12:38.151Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-04T23:12:38.600Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-04T23:12:38.971Z] + + truesudo [2021-02-04T23:12:38.971Z] service docker restart [2021-02-04T23:12:39.272Z] Removing intermediate container 373aafb9bf85 [2021-02-04T23:12:39.272Z] ---> eff3a9cbb448 [2021-02-04T23:12:39.272Z] Successfully built eff3a9cbb448 [2021-02-04T23:12:39.272Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-04T23:12:39.661Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-04T23:12:39.930Z] . [Pipeline] withDockerContainer [2021-02-04T23:12:40.478Z] prd-centos7-docker-4c-2g-25089 does not seem to be running inside a container [2021-02-04T23:12:40.768Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-04T23:12:42.355Z] $ docker top 9eca604c1410522c9d533ea6fd1f658f8bb55e5bc9f251486b59e2a9f9eb7d23 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] wrap [2021-02-04T23:12:42.879Z] provisioning config files... [2021-02-04T23:12:42.925Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config6651875769000099377tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-04T23:12:43.356Z] ---> docker-login.sh [2021-02-04T23:12:43.356Z] nexus3.edgexfoundry.org:10001 [2021-02-04T23:12:43.446Z] + go version [2021-02-04T23:12:43.446Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-04T23:12:43.474Z] $ docker stop --time=1 9eca604c1410522c9d533ea6fd1f658f8bb55e5bc9f251486b59e2a9f9eb7d23 [2021-02-04T23:12:44.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T23:12:44.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T23:12:44.622Z] Configure a credential helper to remove this warning. See [2021-02-04T23:12:44.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T23:12:44.622Z] [2021-02-04T23:12:44.622Z] Login Succeeded [2021-02-04T23:12:44.622Z] nexus3.edgexfoundry.org:10002 [2021-02-04T23:12:45.170Z] $ docker rm -f 9eca604c1410522c9d533ea6fd1f658f8bb55e5bc9f251486b59e2a9f9eb7d23 [2021-02-04T23:12:45.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T23:12:45.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T23:12:45.223Z] Configure a credential helper to remove this warning. See [2021-02-04T23:12:45.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T23:12:45.223Z] [2021-02-04T23:12:45.223Z] Login Succeeded [2021-02-04T23:12:45.223Z] nexus3.edgexfoundry.org:10003 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-04T23:12:45.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T23:12:45.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T23:12:45.828Z] Configure a credential helper to remove this warning. See [2021-02-04T23:12:45.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T23:12:45.828Z] [2021-02-04T23:12:45.828Z] Login Succeeded [2021-02-04T23:12:45.828Z] nexus3.edgexfoundry.org:10004 [2021-02-04T23:12:46.129Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-04T23:12:46.129Z] . [Pipeline] withDockerContainer [2021-02-04T23:12:46.372Z] prd-centos7-docker-4c-2g-25089 does not seem to be running inside a container [2021-02-04T23:12:46.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T23:12:46.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T23:12:46.428Z] Configure a credential helper to remove this warning. See [2021-02-04T23:12:46.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T23:12:46.428Z] [2021-02-04T23:12:46.428Z] Login Succeeded [2021-02-04T23:12:46.428Z] docker.io [2021-02-04T23:12:46.515Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-04T23:12:47.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T23:12:47.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T23:12:47.306Z] Configure a credential helper to remove this warning. See [2021-02-04T23:12:47.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T23:12:47.306Z] [2021-02-04T23:12:47.306Z] Login Succeeded [2021-02-04T23:12:47.306Z] ---> docker-login.sh ends [2021-02-04T23:12:47.639Z] $ docker top 40b8a26f837cadb9362e44421125f6f9a700b3f764dde76657c725841f4623a0 -eo pid,comm [Pipeline] { [Pipeline] } [2021-02-04T23:12:47.899Z] Deleting 1 temporary files [Pipeline] sh [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-04T23:12:48.425Z] ========================================================= [2021-02-04T23:12:48.425Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-04T23:12:48.425Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-04T23:12:48.616Z] + make test [2021-02-04T23:12:48.616Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-02-04T23:12:48.815Z] + 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-02-04T23:12:48.815Z] Sending build context to Docker daemon 89.09kB [2021-02-04T23:12:49.105Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-02-04T23:12:49.105Z] Step 2/10 : FROM ${BASE} [2021-02-04T23:12:49.389Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-04T23:12:49.389Z] 5f621e34cdf4: Pulling fs layer [2021-02-04T23:12:49.389Z] a4357932f1b6: Pulling fs layer [2021-02-04T23:12:49.389Z] 18c013af1878: Pulling fs layer [2021-02-04T23:12:49.389Z] 00ac8860ef70: Pulling fs layer [2021-02-04T23:12:49.389Z] 63d7cb157983: Pulling fs layer [2021-02-04T23:12:49.389Z] b116817d02f9: Pulling fs layer [2021-02-04T23:12:49.389Z] 745a02a5169b: Pulling fs layer [2021-02-04T23:12:49.389Z] 00ac8860ef70: Waiting [2021-02-04T23:12:49.389Z] 63d7cb157983: Waiting [2021-02-04T23:12:49.389Z] b116817d02f9: Waiting [2021-02-04T23:12:49.389Z] 745a02a5169b: Waiting [2021-02-04T23:12:49.389Z] 18c013af1878: Verifying Checksum [2021-02-04T23:12:49.389Z] 18c013af1878: Download complete [2021-02-04T23:12:49.389Z] a4357932f1b6: Verifying Checksum [2021-02-04T23:12:49.389Z] a4357932f1b6: Download complete [2021-02-04T23:12:49.389Z] 63d7cb157983: Download complete [2021-02-04T23:12:49.389Z] b116817d02f9: Verifying Checksum [2021-02-04T23:12:49.389Z] b116817d02f9: Download complete [2021-02-04T23:12:49.389Z] 5f621e34cdf4: Download complete [2021-02-04T23:12:50.386Z] 5f621e34cdf4: Pull complete [2021-02-04T23:12:50.670Z] a4357932f1b6: Pull complete [2021-02-04T23:12:50.678Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-02-04T23:12:51.277Z] 18c013af1878: Pull complete [2021-02-04T23:12:51.880Z] 745a02a5169b: Verifying Checksum [2021-02-04T23:12:53.357Z] 00ac8860ef70: Verifying Checksum [2021-02-04T23:12:53.357Z] 00ac8860ef70: Download complete [2021-02-04T23:13:03.548Z] 00ac8860ef70: Pull complete [2021-02-04T23:13:03.834Z] 63d7cb157983: Pull complete [2021-02-04T23:13:04.105Z] b116817d02f9: Pull complete [2021-02-04T23:13:07.519Z] 745a02a5169b: Pull complete [2021-02-04T23:13:07.519Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-04T23:13:07.519Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-04T23:13:07.519Z] ---> b7e6874047d6 [2021-02-04T23:13:07.519Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-02-04T23:13:10.196Z] ---> Running in 95a406b36617 [2021-02-04T23:13:10.470Z] Removing intermediate container 95a406b36617 [2021-02-04T23:13:10.470Z] ---> 0e1fddf980ea [2021-02-04T23:13:10.470Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-02-04T23:13:10.744Z] ---> Running in 26cdf1527b55 [2021-02-04T23:13:11.351Z] Removing intermediate container 26cdf1527b55 [2021-02-04T23:13:11.351Z] ---> 9db29e5ef538 [2021-02-04T23:13:11.351Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-04T23:13:11.351Z] ---> Running in 40e02a95c607 [2021-02-04T23:13:11.950Z] Removing intermediate container 40e02a95c607 [2021-02-04T23:13:11.950Z] ---> d2790a511a72 [2021-02-04T23:13:11.950Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-04T23:13:11.950Z] ---> Running in 762c45ef2523 [2021-02-04T23:13:14.604Z] Removing intermediate container 762c45ef2523 [2021-02-04T23:13:14.604Z] ---> 9bfe73c89bff [2021-02-04T23:13:14.604Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-02-04T23:13:14.604Z] ---> Running in 4599275dd616 [2021-02-04T23:13:15.596Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-04T23:13:16.581Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-04T23:13:17.180Z] OK: 142 MiB in 39 packages [2021-02-04T23:13:18.166Z] Removing intermediate container 4599275dd616 [2021-02-04T23:13:18.166Z] ---> 68bbb3043ab0 [2021-02-04T23:13:18.166Z] Step 8/10 : WORKDIR /device-rest-go [2021-02-04T23:13:18.441Z] ---> Running in a786f86c441f [2021-02-04T23:13:18.595Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-02-04T23:13:19.038Z] Removing intermediate container a786f86c441f [2021-02-04T23:13:19.038Z] ---> e29c7881572a [2021-02-04T23:13:19.038Z] Step 9/10 : COPY . . [2021-02-04T23:13:19.591Z] ok github.com/edgexfoundry/device-rest-go/driver 0.090s coverage: 56.3% of statements [2021-02-04T23:13:19.635Z] ---> fbb75d911aa7 [2021-02-04T23:13:19.635Z] Step 10/10 : RUN go mod download [2021-02-04T23:13:19.880Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-02-04T23:13:19.909Z] ---> Running in b01b3f0a903c [2021-02-04T23:13:27.218Z] gofmt -l . [2021-02-04T23:13:27.218Z] [ "`gofmt -l .`" = "" ] [2021-02-04T23:13:27.218Z] ./bin/test-go-mod-tidy.sh [2021-02-04T23:13:28.308Z] ./bin/test-attribution-txt.sh [2021-02-04T23:13:29.093Z] An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add [2021-02-04T23:13:29.093Z] make: *** [Makefile:28: test] Error 1 [Pipeline] } [2021-02-04T23:13:29.135Z] $ docker stop --time=1 40b8a26f837cadb9362e44421125f6f9a700b3f764dde76657c725841f4623a0 [2021-02-04T23:13:31.665Z] $ docker rm -f 40b8a26f837cadb9362e44421125f6f9a700b3f764dde76657c725841f4623a0 [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-02-04T23:13:33.425Z] Failed in branch amd64 [2021-02-04T23:13:46.795Z] Removing intermediate container b01b3f0a903c [2021-02-04T23:13:46.795Z] ---> 3a14d7453951 [2021-02-04T23:13:46.795Z] Successfully built 3a14d7453951 [2021-02-04T23:13:46.795Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-04T23:13:47.141Z] + docker inspect -f . ci-base-image-arm64 [2021-02-04T23:13:47.141Z] . [Pipeline] withDockerContainer [2021-02-04T23:13:47.416Z] prd-ubuntu18.04-docker-arm64-4c-16g-25091 does not seem to be running inside a container [2021-02-04T23:13:47.545Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-04T23:13:49.262Z] $ docker top b4ee489db1655978902cb6fef71feba1d60f2df32ebcc16642c1c7f9792416a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T23:13:50.409Z] + go version [2021-02-04T23:13:50.409Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-04T23:13:50.437Z] $ docker stop --time=1 b4ee489db1655978902cb6fef71feba1d60f2df32ebcc16642c1c7f9792416a2 [2021-02-04T23:13:52.385Z] $ docker rm -f b4ee489db1655978902cb6fef71feba1d60f2df32ebcc16642c1c7f9792416a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-04T23:13:53.369Z] + docker inspect -f . ci-base-image-arm64 [2021-02-04T23:13:53.369Z] . [Pipeline] withDockerContainer [2021-02-04T23:13:53.634Z] prd-ubuntu18.04-docker-arm64-4c-16g-25091 does not seem to be running inside a container [2021-02-04T23:13:53.717Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-04T23:13:55.300Z] $ docker top 04b5509f485dce2d219c7cbd75915ed10093578d56df1605d0348cb87fc4a6bb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T23:13:56.281Z] + make test [2021-02-04T23:13:56.281Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-02-04T23:13:57.264Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-02-04T23:14:36.292Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-02-04T23:14:36.292Z] ok github.com/edgexfoundry/device-rest-go/driver 0.050s coverage: 56.3% of statements [2021-02-04T23:14:36.292Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-02-04T23:14:39.703Z] gofmt -l . [2021-02-04T23:14:39.703Z] [ "`gofmt -l .`" = "" ] [2021-02-04T23:14:39.703Z] ./bin/test-go-mod-tidy.sh [2021-02-04T23:14:39.703Z] ./bin/test-attribution-txt.sh [2021-02-04T23:14:40.685Z] An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add [2021-02-04T23:14:40.685Z] make: *** [Makefile:28: test] Error 1 [Pipeline] } [2021-02-04T23:14:40.714Z] $ docker stop --time=1 04b5509f485dce2d219c7cbd75915ed10093578d56df1605d0348cb87fc4a6bb [2021-02-04T23:14:43.454Z] $ docker rm -f 04b5509f485dce2d219c7cbd75915ed10093578d56df1605d0348cb87fc4a6bb [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-02-04T23:14:45.589Z] 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-02-04T23:14:48.275Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T23:14:48.621Z] ---> package-listing.sh [2021-02-04T23:14:48.621Z] ++ facter osfamily [2021-02-04T23:14:48.621Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-04T23:14:48.621Z] + OS_FAMILY=redhat [2021-02-04T23:14:48.621Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-75 [2021-02-04T23:14:48.621Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-04T23:14:48.621Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-04T23:14:48.621Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-04T23:14:48.621Z] + PACKAGES=/tmp/packages_start.txt [2021-02-04T23:14:48.621Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-75 ']' [2021-02-04T23:14:48.621Z] + PACKAGES=/tmp/packages_end.txt [2021-02-04T23:14:48.621Z] + case "${OS_FAMILY}" in [2021-02-04T23:14:48.621Z] + rpm -qa [2021-02-04T23:14:48.621Z] + sort [2021-02-04T23:14:53.942Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-04T23:14:53.942Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-04T23:14:53.942Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-04T23:14:53.942Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-75 ']' [2021-02-04T23:14:53.942Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-75/archives/ [2021-02-04T23:14:53.942Z] + 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-02-04T23:14:53.960Z] 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-02-04T23:14:54.258Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-04T23:14:54.566Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-04T23:14:54.567Z] [2021-02-04T23:14:54.567Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-04T23:14:54.941Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-04T23:14:54.941Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-04T23:14:54.941Z] df20fa9351a1: Pulling fs layer [2021-02-04T23:14:54.941Z] 36b3adc4ff6f: Pulling fs layer [2021-02-04T23:14:54.941Z] 8ad3a11d3b57: Pulling fs layer [2021-02-04T23:14:54.941Z] 46f8f816bc3b: Pulling fs layer [2021-02-04T23:14:54.941Z] 93b61091891f: Pulling fs layer [2021-02-04T23:14:54.941Z] 93b9cdb0e59b: Pulling fs layer [2021-02-04T23:14:54.941Z] 5e14af77c1be: Pulling fs layer [2021-02-04T23:14:54.941Z] 01666e4c0597: Pulling fs layer [2021-02-04T23:14:54.941Z] aa168da1d23b: Pulling fs layer [2021-02-04T23:14:54.941Z] 93b9cdb0e59b: Waiting [2021-02-04T23:14:54.941Z] 5e14af77c1be: Waiting [2021-02-04T23:14:54.941Z] 01666e4c0597: Waiting [2021-02-04T23:14:54.941Z] aa168da1d23b: Waiting [2021-02-04T23:14:54.941Z] 46f8f816bc3b: Waiting [2021-02-04T23:14:54.941Z] 93b61091891f: Waiting [2021-02-04T23:14:54.941Z] 36b3adc4ff6f: Download complete [2021-02-04T23:14:55.203Z] df20fa9351a1: Download complete [2021-02-04T23:14:55.203Z] 93b9cdb0e59b: Verifying Checksum [2021-02-04T23:14:55.203Z] 93b9cdb0e59b: Download complete [2021-02-04T23:14:55.203Z] 5e14af77c1be: Verifying Checksum [2021-02-04T23:14:55.203Z] 5e14af77c1be: Download complete [2021-02-04T23:14:55.203Z] 01666e4c0597: Verifying Checksum [2021-02-04T23:14:55.203Z] 01666e4c0597: Download complete [2021-02-04T23:14:55.203Z] 93b61091891f: Download complete [2021-02-04T23:14:55.466Z] df20fa9351a1: Pull complete [2021-02-04T23:14:55.731Z] 36b3adc4ff6f: Pull complete [2021-02-04T23:14:55.731Z] 8ad3a11d3b57: Verifying Checksum [2021-02-04T23:14:55.731Z] 8ad3a11d3b57: Download complete [2021-02-04T23:14:56.697Z] 8ad3a11d3b57: Pull complete [2021-02-04T23:14:56.697Z] 46f8f816bc3b: Pull complete [2021-02-04T23:14:57.656Z] aa168da1d23b: Verifying Checksum [2021-02-04T23:14:57.656Z] aa168da1d23b: Download complete [2021-02-04T23:14:57.921Z] 93b61091891f: Pull complete [2021-02-04T23:14:58.183Z] 93b9cdb0e59b: Pull complete [2021-02-04T23:14:58.183Z] 5e14af77c1be: Pull complete [2021-02-04T23:14:58.449Z] 01666e4c0597: Pull complete [2021-02-04T23:15:06.642Z] aa168da1d23b: Pull complete [2021-02-04T23:15:06.642Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-04T23:15:06.642Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-04T23:15:06.642Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-04T23:15:06.843Z] prd-centos7-docker-4c-2g-25086 does not seem to be running inside a container [2021-02-04T23:15:06.890Z] $ 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-02-04T23:15:10.021Z] $ docker top 1e4b506a862215112355b83653bf4da68008327dccf198dbca9f7374b051a6a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T23:15:10.546Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-04T23:15:10.863Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-04T23:15:11.164Z] + ls /var/log/sa-host [2021-02-04T23:15:11.164Z] + sadf -c /var/log/sa-host/sa04 [2021-02-04T23:15:11.164Z] file_magic: OK [2021-02-04T23:15:11.164Z] HZ: Using current value: 100 [2021-02-04T23:15:11.164Z] file_header: OK [2021-02-04T23:15:11.164Z] 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-02-04T23:15:11.164Z] Statistics: [2021-02-04T23:15:11.164Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-04T23:15:11.164Z] File successfully converted to sysstat format version 12.2.1 [2021-02-04T23:15:11.164Z] + sadf -c /var/log/sa-host/sa23 [2021-02-04T23:15:11.164Z] file_magic: OK [2021-02-04T23:15:11.164Z] HZ: Using current value: 100 [2021-02-04T23:15:11.164Z] file_header: OK [2021-02-04T23:15:11.164Z] 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-02-04T23:15:11.164Z] Statistics: [2021-02-04T23:15:11.164Z] Hnuu...uuuununununu... [2021-02-04T23:15:11.164Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-04T23:15:11.367Z] provisioning config files... [2021-02-04T23:15:11.383Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-75@tmp/config3738713096910685483tmp [Pipeline] { [Pipeline] echo [2021-02-04T23:15:11.476Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T23:15:11.775Z] ---> create-netrc.sh [Pipeline] } [2021-02-04T23:15:11.786Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-04T23:15:11.998Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T23:15:12.297Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-04T23:15:12.309Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T23:15:12.609Z] ---> sudo-logs.sh [2021-02-04T23:15:12.609Z] Archiving 'sudo' log.. [Pipeline] echo [2021-02-04T23:15:12.620Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T23:15:12.917Z] ---> job-cost.sh [2021-02-04T23:15:12.917Z] lf-activate-venv: SKIPPING [2021-02-04T23:15:12.917Z] INFO: No Stack... [2021-02-04T23:15:14.310Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-04T23:15:14.572Z] INFO: Archiving Costs [Pipeline] echo [2021-02-04T23:15:14.586Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T23:15:14.883Z] ---> logs-deploy.sh [2021-02-04T23:15:14.883Z] lf-activate-venv: SKIPPING [2021-02-04T23:15:14.883Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-75/3 [2021-02-04T23:15:14.883Z] INFO: archiving workspace using pattern(s): [2021-02-04T23:15:16.806Z] Archives upload complete. [2021-02-04T23:15:16.806Z] INFO: archiving logs to Nexus