Pull request #155 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 601611d900917895ae2002fab268ae530b0db85a+d98ab64770a8aa8499d3ed372f913abb779305df (098ea9103957dccc24de8dd4406c25c8dca7a1ab) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-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-virtual-go-settings PROJECT: device-virtual-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-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-17028 in /w/workspace/foundry_device-virtual-go_PR-155 [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-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-155 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-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-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/155/head:refs/remotes/origin/PR-155 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d98ab64770a8aa8499d3ed372f913abb779305df into PR head commit 601611d900917895ae2002fab268ae530b0db85a Merge succeeded, producing 754cc5e8159cce4ac0aa09f8b03c16f8e4f3bf95 Checking out Revision 754cc5e8159cce4ac0aa09f8b03c16f8e4f3bf95 (PR-155) > git config core.sparsecheckout # timeout=10 > git checkout -f 601611d900917895ae2002fab268ae530b0db85a # 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 d98ab64770a8aa8499d3ed372f913abb779305df # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 754cc5e8159cce4ac0aa09f8b03c16f8e4f3bf95 # timeout=10 Commit message: "Merge commit 'd98ab64770a8aa8499d3ed372f913abb779305df' into HEAD" > git rev-list --no-walk 601611d900917895ae2002fab268ae530b0db85a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-21T06:35:14.963Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-21T06:35:15.206Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-21T06:35:15.309Z] ========================================================= [2020-12-21T06:35:15.309Z] EdgeX Global Pipelines Version Info [2020-12-21T06:35:15.309Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-21T06:35:16.736Z] ------------------- [2020-12-21T06:35:16.736Z] stable info: [2020-12-21T06:35:16.736Z] ------------------- [2020-12-21T06:35:16.736Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-21T06:35:16.736Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-21T06:35:16.736Z] Message: update stable to v1.0.173 [2020-12-21T06:35:17.679Z] ------------------- [2020-12-21T06:35:17.679Z] experimental info: [2020-12-21T06:35:17.679Z] ------------------- [2020-12-21T06:35:17.679Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-21T06:35:17.679Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-21T06:35:17.679Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-21T06:35:17.915Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2020-12-21T06:35:18.008Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2020-12-21T06:35:18.094Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-21T06:35:18.178Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-21T06:35:18.263Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-21T06:35:18.349Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-21T06:35:18.445Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-21T06:35:19.958Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-21T06:35:20.049Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-21T06:35:20.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-21T06:35:20.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-21T06:35:20.491Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2020-12-21T06:35:20.590Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-21T06:35:20.728Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-21T06:35:20.812Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-21T06:35:20.935Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-12-21T06:35:21.117Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-21T06:35:21.201Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-21T06:35:21.285Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-21T06:35:21.368Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-21T06:35:21.452Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-21T06:35:21.538Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-21T06:35:21.627Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-21T06:35:21.739Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-21T06:35:21.847Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-21T06:35:21.946Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-21T06:35:22.030Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-21T06:35:22.114Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-155 [Pipeline] echo [2020-12-21T06:35:22.200Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-155 [Pipeline] echo [2020-12-21T06:35:22.286Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-155 [Pipeline] echo [2020-12-21T06:35:22.372Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 754cc5e8159cce4ac0aa09f8b03c16f8e4f3bf95 [Pipeline] echo [2020-12-21T06:35:22.458Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 754cc5e [Pipeline] echo [2020-12-21T06:35:22.544Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-21T06:35:22.764Z] provisioning config files... [2020-12-21T06:35:22.801Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-155@tmp/config996509889717297223tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-21T06:35:23.168Z] ---> docker-login.sh [2020-12-21T06:35:23.168Z] nexus3.edgexfoundry.org:10001 [2020-12-21T06:35:23.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T06:35:23.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T06:35:23.431Z] Configure a credential helper to remove this warning. See [2020-12-21T06:35:23.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T06:35:23.431Z] [2020-12-21T06:35:23.692Z] Login Succeeded [2020-12-21T06:35:23.692Z] nexus3.edgexfoundry.org:10002 [2020-12-21T06:35:23.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T06:35:23.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T06:35:23.692Z] Configure a credential helper to remove this warning. See [2020-12-21T06:35:23.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T06:35:23.692Z] [2020-12-21T06:35:23.692Z] Login Succeeded [2020-12-21T06:35:23.692Z] nexus3.edgexfoundry.org:10003 [2020-12-21T06:35:23.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T06:35:23.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T06:35:23.955Z] Configure a credential helper to remove this warning. See [2020-12-21T06:35:23.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T06:35:23.955Z] [2020-12-21T06:35:23.955Z] Login Succeeded [2020-12-21T06:35:23.955Z] nexus3.edgexfoundry.org:10004 [2020-12-21T06:35:23.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T06:35:24.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T06:35:24.216Z] Configure a credential helper to remove this warning. See [2020-12-21T06:35:24.216Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T06:35:24.216Z] [2020-12-21T06:35:24.216Z] Login Succeeded [2020-12-21T06:35:24.216Z] docker.io [2020-12-21T06:35:24.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T06:35:24.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T06:35:24.478Z] Configure a credential helper to remove this warning. See [2020-12-21T06:35:24.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T06:35:24.478Z] [2020-12-21T06:35:24.478Z] Login Succeeded [2020-12-21T06:35:24.478Z] ---> docker-login.sh ends [Pipeline] } [2020-12-21T06:35:24.488Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-21T06:35:25.300Z] + git log --format=format:%s -1 754cc5e8159cce4ac0aa09f8b03c16f8e4f3bf95 [Pipeline] echo [2020-12-21T06:35:25.362Z] GIT_COMMIT: 754cc5e8159cce4ac0aa09f8b03c16f8e4f3bf95, Commit Message: Merge commit 'd98ab64770a8aa8499d3ed372f913abb779305df' into HEAD [Pipeline] echo [2020-12-21T06:35:25.446Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-21T06:35:26.064Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-21T06:35:26.065Z] [2020-12-21T06:35:26.065Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-21T06:35:26.411Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-21T06:35:26.412Z] latest: Pulling from edgex-devops/git-semver [2020-12-21T06:35:26.412Z] 31603596830f: Pulling fs layer [2020-12-21T06:35:26.412Z] 2a8b12db71e7: Pulling fs layer [2020-12-21T06:35:26.412Z] 6ca5941a6612: Pulling fs layer [2020-12-21T06:35:26.412Z] ecc8261a40a4: Pulling fs layer [2020-12-21T06:35:26.412Z] ecc8261a40a4: Waiting [2020-12-21T06:35:26.412Z] 2a8b12db71e7: Verifying Checksum [2020-12-21T06:35:26.412Z] 2a8b12db71e7: Download complete [2020-12-21T06:35:26.412Z] 31603596830f: Verifying Checksum [2020-12-21T06:35:26.412Z] 31603596830f: Download complete [2020-12-21T06:35:26.676Z] 6ca5941a6612: Verifying Checksum [2020-12-21T06:35:26.676Z] 6ca5941a6612: Download complete [2020-12-21T06:35:26.676Z] ecc8261a40a4: Verifying Checksum [2020-12-21T06:35:26.676Z] ecc8261a40a4: Download complete [2020-12-21T06:35:26.938Z] 31603596830f: Pull complete [2020-12-21T06:35:26.938Z] 2a8b12db71e7: Pull complete [2020-12-21T06:35:27.896Z] 6ca5941a6612: Pull complete [2020-12-21T06:35:28.157Z] ecc8261a40a4: Pull complete [2020-12-21T06:35:28.157Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-21T06:35:28.157Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-21T06:35:28.157Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-21T06:35:28.256Z] prd-centos7-docker-4c-2g-17028 does not seem to be running inside a container [2020-12-21T06:35:28.303Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-155 -v /w/workspace/foundry_device-virtual-go_PR-155:/w/workspace/foundry_device-virtual-go_PR-155:rw,z -v /w/workspace/foundry_device-virtual-go_PR-155@tmp:/w/workspace/foundry_device-virtual-go_PR-155@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:10004/edgex-devops/git-semver:latest cat [2020-12-21T06:35:30.603Z] $ docker top 3243201bad2787039d981673172c176a75346317aa6db4c83301418b2ad63d10 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-21T06:35:30.984Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-21T06:35:30.984Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-21T06:35:31.202Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-21T06:35:31.208Z] $ docker exec 3243201bad2787039d981673172c176a75346317aa6db4c83301418b2ad63d10 ssh-agent [2020-12-21T06:35:31.407Z] SSH_AUTH_SOCK=/tmp/ssh-JcaeIYXDKEct/agent.12 [2020-12-21T06:35:31.407Z] SSH_AGENT_PID=18 [2020-12-21T06:35:31.422Z] Running ssh-add (command line suppressed) [2020-12-21T06:35:31.541Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-155@tmp/private_key_4314808071891643946.key (/w/workspace/foundry_device-virtual-go_PR-155@tmp/private_key_4314808071891643946.key) [2020-12-21T06:35:31.591Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-21T06:35:31.929Z] + git tag --points-at HEAD [Pipeline] } [2020-12-21T06:35:31.954Z] $ docker exec --env ******** --env ******** 3243201bad2787039d981673172c176a75346317aa6db4c83301418b2ad63d10 ssh-agent -k [2020-12-21T06:35:32.066Z] unset SSH_AUTH_SOCK; [2020-12-21T06:35:32.066Z] unset SSH_AGENT_PID; [2020-12-21T06:35:32.066Z] echo Agent pid 18 killed; [2020-12-21T06:35:32.112Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-21T06:35:32.263Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-21T06:35:32.263Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-21T06:35:32.433Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-21T06:35:32.439Z] $ docker exec 3243201bad2787039d981673172c176a75346317aa6db4c83301418b2ad63d10 ssh-agent [2020-12-21T06:35:32.601Z] SSH_AUTH_SOCK=/tmp/ssh-rzSZpIxX8pwD/agent.48 [2020-12-21T06:35:32.601Z] SSH_AGENT_PID=54 [2020-12-21T06:35:32.610Z] Running ssh-add (command line suppressed) [2020-12-21T06:35:32.744Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-155@tmp/private_key_3405957788711139744.key (/w/workspace/foundry_device-virtual-go_PR-155@tmp/private_key_3405957788711139744.key) [2020-12-21T06:35:32.797Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-21T06:35:33.134Z] + git semver init [2020-12-21T06:35:33.135Z] # -> Open(): unable to determine branch for HEAD [2020-12-21T06:35:33.135Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-155/.git [2020-12-21T06:35:33.135Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-155 [2020-12-21T06:35:33.135Z] # $SEMVER_REMOTE_NAME = origin [2020-12-21T06:35:33.135Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-21T06:35:33.135Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-21T06:35:33.135Z] # $SEMVER_BRANCH = PR-155 [2020-12-21T06:35:33.135Z] # $SEMVER_TEMP = /tmp/semver-403356823 [2020-12-21T06:35:33.135Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2020-12-21T06:35:33.713Z] # '/tmp/semver-403356823' -> '/w/workspace/foundry_device-virtual-go_PR-155/.semver' [2020-12-21T06:35:33.713Z] # -> Force: false [2020-12-21T06:35:33.713Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-155/.semver [Pipeline] } [2020-12-21T06:35:33.728Z] $ docker exec --env ******** --env ******** 3243201bad2787039d981673172c176a75346317aa6db4c83301418b2ad63d10 ssh-agent -k [2020-12-21T06:35:33.847Z] unset SSH_AUTH_SOCK; [2020-12-21T06:35:33.848Z] unset SSH_AGENT_PID; [2020-12-21T06:35:33.848Z] echo Agent pid 54 killed; [2020-12-21T06:35:33.896Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-21T06:35:34.348Z] + git semver [Pipeline] } [2020-12-21T06:35:34.368Z] $ docker stop --time=1 3243201bad2787039d981673172c176a75346317aa6db4c83301418b2ad63d10 [2020-12-21T06:35:35.795Z] $ docker rm -f 3243201bad2787039d981673172c176a75346317aa6db4c83301418b2ad63d10 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-21T06:35:36.251Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-21T06:35:36.705Z] Stashed 1 file(s) [Pipeline] echo [2020-12-21T06:35:36.708Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-12-21T06:35:52.189Z] Still waiting to schedule task [2020-12-21T06:35:52.189Z] ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-17029’ is offline [2020-12-21T06:35:52.192Z] Still waiting to schedule task [2020-12-21T06:35:52.192Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-21T06:38:38.390Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-17032 in /w/workspace/foundry_device-virtual-go_PR-155 [Pipeline] { [Pipeline] ws [2020-12-21T06:38:38.464Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2020-12-21T06:38:43.529Z] using credential edgex-jenkins-ssh [2020-12-21T06:38:43.589Z] Cloning the remote Git repository [2020-12-21T06:38:43.641Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-12-21T06:38:43.744Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2020-12-21T06:38:43.808Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-12-21T06:38:43.809Z] > git --version # timeout=10 [2020-12-21T06:38:43.828Z] > git --version # 'git version 2.17.1' [2020-12-21T06:38:43.830Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T06:38:43.902Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T06:38:44.695Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-12-21T06:38:44.716Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T06:38:44.750Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-12-21T06:38:45.423Z] Merging remotes/origin/master commit d98ab64770a8aa8499d3ed372f913abb779305df into PR head commit 601611d900917895ae2002fab268ae530b0db85a [2020-12-21T06:38:45.660Z] Merge succeeded, producing f0bc31c017fbedf4212707bb06a7f2d3b2d253f6 [2020-12-21T06:38:45.661Z] Checking out Revision f0bc31c017fbedf4212707bb06a7f2d3b2d253f6 (PR-155) [2020-12-21T06:38:44.787Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-12-21T06:38:44.836Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T06:38:44.848Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/155/head:refs/remotes/origin/PR-155 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-21T06:38:45.440Z] > git config core.sparsecheckout # timeout=10 [2020-12-21T06:38:45.466Z] > git checkout -f 601611d900917895ae2002fab268ae530b0db85a # timeout=10 [2020-12-21T06:38:45.546Z] > git remote # timeout=10 [2020-12-21T06:38:45.566Z] > git config --get remote.origin.url # timeout=10 [2020-12-21T06:38:45.583Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T06:38:45.593Z] > git merge d98ab64770a8aa8499d3ed372f913abb779305df # timeout=10 [2020-12-21T06:38:45.641Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-21T06:38:45.663Z] > git config core.sparsecheckout # timeout=10 [2020-12-21T06:38:45.676Z] > git checkout -f f0bc31c017fbedf4212707bb06a7f2d3b2d253f6 # timeout=10 [2020-12-21T06:38:49.858Z] Commit message: "Merge commit 'd98ab64770a8aa8499d3ed372f913abb779305df' into HEAD" [2020-12-21T06:38:49.863Z] > git rev-list --no-walk 601611d900917895ae2002fab268ae530b0db85a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-21T06:38:51.621Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-21T06:38:52.044Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-21T06:38:52.392Z] + + true [2020-12-21T06:38:52.392Z] sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-21T06:38:55.096Z] provisioning config files... [2020-12-21T06:38:55.141Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config1607602038480529144tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-21T06:38:55.551Z] ---> docker-login.sh [2020-12-21T06:38:55.551Z] nexus3.edgexfoundry.org:10001 [2020-12-21T06:38:56.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T06:38:56.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T06:38:56.754Z] Configure a credential helper to remove this warning. See [2020-12-21T06:38:56.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T06:38:56.754Z] [2020-12-21T06:38:56.754Z] Login Succeeded [2020-12-21T06:38:56.754Z] nexus3.edgexfoundry.org:10002 [2020-12-21T06:38:57.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T06:38:57.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T06:38:57.305Z] Configure a credential helper to remove this warning. See [2020-12-21T06:38:57.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T06:38:57.305Z] [2020-12-21T06:38:57.305Z] Login Succeeded [2020-12-21T06:38:57.305Z] nexus3.edgexfoundry.org:10003 [2020-12-21T06:38:57.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T06:38:57.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T06:38:57.851Z] Configure a credential helper to remove this warning. See [2020-12-21T06:38:57.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T06:38:57.851Z] [2020-12-21T06:38:57.851Z] Login Succeeded [2020-12-21T06:38:57.851Z] nexus3.edgexfoundry.org:10004 [2020-12-21T06:38:58.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T06:38:58.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T06:38:58.406Z] Configure a credential helper to remove this warning. See [2020-12-21T06:38:58.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T06:38:58.406Z] [2020-12-21T06:38:58.406Z] Login Succeeded [2020-12-21T06:38:58.406Z] docker.io [2020-12-21T06:38:58.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T06:38:58.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T06:38:58.952Z] Configure a credential helper to remove this warning. See [2020-12-21T06:38:58.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T06:38:58.952Z] [2020-12-21T06:38:58.952Z] Login Succeeded [2020-12-21T06:38:58.952Z] ---> docker-login.sh ends [Pipeline] } [2020-12-21T06:38:58.969Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-21T06:38:59.401Z] ========================================================= [2020-12-21T06:38:59.401Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-21T06:38:59.401Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-21T06:38:59.785Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-12-21T06:39:00.066Z] Sending build context to Docker daemon 481.8kB [2020-12-21T06:39:00.066Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-21T06:39:00.066Z] Step 2/8 : FROM ${BASE} [2020-12-21T06:39:00.354Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-21T06:39:00.354Z] 5f621e34cdf4: Pulling fs layer [2020-12-21T06:39:00.354Z] a4357932f1b6: Pulling fs layer [2020-12-21T06:39:00.354Z] 18c013af1878: Pulling fs layer [2020-12-21T06:39:00.354Z] 00ac8860ef70: Pulling fs layer [2020-12-21T06:39:00.354Z] 63d7cb157983: Pulling fs layer [2020-12-21T06:39:00.354Z] b116817d02f9: Pulling fs layer [2020-12-21T06:39:00.354Z] 745a02a5169b: Pulling fs layer [2020-12-21T06:39:00.354Z] 63d7cb157983: Waiting [2020-12-21T06:39:00.354Z] b116817d02f9: Waiting [2020-12-21T06:39:00.354Z] 745a02a5169b: Waiting [2020-12-21T06:39:00.354Z] 00ac8860ef70: Waiting [2020-12-21T06:39:00.354Z] 18c013af1878: Verifying Checksum [2020-12-21T06:39:00.354Z] 18c013af1878: Download complete [2020-12-21T06:39:00.354Z] a4357932f1b6: Verifying Checksum [2020-12-21T06:39:00.354Z] a4357932f1b6: Download complete [2020-12-21T06:39:00.354Z] 63d7cb157983: Verifying Checksum [2020-12-21T06:39:00.354Z] 63d7cb157983: Download complete [2020-12-21T06:39:00.354Z] 5f621e34cdf4: Verifying Checksum [2020-12-21T06:39:00.354Z] 5f621e34cdf4: Download complete [2020-12-21T06:39:00.354Z] b116817d02f9: Verifying Checksum [2020-12-21T06:39:00.354Z] b116817d02f9: Download complete [2020-12-21T06:39:00.985Z] 5f621e34cdf4: Pull complete [2020-12-21T06:39:01.589Z] a4357932f1b6: Pull complete [2020-12-21T06:39:01.871Z] 18c013af1878: Pull complete [2020-12-21T06:39:03.304Z] 745a02a5169b: Verifying Checksum [2020-12-21T06:39:03.304Z] 745a02a5169b: Download complete [2020-12-21T06:39:03.901Z] 00ac8860ef70: Verifying Checksum [2020-12-21T06:39:03.902Z] 00ac8860ef70: Download complete [2020-12-21T06:39:12.680Z] Running on prd-centos7-docker-4c-2g-17036 in /w/workspace/foundry_device-virtual-go_PR-155 [Pipeline] { [Pipeline] ws [2020-12-21T06:39:12.734Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2020-12-21T06:39:14.064Z] 00ac8860ef70: Pull complete [2020-12-21T06:39:14.064Z] 63d7cb157983: Pull complete [2020-12-21T06:39:14.671Z] b116817d02f9: Pull complete [2020-12-21T06:39:14.897Z] using credential edgex-jenkins-ssh [2020-12-21T06:39:14.950Z] Cloning the remote Git repository [2020-12-21T06:39:14.981Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-12-21T06:39:15.055Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2020-12-21T06:39:15.115Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-12-21T06:39:15.115Z] > git --version # timeout=10 [2020-12-21T06:39:15.122Z] > git --version # 'git version 2.24.3' [2020-12-21T06:39:15.123Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T06:39:15.147Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T06:39:16.253Z] Merging remotes/origin/master commit d98ab64770a8aa8499d3ed372f913abb779305df into PR head commit 601611d900917895ae2002fab268ae530b0db85a [2020-12-21T06:39:15.808Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-12-21T06:39:15.817Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T06:39:15.828Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-12-21T06:39:15.843Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-12-21T06:39:15.843Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T06:39:15.847Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/155/head:refs/remotes/origin/PR-155 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-21T06:39:16.263Z] > git config core.sparsecheckout # timeout=10 [2020-12-21T06:39:16.271Z] > git checkout -f 601611d900917895ae2002fab268ae530b0db85a # timeout=10 [2020-12-21T06:39:16.341Z] Merge succeeded, producing cba4f7d19a62331c7f9a946cd943f4a53f148b82 [2020-12-21T06:39:16.341Z] Checking out Revision cba4f7d19a62331c7f9a946cd943f4a53f148b82 (PR-155) [2020-12-21T06:39:16.306Z] > git remote # timeout=10 [2020-12-21T06:39:16.311Z] > git config --get remote.origin.url # timeout=10 [2020-12-21T06:39:16.317Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T06:39:16.320Z] > git merge d98ab64770a8aa8499d3ed372f913abb779305df # timeout=10 [2020-12-21T06:39:16.338Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-21T06:39:16.346Z] > git config core.sparsecheckout # timeout=10 [2020-12-21T06:39:16.350Z] > git checkout -f cba4f7d19a62331c7f9a946cd943f4a53f148b82 # timeout=10 [2020-12-21T06:39:18.066Z] 745a02a5169b: Pull complete [2020-12-21T06:39:18.066Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-21T06:39:18.066Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-21T06:39:18.066Z] ---> b7e6874047d6 [2020-12-21T06:39:18.066Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-12-21T06:39:20.049Z] Commit message: "Merge commit 'd98ab64770a8aa8499d3ed372f913abb779305df' into HEAD" [2020-12-21T06:39:20.054Z] > git rev-list --no-walk 601611d900917895ae2002fab268ae530b0db85a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-21T06:39:20.716Z] ---> Running in f2bf332a3f21 [2020-12-21T06:39:21.324Z] Removing intermediate container f2bf332a3f21 [2020-12-21T06:39:21.324Z] ---> bab08a3a59cc [2020-12-21T06:39:21.324Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-21T06:39:21.324Z] ---> Running in 6f27b7b62e1a [2020-12-21T06:39:21.341Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-21T06:39:21.675Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-21T06:39:21.976Z] + sudo service docker restart [2020-12-21T06:39:21.976Z] + true [2020-12-21T06:39:21.977Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-21T06:39:22.987Z] provisioning config files... [2020-12-21T06:39:23.018Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config1783475332956802571tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-21T06:39:23.411Z] ---> docker-login.sh [2020-12-21T06:39:23.411Z] nexus3.edgexfoundry.org:10001 [2020-12-21T06:39:23.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T06:39:23.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T06:39:23.674Z] Configure a credential helper to remove this warning. See [2020-12-21T06:39:23.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T06:39:23.674Z] [2020-12-21T06:39:23.674Z] Login Succeeded [2020-12-21T06:39:23.674Z] nexus3.edgexfoundry.org:10002 [2020-12-21T06:39:23.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T06:39:23.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T06:39:23.937Z] Configure a credential helper to remove this warning. See [2020-12-21T06:39:23.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T06:39:23.937Z] [2020-12-21T06:39:23.937Z] Login Succeeded [2020-12-21T06:39:23.937Z] nexus3.edgexfoundry.org:10003 [2020-12-21T06:39:23.939Z] Removing intermediate container 6f27b7b62e1a [2020-12-21T06:39:23.939Z] ---> d935c2a04cf7 [2020-12-21T06:39:23.939Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-12-21T06:39:23.939Z] ---> Running in f7665f9be230 [2020-12-21T06:39:24.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T06:39:24.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T06:39:24.202Z] Configure a credential helper to remove this warning. See [2020-12-21T06:39:24.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T06:39:24.202Z] [2020-12-21T06:39:24.202Z] Login Succeeded [2020-12-21T06:39:24.202Z] nexus3.edgexfoundry.org:10004 [2020-12-21T06:39:24.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T06:39:24.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T06:39:24.202Z] Configure a credential helper to remove this warning. See [2020-12-21T06:39:24.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T06:39:24.202Z] [2020-12-21T06:39:24.202Z] Login Succeeded [2020-12-21T06:39:24.202Z] docker.io [2020-12-21T06:39:24.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T06:39:24.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T06:39:24.725Z] Configure a credential helper to remove this warning. See [2020-12-21T06:39:24.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T06:39:24.725Z] [2020-12-21T06:39:24.725Z] Login Succeeded [2020-12-21T06:39:24.725Z] ---> docker-login.sh ends [Pipeline] } [2020-12-21T06:39:24.738Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [2020-12-21T06:39:24.917Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] unstash [Pipeline] echo [2020-12-21T06:39:25.148Z] ========================================================= [2020-12-21T06:39:25.148Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-21T06:39:25.148Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-21T06:39:25.505Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-12-21T06:39:25.505Z] Sending build context to Docker daemon 482.8kB [2020-12-21T06:39:25.505Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-21T06:39:25.505Z] Step 2/8 : FROM ${BASE} [2020-12-21T06:39:25.505Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-21T06:39:25.505Z] 188c0c94c7c5: Pulling fs layer [2020-12-21T06:39:25.505Z] 0ef7d3d256c8: Pulling fs layer [2020-12-21T06:39:25.505Z] de9db76c5a1d: Pulling fs layer [2020-12-21T06:39:25.505Z] bca2f99d35d6: Pulling fs layer [2020-12-21T06:39:25.505Z] 93359f2a8cfa: Pulling fs layer [2020-12-21T06:39:25.505Z] 7c6f9722023f: Pulling fs layer [2020-12-21T06:39:25.505Z] a35cf1a2eb13: Pulling fs layer [2020-12-21T06:39:25.505Z] 93359f2a8cfa: Waiting [2020-12-21T06:39:25.505Z] 7c6f9722023f: Waiting [2020-12-21T06:39:25.505Z] a35cf1a2eb13: Waiting [2020-12-21T06:39:25.505Z] bca2f99d35d6: Waiting [2020-12-21T06:39:25.530Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-21T06:39:25.767Z] de9db76c5a1d: Verifying Checksum [2020-12-21T06:39:25.767Z] 0ef7d3d256c8: Verifying Checksum [2020-12-21T06:39:25.767Z] 0ef7d3d256c8: Download complete [2020-12-21T06:39:25.767Z] 93359f2a8cfa: Verifying Checksum [2020-12-21T06:39:25.767Z] 93359f2a8cfa: Download complete [2020-12-21T06:39:25.767Z] 188c0c94c7c5: Verifying Checksum [2020-12-21T06:39:25.767Z] 7c6f9722023f: Verifying Checksum [2020-12-21T06:39:25.767Z] 7c6f9722023f: Download complete [2020-12-21T06:39:26.028Z] 188c0c94c7c5: Pull complete [2020-12-21T06:39:26.120Z] (1/14) Installing libmagic (5.38-r0) [2020-12-21T06:39:26.291Z] 0ef7d3d256c8: Pull complete [2020-12-21T06:39:26.390Z] (2/14) Installing file (5.38-r0) [2020-12-21T06:39:26.390Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-12-21T06:39:26.390Z] (4/14) Installing g++ (9.3.0-r2) [2020-12-21T06:39:26.556Z] de9db76c5a1d: Pull complete [2020-12-21T06:39:27.952Z] a35cf1a2eb13: Verifying Checksum [2020-12-21T06:39:27.952Z] a35cf1a2eb13: Download complete [2020-12-21T06:39:28.528Z] bca2f99d35d6: Verifying Checksum [2020-12-21T06:39:28.528Z] bca2f99d35d6: Download complete [2020-12-21T06:39:33.889Z] bca2f99d35d6: Pull complete [2020-12-21T06:39:33.889Z] 93359f2a8cfa: Pull complete [2020-12-21T06:39:33.889Z] 7c6f9722023f: Pull complete [2020-12-21T06:39:38.760Z] (5/14) Installing fortify-headers (1.1-r0) [2020-12-21T06:39:38.760Z] (6/14) Installing patch (2.7.6-r6) [2020-12-21T06:39:38.760Z] (7/14) Installing build-base (0.5-r2) [2020-12-21T06:39:38.760Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2020-12-21T06:39:38.760Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-12-21T06:39:38.760Z] (10/14) Installing openssh-client (8.3_p1-r1) [2020-12-21T06:39:39.034Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2020-12-21T06:39:39.034Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2020-12-21T06:39:39.214Z] a35cf1a2eb13: Pull complete [2020-12-21T06:39:39.214Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-21T06:39:39.214Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-21T06:39:39.214Z] ---> a62c8e92a672 [2020-12-21T06:39:39.214Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-12-21T06:39:39.214Z] ---> Running in 3ff117743f3e [2020-12-21T06:39:39.214Z] Removing intermediate container 3ff117743f3e [2020-12-21T06:39:39.214Z] ---> 6e0cbb86aefb [2020-12-21T06:39:39.214Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-21T06:39:39.214Z] ---> Running in 4d59fdc21124 [2020-12-21T06:39:39.303Z] (13/14) Installing openssh-server (8.3_p1-r1) [2020-12-21T06:39:39.303Z] (14/14) Installing openssh (8.3_p1-r1) [2020-12-21T06:39:39.577Z] Executing busybox-1.31.1-r19.trigger [2020-12-21T06:39:39.577Z] OK: 221 MiB in 53 packages [2020-12-21T06:39:39.800Z] Removing intermediate container 4d59fdc21124 [2020-12-21T06:39:39.800Z] ---> 4e4652de517e [2020-12-21T06:39:39.800Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-12-21T06:39:39.800Z] ---> Running in 2d3e5ac08fb5 [2020-12-21T06:39:40.375Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-21T06:39:40.949Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-21T06:39:41.524Z] (1/14) Installing libmagic (5.38-r0) [2020-12-21T06:39:41.786Z] (2/14) Installing file (5.38-r0) [2020-12-21T06:39:42.048Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-12-21T06:39:42.048Z] (4/14) Installing g++ (9.3.0-r2) [2020-12-21T06:39:43.919Z] Removing intermediate container f7665f9be230 [2020-12-21T06:39:43.919Z] ---> 74facd12bef9 [2020-12-21T06:39:43.919Z] Step 6/8 : WORKDIR /device-virtual-go [2020-12-21T06:39:43.919Z] ---> Running in b634922fca59 [2020-12-21T06:39:43.919Z] Removing intermediate container b634922fca59 [2020-12-21T06:39:43.919Z] ---> ad303e8784a6 [2020-12-21T06:39:43.919Z] Step 7/8 : COPY . . [2020-12-21T06:39:44.898Z] ---> a5c5caf6edd9 [2020-12-21T06:39:44.898Z] Step 8/8 : RUN go mod download [2020-12-21T06:39:44.898Z] ---> Running in fd2c3895d682 [2020-12-21T06:39:56.975Z] (5/14) Installing fortify-headers (1.1-r0) [2020-12-21T06:39:56.975Z] (6/14) Installing patch (2.7.6-r6) [2020-12-21T06:39:56.975Z] (7/14) Installing build-base (0.5-r2) [2020-12-21T06:39:56.975Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2020-12-21T06:39:56.975Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-12-21T06:39:56.975Z] (10/14) Installing openssh-client (8.3_p1-r1) [2020-12-21T06:39:57.238Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2020-12-21T06:39:57.238Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2020-12-21T06:39:57.238Z] (13/14) Installing openssh-server (8.3_p1-r1) [2020-12-21T06:39:57.501Z] (14/14) Installing openssh (8.3_p1-r1) [2020-12-21T06:39:57.501Z] Executing busybox-1.31.1-r19.trigger [2020-12-21T06:39:57.501Z] OK: 237 MiB in 53 packages [2020-12-21T06:40:00.856Z] Removing intermediate container 2d3e5ac08fb5 [2020-12-21T06:40:00.856Z] ---> 0c1b413d8d20 [2020-12-21T06:40:00.856Z] Step 6/8 : WORKDIR /device-virtual-go [2020-12-21T06:40:00.856Z] ---> Running in 6bd41e5f07c4 [2020-12-21T06:40:00.856Z] Removing intermediate container 6bd41e5f07c4 [2020-12-21T06:40:00.856Z] ---> ba414a1b2766 [2020-12-21T06:40:00.856Z] Step 7/8 : COPY . . [2020-12-21T06:40:01.438Z] ---> 9074d32118bb [2020-12-21T06:40:01.438Z] Step 8/8 : RUN go mod download [2020-12-21T06:40:01.438Z] ---> Running in 312c76969ebf [2020-12-21T06:40:11.691Z] Removing intermediate container fd2c3895d682 [2020-12-21T06:40:11.692Z] ---> 81f1bde86514 [2020-12-21T06:40:11.692Z] Successfully built 81f1bde86514 [2020-12-21T06:40:11.692Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-21T06:40:12.030Z] + docker inspect -f . ci-base-image-arm64 [2020-12-21T06:40:12.030Z] . [Pipeline] withDockerContainer [2020-12-21T06:40:12.298Z] prd-ubuntu18.04-docker-arm64-4c-16g-17032 does not seem to be running inside a container [2020-12-21T06:40:12.385Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-21T06:40:13.810Z] $ docker top 72a8ae1bc18156d4e2fcf98231ce90064558ecafc9bd4c6bf70704ab322a8257 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T06:40:14.834Z] + go version [2020-12-21T06:40:14.834Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-21T06:40:14.858Z] $ docker stop --time=1 72a8ae1bc18156d4e2fcf98231ce90064558ecafc9bd4c6bf70704ab322a8257 [2020-12-21T06:40:16.785Z] $ docker rm -f 72a8ae1bc18156d4e2fcf98231ce90064558ecafc9bd4c6bf70704ab322a8257 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-21T06:40:17.817Z] + docker inspect -f . ci-base-image-arm64 [2020-12-21T06:40:17.817Z] . [Pipeline] withDockerContainer [2020-12-21T06:40:18.086Z] prd-ubuntu18.04-docker-arm64-4c-16g-17032 does not seem to be running inside a container [2020-12-21T06:40:18.169Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-21T06:40:19.558Z] $ docker top 3631d5439a6d86eb8053f7443f0dc74780a038740eb684ee7d78be3fd186a26f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T06:40:20.585Z] + make test [2020-12-21T06:40:20.585Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-12-21T06:40:21.566Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-12-21T06:40:23.462Z] Removing intermediate container 312c76969ebf [2020-12-21T06:40:23.462Z] ---> 717191dd0846 [2020-12-21T06:40:23.462Z] Successfully built 717191dd0846 [2020-12-21T06:40:23.462Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-21T06:40:23.777Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-21T06:40:23.777Z] . [Pipeline] withDockerContainer [2020-12-21T06:40:23.900Z] prd-centos7-docker-4c-2g-17036 does not seem to be running inside a container [2020-12-21T06:40:23.952Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-21T06:40:24.703Z] $ docker top defae4029d5be2950f45175853ba6f1537ff7eaa67faedbec33f976452037902 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T06:40:25.229Z] + go version [2020-12-21T06:40:25.229Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-21T06:40:25.247Z] $ docker stop --time=1 defae4029d5be2950f45175853ba6f1537ff7eaa67faedbec33f976452037902 [2020-12-21T06:40:26.595Z] $ docker rm -f defae4029d5be2950f45175853ba6f1537ff7eaa67faedbec33f976452037902 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-21T06:40:27.441Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-21T06:40:27.441Z] . [Pipeline] withDockerContainer [2020-12-21T06:40:27.541Z] prd-centos7-docker-4c-2g-17036 does not seem to be running inside a container [2020-12-21T06:40:27.593Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-21T06:40:28.129Z] $ docker top 76d3b628c724247de05e93c486dc066c66f403d0d97cac6f2cc9a44777ade063 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T06:40:28.599Z] + make test [2020-12-21T06:40:28.600Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-12-21T06:40:29.551Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-12-21T06:40:44.649Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-12-21T06:40:44.649Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.327s coverage: 64.4% of statements [2020-12-21T06:40:44.919Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-21T06:40:48.292Z] gofmt -l . [2020-12-21T06:40:48.292Z] [ "`gofmt -l .`" = "" ] [2020-12-21T06:40:48.292Z] ./bin/test-attribution-txt.sh [2020-12-21T06:40:48.555Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-21T06:40:48.837Z] $ docker stop --time=1 76d3b628c724247de05e93c486dc066c66f403d0d97cac6f2cc9a44777ade063 [2020-12-21T06:40:50.495Z] $ docker rm -f 76d3b628c724247de05e93c486dc066c66f403d0d97cac6f2cc9a44777ade063 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-21T06:40:51.074Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-21T06:40:51.450Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-12-21T06:40:52.852Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-21T06:40:53.154Z] + ls -al . [2020-12-21T06:40:53.154Z] total 128 [2020-12-21T06:40:53.154Z] drwxrwxr-x. 7 jenkins jenkins 4096 Dec 21 06:40 . [2020-12-21T06:40:53.154Z] drwxrwxr-x. 4 jenkins jenkins 28 Dec 21 06:39 .. [2020-12-21T06:40:53.154Z] -rw-rw-r--. 1 jenkins jenkins 6713 Dec 21 06:39 Attribution.txt [2020-12-21T06:40:53.154Z] drwxrwxr-x. 2 jenkins jenkins 64 Dec 21 06:39 bin [2020-12-21T06:40:53.154Z] drwxrwxr-x. 3 jenkins jenkins 32 Dec 21 06:39 cmd [2020-12-21T06:40:53.154Z] -rw-r--r--. 1 jenkins jenkins 47242 Dec 21 06:40 coverage.out [2020-12-21T06:40:53.154Z] -rw-rw-r--. 1 jenkins jenkins 1834 Dec 21 06:39 Dockerfile [2020-12-21T06:40:53.154Z] -rw-rw-r--. 1 jenkins jenkins 957 Dec 21 06:39 Dockerfile.build [2020-12-21T06:40:53.154Z] drwxrwxr-x. 8 jenkins jenkins 179 Dec 21 06:39 .git [2020-12-21T06:40:53.154Z] drwxrwxr-x. 2 jenkins jenkins 60 Dec 21 06:39 .github [2020-12-21T06:40:53.154Z] -rw-rw-r--. 1 jenkins jenkins 258 Dec 21 06:39 .gitignore [2020-12-21T06:40:53.154Z] -rw-r--r--. 1 jenkins jenkins 203 Dec 21 06:40 go.mod [2020-12-21T06:40:53.154Z] -rw-r--r--. 1 jenkins jenkins 16566 Dec 21 06:40 go.sum [2020-12-21T06:40:53.154Z] drwxrwxr-x. 3 jenkins jenkins 20 Dec 21 06:39 internal [2020-12-21T06:40:53.154Z] -rw-rw-r--. 1 jenkins jenkins 660 Dec 21 06:39 Jenkinsfile [2020-12-21T06:40:53.154Z] -rw-rw-r--. 1 jenkins jenkins 11340 Dec 21 06:39 LICENSE [2020-12-21T06:40:53.154Z] -rw-rw-r--. 1 jenkins jenkins 873 Dec 21 06:39 Makefile [2020-12-21T06:40:53.154Z] -rw-rw-r--. 1 jenkins jenkins 918 Dec 21 06:39 README.md [2020-12-21T06:40:53.154Z] -rw-rw-r--. 1 jenkins jenkins 5 Dec 21 06:35 VERSION [2020-12-21T06:40:53.154Z] -rw-rw-r--. 1 jenkins jenkins 235 Dec 21 06:39 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-21T06:40:53.462Z] + docker build -t docker-device-virtual-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=754cc5e8159cce4ac0aa09f8b03c16f8e4f3bf95 --label arch=amd64 --label version=0.0.0 . [2020-12-21T06:40:53.463Z] Sending build context to Docker daemon 548.4kB [2020-12-21T06:40:53.463Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-12-21T06:40:53.463Z] Step 2/22 : FROM ${BASE} AS builder [2020-12-21T06:40:53.463Z] ---> 717191dd0846 [2020-12-21T06:40:53.463Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-12-21T06:40:53.726Z] ---> Running in 0dce766ea525 [2020-12-21T06:40:53.989Z] Removing intermediate container 0dce766ea525 [2020-12-21T06:40:53.989Z] ---> 5731659ea70b [2020-12-21T06:40:53.989Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-12-21T06:40:53.989Z] ---> Running in 00b4049cfa84 [2020-12-21T06:40:54.251Z] Removing intermediate container 00b4049cfa84 [2020-12-21T06:40:54.251Z] ---> 209cf7bd74fb [2020-12-21T06:40:54.251Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-12-21T06:40:54.251Z] ---> Running in 55d3905327a0 [2020-12-21T06:40:54.514Z] Removing intermediate container 55d3905327a0 [2020-12-21T06:40:54.514Z] ---> a18af5fc1871 [2020-12-21T06:40:54.514Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-21T06:40:54.514Z] ---> Running in 0d3d1b1852e1 [2020-12-21T06:40:55.462Z] Removing intermediate container 0d3d1b1852e1 [2020-12-21T06:40:55.462Z] ---> 29b63b0185ad [2020-12-21T06:40:55.462Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-12-21T06:40:55.462Z] ---> Running in c16a9a95f27e [2020-12-21T06:40:55.727Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-21T06:40:56.676Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-21T06:40:56.938Z] OK: 237 MiB in 53 packages [2020-12-21T06:40:57.514Z] Removing intermediate container c16a9a95f27e [2020-12-21T06:40:57.514Z] ---> 908271735aee [2020-12-21T06:40:57.514Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-12-21T06:40:57.514Z] ---> Running in 13d7a33804ea [2020-12-21T06:40:57.776Z] Removing intermediate container 13d7a33804ea [2020-12-21T06:40:57.776Z] ---> 12178b74d68e [2020-12-21T06:40:57.776Z] Step 9/22 : COPY . . [2020-12-21T06:40:58.348Z] ---> e3f9914454df [2020-12-21T06:40:58.348Z] Step 10/22 : ARG MAKE='make build' [2020-12-21T06:40:58.613Z] ---> Running in 197bc0af85d0 [2020-12-21T06:40:58.613Z] Removing intermediate container 197bc0af85d0 [2020-12-21T06:40:58.613Z] ---> 421718261b33 [2020-12-21T06:40:58.613Z] Step 11/22 : RUN $MAKE [2020-12-21T06:40:58.613Z] ---> Running in ae7f63539e31 [2020-12-21T06:40:59.192Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2020-12-21T06:41:08.612Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-12-21T06:41:08.612Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.504s coverage: 64.4% of statements [2020-12-21T06:41:08.612Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-21T06:41:11.574Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-12-21T06:41:13.497Z] Removing intermediate container ae7f63539e31 [2020-12-21T06:41:13.497Z] ---> 88200cd84049 [2020-12-21T06:41:13.497Z] Step 12/22 : FROM alpine [2020-12-21T06:41:14.071Z] latest: Pulling from library/alpine [2020-12-21T06:41:14.333Z] 801bfaa63ef2: Pulling fs layer [2020-12-21T06:41:14.333Z] 801bfaa63ef2: Verifying Checksum [2020-12-21T06:41:14.333Z] 801bfaa63ef2: Download complete [2020-12-21T06:41:14.597Z] 801bfaa63ef2: Pull complete [2020-12-21T06:41:14.597Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2020-12-21T06:41:14.597Z] Status: Downloaded newer image for alpine:latest [2020-12-21T06:41:14.597Z] ---> 389fef711851 [2020-12-21T06:41:14.597Z] Step 13/22 : ENV APP_PORT=49990 [2020-12-21T06:41:14.860Z] ---> Running in 171f74ae3ecb [2020-12-21T06:41:14.860Z] Removing intermediate container 171f74ae3ecb [2020-12-21T06:41:14.860Z] ---> 78729d98f154 [2020-12-21T06:41:14.860Z] Step 14/22 : EXPOSE $APP_PORT [2020-12-21T06:41:14.860Z] ---> Running in 22c1d354b974 [2020-12-21T06:41:15.125Z] Removing intermediate container 22c1d354b974 [2020-12-21T06:41:15.125Z] ---> 01b3ba486ead [2020-12-21T06:41:15.125Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-12-21T06:41:15.346Z] gofmt -l . [2020-12-21T06:41:15.346Z] [ "`gofmt -l .`" = "" ] [2020-12-21T06:41:15.346Z] ./bin/test-attribution-txt.sh [2020-12-21T06:41:16.076Z] ---> 1dfc041485de [2020-12-21T06:41:16.076Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-12-21T06:41:16.076Z] ---> 604d0fe70d52 [2020-12-21T06:41:16.076Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-12-21T06:41:16.342Z] ---> 5965d0bb3355 [2020-12-21T06:41:16.342Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2020-12-21T06:41:16.342Z] ---> Running in acf7e3cd76e5 [2020-12-21T06:41:16.604Z] Removing intermediate container acf7e3cd76e5 [2020-12-21T06:41:16.604Z] ---> f53b73feaa19 [2020-12-21T06:41:16.604Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-21T06:41:16.604Z] ---> Running in 95993083e1e7 [2020-12-21T06:41:16.790Z] ./bin/test-go-mod-tidy.sh [2020-12-21T06:41:16.866Z] Removing intermediate container 95993083e1e7 [2020-12-21T06:41:16.866Z] ---> 559b9f2dd6da [2020-12-21T06:41:16.866Z] Step 20/22 : LABEL arch=amd64 [2020-12-21T06:41:16.866Z] ---> Running in 7d3439752879 [2020-12-21T06:41:16.866Z] Removing intermediate container 7d3439752879 [2020-12-21T06:41:16.866Z] ---> 3600221ff014 [2020-12-21T06:41:16.866Z] Step 21/22 : LABEL git_sha=754cc5e8159cce4ac0aa09f8b03c16f8e4f3bf95 [Pipeline] } [2020-12-21T06:41:17.086Z] $ docker stop --time=1 3631d5439a6d86eb8053f7443f0dc74780a038740eb684ee7d78be3fd186a26f [2020-12-21T06:41:17.130Z] ---> Running in 5f17cad0b5ad [2020-12-21T06:41:17.130Z] Removing intermediate container 5f17cad0b5ad [2020-12-21T06:41:17.130Z] ---> b52cec610a00 [2020-12-21T06:41:17.130Z] Step 22/22 : LABEL version=0.0.0 [2020-12-21T06:41:17.392Z] ---> Running in df98c31cf6a5 [2020-12-21T06:41:17.392Z] Removing intermediate container df98c31cf6a5 [2020-12-21T06:41:17.392Z] ---> ab1f41bebf22 [2020-12-21T06:41:17.392Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-21T06:41:17.392Z] Successfully built ab1f41bebf22 [2020-12-21T06:41:17.392Z] Successfully tagged docker-device-virtual-go:latest [2020-12-21T06:41:19.315Z] $ docker rm -f 3631d5439a6d86eb8053f7443f0dc74780a038740eb684ee7d78be3fd186a26f [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2020-12-21T06:41:20.178Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-21T06:41:20.210Z] Warning: overwriting stash ‘coverage-report’ 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 [2020-12-21T06:41:21.030Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-21T06:41:21.976Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-21T06:41:22.388Z] + ls -al . [2020-12-21T06:41:22.388Z] total 152 [2020-12-21T06:41:22.388Z] drwxrwxr-x 7 jenkins jenkins 4096 Dec 21 06:41 . [2020-12-21T06:41:22.388Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 06:38 .. [2020-12-21T06:41:22.388Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 21 06:38 .git [2020-12-21T06:41:22.388Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 21 06:38 .github [2020-12-21T06:41:22.388Z] -rw-rw-r-- 1 jenkins jenkins 258 Dec 21 06:38 .gitignore [2020-12-21T06:41:22.389Z] -rw-rw-r-- 1 jenkins jenkins 6713 Dec 21 06:38 Attribution.txt [2020-12-21T06:41:22.389Z] -rw-rw-r-- 1 jenkins jenkins 1834 Dec 21 06:38 Dockerfile [2020-12-21T06:41:22.389Z] -rw-rw-r-- 1 jenkins jenkins 957 Dec 21 06:38 Dockerfile.build [2020-12-21T06:41:22.389Z] -rw-rw-r-- 1 jenkins jenkins 660 Dec 21 06:38 Jenkinsfile [2020-12-21T06:41:22.389Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 21 06:38 LICENSE [2020-12-21T06:41:22.389Z] -rw-rw-r-- 1 jenkins jenkins 873 Dec 21 06:38 Makefile [2020-12-21T06:41:22.389Z] -rw-rw-r-- 1 jenkins jenkins 918 Dec 21 06:38 README.md [2020-12-21T06:41:22.389Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 21 06:35 VERSION [2020-12-21T06:41:22.389Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 21 06:38 bin [2020-12-21T06:41:22.389Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 21 06:38 cmd [2020-12-21T06:41:22.389Z] -rw-r--r-- 1 jenkins jenkins 47242 Dec 21 06:41 coverage.out [2020-12-21T06:41:22.389Z] -rw-r--r-- 1 jenkins jenkins 203 Dec 21 06:41 go.mod [2020-12-21T06:41:22.389Z] -rw-r--r-- 1 jenkins jenkins 16566 Dec 21 06:41 go.sum [2020-12-21T06:41:22.389Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 21 06:38 internal [2020-12-21T06:41:22.389Z] -rw-rw-r-- 1 jenkins jenkins 235 Dec 21 06:38 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-21T06:41:22.769Z] + docker build -t docker-device-virtual-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=754cc5e8159cce4ac0aa09f8b03c16f8e4f3bf95 --label arch=arm64 --label version=0.0.0 . [2020-12-21T06:41:23.054Z] Sending build context to Docker daemon 547.3kB [2020-12-21T06:41:23.054Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-12-21T06:41:23.054Z] Step 2/22 : FROM ${BASE} AS builder [2020-12-21T06:41:23.054Z] ---> 81f1bde86514 [2020-12-21T06:41:23.054Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-12-21T06:41:23.331Z] ---> Running in 4bbb8c39180b [2020-12-21T06:41:23.936Z] Removing intermediate container 4bbb8c39180b [2020-12-21T06:41:23.936Z] ---> 334f95ba639d [2020-12-21T06:41:23.936Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-12-21T06:41:23.936Z] ---> Running in 5d60284bddaf [2020-12-21T06:41:24.529Z] Removing intermediate container 5d60284bddaf [2020-12-21T06:41:24.529Z] ---> c481c6abc1a7 [2020-12-21T06:41:24.529Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-12-21T06:41:24.529Z] ---> Running in d5073fcd8c1b [2020-12-21T06:41:24.803Z] Removing intermediate container d5073fcd8c1b [2020-12-21T06:41:24.803Z] ---> 5cc5dbd0ff23 [2020-12-21T06:41:24.803Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-21T06:41:25.072Z] ---> Running in ccf6e70db828 [2020-12-21T06:41:27.037Z] Removing intermediate container ccf6e70db828 [2020-12-21T06:41:27.037Z] ---> 77e13f8f7e56 [2020-12-21T06:41:27.037Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-12-21T06:41:27.037Z] ---> Running in a8fa34a52023 [2020-12-21T06:41:28.012Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-21T06:41:28.987Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-21T06:41:29.579Z] OK: 221 MiB in 53 packages [2020-12-21T06:41:30.570Z] Removing intermediate container a8fa34a52023 [2020-12-21T06:41:30.570Z] ---> 28269038462a [2020-12-21T06:41:30.570Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-12-21T06:41:30.843Z] ---> Running in 40bbbb20dcf9 [2020-12-21T06:41:31.438Z] Removing intermediate container 40bbbb20dcf9 [2020-12-21T06:41:31.438Z] ---> f4edf16b315f [2020-12-21T06:41:31.438Z] Step 9/22 : COPY . . [2020-12-21T06:41:32.419Z] ---> 0729c21cc4c5 [2020-12-21T06:41:32.419Z] Step 10/22 : ARG MAKE='make build' [2020-12-21T06:41:32.419Z] ---> Running in 8effa485b3e4 [2020-12-21T06:41:32.692Z] Removing intermediate container 8effa485b3e4 [2020-12-21T06:41:32.692Z] ---> 933df7bfcada [2020-12-21T06:41:32.692Z] Step 11/22 : RUN $MAKE [2020-12-21T06:41:32.966Z] ---> Running in 7bce279b5489 [2020-12-21T06:41:33.943Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2020-12-21T06:42:06.360Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-12-21T06:42:14.661Z] Removing intermediate container 7bce279b5489 [2020-12-21T06:42:14.661Z] ---> 33b62d8785fd [2020-12-21T06:42:14.661Z] Step 12/22 : FROM alpine [2020-12-21T06:42:14.661Z] latest: Pulling from library/alpine [2020-12-21T06:42:14.661Z] 159e5727ea61: Pulling fs layer [2020-12-21T06:42:14.933Z] 159e5727ea61: Verifying Checksum [2020-12-21T06:42:14.933Z] 159e5727ea61: Download complete [2020-12-21T06:42:15.526Z] 159e5727ea61: Pull complete [2020-12-21T06:42:15.527Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2020-12-21T06:42:15.527Z] Status: Downloaded newer image for alpine:latest [2020-12-21T06:42:15.527Z] ---> afeebe901d6b [2020-12-21T06:42:15.527Z] Step 13/22 : ENV APP_PORT=49990 [2020-12-21T06:42:15.801Z] ---> Running in d044c025e8c3 [2020-12-21T06:42:16.072Z] Removing intermediate container d044c025e8c3 [2020-12-21T06:42:16.072Z] ---> 4db2823950da [2020-12-21T06:42:16.072Z] Step 14/22 : EXPOSE $APP_PORT [2020-12-21T06:42:16.344Z] ---> Running in 6e93736a0af6 [2020-12-21T06:42:16.617Z] Removing intermediate container 6e93736a0af6 [2020-12-21T06:42:16.617Z] ---> 4e5c37411390 [2020-12-21T06:42:16.617Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-12-21T06:42:18.051Z] ---> 1cebf2f45743 [2020-12-21T06:42:18.051Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-12-21T06:42:18.642Z] ---> 1fc3c9127f6f [2020-12-21T06:42:18.642Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-12-21T06:42:19.233Z] ---> c92f2786ac44 [2020-12-21T06:42:19.233Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2020-12-21T06:42:19.509Z] ---> Running in 30d1bad449c2 [2020-12-21T06:42:19.780Z] Removing intermediate container 30d1bad449c2 [2020-12-21T06:42:19.780Z] ---> 1d47425f4370 [2020-12-21T06:42:19.780Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-21T06:42:20.059Z] ---> Running in 6af9fe4d0bcf [2020-12-21T06:42:20.331Z] Removing intermediate container 6af9fe4d0bcf [2020-12-21T06:42:20.331Z] ---> ece46eb82c04 [2020-12-21T06:42:20.331Z] Step 20/22 : LABEL arch=arm64 [2020-12-21T06:42:20.603Z] ---> Running in 524a7afd55c8 [2020-12-21T06:42:20.874Z] Removing intermediate container 524a7afd55c8 [2020-12-21T06:42:20.874Z] ---> d2197282813c [2020-12-21T06:42:20.874Z] Step 21/22 : LABEL git_sha=754cc5e8159cce4ac0aa09f8b03c16f8e4f3bf95 [2020-12-21T06:42:21.147Z] ---> Running in 025190632aa5 [2020-12-21T06:42:21.419Z] Removing intermediate container 025190632aa5 [2020-12-21T06:42:21.419Z] ---> 43f63263ce04 [2020-12-21T06:42:21.419Z] Step 22/22 : LABEL version=0.0.0 [2020-12-21T06:42:21.691Z] ---> Running in 9917216529d9 [2020-12-21T06:42:21.965Z] Removing intermediate container 9917216529d9 [2020-12-21T06:42:21.965Z] ---> 3d0119714c43 [2020-12-21T06:42:21.965Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-21T06:42:21.965Z] Successfully built 3d0119714c43 [2020-12-21T06:42:21.965Z] Successfully tagged docker-device-virtual-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-12-21T06:42:23.433Z] provisioning config files... [2020-12-21T06:42:23.443Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-155@tmp/config3155543687706899639tmp [Pipeline] { [Pipeline] sh [2020-12-21T06:42:23.842Z] + set +x [2020-12-21T06:42:23.842Z] + curl -s https://codecov.io/bash [2020-12-21T06:42:23.842Z] + bash -s -- [2020-12-21T06:42:24.105Z] [2020-12-21T06:42:24.105Z] _____ _ [2020-12-21T06:42:24.105Z] / ____| | | [2020-12-21T06:42:24.105Z] | | ___ __| | ___ ___ _____ __ [2020-12-21T06:42:24.105Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-21T06:42:24.105Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-21T06:42:24.105Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-21T06:42:24.105Z] Bash-20201217-3d3df35 [2020-12-21T06:42:24.105Z] [2020-12-21T06:42:24.105Z] [2020-12-21T06:42:24.105Z] git version 2.24.3 found [2020-12-21T06:42:24.105Z] curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2020-12-21T06:42:24.105Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2020-12-21T06:42:24.105Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets found [2020-12-21T06:42:24.105Z] ==> Jenkins CI detected. [2020-12-21T06:42:24.105Z] project root: . [2020-12-21T06:42:24.105Z] --> token set from env [2020-12-21T06:42:24.105Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-21T06:42:24.105Z] ==> Running gcov in . (disable via -X gcov) [2020-12-21T06:42:24.105Z] ==> Python coveragepy not found [2020-12-21T06:42:24.105Z] ==> Searching for coverage reports in: [2020-12-21T06:42:24.105Z] + . [2020-12-21T06:42:24.105Z] -> Found 1 reports [2020-12-21T06:42:24.105Z] ==> Detecting git/mercurial file structure [2020-12-21T06:42:24.105Z] ==> Reading reports [2020-12-21T06:42:24.105Z] + ./coverage.out bytes=47242 [2020-12-21T06:42:24.105Z] ==> Appending adjustments [2020-12-21T06:42:24.105Z] https://docs.codecov.io/docs/fixing-reports [2020-12-21T06:42:24.105Z] + Found adjustments [2020-12-21T06:42:24.369Z] ==> Gzipping contents [2020-12-21T06:42:24.369Z] 8.0K /tmp/codecov.DPD8R5.gz [2020-12-21T06:42:24.369Z] ==> Uploading reports [2020-12-21T06:42:24.369Z] url: https://codecov.io [2020-12-21T06:42:24.369Z] query: branch=PR-155&commit=754cc5e8159cce4ac0aa09f8b03c16f8e4f3bf95&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-155%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=155&job=&cmd_args= [2020-12-21T06:42:24.369Z] -> Pinging Codecov [2020-12-21T06:42:24.369Z] https://codecov.io/upload/v4?package=bash-20201217-3d3df35&token=secret&branch=PR-155&commit=754cc5e8159cce4ac0aa09f8b03c16f8e4f3bf95&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-155%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=155&job=&cmd_args= [2020-12-21T06:42:24.632Z] -> Uploading to [2020-12-21T06:42:24.632Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-21/5E52B4B073DB2E39498172D8E973AA87/754cc5e8159cce4ac0aa09f8b03c16f8e4f3bf95/b1ff5784-3663-41f2-8ed9-e7fb8f2aeaf9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201221%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201221T064224Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cd5cb11793f92d04eeff632cfc434e64300291b7b5d8e875fc4921de9b901255 [2020-12-21T06:42:24.632Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-21T06:42:24.632Z] Dload Upload Total Spent Left Speed [2020-12-21T06:42:25.159Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5814 0 0 100 5814 0 14671 --:--:-- --:--:-- --:--:-- 14644 [2020-12-21T06:42:25.159Z] -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/754cc5e8159cce4ac0aa09f8b03c16f8e4f3bf95 [Pipeline] } [2020-12-21T06:42:25.170Z] 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-12-21T06:42:27.452Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T06:42:27.764Z] ---> package-listing.sh [2020-12-21T06:42:27.765Z] ++ facter osfamily [2020-12-21T06:42:27.765Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-21T06:42:27.765Z] + OS_FAMILY=redhat [2020-12-21T06:42:27.765Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-155 [2020-12-21T06:42:27.765Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-21T06:42:27.765Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-21T06:42:27.765Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-21T06:42:27.765Z] + PACKAGES=/tmp/packages_start.txt [2020-12-21T06:42:27.765Z] + '[' /w/workspace/foundry_device-virtual-go_PR-155 ']' [2020-12-21T06:42:27.765Z] + PACKAGES=/tmp/packages_end.txt [2020-12-21T06:42:27.765Z] + case "${OS_FAMILY}" in [2020-12-21T06:42:27.765Z] + rpm -qa [2020-12-21T06:42:27.765Z] + sort [2020-12-21T06:42:33.076Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-21T06:42:33.076Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-21T06:42:33.076Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-21T06:42:33.076Z] + '[' /w/workspace/foundry_device-virtual-go_PR-155 ']' [2020-12-21T06:42:33.076Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-155/archives/ [2020-12-21T06:42:33.076Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-155/archives/ [Pipeline] echo [2020-12-21T06:42:33.094Z] 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/foundry_device-virtual-go_PR-155/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-21T06:42:33.387Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-21T06:42:33.697Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-21T06:42:33.697Z] [2020-12-21T06:42:33.697Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-21T06:42:34.052Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-21T06:42:34.052Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-21T06:42:34.052Z] df20fa9351a1: Pulling fs layer [2020-12-21T06:42:34.052Z] 36b3adc4ff6f: Pulling fs layer [2020-12-21T06:42:34.052Z] 8ad3a11d3b57: Pulling fs layer [2020-12-21T06:42:34.052Z] 46f8f816bc3b: Pulling fs layer [2020-12-21T06:42:34.052Z] 93b61091891f: Pulling fs layer [2020-12-21T06:42:34.052Z] 93b9cdb0e59b: Pulling fs layer [2020-12-21T06:42:34.052Z] 5e14af77c1be: Pulling fs layer [2020-12-21T06:42:34.052Z] 01666e4c0597: Pulling fs layer [2020-12-21T06:42:34.052Z] 46f8f816bc3b: Waiting [2020-12-21T06:42:34.052Z] 93b61091891f: Waiting [2020-12-21T06:42:34.052Z] 93b9cdb0e59b: Waiting [2020-12-21T06:42:34.052Z] aa168da1d23b: Pulling fs layer [2020-12-21T06:42:34.052Z] 01666e4c0597: Waiting [2020-12-21T06:42:34.052Z] aa168da1d23b: Waiting [2020-12-21T06:42:34.052Z] 36b3adc4ff6f: Download complete [2020-12-21T06:42:34.052Z] 46f8f816bc3b: Verifying Checksum [2020-12-21T06:42:34.052Z] 46f8f816bc3b: Download complete [2020-12-21T06:42:34.052Z] df20fa9351a1: Download complete [2020-12-21T06:42:34.052Z] 93b9cdb0e59b: Verifying Checksum [2020-12-21T06:42:34.052Z] 93b9cdb0e59b: Download complete [2020-12-21T06:42:34.323Z] 5e14af77c1be: Verifying Checksum [2020-12-21T06:42:34.323Z] 5e14af77c1be: Download complete [2020-12-21T06:42:34.323Z] 01666e4c0597: Verifying Checksum [2020-12-21T06:42:34.323Z] 01666e4c0597: Download complete [2020-12-21T06:42:34.323Z] 93b61091891f: Verifying Checksum [2020-12-21T06:42:34.323Z] 93b61091891f: Download complete [2020-12-21T06:42:34.323Z] 8ad3a11d3b57: Verifying Checksum [2020-12-21T06:42:34.323Z] 8ad3a11d3b57: Download complete [2020-12-21T06:42:34.590Z] df20fa9351a1: Pull complete [2020-12-21T06:42:34.861Z] 36b3adc4ff6f: Pull complete [2020-12-21T06:42:35.818Z] 8ad3a11d3b57: Pull complete [2020-12-21T06:42:36.084Z] 46f8f816bc3b: Pull complete [2020-12-21T06:42:36.084Z] aa168da1d23b: Verifying Checksum [2020-12-21T06:42:36.084Z] aa168da1d23b: Download complete [2020-12-21T06:42:36.658Z] 93b61091891f: Pull complete [2020-12-21T06:42:36.658Z] 93b9cdb0e59b: Pull complete [2020-12-21T06:42:36.658Z] 5e14af77c1be: Pull complete [2020-12-21T06:42:36.923Z] 01666e4c0597: Pull complete [2020-12-21T06:42:43.537Z] aa168da1d23b: Pull complete [2020-12-21T06:42:43.537Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-21T06:42:43.537Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-21T06:42:43.537Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-21T06:42:43.706Z] prd-centos7-docker-4c-2g-17028 does not seem to be running inside a container [2020-12-21T06:42:43.758Z] $ 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/foundry_device-virtual-go_PR-155/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-155 -v /w/workspace/foundry_device-virtual-go_PR-155:/w/workspace/foundry_device-virtual-go_PR-155:rw,z -v /w/workspace/foundry_device-virtual-go_PR-155@tmp:/w/workspace/foundry_device-virtual-go_PR-155@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-21T06:42:49.285Z] $ docker top a0a8a93195e8e9090db21e44531543b3ad8def02c7c206978f98f9b53f5e2e1c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T06:42:49.812Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-21T06:42:50.113Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-21T06:42:50.412Z] + ls /var/log/sa-host [2020-12-21T06:42:50.412Z] + sadf -c /var/log/sa-host/sa21 [2020-12-21T06:42:50.412Z] file_magic: OK [2020-12-21T06:42:50.412Z] HZ: Using current value: 100 [2020-12-21T06:42:50.412Z] file_header: OK [2020-12-21T06:42:50.412Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-21T06:42:50.412Z] Statistics: [2020-12-21T06:42:50.412Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-21T06:42:50.412Z] File successfully converted to sysstat format version 12.2.1 [2020-12-21T06:42:50.412Z] + sadf -c /var/log/sa-host/sa23 [2020-12-21T06:42:50.412Z] file_magic: OK [2020-12-21T06:42:50.412Z] HZ: Using current value: 100 [2020-12-21T06:42:50.412Z] file_header: OK [2020-12-21T06:42:50.413Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-21T06:42:50.413Z] Statistics: [2020-12-21T06:42:50.413Z] Hnuu...uuuununununu... [2020-12-21T06:42:50.413Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-21T06:42:50.661Z] provisioning config files... [2020-12-21T06:42:50.687Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-155@tmp/config3349585733196394040tmp [Pipeline] { [Pipeline] echo [2020-12-21T06:42:50.843Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T06:42:51.141Z] ---> create-netrc.sh [Pipeline] } [2020-12-21T06:42:51.152Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-21T06:42:51.249Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T06:42:51.550Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-21T06:42:51.562Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T06:42:51.858Z] ---> sudo-logs.sh [2020-12-21T06:42:51.859Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-21T06:42:51.870Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T06:42:52.171Z] ---> job-cost.sh [2020-12-21T06:42:52.171Z] lf-activate-venv: SKIPPING [2020-12-21T06:42:52.171Z] INFO: No Stack... [2020-12-21T06:42:53.118Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-21T06:42:53.380Z] INFO: Archiving Costs [Pipeline] echo [2020-12-21T06:42:53.395Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T06:42:53.706Z] ---> logs-deploy.sh [2020-12-21T06:42:53.706Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-155/2 [2020-12-21T06:42:53.706Z] INFO: archiving workspace using pattern(s): [2020-12-21T06:42:55.624Z] Archives upload complete. [2020-12-21T06:42:55.624Z] INFO: archiving logs to Nexus [2020-12-21T06:42:56.572Z] ---> uname -a: [2020-12-21T06:42:56.572Z] Linux prd-centos7-docker-4c-2g-17028.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2020-12-21T06:42:56.572Z] [2020-12-21T06:42:56.572Z] [2020-12-21T06:42:56.572Z] ---> lscpu: [2020-12-21T06:42:56.572Z] Architecture: x86_64 [2020-12-21T06:42:56.572Z] CPU op-mode(s): 32-bit, 64-bit [2020-12-21T06:42:56.572Z] Byte Order: Little Endian [2020-12-21T06:42:56.572Z] Address sizes: 40 bits physical, 48 bits virtual [2020-12-21T06:42:56.572Z] CPU(s): 4 [2020-12-21T06:42:56.572Z] On-line CPU(s) list: 0-3 [2020-12-21T06:42:56.572Z] Thread(s) per core: 1 [2020-12-21T06:42:56.572Z] Core(s) per socket: 1 [2020-12-21T06:42:56.572Z] Socket(s): 4 [2020-12-21T06:42:56.572Z] NUMA node(s): 1 [2020-12-21T06:42:56.572Z] Vendor ID: GenuineIntel [2020-12-21T06:42:56.572Z] CPU family: 6 [2020-12-21T06:42:56.572Z] Model: 44 [2020-12-21T06:42:56.572Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2020-12-21T06:42:56.572Z] Stepping: 1 [2020-12-21T06:42:56.572Z] CPU MHz: 2933.436 [2020-12-21T06:42:56.572Z] BogoMIPS: 5866.87 [2020-12-21T06:42:56.572Z] Virtualization: VT-x [2020-12-21T06:42:56.572Z] Hypervisor vendor: KVM [2020-12-21T06:42:56.572Z] Virtualization type: full [2020-12-21T06:42:56.572Z] L1d cache: 128 KiB [2020-12-21T06:42:56.572Z] L1i cache: 128 KiB [2020-12-21T06:42:56.572Z] L2 cache: 16 MiB [2020-12-21T06:42:56.572Z] L3 cache: 64 MiB [2020-12-21T06:42:56.572Z] NUMA node0 CPU(s): 0-3 [2020-12-21T06:42:56.572Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2020-12-21T06:42:56.572Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2020-12-21T06:42:56.572Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2020-12-21T06:42:56.572Z] Vulnerability Meltdown: Mitigation; PTI [2020-12-21T06:42:56.572Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2020-12-21T06:42:56.572Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2020-12-21T06:42:56.572Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2020-12-21T06:42:56.572Z] Vulnerability Srbds: Not affected [2020-12-21T06:42:56.572Z] Vulnerability Tsx async abort: Not affected [2020-12-21T06:42:56.572Z] 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-12-21T06:42:56.572Z] [2020-12-21T06:42:56.572Z] [2020-12-21T06:42:56.572Z] ---> nproc: [2020-12-21T06:42:56.573Z] 4 [2020-12-21T06:42:56.573Z] [2020-12-21T06:42:56.573Z] [2020-12-21T06:42:56.573Z] ---> df -h: [2020-12-21T06:42:56.573Z] Filesystem Size Used Available Use% Mounted on [2020-12-21T06:42:56.573Z] overlay 50.0G 7.3G 42.7G 15% / [2020-12-21T06:42:56.573Z] tmpfs 64.0M 0 64.0M 0% /dev [2020-12-21T06:42:56.573Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2020-12-21T06:42:56.573Z] shm 64.0M 0 64.0M 0% /dev/shm [2020-12-21T06:42:56.573Z] /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os [2020-12-21T06:42:56.573Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf [2020-12-21T06:42:56.573Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname [2020-12-21T06:42:56.573Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts [2020-12-21T06:42:56.573Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/foundry_device-virtual-go_PR-155 [2020-12-21T06:42:56.573Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/foundry_device-virtual-go_PR-155@tmp [2020-12-21T06:42:56.573Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host [2020-12-21T06:42:56.573Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure [2020-12-21T06:42:56.573Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log [2020-12-21T06:42:56.573Z] /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json [2020-12-21T06:42:56.573Z] [2020-12-21T06:42:56.573Z] [2020-12-21T06:42:56.573Z] ---> free -m: [2020-12-21T06:42:56.573Z] total used free shared buff/cache available [2020-12-21T06:42:56.573Z] Mem: 1837 716 105 0 1015 1016 [2020-12-21T06:42:56.573Z] Swap: 1023 1 1022 [2020-12-21T06:42:56.573Z] [2020-12-21T06:42:56.573Z] [2020-12-21T06:42:56.573Z] ---> ip addr: [2020-12-21T06:42:56.573Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2020-12-21T06:42:56.573Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2020-12-21T06:42:56.573Z] inet 127.0.0.1/8 scope host lo [2020-12-21T06:42:56.573Z] valid_lft forever preferred_lft forever [2020-12-21T06:42:56.573Z] inet6 ::1/128 scope host [2020-12-21T06:42:56.573Z] valid_lft forever preferred_lft forever [2020-12-21T06:42:56.573Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2020-12-21T06:42:56.573Z] link/ether fa:16:3e:9e:08:f0 brd ff:ff:ff:ff:ff:ff [2020-12-21T06:42:56.573Z] inet 10.30.123.209/23 brd 10.30.123.255 scope global dynamic eth0 [2020-12-21T06:42:56.573Z] valid_lft 85904sec preferred_lft 85904sec [2020-12-21T06:42:56.573Z] inet6 fe80::f816:3eff:fe9e:8f0/64 scope link [2020-12-21T06:42:56.573Z] valid_lft forever preferred_lft forever [2020-12-21T06:42:56.573Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2020-12-21T06:42:56.573Z] link/ether 02:42:ad:b4:4f:c5 brd ff:ff:ff:ff:ff:ff [2020-12-21T06:42:56.573Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2020-12-21T06:42:56.573Z] valid_lft forever preferred_lft forever [2020-12-21T06:42:56.573Z] inet6 fe80::42:adff:feb4:4fc5/64 scope link [2020-12-21T06:42:56.573Z] valid_lft forever preferred_lft forever [2020-12-21T06:42:56.573Z] [2020-12-21T06:42:56.573Z] [2020-12-21T06:42:56.573Z] ---> sar -b -r -n DEV: [2020-12-21T06:42:56.573Z] Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/21/20 _x86_64_ (4 CPU) [2020-12-21T06:42:56.573Z] [2020-12-21T06:42:56.573Z] 06:34:29 LINUX RESTART (4 CPU) [2020-12-21T06:42:56.573Z] [2020-12-21T06:42:56.573Z] 06:35:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2020-12-21T06:42:56.573Z] 06:36:01 52.17 15.59 36.58 0.00 4934.20 3198.30 0.00 [2020-12-21T06:42:56.573Z] 06:37:01 0.85 0.00 0.85 0.00 0.00 18.23 0.00 [2020-12-21T06:42:56.573Z] 06:38:01 0.30 0.00 0.30 0.00 0.00 3.35 0.00 [2020-12-21T06:42:56.573Z] 06:39:01 0.43 0.00 0.43 0.00 0.00 5.33 0.00 [2020-12-21T06:42:56.573Z] 06:40:01 0.22 0.00 0.22 0.00 0.00 3.78 0.00 [2020-12-21T06:42:56.573Z] 06:41:01 0.37 0.00 0.37 0.00 0.00 5.89 0.00 [2020-12-21T06:42:56.573Z] 06:42:01 0.20 0.00 0.20 0.00 0.00 1.83 0.00 [2020-12-21T06:42:56.573Z] Average: 7.79 2.23 5.57 0.00 705.24 462.62 0.00 [2020-12-21T06:42:56.573Z] [2020-12-21T06:42:56.573Z] 06:35:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2020-12-21T06:42:56.573Z] 06:36:01 165028 0 614852 32.68 2620 1099044 1104592 37.70 434444 1083180 128 [2020-12-21T06:42:56.573Z] 06:37:01 169136 0 610736 32.46 2620 1099052 1092888 37.30 439068 1074736 16 [2020-12-21T06:42:56.573Z] 06:38:01 167336 0 612532 32.55 2620 1099056 1092876 37.30 437176 1078236 12 [2020-12-21T06:42:56.573Z] 06:39:01 168508 0 611360 32.49 2620 1099056 1078628 36.81 447740 1067136 20 [2020-12-21T06:42:56.573Z] 06:40:01 166112 0 613748 32.62 2620 1099064 1078736 36.82 447496 1069772 16 [2020-12-21T06:42:56.573Z] 06:41:01 166264 0 613592 32.61 2620 1099068 1078700 36.81 451952 1065144 8 [2020-12-21T06:42:56.573Z] 06:42:01 167576 0 612276 32.54 2620 1099072 1078504 36.81 450632 1065144 20 [2020-12-21T06:42:56.573Z] Average: 167137 0 612728 32.57 2620 1099059 1086418 37.08 444073 1071907 31 [2020-12-21T06:42:56.573Z] [2020-12-21T06:42:56.573Z] 06:35:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2020-12-21T06:42:56.573Z] 06:36:01 eth0 426.38 272.51 920.37 85.73 0.00 0.00 0.00 0.00 [2020-12-21T06:42:56.573Z] 06:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-21T06:42:56.573Z] 06:36:01 docker0 1.76 1.48 0.37 3.50 0.00 0.00 0.00 0.00 [2020-12-21T06:42:56.573Z] 06:37:01 eth0 1.58 0.35 0.37 0.20 0.00 0.00 0.00 0.00 [2020-12-21T06:42:56.573Z] 06:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-21T06:42:56.573Z] 06:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-21T06:42:56.573Z] 06:38:01 eth0 1.18 0.28 0.33 0.17 0.00 0.00 0.00 0.00 [2020-12-21T06:42:56.573Z] 06:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-21T06:42:56.573Z] 06:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-21T06:42:56.573Z] 06:39:01 eth0 2.98 0.50 0.48 0.18 0.00 0.00 0.00 0.00 [2020-12-21T06:42:56.573Z] 06:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-21T06:42:56.573Z] 06:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-21T06:42:56.573Z] 06:40:01 eth0 2.51 1.12 1.18 0.88 0.00 0.00 0.00 0.00 [2020-12-21T06:42:56.573Z] 06:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-21T06:42:56.573Z] 06:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-21T06:42:56.573Z] 06:41:01 eth0 0.70 0.38 0.37 0.23 0.00 0.00 0.00 0.00 [2020-12-21T06:42:56.573Z] 06:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-21T06:42:56.573Z] 06:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-21T06:42:56.573Z] 06:42:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 [2020-12-21T06:42:56.573Z] 06:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-21T06:42:56.573Z] 06:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-21T06:42:56.573Z] Average: eth0 62.24 39.34 131.94 12.49 0.00 0.00 0.00 0.00 [2020-12-21T06:42:56.573Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-21T06:42:56.573Z] Average: docker0 0.25 0.21 0.05 0.50 0.00 0.00 0.00 0.00 [2020-12-21T06:42:56.573Z] [2020-12-21T06:42:56.573Z] [2020-12-21T06:42:56.573Z] ---> sar -P ALL: [2020-12-21T06:42:56.573Z] Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/21/20 _x86_64_ (4 CPU) [2020-12-21T06:42:56.573Z] [2020-12-21T06:42:56.573Z] 06:34:29 LINUX RESTART (4 CPU) [2020-12-21T06:42:56.573Z] [2020-12-21T06:42:56.573Z] 06:35:01 CPU %user %nice %system %iowait %steal %idle [2020-12-21T06:42:56.573Z] 06:36:01 all 9.36 0.00 3.27 1.67 0.12 85.58 [2020-12-21T06:42:56.573Z] 06:36:01 0 9.28 0.00 4.35 4.07 0.12 82.19 [2020-12-21T06:42:56.573Z] 06:36:01 1 8.09 0.00 3.13 0.57 0.12 88.09 [2020-12-21T06:42:56.573Z] 06:36:01 2 10.61 0.00 2.61 0.44 0.08 86.26 [2020-12-21T06:42:56.573Z] 06:36:01 3 9.46 0.00 2.99 1.61 0.15 85.79 [2020-12-21T06:42:56.573Z] 06:37:01 all 0.16 0.00 0.05 0.00 0.01 99.78 [2020-12-21T06:42:56.573Z] 06:37:01 0 0.05 0.00 0.05 0.00 0.00 99.90 [2020-12-21T06:42:56.573Z] 06:37:01 1 0.48 0.00 0.05 0.00 0.02 99.45 [2020-12-21T06:42:56.573Z] 06:37:01 2 0.07 0.00 0.07 0.00 0.00 99.87 [2020-12-21T06:42:56.573Z] 06:37:01 3 0.05 0.00 0.05 0.00 0.02 99.88 [2020-12-21T06:42:56.573Z] 06:38:01 all 0.15 0.00 0.05 0.00 0.01 99.80 [2020-12-21T06:42:56.573Z] 06:38:01 0 0.03 0.00 0.03 0.00 0.02 99.92 [2020-12-21T06:42:56.573Z] 06:38:01 1 0.43 0.00 0.05 0.00 0.00 99.52 [2020-12-21T06:42:56.573Z] 06:38:01 2 0.07 0.00 0.07 0.00 0.02 99.85 [2020-12-21T06:42:56.573Z] 06:38:01 3 0.05 0.00 0.05 0.00 0.00 99.90 [2020-12-21T06:42:56.573Z] 06:39:01 all 0.17 0.00 0.04 0.00 0.01 99.78 [2020-12-21T06:42:56.573Z] 06:39:01 0 0.03 0.00 0.03 0.00 0.00 99.93 [2020-12-21T06:42:56.573Z] 06:39:01 1 0.53 0.00 0.03 0.00 0.02 99.42 [2020-12-21T06:42:56.573Z] 06:39:01 2 0.07 0.00 0.03 0.00 0.00 99.90 [2020-12-21T06:42:56.573Z] 06:39:01 3 0.05 0.00 0.07 0.00 0.02 99.87 [2020-12-21T06:42:56.573Z] 06:40:01 all 0.22 0.00 0.09 0.00 0.01 99.68 [2020-12-21T06:42:56.573Z] 06:40:01 0 0.08 0.00 0.03 0.00 0.00 99.88 [2020-12-21T06:42:56.573Z] 06:40:01 1 0.52 0.00 0.07 0.00 0.00 99.42 [2020-12-21T06:42:56.573Z] 06:40:01 2 0.12 0.00 0.12 0.00 0.02 99.75 [2020-12-21T06:42:56.573Z] 06:40:01 3 0.17 0.00 0.13 0.00 0.02 99.68 [2020-12-21T06:42:56.573Z] 06:41:01 all 0.08 0.00 0.08 0.00 0.00 99.85 [2020-12-21T06:42:56.573Z] 06:41:01 0 0.03 0.00 0.05 0.00 0.00 99.92 [2020-12-21T06:42:56.573Z] 06:41:01 1 0.18 0.00 0.12 0.00 0.02 99.68 [2020-12-21T06:42:56.573Z] 06:41:01 2 0.05 0.00 0.05 0.00 0.00 99.90 [2020-12-21T06:42:56.573Z] 06:41:01 3 0.03 0.00 0.08 0.00 0.00 99.88 [2020-12-21T06:42:56.573Z] 06:42:01 all 0.12 0.00 0.04 0.00 0.01 99.83 [2020-12-21T06:42:56.573Z] 06:42:01 0 0.07 0.00 0.07 0.00 0.03 99.83 [2020-12-21T06:42:56.573Z] 06:42:01 1 0.35 0.00 0.05 0.00 0.00 99.60 [2020-12-21T06:42:56.573Z] 06:42:01 2 0.02 0.00 0.02 0.00 0.02 99.95 [2020-12-21T06:42:56.573Z] 06:42:01 3 0.03 0.00 0.02 0.00 0.00 99.95 [2020-12-21T06:42:56.573Z] Average: all 1.45 0.00 0.51 0.24 0.02 97.77 [2020-12-21T06:42:56.573Z] Average: 0 1.35 0.00 0.65 0.57 0.02 97.39 [2020-12-21T06:42:56.573Z] Average: 1 1.50 0.00 0.50 0.08 0.02 97.90 [2020-12-21T06:42:56.573Z] Average: 2 1.56 0.00 0.42 0.06 0.02 97.94 [2020-12-21T06:42:56.573Z] Average: 3 1.40 0.00 0.48 0.23 0.03 97.86 [2020-12-21T06:42:56.573Z] [2020-12-21T06:42:56.573Z] [2020-12-21T06:42:56.573Z]