Pull request #59 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of siggiskulason for edgexfoundry/device-rest-go Loading trusted files from base branch master at cbc1fb126fca16d22f986b5cd5c305caa6710614 rather than 0b395e9d78bf6cc38a91a5b14c1f4dd9b7e85720 Obtained Jenkinsfile from cbc1fb126fca16d22f986b5cd5c305caa6710614 Running in Durability level: MAX_SURVIVABILITY 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-59/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4d45bb06fbd349d05c83df7b0a7176550fae40e6 # timeout=10 Commit message: "Merge pull request #295 from ernestojeda/always-docker-auth" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-59/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4d45bb06fbd349d05c83df7b0a7176550fae40e6 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-12524 in /w/workspace/dgexfoundry_device-rest-go_PR-59 [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-59 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --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 --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/59/head:refs/remotes/origin/PR-59 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit cbc1fb126fca16d22f986b5cd5c305caa6710614 into PR head commit 0b395e9d78bf6cc38a91a5b14c1f4dd9b7e85720 Merge succeeded, producing 0b395e9d78bf6cc38a91a5b14c1f4dd9b7e85720 Checking out Revision 0b395e9d78bf6cc38a91a5b14c1f4dd9b7e85720 (PR-59) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b395e9d78bf6cc38a91a5b14c1f4dd9b7e85720 # 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 cbc1fb126fca16d22f986b5cd5c305caa6710614 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0b395e9d78bf6cc38a91a5b14c1f4dd9b7e85720 # timeout=10 Commit message: "feat(snap): add startup-duration and startup-interval configure hooks" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-11-18T14:15:16.406Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-18T14:15:16.778Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-18T14:15:17.023Z] ========================================================= [2020-11-18T14:15:17.023Z] EdgeX Global Pipelines Version Info [2020-11-18T14:15:17.023Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-18T14:15:18.550Z] ------------------- [2020-11-18T14:15:18.550Z] stable info: [2020-11-18T14:15:18.550Z] ------------------- [2020-11-18T14:15:18.550Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-18T14:15:18.550Z] Commit SHA: 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [2020-11-18T14:15:18.550Z] Message: update stable to v1.0.162 [2020-11-18T14:15:19.496Z] ------------------- [2020-11-18T14:15:19.496Z] experimental info: [2020-11-18T14:15:19.496Z] ------------------- [2020-11-18T14:15:19.496Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-18T14:15:19.496Z] Commit SHA: 6f2ee81cce8ce978e0d8ebd6865d4103bdd6920b [2020-11-18T14:15:19.496Z] Message: update experimental to v1.0.164 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-18T14:15:20.061Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2020-11-18T14:15:20.207Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2020-11-18T14:15:20.346Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-18T14:15:20.518Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-18T14:15:20.656Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-18T14:15:20.795Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-18T14:15:20.952Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-18T14:15:21.154Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-18T14:15:21.284Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-11-18T14:15:21.423Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-18T14:15:21.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-18T14:15:21.726Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2020-11-18T14:15:21.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-18T14:15:22.114Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-18T14:15:22.271Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-11-18T14:15:22.444Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-11-18T14:15:22.614Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-18T14:15:22.775Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-18T14:15:22.934Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-18T14:15:23.098Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-11-18T14:15:23.226Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-11-18T14:15:23.371Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-11-18T14:15:23.524Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-18T14:15:23.660Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-18T14:15:23.802Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-11-18T14:15:23.938Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-11-18T14:15:24.075Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-59 [Pipeline] echo [2020-11-18T14:15:24.204Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-59 [Pipeline] echo [2020-11-18T14:15:24.337Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-59 [Pipeline] echo [2020-11-18T14:15:24.477Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0b395e9d78bf6cc38a91a5b14c1f4dd9b7e85720 [Pipeline] echo [2020-11-18T14:15:24.611Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0b395e9 [Pipeline] echo [2020-11-18T14:15:24.740Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-18T14:15:24.991Z] provisioning config files... [2020-11-18T14:15:25.021Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-59@tmp/config27125306500063438tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-18T14:15:25.471Z] ---> docker-login.sh [2020-11-18T14:15:25.471Z] nexus3.edgexfoundry.org:10001 [2020-11-18T14:15:25.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T14:15:26.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T14:15:26.004Z] Configure a credential helper to remove this warning. See [2020-11-18T14:15:26.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T14:15:26.004Z] [2020-11-18T14:15:26.004Z] Login Succeeded [2020-11-18T14:15:26.004Z] nexus3.edgexfoundry.org:10002 [2020-11-18T14:15:26.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T14:15:26.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T14:15:26.267Z] Configure a credential helper to remove this warning. See [2020-11-18T14:15:26.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T14:15:26.267Z] [2020-11-18T14:15:26.267Z] Login Succeeded [2020-11-18T14:15:26.267Z] nexus3.edgexfoundry.org:10003 [2020-11-18T14:15:26.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T14:15:26.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T14:15:26.267Z] Configure a credential helper to remove this warning. See [2020-11-18T14:15:26.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T14:15:26.267Z] [2020-11-18T14:15:26.267Z] Login Succeeded [2020-11-18T14:15:26.267Z] nexus3.edgexfoundry.org:10004 [2020-11-18T14:15:26.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T14:15:26.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T14:15:26.531Z] Configure a credential helper to remove this warning. See [2020-11-18T14:15:26.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T14:15:26.531Z] [2020-11-18T14:15:26.531Z] Login Succeeded [2020-11-18T14:15:26.531Z] docker.io [2020-11-18T14:15:26.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T14:15:27.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T14:15:27.106Z] Configure a credential helper to remove this warning. See [2020-11-18T14:15:27.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T14:15:27.106Z] [2020-11-18T14:15:27.106Z] Login Succeeded [2020-11-18T14:15:27.106Z] ---> docker-login.sh ends [Pipeline] } [2020-11-18T14:15:27.132Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-18T14:15:33.074Z] + git log --format=format:%s -1 0b395e9d78bf6cc38a91a5b14c1f4dd9b7e85720 [Pipeline] echo [2020-11-18T14:15:33.161Z] GIT_COMMIT: 0b395e9d78bf6cc38a91a5b14c1f4dd9b7e85720, Commit Message: feat(snap): add startup-duration and startup-interval configure hooks [Pipeline] echo [2020-11-18T14:15:33.233Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-18T14:15:34.245Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-18T14:15:34.245Z] [2020-11-18T14:15:34.245Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-18T14:15:34.641Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-18T14:15:34.641Z] latest: Pulling from edgex-devops/git-semver [2020-11-18T14:15:34.641Z] 31603596830f: Pulling fs layer [2020-11-18T14:15:34.641Z] 2a8b12db71e7: Pulling fs layer [2020-11-18T14:15:34.641Z] 6ca5941a6612: Pulling fs layer [2020-11-18T14:15:34.641Z] ecc8261a40a4: Pulling fs layer [2020-11-18T14:15:34.641Z] ecc8261a40a4: Waiting [2020-11-18T14:15:34.641Z] 2a8b12db71e7: Download complete [2020-11-18T14:15:34.641Z] 31603596830f: Verifying Checksum [2020-11-18T14:15:34.641Z] 31603596830f: Download complete [2020-11-18T14:15:34.905Z] ecc8261a40a4: Verifying Checksum [2020-11-18T14:15:34.905Z] ecc8261a40a4: Download complete [2020-11-18T14:15:34.905Z] 6ca5941a6612: Verifying Checksum [2020-11-18T14:15:34.905Z] 6ca5941a6612: Download complete [2020-11-18T14:15:35.167Z] 31603596830f: Pull complete [2020-11-18T14:15:35.167Z] 2a8b12db71e7: Pull complete [2020-11-18T14:15:36.113Z] 6ca5941a6612: Pull complete [2020-11-18T14:15:36.376Z] ecc8261a40a4: Pull complete [2020-11-18T14:15:36.376Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-18T14:15:36.376Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-18T14:15:36.376Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-18T14:15:36.500Z] prd-centos7-docker-4c-2g-12524 does not seem to be running inside a container [2020-11-18T14:15:36.553Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-59 -v /w/workspace/dgexfoundry_device-rest-go_PR-59:/w/workspace/dgexfoundry_device-rest-go_PR-59:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-59@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-59@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-18T14:15:39.026Z] $ docker top 615b91072cc669fdef67092697520894540a7136feb9d97bee6fa6dab8111ca7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-18T14:15:39.554Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-18T14:15:39.554Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-18T14:15:39.808Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-18T14:15:39.813Z] $ docker exec 615b91072cc669fdef67092697520894540a7136feb9d97bee6fa6dab8111ca7 ssh-agent [2020-11-18T14:15:39.985Z] SSH_AUTH_SOCK=/tmp/ssh-bu1PuoW6fN00/agent.12 [2020-11-18T14:15:39.985Z] SSH_AGENT_PID=17 [2020-11-18T14:15:40.002Z] Running ssh-add (command line suppressed) [2020-11-18T14:15:40.128Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-59@tmp/private_key_807048122322024016.key (/w/workspace/dgexfoundry_device-rest-go_PR-59@tmp/private_key_807048122322024016.key) [2020-11-18T14:15:40.177Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-18T14:15:40.584Z] + git tag --points-at HEAD [Pipeline] } [2020-11-18T14:15:40.618Z] $ docker exec --env ******** --env ******** 615b91072cc669fdef67092697520894540a7136feb9d97bee6fa6dab8111ca7 ssh-agent -k [2020-11-18T14:15:40.736Z] unset SSH_AUTH_SOCK; [2020-11-18T14:15:40.736Z] unset SSH_AGENT_PID; [2020-11-18T14:15:40.736Z] echo Agent pid 17 killed; [2020-11-18T14:15:40.780Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-11-18T14:15:41.026Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-18T14:15:41.026Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-18T14:15:41.197Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-18T14:15:41.202Z] $ docker exec 615b91072cc669fdef67092697520894540a7136feb9d97bee6fa6dab8111ca7 ssh-agent [2020-11-18T14:15:41.359Z] SSH_AUTH_SOCK=/tmp/ssh-xCpKSSiAsKbG/agent.47 [2020-11-18T14:15:41.359Z] SSH_AGENT_PID=53 [2020-11-18T14:15:41.367Z] Running ssh-add (command line suppressed) [2020-11-18T14:15:41.490Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-59@tmp/private_key_7175413159544739625.key (/w/workspace/dgexfoundry_device-rest-go_PR-59@tmp/private_key_7175413159544739625.key) [2020-11-18T14:15:41.538Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-18T14:15:41.918Z] + git semver init [2020-11-18T14:15:41.918Z] # -> Open(): unable to determine branch for HEAD [2020-11-18T14:15:41.918Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-59/.git [2020-11-18T14:15:41.918Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-59 [2020-11-18T14:15:41.918Z] # $SEMVER_REMOTE_NAME = origin [2020-11-18T14:15:41.918Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-18T14:15:41.918Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-18T14:15:41.918Z] # $SEMVER_BRANCH = PR-59 [2020-11-18T14:15:41.918Z] # $SEMVER_TEMP = /tmp/semver-596404181 [2020-11-18T14:15:41.918Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-11-18T14:15:43.309Z] # '/tmp/semver-596404181' -> '/w/workspace/dgexfoundry_device-rest-go_PR-59/.semver' [2020-11-18T14:15:43.309Z] # -> Force: false [2020-11-18T14:15:43.309Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-59/.semver [Pipeline] } [2020-11-18T14:15:43.338Z] $ docker exec --env ******** --env ******** 615b91072cc669fdef67092697520894540a7136feb9d97bee6fa6dab8111ca7 ssh-agent -k [2020-11-18T14:15:43.457Z] unset SSH_AUTH_SOCK; [2020-11-18T14:15:43.457Z] unset SSH_AGENT_PID; [2020-11-18T14:15:43.457Z] echo Agent pid 53 killed; [2020-11-18T14:15:43.500Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-18T14:15:44.077Z] + git semver [Pipeline] } [2020-11-18T14:15:44.114Z] $ docker stop --time=1 615b91072cc669fdef67092697520894540a7136feb9d97bee6fa6dab8111ca7 [2020-11-18T14:15:45.619Z] $ docker rm -f 615b91072cc669fdef67092697520894540a7136feb9d97bee6fa6dab8111ca7 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-18T14:15:46.140Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-18T14:15:46.616Z] Stashed 1 file(s) [Pipeline] echo [2020-11-18T14:15:46.638Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-11-18T14:16:02.463Z] Still waiting to schedule task [2020-11-18T14:16:02.463Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-12524’ [2020-11-18T14:16:02.497Z] Still waiting to schedule task [2020-11-18T14:16:02.497Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-11-18T14:17:53.058Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-12525 in /w/workspace/dgexfoundry_device-rest-go_PR-59 [Pipeline] { [Pipeline] ws [2020-11-18T14:17:53.215Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2020-11-18T14:17:58.459Z] using credential edgex-jenkins-ssh [2020-11-18T14:17:58.536Z] Cloning the remote Git repository [2020-11-18T14:17:58.642Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-11-18T14:17:58.756Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2020-11-18T14:17:58.836Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-11-18T14:17:58.837Z] > git --version # timeout=10 [2020-11-18T14:17:58.857Z] > git --version # 'git version 2.17.1' [2020-11-18T14:17:58.859Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-18T14:17:58.942Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-18T14:18:00.496Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-11-18T14:18:00.512Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-18T14:18:00.539Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-11-18T14:18:00.583Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-11-18T14:18:00.584Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-18T14:18:00.597Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/59/head:refs/remotes/origin/PR-59 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-18T14:18:01.070Z] Merging remotes/origin/master commit cbc1fb126fca16d22f986b5cd5c305caa6710614 into PR head commit 0b395e9d78bf6cc38a91a5b14c1f4dd9b7e85720 [2020-11-18T14:18:01.330Z] Merge succeeded, producing 0b395e9d78bf6cc38a91a5b14c1f4dd9b7e85720 [2020-11-18T14:18:01.331Z] Checking out Revision 0b395e9d78bf6cc38a91a5b14c1f4dd9b7e85720 (PR-59) [2020-11-18T14:18:01.146Z] > git config core.sparsecheckout # timeout=10 [2020-11-18T14:18:01.163Z] > git checkout -f 0b395e9d78bf6cc38a91a5b14c1f4dd9b7e85720 # timeout=10 [2020-11-18T14:18:01.254Z] > git remote # timeout=10 [2020-11-18T14:18:01.274Z] > git config --get remote.origin.url # timeout=10 [2020-11-18T14:18:01.293Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-18T14:18:01.305Z] > git merge cbc1fb126fca16d22f986b5cd5c305caa6710614 # timeout=10 [2020-11-18T14:18:01.329Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-18T14:18:01.400Z] > git config core.sparsecheckout # timeout=10 [2020-11-18T14:18:01.447Z] > git checkout -f 0b395e9d78bf6cc38a91a5b14c1f4dd9b7e85720 # timeout=10 [2020-11-18T14:18:05.761Z] Commit message: "feat(snap): add startup-duration and startup-interval configure hooks" [2020-11-18T14:18:05.879Z] > git --version # timeout=10 [2020-11-18T14:18:05.895Z] > git --version # 'git version 2.17.1' [2020-11-18T14:18:05.910Z] fatal: bad object 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-18T14:18:07.012Z] provisioning config files... [2020-11-18T14:18:07.054Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config3886434070631347539tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-18T14:18:08.199Z] ---> docker-login.sh [2020-11-18T14:18:08.199Z] nexus3.edgexfoundry.org:10001 [2020-11-18T14:18:08.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T14:18:09.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T14:18:09.401Z] Configure a credential helper to remove this warning. See [2020-11-18T14:18:09.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T14:18:09.401Z] [2020-11-18T14:18:09.401Z] Login Succeeded [2020-11-18T14:18:09.401Z] nexus3.edgexfoundry.org:10002 [2020-11-18T14:18:09.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T14:18:09.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T14:18:09.951Z] Configure a credential helper to remove this warning. See [2020-11-18T14:18:09.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T14:18:09.951Z] [2020-11-18T14:18:09.951Z] Login Succeeded [2020-11-18T14:18:09.951Z] nexus3.edgexfoundry.org:10003 [2020-11-18T14:18:10.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T14:18:10.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T14:18:10.504Z] Configure a credential helper to remove this warning. See [2020-11-18T14:18:10.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T14:18:10.504Z] [2020-11-18T14:18:10.504Z] Login Succeeded [2020-11-18T14:18:10.504Z] nexus3.edgexfoundry.org:10004 [2020-11-18T14:18:10.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T14:18:11.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T14:18:11.052Z] Configure a credential helper to remove this warning. See [2020-11-18T14:18:11.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T14:18:11.052Z] [2020-11-18T14:18:11.052Z] Login Succeeded [2020-11-18T14:18:11.052Z] docker.io [2020-11-18T14:18:11.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T14:18:11.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T14:18:11.598Z] Configure a credential helper to remove this warning. See [2020-11-18T14:18:11.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T14:18:11.598Z] [2020-11-18T14:18:11.598Z] Login Succeeded [2020-11-18T14:18:11.872Z] ---> docker-login.sh ends [Pipeline] } [2020-11-18T14:18:11.959Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-18T14:18:12.552Z] ========================================================= [2020-11-18T14:18:12.552Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-18T14:18:12.552Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-18T14:18:12.999Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-11-18T14:18:12.999Z] Sending build context to Docker daemon 83.97kB [2020-11-18T14:18:13.273Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-11-18T14:18:13.273Z] Step 2/10 : FROM ${BASE} [2020-11-18T14:18:13.550Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-18T14:18:13.550Z] b538f80385f9: Pulling fs layer [2020-11-18T14:18:13.550Z] 74f711af9a0d: Pulling fs layer [2020-11-18T14:18:13.550Z] 99f96fe45779: Pulling fs layer [2020-11-18T14:18:13.550Z] 8529a6b9a6be: Pulling fs layer [2020-11-18T14:18:13.550Z] 45590311c82a: Pulling fs layer [2020-11-18T14:18:13.550Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-18T14:18:13.550Z] 209524e5b208: Pulling fs layer [2020-11-18T14:18:13.550Z] 8529a6b9a6be: Waiting [2020-11-18T14:18:13.550Z] 45590311c82a: Waiting [2020-11-18T14:18:13.550Z] 69ca0ff8b7b3: Waiting [2020-11-18T14:18:13.550Z] 209524e5b208: Waiting [2020-11-18T14:18:13.550Z] 99f96fe45779: Verifying Checksum [2020-11-18T14:18:13.550Z] 99f96fe45779: Download complete [2020-11-18T14:18:13.550Z] 74f711af9a0d: Verifying Checksum [2020-11-18T14:18:13.550Z] 74f711af9a0d: Download complete [2020-11-18T14:18:13.550Z] 45590311c82a: Verifying Checksum [2020-11-18T14:18:13.550Z] 45590311c82a: Download complete [2020-11-18T14:18:13.550Z] b538f80385f9: Verifying Checksum [2020-11-18T14:18:13.550Z] b538f80385f9: Download complete [2020-11-18T14:18:13.550Z] 69ca0ff8b7b3: Verifying Checksum [2020-11-18T14:18:13.550Z] 69ca0ff8b7b3: Download complete [2020-11-18T14:18:14.149Z] b538f80385f9: Pull complete [2020-11-18T14:18:14.767Z] 74f711af9a0d: Pull complete [2020-11-18T14:18:15.370Z] 99f96fe45779: Pull complete [2020-11-18T14:18:16.823Z] 209524e5b208: Verifying Checksum [2020-11-18T14:18:16.823Z] 209524e5b208: Download complete [2020-11-18T14:18:17.803Z] 8529a6b9a6be: Verifying Checksum [2020-11-18T14:18:17.803Z] 8529a6b9a6be: Download complete [2020-11-18T14:18:27.979Z] 8529a6b9a6be: Pull complete [2020-11-18T14:18:28.255Z] 45590311c82a: Pull complete [2020-11-18T14:18:28.530Z] 69ca0ff8b7b3: Pull complete [2020-11-18T14:18:32.846Z] 209524e5b208: Pull complete [2020-11-18T14:18:32.846Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-18T14:18:32.846Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-18T14:18:32.846Z] ---> 5bddaf1c2fca [2020-11-18T14:18:32.846Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-11-18T14:18:34.821Z] ---> Running in b44010decbc6 [2020-11-18T14:18:35.418Z] Removing intermediate container b44010decbc6 [2020-11-18T14:18:35.418Z] ---> 6945d5095a65 [2020-11-18T14:18:35.418Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-11-18T14:18:35.418Z] ---> Running in 2fa8cb3cb616 [2020-11-18T14:18:36.016Z] Removing intermediate container 2fa8cb3cb616 [2020-11-18T14:18:36.016Z] ---> 4a2e9cf42603 [2020-11-18T14:18:36.016Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-18T14:18:36.016Z] ---> Running in d226a4391e95 [2020-11-18T14:18:36.614Z] Removing intermediate container d226a4391e95 [2020-11-18T14:18:36.614Z] ---> fc0704474d7a [2020-11-18T14:18:36.614Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-18T14:18:36.614Z] ---> Running in 854b42768ca9 [2020-11-18T14:18:39.562Z] Running on prd-centos7-docker-4c-2g-12526 in /w/workspace/dgexfoundry_device-rest-go_PR-59 [Pipeline] { [Pipeline] ws [2020-11-18T14:18:39.665Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2020-11-18T14:18:40.034Z] Removing intermediate container 854b42768ca9 [2020-11-18T14:18:40.034Z] ---> 0a6c43c756c2 [2020-11-18T14:18:40.034Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-18T14:18:40.034Z] ---> Running in 37cf90668d38 [2020-11-18T14:18:41.037Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-18T14:18:42.011Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-18T14:18:42.146Z] using credential edgex-jenkins-ssh [2020-11-18T14:18:42.211Z] Cloning the remote Git repository [2020-11-18T14:18:42.237Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-11-18T14:18:42.612Z] OK: 142 MiB in 39 packages [2020-11-18T14:18:42.302Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2020-11-18T14:18:42.353Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-11-18T14:18:42.353Z] > git --version # timeout=10 [2020-11-18T14:18:42.362Z] > git --version # 'git version 2.16.5' [2020-11-18T14:18:42.363Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-18T14:18:42.389Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-18T14:18:44.046Z] Removing intermediate container 37cf90668d38 [2020-11-18T14:18:44.046Z] ---> e5c21b6968c7 [2020-11-18T14:18:44.046Z] Step 8/10 : WORKDIR /device-rest-go [2020-11-18T14:18:44.046Z] ---> Running in 0581330be0c4 [2020-11-18T14:18:44.321Z] Merging remotes/origin/master commit cbc1fb126fca16d22f986b5cd5c305caa6710614 into PR head commit 0b395e9d78bf6cc38a91a5b14c1f4dd9b7e85720 [2020-11-18T14:18:44.398Z] Merge succeeded, producing 0b395e9d78bf6cc38a91a5b14c1f4dd9b7e85720 [2020-11-18T14:18:44.398Z] Checking out Revision 0b395e9d78bf6cc38a91a5b14c1f4dd9b7e85720 (PR-59) [2020-11-18T14:18:43.874Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-11-18T14:18:43.881Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-18T14:18:43.891Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-11-18T14:18:43.905Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-11-18T14:18:43.905Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-18T14:18:43.909Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/59/head:refs/remotes/origin/PR-59 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-18T14:18:44.330Z] > git config core.sparsecheckout # timeout=10 [2020-11-18T14:18:44.336Z] > git checkout -f 0b395e9d78bf6cc38a91a5b14c1f4dd9b7e85720 # timeout=10 [2020-11-18T14:18:44.365Z] > git remote # timeout=10 [2020-11-18T14:18:44.369Z] > git config --get remote.origin.url # timeout=10 [2020-11-18T14:18:44.376Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-18T14:18:44.379Z] > git merge cbc1fb126fca16d22f986b5cd5c305caa6710614 # timeout=10 [2020-11-18T14:18:44.391Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-18T14:18:44.402Z] > git config core.sparsecheckout # timeout=10 [2020-11-18T14:18:44.406Z] > git checkout -f 0b395e9d78bf6cc38a91a5b14c1f4dd9b7e85720 # timeout=10 [2020-11-18T14:18:44.641Z] Removing intermediate container 0581330be0c4 [2020-11-18T14:18:44.641Z] ---> 2deda31e32a7 [2020-11-18T14:18:44.641Z] Step 9/10 : COPY . . [2020-11-18T14:18:45.237Z] ---> 747782c2db8b [2020-11-18T14:18:45.237Z] Step 10/10 : RUN go mod download [2020-11-18T14:18:45.510Z] ---> Running in 63607ed8b254 [2020-11-18T14:18:47.975Z] Commit message: "feat(snap): add startup-duration and startup-interval configure hooks" [2020-11-18T14:18:48.003Z] > git --version # timeout=10 [2020-11-18T14:18:48.010Z] > git --version # 'git version 2.16.5' [2020-11-18T14:18:48.017Z] fatal: bad object 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-18T14:18:48.997Z] provisioning config files... [2020-11-18T14:18:49.025Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config6257335116106999963tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-18T14:18:49.837Z] ---> docker-login.sh [2020-11-18T14:18:49.837Z] nexus3.edgexfoundry.org:10001 [2020-11-18T14:18:50.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T14:18:50.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T14:18:50.368Z] Configure a credential helper to remove this warning. See [2020-11-18T14:18:50.368Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T14:18:50.368Z] [2020-11-18T14:18:50.368Z] Login Succeeded [2020-11-18T14:18:50.368Z] nexus3.edgexfoundry.org:10002 [2020-11-18T14:18:50.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T14:18:50.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T14:18:50.368Z] Configure a credential helper to remove this warning. See [2020-11-18T14:18:50.368Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T14:18:50.368Z] [2020-11-18T14:18:50.368Z] Login Succeeded [2020-11-18T14:18:50.368Z] nexus3.edgexfoundry.org:10003 [2020-11-18T14:18:50.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T14:18:50.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T14:18:50.632Z] Configure a credential helper to remove this warning. See [2020-11-18T14:18:50.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T14:18:50.632Z] [2020-11-18T14:18:50.632Z] Login Succeeded [2020-11-18T14:18:50.632Z] nexus3.edgexfoundry.org:10004 [2020-11-18T14:18:50.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T14:18:50.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T14:18:50.894Z] Configure a credential helper to remove this warning. See [2020-11-18T14:18:50.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T14:18:50.894Z] [2020-11-18T14:18:50.894Z] Login Succeeded [2020-11-18T14:18:50.894Z] docker.io [2020-11-18T14:18:50.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T14:18:51.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T14:18:51.158Z] Configure a credential helper to remove this warning. See [2020-11-18T14:18:51.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T14:18:51.158Z] [2020-11-18T14:18:51.158Z] Login Succeeded [2020-11-18T14:18:51.158Z] ---> docker-login.sh ends [Pipeline] } [2020-11-18T14:18:51.209Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-18T14:18:51.783Z] ========================================================= [2020-11-18T14:18:51.783Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-18T14:18:51.783Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-18T14:18:52.176Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-11-18T14:18:52.176Z] Sending build context to Docker daemon 83.97kB [2020-11-18T14:18:52.439Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-11-18T14:18:52.439Z] Step 2/10 : FROM ${BASE} [2020-11-18T14:18:52.439Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-18T14:18:52.439Z] df20fa9351a1: Pulling fs layer [2020-11-18T14:18:52.439Z] ed8968b2872e: Pulling fs layer [2020-11-18T14:18:52.439Z] a92cc7c5fd73: Pulling fs layer [2020-11-18T14:18:52.439Z] e871e8e8d7a9: Pulling fs layer [2020-11-18T14:18:52.439Z] e73272ec9a57: Pulling fs layer [2020-11-18T14:18:52.439Z] 1e910a182e73: Pulling fs layer [2020-11-18T14:18:52.439Z] 4e634b169226: Pulling fs layer [2020-11-18T14:18:52.439Z] e73272ec9a57: Waiting [2020-11-18T14:18:52.439Z] 1e910a182e73: Waiting [2020-11-18T14:18:52.439Z] 4e634b169226: Waiting [2020-11-18T14:18:52.439Z] e871e8e8d7a9: Waiting [2020-11-18T14:18:52.439Z] a92cc7c5fd73: Download complete [2020-11-18T14:18:52.439Z] ed8968b2872e: Download complete [2020-11-18T14:18:52.439Z] e73272ec9a57: Download complete [2020-11-18T14:18:52.439Z] 1e910a182e73: Download complete [2020-11-18T14:18:52.439Z] df20fa9351a1: Download complete [2020-11-18T14:18:52.703Z] df20fa9351a1: Pull complete [2020-11-18T14:18:52.967Z] ed8968b2872e: Pull complete [2020-11-18T14:18:53.232Z] a92cc7c5fd73: Pull complete [2020-11-18T14:18:54.182Z] 4e634b169226: Verifying Checksum [2020-11-18T14:18:54.182Z] 4e634b169226: Download complete [2020-11-18T14:18:55.144Z] e871e8e8d7a9: Verifying Checksum [2020-11-18T14:18:55.144Z] e871e8e8d7a9: Download complete [2020-11-18T14:19:00.487Z] e871e8e8d7a9: Pull complete [2020-11-18T14:19:00.487Z] e73272ec9a57: Pull complete [2020-11-18T14:19:00.487Z] 1e910a182e73: Pull complete [2020-11-18T14:19:07.129Z] 4e634b169226: Pull complete [2020-11-18T14:19:07.129Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-18T14:19:07.129Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-18T14:19:07.129Z] ---> f7629b54cfaa [2020-11-18T14:19:07.129Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-11-18T14:19:07.393Z] ---> Running in b314b85fda08 [2020-11-18T14:19:07.657Z] Removing intermediate container b314b85fda08 [2020-11-18T14:19:07.657Z] ---> 26d72b0e1e26 [2020-11-18T14:19:07.657Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-11-18T14:19:07.657Z] ---> Running in 121354cc620d [2020-11-18T14:19:07.673Z] Removing intermediate container 63607ed8b254 [2020-11-18T14:19:07.673Z] ---> 056b0fbe9225 [2020-11-18T14:19:07.673Z] Successfully built 056b0fbe9225 [2020-11-18T14:19:07.673Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-18T14:19:07.924Z] Removing intermediate container 121354cc620d [2020-11-18T14:19:07.924Z] ---> 5bb8f50b697e [2020-11-18T14:19:07.924Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-18T14:19:07.924Z] ---> Running in 0eb056939ebc [2020-11-18T14:19:08.046Z] + docker inspect -f . ci-base-image-arm64 [2020-11-18T14:19:08.046Z] . [Pipeline] withDockerContainer [2020-11-18T14:19:08.190Z] Removing intermediate container 0eb056939ebc [2020-11-18T14:19:08.190Z] ---> 4a1df447ab54 [2020-11-18T14:19:08.190Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-18T14:19:08.190Z] ---> Running in 9f58da8db471 [2020-11-18T14:19:08.299Z] prd-ubuntu18.04-docker-arm64-4c-16g-12525 does not seem to be running inside a container [2020-11-18T14:19:08.459Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-11-18T14:19:09.588Z] Removing intermediate container 9f58da8db471 [2020-11-18T14:19:09.588Z] ---> 117cceca3637 [2020-11-18T14:19:09.588Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-18T14:19:09.588Z] ---> Running in 7e74afef8864 [2020-11-18T14:19:10.335Z] $ docker top 4d5b2b93034e5d5654501f95660d2e5afc4031eb6fac8eba62d3c9ca7711d9ee -eo pid,comm [2020-11-18T14:19:10.540Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] { [Pipeline] sh [2020-11-18T14:19:10.803Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-18T14:19:11.376Z] OK: 166 MiB in 39 packages [2020-11-18T14:19:11.760Z] + go version [2020-11-18T14:19:11.760Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-18T14:19:11.875Z] $ docker stop --time=1 4d5b2b93034e5d5654501f95660d2e5afc4031eb6fac8eba62d3c9ca7711d9ee [2020-11-18T14:19:11.963Z] Removing intermediate container 7e74afef8864 [2020-11-18T14:19:11.963Z] ---> a54d1ecdacbf [2020-11-18T14:19:11.963Z] Step 8/10 : WORKDIR /device-rest-go [2020-11-18T14:19:11.963Z] ---> Running in 167c4aee3ec2 [2020-11-18T14:19:12.229Z] Removing intermediate container 167c4aee3ec2 [2020-11-18T14:19:12.229Z] ---> 786e440d1607 [2020-11-18T14:19:12.229Z] Step 9/10 : COPY . . [2020-11-18T14:19:12.494Z] ---> 66920a62b8a5 [2020-11-18T14:19:12.494Z] Step 10/10 : RUN go mod download [2020-11-18T14:19:12.494Z] ---> Running in 2d921ce2ec06 [2020-11-18T14:19:13.747Z] $ docker rm -f 4d5b2b93034e5d5654501f95660d2e5afc4031eb6fac8eba62d3c9ca7711d9ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-18T14:19:15.052Z] + docker inspect -f . ci-base-image-arm64 [2020-11-18T14:19:15.052Z] . [Pipeline] withDockerContainer [2020-11-18T14:19:15.310Z] prd-ubuntu18.04-docker-arm64-4c-16g-12525 does not seem to be running inside a container [2020-11-18T14:19:15.471Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-11-18T14:19:17.297Z] $ docker top fa7d7bd4f832ec0cc99864ef0e8a0a7c5408d66aae747aa30c0d6ba484039239 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-18T14:19:18.674Z] + make test [2020-11-18T14:19:18.674Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-11-18T14:19:19.681Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-11-18T14:19:34.532Z] Removing intermediate container 2d921ce2ec06 [2020-11-18T14:19:34.532Z] ---> 9c3750e9e39f [2020-11-18T14:19:34.532Z] Successfully built 9c3750e9e39f [2020-11-18T14:19:34.532Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-18T14:19:34.888Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-18T14:19:34.888Z] . [Pipeline] withDockerContainer [2020-11-18T14:19:35.036Z] prd-centos7-docker-4c-2g-12526 does not seem to be running inside a container [2020-11-18T14:19:35.091Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-11-18T14:19:35.887Z] $ docker top c4fbdad5d1dd68bc6787af85748ad61f2466f5b616f355b05c1292d42f6ae693 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-18T14:19:36.466Z] + go version [2020-11-18T14:19:36.466Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-11-18T14:19:36.497Z] $ docker stop --time=1 c4fbdad5d1dd68bc6787af85748ad61f2466f5b616f355b05c1292d42f6ae693 [2020-11-18T14:19:37.831Z] $ docker rm -f c4fbdad5d1dd68bc6787af85748ad61f2466f5b616f355b05c1292d42f6ae693 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-18T14:19:39.005Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-18T14:19:39.005Z] . [Pipeline] withDockerContainer [2020-11-18T14:19:39.133Z] prd-centos7-docker-4c-2g-12526 does not seem to be running inside a container [2020-11-18T14:19:39.187Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-11-18T14:19:39.756Z] $ docker top 8dd85352beac93273af8cbea3d86b11e56af9aec9d6192e1e903c40472fc1680 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-18T14:19:40.316Z] + make test [2020-11-18T14:19:40.316Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-11-18T14:19:40.893Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-11-18T14:19:52.138Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-11-18T14:19:52.138Z] ok github.com/edgexfoundry/device-rest-go/driver 0.072s coverage: 56.3% of statements [2020-11-18T14:19:52.421Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-18T14:19:53.310Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-11-18T14:19:53.310Z] ok github.com/edgexfoundry/device-rest-go/driver 0.047s coverage: 56.3% of statements [2020-11-18T14:19:53.311Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-18T14:19:53.892Z] gofmt -l . [2020-11-18T14:19:53.892Z] [ "`gofmt -l .`" = "" ] [2020-11-18T14:19:53.892Z] ./bin/test-go-mod-tidy.sh [2020-11-18T14:19:54.472Z] ./bin/test-attribution-txt.sh [Pipeline] } [2020-11-18T14:19:54.780Z] $ docker stop --time=1 8dd85352beac93273af8cbea3d86b11e56af9aec9d6192e1e903c40472fc1680 [2020-11-18T14:19:57.148Z] $ docker rm -f 8dd85352beac93273af8cbea3d86b11e56af9aec9d6192e1e903c40472fc1680 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-18T14:19:57.841Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-18T14:19:58.158Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-11-18T14:20:00.726Z] gofmt -l . [2020-11-18T14:20:00.726Z] [ "`gofmt -l .`" = "" ] [2020-11-18T14:20:00.726Z] ./bin/test-go-mod-tidy.sh [2020-11-18T14:20:00.726Z] ./bin/test-attribution-txt.sh [Pipeline] } [2020-11-18T14:20:00.851Z] $ docker stop --time=1 fa7d7bd4f832ec0cc99864ef0e8a0a7c5408d66aae747aa30c0d6ba484039239 [2020-11-18T14:20:01.018Z] + sudo chown -R jenkins:jenkins . [2020-11-18T14:20:03.191Z] $ docker rm -f fa7d7bd4f832ec0cc99864ef0e8a0a7c5408d66aae747aa30c0d6ba484039239 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2020-11-18T14:20:04.076Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-18T14:20:04.121Z] + ls -al . [2020-11-18T14:20:04.121Z] total 96 [2020-11-18T14:20:04.121Z] drwxrwxr-x. 8 jenkins jenkins 4096 Nov 18 14:19 . [2020-11-18T14:20:04.121Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 18 14:18 .. [2020-11-18T14:20:04.121Z] -rw-rw-r--. 1 jenkins jenkins 5294 Nov 18 14:18 Attribution.txt [2020-11-18T14:20:04.121Z] drwxrwxr-x. 2 jenkins jenkins 64 Nov 18 14:18 bin [2020-11-18T14:20:04.121Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 18 14:18 cmd [2020-11-18T14:20:04.121Z] -rw-r--r--. 1 jenkins jenkins 9369 Nov 18 14:19 coverage.out [2020-11-18T14:20:04.121Z] -rw-rw-r--. 1 jenkins jenkins 1519 Nov 18 14:18 Dockerfile [2020-11-18T14:20:04.121Z] -rw-rw-r--. 1 jenkins jenkins 989 Nov 18 14:18 Dockerfile.build [2020-11-18T14:20:04.121Z] -rw-rw-r--. 1 jenkins jenkins 151 Nov 18 14:18 .dockerignore [2020-11-18T14:20:04.121Z] drwxrwxr-x. 2 jenkins jenkins 93 Nov 18 14:19 driver [2020-11-18T14:20:04.121Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 18 14:18 .git [2020-11-18T14:20:04.121Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 18 14:18 .github [2020-11-18T14:20:04.121Z] -rw-rw-r--. 1 jenkins jenkins 339 Nov 18 14:18 .gitignore [2020-11-18T14:20:04.121Z] -rw-r--r--. 1 jenkins jenkins 267 Nov 18 14:19 go.mod [2020-11-18T14:20:04.121Z] -rw-r--r--. 1 jenkins jenkins 13790 Nov 18 14:19 go.sum [2020-11-18T14:20:04.121Z] -rw-rw-r--. 1 jenkins jenkins 680 Nov 18 14:18 Jenkinsfile [2020-11-18T14:20:04.121Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 18 14:18 LICENSE [2020-11-18T14:20:04.121Z] -rw-rw-r--. 1 jenkins jenkins 951 Nov 18 14:18 Makefile [2020-11-18T14:20:04.121Z] -rw-rw-r--. 1 jenkins jenkins 5917 Nov 18 14:18 README.md [2020-11-18T14:20:04.121Z] drwxrwxr-x. 4 jenkins jenkins 71 Nov 18 14:18 snap [2020-11-18T14:20:04.121Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 18 14:15 VERSION [2020-11-18T14:20:04.121Z] -rw-rw-r--. 1 jenkins jenkins 713 Nov 18 14:18 version.go [2020-11-18T14:20:04.121Z] Warning: overwriting stash ‘coverage-report’ [Pipeline] isUnix [Pipeline] sh [2020-11-18T14:20:04.528Z] + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=0b395e9d78bf6cc38a91a5b14c1f4dd9b7e85720 --label arch=amd64 --label version=0.0.0 . [2020-11-18T14:20:04.528Z] Sending build context to Docker daemon 95.74kB [2020-11-18T14:20:04.528Z] Step 1/25 : ARG BASE=golang:1.15-alpine [2020-11-18T14:20:04.528Z] Step 2/25 : FROM ${BASE} AS builder [2020-11-18T14:20:04.528Z] ---> 9c3750e9e39f [2020-11-18T14:20:04.528Z] Step 3/25 : ARG MAKE='make build' [2020-11-18T14:20:04.793Z] ---> Running in c0eccf5e57be [2020-11-18T14:20:04.793Z] Removing intermediate container c0eccf5e57be [2020-11-18T14:20:04.793Z] ---> 7eac542c9347 [2020-11-18T14:20:04.793Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-11-18T14:20:04.976Z] Stashed 1 file(s) [Pipeline] } [2020-11-18T14:20:05.057Z] ---> Running in 3e920e7e80ac [2020-11-18T14:20:05.057Z] Removing intermediate container 3e920e7e80ac [2020-11-18T14:20:05.057Z] ---> b48fa70d9151 [2020-11-18T14:20:05.057Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-11-18T14:20:05.057Z] ---> Running in 9136ae82d791 [Pipeline] // script [Pipeline] } [Pipeline] // stage [2020-11-18T14:20:05.330Z] Removing intermediate container 9136ae82d791 [2020-11-18T14:20:05.330Z] ---> 20a33b7c7491 [2020-11-18T14:20:05.330Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-18T14:20:05.330Z] ---> Running in 9652f20af1c6 [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-18T14:20:05.961Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-18T14:20:06.284Z] Removing intermediate container 9652f20af1c6 [2020-11-18T14:20:06.284Z] ---> e0a6caf3530e [2020-11-18T14:20:06.284Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-18T14:20:06.284Z] ---> Running in 65fff97fabb8 [2020-11-18T14:20:06.347Z] + ls -al . [2020-11-18T14:20:06.347Z] total 124 [2020-11-18T14:20:06.347Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 18 14:20 . [2020-11-18T14:20:06.347Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 18 14:17 .. [2020-11-18T14:20:06.347Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 18 14:18 .dockerignore [2020-11-18T14:20:06.347Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 18 14:18 .git [2020-11-18T14:20:06.347Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 18 14:18 .github [2020-11-18T14:20:06.347Z] -rw-rw-r-- 1 jenkins jenkins 339 Nov 18 14:18 .gitignore [2020-11-18T14:20:06.347Z] -rw-rw-r-- 1 jenkins jenkins 5294 Nov 18 14:18 Attribution.txt [2020-11-18T14:20:06.347Z] -rw-rw-r-- 1 jenkins jenkins 1519 Nov 18 14:18 Dockerfile [2020-11-18T14:20:06.347Z] -rw-rw-r-- 1 jenkins jenkins 989 Nov 18 14:18 Dockerfile.build [2020-11-18T14:20:06.347Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 18 14:18 Jenkinsfile [2020-11-18T14:20:06.347Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 18 14:18 LICENSE [2020-11-18T14:20:06.347Z] -rw-rw-r-- 1 jenkins jenkins 951 Nov 18 14:18 Makefile [2020-11-18T14:20:06.347Z] -rw-rw-r-- 1 jenkins jenkins 5917 Nov 18 14:18 README.md [2020-11-18T14:20:06.347Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 18 14:15 VERSION [2020-11-18T14:20:06.347Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 18 14:18 bin [2020-11-18T14:20:06.347Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 18 14:18 cmd [2020-11-18T14:20:06.347Z] -rw-r--r-- 1 jenkins jenkins 9369 Nov 18 14:19 coverage.out [2020-11-18T14:20:06.347Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 18 14:19 driver [2020-11-18T14:20:06.347Z] -rw-r--r-- 1 jenkins jenkins 267 Nov 18 14:19 go.mod [2020-11-18T14:20:06.347Z] -rw-r--r-- 1 jenkins jenkins 13790 Nov 18 14:19 go.sum [2020-11-18T14:20:06.347Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 18 14:18 snap [2020-11-18T14:20:06.347Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 18 14:18 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-18T14:20:06.767Z] + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=0b395e9d78bf6cc38a91a5b14c1f4dd9b7e85720 --label arch=arm64 --label version=0.0.0 . [2020-11-18T14:20:06.767Z] Sending build context to Docker daemon 95.74kB [2020-11-18T14:20:06.858Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-18T14:20:07.052Z] Step 1/25 : ARG BASE=golang:1.15-alpine [2020-11-18T14:20:07.052Z] Step 2/25 : FROM ${BASE} AS builder [2020-11-18T14:20:07.052Z] ---> 056b0fbe9225 [2020-11-18T14:20:07.052Z] Step 3/25 : ARG MAKE='make build' [2020-11-18T14:20:07.328Z] ---> Running in bd71633a4d5b [2020-11-18T14:20:07.434Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-18T14:20:07.929Z] Removing intermediate container bd71633a4d5b [2020-11-18T14:20:07.929Z] ---> 7c617f04f971 [2020-11-18T14:20:07.929Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-11-18T14:20:07.929Z] ---> Running in 890a0e9bf95e [2020-11-18T14:20:08.009Z] OK: 166 MiB in 39 packages [2020-11-18T14:20:08.201Z] Removing intermediate container 890a0e9bf95e [2020-11-18T14:20:08.201Z] ---> 552f6b5723fa [2020-11-18T14:20:08.201Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-11-18T14:20:08.274Z] Removing intermediate container 65fff97fabb8 [2020-11-18T14:20:08.274Z] ---> f2b17f617eeb [2020-11-18T14:20:08.274Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-11-18T14:20:08.475Z] ---> Running in e3e207ea405e [2020-11-18T14:20:08.537Z] ---> Running in d7bc3c6c7e7a [2020-11-18T14:20:08.537Z] Removing intermediate container d7bc3c6c7e7a [2020-11-18T14:20:08.537Z] ---> 500dbee0c479 [2020-11-18T14:20:08.537Z] Step 9/25 : COPY go.mod . [2020-11-18T14:20:08.800Z] ---> e21ebce0353e [2020-11-18T14:20:08.800Z] Step 10/25 : COPY Makefile . [2020-11-18T14:20:09.070Z] ---> 0a24a520f643 [2020-11-18T14:20:09.070Z] Step 11/25 : RUN make update [2020-11-18T14:20:09.070Z] ---> Running in 08e187c01efc [2020-11-18T14:20:09.080Z] Removing intermediate container e3e207ea405e [2020-11-18T14:20:09.080Z] ---> f4f956e6460b [2020-11-18T14:20:09.080Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-18T14:20:09.080Z] ---> Running in bc0273e422b0 [2020-11-18T14:20:09.647Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-11-18T14:20:10.223Z] Removing intermediate container 08e187c01efc [2020-11-18T14:20:10.223Z] ---> 2a0340e67313 [2020-11-18T14:20:10.223Z] Step 12/25 : COPY . . [2020-11-18T14:20:10.486Z] ---> 97e4241ffe4f [2020-11-18T14:20:10.486Z] Step 13/25 : RUN $MAKE [2020-11-18T14:20:10.486Z] ---> Running in 0b8a9cc8d17b [2020-11-18T14:20:11.069Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd [2020-11-18T14:20:11.707Z] Removing intermediate container bc0273e422b0 [2020-11-18T14:20:11.707Z] ---> 099b1f87a91c [2020-11-18T14:20:11.707Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-18T14:20:11.707Z] ---> Running in d8978d7e2b42 [2020-11-18T14:20:13.145Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-18T14:20:13.734Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-18T14:20:14.329Z] OK: 142 MiB in 39 packages [2020-11-18T14:20:15.306Z] Removing intermediate container d8978d7e2b42 [2020-11-18T14:20:15.306Z] ---> eb790fbde091 [2020-11-18T14:20:15.306Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-11-18T14:20:15.577Z] ---> Running in c893c007523c [2020-11-18T14:20:15.852Z] Removing intermediate container c893c007523c [2020-11-18T14:20:15.852Z] ---> d752c49b5ccd [2020-11-18T14:20:15.852Z] Step 9/25 : COPY go.mod . [2020-11-18T14:20:16.830Z] ---> 5aae915c995b [2020-11-18T14:20:16.830Z] Step 10/25 : COPY Makefile . [2020-11-18T14:20:17.428Z] ---> 01390f8cb0ea [2020-11-18T14:20:17.428Z] Step 11/25 : RUN make update [2020-11-18T14:20:17.428Z] ---> Running in 17304b2fb0f5 [2020-11-18T14:20:18.867Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-11-18T14:20:20.307Z] Removing intermediate container 17304b2fb0f5 [2020-11-18T14:20:20.307Z] ---> 9a08f5f32e70 [2020-11-18T14:20:20.307Z] Step 12/25 : COPY . . [2020-11-18T14:20:20.899Z] ---> 58b25f94b8c0 [2020-11-18T14:20:20.899Z] Step 13/25 : RUN $MAKE [2020-11-18T14:20:20.899Z] ---> Running in 53554d2d1bcc [2020-11-18T14:20:21.181Z] Removing intermediate container 0b8a9cc8d17b [2020-11-18T14:20:21.181Z] ---> 90a4dacdefe7 [2020-11-18T14:20:21.181Z] Step 14/25 : FROM alpine:latest [2020-11-18T14:20:21.444Z] latest: Pulling from library/alpine [2020-11-18T14:20:21.708Z] 188c0c94c7c5: Pulling fs layer [2020-11-18T14:20:21.708Z] 188c0c94c7c5: Verifying Checksum [2020-11-18T14:20:21.708Z] 188c0c94c7c5: Download complete [2020-11-18T14:20:21.970Z] 188c0c94c7c5: Pull complete [2020-11-18T14:20:21.971Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-11-18T14:20:21.971Z] Status: Downloaded newer image for alpine:latest [2020-11-18T14:20:21.971Z] ---> d6e46aa2470d [2020-11-18T14:20:21.971Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-18T14:20:22.236Z] ---> Running in 6523ee0811be [2020-11-18T14:20:22.236Z] Removing intermediate container 6523ee0811be [2020-11-18T14:20:22.236Z] ---> a4598d15add1 [2020-11-18T14:20:22.236Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-11-18T14:20:22.331Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd [2020-11-18T14:20:22.497Z] ---> Running in c6232c9877f5 [2020-11-18T14:20:22.497Z] Removing intermediate container c6232c9877f5 [2020-11-18T14:20:22.497Z] ---> 8553647c4231 [2020-11-18T14:20:22.497Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-11-18T14:20:22.760Z] ---> abdb7ef42f9f [2020-11-18T14:20:22.760Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-11-18T14:20:23.024Z] ---> 070fc483c59c [2020-11-18T14:20:23.024Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-11-18T14:20:23.604Z] ---> a99f9a382b99 [2020-11-18T14:20:23.604Z] Step 20/25 : EXPOSE 49986 [2020-11-18T14:20:23.604Z] ---> Running in 5a944a2f55dc [2020-11-18T14:20:23.604Z] Removing intermediate container 5a944a2f55dc [2020-11-18T14:20:23.604Z] ---> f798a383b9e1 [2020-11-18T14:20:23.604Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-11-18T14:20:23.866Z] ---> Running in 953c3386260b [2020-11-18T14:20:23.866Z] Removing intermediate container 953c3386260b [2020-11-18T14:20:23.866Z] ---> cb817f189f31 [2020-11-18T14:20:23.866Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-11-18T14:20:24.127Z] ---> Running in 90a2f7a0f0bf [2020-11-18T14:20:24.127Z] Removing intermediate container 90a2f7a0f0bf [2020-11-18T14:20:24.127Z] ---> 2952db2019ec [2020-11-18T14:20:24.127Z] Step 23/25 : LABEL arch=amd64 [2020-11-18T14:20:24.390Z] ---> Running in 552a451ed187 [2020-11-18T14:20:24.391Z] Removing intermediate container 552a451ed187 [2020-11-18T14:20:24.391Z] ---> d5d5ff543e6a [2020-11-18T14:20:24.391Z] Step 24/25 : LABEL git_sha=0b395e9d78bf6cc38a91a5b14c1f4dd9b7e85720 [2020-11-18T14:20:24.391Z] ---> Running in 7c3b17bac5f2 [2020-11-18T14:20:24.653Z] Removing intermediate container 7c3b17bac5f2 [2020-11-18T14:20:24.653Z] ---> 4dbbbd16e9f2 [2020-11-18T14:20:24.653Z] Step 25/25 : LABEL version=0.0.0 [2020-11-18T14:20:24.653Z] ---> Running in 3a4445e529c5 [2020-11-18T14:20:24.915Z] Removing intermediate container 3a4445e529c5 [2020-11-18T14:20:24.915Z] ---> 6d5a262b3b86 [2020-11-18T14:20:24.915Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-18T14:20:24.915Z] Successfully built 6d5a262b3b86 [2020-11-18T14:20:24.915Z] Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-11-18T14:20:49.167Z] Removing intermediate container 53554d2d1bcc [2020-11-18T14:20:49.167Z] ---> f9ad098b4fc3 [2020-11-18T14:20:49.167Z] Step 14/25 : FROM alpine:latest [2020-11-18T14:20:49.442Z] latest: Pulling from library/alpine [2020-11-18T14:20:49.714Z] 5f621e34cdf4: Pulling fs layer [2020-11-18T14:20:49.986Z] 5f621e34cdf4: Verifying Checksum [2020-11-18T14:20:49.986Z] 5f621e34cdf4: Download complete [2020-11-18T14:20:50.582Z] 5f621e34cdf4: Pull complete [2020-11-18T14:20:50.582Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-11-18T14:20:50.582Z] Status: Downloaded newer image for alpine:latest [2020-11-18T14:20:50.582Z] ---> 2e77e061c27f [2020-11-18T14:20:50.582Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-18T14:20:50.582Z] ---> Running in f321517375f6 [2020-11-18T14:20:51.177Z] Removing intermediate container f321517375f6 [2020-11-18T14:20:51.178Z] ---> da397b521166 [2020-11-18T14:20:51.178Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-11-18T14:20:51.178Z] ---> Running in 70b7196642d1 [2020-11-18T14:20:51.453Z] Removing intermediate container 70b7196642d1 [2020-11-18T14:20:51.453Z] ---> d919dd6ea53c [2020-11-18T14:20:51.453Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-11-18T14:20:52.445Z] ---> 9edee8a1a38e [2020-11-18T14:20:52.445Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-11-18T14:20:53.040Z] ---> 40a25de427d8 [2020-11-18T14:20:53.040Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-11-18T14:20:54.475Z] ---> e8b51971c0be [2020-11-18T14:20:54.475Z] Step 20/25 : EXPOSE 49986 [2020-11-18T14:20:54.475Z] ---> Running in 25bbfb9108f3 [2020-11-18T14:20:55.072Z] Removing intermediate container 25bbfb9108f3 [2020-11-18T14:20:55.072Z] ---> aaa12c0b93c7 [2020-11-18T14:20:55.072Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-11-18T14:20:55.072Z] ---> Running in 3cf31b17bd50 [2020-11-18T14:20:55.669Z] Removing intermediate container 3cf31b17bd50 [2020-11-18T14:20:55.669Z] ---> 5fa4872a8935 [2020-11-18T14:20:55.669Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-11-18T14:20:55.669Z] ---> Running in fb103d06c3a2 [2020-11-18T14:20:56.266Z] Removing intermediate container fb103d06c3a2 [2020-11-18T14:20:56.266Z] ---> 2b37d32e4d71 [2020-11-18T14:20:56.266Z] Step 23/25 : LABEL arch=arm64 [2020-11-18T14:20:56.266Z] ---> Running in c502a972a707 [2020-11-18T14:20:56.859Z] Removing intermediate container c502a972a707 [2020-11-18T14:20:56.859Z] ---> 67c4e022bb87 [2020-11-18T14:20:56.859Z] Step 24/25 : LABEL git_sha=0b395e9d78bf6cc38a91a5b14c1f4dd9b7e85720 [2020-11-18T14:20:56.859Z] ---> Running in d6dfaeb4a87c [2020-11-18T14:20:57.453Z] Removing intermediate container d6dfaeb4a87c [2020-11-18T14:20:57.453Z] ---> 70f2376378b3 [2020-11-18T14:20:57.453Z] Step 25/25 : LABEL version=0.0.0 [2020-11-18T14:20:57.453Z] ---> Running in f4e7e890900f [2020-11-18T14:20:58.044Z] Removing intermediate container f4e7e890900f [2020-11-18T14:20:58.044Z] ---> 2e5e2232788e [2020-11-18T14:20:58.044Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-18T14:20:58.044Z] Successfully built 2e5e2232788e [2020-11-18T14:20:58.044Z] Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-11-18T14:21:01.024Z] provisioning config files... [2020-11-18T14:21:01.037Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-59@tmp/config6186994982246351393tmp [Pipeline] { [Pipeline] sh [2020-11-18T14:21:01.514Z] + set +x [2020-11-18T14:21:01.514Z] + curl -s https://codecov.io/bash [2020-11-18T14:21:01.514Z] + bash -s -- [2020-11-18T14:21:01.780Z] [2020-11-18T14:21:01.780Z] _____ _ [2020-11-18T14:21:01.780Z] / ____| | | [2020-11-18T14:21:01.780Z] | | ___ __| | ___ ___ _____ __ [2020-11-18T14:21:01.780Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-11-18T14:21:01.780Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-11-18T14:21:01.780Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-11-18T14:21:01.780Z] Bash-20201116-eea08d9 [2020-11-18T14:21:01.780Z] [2020-11-18T14:21:01.780Z] [2020-11-18T14:21:01.780Z] ==> Jenkins CI detected. [2020-11-18T14:21:01.780Z] project root: . [2020-11-18T14:21:01.780Z] --> token set from env [2020-11-18T14:21:01.780Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-11-18T14:21:01.780Z] ==> Running gcov in . (disable via -X gcov) [2020-11-18T14:21:01.780Z] ==> Python coveragepy not found [2020-11-18T14:21:01.780Z] ==> Searching for coverage reports in: [2020-11-18T14:21:01.780Z] + . [2020-11-18T14:21:01.780Z] -> Found 1 reports [2020-11-18T14:21:01.780Z] ==> Detecting git/mercurial file structure [2020-11-18T14:21:01.780Z] ==> Reading reports [2020-11-18T14:21:01.780Z] + ./coverage.out bytes=9369 [2020-11-18T14:21:01.780Z] ==> Appending adjustments [2020-11-18T14:21:01.780Z] https://docs.codecov.io/docs/fixing-reports [2020-11-18T14:21:01.780Z] + Found adjustments [2020-11-18T14:21:01.780Z] ==> Gzipping contents [2020-11-18T14:21:02.051Z] ==> Uploading reports [2020-11-18T14:21:02.051Z] url: https://codecov.io [2020-11-18T14:21:02.051Z] query: branch=PR-59&commit=0b395e9d78bf6cc38a91a5b14c1f4dd9b7e85720&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-59%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=59&job=&cmd_args= [2020-11-18T14:21:02.051Z] -> Pinging Codecov [2020-11-18T14:21:02.051Z] https://codecov.io/upload/v4?package=bash-20201116-eea08d9&token=secret&branch=PR-59&commit=0b395e9d78bf6cc38a91a5b14c1f4dd9b7e85720&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-59%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=59&job=&cmd_args= [2020-11-18T14:21:03.004Z] -> Uploading to [2020-11-18T14:21:03.004Z] https://storage.googleapis.com/codecov/v4/raw/2020-11-18/4E5D53B4F1F92C436F7061BF334D961C/0b395e9d78bf6cc38a91a5b14c1f4dd9b7e85720/5caac2ea-3c73-42f6-97e2-41f8c8d6ebc7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201118%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201118T142102Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=74425c56a2ec3204ead25127790f8f92bf54a78dcc95d7feb8e09aed893efe42 [2020-11-18T14:21:03.004Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-18T14:21:03.004Z] Dload Upload Total Spent Left Speed [2020-11-18T14:21:03.268Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1726 0 0 100 1726 0 4381 --:--:-- --:--:-- --:--:-- 4380 [2020-11-18T14:21:03.268Z] -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/0b395e9d78bf6cc38a91a5b14c1f4dd9b7e85720 [Pipeline] } [2020-11-18T14:21:03.297Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-11-18T14:21:07.385Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-18T14:21:07.993Z] ---> package-listing.sh [2020-11-18T14:21:07.993Z] ++ facter osfamily [2020-11-18T14:21:07.993Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-18T14:21:07.993Z] + OS_FAMILY=redhat [2020-11-18T14:21:07.993Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-59 [2020-11-18T14:21:07.993Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-18T14:21:07.993Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-18T14:21:07.993Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-18T14:21:07.993Z] + PACKAGES=/tmp/packages_start.txt [2020-11-18T14:21:07.993Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-59 ']' [2020-11-18T14:21:07.993Z] + PACKAGES=/tmp/packages_end.txt [2020-11-18T14:21:07.993Z] + case "${OS_FAMILY}" in [2020-11-18T14:21:07.993Z] + rpm -qa [2020-11-18T14:21:07.993Z] + sort [2020-11-18T14:21:12.230Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-18T14:21:12.230Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-18T14:21:12.230Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-18T14:21:12.230Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-59 ']' [2020-11-18T14:21:12.230Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-59/archives/ [2020-11-18T14:21:12.230Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-59/archives/ [Pipeline] echo [2020-11-18T14:21:12.266Z] 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-59/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-11-18T14:21:12.580Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-18T14:21:12.925Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-18T14:21:12.925Z] [2020-11-18T14:21:12.925Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-18T14:21:13.327Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-18T14:21:13.327Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-18T14:21:13.327Z] df20fa9351a1: Pulling fs layer [2020-11-18T14:21:13.327Z] 36b3adc4ff6f: Pulling fs layer [2020-11-18T14:21:13.327Z] 8ad3a11d3b57: Pulling fs layer [2020-11-18T14:21:13.327Z] 46f8f816bc3b: Pulling fs layer [2020-11-18T14:21:13.327Z] 93b61091891f: Pulling fs layer [2020-11-18T14:21:13.327Z] 93b9cdb0e59b: Pulling fs layer [2020-11-18T14:21:13.327Z] 5e14af77c1be: Pulling fs layer [2020-11-18T14:21:13.327Z] 01666e4c0597: Pulling fs layer [2020-11-18T14:21:13.327Z] aa168da1d23b: Pulling fs layer [2020-11-18T14:21:13.327Z] 46f8f816bc3b: Waiting [2020-11-18T14:21:13.327Z] 93b61091891f: Waiting [2020-11-18T14:21:13.327Z] 93b9cdb0e59b: Waiting [2020-11-18T14:21:13.327Z] 5e14af77c1be: Waiting [2020-11-18T14:21:13.327Z] 01666e4c0597: Waiting [2020-11-18T14:21:13.327Z] aa168da1d23b: Waiting [2020-11-18T14:21:13.327Z] 36b3adc4ff6f: Verifying Checksum [2020-11-18T14:21:13.327Z] 36b3adc4ff6f: Download complete [2020-11-18T14:21:13.327Z] 46f8f816bc3b: Verifying Checksum [2020-11-18T14:21:13.327Z] 46f8f816bc3b: Download complete [2020-11-18T14:21:13.590Z] df20fa9351a1: Download complete [2020-11-18T14:21:13.590Z] 93b9cdb0e59b: Verifying Checksum [2020-11-18T14:21:13.590Z] 93b9cdb0e59b: Download complete [2020-11-18T14:21:13.590Z] 5e14af77c1be: Verifying Checksum [2020-11-18T14:21:13.590Z] 5e14af77c1be: Download complete [2020-11-18T14:21:13.590Z] 93b61091891f: Download complete [2020-11-18T14:21:13.590Z] 01666e4c0597: Verifying Checksum [2020-11-18T14:21:13.590Z] 01666e4c0597: Download complete [2020-11-18T14:21:13.852Z] df20fa9351a1: Pull complete [2020-11-18T14:21:14.119Z] 36b3adc4ff6f: Pull complete [2020-11-18T14:21:14.388Z] 8ad3a11d3b57: Verifying Checksum [2020-11-18T14:21:14.388Z] 8ad3a11d3b57: Download complete [2020-11-18T14:21:14.970Z] 8ad3a11d3b57: Pull complete [2020-11-18T14:21:15.241Z] 46f8f816bc3b: Pull complete [2020-11-18T14:21:15.516Z] 93b61091891f: Pull complete [2020-11-18T14:21:15.779Z] 93b9cdb0e59b: Pull complete [2020-11-18T14:21:16.043Z] 5e14af77c1be: Pull complete [2020-11-18T14:21:16.044Z] 01666e4c0597: Pull complete [2020-11-18T14:21:16.307Z] aa168da1d23b: Verifying Checksum [2020-11-18T14:21:16.307Z] aa168da1d23b: Download complete [2020-11-18T14:21:22.954Z] aa168da1d23b: Pull complete [2020-11-18T14:21:22.954Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-18T14:21:22.954Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-18T14:21:22.954Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-18T14:21:23.183Z] prd-centos7-docker-4c-2g-12524 does not seem to be running inside a container [2020-11-18T14:21:23.231Z] $ 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-59/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-59 -v /w/workspace/dgexfoundry_device-rest-go_PR-59:/w/workspace/dgexfoundry_device-rest-go_PR-59:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-59@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-59@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-11-18T14:21:26.995Z] $ docker top 957133e7798d9a48984016dc8469a9364c143bb863fcc49928eb334af0dbb055 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-18T14:21:27.562Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-18T14:21:27.884Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-18T14:21:28.206Z] + ls /var/log/sa-host [2020-11-18T14:21:28.206Z] + sadf -c /var/log/sa-host/sa05 [2020-11-18T14:21:28.206Z] file_magic: OK [2020-11-18T14:21:28.206Z] HZ: Using current value: 100 [2020-11-18T14:21:28.206Z] file_header: OK [2020-11-18T14:21:28.206Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-11-18T14:21:28.206Z] Statistics: [2020-11-18T14:21:28.206Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-18T14:21:28.206Z] File successfully converted to sysstat format version 12.2.1 [2020-11-18T14:21:28.206Z] + sadf -c /var/log/sa-host/sa18 [2020-11-18T14:21:28.206Z] file_magic: OK [2020-11-18T14:21:28.206Z] HZ: Using current value: 100 [2020-11-18T14:21:28.206Z] file_header: OK [2020-11-18T14:21:28.206Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-11-18T14:21:28.206Z] Statistics: [2020-11-18T14:21:28.206Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-18T14:21:28.206Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-18T14:21:28.885Z] provisioning config files... [2020-11-18T14:21:28.916Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-59@tmp/config7754155439274803985tmp [Pipeline] { [Pipeline] echo [2020-11-18T14:21:29.051Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-18T14:21:29.485Z] ---> create-netrc.sh [Pipeline] } [2020-11-18T14:21:29.508Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-18T14:21:29.694Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-18T14:21:30.029Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-18T14:21:30.058Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-18T14:21:30.387Z] ---> sudo-logs.sh [2020-11-18T14:21:30.387Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-18T14:21:30.420Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-18T14:21:30.755Z] ---> job-cost.sh [2020-11-18T14:21:30.755Z] lf-activate-venv: SKIPPING [2020-11-18T14:21:30.755Z] INFO: No Stack... [2020-11-18T14:21:32.148Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-18T14:21:32.411Z] INFO: Archiving Costs [Pipeline] echo [2020-11-18T14:21:32.454Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-18T14:21:32.802Z] ---> logs-deploy.sh [2020-11-18T14:21:32.802Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-59/1 [2020-11-18T14:21:32.802Z] INFO: archiving workspace using pattern(s): [2020-11-18T14:21:34.199Z] Archives upload complete. [2020-11-18T14:21:34.462Z] INFO: archiving logs to Nexus [2020-11-18T14:21:35.411Z] ---> uname -a: [2020-11-18T14:21:35.411Z] Linux prd-centos7-docker-4c-2g-12524.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux [2020-11-18T14:21:35.411Z] [2020-11-18T14:21:35.411Z] [2020-11-18T14:21:35.411Z] ---> lscpu: [2020-11-18T14:21:35.411Z] Architecture: x86_64 [2020-11-18T14:21:35.411Z] CPU op-mode(s): 32-bit, 64-bit [2020-11-18T14:21:35.411Z] Byte Order: Little Endian [2020-11-18T14:21:35.411Z] Address sizes: 40 bits physical, 48 bits virtual [2020-11-18T14:21:35.411Z] CPU(s): 4 [2020-11-18T14:21:35.411Z] On-line CPU(s) list: 0-3 [2020-11-18T14:21:35.411Z] Thread(s) per core: 1 [2020-11-18T14:21:35.411Z] Core(s) per socket: 1 [2020-11-18T14:21:35.411Z] Socket(s): 4 [2020-11-18T14:21:35.411Z] NUMA node(s): 1 [2020-11-18T14:21:35.411Z] Vendor ID: GenuineIntel [2020-11-18T14:21:35.411Z] CPU family: 6 [2020-11-18T14:21:35.411Z] Model: 44 [2020-11-18T14:21:35.411Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2020-11-18T14:21:35.411Z] Stepping: 1 [2020-11-18T14:21:35.411Z] CPU MHz: 2933.438 [2020-11-18T14:21:35.411Z] BogoMIPS: 5866.87 [2020-11-18T14:21:35.411Z] Virtualization: VT-x [2020-11-18T14:21:35.411Z] Hypervisor vendor: KVM [2020-11-18T14:21:35.411Z] Virtualization type: full [2020-11-18T14:21:35.411Z] L1d cache: 128 KiB [2020-11-18T14:21:35.411Z] L1i cache: 128 KiB [2020-11-18T14:21:35.411Z] L2 cache: 16 MiB [2020-11-18T14:21:35.411Z] L3 cache: 64 MiB [2020-11-18T14:21:35.411Z] NUMA node0 CPU(s): 0-3 [2020-11-18T14:21:35.411Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2020-11-18T14:21:35.411Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2020-11-18T14:21:35.411Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2020-11-18T14:21:35.411Z] Vulnerability Meltdown: Mitigation; PTI [2020-11-18T14:21:35.411Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2020-11-18T14:21:35.411Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2020-11-18T14:21:35.411Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2020-11-18T14:21:35.411Z] Vulnerability Tsx async abort: Not affected [2020-11-18T14:21:35.411Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2020-11-18T14:21:35.411Z] [2020-11-18T14:21:35.411Z] [2020-11-18T14:21:35.411Z] ---> nproc: [2020-11-18T14:21:35.411Z] 4 [2020-11-18T14:21:35.411Z] [2020-11-18T14:21:35.411Z] [2020-11-18T14:21:35.411Z] ---> df -h: [2020-11-18T14:21:35.411Z] Filesystem Size Used Available Use% Mounted on [2020-11-18T14:21:35.411Z] overlay 50.0G 7.2G 42.8G 14% / [2020-11-18T14:21:35.411Z] tmpfs 64.0M 0 64.0M 0% /dev [2020-11-18T14:21:35.411Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2020-11-18T14:21:35.411Z] shm 64.0M 0 64.0M 0% /dev/shm [2020-11-18T14:21:35.411Z] /dev/vda1 50.0G 7.2G 42.8G 14% /facter-os [2020-11-18T14:21:35.411Z] /dev/vda1 50.0G 7.2G 42.8G 14% /etc/resolv.conf [2020-11-18T14:21:35.411Z] /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hostname [2020-11-18T14:21:35.411Z] /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hosts [2020-11-18T14:21:35.411Z] /dev/vda1 50.0G 7.2G 42.8G 14% /run/cloud-init/result.json [2020-11-18T14:21:35.411Z] /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/dgexfoundry_device-rest-go_PR-59 [2020-11-18T14:21:35.411Z] /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/dgexfoundry_device-rest-go_PR-59@tmp [2020-11-18T14:21:35.411Z] /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/sa-host [2020-11-18T14:21:35.411Z] /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/secure [2020-11-18T14:21:35.411Z] /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/auth.log [2020-11-18T14:21:35.411Z] [2020-11-18T14:21:35.411Z] [2020-11-18T14:21:35.411Z] ---> free -m: [2020-11-18T14:21:35.411Z] total used free shared buff/cache available [2020-11-18T14:21:35.411Z] Mem: 1837 695 131 0 1010 1039 [2020-11-18T14:21:35.411Z] Swap: 1023 0 1023 [2020-11-18T14:21:35.411Z] [2020-11-18T14:21:35.411Z] [2020-11-18T14:21:35.411Z] ---> ip addr: [2020-11-18T14:21:35.411Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2020-11-18T14:21:35.411Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2020-11-18T14:21:35.411Z] inet 127.0.0.1/8 scope host lo [2020-11-18T14:21:35.411Z] valid_lft forever preferred_lft forever [2020-11-18T14:21:35.411Z] inet6 ::1/128 scope host [2020-11-18T14:21:35.411Z] valid_lft forever preferred_lft forever [2020-11-18T14:21:35.411Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2020-11-18T14:21:35.411Z] link/ether fa:16:3e:6a:b5:b2 brd ff:ff:ff:ff:ff:ff [2020-11-18T14:21:35.411Z] inet 10.30.122.19/23 brd 10.30.123.255 scope global dynamic eth0 [2020-11-18T14:21:35.411Z] valid_lft 85989sec preferred_lft 85989sec [2020-11-18T14:21:35.411Z] inet6 fe80::f816:3eff:fe6a:b5b2/64 scope link [2020-11-18T14:21:35.411Z] valid_lft forever preferred_lft forever [2020-11-18T14:21:35.411Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2020-11-18T14:21:35.411Z] link/ether 02:42:d2:dc:68:3f brd ff:ff:ff:ff:ff:ff [2020-11-18T14:21:35.411Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2020-11-18T14:21:35.411Z] valid_lft forever preferred_lft forever [2020-11-18T14:21:35.411Z] inet6 fe80::42:d2ff:fedc:683f/64 scope link [2020-11-18T14:21:35.411Z] valid_lft forever preferred_lft forever [2020-11-18T14:21:35.411Z] [2020-11-18T14:21:35.411Z]