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 04:44:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:44:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:44:35 ========================================================= 04:44:35 EdgeX Global Pipelines Version Info 04:44:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:44:38 ------------------- 04:44:38 stable info: 04:44:38 ------------------- 04:44:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:44:38 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 04:44:38 Message: update stable to v1.0.122 04:44:39 ------------------- 04:44:39 experimental info: 04:44:39 ------------------- 04:44:39 Commited By: **** collab-it+edgex@linuxfoundation.org 04:44:39 Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 04:44:39 Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 04:44:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 04:44:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 04:44:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:44:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:44:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:44:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 04:44:40 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 04:44:40 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 04:44:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:44:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:44:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:44:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 04:44:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:44:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:44:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:44:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:44:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:44:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:44:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:44:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:44:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:44:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:44:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-132 [Pipeline] echo 04:44:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-132 [Pipeline] echo 04:44:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-132 [Pipeline] echo 04:44:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b91c50e16edfdd35dc930dd36c12d4a76069e4ef [Pipeline] echo 04:44:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b91c50e [Pipeline] echo 04:44:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:44:44 + git log --format=format:%s -1 b91c50e16edfdd35dc930dd36c12d4a76069e4ef [Pipeline] echo 04:44:45 GIT_COMMIT: b91c50e16edfdd35dc930dd36c12d4a76069e4ef, Commit Message: fix: ReadWrite field of each device resource should be RW [Pipeline] echo 04:44:45 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 04:44:46 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:44:46 04:44:46 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:44:46 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:44:46 latest: Pulling from edgex-devops/git-semver 04:44:46 31603596830f: Pulling fs layer 04:44:46 2a8b12db71e7: Pulling fs layer 04:44:46 6ca5941a6612: Pulling fs layer 04:44:46 ecc8261a40a4: Pulling fs layer 04:44:46 ecc8261a40a4: Waiting 04:44:46 2a8b12db71e7: Download complete 04:44:47 31603596830f: Verifying Checksum 04:44:47 31603596830f: Download complete 04:44:47 ecc8261a40a4: Verifying Checksum 04:44:47 ecc8261a40a4: Download complete 04:44:47 6ca5941a6612: Verifying Checksum 04:44:47 6ca5941a6612: Download complete 04:44:47 31603596830f: Pull complete 04:44:47 2a8b12db71e7: Pull complete 04:44:49 6ca5941a6612: Pull complete 04:44:49 ecc8261a40a4: Pull complete 04:44:49 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 04:44:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:44:49 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:44:50 prd-centos7-docker-4c-2g-780 does not seem to be running inside a container 04:44:50 $ 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 04:44:52 $ docker top 5d583e5e07b25b32d76ccd6b20f14ac889680c1ae6feb11624ad82f0e5c40455 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:44:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:44:52 [ssh-agent] Looking for ssh-agent implementation... 04:44:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:44:52 $ docker exec 5d583e5e07b25b32d76ccd6b20f14ac889680c1ae6feb11624ad82f0e5c40455 ssh-agent 04:44:53 SSH_AUTH_SOCK=/tmp/ssh-F87TWpPsw4E5/agent.12 04:44:53 SSH_AGENT_PID=17 04:44:53 Running ssh-add (command line suppressed) 04:44:53 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) 04:44:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:44:53 + git describe --exact-match --tags HEAD 04:44:53 fatal: No names found, cannot describe anything. [Pipeline] } 04:44:54 $ docker exec --env ******** --env ******** 5d583e5e07b25b32d76ccd6b20f14ac889680c1ae6feb11624ad82f0e5c40455 ssh-agent -k 04:44:54 unset SSH_AUTH_SOCK; 04:44:54 unset SSH_AGENT_PID; 04:44:54 echo Agent pid 17 killed; 04:44:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 04:44:54 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 04:44:54 This usually means this commit has not been tagged. [Pipeline] sshagent 04:44:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:44:54 [ssh-agent] Looking for ssh-agent implementation... 04:44:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:44:55 $ docker exec 5d583e5e07b25b32d76ccd6b20f14ac889680c1ae6feb11624ad82f0e5c40455 ssh-agent 04:44:55 SSH_AUTH_SOCK=/tmp/ssh-kP9PmFPnwulG/agent.46 04:44:55 SSH_AGENT_PID=52 04:44:55 Running ssh-add (command line suppressed) 04:44:55 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) 04:44:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:44:55 + git semver init 04:44:55 # -> Open(): unable to determine branch for HEAD 04:44:55 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-132/.git 04:44:55 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-132 04:44:55 # $SEMVER_REMOTE_NAME = origin 04:44:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:44:55 # $SEMVER_USER_NAME = edgex-jenkins 04:44:55 # $SEMVER_BRANCH = PR-132 04:44:55 # $SEMVER_TEMP = /tmp/semver-322525080 04:44:55 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 04:44:56 # '/tmp/semver-322525080' -> '/w/workspace/foundry_device-virtual-go_PR-132/.semver' 04:44:56 # -> Force: false 04:44:56 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-132/.semver [Pipeline] } 04:44:56 $ docker exec --env ******** --env ******** 5d583e5e07b25b32d76ccd6b20f14ac889680c1ae6feb11624ad82f0e5c40455 ssh-agent -k 04:44:56 unset SSH_AUTH_SOCK; 04:44:56 unset SSH_AGENT_PID; 04:44:56 echo Agent pid 52 killed; 04:44:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:44:57 + git semver [Pipeline] } 04:44:58 $ docker stop --time=1 5d583e5e07b25b32d76ccd6b20f14ac889680c1ae6feb11624ad82f0e5c40455 04:44:59 $ docker rm -f 5d583e5e07b25b32d76ccd6b20f14ac889680c1ae6feb11624ad82f0e5c40455 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 04:45:00 Stashed 27 file(s) [Pipeline] echo 04:45:00 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 04:45:00 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 04:45:16 Still waiting to schedule task 04:45:16 Waiting for next available executor on ‘centos7-docker-4c-2g’ 04:45:16 Still waiting to schedule task 04:45:16 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 04:48:20 Running on prd-centos7-docker-4c-2g-783 in /w/workspace/foundry_device-virtual-go_PR-132 [Pipeline] { [Pipeline] ws 04:48:20 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 04:48:23 using credential edgex-jenkins-ssh 04:48:23 Cloning the remote Git repository 04:48:23 Cloning with configured refspecs honoured and without tags 04:48:23 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 04:48:23 > git init /w/workspace/device-virtual-go/1 # timeout=10 04:48:23 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 04:48:23 > git --version # timeout=10 04:48:23 > git --version # 'git version 2.16.5' 04:48:23 using GIT_SSH to set credentials SSH Credentials for GitHub 04:48:23 > 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 04:48:24 Fetching without tags 04:48:24 Merging remotes/origin/master commit f15eeb60ed1dfaebdbb1110c59d4e99e14864ad0 into PR head commit b91c50e16edfdd35dc930dd36c12d4a76069e4ef 04:48:24 Merge succeeded, producing b91c50e16edfdd35dc930dd36c12d4a76069e4ef 04:48:24 Checking out Revision b91c50e16edfdd35dc930dd36c12d4a76069e4ef (PR-132) 04:48:24 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 04:48:24 > git config --add remote.origin.fetch +refs/pull/132/head:refs/remotes/origin/PR-132 # timeout=10 04:48:24 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 04:48:24 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 04:48:24 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 04:48:24 using GIT_SSH to set credentials SSH Credentials for GitHub 04:48:24 > 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 04:48:24 > git config core.sparsecheckout # timeout=10 04:48:24 > git checkout -f b91c50e16edfdd35dc930dd36c12d4a76069e4ef # timeout=10 04:48:24 > git remote # timeout=10 04:48:24 > git config --get remote.origin.url # timeout=10 04:48:24 using GIT_SSH to set credentials SSH Credentials for GitHub 04:48:24 > git merge f15eeb60ed1dfaebdbb1110c59d4e99e14864ad0 # timeout=10 04:48:24 > git rev-parse HEAD^{commit} # timeout=10 04:48:24 > git config core.sparsecheckout # timeout=10 04:48:24 > git checkout -f b91c50e16edfdd35dc930dd36c12d4a76069e4ef # timeout=10 04:48:28 Commit message: "fix: ReadWrite field of each device resource should be RW" 04:48:28 > git --version # timeout=10 04:48:28 > git --version # 'git version 2.16.5' 04:48:28 fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 04:48:29 ========================================================= 04:48:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 04:48:29 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:48:30 + 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 . 04:48:30 Sending build context to Docker daemon 548.4kB 04:48:30 Step 1/8 : ARG BASE=golang:1.15-alpine 04:48:30 Step 2/8 : FROM ${BASE} 04:48:30 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 04:48:30 df20fa9351a1: Pulling fs layer 04:48:30 ed8968b2872e: Pulling fs layer 04:48:30 a92cc7c5fd73: Pulling fs layer 04:48:30 e871e8e8d7a9: Pulling fs layer 04:48:30 e73272ec9a57: Pulling fs layer 04:48:30 1e910a182e73: Pulling fs layer 04:48:30 4e634b169226: Pulling fs layer 04:48:30 e73272ec9a57: Waiting 04:48:30 1e910a182e73: Waiting 04:48:30 4e634b169226: Waiting 04:48:30 e871e8e8d7a9: Waiting 04:48:30 a92cc7c5fd73: Verifying Checksum 04:48:30 a92cc7c5fd73: Download complete 04:48:31 ed8968b2872e: Verifying Checksum 04:48:31 ed8968b2872e: Download complete 04:48:31 e73272ec9a57: Verifying Checksum 04:48:31 e73272ec9a57: Download complete 04:48:31 1e910a182e73: Verifying Checksum 04:48:31 1e910a182e73: Download complete 04:48:31 df20fa9351a1: Verifying Checksum 04:48:31 df20fa9351a1: Download complete 04:48:31 df20fa9351a1: Pull complete 04:48:31 ed8968b2872e: Pull complete 04:48:31 a92cc7c5fd73: Pull complete 04:48:33 4e634b169226: Verifying Checksum 04:48:33 4e634b169226: Download complete 04:48:33 e871e8e8d7a9: Verifying Checksum 04:48:33 e871e8e8d7a9: Download complete 04:48:38 e871e8e8d7a9: Pull complete 04:48:38 e73272ec9a57: Pull complete 04:48:38 1e910a182e73: Pull complete 04:48:46 4e634b169226: Pull complete 04:48:46 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 04:48:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 04:48:46 ---> f7629b54cfaa 04:48:46 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 04:48:46 ---> Running in 3a8e6f73549d 04:48:46 Removing intermediate container 3a8e6f73549d 04:48:46 ---> 9fcf275fcabd 04:48:46 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:48:46 ---> Running in 84b142ab1ef8 04:48:48 Removing intermediate container 84b142ab1ef8 04:48:48 ---> b6eb8c132135 04:48:48 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 04:48:48 ---> Running in 61dfeaf05820 04:48:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:48:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:48:50 Running on prd-ubuntu18.04-docker-arm64-4c-16g-782 in /w/workspace/foundry_device-virtual-go_PR-132 [Pipeline] { 04:48:50 (1/14) Installing libmagic (5.38-r0) 04:48:50 (2/14) Installing file (5.38-r0) [Pipeline] ws 04:48:50 Running in /w/workspace/device-virtual-go/1 [Pipeline] { 04:48:50 (3/14) Installing libc-dev (0.7.2-r3) 04:48:50 (4/14) Installing g++ (9.3.0-r2) [Pipeline] checkout 04:48:54 (5/14) Installing fortify-headers (1.1-r0) 04:48:54 (6/14) Installing patch (2.7.6-r6) 04:48:54 (7/14) Installing build-base (0.5-r2) 04:48:54 (8/14) Installing openssh-keygen (8.3_p1-r0) 04:48:54 (9/14) Installing libedit (20191231.3.1-r0) 04:48:54 (10/14) Installing openssh-client (8.3_p1-r0) 04:48:54 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 04:48:54 (12/14) Installing openssh-server-common (8.3_p1-r0) 04:48:54 (13/14) Installing openssh-server (8.3_p1-r0) 04:48:54 (14/14) Installing openssh (8.3_p1-r0) 04:48:54 Executing busybox-1.31.1-r16.trigger 04:48:55 OK: 237 MiB in 53 packages 04:48:56 using credential edgex-jenkins-ssh 04:48:56 Cloning the remote Git repository 04:48:56 Cloning with configured refspecs honoured and without tags 04:48:56 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 04:48:56 > git init /w/workspace/device-virtual-go/1 # timeout=10 04:48:56 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 04:48:56 > git --version # timeout=10 04:48:56 > git --version # 'git version 2.17.1' 04:48:56 using GIT_SSH to set credentials SSH Credentials for GitHub 04:48:56 > 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 04:48:57 Fetching without tags 04:48:58 Merging remotes/origin/master commit f15eeb60ed1dfaebdbb1110c59d4e99e14864ad0 into PR head commit b91c50e16edfdd35dc930dd36c12d4a76069e4ef 04:48:58 Merge succeeded, producing b91c50e16edfdd35dc930dd36c12d4a76069e4ef 04:48:58 Checking out Revision b91c50e16edfdd35dc930dd36c12d4a76069e4ef (PR-132) 04:48:57 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 04:48:57 > git config --add remote.origin.fetch +refs/pull/132/head:refs/remotes/origin/PR-132 # timeout=10 04:48:57 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 04:48:57 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 04:48:57 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 04:48:57 using GIT_SSH to set credentials SSH Credentials for GitHub 04:48:57 > 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 04:48:58 > git config core.sparsecheckout # timeout=10 04:48:58 > git checkout -f b91c50e16edfdd35dc930dd36c12d4a76069e4ef # timeout=10 04:48:58 > git remote # timeout=10 04:48:58 > git config --get remote.origin.url # timeout=10 04:48:58 using GIT_SSH to set credentials SSH Credentials for GitHub 04:48:58 > git merge f15eeb60ed1dfaebdbb1110c59d4e99e14864ad0 # timeout=10 04:48:58 > git rev-parse HEAD^{commit} # timeout=10 04:48:58 > git config core.sparsecheckout # timeout=10 04:48:58 > git checkout -f b91c50e16edfdd35dc930dd36c12d4a76069e4ef # timeout=10 04:48:58 Removing intermediate container 61dfeaf05820 04:48:58 ---> aff0659b8f80 04:48:58 Step 6/8 : WORKDIR /device-virtual-go 04:48:58 ---> Running in 1a651e9fc9e7 04:48:58 Removing intermediate container 1a651e9fc9e7 04:48:58 ---> b0e656a01300 04:48:58 Step 7/8 : COPY . . 04:48:59 ---> 78ee9980fa4c 04:48:59 Step 8/8 : RUN go mod download 04:48:59 ---> Running in 08f6d82b0d65 04:49:03 Commit message: "fix: ReadWrite field of each device resource should be RW" 04:49:03 > git --version # timeout=10 04:49:03 > git --version # 'git version 2.17.1' 04:49:03 fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 04:49:04 ========================================================= 04:49:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 04:49:04 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:49:05 + 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 . 04:49:06 Sending build context to Docker daemon 548.4kB 04:49:06 Step 1/8 : ARG BASE=golang:1.15-alpine 04:49:06 Step 2/8 : FROM ${BASE} 04:49:07 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:49:07 b538f80385f9: Pulling fs layer 04:49:07 74f711af9a0d: Pulling fs layer 04:49:07 99f96fe45779: Pulling fs layer 04:49:07 8529a6b9a6be: Pulling fs layer 04:49:07 45590311c82a: Pulling fs layer 04:49:07 69ca0ff8b7b3: Pulling fs layer 04:49:07 209524e5b208: Pulling fs layer 04:49:07 8529a6b9a6be: Waiting 04:49:07 45590311c82a: Waiting 04:49:07 69ca0ff8b7b3: Waiting 04:49:07 209524e5b208: Waiting 04:49:07 99f96fe45779: Verifying Checksum 04:49:07 99f96fe45779: Download complete 04:49:07 74f711af9a0d: Verifying Checksum 04:49:07 74f711af9a0d: Download complete 04:49:07 45590311c82a: Verifying Checksum 04:49:07 45590311c82a: Download complete 04:49:07 69ca0ff8b7b3: Verifying Checksum 04:49:07 69ca0ff8b7b3: Download complete 04:49:07 b538f80385f9: Verifying Checksum 04:49:07 b538f80385f9: Download complete 04:49:07 b538f80385f9: Pull complete 04:49:08 74f711af9a0d: Pull complete 04:49:09 99f96fe45779: Pull complete 04:49:10 209524e5b208: Verifying Checksum 04:49:10 209524e5b208: Download complete 04:49:11 8529a6b9a6be: Verifying Checksum 04:49:11 8529a6b9a6be: Download complete 04:49:11 Removing intermediate container 08f6d82b0d65 04:49:11 ---> e1bc7d6613cf 04:49:11 Successfully built e1bc7d6613cf 04:49:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:49:12 + docker inspect -f . ci-base-image-x86_64 04:49:12 . [Pipeline] withDockerContainer 04:49:12 prd-centos7-docker-4c-2g-783 does not seem to be running inside a container 04:49:12 $ 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 04:49:13 $ docker top 96e73ab61fee024a4a3588e161ba68db7d34b727eb4cebf2e6653957aeacc723 -eo pid,comm [Pipeline] { [Pipeline] sh 04:49:14 + go version 04:49:14 go version go1.15.2 linux/amd64 [Pipeline] } 04:49:14 $ docker stop --time=1 96e73ab61fee024a4a3588e161ba68db7d34b727eb4cebf2e6653957aeacc723 04:49:15 $ docker rm -f 96e73ab61fee024a4a3588e161ba68db7d34b727eb4cebf2e6653957aeacc723 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:49:16 + docker inspect -f . ci-base-image-x86_64 04:49:16 . [Pipeline] withDockerContainer 04:49:16 prd-centos7-docker-4c-2g-783 does not seem to be running inside a container 04:49:16 $ 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 04:49:17 $ docker top 8598494a7d770ba583fe6606b2419b71bc7c25adacd7586ad60e17ed91c73a32 -eo pid,comm [Pipeline] { [Pipeline] sh 04:49:17 + make test 04:49:17 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 04:49:18 ? github.com/edgexfoundry/device-virtual-go [no test files] 04:49:21 8529a6b9a6be: Pull complete 04:49:21 45590311c82a: Pull complete 04:49:22 69ca0ff8b7b3: Pull complete 04:49:26 209524e5b208: Pull complete 04:49:26 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 04:49:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 04:49:26 ---> 5bddaf1c2fca 04:49:26 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 04:49:29 ---> Running in 2f3f6afd83a4 04:49:29 Removing intermediate container 2f3f6afd83a4 04:49:29 ---> 179fd5cf887f 04:49:29 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:49:29 ---> Running in 5797130343f8 04:49:30 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 04:49:30 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.138s coverage: 56.4% of statements 04:49:30 CGO_ENABLED=0 GO111MODULE=on go vet ./... 04:49:32 Removing intermediate container 5797130343f8 04:49:32 ---> 9c1d1d32246f 04:49:32 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 04:49:32 ---> Running in 98b26cf48782 04:49:32 gofmt -l . 04:49:32 [ "`gofmt -l .`" = "" ] 04:49:32 ./bin/test-attribution-txt.sh 04:49:33 ./bin/test-go-mod-tidy.sh [Pipeline] stash 04:49:33 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:49:34 Stashed 1 file(s) [Pipeline] } 04:49:34 $ docker stop --time=1 8598494a7d770ba583fe6606b2419b71bc7c25adacd7586ad60e17ed91c73a32 04:49:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:49:35 (1/14) Installing libmagic (5.38-r0) 04:49:35 (2/14) Installing file (5.38-r0) 04:49:35 (3/14) Installing libc-dev (0.7.2-r3) 04:49:35 (4/14) Installing g++ (9.3.0-r2) 04:49:36 $ docker rm -f 8598494a7d770ba583fe6606b2419b71bc7c25adacd7586ad60e17ed91c73a32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 04:49:38 (5/14) Installing fortify-headers (1.1-r0) 04:49:38 (6/14) Installing patch (2.7.6-r6) 04:49:38 (7/14) Installing build-base (0.5-r2) 04:49:38 (8/14) Installing openssh-keygen (8.3_p1-r0) 04:49:38 (9/14) Installing libedit (20191231.3.1-r0) 04:49:38 (10/14) Installing openssh-client (8.3_p1-r0) 04:49:39 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 04:49:39 (12/14) Installing openssh-server-common (8.3_p1-r0) 04:49:39 (13/14) Installing openssh-server (8.3_p1-r0) 04:49:39 (14/14) Installing openssh (8.3_p1-r0) 04:49:39 Executing busybox-1.31.1-r16.trigger 04:49:39 OK: 221 MiB in 53 packages [Pipeline] sh 04:49:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:49:41 + ls -al . 04:49:41 total 108 04:49:41 drwxrwxr-x. 8 jenkins jenkins 4096 Sep 22 04:49 . 04:49:41 drwxrwxr-x. 4 jenkins jenkins 28 Sep 22 04:48 .. 04:49:41 -rw-rw-r--. 1 jenkins jenkins 6036 Sep 22 04:48 Attribution.txt 04:49:41 drwxrwxr-x. 2 jenkins jenkins 64 Sep 22 04:48 bin 04:49:41 drwxrwxr-x. 3 jenkins jenkins 32 Sep 22 04:48 cmd 04:49:41 -rw-r--r--. 1 jenkins jenkins 29142 Sep 22 04:49 coverage.out 04:49:41 -rw-rw-r--. 1 jenkins jenkins 1834 Sep 22 04:48 Dockerfile 04:49:41 -rw-rw-r--. 1 jenkins jenkins 957 Sep 22 04:48 Dockerfile.build 04:49:41 drwxrwxr-x. 8 jenkins jenkins 179 Sep 22 04:48 .git 04:49:41 drwxrwxr-x. 2 jenkins jenkins 38 Sep 22 04:48 .github 04:49:41 -rw-rw-r--. 1 jenkins jenkins 258 Sep 22 04:48 .gitignore 04:49:41 -rw-r--r--. 1 jenkins jenkins 855 Sep 22 04:49 go.mod 04:49:41 -rw-r--r--. 1 jenkins jenkins 14894 Sep 22 04:49 go.sum 04:49:41 drwxrwxr-x. 3 jenkins jenkins 20 Sep 22 04:48 internal 04:49:41 -rw-rw-r--. 1 jenkins jenkins 660 Sep 22 04:48 Jenkinsfile 04:49:41 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 22 04:48 LICENSE 04:49:41 -rw-rw-r--. 1 jenkins jenkins 873 Sep 22 04:48 Makefile 04:49:41 -rw-rw-r--. 1 jenkins jenkins 918 Sep 22 04:48 README.md 04:49:41 drwxrwxr-x. 3 jenkins jenkins 58 Sep 22 04:48 .semver 04:49:41 -rw-rw-r--. 1 jenkins jenkins 5 Sep 22 04:44 VERSION 04:49:41 -rw-rw-r--. 1 jenkins jenkins 235 Sep 22 04:48 version.go [Pipeline] isUnix [Pipeline] sh 04:49:41 + 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 . 04:49:41 Sending build context to Docker daemon 593.9kB 04:49:41 Step 1/22 : ARG BASE=golang:1.15-alpine 04:49:41 Step 2/22 : FROM ${BASE} AS builder 04:49:41 ---> e1bc7d6613cf 04:49:41 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 04:49:42 ---> Running in afbb9ff08fa2 04:49:42 Removing intermediate container afbb9ff08fa2 04:49:42 ---> 95d19f993d6c 04:49:42 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 04:49:42 ---> Running in fbd67a5ec097 04:49:42 Removing intermediate container fbd67a5ec097 04:49:42 ---> e63b087aad3e 04:49:42 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 04:49:42 ---> Running in fa3aca63b9e8 04:49:42 Removing intermediate container fa3aca63b9e8 04:49:42 ---> 18579c787236 04:49:42 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:49:42 ---> Running in 257a22a33262 04:49:43 Removing intermediate container 257a22a33262 04:49:43 ---> df55c1b94d3e 04:49:43 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:49:43 ---> Running in 1a0c81869f9e 04:49:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:49:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:49:44 Removing intermediate container 98b26cf48782 04:49:44 ---> b1fc40910cd1 04:49:44 Step 6/8 : WORKDIR /device-virtual-go 04:49:44 ---> Running in 87b2bac683cf 04:49:44 Removing intermediate container 87b2bac683cf 04:49:44 ---> ce01266667e2 04:49:44 Step 7/8 : COPY . . 04:49:44 OK: 237 MiB in 53 packages 04:49:45 Removing intermediate container 1a0c81869f9e 04:49:45 ---> 2c30568153b5 04:49:45 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 04:49:45 ---> 62d5414c07da 04:49:45 Step 8/8 : RUN go mod download 04:49:45 ---> Running in 0e0c1ba09c98 04:49:46 ---> Running in 629c9f82cf9d 04:49:46 Removing intermediate container 629c9f82cf9d 04:49:46 ---> feefde5b46bb 04:49:46 Step 9/22 : COPY . . 04:49:47 ---> e99d99f04ad3 04:49:47 Step 10/22 : ARG MAKE='make build' 04:49:47 ---> Running in fa583699fbc1 04:49:47 Removing intermediate container fa583699fbc1 04:49:47 ---> d0727083fbfb 04:49:47 Step 11/22 : RUN $MAKE 04:49:47 ---> Running in 2dc5873d0256 04:49:47 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 04:49:57 CGO_ENABLED=0 GO111MODULE=on go build ./... 04:50:00 Removing intermediate container 2dc5873d0256 04:50:00 ---> 4041d28a5f62 04:50:00 Step 12/22 : FROM alpine 04:50:00 latest: Pulling from library/alpine 04:50:00 df20fa9351a1: Already exists 04:50:00 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 04:50:00 Status: Downloaded newer image for alpine:latest 04:50:00 ---> a24bb4013296 04:50:00 Step 13/22 : ENV APP_PORT=49990 04:50:00 ---> Running in d56655006347 04:50:00 Removing intermediate container d56655006347 04:50:00 ---> 6a17bce2ac79 04:50:00 Step 14/22 : EXPOSE $APP_PORT 04:50:01 Removing intermediate container 0e0c1ba09c98 04:50:01 ---> 75c9534a38da 04:50:01 Successfully built 75c9534a38da 04:50:01 Successfully tagged ci-base-image-arm64:latest 04:50:01 ---> Running in 1f3edb394b00 04:50:01 Removing intermediate container 1f3edb394b00 04:50:01 ---> 1b4c363fbf94 04:50:01 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [Pipeline] isUnix [Pipeline] sh 04:50:01 + docker inspect -f . ci-base-image-arm64 04:50:01 . [Pipeline] withDockerContainer 04:50:01 ---> ae8f674ec563 04:50:01 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 04:50:01 prd-ubuntu18.04-docker-arm64-4c-16g-782 does not seem to be running inside a container 04:50:01 $ 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 04:50:01 ---> 8544133fc023 04:50:01 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 04:50:02 ---> d40772c133e3 04:50:02 Step 18/22 : ENTRYPOINT ["/device-virtual"] 04:50:02 ---> Running in 6fd35e0554d4 04:50:02 Removing intermediate container 6fd35e0554d4 04:50:02 ---> 7c48ace7df31 04:50:02 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:50:02 ---> Running in 630df6dc645a 04:50:02 Removing intermediate container 630df6dc645a 04:50:02 ---> 971e180eb6f4 04:50:02 Step 20/22 : LABEL arch=amd64 04:50:02 ---> Running in 451c0de67b11 04:50:02 Removing intermediate container 451c0de67b11 04:50:02 ---> 59c88a79dfd4 04:50:02 Step 21/22 : LABEL git_sha=b91c50e16edfdd35dc930dd36c12d4a76069e4ef 04:50:03 ---> Running in d43e64a3e328 04:50:03 Removing intermediate container d43e64a3e328 04:50:03 ---> f19a3739273d 04:50:03 Step 22/22 : LABEL version=0.0.0 04:50:03 ---> Running in d27266338446 04:50:03 Removing intermediate container d27266338446 04:50:03 ---> 044ff6442efd 04:50:03 [Warning] One or more build-args [ARCH] were not consumed 04:50:03 Successfully built 044ff6442efd 04:50:03 Successfully tagged docker-device-virtual-go:latest 04:50:03 $ 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] } 04:50:05 + go version 04:50:05 go version go1.15.2 linux/arm64 [Pipeline] // stage [Pipeline] } [Pipeline] } 04:50:05 $ docker stop --time=1 5ad32296689d99bbdacd1cb2e16ffc9cefe21f92dfbaa1cae2326c8076610feb 04:50:07 $ 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 04:50:08 + docker inspect -f . ci-base-image-arm64 04:50:08 . [Pipeline] withDockerContainer 04:50:09 prd-ubuntu18.04-docker-arm64-4c-16g-782 does not seem to be running inside a container 04:50:09 $ 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 04:50:10 $ docker top 0b7d6ec685182ac4b8ac5a1afb73679fff7328017ae235ae6f85e0f757afbfb7 -eo pid,comm [Pipeline] { [Pipeline] sh 04:50:12 + make test 04:50:12 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 04:50:13 ? github.com/edgexfoundry/device-virtual-go [no test files] 04:51:00 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 04:51:00 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.625s coverage: 56.4% of statements 04:51:00 CGO_ENABLED=0 GO111MODULE=on go vet ./... 04:51:03 gofmt -l . 04:51:03 [ "`gofmt -l .`" = "" ] 04:51:03 ./bin/test-attribution-txt.sh 04:51:05 ./bin/test-go-mod-tidy.sh [Pipeline] stash 04:51:05 Warning: overwriting stash ‘coverage-report’ 04:51:06 Stashed 1 file(s) [Pipeline] } 04:51:06 $ docker stop --time=1 0b7d6ec685182ac4b8ac5a1afb73679fff7328017ae235ae6f85e0f757afbfb7 04:51:08 $ docker rm -f 0b7d6ec685182ac4b8ac5a1afb73679fff7328017ae235ae6f85e0f757afbfb7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:51:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:51:10 + ls -al . 04:51:10 total 136 04:51:10 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 04:51 . 04:51:10 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 04:48 .. 04:51:10 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 04:49 .git 04:51:10 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 04:48 .github 04:51:10 -rw-rw-r-- 1 jenkins jenkins 258 Sep 22 04:48 .gitignore 04:51:10 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 04:49 .semver 04:51:10 -rw-rw-r-- 1 jenkins jenkins 6036 Sep 22 04:48 Attribution.txt 04:51:10 -rw-rw-r-- 1 jenkins jenkins 1834 Sep 22 04:48 Dockerfile 04:51:10 -rw-rw-r-- 1 jenkins jenkins 957 Sep 22 04:48 Dockerfile.build 04:51:10 -rw-rw-r-- 1 jenkins jenkins 660 Sep 22 04:48 Jenkinsfile 04:51:10 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 04:48 LICENSE 04:51:10 -rw-rw-r-- 1 jenkins jenkins 873 Sep 22 04:48 Makefile 04:51:10 -rw-rw-r-- 1 jenkins jenkins 918 Sep 22 04:48 README.md 04:51:10 -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 04:44 VERSION 04:51:10 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 04:48 bin 04:51:10 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 04:48 cmd 04:51:10 -rw-r--r-- 1 jenkins jenkins 29142 Sep 22 04:50 coverage.out 04:51:10 -rw-r--r-- 1 jenkins jenkins 855 Sep 22 04:51 go.mod 04:51:10 -rw-r--r-- 1 jenkins jenkins 14894 Sep 22 04:51 go.sum 04:51:10 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 04:48 internal 04:51:10 -rw-rw-r-- 1 jenkins jenkins 235 Sep 22 04:48 version.go [Pipeline] isUnix [Pipeline] sh 04:51:11 + 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 . 04:51:11 Sending build context to Docker daemon 593.9kB 04:51:11 Step 1/22 : ARG BASE=golang:1.15-alpine 04:51:11 Step 2/22 : FROM ${BASE} AS builder 04:51:11 ---> 75c9534a38da 04:51:11 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 04:51:11 ---> Running in 058bbcbfb6b8 04:51:12 Removing intermediate container 058bbcbfb6b8 04:51:12 ---> d4ce521f68cf 04:51:12 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 04:51:12 ---> Running in d5d16496e925 04:51:13 Removing intermediate container d5d16496e925 04:51:13 ---> dd553f63ffd8 04:51:13 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 04:51:13 ---> Running in 9c86137bc776 04:51:13 Removing intermediate container 9c86137bc776 04:51:13 ---> b1d4963c808e 04:51:13 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:51:13 ---> Running in 8ffe5e806770 04:51:16 Removing intermediate container 8ffe5e806770 04:51:16 ---> 0fce7527f937 04:51:16 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:51:16 ---> Running in df4450cf3c11 04:51:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:51:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:51:19 OK: 221 MiB in 53 packages 04:51:20 Removing intermediate container df4450cf3c11 04:51:20 ---> c7786aea7011 04:51:20 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 04:51:20 ---> Running in ea627e483dbe 04:51:21 Removing intermediate container ea627e483dbe 04:51:21 ---> 3317c8d4d83b 04:51:21 Step 9/22 : COPY . . 04:51:22 ---> 3b6a4e9a638b 04:51:22 Step 10/22 : ARG MAKE='make build' 04:51:22 ---> Running in 136b05d7b695 04:51:23 Removing intermediate container 136b05d7b695 04:51:23 ---> d1448fd81c0a 04:51:23 Step 11/22 : RUN $MAKE 04:51:23 ---> Running in 9531449d767e 04:51:24 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 04:51:56 CGO_ENABLED=0 GO111MODULE=on go build ./... 04:52:05 Removing intermediate container 9531449d767e 04:52:05 ---> 758f18e7f24a 04:52:05 Step 12/22 : FROM alpine 04:52:05 latest: Pulling from library/alpine 04:52:05 b538f80385f9: Already exists 04:52:05 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 04:52:05 Status: Downloaded newer image for alpine:latest 04:52:05 ---> 62ee0e9f8440 04:52:05 Step 13/22 : ENV APP_PORT=49990 04:52:06 ---> Running in 66097071a238 04:52:06 Removing intermediate container 66097071a238 04:52:06 ---> 2428c29ada98 04:52:06 Step 14/22 : EXPOSE $APP_PORT 04:52:06 ---> Running in 4a856a85d291 04:52:07 Removing intermediate container 4a856a85d291 04:52:07 ---> aca8925c10db 04:52:07 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 04:52:08 ---> 7980d492c911 04:52:08 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 04:52:09 ---> 9b76deaba343 04:52:09 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 04:52:10 ---> ecf77b03aa09 04:52:10 Step 18/22 : ENTRYPOINT ["/device-virtual"] 04:52:10 ---> Running in f3d7a1bb9a82 04:52:10 Removing intermediate container f3d7a1bb9a82 04:52:10 ---> 705dd50e00b0 04:52:10 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:52:10 ---> Running in cabc9516edd1 04:52:11 Removing intermediate container cabc9516edd1 04:52:11 ---> fca655bfc8c5 04:52:11 Step 20/22 : LABEL arch=arm64 04:52:11 ---> Running in 9a0b0382cca4 04:52:12 Removing intermediate container 9a0b0382cca4 04:52:12 ---> 245183a1e17a 04:52:12 Step 21/22 : LABEL git_sha=b91c50e16edfdd35dc930dd36c12d4a76069e4ef 04:52:12 ---> Running in 96febb8971ff 04:52:12 Removing intermediate container 96febb8971ff 04:52:12 ---> 748b85af4b00 04:52:12 Step 22/22 : LABEL version=0.0.0 04:52:12 ---> Running in 4b5177ec59ac 04:52:13 Removing intermediate container 4b5177ec59ac 04:52:13 ---> 0bde8bcd6b14 04:52:13 [Warning] One or more build-args [ARCH] were not consumed 04:52:13 Successfully built 0bde8bcd6b14 04:52:13 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 04:52:16 provisioning config files... 04:52:16 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-132@tmp/config8288291411196617814tmp [Pipeline] { [Pipeline] sh 04:52:17 + curl -s https://codecov.io/bash 04:52:17 + bash -s - -t @/w/workspace/foundry_device-virtual-go_PR-132@tmp/config8288291411196617814tmp [Pipeline] } 04:52:17 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 04:52:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:52:21 ---> package-listing.sh 04:52:21 ++ facter osfamily 04:52:21 ++ tr '[:upper:]' '[:lower:]' 04:52:22 + OS_FAMILY=redhat 04:52:22 + workspace=/w/workspace/foundry_device-virtual-go_PR-132 04:52:22 + START_PACKAGES=/tmp/packages_start.txt 04:52:22 + END_PACKAGES=/tmp/packages_end.txt 04:52:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:52:22 + PACKAGES=/tmp/packages_start.txt 04:52:22 + '[' /w/workspace/foundry_device-virtual-go_PR-132 ']' 04:52:22 + PACKAGES=/tmp/packages_end.txt 04:52:22 + case "${OS_FAMILY}" in 04:52:22 + rpm -qa 04:52:22 + sort 04:52:26 + '[' -f /tmp/packages_start.txt ']' 04:52:26 + '[' -f /tmp/packages_end.txt ']' 04:52:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:52:26 + '[' /w/workspace/foundry_device-virtual-go_PR-132 ']' 04:52:26 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-132/archives/ 04:52:26 + 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 04:52:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:52:27 04:52:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 04:52:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:52:28 alpine: Pulling from edgex-lftools-log-publisher 04:52:28 df20fa9351a1: Pulling fs layer 04:52:28 36b3adc4ff6f: Pulling fs layer 04:52:28 8ad3a11d3b57: Pulling fs layer 04:52:28 46f8f816bc3b: Pulling fs layer 04:52:28 0dadc02b9964: Pulling fs layer 04:52:28 ce6a7cf60c04: Pulling fs layer 04:52:28 7a184a31f384: Pulling fs layer 04:52:28 0879bd2ef858: Pulling fs layer 04:52:28 0dadc02b9964: Waiting 04:52:28 ce6a7cf60c04: Waiting 04:52:28 7a184a31f384: Waiting 04:52:28 46f8f816bc3b: Waiting 04:52:28 0879bd2ef858: Waiting 04:52:28 36b3adc4ff6f: Verifying Checksum 04:52:28 36b3adc4ff6f: Download complete 04:52:28 46f8f816bc3b: Download complete 04:52:28 df20fa9351a1: Verifying Checksum 04:52:28 df20fa9351a1: Download complete 04:52:28 ce6a7cf60c04: Verifying Checksum 04:52:28 ce6a7cf60c04: Download complete 04:52:28 7a184a31f384: Verifying Checksum 04:52:28 7a184a31f384: Download complete 04:52:28 0dadc02b9964: Verifying Checksum 04:52:28 0dadc02b9964: Download complete 04:52:29 8ad3a11d3b57: Verifying Checksum 04:52:29 8ad3a11d3b57: Download complete 04:52:29 df20fa9351a1: Pull complete 04:52:29 36b3adc4ff6f: Pull complete 04:52:29 0879bd2ef858: Verifying Checksum 04:52:29 0879bd2ef858: Download complete 04:52:30 8ad3a11d3b57: Pull complete 04:52:31 46f8f816bc3b: Pull complete 04:52:31 0dadc02b9964: Pull complete 04:52:31 ce6a7cf60c04: Pull complete 04:52:31 7a184a31f384: Pull complete 04:52:36 0879bd2ef858: Pull complete 04:52:36 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 04:52:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:52:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 04:52:36 prd-centos7-docker-4c-2g-780 does not seem to be running inside a container 04:52:36 $ 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 04:52:42 $ docker top 0ee9f0a3faa68c907ecd8106cd44d7dc20b30471fcf30ace7adc30c4f807b40c -eo pid,comm [Pipeline] { [Pipeline] sh 04:52:42 + mkdir -p /var/log/sa [Pipeline] sh 04:52:43 + ls /var/log/sa-host 04:52:43 + sadf -c /var/log/sa-host/sa05 04:52:43 file_magic: OK 04:52:43 HZ: Using current value: 100 04:52:43 file_header: OK 04:52:43 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 04:52:43 Statistics: 04:52:43 Hnuu...uuuununununu...Hnuu...uuuununununu... 04:52:43 File successfully converted to sysstat format version 12.2.1 04:52:43 + sadf -c /var/log/sa-host/sa22 04:52:43 file_magic: OK 04:52:43 HZ: Using current value: 100 04:52:43 file_header: OK 04:52:43 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 04:52:43 Statistics: 04:52:43 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:52:43 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:52:43 provisioning config files... 04:52:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-132@tmp/config6371422313878243877tmp [Pipeline] { [Pipeline] echo 04:52:43 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:52:44 ---> create-netrc.sh [Pipeline] echo 04:52:44 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:52:44 ---> logs-deploy.sh 04:52:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-132/1 04:52:44 INFO: archiving workspace using pattern(s): 04:52:46 Archives upload complete. 04:52:46 INFO: archiving logs to Nexus