Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-virtual-go Obtained Jenkinsfile from e73fe6918ff61e26496115ae3c80a841750f15d3+d98ab64770a8aa8499d3ed372f913abb779305df (fa2f58da3b628df4425be2e6fd5cc07c813592ff) 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-17116 in /w/workspace/foundry_device-virtual-go_PR-158 [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-158 # 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/158/head:refs/remotes/origin/PR-158 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d98ab64770a8aa8499d3ed372f913abb779305df into PR head commit e73fe6918ff61e26496115ae3c80a841750f15d3 Merge succeeded, producing e9fbb1aef84366bf56d8a545e22566b09eb166f3 Checking out Revision e9fbb1aef84366bf56d8a545e22566b09eb166f3 (PR-158) > git config core.sparsecheckout # timeout=10 > git checkout -f e73fe6918ff61e26496115ae3c80a841750f15d3 # 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 e9fbb1aef84366bf56d8a545e22566b09eb166f3 # timeout=10 Commit message: "Merge commit 'd98ab64770a8aa8499d3ed372f913abb779305df' into HEAD" > git rev-list --no-walk e73fe6918ff61e26496115ae3c80a841750f15d3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-22T00:13:36.874Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-22T00:13:37.186Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-22T00:13:37.296Z] ========================================================= [2020-12-22T00:13:37.296Z] EdgeX Global Pipelines Version Info [2020-12-22T00:13:37.296Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-22T00:13:38.795Z] ------------------- [2020-12-22T00:13:38.796Z] stable info: [2020-12-22T00:13:38.796Z] ------------------- [2020-12-22T00:13:38.796Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-22T00:13:38.796Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-22T00:13:38.796Z] Message: update stable to v1.0.173 [2020-12-22T00:13:39.754Z] ------------------- [2020-12-22T00:13:39.754Z] experimental info: [2020-12-22T00:13:39.754Z] ------------------- [2020-12-22T00:13:39.754Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-22T00:13:39.754Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-22T00:13:39.754Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-22T00:13:40.118Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2020-12-22T00:13:40.259Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2020-12-22T00:13:40.378Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-22T00:13:40.562Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-22T00:13:40.698Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-22T00:13:40.838Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-22T00:13:40.935Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-22T00:13:41.034Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-22T00:13:41.147Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-22T00:13:41.250Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-22T00:13:41.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-22T00:13:41.450Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2020-12-22T00:13:41.590Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-22T00:13:41.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-22T00:13:41.808Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-22T00:13:41.908Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-12-22T00:13:42.062Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-22T00:13:42.168Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-22T00:13:42.263Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-22T00:13:42.425Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-22T00:13:42.519Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-22T00:13:42.618Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-22T00:13:42.722Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-22T00:13:42.869Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-22T00:13:42.962Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-22T00:13:43.055Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-22T00:13:43.151Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-22T00:13:43.246Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-158 [Pipeline] echo [2020-12-22T00:13:43.351Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-158 [Pipeline] echo [2020-12-22T00:13:43.451Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-158 [Pipeline] echo [2020-12-22T00:13:43.553Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e9fbb1aef84366bf56d8a545e22566b09eb166f3 [Pipeline] echo [2020-12-22T00:13:43.685Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e9fbb1a [Pipeline] echo [2020-12-22T00:13:43.818Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-22T00:13:44.015Z] provisioning config files... [2020-12-22T00:13:44.058Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-158@tmp/config2555418668520579211tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-22T00:13:44.419Z] ---> docker-login.sh [2020-12-22T00:13:44.419Z] nexus3.edgexfoundry.org:10001 [2020-12-22T00:13:44.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T00:13:44.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T00:13:44.946Z] Configure a credential helper to remove this warning. See [2020-12-22T00:13:44.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T00:13:44.946Z] [2020-12-22T00:13:44.946Z] Login Succeeded [2020-12-22T00:13:44.946Z] nexus3.edgexfoundry.org:10002 [2020-12-22T00:13:44.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T00:13:45.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T00:13:45.208Z] Configure a credential helper to remove this warning. See [2020-12-22T00:13:45.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T00:13:45.208Z] [2020-12-22T00:13:45.208Z] Login Succeeded [2020-12-22T00:13:45.208Z] nexus3.edgexfoundry.org:10003 [2020-12-22T00:13:45.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T00:13:45.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T00:13:45.209Z] Configure a credential helper to remove this warning. See [2020-12-22T00:13:45.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T00:13:45.209Z] [2020-12-22T00:13:45.209Z] Login Succeeded [2020-12-22T00:13:45.209Z] nexus3.edgexfoundry.org:10004 [2020-12-22T00:13:45.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T00:13:45.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T00:13:45.471Z] Configure a credential helper to remove this warning. See [2020-12-22T00:13:45.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T00:13:45.471Z] [2020-12-22T00:13:45.471Z] Login Succeeded [2020-12-22T00:13:45.471Z] docker.io [2020-12-22T00:13:45.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T00:13:45.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T00:13:45.733Z] Configure a credential helper to remove this warning. See [2020-12-22T00:13:45.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T00:13:45.734Z] [2020-12-22T00:13:45.734Z] Login Succeeded [2020-12-22T00:13:45.734Z] ---> docker-login.sh ends [Pipeline] } [2020-12-22T00:13:45.744Z] 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-22T00:13:46.634Z] + git log --format=format:%s -1 e9fbb1aef84366bf56d8a545e22566b09eb166f3 [Pipeline] echo [2020-12-22T00:13:46.706Z] GIT_COMMIT: e9fbb1aef84366bf56d8a545e22566b09eb166f3, Commit Message: Merge commit 'd98ab64770a8aa8499d3ed372f913abb779305df' into HEAD [Pipeline] echo [2020-12-22T00:13:46.755Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-22T00:13:47.779Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-22T00:13:47.779Z] [2020-12-22T00:13:47.779Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-22T00:13:48.134Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-22T00:13:48.134Z] latest: Pulling from edgex-devops/git-semver [2020-12-22T00:13:48.134Z] 31603596830f: Pulling fs layer [2020-12-22T00:13:48.134Z] 2a8b12db71e7: Pulling fs layer [2020-12-22T00:13:48.134Z] 6ca5941a6612: Pulling fs layer [2020-12-22T00:13:48.134Z] ecc8261a40a4: Pulling fs layer [2020-12-22T00:13:48.134Z] ecc8261a40a4: Waiting [2020-12-22T00:13:48.134Z] 2a8b12db71e7: Verifying Checksum [2020-12-22T00:13:48.134Z] 2a8b12db71e7: Download complete [2020-12-22T00:13:48.398Z] 31603596830f: Download complete [2020-12-22T00:13:48.398Z] ecc8261a40a4: Verifying Checksum [2020-12-22T00:13:48.398Z] ecc8261a40a4: Download complete [2020-12-22T00:13:48.398Z] 6ca5941a6612: Verifying Checksum [2020-12-22T00:13:48.398Z] 6ca5941a6612: Download complete [2020-12-22T00:13:48.661Z] 31603596830f: Pull complete [2020-12-22T00:13:48.930Z] 2a8b12db71e7: Pull complete [2020-12-22T00:13:49.882Z] 6ca5941a6612: Pull complete [2020-12-22T00:13:49.882Z] ecc8261a40a4: Pull complete [2020-12-22T00:13:49.882Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-22T00:13:50.145Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-22T00:13:50.145Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-22T00:13:50.251Z] prd-centos7-docker-4c-2g-17116 does not seem to be running inside a container [2020-12-22T00:13:50.300Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-158 -v /w/workspace/foundry_device-virtual-go_PR-158:/w/workspace/foundry_device-virtual-go_PR-158:rw,z -v /w/workspace/foundry_device-virtual-go_PR-158@tmp:/w/workspace/foundry_device-virtual-go_PR-158@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-22T00:13:52.636Z] $ docker top efa6dc37a4b8ab0433b480e263d5bac9f988cd8403c381187821ae9fff069caa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-22T00:13:52.924Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-22T00:13:52.924Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-22T00:13:53.147Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-22T00:13:53.152Z] $ docker exec efa6dc37a4b8ab0433b480e263d5bac9f988cd8403c381187821ae9fff069caa ssh-agent [2020-12-22T00:13:53.314Z] SSH_AUTH_SOCK=/tmp/ssh-8KgXYXlH2Xvh/agent.12 [2020-12-22T00:13:53.314Z] SSH_AGENT_PID=17 [2020-12-22T00:13:53.323Z] Running ssh-add (command line suppressed) [2020-12-22T00:13:53.446Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-158@tmp/private_key_7044198442383179891.key (/w/workspace/foundry_device-virtual-go_PR-158@tmp/private_key_7044198442383179891.key) [2020-12-22T00:13:53.496Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-22T00:13:53.833Z] + git tag --points-at HEAD [Pipeline] } [2020-12-22T00:13:53.854Z] $ docker exec --env ******** --env ******** efa6dc37a4b8ab0433b480e263d5bac9f988cd8403c381187821ae9fff069caa ssh-agent -k [2020-12-22T00:13:53.966Z] unset SSH_AUTH_SOCK; [2020-12-22T00:13:53.969Z] unset SSH_AGENT_PID; [2020-12-22T00:13:53.970Z] echo Agent pid 17 killed; [2020-12-22T00:13:54.011Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-22T00:13:54.165Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-22T00:13:54.165Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-22T00:13:54.331Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-22T00:13:54.335Z] $ docker exec efa6dc37a4b8ab0433b480e263d5bac9f988cd8403c381187821ae9fff069caa ssh-agent [2020-12-22T00:13:54.495Z] SSH_AUTH_SOCK=/tmp/ssh-idGbtduE6XXZ/agent.46 [2020-12-22T00:13:54.495Z] SSH_AGENT_PID=51 [2020-12-22T00:13:54.501Z] Running ssh-add (command line suppressed) [2020-12-22T00:13:54.619Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-158@tmp/private_key_4980463912521225517.key (/w/workspace/foundry_device-virtual-go_PR-158@tmp/private_key_4980463912521225517.key) [2020-12-22T00:13:54.667Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-22T00:13:55.056Z] + git semver init [2020-12-22T00:13:55.057Z] # -> Open(): unable to determine branch for HEAD [2020-12-22T00:13:55.057Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-158/.git [2020-12-22T00:13:55.057Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-158 [2020-12-22T00:13:55.057Z] # $SEMVER_REMOTE_NAME = origin [2020-12-22T00:13:55.057Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-22T00:13:55.057Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-22T00:13:55.057Z] # $SEMVER_BRANCH = PR-158 [2020-12-22T00:13:55.057Z] # $SEMVER_TEMP = /tmp/semver-020353696 [2020-12-22T00:13:55.057Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2020-12-22T00:13:55.632Z] # '/tmp/semver-020353696' -> '/w/workspace/foundry_device-virtual-go_PR-158/.semver' [2020-12-22T00:13:55.632Z] # -> Force: false [2020-12-22T00:13:55.632Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-158/.semver [Pipeline] } [2020-12-22T00:13:55.647Z] $ docker exec --env ******** --env ******** efa6dc37a4b8ab0433b480e263d5bac9f988cd8403c381187821ae9fff069caa ssh-agent -k [2020-12-22T00:13:55.765Z] unset SSH_AUTH_SOCK; [2020-12-22T00:13:55.765Z] unset SSH_AGENT_PID; [2020-12-22T00:13:55.765Z] echo Agent pid 51 killed; [2020-12-22T00:13:55.813Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-22T00:13:56.374Z] + git semver [Pipeline] } [2020-12-22T00:13:56.393Z] $ docker stop --time=1 efa6dc37a4b8ab0433b480e263d5bac9f988cd8403c381187821ae9fff069caa [2020-12-22T00:13:57.725Z] $ docker rm -f efa6dc37a4b8ab0433b480e263d5bac9f988cd8403c381187821ae9fff069caa [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-22T00:13:58.179Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-22T00:13:58.620Z] Stashed 1 file(s) [Pipeline] echo [2020-12-22T00:13:58.623Z] [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-22T00:14:14.156Z] Still waiting to schedule task [2020-12-22T00:14:14.156Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-22T00:14:14.158Z] Still waiting to schedule task [2020-12-22T00:14:14.158Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-22T00:16:08.642Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-17117 in /w/workspace/foundry_device-virtual-go_PR-158 [Pipeline] { [Pipeline] ws [2020-12-22T00:16:08.785Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2020-12-22T00:16:13.991Z] using credential edgex-jenkins-ssh [2020-12-22T00:16:14.059Z] Cloning the remote Git repository [2020-12-22T00:16:14.111Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-12-22T00:16:14.221Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2020-12-22T00:16:14.313Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-12-22T00:16:14.314Z] > git --version # timeout=10 [2020-12-22T00:16:14.338Z] > git --version # 'git version 2.17.1' [2020-12-22T00:16:14.341Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-22T00:16:14.414Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-22T00:16:15.924Z] Merging remotes/origin/master commit d98ab64770a8aa8499d3ed372f913abb779305df into PR head commit e73fe6918ff61e26496115ae3c80a841750f15d3 [2020-12-22T00:16:16.177Z] Merge succeeded, producing 877a73450c2fc77ef82f9da9c6e614da35d91cee [2020-12-22T00:16:16.177Z] Checking out Revision 877a73450c2fc77ef82f9da9c6e614da35d91cee (PR-158) [2020-12-22T00:16:15.246Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-12-22T00:16:15.266Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-22T00:16:15.307Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-12-22T00:16:15.354Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-12-22T00:16:15.355Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-22T00:16:15.368Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/158/head:refs/remotes/origin/PR-158 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-22T00:16:15.943Z] > git config core.sparsecheckout # timeout=10 [2020-12-22T00:16:15.959Z] > git checkout -f e73fe6918ff61e26496115ae3c80a841750f15d3 # timeout=10 [2020-12-22T00:16:16.047Z] > git remote # timeout=10 [2020-12-22T00:16:16.074Z] > git config --get remote.origin.url # timeout=10 [2020-12-22T00:16:16.100Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-22T00:16:16.113Z] > git merge d98ab64770a8aa8499d3ed372f913abb779305df # timeout=10 [2020-12-22T00:16:16.157Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-22T00:16:16.181Z] > git config core.sparsecheckout # timeout=10 [2020-12-22T00:16:16.199Z] > git checkout -f 877a73450c2fc77ef82f9da9c6e614da35d91cee # timeout=10 [2020-12-22T00:16:20.927Z] Commit message: "Merge commit 'd98ab64770a8aa8499d3ed372f913abb779305df' into HEAD" [2020-12-22T00:16:20.940Z] > git rev-list --no-walk e73fe6918ff61e26496115ae3c80a841750f15d3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-22T00:16:22.998Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-22T00:16:23.426Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-22T00:16:23.768Z] + sudo+ service docker restart [2020-12-22T00:16:23.769Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-22T00:16:26.480Z] provisioning config files... [2020-12-22T00:16:26.535Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config3547071740686147143tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-22T00:16:26.964Z] ---> docker-login.sh [2020-12-22T00:16:26.964Z] nexus3.edgexfoundry.org:10001 [2020-12-22T00:16:27.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T00:16:28.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T00:16:28.220Z] Configure a credential helper to remove this warning. See [2020-12-22T00:16:28.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T00:16:28.220Z] [2020-12-22T00:16:28.220Z] Login Succeeded [2020-12-22T00:16:28.220Z] nexus3.edgexfoundry.org:10002 [2020-12-22T00:16:28.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T00:16:28.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T00:16:28.766Z] Configure a credential helper to remove this warning. See [2020-12-22T00:16:28.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T00:16:28.766Z] [2020-12-22T00:16:28.766Z] Login Succeeded [2020-12-22T00:16:28.766Z] nexus3.edgexfoundry.org:10003 [2020-12-22T00:16:29.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T00:16:29.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T00:16:29.313Z] Configure a credential helper to remove this warning. See [2020-12-22T00:16:29.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T00:16:29.313Z] [2020-12-22T00:16:29.313Z] Login Succeeded [2020-12-22T00:16:29.313Z] nexus3.edgexfoundry.org:10004 [2020-12-22T00:16:29.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T00:16:29.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T00:16:29.589Z] Configure a credential helper to remove this warning. See [2020-12-22T00:16:29.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T00:16:29.589Z] [2020-12-22T00:16:29.589Z] Login Succeeded [2020-12-22T00:16:29.589Z] docker.io [2020-12-22T00:16:30.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T00:16:30.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T00:16:30.460Z] Configure a credential helper to remove this warning. See [2020-12-22T00:16:30.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T00:16:30.460Z] [2020-12-22T00:16:30.460Z] Login Succeeded [2020-12-22T00:16:30.460Z] ---> docker-login.sh ends [Pipeline] } [2020-12-22T00:16:30.479Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-22T00:16:30.940Z] ========================================================= [2020-12-22T00:16:30.940Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-22T00:16:30.940Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-22T00:16:31.328Z] + 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-22T00:16:31.617Z] Sending build context to Docker daemon 487.4kB [2020-12-22T00:16:31.617Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2020-12-22T00:16:31.617Z] Step 2/8 : FROM ${BASE} [2020-12-22T00:16:31.899Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-22T00:16:31.899Z] 5f621e34cdf4: Pulling fs layer [2020-12-22T00:16:31.899Z] a4357932f1b6: Pulling fs layer [2020-12-22T00:16:31.899Z] 18c013af1878: Pulling fs layer [2020-12-22T00:16:31.899Z] 00ac8860ef70: Pulling fs layer [2020-12-22T00:16:31.899Z] 63d7cb157983: Pulling fs layer [2020-12-22T00:16:31.899Z] b116817d02f9: Pulling fs layer [2020-12-22T00:16:31.899Z] 745a02a5169b: Pulling fs layer [2020-12-22T00:16:31.899Z] b116817d02f9: Waiting [2020-12-22T00:16:31.899Z] 00ac8860ef70: Waiting [2020-12-22T00:16:31.899Z] 63d7cb157983: Waiting [2020-12-22T00:16:31.899Z] 745a02a5169b: Waiting [2020-12-22T00:16:31.899Z] 18c013af1878: Verifying Checksum [2020-12-22T00:16:31.899Z] 18c013af1878: Download complete [2020-12-22T00:16:31.899Z] a4357932f1b6: Verifying Checksum [2020-12-22T00:16:31.899Z] a4357932f1b6: Download complete [2020-12-22T00:16:31.899Z] 63d7cb157983: Verifying Checksum [2020-12-22T00:16:31.899Z] 63d7cb157983: Download complete [2020-12-22T00:16:31.899Z] b116817d02f9: Verifying Checksum [2020-12-22T00:16:31.899Z] b116817d02f9: Download complete [2020-12-22T00:16:31.899Z] 5f621e34cdf4: Verifying Checksum [2020-12-22T00:16:31.899Z] 5f621e34cdf4: Download complete [2020-12-22T00:16:32.504Z] 5f621e34cdf4: Pull complete [2020-12-22T00:16:33.109Z] a4357932f1b6: Pull complete [2020-12-22T00:16:33.383Z] 18c013af1878: Pull complete [2020-12-22T00:16:34.815Z] 745a02a5169b: Verifying Checksum [2020-12-22T00:16:34.815Z] 745a02a5169b: Download complete [2020-12-22T00:16:35.791Z] 00ac8860ef70: Verifying Checksum [2020-12-22T00:16:35.791Z] 00ac8860ef70: Download complete [2020-12-22T00:16:45.971Z] 00ac8860ef70: Pull complete [2020-12-22T00:16:46.247Z] 63d7cb157983: Pull complete [2020-12-22T00:16:46.520Z] b116817d02f9: Pull complete [2020-12-22T00:16:49.914Z] 745a02a5169b: Pull complete [2020-12-22T00:16:49.914Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-22T00:16:49.914Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-22T00:16:49.914Z] ---> b7e6874047d6 [2020-12-22T00:16:49.914Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-12-22T00:16:51.516Z] Running on prd-centos7-docker-4c-2g-17118 in /w/workspace/foundry_device-virtual-go_PR-158 [Pipeline] { [Pipeline] ws [2020-12-22T00:16:51.576Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2020-12-22T00:16:53.307Z] ---> Running in ca552758e661 [2020-12-22T00:16:53.308Z] Removing intermediate container ca552758e661 [2020-12-22T00:16:53.308Z] ---> 73d5e98f12a2 [2020-12-22T00:16:53.308Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-22T00:16:53.308Z] ---> Running in 9053cce26dcb [2020-12-22T00:16:53.852Z] using credential edgex-jenkins-ssh [2020-12-22T00:16:53.905Z] Cloning the remote Git repository [2020-12-22T00:16:53.636Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-12-22T00:16:53.710Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2020-12-22T00:16:53.773Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-12-22T00:16:53.774Z] > git --version # timeout=10 [2020-12-22T00:16:53.781Z] > git --version # 'git version 2.24.3' [2020-12-22T00:16:53.781Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-22T00:16:53.811Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-22T00:16:54.388Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-12-22T00:16:54.394Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-22T00:16:54.409Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-12-22T00:16:54.423Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-12-22T00:16:54.424Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-22T00:16:54.429Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/158/head:refs/remotes/origin/PR-158 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-22T00:16:55.072Z] Merging remotes/origin/master commit d98ab64770a8aa8499d3ed372f913abb779305df into PR head commit e73fe6918ff61e26496115ae3c80a841750f15d3 [2020-12-22T00:16:55.162Z] Merge succeeded, producing 26e878330cb8de9254e32aa3307acc37ee7a53c6 [2020-12-22T00:16:55.162Z] Checking out Revision 26e878330cb8de9254e32aa3307acc37ee7a53c6 (PR-158) [2020-12-22T00:16:55.939Z] Removing intermediate container 9053cce26dcb [2020-12-22T00:16:55.940Z] ---> 87b257a1935d [2020-12-22T00:16:55.940Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-12-22T00:16:55.940Z] ---> Running in c522f58076d9 [2020-12-22T00:16:54.880Z] > git config core.sparsecheckout # timeout=10 [2020-12-22T00:16:54.886Z] > git checkout -f e73fe6918ff61e26496115ae3c80a841750f15d3 # timeout=10 [2020-12-22T00:16:54.923Z] > git remote # timeout=10 [2020-12-22T00:16:54.929Z] > git config --get remote.origin.url # timeout=10 [2020-12-22T00:16:54.935Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-22T00:16:54.939Z] > git merge d98ab64770a8aa8499d3ed372f913abb779305df # timeout=10 [2020-12-22T00:16:54.961Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-22T00:16:54.972Z] > git config core.sparsecheckout # timeout=10 [2020-12-22T00:16:54.981Z] > git checkout -f 26e878330cb8de9254e32aa3307acc37ee7a53c6 # timeout=10 [2020-12-22T00:16:56.533Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-22T00:16:57.503Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-22T00:16:57.773Z] (1/14) Installing libmagic (5.38-r0) [2020-12-22T00:16:58.044Z] (2/14) Installing file (5.38-r0) [2020-12-22T00:16:58.044Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-12-22T00:16:58.314Z] (4/14) Installing g++ (9.3.0-r2) [2020-12-22T00:16:58.627Z] Commit message: "Merge commit 'd98ab64770a8aa8499d3ed372f913abb779305df' into HEAD" [2020-12-22T00:16:58.632Z] > git rev-list --no-walk e73fe6918ff61e26496115ae3c80a841750f15d3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-22T00:17:00.070Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-22T00:17:00.398Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-22T00:17:00.695Z] + sudo service docker restart [2020-12-22T00:17:00.696Z] + true [2020-12-22T00:17:00.696Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-22T00:17:01.729Z] provisioning config files... [2020-12-22T00:17:01.772Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config4965122907212030332tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-22T00:17:02.159Z] ---> docker-login.sh [2020-12-22T00:17:02.160Z] nexus3.edgexfoundry.org:10001 [2020-12-22T00:17:02.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T00:17:02.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T00:17:02.424Z] Configure a credential helper to remove this warning. See [2020-12-22T00:17:02.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T00:17:02.424Z] [2020-12-22T00:17:02.424Z] Login Succeeded [2020-12-22T00:17:02.424Z] nexus3.edgexfoundry.org:10002 [2020-12-22T00:17:02.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T00:17:02.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T00:17:02.688Z] Configure a credential helper to remove this warning. See [2020-12-22T00:17:02.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T00:17:02.688Z] [2020-12-22T00:17:02.688Z] Login Succeeded [2020-12-22T00:17:02.688Z] nexus3.edgexfoundry.org:10003 [2020-12-22T00:17:02.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T00:17:02.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T00:17:02.951Z] Configure a credential helper to remove this warning. See [2020-12-22T00:17:02.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T00:17:02.951Z] [2020-12-22T00:17:02.951Z] Login Succeeded [2020-12-22T00:17:02.951Z] nexus3.edgexfoundry.org:10004 [2020-12-22T00:17:02.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T00:17:03.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T00:17:03.216Z] Configure a credential helper to remove this warning. See [2020-12-22T00:17:03.216Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T00:17:03.216Z] [2020-12-22T00:17:03.216Z] Login Succeeded [2020-12-22T00:17:03.216Z] docker.io [2020-12-22T00:17:03.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T00:17:03.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T00:17:03.482Z] Configure a credential helper to remove this warning. See [2020-12-22T00:17:03.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T00:17:03.482Z] [2020-12-22T00:17:03.482Z] Login Succeeded [2020-12-22T00:17:03.482Z] ---> docker-login.sh ends [Pipeline] } [2020-12-22T00:17:03.492Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2020-12-22T00:17:03.708Z] (5/14) Installing fortify-headers (1.1-r0) [2020-12-22T00:17:03.708Z] (6/14) Installing patch (2.7.6-r6) [2020-12-22T00:17:03.708Z] (7/14) Installing build-base (0.5-r2) [2020-12-22T00:17:03.708Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2020-12-22T00:17:03.708Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-12-22T00:17:03.708Z] (10/14) Installing openssh-client (8.3_p1-r1) [Pipeline] echo [2020-12-22T00:17:03.962Z] ========================================================= [2020-12-22T00:17:03.962Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-22T00:17:03.962Z] ========================================================= [2020-12-22T00:17:03.984Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2020-12-22T00:17:03.984Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [Pipeline] isUnix [Pipeline] sh [2020-12-22T00:17:04.259Z] (13/14) Installing openssh-server (8.3_p1-r1) [2020-12-22T00:17:04.259Z] (14/14) Installing openssh (8.3_p1-r1) [2020-12-22T00:17:04.259Z] Executing busybox-1.31.1-r19.trigger [2020-12-22T00:17:04.259Z] OK: 221 MiB in 53 packages [2020-12-22T00:17:04.304Z] + 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-22T00:17:04.567Z] Sending build context to Docker daemon 488.4kB [2020-12-22T00:17:04.567Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2020-12-22T00:17:04.567Z] Step 2/8 : FROM ${BASE} [2020-12-22T00:17:04.567Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-22T00:17:04.567Z] 188c0c94c7c5: Pulling fs layer [2020-12-22T00:17:04.567Z] 0ef7d3d256c8: Pulling fs layer [2020-12-22T00:17:04.567Z] de9db76c5a1d: Pulling fs layer [2020-12-22T00:17:04.567Z] bca2f99d35d6: Pulling fs layer [2020-12-22T00:17:04.567Z] 93359f2a8cfa: Pulling fs layer [2020-12-22T00:17:04.567Z] 7c6f9722023f: Pulling fs layer [2020-12-22T00:17:04.567Z] a35cf1a2eb13: Pulling fs layer [2020-12-22T00:17:04.567Z] 93359f2a8cfa: Waiting [2020-12-22T00:17:04.567Z] a35cf1a2eb13: Waiting [2020-12-22T00:17:04.567Z] bca2f99d35d6: Waiting [2020-12-22T00:17:04.567Z] 7c6f9722023f: Waiting [2020-12-22T00:17:04.567Z] de9db76c5a1d: Verifying Checksum [2020-12-22T00:17:04.567Z] de9db76c5a1d: Download complete [2020-12-22T00:17:04.567Z] 0ef7d3d256c8: Verifying Checksum [2020-12-22T00:17:04.567Z] 0ef7d3d256c8: Download complete [2020-12-22T00:17:04.567Z] 93359f2a8cfa: Verifying Checksum [2020-12-22T00:17:04.567Z] 93359f2a8cfa: Download complete [2020-12-22T00:17:04.567Z] 7c6f9722023f: Verifying Checksum [2020-12-22T00:17:04.567Z] 7c6f9722023f: Download complete [2020-12-22T00:17:04.567Z] 188c0c94c7c5: Download complete [2020-12-22T00:17:04.831Z] 188c0c94c7c5: Pull complete [2020-12-22T00:17:05.095Z] 0ef7d3d256c8: Pull complete [2020-12-22T00:17:05.359Z] de9db76c5a1d: Pull complete [2020-12-22T00:17:06.307Z] a35cf1a2eb13: Verifying Checksum [2020-12-22T00:17:06.307Z] a35cf1a2eb13: Download complete [2020-12-22T00:17:07.258Z] bca2f99d35d6: Verifying Checksum [2020-12-22T00:17:07.258Z] bca2f99d35d6: Download complete [2020-12-22T00:17:08.559Z] Removing intermediate container c522f58076d9 [2020-12-22T00:17:08.559Z] ---> d33c4b4054ed [2020-12-22T00:17:08.559Z] Step 6/8 : WORKDIR /device-virtual-go [2020-12-22T00:17:08.559Z] ---> Running in 9908bd68ebf5 [2020-12-22T00:17:08.836Z] Removing intermediate container 9908bd68ebf5 [2020-12-22T00:17:08.836Z] ---> f46ee15a8ec5 [2020-12-22T00:17:08.836Z] Step 7/8 : COPY . . [2020-12-22T00:17:09.824Z] ---> 7cc4024ad02a [2020-12-22T00:17:09.824Z] Step 8/8 : RUN go mod download [2020-12-22T00:17:10.103Z] ---> Running in 780cedd46ee0 [2020-12-22T00:17:12.609Z] bca2f99d35d6: Pull complete [2020-12-22T00:17:13.183Z] 93359f2a8cfa: Pull complete [2020-12-22T00:17:13.183Z] 7c6f9722023f: Pull complete [2020-12-22T00:17:17.435Z] a35cf1a2eb13: Pull complete [2020-12-22T00:17:17.435Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-22T00:17:17.435Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-22T00:17:17.435Z] ---> a62c8e92a672 [2020-12-22T00:17:17.435Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-12-22T00:17:17.435Z] ---> Running in 41ed8e255684 [2020-12-22T00:17:17.435Z] Removing intermediate container 41ed8e255684 [2020-12-22T00:17:17.435Z] ---> ca03359b91a0 [2020-12-22T00:17:17.435Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-22T00:17:17.435Z] ---> Running in b4e75e915ba4 [2020-12-22T00:17:18.384Z] Removing intermediate container b4e75e915ba4 [2020-12-22T00:17:18.384Z] ---> 5d9c25cf432a [2020-12-22T00:17:18.384Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-12-22T00:17:18.384Z] ---> Running in 05a882ee60a2 [2020-12-22T00:17:19.332Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-22T00:17:19.906Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-22T00:17:20.481Z] (1/14) Installing libmagic (5.38-r0) [2020-12-22T00:17:20.743Z] (2/14) Installing file (5.38-r0) [2020-12-22T00:17:20.743Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-12-22T00:17:20.743Z] (4/14) Installing g++ (9.3.0-r2) [2020-12-22T00:17:26.069Z] (5/14) Installing fortify-headers (1.1-r0) [2020-12-22T00:17:26.069Z] (6/14) Installing patch (2.7.6-r6) [2020-12-22T00:17:26.069Z] (7/14) Installing build-base (0.5-r2) [2020-12-22T00:17:26.069Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2020-12-22T00:17:26.069Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-12-22T00:17:26.069Z] (10/14) Installing openssh-client (8.3_p1-r1) [2020-12-22T00:17:26.331Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2020-12-22T00:17:26.331Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2020-12-22T00:17:26.331Z] (13/14) Installing openssh-server (8.3_p1-r1) [2020-12-22T00:17:26.594Z] (14/14) Installing openssh (8.3_p1-r1) [2020-12-22T00:17:26.594Z] Executing busybox-1.31.1-r19.trigger [2020-12-22T00:17:26.594Z] OK: 237 MiB in 53 packages [2020-12-22T00:17:29.913Z] Removing intermediate container 05a882ee60a2 [2020-12-22T00:17:29.913Z] ---> 87b683eea3a3 [2020-12-22T00:17:29.913Z] Step 6/8 : WORKDIR /device-virtual-go [2020-12-22T00:17:29.913Z] ---> Running in 32e5195f20e8 [2020-12-22T00:17:30.178Z] Removing intermediate container 32e5195f20e8 [2020-12-22T00:17:30.178Z] ---> 8edc1eca1a44 [2020-12-22T00:17:30.178Z] Step 7/8 : COPY . . [2020-12-22T00:17:31.137Z] ---> f2f36b1c0de3 [2020-12-22T00:17:31.137Z] Step 8/8 : RUN go mod download [2020-12-22T00:17:31.137Z] ---> Running in 0b9ccdc9308d [2020-12-22T00:17:36.943Z] Removing intermediate container 780cedd46ee0 [2020-12-22T00:17:36.943Z] ---> 5591f382f378 [2020-12-22T00:17:36.943Z] Successfully built 5591f382f378 [2020-12-22T00:17:36.943Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-22T00:17:37.283Z] + docker inspect -f . ci-base-image-arm64 [2020-12-22T00:17:37.283Z] . [Pipeline] withDockerContainer [2020-12-22T00:17:37.556Z] prd-ubuntu18.04-docker-arm64-4c-16g-17117 does not seem to be running inside a container [2020-12-22T00:17:37.671Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-22T00:17:39.131Z] $ docker top a454a38cbbbe7b8cfd1ae9985e2f6a07ca96c60e2a4f23bcc00a6a04216fc300 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-22T00:17:40.149Z] + go version [2020-12-22T00:17:40.149Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-22T00:17:40.204Z] $ docker stop --time=1 a454a38cbbbe7b8cfd1ae9985e2f6a07ca96c60e2a4f23bcc00a6a04216fc300 [2020-12-22T00:17:42.155Z] $ docker rm -f a454a38cbbbe7b8cfd1ae9985e2f6a07ca96c60e2a4f23bcc00a6a04216fc300 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-22T00:17:43.102Z] + docker inspect -f . ci-base-image-arm64 [2020-12-22T00:17:43.102Z] . [Pipeline] withDockerContainer [2020-12-22T00:17:43.368Z] prd-ubuntu18.04-docker-arm64-4c-16g-17117 does not seem to be running inside a container [2020-12-22T00:17:43.480Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-22T00:17:44.987Z] $ docker top 6fc23cdf2c80893357846718bf62b2e7f8b54e0882d06ba550319f1d18273358 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-22T00:17:45.926Z] + make test [2020-12-22T00:17:45.926Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-12-22T00:17:46.911Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-12-22T00:17:53.152Z] Removing intermediate container 0b9ccdc9308d [2020-12-22T00:17:53.153Z] ---> 351f1396927e [2020-12-22T00:17:53.153Z] Successfully built 351f1396927e [2020-12-22T00:17:53.153Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-22T00:17:53.466Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-22T00:17:53.466Z] . [Pipeline] withDockerContainer [2020-12-22T00:17:53.610Z] prd-centos7-docker-4c-2g-17118 does not seem to be running inside a container [2020-12-22T00:17:53.662Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-22T00:17:54.485Z] $ docker top 393ba7b0d487dbe9d6e0bbd35011a88fa09e5a71b205b55f7234cec63e41d55d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-22T00:17:55.044Z] + go version [2020-12-22T00:17:55.044Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-22T00:17:55.060Z] $ docker stop --time=1 393ba7b0d487dbe9d6e0bbd35011a88fa09e5a71b205b55f7234cec63e41d55d [2020-12-22T00:17:56.420Z] $ docker rm -f 393ba7b0d487dbe9d6e0bbd35011a88fa09e5a71b205b55f7234cec63e41d55d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-22T00:17:57.433Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-22T00:17:57.433Z] . [Pipeline] withDockerContainer [2020-12-22T00:17:57.530Z] prd-centos7-docker-4c-2g-17118 does not seem to be running inside a container [2020-12-22T00:17:57.578Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-22T00:17:58.232Z] $ docker top 67c9d718ed6f27511a726913fb109ed721a602273dcfb7096500799272d56e00 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-22T00:17:58.738Z] + make test [2020-12-22T00:17:58.738Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-12-22T00:17:59.690Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-12-22T00:18:14.737Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-12-22T00:18:16.135Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.348s coverage: 64.4% of statements [2020-12-22T00:18:16.135Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-22T00:18:19.480Z] gofmt -l . [2020-12-22T00:18:19.480Z] [ "`gofmt -l .`" = "" ] [2020-12-22T00:18:19.480Z] ./bin/test-attribution-txt.sh [2020-12-22T00:18:19.743Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-22T00:18:20.024Z] $ docker stop --time=1 67c9d718ed6f27511a726913fb109ed721a602273dcfb7096500799272d56e00 [2020-12-22T00:18:21.772Z] $ docker rm -f 67c9d718ed6f27511a726913fb109ed721a602273dcfb7096500799272d56e00 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-22T00:18:22.398Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-22T00:18:22.715Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-12-22T00:18:25.271Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-22T00:18:25.571Z] + ls -al . [2020-12-22T00:18:25.572Z] total 124 [2020-12-22T00:18:25.572Z] drwxrwxr-x. 7 jenkins jenkins 4096 Dec 22 00:18 . [2020-12-22T00:18:25.572Z] drwxrwxr-x. 4 jenkins jenkins 28 Dec 22 00:16 .. [2020-12-22T00:18:25.572Z] -rw-rw-r--. 1 jenkins jenkins 6713 Dec 22 00:16 Attribution.txt [2020-12-22T00:18:25.572Z] drwxrwxr-x. 2 jenkins jenkins 64 Dec 22 00:16 bin [2020-12-22T00:18:25.572Z] drwxrwxr-x. 3 jenkins jenkins 32 Dec 22 00:16 cmd [2020-12-22T00:18:25.572Z] -rw-r--r--. 1 jenkins jenkins 47242 Dec 22 00:18 coverage.out [2020-12-22T00:18:25.572Z] -rw-rw-r--. 1 jenkins jenkins 1851 Dec 22 00:16 Dockerfile [2020-12-22T00:18:25.572Z] -rw-rw-r--. 1 jenkins jenkins 961 Dec 22 00:16 Dockerfile.build [2020-12-22T00:18:25.572Z] drwxrwxr-x. 8 jenkins jenkins 179 Dec 22 00:16 .git [2020-12-22T00:18:25.572Z] drwxrwxr-x. 2 jenkins jenkins 60 Dec 22 00:16 .github [2020-12-22T00:18:25.572Z] -rw-rw-r--. 1 jenkins jenkins 258 Dec 22 00:16 .gitignore [2020-12-22T00:18:25.572Z] -rw-r--r--. 1 jenkins jenkins 863 Dec 22 00:18 go.mod [2020-12-22T00:18:25.572Z] -rw-r--r--. 1 jenkins jenkins 16360 Dec 22 00:18 go.sum [2020-12-22T00:18:25.572Z] drwxrwxr-x. 3 jenkins jenkins 20 Dec 22 00:16 internal [2020-12-22T00:18:25.572Z] -rw-rw-r--. 1 jenkins jenkins 660 Dec 22 00:16 Jenkinsfile [2020-12-22T00:18:25.572Z] -rw-rw-r--. 1 jenkins jenkins 11340 Dec 22 00:16 LICENSE [2020-12-22T00:18:25.572Z] -rw-rw-r--. 1 jenkins jenkins 873 Dec 22 00:16 Makefile [2020-12-22T00:18:25.572Z] -rw-rw-r--. 1 jenkins jenkins 918 Dec 22 00:16 README.md [2020-12-22T00:18:25.572Z] -rw-rw-r--. 1 jenkins jenkins 5 Dec 22 00:13 VERSION [2020-12-22T00:18:25.572Z] -rw-rw-r--. 1 jenkins jenkins 235 Dec 22 00:16 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-22T00:18:25.883Z] + 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=e9fbb1aef84366bf56d8a545e22566b09eb166f3 --label arch=amd64 --label version=0.0.0 . [2020-12-22T00:18:25.883Z] Sending build context to Docker daemon 553.5kB [2020-12-22T00:18:25.883Z] Step 1/22 : ARG BASE=golang:1.15-alpine3.12 [2020-12-22T00:18:25.883Z] Step 2/22 : FROM ${BASE} AS builder [2020-12-22T00:18:26.146Z] ---> 351f1396927e [2020-12-22T00:18:26.146Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-12-22T00:18:26.408Z] ---> Running in c1023c6baab7 [2020-12-22T00:18:26.408Z] Removing intermediate container c1023c6baab7 [2020-12-22T00:18:26.408Z] ---> 467f85372ad5 [2020-12-22T00:18:26.408Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-12-22T00:18:26.673Z] ---> Running in 0ebb4421be4b [2020-12-22T00:18:26.673Z] Removing intermediate container 0ebb4421be4b [2020-12-22T00:18:26.673Z] ---> 68c9c9857510 [2020-12-22T00:18:26.673Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-12-22T00:18:26.673Z] ---> Running in a84b568c306e [2020-12-22T00:18:26.937Z] Removing intermediate container a84b568c306e [2020-12-22T00:18:26.937Z] ---> 0db57005d788 [2020-12-22T00:18:26.937Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-22T00:18:26.937Z] ---> Running in a64ab02a879f [2020-12-22T00:18:27.886Z] Removing intermediate container a64ab02a879f [2020-12-22T00:18:27.886Z] ---> a6f2f9a3dbb0 [2020-12-22T00:18:27.887Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-12-22T00:18:27.887Z] ---> Running in e1b442b19509 [2020-12-22T00:18:28.466Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-22T00:18:29.043Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-22T00:18:29.619Z] OK: 237 MiB in 53 packages [2020-12-22T00:18:30.201Z] Removing intermediate container e1b442b19509 [2020-12-22T00:18:30.201Z] ---> dca73cb33361 [2020-12-22T00:18:30.201Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-12-22T00:18:30.201Z] ---> Running in e2204b21cc8c [2020-12-22T00:18:30.464Z] Removing intermediate container e2204b21cc8c [2020-12-22T00:18:30.464Z] ---> c44eb413455e [2020-12-22T00:18:30.464Z] Step 9/22 : COPY . . [2020-12-22T00:18:31.412Z] ---> b1001b9ae4e0 [2020-12-22T00:18:31.412Z] Step 10/22 : ARG MAKE='make build' [2020-12-22T00:18:31.412Z] ---> Running in 0cbfefc23b99 [2020-12-22T00:18:31.412Z] Removing intermediate container 0cbfefc23b99 [2020-12-22T00:18:31.412Z] ---> cd11d7c67bb9 [2020-12-22T00:18:31.412Z] Step 11/22 : RUN $MAKE [2020-12-22T00:18:31.412Z] ---> Running in 16d08179d0dd [2020-12-22T00:18:31.990Z] 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-22T00:18:33.960Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-12-22T00:18:33.960Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.463s coverage: 64.4% of statements [2020-12-22T00:18:33.960Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-22T00:18:42.270Z] gofmt -l . [2020-12-22T00:18:42.270Z] [ "`gofmt -l .`" = "" ] [2020-12-22T00:18:42.270Z] ./bin/test-attribution-txt.sh [2020-12-22T00:18:42.544Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-22T00:18:43.209Z] $ docker stop --time=1 6fc23cdf2c80893357846718bf62b2e7f8b54e0882d06ba550319f1d18273358 [2020-12-22T00:18:44.350Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-12-22T00:18:45.327Z] $ docker rm -f 6fc23cdf2c80893357846718bf62b2e7f8b54e0882d06ba550319f1d18273358 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-22T00:18:46.222Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-22T00:18:46.246Z] Warning: overwriting stash ‘coverage-report’ [2020-12-22T00:18:46.905Z] Removing intermediate container 16d08179d0dd [2020-12-22T00:18:46.905Z] ---> 08942f473596 [2020-12-22T00:18:46.905Z] Step 12/22 : FROM alpine:3.12 [2020-12-22T00:18:47.153Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-22T00:18:47.847Z] + sudo chown -R jenkins:jenkins . [2020-12-22T00:18:47.850Z] 3.12: Pulling from library/alpine [2020-12-22T00:18:47.850Z] 801bfaa63ef2: Pulling fs layer [2020-12-22T00:18:47.850Z] 801bfaa63ef2: Verifying Checksum [2020-12-22T00:18:47.850Z] 801bfaa63ef2: Download complete [Pipeline] sh [2020-12-22T00:18:48.112Z] 801bfaa63ef2: Pull complete [2020-12-22T00:18:48.112Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2020-12-22T00:18:48.112Z] Status: Downloaded newer image for alpine:3.12 [2020-12-22T00:18:48.112Z] ---> 389fef711851 [2020-12-22T00:18:48.112Z] Step 13/22 : ENV APP_PORT=49990 [2020-12-22T00:18:48.235Z] + ls -al . [2020-12-22T00:18:48.235Z] total 148 [2020-12-22T00:18:48.235Z] drwxrwxr-x 7 jenkins jenkins 4096 Dec 22 00:18 . [2020-12-22T00:18:48.235Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 22 00:16 .. [2020-12-22T00:18:48.235Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 22 00:16 .git [2020-12-22T00:18:48.235Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 22 00:16 .github [2020-12-22T00:18:48.235Z] -rw-rw-r-- 1 jenkins jenkins 258 Dec 22 00:16 .gitignore [2020-12-22T00:18:48.235Z] -rw-rw-r-- 1 jenkins jenkins 6713 Dec 22 00:16 Attribution.txt [2020-12-22T00:18:48.235Z] -rw-rw-r-- 1 jenkins jenkins 1851 Dec 22 00:16 Dockerfile [2020-12-22T00:18:48.235Z] -rw-rw-r-- 1 jenkins jenkins 961 Dec 22 00:16 Dockerfile.build [2020-12-22T00:18:48.235Z] -rw-rw-r-- 1 jenkins jenkins 660 Dec 22 00:16 Jenkinsfile [2020-12-22T00:18:48.235Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 22 00:16 LICENSE [2020-12-22T00:18:48.235Z] -rw-rw-r-- 1 jenkins jenkins 873 Dec 22 00:16 Makefile [2020-12-22T00:18:48.235Z] -rw-rw-r-- 1 jenkins jenkins 918 Dec 22 00:16 README.md [2020-12-22T00:18:48.235Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 22 00:13 VERSION [2020-12-22T00:18:48.235Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 22 00:16 bin [2020-12-22T00:18:48.235Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 22 00:16 cmd [2020-12-22T00:18:48.235Z] -rw-r--r-- 1 jenkins jenkins 47242 Dec 22 00:18 coverage.out [2020-12-22T00:18:48.235Z] -rw-r--r-- 1 jenkins jenkins 863 Dec 22 00:18 go.mod [2020-12-22T00:18:48.235Z] -rw-r--r-- 1 jenkins jenkins 16360 Dec 22 00:18 go.sum [2020-12-22T00:18:48.235Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 22 00:16 internal [2020-12-22T00:18:48.235Z] -rw-rw-r-- 1 jenkins jenkins 235 Dec 22 00:16 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-22T00:18:48.375Z] ---> Running in e8399b84397d [2020-12-22T00:18:48.375Z] Removing intermediate container e8399b84397d [2020-12-22T00:18:48.375Z] ---> 002f01393452 [2020-12-22T00:18:48.375Z] Step 14/22 : EXPOSE $APP_PORT [2020-12-22T00:18:48.633Z] + 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=e9fbb1aef84366bf56d8a545e22566b09eb166f3 --label arch=arm64 --label version=0.0.0 . [2020-12-22T00:18:48.641Z] ---> Running in 44c3063ad083 [2020-12-22T00:18:48.641Z] Removing intermediate container 44c3063ad083 [2020-12-22T00:18:48.641Z] ---> 1f696b83ef11 [2020-12-22T00:18:48.641Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-12-22T00:18:48.909Z] Sending build context to Docker daemon 552.4kB [2020-12-22T00:18:48.909Z] Step 1/22 : ARG BASE=golang:1.15-alpine3.12 [2020-12-22T00:18:48.909Z] Step 2/22 : FROM ${BASE} AS builder [2020-12-22T00:18:48.909Z] ---> 5591f382f378 [2020-12-22T00:18:48.909Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-12-22T00:18:49.185Z] ---> Running in be2da27207b5 [2020-12-22T00:18:49.594Z] ---> 4645257df572 [2020-12-22T00:18:49.594Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-12-22T00:18:49.594Z] ---> d31c81114155 [2020-12-22T00:18:49.594Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-12-22T00:18:49.785Z] Removing intermediate container be2da27207b5 [2020-12-22T00:18:49.785Z] ---> 2aa6a4c83fec [2020-12-22T00:18:49.785Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-12-22T00:18:49.785Z] ---> Running in a034a630c353 [2020-12-22T00:18:49.856Z] ---> 754d8b442d73 [2020-12-22T00:18:49.856Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2020-12-22T00:18:49.856Z] ---> Running in 80542844c975 [2020-12-22T00:18:50.129Z] Removing intermediate container 80542844c975 [2020-12-22T00:18:50.129Z] ---> 89dffecefd84 [2020-12-22T00:18:50.129Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-22T00:18:50.129Z] ---> Running in fbbf5ebc0adc [2020-12-22T00:18:50.380Z] Removing intermediate container a034a630c353 [2020-12-22T00:18:50.380Z] ---> 102ff8f9bf7d [2020-12-22T00:18:50.380Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-12-22T00:18:50.380Z] ---> Running in a0687776d46a [2020-12-22T00:18:50.391Z] Removing intermediate container fbbf5ebc0adc [2020-12-22T00:18:50.391Z] ---> 4ce35fe4c654 [2020-12-22T00:18:50.391Z] Step 20/22 : LABEL arch=amd64 [2020-12-22T00:18:50.391Z] ---> Running in 1a01300f0f25 [2020-12-22T00:18:50.391Z] Removing intermediate container 1a01300f0f25 [2020-12-22T00:18:50.391Z] ---> e71337368ff6 [2020-12-22T00:18:50.391Z] Step 21/22 : LABEL git_sha=e9fbb1aef84366bf56d8a545e22566b09eb166f3 [2020-12-22T00:18:50.653Z] ---> Running in 0cbd09ef2202 [2020-12-22T00:18:50.653Z] Removing intermediate container 0cbd09ef2202 [2020-12-22T00:18:50.653Z] ---> 6cc94e449c0b [2020-12-22T00:18:50.653Z] Step 22/22 : LABEL version=0.0.0 [2020-12-22T00:18:50.915Z] ---> Running in 86603c8760db [2020-12-22T00:18:50.915Z] Removing intermediate container 86603c8760db [2020-12-22T00:18:50.915Z] ---> 3bd9180388a2 [2020-12-22T00:18:50.915Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-22T00:18:50.915Z] Successfully built 3bd9180388a2 [2020-12-22T00:18:50.915Z] Successfully tagged docker-device-virtual-go:latest [Pipeline] } [2020-12-22T00:18:50.974Z] Removing intermediate container a0687776d46a [2020-12-22T00:18:50.974Z] ---> de7a20fe9dde [2020-12-22T00:18:50.974Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-22T00:18:50.974Z] ---> Running in 31906a553e5d [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-22T00:18:52.951Z] Removing intermediate container 31906a553e5d [2020-12-22T00:18:52.951Z] ---> 5a82d1e816ef [2020-12-22T00:18:52.951Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-12-22T00:18:52.951Z] ---> Running in d167b4a6f168 [2020-12-22T00:18:53.926Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-22T00:18:54.894Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-22T00:18:55.489Z] OK: 221 MiB in 53 packages [2020-12-22T00:18:56.470Z] Removing intermediate container d167b4a6f168 [2020-12-22T00:18:56.470Z] ---> 3e5751b7d81f [2020-12-22T00:18:56.470Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-12-22T00:18:56.743Z] ---> Running in 096f73d1e7d1 [2020-12-22T00:18:57.017Z] Removing intermediate container 096f73d1e7d1 [2020-12-22T00:18:57.017Z] ---> d643a2944865 [2020-12-22T00:18:57.017Z] Step 9/22 : COPY . . [2020-12-22T00:18:58.001Z] ---> fd720c6f7d5b [2020-12-22T00:18:58.001Z] Step 10/22 : ARG MAKE='make build' [2020-12-22T00:18:58.273Z] ---> Running in 864735c7d243 [2020-12-22T00:18:58.545Z] Removing intermediate container 864735c7d243 [2020-12-22T00:18:58.546Z] ---> 47a46d70c39e [2020-12-22T00:18:58.546Z] Step 11/22 : RUN $MAKE [2020-12-22T00:18:58.821Z] ---> Running in bf920f377d69 [2020-12-22T00:18:59.804Z] 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-22T00:19:38.831Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-12-22T00:19:40.272Z] Removing intermediate container bf920f377d69 [2020-12-22T00:19:40.272Z] ---> e6595416fb2d [2020-12-22T00:19:40.272Z] Step 12/22 : FROM alpine:3.12 [2020-12-22T00:19:40.543Z] 3.12: Pulling from library/alpine [2020-12-22T00:19:40.816Z] 159e5727ea61: Pulling fs layer [2020-12-22T00:19:40.816Z] 159e5727ea61: Verifying Checksum [2020-12-22T00:19:40.816Z] 159e5727ea61: Download complete [2020-12-22T00:19:41.414Z] 159e5727ea61: Pull complete [2020-12-22T00:19:41.414Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2020-12-22T00:19:41.414Z] Status: Downloaded newer image for alpine:3.12 [2020-12-22T00:19:41.414Z] ---> afeebe901d6b [2020-12-22T00:19:41.414Z] Step 13/22 : ENV APP_PORT=49990 [2020-12-22T00:19:41.688Z] ---> Running in 851bef644092 [2020-12-22T00:19:42.283Z] Removing intermediate container 851bef644092 [2020-12-22T00:19:42.283Z] ---> 74547b7790d2 [2020-12-22T00:19:42.283Z] Step 14/22 : EXPOSE $APP_PORT [2020-12-22T00:19:42.283Z] ---> Running in 36efd3612654 [2020-12-22T00:19:42.556Z] Removing intermediate container 36efd3612654 [2020-12-22T00:19:42.556Z] ---> f3f6694bff26 [2020-12-22T00:19:42.556Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-12-22T00:19:43.988Z] ---> 39bf77a77319 [2020-12-22T00:19:43.988Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-12-22T00:19:44.967Z] ---> 6da8aba95475 [2020-12-22T00:19:44.967Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-12-22T00:19:45.562Z] ---> d4d5109c0b74 [2020-12-22T00:19:45.562Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2020-12-22T00:19:45.562Z] ---> Running in 29f2828e341e [2020-12-22T00:19:46.158Z] Removing intermediate container 29f2828e341e [2020-12-22T00:19:46.158Z] ---> f4206335dff3 [2020-12-22T00:19:46.158Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-22T00:19:46.158Z] ---> Running in 859a50f1ccba [2020-12-22T00:19:46.756Z] Removing intermediate container 859a50f1ccba [2020-12-22T00:19:46.756Z] ---> efd4c63d2cec [2020-12-22T00:19:46.756Z] Step 20/22 : LABEL arch=arm64 [2020-12-22T00:19:46.756Z] ---> Running in 23e3138fc85e [2020-12-22T00:19:47.028Z] Removing intermediate container 23e3138fc85e [2020-12-22T00:19:47.028Z] ---> 258ad3d38eae [2020-12-22T00:19:47.028Z] Step 21/22 : LABEL git_sha=e9fbb1aef84366bf56d8a545e22566b09eb166f3 [2020-12-22T00:19:47.301Z] ---> Running in 728f01240646 [2020-12-22T00:19:47.572Z] Removing intermediate container 728f01240646 [2020-12-22T00:19:47.572Z] ---> 273b68df22ce [2020-12-22T00:19:47.572Z] Step 22/22 : LABEL version=0.0.0 [2020-12-22T00:19:47.844Z] ---> Running in 0855496deee1 [2020-12-22T00:19:48.118Z] Removing intermediate container 0855496deee1 [2020-12-22T00:19:48.118Z] ---> 65a684b10ef2 [2020-12-22T00:19:48.118Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-22T00:19:48.118Z] Successfully built 65a684b10ef2 [2020-12-22T00:19:48.118Z] 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-22T00:19:51.512Z] provisioning config files... [2020-12-22T00:19:51.527Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-158@tmp/config3677839488559872634tmp [Pipeline] { [Pipeline] sh [2020-12-22T00:19:51.918Z] + set +x [2020-12-22T00:19:51.918Z] + curl -s https://codecov.io/bash [2020-12-22T00:19:51.918Z] + bash -s -- [2020-12-22T00:19:52.181Z] [2020-12-22T00:19:52.181Z] _____ _ [2020-12-22T00:19:52.181Z] / ____| | | [2020-12-22T00:19:52.181Z] | | ___ __| | ___ ___ _____ __ [2020-12-22T00:19:52.181Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-22T00:19:52.181Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-22T00:19:52.181Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-22T00:19:52.181Z] Bash-20201217-3d3df35 [2020-12-22T00:19:52.181Z] [2020-12-22T00:19:52.181Z] [2020-12-22T00:19:52.181Z] git version 2.24.3 found [2020-12-22T00:19:52.181Z] 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-22T00:19:52.181Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2020-12-22T00:19:52.181Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets found [2020-12-22T00:19:52.181Z] ==> Jenkins CI detected. [2020-12-22T00:19:52.181Z] project root: . [2020-12-22T00:19:52.181Z] --> token set from env [2020-12-22T00:19:52.181Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-22T00:19:52.181Z] ==> Running gcov in . (disable via -X gcov) [2020-12-22T00:19:52.181Z] ==> Python coveragepy not found [2020-12-22T00:19:52.181Z] ==> Searching for coverage reports in: [2020-12-22T00:19:52.181Z] + . [2020-12-22T00:19:52.181Z] -> Found 1 reports [2020-12-22T00:19:52.181Z] ==> Detecting git/mercurial file structure [2020-12-22T00:19:52.181Z] ==> Reading reports [2020-12-22T00:19:52.181Z] + ./coverage.out bytes=47242 [2020-12-22T00:19:52.181Z] ==> Appending adjustments [2020-12-22T00:19:52.181Z] https://docs.codecov.io/docs/fixing-reports [2020-12-22T00:19:52.445Z] + Found adjustments [2020-12-22T00:19:52.445Z] ==> Gzipping contents [2020-12-22T00:19:52.445Z] 8.0K /tmp/codecov.witpXK.gz [2020-12-22T00:19:52.445Z] ==> Uploading reports [2020-12-22T00:19:52.445Z] url: https://codecov.io [2020-12-22T00:19:52.445Z] query: branch=PR-158&commit=e9fbb1aef84366bf56d8a545e22566b09eb166f3&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-158%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=158&job=&cmd_args= [2020-12-22T00:19:52.445Z] -> Pinging Codecov [2020-12-22T00:19:52.445Z] https://codecov.io/upload/v4?package=bash-20201217-3d3df35&token=secret&branch=PR-158&commit=e9fbb1aef84366bf56d8a545e22566b09eb166f3&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-158%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=158&job=&cmd_args= [2020-12-22T00:19:52.707Z] -> Uploading to [2020-12-22T00:19:52.707Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-22/5E52B4B073DB2E39498172D8E973AA87/e9fbb1aef84366bf56d8a545e22566b09eb166f3/3e7f731a-dfe0-4e6a-89c4-138f6f8531e8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201222%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201222T001952Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=772b19bc6608f549bcc13c429e0c21f1e7cb22ebf1eebb548f031cb3d9f32245 [2020-12-22T00:19:52.707Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-22T00:19:52.707Z] Dload Upload Total Spent Left Speed [2020-12-22T00:19:53.545Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5785 0 0 100 5785 0 10030 --:--:-- --:--:-- --:--:-- 10043 [2020-12-22T00:19:53.545Z] -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/e9fbb1aef84366bf56d8a545e22566b09eb166f3 [Pipeline] } [2020-12-22T00:19:53.554Z] 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-22T00:19:56.904Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-22T00:19:57.488Z] ---> package-listing.sh [2020-12-22T00:19:57.488Z] ++ facter osfamily [2020-12-22T00:19:57.488Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-22T00:19:57.488Z] + OS_FAMILY=redhat [2020-12-22T00:19:57.488Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-158 [2020-12-22T00:19:57.488Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-22T00:19:57.488Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-22T00:19:57.488Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-22T00:19:57.488Z] + PACKAGES=/tmp/packages_start.txt [2020-12-22T00:19:57.488Z] + '[' /w/workspace/foundry_device-virtual-go_PR-158 ']' [2020-12-22T00:19:57.488Z] + PACKAGES=/tmp/packages_end.txt [2020-12-22T00:19:57.488Z] + case "${OS_FAMILY}" in [2020-12-22T00:19:57.488Z] + rpm -qa [2020-12-22T00:19:57.488Z] + sort [2020-12-22T00:20:02.801Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-22T00:20:02.801Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-22T00:20:02.801Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-22T00:20:02.801Z] + '[' /w/workspace/foundry_device-virtual-go_PR-158 ']' [2020-12-22T00:20:02.801Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-158/archives/ [2020-12-22T00:20:02.801Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-158/archives/ [Pipeline] echo [2020-12-22T00:20:02.817Z] 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-158/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-22T00:20:03.107Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-22T00:20:03.410Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-22T00:20:03.410Z] [2020-12-22T00:20:03.410Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-22T00:20:03.765Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-22T00:20:03.765Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-22T00:20:03.765Z] df20fa9351a1: Pulling fs layer [2020-12-22T00:20:03.765Z] 36b3adc4ff6f: Pulling fs layer [2020-12-22T00:20:03.765Z] 8ad3a11d3b57: Pulling fs layer [2020-12-22T00:20:03.765Z] 46f8f816bc3b: Pulling fs layer [2020-12-22T00:20:03.765Z] 93b61091891f: Pulling fs layer [2020-12-22T00:20:03.765Z] 93b9cdb0e59b: Pulling fs layer [2020-12-22T00:20:03.765Z] 5e14af77c1be: Pulling fs layer [2020-12-22T00:20:03.765Z] 01666e4c0597: Pulling fs layer [2020-12-22T00:20:03.765Z] aa168da1d23b: Pulling fs layer [2020-12-22T00:20:03.765Z] 5e14af77c1be: Waiting [2020-12-22T00:20:03.765Z] 46f8f816bc3b: Waiting [2020-12-22T00:20:03.765Z] 93b61091891f: Waiting [2020-12-22T00:20:03.765Z] 93b9cdb0e59b: Waiting [2020-12-22T00:20:03.765Z] 01666e4c0597: Waiting [2020-12-22T00:20:03.765Z] aa168da1d23b: Waiting [2020-12-22T00:20:03.765Z] 36b3adc4ff6f: Verifying Checksum [2020-12-22T00:20:03.765Z] 36b3adc4ff6f: Download complete [2020-12-22T00:20:03.765Z] 46f8f816bc3b: Verifying Checksum [2020-12-22T00:20:03.765Z] 46f8f816bc3b: Download complete [2020-12-22T00:20:04.028Z] df20fa9351a1: Verifying Checksum [2020-12-22T00:20:04.028Z] df20fa9351a1: Download complete [2020-12-22T00:20:04.028Z] 93b9cdb0e59b: Verifying Checksum [2020-12-22T00:20:04.028Z] 93b9cdb0e59b: Download complete [2020-12-22T00:20:04.028Z] 93b61091891f: Download complete [2020-12-22T00:20:04.028Z] 5e14af77c1be: Verifying Checksum [2020-12-22T00:20:04.028Z] 5e14af77c1be: Download complete [2020-12-22T00:20:04.028Z] 01666e4c0597: Verifying Checksum [2020-12-22T00:20:04.028Z] 01666e4c0597: Download complete [2020-12-22T00:20:04.297Z] 8ad3a11d3b57: Verifying Checksum [2020-12-22T00:20:04.297Z] 8ad3a11d3b57: Download complete [2020-12-22T00:20:04.297Z] df20fa9351a1: Pull complete [2020-12-22T00:20:04.562Z] 36b3adc4ff6f: Pull complete [2020-12-22T00:20:05.520Z] 8ad3a11d3b57: Pull complete [2020-12-22T00:20:05.520Z] 46f8f816bc3b: Pull complete [2020-12-22T00:20:06.939Z] aa168da1d23b: Download complete [2020-12-22T00:20:06.939Z] 93b61091891f: Pull complete [2020-12-22T00:20:06.939Z] 93b9cdb0e59b: Pull complete [2020-12-22T00:20:07.206Z] 5e14af77c1be: Pull complete [2020-12-22T00:20:07.206Z] 01666e4c0597: Pull complete [2020-12-22T00:20:15.389Z] aa168da1d23b: Pull complete [2020-12-22T00:20:15.389Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-22T00:20:15.389Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-22T00:20:15.389Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-22T00:20:15.537Z] prd-centos7-docker-4c-2g-17116 does not seem to be running inside a container [2020-12-22T00:20:15.586Z] $ 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-158/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-158 -v /w/workspace/foundry_device-virtual-go_PR-158:/w/workspace/foundry_device-virtual-go_PR-158:rw,z -v /w/workspace/foundry_device-virtual-go_PR-158@tmp:/w/workspace/foundry_device-virtual-go_PR-158@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-22T00:20:19.432Z] $ docker top d9cb96dfc44a955df145b0e82c2bfd4682c2d4d557317086cfa8e34860bab302 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-22T00:20:20.075Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-22T00:20:20.374Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-22T00:20:20.673Z] + ls /var/log/sa-host [2020-12-22T00:20:20.673Z] + sadf -c /var/log/sa-host/sa22 [2020-12-22T00:20:20.673Z] file_magic: OK [2020-12-22T00:20:20.673Z] HZ: Using current value: 100 [2020-12-22T00:20:20.673Z] file_header: OK [2020-12-22T00:20:20.673Z] 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-22T00:20:20.673Z] Statistics: [2020-12-22T00:20:20.673Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-22T00:20:20.673Z] File successfully converted to sysstat format version 12.2.1 [2020-12-22T00:20:20.673Z] + sadf -c /var/log/sa-host/sa23 [2020-12-22T00:20:20.673Z] file_magic: OK [2020-12-22T00:20:20.673Z] HZ: Using current value: 100 [2020-12-22T00:20:20.673Z] file_header: OK [2020-12-22T00:20:20.673Z] 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-22T00:20:20.673Z] Statistics: [2020-12-22T00:20:20.673Z] Hnuu...uuuununununu... [2020-12-22T00:20:20.673Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-22T00:20:21.318Z] provisioning config files... [2020-12-22T00:20:21.337Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-158@tmp/config8445420231383886172tmp [Pipeline] { [Pipeline] echo [2020-12-22T00:20:21.412Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-22T00:20:21.713Z] ---> create-netrc.sh [Pipeline] } [2020-12-22T00:20:21.724Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-22T00:20:21.814Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-22T00:20:22.111Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-22T00:20:22.123Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-22T00:20:22.420Z] ---> sudo-logs.sh [2020-12-22T00:20:22.420Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-22T00:20:22.432Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-22T00:20:22.733Z] ---> job-cost.sh [2020-12-22T00:20:22.733Z] lf-activate-venv: SKIPPING [2020-12-22T00:20:22.733Z] INFO: No Stack... [2020-12-22T00:20:23.680Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-22T00:20:24.255Z] INFO: Archiving Costs [Pipeline] echo [2020-12-22T00:20:24.270Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-22T00:20:24.566Z] ---> logs-deploy.sh [2020-12-22T00:20:24.566Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-158/2 [2020-12-22T00:20:24.566Z] INFO: archiving workspace using pattern(s): [2020-12-22T00:20:26.488Z] Archives upload complete. [2020-12-22T00:20:26.488Z] INFO: archiving logs to Nexus [2020-12-22T00:20:27.441Z] ---> uname -a: [2020-12-22T00:20:27.441Z] Linux prd-centos7-docker-4c-2g-17116.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-22T00:20:27.441Z] [2020-12-22T00:20:27.441Z] [2020-12-22T00:20:27.441Z] ---> lscpu: [2020-12-22T00:20:27.441Z] Architecture: x86_64 [2020-12-22T00:20:27.441Z] CPU op-mode(s): 32-bit, 64-bit [2020-12-22T00:20:27.441Z] Byte Order: Little Endian [2020-12-22T00:20:27.441Z] Address sizes: 40 bits physical, 48 bits virtual [2020-12-22T00:20:27.441Z] CPU(s): 4 [2020-12-22T00:20:27.441Z] On-line CPU(s) list: 0-3 [2020-12-22T00:20:27.441Z] Thread(s) per core: 1 [2020-12-22T00:20:27.441Z] Core(s) per socket: 1 [2020-12-22T00:20:27.441Z] Socket(s): 4 [2020-12-22T00:20:27.441Z] NUMA node(s): 1 [2020-12-22T00:20:27.441Z] Vendor ID: GenuineIntel [2020-12-22T00:20:27.441Z] CPU family: 6 [2020-12-22T00:20:27.441Z] Model: 44 [2020-12-22T00:20:27.441Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2020-12-22T00:20:27.441Z] Stepping: 1 [2020-12-22T00:20:27.441Z] CPU MHz: 2933.436 [2020-12-22T00:20:27.441Z] BogoMIPS: 5866.87 [2020-12-22T00:20:27.441Z] Virtualization: VT-x [2020-12-22T00:20:27.441Z] Hypervisor vendor: KVM [2020-12-22T00:20:27.441Z] Virtualization type: full [2020-12-22T00:20:27.441Z] L1d cache: 128 KiB [2020-12-22T00:20:27.441Z] L1i cache: 128 KiB [2020-12-22T00:20:27.441Z] L2 cache: 16 MiB [2020-12-22T00:20:27.441Z] L3 cache: 64 MiB [2020-12-22T00:20:27.441Z] NUMA node0 CPU(s): 0-3 [2020-12-22T00:20:27.441Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2020-12-22T00:20:27.441Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2020-12-22T00:20:27.441Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2020-12-22T00:20:27.441Z] Vulnerability Meltdown: Mitigation; PTI [2020-12-22T00:20:27.441Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2020-12-22T00:20:27.441Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2020-12-22T00:20:27.441Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2020-12-22T00:20:27.441Z] Vulnerability Srbds: Not affected [2020-12-22T00:20:27.441Z] Vulnerability Tsx async abort: Not affected [2020-12-22T00:20:27.441Z] 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-22T00:20:27.441Z] [2020-12-22T00:20:27.441Z] [2020-12-22T00:20:27.441Z] ---> nproc: [2020-12-22T00:20:27.441Z] 4 [2020-12-22T00:20:27.441Z] [2020-12-22T00:20:27.441Z] [2020-12-22T00:20:27.441Z] ---> df -h: [2020-12-22T00:20:27.441Z] Filesystem Size Used Available Use% Mounted on [2020-12-22T00:20:27.441Z] overlay 50.0G 7.3G 42.7G 15% / [2020-12-22T00:20:27.441Z] tmpfs 64.0M 0 64.0M 0% /dev [2020-12-22T00:20:27.441Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2020-12-22T00:20:27.441Z] shm 64.0M 0 64.0M 0% /dev/shm [2020-12-22T00:20:27.441Z] /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os [2020-12-22T00:20:27.441Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf [2020-12-22T00:20:27.441Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname [2020-12-22T00:20:27.441Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts [2020-12-22T00:20:27.441Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure [2020-12-22T00:20:27.441Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log [2020-12-22T00:20:27.441Z] /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json [2020-12-22T00:20:27.441Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/foundry_device-virtual-go_PR-158 [2020-12-22T00:20:27.441Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/foundry_device-virtual-go_PR-158@tmp [2020-12-22T00:20:27.441Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host [2020-12-22T00:20:27.441Z] [2020-12-22T00:20:27.441Z] [2020-12-22T00:20:27.441Z] ---> free -m: [2020-12-22T00:20:27.441Z] total used free shared buff/cache available [2020-12-22T00:20:27.441Z] Mem: 1837 709 109 0 1019 1023 [2020-12-22T00:20:27.441Z] Swap: 1023 0 1023 [2020-12-22T00:20:27.441Z] [2020-12-22T00:20:27.441Z] [2020-12-22T00:20:27.441Z] ---> ip addr: [2020-12-22T00:20:27.441Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2020-12-22T00:20:27.441Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2020-12-22T00:20:27.441Z] inet 127.0.0.1/8 scope host lo [2020-12-22T00:20:27.441Z] valid_lft forever preferred_lft forever [2020-12-22T00:20:27.441Z] inet6 ::1/128 scope host [2020-12-22T00:20:27.441Z] valid_lft forever preferred_lft forever [2020-12-22T00:20:27.441Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2020-12-22T00:20:27.441Z] link/ether fa:16:3e:4d:a1:a3 brd ff:ff:ff:ff:ff:ff [2020-12-22T00:20:27.441Z] inet 10.30.123.238/23 brd 10.30.123.255 scope global dynamic eth0 [2020-12-22T00:20:27.441Z] valid_lft 85955sec preferred_lft 85955sec [2020-12-22T00:20:27.441Z] inet6 fe80::f816:3eff:fe4d:a1a3/64 scope link [2020-12-22T00:20:27.441Z] valid_lft forever preferred_lft forever [2020-12-22T00:20:27.441Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2020-12-22T00:20:27.441Z] link/ether 02:42:52:af:79:df brd ff:ff:ff:ff:ff:ff [2020-12-22T00:20:27.441Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2020-12-22T00:20:27.441Z] valid_lft forever preferred_lft forever [2020-12-22T00:20:27.441Z] inet6 fe80::42:52ff:feaf:79df/64 scope link [2020-12-22T00:20:27.441Z] valid_lft forever preferred_lft forever [2020-12-22T00:20:27.441Z] [2020-12-22T00:20:27.441Z] [2020-12-22T00:20:27.441Z] ---> sar -b -r -n DEV: [2020-12-22T00:20:27.441Z] Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/22/20 _x86_64_ (4 CPU) [2020-12-22T00:20:27.441Z] [2020-12-22T00:20:27.441Z] 00:12:52 LINUX RESTART (4 CPU) [2020-12-22T00:20:27.441Z] [2020-12-22T00:20:27.441Z] 00:14:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2020-12-22T00:20:27.441Z] 00:15:01 3.50 0.07 3.43 0.00 2.13 112.47 0.00 [2020-12-22T00:20:27.441Z] 00:16:01 0.42 0.00 0.42 0.00 0.00 6.31 0.00 [2020-12-22T00:20:27.441Z] 00:17:01 0.23 0.00 0.23 0.00 0.00 3.13 0.00 [2020-12-22T00:20:27.441Z] 00:18:01 0.25 0.00 0.25 0.00 0.00 3.60 0.00 [2020-12-22T00:20:27.441Z] 00:19:01 0.25 0.00 0.25 0.00 0.00 3.75 0.00 [2020-12-22T00:20:27.441Z] 00:20:01 48.81 47.36 1.45 0.00 4024.64 34.59 0.00 [2020-12-22T00:20:27.441Z] Average: 8.91 7.91 1.00 0.00 671.31 27.31 0.00 [2020-12-22T00:20:27.441Z] [2020-12-22T00:20:27.441Z] 00:14:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2020-12-22T00:20:27.441Z] 00:15:01 151288 0 606888 32.25 2620 1120748 1076148 36.73 417916 1114456 20 [2020-12-22T00:20:27.441Z] 00:16:01 149748 0 608420 32.34 2620 1120756 1076148 36.73 427960 1106216 8 [2020-12-22T00:20:27.442Z] 00:17:01 149208 0 608956 32.36 2620 1120760 1076292 36.73 423344 1111652 8 [2020-12-22T00:20:27.442Z] 00:18:01 148452 0 609712 32.40 2620 1120760 1076148 36.73 432756 1103052 8 [2020-12-22T00:20:27.442Z] 00:19:01 148172 0 609984 32.42 2620 1120768 1076220 36.73 443564 1092480 8 [2020-12-22T00:20:27.442Z] 00:20:01 77160 0 633104 33.65 2620 1168660 1112232 37.96 455864 1151948 128 [2020-12-22T00:20:27.442Z] Average: 137338 0 612844 32.57 2620 1128742 1082198 36.93 433567 1113301 30 [2020-12-22T00:20:27.442Z] [2020-12-22T00:20:27.442Z] 00:14:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2020-12-22T00:20:27.442Z] 00:15:01 eth0 0.40 0.08 0.02 0.01 0.00 0.00 0.00 0.00 [2020-12-22T00:20:27.442Z] 00:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-22T00:20:27.442Z] 00:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-22T00:20:27.442Z] 00:16:01 eth0 0.50 0.08 0.05 0.01 0.00 0.00 0.00 0.00 [2020-12-22T00:20:27.442Z] 00:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-22T00:20:27.442Z] 00:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-22T00:20:27.442Z] 00:17:01 eth0 4.76 2.18 3.60 0.47 0.00 0.00 0.00 0.00 [2020-12-22T00:20:27.442Z] 00:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-22T00:20:27.442Z] 00:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-22T00:20:27.442Z] 00:18:01 eth0 0.10 0.08 0.01 0.04 0.00 0.00 0.00 0.00 [2020-12-22T00:20:27.442Z] 00:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-22T00:20:27.442Z] 00:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-22T00:20:27.442Z] 00:19:01 eth0 0.28 0.20 0.14 0.07 0.00 0.00 0.00 0.00 [2020-12-22T00:20:27.442Z] 00:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-22T00:20:27.442Z] 00:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-22T00:20:27.442Z] 00:20:01 eth0 10.70 6.26 9.76 3.61 0.00 0.00 0.00 0.00 [2020-12-22T00:20:27.442Z] 00:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-22T00:20:27.442Z] 00:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-22T00:20:27.442Z] Average: eth0 2.79 1.48 2.27 0.70 0.00 0.00 0.00 0.00 [2020-12-22T00:20:27.442Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-22T00:20:27.442Z] Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-22T00:20:27.442Z] [2020-12-22T00:20:27.442Z]