Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9a15ca76430f2bb6894d82c10c041f73ab1419b9+c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 (dea51e93e286250023d69f321c82e33c7891c9e9) 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-25085 in /w/workspace/dgexfoundry_device-rest-go_PR-77 [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-77 # 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 c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 into PR head commit 9a15ca76430f2bb6894d82c10c041f73ab1419b9 Merge succeeded, producing 9421631aadd4c34c19c9882516b7ab8ef52a28c0 Checking out Revision 9421631aadd4c34c19c9882516b7ab8ef52a28c0 (PR-77) > 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/77/head:refs/remotes/origin/PR-77 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9a15ca76430f2bb6894d82c10c041f73ab1419b9 # 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 9421631aadd4c34c19c9882516b7ab8ef52a28c0 # timeout=10 Commit message: "Merge commit 'c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584' into HEAD" > git rev-list --no-walk 9a15ca76430f2bb6894d82c10c041f73ab1419b9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-04T23:07:40.780Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-04T23:07:41.089Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-04T23:07:41.187Z] ========================================================= [2021-02-04T23:07:41.187Z] EdgeX Global Pipelines Version Info [2021-02-04T23:07:41.187Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-04T23:07:42.653Z] ------------------- [2021-02-04T23:07:42.653Z] stable info: [2021-02-04T23:07:42.653Z] ------------------- [2021-02-04T23:07:42.653Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-04T23:07:42.653Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-04T23:07:42.653Z] Message: update stable to v1.0.179 [2021-02-04T23:07:43.600Z] ------------------- [2021-02-04T23:07:43.600Z] experimental info: [2021-02-04T23:07:43.600Z] ------------------- [2021-02-04T23:07:43.600Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-04T23:07:43.600Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-04T23:07:43.600Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-04T23:07:43.853Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-02-04T23:07:43.944Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-02-04T23:07:44.034Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-04T23:07:44.132Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-04T23:07:44.216Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-04T23:07:44.298Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-04T23:07:44.394Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-04T23:07:44.501Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-04T23:07:44.587Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-02-04T23:07:44.675Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-04T23:07:44.765Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-04T23:07:44.853Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2021-02-04T23:07:44.961Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-04T23:07:45.047Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-04T23:07:45.134Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-04T23:07:45.219Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-02-04T23:07:45.307Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-04T23:07:45.397Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-04T23:07:45.512Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-04T23:07:45.608Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-04T23:07:45.710Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-02-04T23:07:45.800Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-02-04T23:07:45.918Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-04T23:07:46.001Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-04T23:07:46.086Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-04T23:07:46.195Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-04T23:07:46.290Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-04T23:07:46.385Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-77 [Pipeline] echo [2021-02-04T23:07:46.472Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-77 [Pipeline] echo [2021-02-04T23:07:46.560Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-77 [Pipeline] echo [2021-02-04T23:07:46.649Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9421631aadd4c34c19c9882516b7ab8ef52a28c0 [Pipeline] echo [2021-02-04T23:07:46.737Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9421631 [Pipeline] echo [2021-02-04T23:07:46.831Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-04T23:07:47.014Z] provisioning config files... [2021-02-04T23:07:47.042Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-77@tmp/config2418159514103166049tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-04T23:07:47.406Z] ---> docker-login.sh [2021-02-04T23:07:47.406Z] nexus3.edgexfoundry.org:10001 [2021-02-04T23:07:47.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T23:07:47.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T23:07:47.942Z] Configure a credential helper to remove this warning. See [2021-02-04T23:07:47.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T23:07:47.942Z] [2021-02-04T23:07:47.942Z] Login Succeeded [2021-02-04T23:07:47.942Z] nexus3.edgexfoundry.org:10002 [2021-02-04T23:07:47.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T23:07:48.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T23:07:48.206Z] Configure a credential helper to remove this warning. See [2021-02-04T23:07:48.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T23:07:48.206Z] [2021-02-04T23:07:48.206Z] Login Succeeded [2021-02-04T23:07:48.206Z] nexus3.edgexfoundry.org:10003 [2021-02-04T23:07:48.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T23:07:48.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T23:07:48.206Z] Configure a credential helper to remove this warning. See [2021-02-04T23:07:48.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T23:07:48.206Z] [2021-02-04T23:07:48.206Z] Login Succeeded [2021-02-04T23:07:48.206Z] nexus3.edgexfoundry.org:10004 [2021-02-04T23:07:48.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T23:07:48.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T23:07:48.470Z] Configure a credential helper to remove this warning. See [2021-02-04T23:07:48.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T23:07:48.470Z] [2021-02-04T23:07:48.470Z] Login Succeeded [2021-02-04T23:07:48.470Z] docker.io [2021-02-04T23:07:48.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T23:07:49.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T23:07:49.005Z] Configure a credential helper to remove this warning. See [2021-02-04T23:07:49.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T23:07:49.005Z] [2021-02-04T23:07:49.005Z] Login Succeeded [2021-02-04T23:07:49.005Z] ---> docker-login.sh ends [Pipeline] } [2021-02-04T23:07:49.019Z] 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:07:49.896Z] + git log --format=format:%s -1 9421631aadd4c34c19c9882516b7ab8ef52a28c0 [Pipeline] echo [2021-02-04T23:07:49.967Z] GIT_COMMIT: 9421631aadd4c34c19c9882516b7ab8ef52a28c0, Commit Message: Merge commit 'c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584' into HEAD [Pipeline] echo [2021-02-04T23:07:50.012Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-04T23:07:50.606Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T23:07:50.606Z] [2021-02-04T23:07:50.606Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-04T23:07:50.970Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T23:07:50.970Z] latest: Pulling from edgex-devops/git-semver [2021-02-04T23:07:50.970Z] 31603596830f: Pulling fs layer [2021-02-04T23:07:50.970Z] 2a8b12db71e7: Pulling fs layer [2021-02-04T23:07:50.970Z] 6ca5941a6612: Pulling fs layer [2021-02-04T23:07:50.970Z] ecc8261a40a4: Pulling fs layer [2021-02-04T23:07:50.970Z] ecc8261a40a4: Waiting [2021-02-04T23:07:50.970Z] 2a8b12db71e7: Download complete [2021-02-04T23:07:50.970Z] 31603596830f: Verifying Checksum [2021-02-04T23:07:50.970Z] 31603596830f: Download complete [2021-02-04T23:07:51.237Z] ecc8261a40a4: Verifying Checksum [2021-02-04T23:07:51.237Z] ecc8261a40a4: Download complete [2021-02-04T23:07:51.237Z] 6ca5941a6612: Verifying Checksum [2021-02-04T23:07:51.237Z] 6ca5941a6612: Download complete [2021-02-04T23:07:51.500Z] 31603596830f: Pull complete [2021-02-04T23:07:51.772Z] 2a8b12db71e7: Pull complete [2021-02-04T23:07:52.349Z] 6ca5941a6612: Pull complete [2021-02-04T23:07:52.939Z] ecc8261a40a4: Pull complete [2021-02-04T23:07:52.939Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-04T23:07:52.939Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T23:07:52.939Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-04T23:07:53.056Z] prd-centos7-docker-4c-2g-25085 does not seem to be running inside a container [2021-02-04T23:07:53.119Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-77 -v /w/workspace/dgexfoundry_device-rest-go_PR-77:/w/workspace/dgexfoundry_device-rest-go_PR-77:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-77@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-77@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:07:55.082Z] $ docker top e434c68c35cc8bae497978b764e93f2d175ae75c7316fdd0cdece75c62b992a6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-04T23:07:55.393Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-04T23:07:55.393Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-04T23:07:55.608Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-04T23:07:55.616Z] $ docker exec e434c68c35cc8bae497978b764e93f2d175ae75c7316fdd0cdece75c62b992a6 ssh-agent [2021-02-04T23:07:55.779Z] SSH_AUTH_SOCK=/tmp/ssh-XfM5JUUhvzGM/agent.12 [2021-02-04T23:07:55.779Z] SSH_AGENT_PID=17 [2021-02-04T23:07:55.789Z] Running ssh-add (command line suppressed) [2021-02-04T23:07:55.911Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-77@tmp/private_key_8309386619596433820.key (/w/workspace/dgexfoundry_device-rest-go_PR-77@tmp/private_key_8309386619596433820.key) [2021-02-04T23:07:55.963Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-04T23:07:56.306Z] + git tag --points-at HEAD [Pipeline] } [2021-02-04T23:07:56.336Z] $ docker exec --env ******** --env ******** e434c68c35cc8bae497978b764e93f2d175ae75c7316fdd0cdece75c62b992a6 ssh-agent -k [2021-02-04T23:07:56.453Z] unset SSH_AUTH_SOCK; [2021-02-04T23:07:56.454Z] unset SSH_AGENT_PID; [2021-02-04T23:07:56.454Z] echo Agent pid 17 killed; [2021-02-04T23:07:56.495Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-04T23:07:56.644Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-04T23:07:56.644Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-04T23:07:56.816Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-04T23:07:56.825Z] $ docker exec e434c68c35cc8bae497978b764e93f2d175ae75c7316fdd0cdece75c62b992a6 ssh-agent [2021-02-04T23:07:56.982Z] SSH_AUTH_SOCK=/tmp/ssh-AWWWmy9Zp3uf/agent.46 [2021-02-04T23:07:56.982Z] SSH_AGENT_PID=51 [2021-02-04T23:07:56.991Z] Running ssh-add (command line suppressed) [2021-02-04T23:07:57.114Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-77@tmp/private_key_6796226223492964193.key (/w/workspace/dgexfoundry_device-rest-go_PR-77@tmp/private_key_6796226223492964193.key) [2021-02-04T23:07:57.167Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-04T23:07:57.517Z] + git semver init [2021-02-04T23:07:57.517Z] # -> Open(): unable to determine branch for HEAD [2021-02-04T23:07:57.517Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-77/.git [2021-02-04T23:07:57.517Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-77 [2021-02-04T23:07:57.517Z] # $SEMVER_REMOTE_NAME = origin [2021-02-04T23:07:57.517Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-04T23:07:57.517Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-04T23:07:57.517Z] # $SEMVER_BRANCH = PR-77 [2021-02-04T23:07:57.517Z] # $SEMVER_TEMP = /tmp/semver-927298010 [2021-02-04T23:07:57.517Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-02-04T23:07:58.474Z] # '/tmp/semver-927298010' -> '/w/workspace/dgexfoundry_device-rest-go_PR-77/.semver' [2021-02-04T23:07:58.474Z] # -> Force: false [2021-02-04T23:07:58.474Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-77/.semver [Pipeline] } [2021-02-04T23:07:58.496Z] $ docker exec --env ******** --env ******** e434c68c35cc8bae497978b764e93f2d175ae75c7316fdd0cdece75c62b992a6 ssh-agent -k [2021-02-04T23:07:58.627Z] unset SSH_AUTH_SOCK; [2021-02-04T23:07:58.627Z] unset SSH_AGENT_PID; [2021-02-04T23:07:58.627Z] echo Agent pid 51 killed; [2021-02-04T23:07:58.702Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-04T23:07:59.167Z] + git semver [Pipeline] } [2021-02-04T23:07:59.192Z] $ docker stop --time=1 e434c68c35cc8bae497978b764e93f2d175ae75c7316fdd0cdece75c62b992a6 [2021-02-04T23:08:00.597Z] $ docker rm -f e434c68c35cc8bae497978b764e93f2d175ae75c7316fdd0cdece75c62b992a6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-04T23:08:01.057Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-04T23:08:01.544Z] Stashed 1 file(s) [Pipeline] echo [2021-02-04T23:08:01.547Z] [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:17.088Z] Still waiting to schedule task [2021-02-04T23:08:17.088Z] ‘prd-centos7-blackbox-4c-2g-24093’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-25087’ is offline [2021-02-04T23:08:17.091Z] Still waiting to schedule task [2021-02-04T23:08:17.091Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-25082’ [2021-02-04T23:09:28.390Z] Running on prd-centos7-docker-4c-2g-25088 in /w/workspace/dgexfoundry_device-rest-go_PR-77 [Pipeline] { [Pipeline] ws [2021-02-04T23:09:28.445Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-02-04T23:09:30.923Z] using credential edgex-jenkins-ssh [2021-02-04T23:09:30.976Z] Cloning the remote Git repository [2021-02-04T23:09:31.004Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-02-04T23:09:31.076Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-02-04T23:09:31.141Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-02-04T23:09:31.141Z] > git --version # timeout=10 [2021-02-04T23:09:31.152Z] > git --version # 'git version 2.24.3' [2021-02-04T23:09:31.153Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T23:09:31.185Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-04T23:09:32.533Z] Merging remotes/origin/master commit c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 into PR head commit 9a15ca76430f2bb6894d82c10c041f73ab1419b9 [2021-02-04T23:09:32.629Z] Merge succeeded, producing 79f112ab3aaffcff6394b3fea35e5c2e5961f32a [2021-02-04T23:09:32.629Z] Checking out Revision 79f112ab3aaffcff6394b3fea35e5c2e5961f32a (PR-77) [2021-02-04T23:09:32.071Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-02-04T23:09:32.082Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-04T23:09:32.097Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-02-04T23:09:32.117Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-02-04T23:09:32.118Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T23:09:32.124Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/77/head:refs/remotes/origin/PR-77 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-04T23:09:32.542Z] > git config core.sparsecheckout # timeout=10 [2021-02-04T23:09:32.548Z] > git checkout -f 9a15ca76430f2bb6894d82c10c041f73ab1419b9 # timeout=10 [2021-02-04T23:09:32.585Z] > git remote # timeout=10 [2021-02-04T23:09:32.591Z] > git config --get remote.origin.url # timeout=10 [2021-02-04T23:09:32.597Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T23:09:32.602Z] > git merge c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 # timeout=10 [2021-02-04T23:09:32.621Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-04T23:09:32.632Z] > git config core.sparsecheckout # timeout=10 [2021-02-04T23:09:32.636Z] > git checkout -f 79f112ab3aaffcff6394b3fea35e5c2e5961f32a # timeout=10 [2021-02-04T23:09:36.286Z] Commit message: "Merge commit 'c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584' into HEAD" [2021-02-04T23:09:36.290Z] > git rev-list --no-walk 9a15ca76430f2bb6894d82c10c041f73ab1419b9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-04T23:09:37.636Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-04T23:09:37.973Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-04T23:09:38.275Z] + true [2021-02-04T23:09:38.275Z] + sudo service docker restart [2021-02-04T23:09:38.275Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-04T23:09:39.296Z] provisioning config files... [2021-02-04T23:09:39.327Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config7398028094860878953tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-04T23:09:39.692Z] ---> docker-login.sh [2021-02-04T23:09:39.692Z] nexus3.edgexfoundry.org:10001 [2021-02-04T23:09:39.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T23:09:40.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T23:09:40.222Z] Configure a credential helper to remove this warning. See [2021-02-04T23:09:40.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T23:09:40.223Z] [2021-02-04T23:09:40.223Z] Login Succeeded [2021-02-04T23:09:40.223Z] nexus3.edgexfoundry.org:10002 [2021-02-04T23:09:40.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T23:09:40.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T23:09:40.223Z] Configure a credential helper to remove this warning. See [2021-02-04T23:09:40.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T23:09:40.223Z] [2021-02-04T23:09:40.223Z] Login Succeeded [2021-02-04T23:09:40.223Z] nexus3.edgexfoundry.org:10003 [2021-02-04T23:09:40.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T23:09:40.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T23:09:40.486Z] Configure a credential helper to remove this warning. See [2021-02-04T23:09:40.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T23:09:40.486Z] [2021-02-04T23:09:40.486Z] Login Succeeded [2021-02-04T23:09:40.486Z] nexus3.edgexfoundry.org:10004 [2021-02-04T23:09:40.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T23:09:40.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T23:09:40.753Z] Configure a credential helper to remove this warning. See [2021-02-04T23:09:40.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T23:09:40.753Z] [2021-02-04T23:09:40.753Z] Login Succeeded [2021-02-04T23:09:40.753Z] docker.io [2021-02-04T23:09:40.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T23:09:41.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T23:09:41.018Z] Configure a credential helper to remove this warning. See [2021-02-04T23:09:41.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T23:09:41.018Z] [2021-02-04T23:09:41.018Z] Login Succeeded [2021-02-04T23:09:41.018Z] ---> docker-login.sh ends [Pipeline] } [2021-02-04T23:09:41.036Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-04T23:09:41.554Z] ========================================================= [2021-02-04T23:09:41.554Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-04T23:09:41.554Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-04T23:09:41.902Z] + 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:09:41.902Z] Sending build context to Docker daemon 89.09kB [2021-02-04T23:09:42.172Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-02-04T23:09:42.172Z] Step 2/10 : FROM ${BASE} [2021-02-04T23:09:42.172Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-04T23:09:42.172Z] 188c0c94c7c5: Pulling fs layer [2021-02-04T23:09:42.172Z] 0ef7d3d256c8: Pulling fs layer [2021-02-04T23:09:42.172Z] de9db76c5a1d: Pulling fs layer [2021-02-04T23:09:42.172Z] bca2f99d35d6: Pulling fs layer [2021-02-04T23:09:42.172Z] 93359f2a8cfa: Pulling fs layer [2021-02-04T23:09:42.172Z] 7c6f9722023f: Pulling fs layer [2021-02-04T23:09:42.172Z] a35cf1a2eb13: Pulling fs layer [2021-02-04T23:09:42.172Z] bca2f99d35d6: Waiting [2021-02-04T23:09:42.172Z] 7c6f9722023f: Waiting [2021-02-04T23:09:42.172Z] 93359f2a8cfa: Waiting [2021-02-04T23:09:42.172Z] a35cf1a2eb13: Waiting [2021-02-04T23:09:42.172Z] de9db76c5a1d: Verifying Checksum [2021-02-04T23:09:42.172Z] de9db76c5a1d: Download complete [2021-02-04T23:09:42.172Z] 0ef7d3d256c8: Verifying Checksum [2021-02-04T23:09:42.172Z] 0ef7d3d256c8: Download complete [2021-02-04T23:09:42.172Z] 93359f2a8cfa: Verifying Checksum [2021-02-04T23:09:42.172Z] 93359f2a8cfa: Download complete [2021-02-04T23:09:42.172Z] 7c6f9722023f: Verifying Checksum [2021-02-04T23:09:42.172Z] 7c6f9722023f: Download complete [2021-02-04T23:09:42.172Z] 188c0c94c7c5: Verifying Checksum [2021-02-04T23:09:42.172Z] 188c0c94c7c5: Download complete [2021-02-04T23:09:42.435Z] 188c0c94c7c5: Pull complete [2021-02-04T23:09:42.700Z] 0ef7d3d256c8: Pull complete [2021-02-04T23:09:42.962Z] de9db76c5a1d: Pull complete [2021-02-04T23:09:44.899Z] a35cf1a2eb13: Verifying Checksum [2021-02-04T23:09:44.899Z] a35cf1a2eb13: Download complete [2021-02-04T23:09:45.166Z] bca2f99d35d6: Verifying Checksum [2021-02-04T23:09:45.166Z] bca2f99d35d6: Download complete [2021-02-04T23:09:50.499Z] bca2f99d35d6: Pull complete [2021-02-04T23:09:50.499Z] 93359f2a8cfa: Pull complete [2021-02-04T23:09:50.762Z] 7c6f9722023f: Pull complete [2021-02-04T23:09:55.041Z] a35cf1a2eb13: Pull complete [2021-02-04T23:09:55.041Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-04T23:09:55.041Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-04T23:09:55.041Z] ---> a62c8e92a672 [2021-02-04T23:09:55.041Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-02-04T23:09:55.041Z] ---> Running in 0263fd4c22b6 [2021-02-04T23:09:55.304Z] Removing intermediate container 0263fd4c22b6 [2021-02-04T23:09:55.304Z] ---> 3ee84ddcaf21 [2021-02-04T23:09:55.304Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-02-04T23:09:55.304Z] ---> Running in c83d9237fd67 [2021-02-04T23:09:55.570Z] Removing intermediate container c83d9237fd67 [2021-02-04T23:09:55.570Z] ---> df59813010ad [2021-02-04T23:09:55.570Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-04T23:09:55.570Z] ---> Running in 3760f9a88484 [2021-02-04T23:09:55.837Z] Removing intermediate container 3760f9a88484 [2021-02-04T23:09:55.837Z] ---> 76a0e3617792 [2021-02-04T23:09:55.837Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-04T23:09:55.837Z] ---> Running in 75cbb967ca04 [2021-02-04T23:09:57.233Z] Removing intermediate container 75cbb967ca04 [2021-02-04T23:09:57.233Z] ---> 6ff48cbc0a45 [2021-02-04T23:09:57.233Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-02-04T23:09:57.233Z] ---> Running in 0abeee32a230 [2021-02-04T23:09:57.498Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-04T23:09:58.446Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-04T23:09:59.024Z] OK: 166 MiB in 39 packages [2021-02-04T23:09:59.294Z] Removing intermediate container 0abeee32a230 [2021-02-04T23:09:59.294Z] ---> 22a15dd2df46 [2021-02-04T23:09:59.294Z] Step 8/10 : WORKDIR /device-rest-go [2021-02-04T23:09:59.294Z] ---> Running in afbd7adaa8d8 [2021-02-04T23:09:59.556Z] Removing intermediate container afbd7adaa8d8 [2021-02-04T23:09:59.556Z] ---> eeac9fdf135a [2021-02-04T23:09:59.556Z] Step 9/10 : COPY . . [2021-02-04T23:09:59.824Z] ---> a2df1a1fb521 [2021-02-04T23:09:59.824Z] Step 10/10 : RUN go mod download [2021-02-04T23:09:59.824Z] ---> Running in c3ba5c04280a [2021-02-04T23:10:21.882Z] Removing intermediate container c3ba5c04280a [2021-02-04T23:10:21.882Z] ---> 3fceb6c8a4fd [2021-02-04T23:10:21.882Z] Successfully built 3fceb6c8a4fd [2021-02-04T23:10:21.882Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-04T23:10:22.208Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-04T23:10:22.208Z] . [Pipeline] withDockerContainer [2021-02-04T23:10:22.327Z] prd-centos7-docker-4c-2g-25088 does not seem to be running inside a container [2021-02-04T23:10:22.377Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2021-02-04T23:10:23.311Z] $ docker top eb9582809d076107f169d80830de48b88dcea61ec72223636ddd4278e88731b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T23:10:23.804Z] + go version [2021-02-04T23:10:23.804Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-04T23:10:23.821Z] $ docker stop --time=1 eb9582809d076107f169d80830de48b88dcea61ec72223636ddd4278e88731b7 [2021-02-04T23:10:25.185Z] $ docker rm -f eb9582809d076107f169d80830de48b88dcea61ec72223636ddd4278e88731b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-04T23:10:26.023Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-04T23:10:26.023Z] . [Pipeline] withDockerContainer [2021-02-04T23:10:26.121Z] prd-centos7-docker-4c-2g-25088 does not seem to be running inside a container [2021-02-04T23:10:26.181Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2021-02-04T23:10:26.885Z] $ docker top ed7db42e93a0d4adc16f86971b6abe933a69dcf295a24fca96f330b3037dcd8c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T23:10:27.397Z] + make test [2021-02-04T23:10:27.397Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-02-04T23:10:27.987Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-02-04T23:10:34.738Z] # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [2021-02-04T23:10:34.738Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut [2021-02-04T23:10:34.738Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient [2021-02-04T23:10:34.738Z] have (string, bool, string, string) [2021-02-04T23:10:34.738Z] want (string, string) [2021-02-04T23:10:37.343Z] FAIL github.com/edgexfoundry/device-rest-go/driver [build failed] [2021-02-04T23:10:37.343Z] make: *** [Makefile:23: test] Error 2 [Pipeline] } [2021-02-04T23:10:37.361Z] $ docker stop --time=1 ed7db42e93a0d4adc16f86971b6abe933a69dcf295a24fca96f330b3037dcd8c [2021-02-04T23:10:39.725Z] $ docker rm -f ed7db42e93a0d4adc16f86971b6abe933a69dcf295a24fca96f330b3037dcd8c [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:10:41.473Z] Failed in branch amd64 [2021-02-04T23:10:58.577Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-25090 in /w/workspace/dgexfoundry_device-rest-go_PR-77 [Pipeline] { [Pipeline] ws [2021-02-04T23:10:58.630Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-02-04T23:11:03.894Z] using credential edgex-jenkins-ssh [2021-02-04T23:11:03.960Z] Cloning the remote Git repository [2021-02-04T23:11:04.012Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-02-04T23:11:04.142Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-02-04T23:11:04.240Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-02-04T23:11:04.241Z] > git --version # timeout=10 [2021-02-04T23:11:04.265Z] > git --version # 'git version 2.17.1' [2021-02-04T23:11:04.267Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T23:11:04.329Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-04T23:11:05.908Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-02-04T23:11:05.925Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-04T23:11:05.953Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-02-04T23:11:05.985Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-02-04T23:11:05.986Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T23:11:05.999Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/77/head:refs/remotes/origin/PR-77 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-04T23:11:06.599Z] Merging remotes/origin/master commit c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 into PR head commit 9a15ca76430f2bb6894d82c10c041f73ab1419b9 [2021-02-04T23:11:06.791Z] Merge succeeded, producing bfad83711e223fa9fd9abefc50d721a9a0eedab4 [2021-02-04T23:11:06.791Z] Checking out Revision bfad83711e223fa9fd9abefc50d721a9a0eedab4 (PR-77) [2021-02-04T23:11:06.615Z] > git config core.sparsecheckout # timeout=10 [2021-02-04T23:11:06.627Z] > git checkout -f 9a15ca76430f2bb6894d82c10c041f73ab1419b9 # timeout=10 [2021-02-04T23:11:06.697Z] > git remote # timeout=10 [2021-02-04T23:11:06.712Z] > git config --get remote.origin.url # timeout=10 [2021-02-04T23:11:06.725Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T23:11:06.735Z] > git merge c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 # timeout=10 [2021-02-04T23:11:06.776Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-04T23:11:06.795Z] > git config core.sparsecheckout # timeout=10 [2021-02-04T23:11:06.804Z] > git checkout -f bfad83711e223fa9fd9abefc50d721a9a0eedab4 # timeout=10 [2021-02-04T23:11:11.087Z] Commit message: "Merge commit 'c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584' into HEAD" [2021-02-04T23:11:11.095Z] > git rev-list --no-walk 9a15ca76430f2bb6894d82c10c041f73ab1419b9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-04T23:11:12.624Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-04T23:11:13.090Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-04T23:11:13.432Z] + sudo service+ docker restart [2021-02-04T23:11:13.432Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-04T23:11:16.144Z] provisioning config files... [2021-02-04T23:11:16.183Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config986465939825378050tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-04T23:11:16.603Z] ---> docker-login.sh [2021-02-04T23:11:16.603Z] nexus3.edgexfoundry.org:10001 [2021-02-04T23:11:17.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T23:11:17.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T23:11:17.856Z] Configure a credential helper to remove this warning. See [2021-02-04T23:11:17.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T23:11:17.856Z] [2021-02-04T23:11:17.856Z] Login Succeeded [2021-02-04T23:11:17.856Z] nexus3.edgexfoundry.org:10002 [2021-02-04T23:11:18.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T23:11:18.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T23:11:18.410Z] Configure a credential helper to remove this warning. See [2021-02-04T23:11:18.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T23:11:18.410Z] [2021-02-04T23:11:18.410Z] Login Succeeded [2021-02-04T23:11:18.410Z] nexus3.edgexfoundry.org:10003 [2021-02-04T23:11:18.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T23:11:18.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T23:11:18.959Z] Configure a credential helper to remove this warning. See [2021-02-04T23:11:18.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T23:11:18.959Z] [2021-02-04T23:11:18.959Z] Login Succeeded [2021-02-04T23:11:18.959Z] nexus3.edgexfoundry.org:10004 [2021-02-04T23:11:19.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T23:11:19.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T23:11:19.506Z] Configure a credential helper to remove this warning. See [2021-02-04T23:11:19.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T23:11:19.506Z] [2021-02-04T23:11:19.506Z] Login Succeeded [2021-02-04T23:11:19.506Z] docker.io [2021-02-04T23:11:19.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T23:11:20.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T23:11:20.372Z] Configure a credential helper to remove this warning. See [2021-02-04T23:11:20.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T23:11:20.372Z] [2021-02-04T23:11:20.372Z] Login Succeeded [2021-02-04T23:11:20.372Z] ---> docker-login.sh ends [Pipeline] } [2021-02-04T23:11:20.390Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-04T23:11:20.848Z] ========================================================= [2021-02-04T23:11:20.849Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-04T23:11:20.849Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-04T23:11:21.230Z] + 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:11:21.230Z] Sending build context to Docker daemon 89.09kB [2021-02-04T23:11:21.510Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-02-04T23:11:21.510Z] Step 2/10 : FROM ${BASE} [2021-02-04T23:11:21.510Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-04T23:11:21.510Z] 5f621e34cdf4: Pulling fs layer [2021-02-04T23:11:21.510Z] a4357932f1b6: Pulling fs layer [2021-02-04T23:11:21.510Z] 18c013af1878: Pulling fs layer [2021-02-04T23:11:21.510Z] 00ac8860ef70: Pulling fs layer [2021-02-04T23:11:21.510Z] 63d7cb157983: Pulling fs layer [2021-02-04T23:11:21.510Z] b116817d02f9: Pulling fs layer [2021-02-04T23:11:21.510Z] 745a02a5169b: Pulling fs layer [2021-02-04T23:11:21.510Z] b116817d02f9: Waiting [2021-02-04T23:11:21.510Z] 745a02a5169b: Waiting [2021-02-04T23:11:21.510Z] 00ac8860ef70: Waiting [2021-02-04T23:11:21.510Z] 63d7cb157983: Waiting [2021-02-04T23:11:21.791Z] 18c013af1878: Verifying Checksum [2021-02-04T23:11:21.791Z] 18c013af1878: Download complete [2021-02-04T23:11:21.791Z] a4357932f1b6: Download complete [2021-02-04T23:11:21.791Z] 63d7cb157983: Verifying Checksum [2021-02-04T23:11:21.791Z] 63d7cb157983: Download complete [2021-02-04T23:11:21.791Z] b116817d02f9: Verifying Checksum [2021-02-04T23:11:21.791Z] b116817d02f9: Download complete [2021-02-04T23:11:21.791Z] 5f621e34cdf4: Verifying Checksum [2021-02-04T23:11:21.791Z] 5f621e34cdf4: Download complete [2021-02-04T23:11:22.397Z] 5f621e34cdf4: Pull complete [2021-02-04T23:11:23.004Z] a4357932f1b6: Pull complete [2021-02-04T23:11:23.279Z] 18c013af1878: Pull complete [2021-02-04T23:11:24.273Z] 745a02a5169b: Download complete [2021-02-04T23:11:25.741Z] 00ac8860ef70: Verifying Checksum [2021-02-04T23:11:25.741Z] 00ac8860ef70: Download complete [2021-02-04T23:11:35.947Z] 00ac8860ef70: Pull complete [2021-02-04T23:11:35.947Z] 63d7cb157983: Pull complete [2021-02-04T23:11:35.947Z] b116817d02f9: Pull complete [2021-02-04T23:11:39.331Z] 745a02a5169b: Pull complete [2021-02-04T23:11:39.331Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-04T23:11:39.331Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-04T23:11:39.331Z] ---> b7e6874047d6 [2021-02-04T23:11:39.331Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-02-04T23:11:42.730Z] ---> Running in 015cf0adbba6 [2021-02-04T23:11:43.003Z] Removing intermediate container 015cf0adbba6 [2021-02-04T23:11:43.003Z] ---> d64793bbcb63 [2021-02-04T23:11:43.003Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-02-04T23:11:43.276Z] ---> Running in 090b5df9ec2b [2021-02-04T23:11:43.550Z] Removing intermediate container 090b5df9ec2b [2021-02-04T23:11:43.550Z] ---> 82f6c2203eca [2021-02-04T23:11:43.550Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-04T23:11:43.828Z] ---> Running in 21475c85342a [2021-02-04T23:11:44.103Z] Removing intermediate container 21475c85342a [2021-02-04T23:11:44.103Z] ---> c378512bd2f8 [2021-02-04T23:11:44.103Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-04T23:11:44.381Z] ---> Running in d167cd5c0430 [2021-02-04T23:11:47.029Z] Removing intermediate container d167cd5c0430 [2021-02-04T23:11:47.029Z] ---> ef307eeb9de4 [2021-02-04T23:11:47.029Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-02-04T23:11:47.029Z] ---> Running in bbf6cc8bd394 [2021-02-04T23:11:48.011Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-04T23:11:48.616Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-04T23:11:49.211Z] OK: 142 MiB in 39 packages [2021-02-04T23:11:50.642Z] Removing intermediate container bbf6cc8bd394 [2021-02-04T23:11:50.642Z] ---> e498fc96c2e7 [2021-02-04T23:11:50.642Z] Step 8/10 : WORKDIR /device-rest-go [2021-02-04T23:11:50.642Z] ---> Running in f23a136e9438 [2021-02-04T23:11:51.237Z] Removing intermediate container f23a136e9438 [2021-02-04T23:11:51.237Z] ---> 9f80907a026c [2021-02-04T23:11:51.237Z] Step 9/10 : COPY . . [2021-02-04T23:11:51.833Z] ---> 023327de8ae0 [2021-02-04T23:11:51.833Z] Step 10/10 : RUN go mod download [2021-02-04T23:11:51.833Z] ---> Running in b5f97491b668 [2021-02-04T23:12:18.656Z] Removing intermediate container b5f97491b668 [2021-02-04T23:12:18.656Z] ---> f5ed48995941 [2021-02-04T23:12:18.656Z] Successfully built f5ed48995941 [2021-02-04T23:12:18.656Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-04T23:12:19.006Z] + docker inspect -f . ci-base-image-arm64 [2021-02-04T23:12:19.006Z] . [Pipeline] withDockerContainer [2021-02-04T23:12:19.312Z] prd-ubuntu18.04-docker-arm64-4c-16g-25090 does not seem to be running inside a container [2021-02-04T23:12:19.420Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2021-02-04T23:12:21.124Z] $ docker top 94811388a84065276b13492760c0c10c106e2e47d60004afb62b8d758d171481 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T23:12:22.231Z] + go version [2021-02-04T23:12:22.231Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-04T23:12:22.255Z] $ docker stop --time=1 94811388a84065276b13492760c0c10c106e2e47d60004afb62b8d758d171481 [2021-02-04T23:12:24.302Z] $ docker rm -f 94811388a84065276b13492760c0c10c106e2e47d60004afb62b8d758d171481 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-04T23:12:25.361Z] + docker inspect -f . ci-base-image-arm64 [2021-02-04T23:12:25.361Z] . [Pipeline] withDockerContainer [2021-02-04T23:12:25.643Z] prd-ubuntu18.04-docker-arm64-4c-16g-25090 does not seem to be running inside a container [2021-02-04T23:12:25.729Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2021-02-04T23:12:27.294Z] $ docker top b6e500b9ef6e90a225b2b57e281fcd36104871d47866a24a0b94aab7d80581a3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T23:12:28.329Z] + make test [2021-02-04T23:12:28.329Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-02-04T23:12:29.312Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-02-04T23:12:51.533Z] # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [2021-02-04T23:12:51.533Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut [2021-02-04T23:12:51.533Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient [2021-02-04T23:12:51.533Z] have (string, bool, string, string) [2021-02-04T23:12:51.533Z] want (string, string) [2021-02-04T23:12:59.846Z] FAIL github.com/edgexfoundry/device-rest-go/driver [build failed] [2021-02-04T23:13:00.119Z] make: *** [Makefile:23: test] Error 2 [Pipeline] } [2021-02-04T23:13:00.144Z] $ docker stop --time=1 b6e500b9ef6e90a225b2b57e281fcd36104871d47866a24a0b94aab7d80581a3 [2021-02-04T23:13:02.560Z] $ docker rm -f b6e500b9ef6e90a225b2b57e281fcd36104871d47866a24a0b94aab7d80581a3 [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:13:04.147Z] 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:13:06.768Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T23:13:07.074Z] ---> package-listing.sh [2021-02-04T23:13:07.074Z] ++ facter osfamily [2021-02-04T23:13:07.074Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-04T23:13:07.074Z] + OS_FAMILY=redhat [2021-02-04T23:13:07.074Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-77 [2021-02-04T23:13:07.074Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-04T23:13:07.074Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-04T23:13:07.074Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-04T23:13:07.074Z] + PACKAGES=/tmp/packages_start.txt [2021-02-04T23:13:07.074Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-77 ']' [2021-02-04T23:13:07.074Z] + PACKAGES=/tmp/packages_end.txt [2021-02-04T23:13:07.074Z] + case "${OS_FAMILY}" in [2021-02-04T23:13:07.074Z] + rpm -qa [2021-02-04T23:13:07.074Z] + sort [2021-02-04T23:13:12.390Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-04T23:13:12.390Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-04T23:13:12.390Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-04T23:13:12.390Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-77 ']' [2021-02-04T23:13:12.390Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-77/archives/ [2021-02-04T23:13:12.390Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-77/archives/ [Pipeline] echo [2021-02-04T23:13:12.404Z] 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-77/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:13:12.698Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-04T23:13:13.008Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-04T23:13:13.008Z] [2021-02-04T23:13:13.008Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-04T23:13:13.443Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-04T23:13:13.443Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-04T23:13:13.443Z] df20fa9351a1: Pulling fs layer [2021-02-04T23:13:13.443Z] 36b3adc4ff6f: Pulling fs layer [2021-02-04T23:13:13.443Z] 8ad3a11d3b57: Pulling fs layer [2021-02-04T23:13:13.443Z] 46f8f816bc3b: Pulling fs layer [2021-02-04T23:13:13.443Z] 93b61091891f: Pulling fs layer [2021-02-04T23:13:13.443Z] 93b9cdb0e59b: Pulling fs layer [2021-02-04T23:13:13.443Z] 5e14af77c1be: Pulling fs layer [2021-02-04T23:13:13.443Z] 01666e4c0597: Pulling fs layer [2021-02-04T23:13:13.443Z] aa168da1d23b: Pulling fs layer [2021-02-04T23:13:13.443Z] 93b9cdb0e59b: Waiting [2021-02-04T23:13:13.443Z] 5e14af77c1be: Waiting [2021-02-04T23:13:13.443Z] 01666e4c0597: Waiting [2021-02-04T23:13:13.443Z] aa168da1d23b: Waiting [2021-02-04T23:13:13.443Z] 46f8f816bc3b: Waiting [2021-02-04T23:13:13.443Z] 93b61091891f: Waiting [2021-02-04T23:13:13.443Z] 36b3adc4ff6f: Verifying Checksum [2021-02-04T23:13:13.443Z] 36b3adc4ff6f: Download complete [2021-02-04T23:13:13.443Z] 46f8f816bc3b: Verifying Checksum [2021-02-04T23:13:13.443Z] 46f8f816bc3b: Download complete [2021-02-04T23:13:13.443Z] 93b61091891f: Verifying Checksum [2021-02-04T23:13:13.443Z] 93b61091891f: Download complete [2021-02-04T23:13:13.713Z] 93b9cdb0e59b: Verifying Checksum [2021-02-04T23:13:13.713Z] 93b9cdb0e59b: Download complete [2021-02-04T23:13:13.713Z] 5e14af77c1be: Download complete [2021-02-04T23:13:13.713Z] 01666e4c0597: Verifying Checksum [2021-02-04T23:13:13.713Z] 8ad3a11d3b57: Verifying Checksum [2021-02-04T23:13:13.713Z] df20fa9351a1: Download complete [2021-02-04T23:13:14.304Z] df20fa9351a1: Pull complete [2021-02-04T23:13:14.305Z] 36b3adc4ff6f: Pull complete [2021-02-04T23:13:15.718Z] aa168da1d23b: Verifying Checksum [2021-02-04T23:13:15.718Z] aa168da1d23b: Download complete [2021-02-04T23:13:15.986Z] 8ad3a11d3b57: Pull complete [2021-02-04T23:13:16.256Z] 46f8f816bc3b: Pull complete [2021-02-04T23:13:16.533Z] 93b61091891f: Pull complete [2021-02-04T23:13:16.533Z] 93b9cdb0e59b: Pull complete [2021-02-04T23:13:16.800Z] 5e14af77c1be: Pull complete [2021-02-04T23:13:16.801Z] 01666e4c0597: Pull complete [2021-02-04T23:13:23.421Z] aa168da1d23b: Pull complete [2021-02-04T23:13:23.421Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-04T23:13:23.421Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-04T23:13:23.421Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-04T23:13:23.619Z] prd-centos7-docker-4c-2g-25085 does not seem to be running inside a container [2021-02-04T23:13:23.672Z] $ 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-77/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-77 -v /w/workspace/dgexfoundry_device-rest-go_PR-77:/w/workspace/dgexfoundry_device-rest-go_PR-77:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-77@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-77@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:13:30.365Z] $ docker top d2cd49f4831a8210fc406e4e02c69f343baf220d1abd334f144f93a2d83a7744 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T23:13:30.948Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-04T23:13:31.250Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-04T23:13:31.554Z] + ls /var/log/sa-host [2021-02-04T23:13:31.554Z] + sadf -c /var/log/sa-host/sa04 [2021-02-04T23:13:31.554Z] file_magic: OK [2021-02-04T23:13:31.554Z] HZ: Using current value: 100 [2021-02-04T23:13:31.554Z] file_header: OK [2021-02-04T23:13:31.554Z] 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:13:31.554Z] Statistics: [2021-02-04T23:13:31.554Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-04T23:13:31.554Z] File successfully converted to sysstat format version 12.2.1 [2021-02-04T23:13:31.554Z] + sadf -c /var/log/sa-host/sa23 [2021-02-04T23:13:31.554Z] file_magic: OK [2021-02-04T23:13:31.554Z] HZ: Using current value: 100 [2021-02-04T23:13:31.554Z] file_header: OK [2021-02-04T23:13:31.554Z] 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:13:31.554Z] Statistics: [2021-02-04T23:13:31.554Z] Hnuu...uuuununununu... [2021-02-04T23:13:31.554Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-04T23:13:32.277Z] provisioning config files... [2021-02-04T23:13:32.292Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-77@tmp/config8447118749817156943tmp [Pipeline] { [Pipeline] echo [2021-02-04T23:13:32.424Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T23:13:32.727Z] ---> create-netrc.sh [Pipeline] } [2021-02-04T23:13:32.739Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-04T23:13:32.824Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T23:13:33.124Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-04T23:13:33.136Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T23:13:33.437Z] ---> sudo-logs.sh [2021-02-04T23:13:33.437Z] Archiving 'sudo' log.. [Pipeline] echo [2021-02-04T23:13:33.449Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T23:13:33.753Z] ---> job-cost.sh [2021-02-04T23:13:33.753Z] lf-activate-venv: SKIPPING [2021-02-04T23:13:33.753Z] INFO: No Stack... [2021-02-04T23:13:35.144Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-04T23:13:35.719Z] INFO: Archiving Costs [Pipeline] echo [2021-02-04T23:13:35.754Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T23:13:36.060Z] ---> logs-deploy.sh [2021-02-04T23:13:36.060Z] lf-activate-venv: SKIPPING [2021-02-04T23:13:36.060Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-77/2 [2021-02-04T23:13:36.060Z] INFO: archiving workspace using pattern(s): [2021-02-04T23:13:37.981Z] Archives upload complete. [2021-02-04T23:13:37.981Z] INFO: archiving logs to Nexus