Pull request #132 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-virtual-go Obtained Jenkinsfile from b91c50e16edfdd35dc930dd36c12d4a76069e4ef+f15eeb60ed1dfaebdbb1110c59d4e99e14864ad0 (32db18566bf9d97e86313dd75b156a35179749e0) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-132/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-780 in /w/workspace/foundry_device-virtual-go_PR-132 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-132 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/132/head:refs/remotes/origin/PR-132 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/132/head:refs/remotes/origin/PR-132 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # 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 --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/132/head:refs/remotes/origin/PR-132 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit f15eeb60ed1dfaebdbb1110c59d4e99e14864ad0 into PR head commit b91c50e16edfdd35dc930dd36c12d4a76069e4ef Merge succeeded, producing b91c50e16edfdd35dc930dd36c12d4a76069e4ef Checking out Revision b91c50e16edfdd35dc930dd36c12d4a76069e4ef (PR-132) > git config core.sparsecheckout # timeout=10 > git checkout -f b91c50e16edfdd35dc930dd36c12d4a76069e4ef # 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 f15eeb60ed1dfaebdbb1110c59d4e99e14864ad0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b91c50e16edfdd35dc930dd36c12d4a76069e4ef # timeout=10 Commit message: "fix: ReadWrite field of each device resource should be RW" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-22T04:44:35.018Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-22T04:44:35.379Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-22T04:44:35.656Z] ========================================================= [2020-09-22T04:44:35.656Z] EdgeX Global Pipelines Version Info [2020-09-22T04:44:35.656Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-22T04:44:38.078Z] ------------------- [2020-09-22T04:44:38.078Z] stable info: [2020-09-22T04:44:38.078Z] ------------------- [2020-09-22T04:44:38.078Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-22T04:44:38.078Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-22T04:44:38.078Z] Message: update stable to v1.0.122 [2020-09-22T04:44:39.116Z] ------------------- [2020-09-22T04:44:39.116Z] experimental info: [2020-09-22T04:44:39.116Z] ------------------- [2020-09-22T04:44:39.116Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-22T04:44:39.116Z] Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 [2020-09-22T04:44:39.116Z] Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-22T04:44:39.796Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2020-09-22T04:44:39.946Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2020-09-22T04:44:40.098Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-22T04:44:40.269Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-22T04:44:40.440Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-22T04:44:40.610Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-22T04:44:40.779Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-22T04:44:40.949Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-22T04:44:41.127Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-22T04:44:41.276Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-22T04:44:41.423Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-22T04:44:41.613Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2020-09-22T04:44:41.749Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-22T04:44:41.890Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-22T04:44:42.089Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-22T04:44:42.220Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-09-22T04:44:42.351Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T04:44:42.536Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T04:44:42.664Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-22T04:44:42.789Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-22T04:44:42.915Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-22T04:44:43.044Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-22T04:44:43.181Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-132 [Pipeline] echo [2020-09-22T04:44:43.318Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-132 [Pipeline] echo [2020-09-22T04:44:43.497Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-132 [Pipeline] echo [2020-09-22T04:44:43.657Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b91c50e16edfdd35dc930dd36c12d4a76069e4ef [Pipeline] echo [2020-09-22T04:44:43.815Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b91c50e [Pipeline] echo [2020-09-22T04:44:44.014Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-22T04:44:44.862Z] + git log --format=format:%s -1 b91c50e16edfdd35dc930dd36c12d4a76069e4ef [Pipeline] echo [2020-09-22T04:44:45.003Z] GIT_COMMIT: b91c50e16edfdd35dc930dd36c12d4a76069e4ef, Commit Message: fix: ReadWrite field of each device resource should be RW [Pipeline] echo [2020-09-22T04:44:45.098Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-22T04:44:46.117Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T04:44:46.388Z] [2020-09-22T04:44:46.388Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T04:44:46.819Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T04:44:46.819Z] latest: Pulling from edgex-devops/git-semver [2020-09-22T04:44:46.819Z] 31603596830f: Pulling fs layer [2020-09-22T04:44:46.819Z] 2a8b12db71e7: Pulling fs layer [2020-09-22T04:44:46.819Z] 6ca5941a6612: Pulling fs layer [2020-09-22T04:44:46.819Z] ecc8261a40a4: Pulling fs layer [2020-09-22T04:44:46.819Z] ecc8261a40a4: Waiting [2020-09-22T04:44:46.819Z] 2a8b12db71e7: Download complete [2020-09-22T04:44:47.097Z] 31603596830f: Verifying Checksum [2020-09-22T04:44:47.097Z] 31603596830f: Download complete [2020-09-22T04:44:47.379Z] ecc8261a40a4: Verifying Checksum [2020-09-22T04:44:47.380Z] ecc8261a40a4: Download complete [2020-09-22T04:44:47.380Z] 6ca5941a6612: Verifying Checksum [2020-09-22T04:44:47.380Z] 6ca5941a6612: Download complete [2020-09-22T04:44:47.693Z] 31603596830f: Pull complete [2020-09-22T04:44:47.998Z] 2a8b12db71e7: Pull complete [2020-09-22T04:44:49.415Z] 6ca5941a6612: Pull complete [2020-09-22T04:44:49.682Z] ecc8261a40a4: Pull complete [2020-09-22T04:44:49.682Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-22T04:44:49.682Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T04:44:49.682Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-22T04:44:50.012Z] prd-centos7-docker-4c-2g-780 does not seem to be running inside a container [2020-09-22T04:44:50.126Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-132 -v /w/workspace/foundry_device-virtual-go_PR-132:/w/workspace/foundry_device-virtual-go_PR-132:rw,z -v /w/workspace/foundry_device-virtual-go_PR-132@tmp:/w/workspace/foundry_device-virtual-go_PR-132@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-22T04:44:52.099Z] $ docker top 5d583e5e07b25b32d76ccd6b20f14ac889680c1ae6feb11624ad82f0e5c40455 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-22T04:44:52.687Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-22T04:44:52.687Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-22T04:44:52.981Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-22T04:44:52.986Z] $ docker exec 5d583e5e07b25b32d76ccd6b20f14ac889680c1ae6feb11624ad82f0e5c40455 ssh-agent [2020-09-22T04:44:53.280Z] SSH_AUTH_SOCK=/tmp/ssh-F87TWpPsw4E5/agent.12 [2020-09-22T04:44:53.280Z] SSH_AGENT_PID=17 [2020-09-22T04:44:53.299Z] Running ssh-add (command line suppressed) [2020-09-22T04:44:53.467Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-132@tmp/private_key_7090887134841397462.key (/w/workspace/foundry_device-virtual-go_PR-132@tmp/private_key_7090887134841397462.key) [2020-09-22T04:44:53.539Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-22T04:44:53.977Z] + git describe --exact-match --tags HEAD [2020-09-22T04:44:53.977Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-22T04:44:54.145Z] $ docker exec --env ******** --env ******** 5d583e5e07b25b32d76ccd6b20f14ac889680c1ae6feb11624ad82f0e5c40455 ssh-agent -k [2020-09-22T04:44:54.447Z] unset SSH_AUTH_SOCK; [2020-09-22T04:44:54.447Z] unset SSH_AGENT_PID; [2020-09-22T04:44:54.447Z] echo Agent pid 17 killed; [2020-09-22T04:44:54.525Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-22T04:44:54.692Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-22T04:44:54.692Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-22T04:44:54.829Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-22T04:44:54.829Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-22T04:44:55.044Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-22T04:44:55.049Z] $ docker exec 5d583e5e07b25b32d76ccd6b20f14ac889680c1ae6feb11624ad82f0e5c40455 ssh-agent [2020-09-22T04:44:55.276Z] SSH_AUTH_SOCK=/tmp/ssh-kP9PmFPnwulG/agent.46 [2020-09-22T04:44:55.276Z] SSH_AGENT_PID=52 [2020-09-22T04:44:55.285Z] Running ssh-add (command line suppressed) [2020-09-22T04:44:55.450Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-132@tmp/private_key_6657236741191905089.key (/w/workspace/foundry_device-virtual-go_PR-132@tmp/private_key_6657236741191905089.key) [2020-09-22T04:44:55.532Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-22T04:44:55.955Z] + git semver init [2020-09-22T04:44:55.955Z] # -> Open(): unable to determine branch for HEAD [2020-09-22T04:44:55.955Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-132/.git [2020-09-22T04:44:55.955Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-132 [2020-09-22T04:44:55.955Z] # $SEMVER_REMOTE_NAME = origin [2020-09-22T04:44:55.955Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-22T04:44:55.955Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-22T04:44:55.955Z] # $SEMVER_BRANCH = PR-132 [2020-09-22T04:44:55.955Z] # $SEMVER_TEMP = /tmp/semver-322525080 [2020-09-22T04:44:55.955Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2020-09-22T04:44:56.618Z] # '/tmp/semver-322525080' -> '/w/workspace/foundry_device-virtual-go_PR-132/.semver' [2020-09-22T04:44:56.618Z] # -> Force: false [2020-09-22T04:44:56.618Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-132/.semver [Pipeline] } [2020-09-22T04:44:56.691Z] $ docker exec --env ******** --env ******** 5d583e5e07b25b32d76ccd6b20f14ac889680c1ae6feb11624ad82f0e5c40455 ssh-agent -k [2020-09-22T04:44:56.855Z] unset SSH_AUTH_SOCK; [2020-09-22T04:44:56.856Z] unset SSH_AGENT_PID; [2020-09-22T04:44:56.856Z] echo Agent pid 52 killed; [2020-09-22T04:44:56.916Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-22T04:44:57.744Z] + git semver [Pipeline] } [2020-09-22T04:44:58.062Z] $ docker stop --time=1 5d583e5e07b25b32d76ccd6b20f14ac889680c1ae6feb11624ad82f0e5c40455 [2020-09-22T04:44:59.573Z] $ docker rm -f 5d583e5e07b25b32d76ccd6b20f14ac889680c1ae6feb11624ad82f0e5c40455 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-22T04:45:00.691Z] Stashed 27 file(s) [Pipeline] echo [2020-09-22T04:45:00.715Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-22T04:45:00.865Z] Archived original 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-09-22T04:45:16.773Z] Still waiting to schedule task [2020-09-22T04:45:16.773Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-22T04:45:16.807Z] Still waiting to schedule task [2020-09-22T04:45:16.807Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-09-22T04:48:20.343Z] Running on prd-centos7-docker-4c-2g-783 in /w/workspace/foundry_device-virtual-go_PR-132 [Pipeline] { [Pipeline] ws [2020-09-22T04:48:20.460Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2020-09-22T04:48:23.473Z] using credential edgex-jenkins-ssh [2020-09-22T04:48:23.528Z] Cloning the remote Git repository [2020-09-22T04:48:23.529Z] Cloning with configured refspecs honoured and without tags [2020-09-22T04:48:23.567Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-09-22T04:48:23.648Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2020-09-22T04:48:23.699Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-09-22T04:48:23.699Z] > git --version # timeout=10 [2020-09-22T04:48:23.713Z] > git --version # 'git version 2.16.5' [2020-09-22T04:48:23.715Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T04:48:23.761Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/132/head:refs/remotes/origin/PR-132 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T04:48:24.246Z] Fetching without tags [2020-09-22T04:48:24.643Z] Merging remotes/origin/master commit f15eeb60ed1dfaebdbb1110c59d4e99e14864ad0 into PR head commit b91c50e16edfdd35dc930dd36c12d4a76069e4ef [2020-09-22T04:48:24.717Z] Merge succeeded, producing b91c50e16edfdd35dc930dd36c12d4a76069e4ef [2020-09-22T04:48:24.717Z] Checking out Revision b91c50e16edfdd35dc930dd36c12d4a76069e4ef (PR-132) [2020-09-22T04:48:24.208Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-09-22T04:48:24.216Z] > git config --add remote.origin.fetch +refs/pull/132/head:refs/remotes/origin/PR-132 # timeout=10 [2020-09-22T04:48:24.223Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T04:48:24.238Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-09-22T04:48:24.251Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-09-22T04:48:24.252Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T04:48:24.256Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/132/head:refs/remotes/origin/PR-132 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T04:48:24.652Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T04:48:24.657Z] > git checkout -f b91c50e16edfdd35dc930dd36c12d4a76069e4ef # timeout=10 [2020-09-22T04:48:24.685Z] > git remote # timeout=10 [2020-09-22T04:48:24.693Z] > git config --get remote.origin.url # timeout=10 [2020-09-22T04:48:24.697Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T04:48:24.700Z] > git merge f15eeb60ed1dfaebdbb1110c59d4e99e14864ad0 # timeout=10 [2020-09-22T04:48:24.709Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-22T04:48:24.722Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T04:48:24.726Z] > git checkout -f b91c50e16edfdd35dc930dd36c12d4a76069e4ef # timeout=10 [2020-09-22T04:48:28.753Z] Commit message: "fix: ReadWrite field of each device resource should be RW" [2020-09-22T04:48:28.780Z] > git --version # timeout=10 [2020-09-22T04:48:28.783Z] > git --version # 'git version 2.16.5' [2020-09-22T04:48:28.787Z] fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-22T04:48:29.791Z] ========================================================= [2020-09-22T04:48:29.791Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-22T04:48:29.791Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-22T04:48:30.537Z] + 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-09-22T04:48:30.805Z] Sending build context to Docker daemon 548.4kB [2020-09-22T04:48:30.805Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-22T04:48:30.805Z] Step 2/8 : FROM ${BASE} [2020-09-22T04:48:30.805Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-22T04:48:30.805Z] df20fa9351a1: Pulling fs layer [2020-09-22T04:48:30.805Z] ed8968b2872e: Pulling fs layer [2020-09-22T04:48:30.805Z] a92cc7c5fd73: Pulling fs layer [2020-09-22T04:48:30.805Z] e871e8e8d7a9: Pulling fs layer [2020-09-22T04:48:30.805Z] e73272ec9a57: Pulling fs layer [2020-09-22T04:48:30.805Z] 1e910a182e73: Pulling fs layer [2020-09-22T04:48:30.805Z] 4e634b169226: Pulling fs layer [2020-09-22T04:48:30.805Z] e73272ec9a57: Waiting [2020-09-22T04:48:30.805Z] 1e910a182e73: Waiting [2020-09-22T04:48:30.805Z] 4e634b169226: Waiting [2020-09-22T04:48:30.805Z] e871e8e8d7a9: Waiting [2020-09-22T04:48:30.805Z] a92cc7c5fd73: Verifying Checksum [2020-09-22T04:48:30.805Z] a92cc7c5fd73: Download complete [2020-09-22T04:48:31.075Z] ed8968b2872e: Verifying Checksum [2020-09-22T04:48:31.075Z] ed8968b2872e: Download complete [2020-09-22T04:48:31.075Z] e73272ec9a57: Verifying Checksum [2020-09-22T04:48:31.075Z] e73272ec9a57: Download complete [2020-09-22T04:48:31.075Z] 1e910a182e73: Verifying Checksum [2020-09-22T04:48:31.075Z] 1e910a182e73: Download complete [2020-09-22T04:48:31.075Z] df20fa9351a1: Verifying Checksum [2020-09-22T04:48:31.075Z] df20fa9351a1: Download complete [2020-09-22T04:48:31.347Z] df20fa9351a1: Pull complete [2020-09-22T04:48:31.347Z] ed8968b2872e: Pull complete [2020-09-22T04:48:31.610Z] a92cc7c5fd73: Pull complete [2020-09-22T04:48:33.018Z] 4e634b169226: Verifying Checksum [2020-09-22T04:48:33.018Z] 4e634b169226: Download complete [2020-09-22T04:48:33.973Z] e871e8e8d7a9: Verifying Checksum [2020-09-22T04:48:33.973Z] e871e8e8d7a9: Download complete [2020-09-22T04:48:38.222Z] e871e8e8d7a9: Pull complete [2020-09-22T04:48:38.486Z] e73272ec9a57: Pull complete [2020-09-22T04:48:38.486Z] 1e910a182e73: Pull complete [2020-09-22T04:48:46.670Z] 4e634b169226: Pull complete [2020-09-22T04:48:46.670Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-22T04:48:46.670Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-22T04:48:46.670Z] ---> f7629b54cfaa [2020-09-22T04:48:46.670Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-09-22T04:48:46.670Z] ---> Running in 3a8e6f73549d [2020-09-22T04:48:46.670Z] Removing intermediate container 3a8e6f73549d [2020-09-22T04:48:46.670Z] ---> 9fcf275fcabd [2020-09-22T04:48:46.670Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T04:48:46.670Z] ---> Running in 84b142ab1ef8 [2020-09-22T04:48:48.074Z] Removing intermediate container 84b142ab1ef8 [2020-09-22T04:48:48.074Z] ---> b6eb8c132135 [2020-09-22T04:48:48.074Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-09-22T04:48:48.074Z] ---> Running in 61dfeaf05820 [2020-09-22T04:48:48.341Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-22T04:48:49.289Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-22T04:48:50.103Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-782 in /w/workspace/foundry_device-virtual-go_PR-132 [Pipeline] { [2020-09-22T04:48:50.237Z] (1/14) Installing libmagic (5.38-r0) [2020-09-22T04:48:50.237Z] (2/14) Installing file (5.38-r0) [Pipeline] ws [2020-09-22T04:48:50.395Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [2020-09-22T04:48:50.500Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-09-22T04:48:50.501Z] (4/14) Installing g++ (9.3.0-r2) [Pipeline] checkout [2020-09-22T04:48:54.732Z] (5/14) Installing fortify-headers (1.1-r0) [2020-09-22T04:48:54.732Z] (6/14) Installing patch (2.7.6-r6) [2020-09-22T04:48:54.732Z] (7/14) Installing build-base (0.5-r2) [2020-09-22T04:48:54.732Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-09-22T04:48:54.732Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-09-22T04:48:54.732Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-09-22T04:48:54.732Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-09-22T04:48:54.732Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-09-22T04:48:54.994Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-09-22T04:48:54.994Z] (14/14) Installing openssh (8.3_p1-r0) [2020-09-22T04:48:54.994Z] Executing busybox-1.31.1-r16.trigger [2020-09-22T04:48:55.263Z] OK: 237 MiB in 53 packages [2020-09-22T04:48:56.218Z] using credential edgex-jenkins-ssh [2020-09-22T04:48:56.284Z] Cloning the remote Git repository [2020-09-22T04:48:56.284Z] Cloning with configured refspecs honoured and without tags [2020-09-22T04:48:56.356Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-09-22T04:48:56.506Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2020-09-22T04:48:56.586Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-09-22T04:48:56.587Z] > git --version # timeout=10 [2020-09-22T04:48:56.610Z] > git --version # 'git version 2.17.1' [2020-09-22T04:48:56.611Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T04:48:56.681Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/132/head:refs/remotes/origin/PR-132 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T04:48:57.542Z] Fetching without tags [2020-09-22T04:48:58.060Z] Merging remotes/origin/master commit f15eeb60ed1dfaebdbb1110c59d4e99e14864ad0 into PR head commit b91c50e16edfdd35dc930dd36c12d4a76069e4ef [2020-09-22T04:48:58.456Z] Merge succeeded, producing b91c50e16edfdd35dc930dd36c12d4a76069e4ef [2020-09-22T04:48:58.456Z] Checking out Revision b91c50e16edfdd35dc930dd36c12d4a76069e4ef (PR-132) [2020-09-22T04:48:57.423Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-09-22T04:48:57.464Z] > git config --add remote.origin.fetch +refs/pull/132/head:refs/remotes/origin/PR-132 # timeout=10 [2020-09-22T04:48:57.482Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T04:48:57.509Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-09-22T04:48:57.563Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-09-22T04:48:57.564Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T04:48:57.588Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/132/head:refs/remotes/origin/PR-132 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T04:48:58.083Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T04:48:58.110Z] > git checkout -f b91c50e16edfdd35dc930dd36c12d4a76069e4ef # timeout=10 [2020-09-22T04:48:58.277Z] > git remote # timeout=10 [2020-09-22T04:48:58.327Z] > git config --get remote.origin.url # timeout=10 [2020-09-22T04:48:58.374Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T04:48:58.405Z] > git merge f15eeb60ed1dfaebdbb1110c59d4e99e14864ad0 # timeout=10 [2020-09-22T04:48:58.434Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-22T04:48:58.463Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T04:48:58.477Z] > git checkout -f b91c50e16edfdd35dc930dd36c12d4a76069e4ef # timeout=10 [2020-09-22T04:48:58.595Z] Removing intermediate container 61dfeaf05820 [2020-09-22T04:48:58.595Z] ---> aff0659b8f80 [2020-09-22T04:48:58.595Z] Step 6/8 : WORKDIR /device-virtual-go [2020-09-22T04:48:58.595Z] ---> Running in 1a651e9fc9e7 [2020-09-22T04:48:58.595Z] Removing intermediate container 1a651e9fc9e7 [2020-09-22T04:48:58.595Z] ---> b0e656a01300 [2020-09-22T04:48:58.595Z] Step 7/8 : COPY . . [2020-09-22T04:48:59.184Z] ---> 78ee9980fa4c [2020-09-22T04:48:59.184Z] Step 8/8 : RUN go mod download [2020-09-22T04:48:59.184Z] ---> Running in 08f6d82b0d65 [2020-09-22T04:49:03.136Z] Commit message: "fix: ReadWrite field of each device resource should be RW" [2020-09-22T04:49:03.197Z] > git --version # timeout=10 [2020-09-22T04:49:03.208Z] > git --version # 'git version 2.17.1' [2020-09-22T04:49:03.222Z] fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-22T04:49:04.596Z] ========================================================= [2020-09-22T04:49:04.596Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-22T04:49:04.596Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-22T04:49:05.847Z] + 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-09-22T04:49:06.864Z] Sending build context to Docker daemon 548.4kB [2020-09-22T04:49:06.864Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-22T04:49:06.864Z] Step 2/8 : FROM ${BASE} [2020-09-22T04:49:07.171Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-22T04:49:07.171Z] b538f80385f9: Pulling fs layer [2020-09-22T04:49:07.171Z] 74f711af9a0d: Pulling fs layer [2020-09-22T04:49:07.171Z] 99f96fe45779: Pulling fs layer [2020-09-22T04:49:07.171Z] 8529a6b9a6be: Pulling fs layer [2020-09-22T04:49:07.171Z] 45590311c82a: Pulling fs layer [2020-09-22T04:49:07.171Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-22T04:49:07.171Z] 209524e5b208: Pulling fs layer [2020-09-22T04:49:07.171Z] 8529a6b9a6be: Waiting [2020-09-22T04:49:07.171Z] 45590311c82a: Waiting [2020-09-22T04:49:07.171Z] 69ca0ff8b7b3: Waiting [2020-09-22T04:49:07.171Z] 209524e5b208: Waiting [2020-09-22T04:49:07.171Z] 99f96fe45779: Verifying Checksum [2020-09-22T04:49:07.171Z] 99f96fe45779: Download complete [2020-09-22T04:49:07.171Z] 74f711af9a0d: Verifying Checksum [2020-09-22T04:49:07.171Z] 74f711af9a0d: Download complete [2020-09-22T04:49:07.171Z] 45590311c82a: Verifying Checksum [2020-09-22T04:49:07.171Z] 45590311c82a: Download complete [2020-09-22T04:49:07.171Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-22T04:49:07.171Z] 69ca0ff8b7b3: Download complete [2020-09-22T04:49:07.171Z] b538f80385f9: Verifying Checksum [2020-09-22T04:49:07.171Z] b538f80385f9: Download complete [2020-09-22T04:49:07.780Z] b538f80385f9: Pull complete [2020-09-22T04:49:08.785Z] 74f711af9a0d: Pull complete [2020-09-22T04:49:09.063Z] 99f96fe45779: Pull complete [2020-09-22T04:49:10.062Z] 209524e5b208: Verifying Checksum [2020-09-22T04:49:10.062Z] 209524e5b208: Download complete [2020-09-22T04:49:11.067Z] 8529a6b9a6be: Verifying Checksum [2020-09-22T04:49:11.067Z] 8529a6b9a6be: Download complete [2020-09-22T04:49:11.480Z] Removing intermediate container 08f6d82b0d65 [2020-09-22T04:49:11.480Z] ---> e1bc7d6613cf [2020-09-22T04:49:11.480Z] Successfully built e1bc7d6613cf [2020-09-22T04:49:11.480Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T04:49:12.011Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-22T04:49:12.011Z] . [Pipeline] withDockerContainer [2020-09-22T04:49:12.179Z] prd-centos7-docker-4c-2g-783 does not seem to be running inside a container [2020-09-22T04:49:12.231Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-22T04:49:13.519Z] $ docker top 96e73ab61fee024a4a3588e161ba68db7d34b727eb4cebf2e6653957aeacc723 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T04:49:14.092Z] + go version [2020-09-22T04:49:14.092Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-22T04:49:14.129Z] $ docker stop --time=1 96e73ab61fee024a4a3588e161ba68db7d34b727eb4cebf2e6653957aeacc723 [2020-09-22T04:49:15.478Z] $ docker rm -f 96e73ab61fee024a4a3588e161ba68db7d34b727eb4cebf2e6653957aeacc723 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-22T04:49:16.641Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-22T04:49:16.641Z] . [Pipeline] withDockerContainer [2020-09-22T04:49:16.776Z] prd-centos7-docker-4c-2g-783 does not seem to be running inside a container [2020-09-22T04:49:16.828Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-22T04:49:17.381Z] $ docker top 8598494a7d770ba583fe6606b2419b71bc7c25adacd7586ad60e17ed91c73a32 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T04:49:17.960Z] + make test [2020-09-22T04:49:17.960Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-09-22T04:49:18.547Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-09-22T04:49:21.282Z] 8529a6b9a6be: Pull complete [2020-09-22T04:49:21.559Z] 45590311c82a: Pull complete [2020-09-22T04:49:22.165Z] 69ca0ff8b7b3: Pull complete [2020-09-22T04:49:26.512Z] 209524e5b208: Pull complete [2020-09-22T04:49:26.512Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-22T04:49:26.512Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-22T04:49:26.512Z] ---> 5bddaf1c2fca [2020-09-22T04:49:26.512Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-09-22T04:49:29.150Z] ---> Running in 2f3f6afd83a4 [2020-09-22T04:49:29.151Z] Removing intermediate container 2f3f6afd83a4 [2020-09-22T04:49:29.151Z] ---> 179fd5cf887f [2020-09-22T04:49:29.151Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T04:49:29.430Z] ---> Running in 5797130343f8 [2020-09-22T04:49:30.959Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-09-22T04:49:30.959Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.138s coverage: 56.4% of statements [2020-09-22T04:49:30.959Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-22T04:49:32.848Z] Removing intermediate container 5797130343f8 [2020-09-22T04:49:32.848Z] ---> 9c1d1d32246f [2020-09-22T04:49:32.848Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-09-22T04:49:32.848Z] ---> Running in 98b26cf48782 [2020-09-22T04:49:32.901Z] gofmt -l . [2020-09-22T04:49:32.902Z] [ "`gofmt -l .`" = "" ] [2020-09-22T04:49:32.902Z] ./bin/test-attribution-txt.sh [2020-09-22T04:49:33.482Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-22T04:49:33.836Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-22T04:49:34.063Z] Stashed 1 file(s) [Pipeline] } [2020-09-22T04:49:34.087Z] $ docker stop --time=1 8598494a7d770ba583fe6606b2419b71bc7c25adacd7586ad60e17ed91c73a32 [2020-09-22T04:49:34.832Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-22T04:49:35.434Z] (1/14) Installing libmagic (5.38-r0) [2020-09-22T04:49:35.434Z] (2/14) Installing file (5.38-r0) [2020-09-22T04:49:35.721Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-09-22T04:49:35.721Z] (4/14) Installing g++ (9.3.0-r2) [2020-09-22T04:49:36.488Z] $ docker rm -f 8598494a7d770ba583fe6606b2419b71bc7c25adacd7586ad60e17ed91c73a32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-09-22T04:49:38.376Z] (5/14) Installing fortify-headers (1.1-r0) [2020-09-22T04:49:38.376Z] (6/14) Installing patch (2.7.6-r6) [2020-09-22T04:49:38.667Z] (7/14) Installing build-base (0.5-r2) [2020-09-22T04:49:38.667Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-09-22T04:49:38.667Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-09-22T04:49:38.945Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-09-22T04:49:39.228Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-09-22T04:49:39.228Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-09-22T04:49:39.228Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-09-22T04:49:39.512Z] (14/14) Installing openssh (8.3_p1-r0) [2020-09-22T04:49:39.512Z] Executing busybox-1.31.1-r16.trigger [2020-09-22T04:49:39.512Z] OK: 221 MiB in 53 packages [Pipeline] sh [2020-09-22T04:49:41.144Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-22T04:49:41.466Z] + ls -al . [2020-09-22T04:49:41.466Z] total 108 [2020-09-22T04:49:41.466Z] drwxrwxr-x. 8 jenkins jenkins 4096 Sep 22 04:49 . [2020-09-22T04:49:41.466Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 22 04:48 .. [2020-09-22T04:49:41.466Z] -rw-rw-r--. 1 jenkins jenkins 6036 Sep 22 04:48 Attribution.txt [2020-09-22T04:49:41.466Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 22 04:48 bin [2020-09-22T04:49:41.466Z] drwxrwxr-x. 3 jenkins jenkins 32 Sep 22 04:48 cmd [2020-09-22T04:49:41.466Z] -rw-r--r--. 1 jenkins jenkins 29142 Sep 22 04:49 coverage.out [2020-09-22T04:49:41.466Z] -rw-rw-r--. 1 jenkins jenkins 1834 Sep 22 04:48 Dockerfile [2020-09-22T04:49:41.466Z] -rw-rw-r--. 1 jenkins jenkins 957 Sep 22 04:48 Dockerfile.build [2020-09-22T04:49:41.466Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 22 04:48 .git [2020-09-22T04:49:41.466Z] drwxrwxr-x. 2 jenkins jenkins 38 Sep 22 04:48 .github [2020-09-22T04:49:41.466Z] -rw-rw-r--. 1 jenkins jenkins 258 Sep 22 04:48 .gitignore [2020-09-22T04:49:41.466Z] -rw-r--r--. 1 jenkins jenkins 855 Sep 22 04:49 go.mod [2020-09-22T04:49:41.466Z] -rw-r--r--. 1 jenkins jenkins 14894 Sep 22 04:49 go.sum [2020-09-22T04:49:41.466Z] drwxrwxr-x. 3 jenkins jenkins 20 Sep 22 04:48 internal [2020-09-22T04:49:41.466Z] -rw-rw-r--. 1 jenkins jenkins 660 Sep 22 04:48 Jenkinsfile [2020-09-22T04:49:41.466Z] -rw-rw-r--. 1 jenkins jenkins 11340 Sep 22 04:48 LICENSE [2020-09-22T04:49:41.466Z] -rw-rw-r--. 1 jenkins jenkins 873 Sep 22 04:48 Makefile [2020-09-22T04:49:41.466Z] -rw-rw-r--. 1 jenkins jenkins 918 Sep 22 04:48 README.md [2020-09-22T04:49:41.466Z] drwxrwxr-x. 3 jenkins jenkins 58 Sep 22 04:48 .semver [2020-09-22T04:49:41.466Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 22 04:44 VERSION [2020-09-22T04:49:41.466Z] -rw-rw-r--. 1 jenkins jenkins 235 Sep 22 04:48 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-22T04:49:41.811Z] + 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=b91c50e16edfdd35dc930dd36c12d4a76069e4ef --label arch=amd64 --label version=0.0.0 . [2020-09-22T04:49:41.811Z] Sending build context to Docker daemon 593.9kB [2020-09-22T04:49:41.811Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-09-22T04:49:41.811Z] Step 2/22 : FROM ${BASE} AS builder [2020-09-22T04:49:41.811Z] ---> e1bc7d6613cf [2020-09-22T04:49:41.811Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-09-22T04:49:42.073Z] ---> Running in afbb9ff08fa2 [2020-09-22T04:49:42.073Z] Removing intermediate container afbb9ff08fa2 [2020-09-22T04:49:42.073Z] ---> 95d19f993d6c [2020-09-22T04:49:42.073Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-09-22T04:49:42.335Z] ---> Running in fbd67a5ec097 [2020-09-22T04:49:42.335Z] Removing intermediate container fbd67a5ec097 [2020-09-22T04:49:42.335Z] ---> e63b087aad3e [2020-09-22T04:49:42.335Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-09-22T04:49:42.335Z] ---> Running in fa3aca63b9e8 [2020-09-22T04:49:42.600Z] Removing intermediate container fa3aca63b9e8 [2020-09-22T04:49:42.600Z] ---> 18579c787236 [2020-09-22T04:49:42.600Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T04:49:42.600Z] ---> Running in 257a22a33262 [2020-09-22T04:49:43.547Z] Removing intermediate container 257a22a33262 [2020-09-22T04:49:43.547Z] ---> df55c1b94d3e [2020-09-22T04:49:43.547Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-22T04:49:43.547Z] ---> Running in 1a0c81869f9e [2020-09-22T04:49:44.123Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-22T04:49:44.700Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-22T04:49:44.965Z] Removing intermediate container 98b26cf48782 [2020-09-22T04:49:44.966Z] ---> b1fc40910cd1 [2020-09-22T04:49:44.966Z] Step 6/8 : WORKDIR /device-virtual-go [2020-09-22T04:49:44.966Z] ---> Running in 87b2bac683cf [2020-09-22T04:49:44.966Z] Removing intermediate container 87b2bac683cf [2020-09-22T04:49:44.966Z] ---> ce01266667e2 [2020-09-22T04:49:44.966Z] Step 7/8 : COPY . . [2020-09-22T04:49:44.971Z] OK: 237 MiB in 53 packages [2020-09-22T04:49:45.919Z] Removing intermediate container 1a0c81869f9e [2020-09-22T04:49:45.919Z] ---> 2c30568153b5 [2020-09-22T04:49:45.919Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-09-22T04:49:45.951Z] ---> 62d5414c07da [2020-09-22T04:49:45.951Z] Step 8/8 : RUN go mod download [2020-09-22T04:49:45.951Z] ---> Running in 0e0c1ba09c98 [2020-09-22T04:49:46.182Z] ---> Running in 629c9f82cf9d [2020-09-22T04:49:46.182Z] Removing intermediate container 629c9f82cf9d [2020-09-22T04:49:46.182Z] ---> feefde5b46bb [2020-09-22T04:49:46.182Z] Step 9/22 : COPY . . [2020-09-22T04:49:47.128Z] ---> e99d99f04ad3 [2020-09-22T04:49:47.128Z] Step 10/22 : ARG MAKE='make build' [2020-09-22T04:49:47.128Z] ---> Running in fa583699fbc1 [2020-09-22T04:49:47.128Z] Removing intermediate container fa583699fbc1 [2020-09-22T04:49:47.128Z] ---> d0727083fbfb [2020-09-22T04:49:47.128Z] Step 11/22 : RUN $MAKE [2020-09-22T04:49:47.393Z] ---> Running in 2dc5873d0256 [2020-09-22T04:49:47.664Z] 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-09-22T04:49:57.789Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-09-22T04:50:00.348Z] Removing intermediate container 2dc5873d0256 [2020-09-22T04:50:00.348Z] ---> 4041d28a5f62 [2020-09-22T04:50:00.348Z] Step 12/22 : FROM alpine [2020-09-22T04:50:00.609Z] latest: Pulling from library/alpine [2020-09-22T04:50:00.609Z] df20fa9351a1: Already exists [2020-09-22T04:50:00.609Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-09-22T04:50:00.609Z] Status: Downloaded newer image for alpine:latest [2020-09-22T04:50:00.609Z] ---> a24bb4013296 [2020-09-22T04:50:00.609Z] Step 13/22 : ENV APP_PORT=49990 [2020-09-22T04:50:00.872Z] ---> Running in d56655006347 [2020-09-22T04:50:00.872Z] Removing intermediate container d56655006347 [2020-09-22T04:50:00.872Z] ---> 6a17bce2ac79 [2020-09-22T04:50:00.872Z] Step 14/22 : EXPOSE $APP_PORT [2020-09-22T04:50:01.059Z] Removing intermediate container 0e0c1ba09c98 [2020-09-22T04:50:01.059Z] ---> 75c9534a38da [2020-09-22T04:50:01.059Z] Successfully built 75c9534a38da [2020-09-22T04:50:01.059Z] Successfully tagged ci-base-image-arm64:latest [2020-09-22T04:50:01.142Z] ---> Running in 1f3edb394b00 [2020-09-22T04:50:01.142Z] Removing intermediate container 1f3edb394b00 [2020-09-22T04:50:01.142Z] ---> 1b4c363fbf94 [2020-09-22T04:50:01.142Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [Pipeline] isUnix [Pipeline] sh [2020-09-22T04:50:01.498Z] + docker inspect -f . ci-base-image-arm64 [2020-09-22T04:50:01.498Z] . [Pipeline] withDockerContainer [2020-09-22T04:50:01.722Z] ---> ae8f674ec563 [2020-09-22T04:50:01.722Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-09-22T04:50:01.782Z] prd-ubuntu18.04-docker-arm64-4c-16g-782 does not seem to be running inside a container [2020-09-22T04:50:01.892Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-22T04:50:01.995Z] ---> 8544133fc023 [2020-09-22T04:50:01.995Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-09-22T04:50:02.258Z] ---> d40772c133e3 [2020-09-22T04:50:02.258Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2020-09-22T04:50:02.258Z] ---> Running in 6fd35e0554d4 [2020-09-22T04:50:02.519Z] Removing intermediate container 6fd35e0554d4 [2020-09-22T04:50:02.519Z] ---> 7c48ace7df31 [2020-09-22T04:50:02.519Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-22T04:50:02.519Z] ---> Running in 630df6dc645a [2020-09-22T04:50:02.781Z] Removing intermediate container 630df6dc645a [2020-09-22T04:50:02.781Z] ---> 971e180eb6f4 [2020-09-22T04:50:02.781Z] Step 20/22 : LABEL arch=amd64 [2020-09-22T04:50:02.781Z] ---> Running in 451c0de67b11 [2020-09-22T04:50:02.781Z] Removing intermediate container 451c0de67b11 [2020-09-22T04:50:02.781Z] ---> 59c88a79dfd4 [2020-09-22T04:50:02.781Z] Step 21/22 : LABEL git_sha=b91c50e16edfdd35dc930dd36c12d4a76069e4ef [2020-09-22T04:50:03.062Z] ---> Running in d43e64a3e328 [2020-09-22T04:50:03.062Z] Removing intermediate container d43e64a3e328 [2020-09-22T04:50:03.062Z] ---> f19a3739273d [2020-09-22T04:50:03.062Z] Step 22/22 : LABEL version=0.0.0 [2020-09-22T04:50:03.062Z] ---> Running in d27266338446 [2020-09-22T04:50:03.324Z] Removing intermediate container d27266338446 [2020-09-22T04:50:03.324Z] ---> 044ff6442efd [2020-09-22T04:50:03.324Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-22T04:50:03.324Z] Successfully built 044ff6442efd [2020-09-22T04:50:03.324Z] Successfully tagged docker-device-virtual-go:latest [2020-09-22T04:50:03.686Z] $ docker top 5ad32296689d99bbdacd1cb2e16ffc9cefe21f92dfbaa1cae2326c8076610feb -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [2020-09-22T04:50:05.201Z] + go version [2020-09-22T04:50:05.201Z] go version go1.15.2 linux/arm64 [Pipeline] // stage [Pipeline] } [Pipeline] } [2020-09-22T04:50:05.308Z] $ docker stop --time=1 5ad32296689d99bbdacd1cb2e16ffc9cefe21f92dfbaa1cae2326c8076610feb [2020-09-22T04:50:07.124Z] $ docker rm -f 5ad32296689d99bbdacd1cb2e16ffc9cefe21f92dfbaa1cae2326c8076610feb [Pipeline] // withEnv [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // withEnv [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // ws [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] stage [Pipeline] { (Test) [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-22T04:50:08.846Z] + docker inspect -f . ci-base-image-arm64 [2020-09-22T04:50:08.846Z] . [Pipeline] withDockerContainer [2020-09-22T04:50:09.093Z] prd-ubuntu18.04-docker-arm64-4c-16g-782 does not seem to be running inside a container [2020-09-22T04:50:09.179Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-22T04:50:10.901Z] $ docker top 0b7d6ec685182ac4b8ac5a1afb73679fff7328017ae235ae6f85e0f757afbfb7 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T04:50:12.394Z] + make test [2020-09-22T04:50:12.394Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-09-22T04:50:13.383Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-09-22T04:51:00.423Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-09-22T04:51:00.423Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.625s coverage: 56.4% of statements [2020-09-22T04:51:00.423Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-22T04:51:03.823Z] gofmt -l . [2020-09-22T04:51:03.823Z] [ "`gofmt -l .`" = "" ] [2020-09-22T04:51:03.823Z] ./bin/test-attribution-txt.sh [2020-09-22T04:51:05.275Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-22T04:51:05.586Z] Warning: overwriting stash ‘coverage-report’ [2020-09-22T04:51:06.464Z] Stashed 1 file(s) [Pipeline] } [2020-09-22T04:51:06.488Z] $ docker stop --time=1 0b7d6ec685182ac4b8ac5a1afb73679fff7328017ae235ae6f85e0f757afbfb7 [2020-09-22T04:51:08.853Z] $ docker rm -f 0b7d6ec685182ac4b8ac5a1afb73679fff7328017ae235ae6f85e0f757afbfb7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-22T04:51:10.523Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-22T04:51:10.964Z] + ls -al . [2020-09-22T04:51:10.965Z] total 136 [2020-09-22T04:51:10.965Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 04:51 . [2020-09-22T04:51:10.965Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 04:48 .. [2020-09-22T04:51:10.965Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 04:49 .git [2020-09-22T04:51:10.965Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 04:48 .github [2020-09-22T04:51:10.965Z] -rw-rw-r-- 1 jenkins jenkins 258 Sep 22 04:48 .gitignore [2020-09-22T04:51:10.965Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 04:49 .semver [2020-09-22T04:51:10.965Z] -rw-rw-r-- 1 jenkins jenkins 6036 Sep 22 04:48 Attribution.txt [2020-09-22T04:51:10.965Z] -rw-rw-r-- 1 jenkins jenkins 1834 Sep 22 04:48 Dockerfile [2020-09-22T04:51:10.965Z] -rw-rw-r-- 1 jenkins jenkins 957 Sep 22 04:48 Dockerfile.build [2020-09-22T04:51:10.965Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 22 04:48 Jenkinsfile [2020-09-22T04:51:10.965Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 04:48 LICENSE [2020-09-22T04:51:10.965Z] -rw-rw-r-- 1 jenkins jenkins 873 Sep 22 04:48 Makefile [2020-09-22T04:51:10.965Z] -rw-rw-r-- 1 jenkins jenkins 918 Sep 22 04:48 README.md [2020-09-22T04:51:10.965Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 04:44 VERSION [2020-09-22T04:51:10.965Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 04:48 bin [2020-09-22T04:51:10.965Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 04:48 cmd [2020-09-22T04:51:10.965Z] -rw-r--r-- 1 jenkins jenkins 29142 Sep 22 04:50 coverage.out [2020-09-22T04:51:10.965Z] -rw-r--r-- 1 jenkins jenkins 855 Sep 22 04:51 go.mod [2020-09-22T04:51:10.965Z] -rw-r--r-- 1 jenkins jenkins 14894 Sep 22 04:51 go.sum [2020-09-22T04:51:10.965Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 04:48 internal [2020-09-22T04:51:10.965Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 22 04:48 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-22T04:51:11.375Z] + 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=b91c50e16edfdd35dc930dd36c12d4a76069e4ef --label arch=arm64 --label version=0.0.0 . [2020-09-22T04:51:11.651Z] Sending build context to Docker daemon 593.9kB [2020-09-22T04:51:11.651Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-09-22T04:51:11.651Z] Step 2/22 : FROM ${BASE} AS builder [2020-09-22T04:51:11.651Z] ---> 75c9534a38da [2020-09-22T04:51:11.651Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-09-22T04:51:11.931Z] ---> Running in 058bbcbfb6b8 [2020-09-22T04:51:12.538Z] Removing intermediate container 058bbcbfb6b8 [2020-09-22T04:51:12.538Z] ---> d4ce521f68cf [2020-09-22T04:51:12.538Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-09-22T04:51:12.811Z] ---> Running in d5d16496e925 [2020-09-22T04:51:13.085Z] Removing intermediate container d5d16496e925 [2020-09-22T04:51:13.085Z] ---> dd553f63ffd8 [2020-09-22T04:51:13.085Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-09-22T04:51:13.359Z] ---> Running in 9c86137bc776 [2020-09-22T04:51:13.956Z] Removing intermediate container 9c86137bc776 [2020-09-22T04:51:13.957Z] ---> b1d4963c808e [2020-09-22T04:51:13.957Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T04:51:13.957Z] ---> Running in 8ffe5e806770 [2020-09-22T04:51:16.591Z] Removing intermediate container 8ffe5e806770 [2020-09-22T04:51:16.591Z] ---> 0fce7527f937 [2020-09-22T04:51:16.591Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-22T04:51:16.591Z] ---> Running in df4450cf3c11 [2020-09-22T04:51:18.594Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-22T04:51:18.876Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-22T04:51:19.481Z] OK: 221 MiB in 53 packages [2020-09-22T04:51:20.913Z] Removing intermediate container df4450cf3c11 [2020-09-22T04:51:20.913Z] ---> c7786aea7011 [2020-09-22T04:51:20.913Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-09-22T04:51:20.913Z] ---> Running in ea627e483dbe [2020-09-22T04:51:21.510Z] Removing intermediate container ea627e483dbe [2020-09-22T04:51:21.510Z] ---> 3317c8d4d83b [2020-09-22T04:51:21.510Z] Step 9/22 : COPY . . [2020-09-22T04:51:22.493Z] ---> 3b6a4e9a638b [2020-09-22T04:51:22.493Z] Step 10/22 : ARG MAKE='make build' [2020-09-22T04:51:22.493Z] ---> Running in 136b05d7b695 [2020-09-22T04:51:23.090Z] Removing intermediate container 136b05d7b695 [2020-09-22T04:51:23.090Z] ---> d1448fd81c0a [2020-09-22T04:51:23.090Z] Step 11/22 : RUN $MAKE [2020-09-22T04:51:23.090Z] ---> Running in 9531449d767e [2020-09-22T04:51:24.525Z] 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-09-22T04:51:56.976Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-09-22T04:52:05.273Z] Removing intermediate container 9531449d767e [2020-09-22T04:52:05.273Z] ---> 758f18e7f24a [2020-09-22T04:52:05.273Z] Step 12/22 : FROM alpine [2020-09-22T04:52:05.870Z] latest: Pulling from library/alpine [2020-09-22T04:52:05.870Z] b538f80385f9: Already exists [2020-09-22T04:52:05.870Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-09-22T04:52:05.870Z] Status: Downloaded newer image for alpine:latest [2020-09-22T04:52:05.870Z] ---> 62ee0e9f8440 [2020-09-22T04:52:05.870Z] Step 13/22 : ENV APP_PORT=49990 [2020-09-22T04:52:06.145Z] ---> Running in 66097071a238 [2020-09-22T04:52:06.750Z] Removing intermediate container 66097071a238 [2020-09-22T04:52:06.750Z] ---> 2428c29ada98 [2020-09-22T04:52:06.750Z] Step 14/22 : EXPOSE $APP_PORT [2020-09-22T04:52:06.750Z] ---> Running in 4a856a85d291 [2020-09-22T04:52:07.355Z] Removing intermediate container 4a856a85d291 [2020-09-22T04:52:07.355Z] ---> aca8925c10db [2020-09-22T04:52:07.355Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-09-22T04:52:08.792Z] ---> 7980d492c911 [2020-09-22T04:52:08.792Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-09-22T04:52:09.401Z] ---> 9b76deaba343 [2020-09-22T04:52:09.401Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-09-22T04:52:10.385Z] ---> ecf77b03aa09 [2020-09-22T04:52:10.385Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2020-09-22T04:52:10.385Z] ---> Running in f3d7a1bb9a82 [2020-09-22T04:52:10.986Z] Removing intermediate container f3d7a1bb9a82 [2020-09-22T04:52:10.986Z] ---> 705dd50e00b0 [2020-09-22T04:52:10.986Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-22T04:52:10.986Z] ---> Running in cabc9516edd1 [2020-09-22T04:52:11.589Z] Removing intermediate container cabc9516edd1 [2020-09-22T04:52:11.590Z] ---> fca655bfc8c5 [2020-09-22T04:52:11.590Z] Step 20/22 : LABEL arch=arm64 [2020-09-22T04:52:11.590Z] ---> Running in 9a0b0382cca4 [2020-09-22T04:52:12.204Z] Removing intermediate container 9a0b0382cca4 [2020-09-22T04:52:12.204Z] ---> 245183a1e17a [2020-09-22T04:52:12.204Z] Step 21/22 : LABEL git_sha=b91c50e16edfdd35dc930dd36c12d4a76069e4ef [2020-09-22T04:52:12.204Z] ---> Running in 96febb8971ff [2020-09-22T04:52:12.798Z] Removing intermediate container 96febb8971ff [2020-09-22T04:52:12.798Z] ---> 748b85af4b00 [2020-09-22T04:52:12.798Z] Step 22/22 : LABEL version=0.0.0 [2020-09-22T04:52:12.798Z] ---> Running in 4b5177ec59ac [2020-09-22T04:52:13.074Z] Removing intermediate container 4b5177ec59ac [2020-09-22T04:52:13.074Z] ---> 0bde8bcd6b14 [2020-09-22T04:52:13.074Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-22T04:52:13.349Z] Successfully built 0bde8bcd6b14 [2020-09-22T04:52:13.349Z] 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] 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-09-22T04:52:16.441Z] provisioning config files... [2020-09-22T04:52:16.459Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-132@tmp/config8288291411196617814tmp [Pipeline] { [Pipeline] sh [2020-09-22T04:52:17.064Z] + curl -s https://codecov.io/bash [2020-09-22T04:52:17.064Z] + bash -s - -t @/w/workspace/foundry_device-virtual-go_PR-132@tmp/config8288291411196617814tmp [Pipeline] } [2020-09-22T04:52:17.361Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" 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-09-22T04:52:21.192Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T04:52:21.842Z] ---> package-listing.sh [2020-09-22T04:52:21.842Z] ++ facter osfamily [2020-09-22T04:52:21.842Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-22T04:52:22.117Z] + OS_FAMILY=redhat [2020-09-22T04:52:22.117Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-132 [2020-09-22T04:52:22.117Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-22T04:52:22.117Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-22T04:52:22.117Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-22T04:52:22.117Z] + PACKAGES=/tmp/packages_start.txt [2020-09-22T04:52:22.117Z] + '[' /w/workspace/foundry_device-virtual-go_PR-132 ']' [2020-09-22T04:52:22.117Z] + PACKAGES=/tmp/packages_end.txt [2020-09-22T04:52:22.117Z] + case "${OS_FAMILY}" in [2020-09-22T04:52:22.117Z] + rpm -qa [2020-09-22T04:52:22.117Z] + sort [2020-09-22T04:52:26.431Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-22T04:52:26.431Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-22T04:52:26.431Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-22T04:52:26.431Z] + '[' /w/workspace/foundry_device-virtual-go_PR-132 ']' [2020-09-22T04:52:26.431Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-132/archives/ [2020-09-22T04:52:26.431Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-132/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-22T04:52:27.583Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T04:52:27.583Z] [2020-09-22T04:52:27.583Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-22T04:52:28.068Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T04:52:28.068Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-22T04:52:28.068Z] df20fa9351a1: Pulling fs layer [2020-09-22T04:52:28.068Z] 36b3adc4ff6f: Pulling fs layer [2020-09-22T04:52:28.068Z] 8ad3a11d3b57: Pulling fs layer [2020-09-22T04:52:28.068Z] 46f8f816bc3b: Pulling fs layer [2020-09-22T04:52:28.068Z] 0dadc02b9964: Pulling fs layer [2020-09-22T04:52:28.068Z] ce6a7cf60c04: Pulling fs layer [2020-09-22T04:52:28.068Z] 7a184a31f384: Pulling fs layer [2020-09-22T04:52:28.068Z] 0879bd2ef858: Pulling fs layer [2020-09-22T04:52:28.068Z] 0dadc02b9964: Waiting [2020-09-22T04:52:28.068Z] ce6a7cf60c04: Waiting [2020-09-22T04:52:28.068Z] 7a184a31f384: Waiting [2020-09-22T04:52:28.068Z] 46f8f816bc3b: Waiting [2020-09-22T04:52:28.068Z] 0879bd2ef858: Waiting [2020-09-22T04:52:28.068Z] 36b3adc4ff6f: Verifying Checksum [2020-09-22T04:52:28.068Z] 36b3adc4ff6f: Download complete [2020-09-22T04:52:28.068Z] 46f8f816bc3b: Download complete [2020-09-22T04:52:28.380Z] df20fa9351a1: Verifying Checksum [2020-09-22T04:52:28.380Z] df20fa9351a1: Download complete [2020-09-22T04:52:28.380Z] ce6a7cf60c04: Verifying Checksum [2020-09-22T04:52:28.380Z] ce6a7cf60c04: Download complete [2020-09-22T04:52:28.380Z] 7a184a31f384: Verifying Checksum [2020-09-22T04:52:28.380Z] 7a184a31f384: Download complete [2020-09-22T04:52:28.380Z] 0dadc02b9964: Verifying Checksum [2020-09-22T04:52:28.380Z] 0dadc02b9964: Download complete [2020-09-22T04:52:29.006Z] 8ad3a11d3b57: Verifying Checksum [2020-09-22T04:52:29.006Z] 8ad3a11d3b57: Download complete [2020-09-22T04:52:29.006Z] df20fa9351a1: Pull complete [2020-09-22T04:52:29.292Z] 36b3adc4ff6f: Pull complete [2020-09-22T04:52:29.762Z] 0879bd2ef858: Verifying Checksum [2020-09-22T04:52:29.762Z] 0879bd2ef858: Download complete [2020-09-22T04:52:30.436Z] 8ad3a11d3b57: Pull complete [2020-09-22T04:52:31.037Z] 46f8f816bc3b: Pull complete [2020-09-22T04:52:31.625Z] 0dadc02b9964: Pull complete [2020-09-22T04:52:31.625Z] ce6a7cf60c04: Pull complete [2020-09-22T04:52:31.913Z] 7a184a31f384: Pull complete [2020-09-22T04:52:36.235Z] 0879bd2ef858: Pull complete [2020-09-22T04:52:36.235Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-22T04:52:36.235Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T04:52:36.235Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-22T04:52:36.687Z] prd-centos7-docker-4c-2g-780 does not seem to be running inside a container [2020-09-22T04:52:36.803Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/foundry_device-virtual-go_PR-132 -v /w/workspace/foundry_device-virtual-go_PR-132:/w/workspace/foundry_device-virtual-go_PR-132:rw,z -v /w/workspace/foundry_device-virtual-go_PR-132@tmp:/w/workspace/foundry_device-virtual-go_PR-132@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-22T04:52:42.120Z] $ docker top 0ee9f0a3faa68c907ecd8106cd44d7dc20b30471fcf30ace7adc30c4f807b40c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T04:52:42.856Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-22T04:52:43.440Z] + ls /var/log/sa-host [2020-09-22T04:52:43.440Z] + sadf -c /var/log/sa-host/sa05 [2020-09-22T04:52:43.440Z] file_magic: OK [2020-09-22T04:52:43.440Z] HZ: Using current value: 100 [2020-09-22T04:52:43.440Z] file_header: OK [2020-09-22T04:52:43.440Z] 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-09-22T04:52:43.440Z] Statistics: [2020-09-22T04:52:43.440Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-22T04:52:43.440Z] File successfully converted to sysstat format version 12.2.1 [2020-09-22T04:52:43.440Z] + sadf -c /var/log/sa-host/sa22 [2020-09-22T04:52:43.440Z] file_magic: OK [2020-09-22T04:52:43.440Z] HZ: Using current value: 100 [2020-09-22T04:52:43.440Z] file_header: OK [2020-09-22T04:52:43.440Z] 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-09-22T04:52:43.440Z] Statistics: [2020-09-22T04:52:43.440Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-22T04:52:43.440Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-22T04:52:43.575Z] provisioning config files... [2020-09-22T04:52:43.598Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-132@tmp/config6371422313878243877tmp [Pipeline] { [Pipeline] echo [2020-09-22T04:52:43.739Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T04:52:44.121Z] ---> create-netrc.sh [Pipeline] echo [2020-09-22T04:52:44.169Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T04:52:44.516Z] ---> logs-deploy.sh [2020-09-22T04:52:44.516Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-132/1 [2020-09-22T04:52:44.516Z] INFO: archiving workspace using pattern(s): [2020-09-22T04:52:46.486Z] Archives upload complete. [2020-09-22T04:52:46.486Z] INFO: archiving logs to Nexus