Pull request #140 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 8271914943f8eba5ca6f4f0f2c94d90982f8adb1+5333790cbfc620bb38957914a0d65453366236ce (387115694f80f666e98a5a545825480985eeaf2f) 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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-140/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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a2cbe11917bfb8801b6bc99aaa80229564ed4294 # timeout=10 Commit message: "Merge pull request #273 from ernestojeda/fix-semver-dir-permissions" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-140/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-6159’ is offline; ‘prd-centos7-docker-4c-2g-6160’ is offline; ‘prd-centos7-docker-4c-2g-6161’ is offline; ‘prd-centos7-docker-4c-2g-6162’ is offline; ‘prd-centos7-docker-4c-2g-6163’ is offline; ‘prd-centos7-docker-4c-2g-6167’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6035’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6165’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6168’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-6172 in /w/workspace/foundry_device-virtual-go_PR-140 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-140 # 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 --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 5333790cbfc620bb38957914a0d65453366236ce into PR head commit 8271914943f8eba5ca6f4f0f2c94d90982f8adb1 Merge succeeded, producing 8271914943f8eba5ca6f4f0f2c94d90982f8adb1 Checking out Revision 8271914943f8eba5ca6f4f0f2c94d90982f8adb1 (PR-140) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/140/head:refs/remotes/origin/PR-140 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8271914943f8eba5ca6f4f0f2c94d90982f8adb1 # 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 5333790cbfc620bb38957914a0d65453366236ce # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8271914943f8eba5ca6f4f0f2c94d90982f8adb1 # timeout=10 Commit message: "Bump github.com/edgexfoundry/device-sdk-go" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:20:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:20:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:20:36 ========================================================= 06:20:36 EdgeX Global Pipelines Version Info 06:20:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:20:38 ------------------- 06:20:38 stable info: 06:20:38 ------------------- 06:20:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:20:38 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 06:20:38 Message: update stable to v1.0.144 06:20:39 ------------------- 06:20:39 experimental info: 06:20:39 ------------------- 06:20:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:20:39 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 06:20:39 Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:20:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 06:20:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 06:20:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:20:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:20:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:20:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:20:40 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:20:40 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:20:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:20:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:20:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:20:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 06:20:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:20:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:20:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:20:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:20:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:20:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:20:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:20:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:20:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:20:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:20:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:20:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:20:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:20:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-140 [Pipeline] echo 06:20:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-140 [Pipeline] echo 06:20:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-140 [Pipeline] echo 06:20:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8271914943f8eba5ca6f4f0f2c94d90982f8adb1 [Pipeline] echo 06:20:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8271914 [Pipeline] echo 06:20:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:20:44 + git log --format=format:%s -1 8271914943f8eba5ca6f4f0f2c94d90982f8adb1 [Pipeline] echo 06:20:44 GIT_COMMIT: 8271914943f8eba5ca6f4f0f2c94d90982f8adb1, Commit Message: Bump github.com/edgexfoundry/device-sdk-go [Pipeline] echo 06:20:44 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:20:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:20:45 06:20:45 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:20:46 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:20:46 latest: Pulling from edgex-devops/git-semver 06:20:46 31603596830f: Pulling fs layer 06:20:46 2a8b12db71e7: Pulling fs layer 06:20:46 6ca5941a6612: Pulling fs layer 06:20:46 ecc8261a40a4: Pulling fs layer 06:20:46 ecc8261a40a4: Waiting 06:20:46 2a8b12db71e7: Verifying Checksum 06:20:46 2a8b12db71e7: Download complete 06:20:46 31603596830f: Verifying Checksum 06:20:46 31603596830f: Download complete 06:20:46 ecc8261a40a4: Verifying Checksum 06:20:46 ecc8261a40a4: Download complete 06:20:46 6ca5941a6612: Verifying Checksum 06:20:46 6ca5941a6612: Download complete 06:20:46 31603596830f: Pull complete 06:20:46 2a8b12db71e7: Pull complete 06:20:47 6ca5941a6612: Pull complete 06:20:47 ecc8261a40a4: Pull complete 06:20:47 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:20:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:20:47 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:20:48 prd-centos7-docker-4c-2g-6172 does not seem to be running inside a container 06:20:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-140 -v /w/workspace/foundry_device-virtual-go_PR-140:/w/workspace/foundry_device-virtual-go_PR-140:rw,z -v /w/workspace/foundry_device-virtual-go_PR-140@tmp:/w/workspace/foundry_device-virtual-go_PR-140@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:10004/edgex-devops/git-semver:latest cat 06:20:50 $ docker top 6d6bacc5a292ce181cdd782d4c1d396e5e43e3dd35a8762fff5589ac258f85cd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:20:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:20:50 [ssh-agent] Looking for ssh-agent implementation... 06:20:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:20:50 $ docker exec 6d6bacc5a292ce181cdd782d4c1d396e5e43e3dd35a8762fff5589ac258f85cd ssh-agent 06:20:51 SSH_AUTH_SOCK=/tmp/ssh-2dGJdV251PKC/agent.12 06:20:51 SSH_AGENT_PID=18 06:20:51 Running ssh-add (command line suppressed) 06:20:51 Identity added: /w/workspace/foundry_device-virtual-go_PR-140@tmp/private_key_2347778492565822780.key (/w/workspace/foundry_device-virtual-go_PR-140@tmp/private_key_2347778492565822780.key) 06:20:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:20:51 + git tag --points-at HEAD [Pipeline] } 06:20:51 $ docker exec --env ******** --env ******** 6d6bacc5a292ce181cdd782d4c1d396e5e43e3dd35a8762fff5589ac258f85cd ssh-agent -k 06:20:51 unset SSH_AUTH_SOCK; 06:20:51 unset SSH_AGENT_PID; 06:20:51 echo Agent pid 18 killed; 06:20:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:20:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:20:52 [ssh-agent] Looking for ssh-agent implementation... 06:20:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:20:52 $ docker exec 6d6bacc5a292ce181cdd782d4c1d396e5e43e3dd35a8762fff5589ac258f85cd ssh-agent 06:20:52 SSH_AUTH_SOCK=/tmp/ssh-aMkEJED9uJVx/agent.47 06:20:52 SSH_AGENT_PID=53 06:20:52 Running ssh-add (command line suppressed) 06:20:52 Identity added: /w/workspace/foundry_device-virtual-go_PR-140@tmp/private_key_7010852448231827815.key (/w/workspace/foundry_device-virtual-go_PR-140@tmp/private_key_7010852448231827815.key) 06:20:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:20:53 + git semver init 06:20:53 # -> Open(): unable to determine branch for HEAD 06:20:53 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-140/.git 06:20:53 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-140 06:20:53 # $SEMVER_REMOTE_NAME = origin 06:20:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:20:53 # $SEMVER_USER_NAME = edgex-jenkins 06:20:53 # $SEMVER_BRANCH = PR-140 06:20:53 # $SEMVER_TEMP = /tmp/semver-648879691 06:20:53 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 06:20:53 # '/tmp/semver-648879691' -> '/w/workspace/foundry_device-virtual-go_PR-140/.semver' 06:20:53 # -> Force: false 06:20:53 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-140/.semver [Pipeline] } 06:20:53 $ docker exec --env ******** --env ******** 6d6bacc5a292ce181cdd782d4c1d396e5e43e3dd35a8762fff5589ac258f85cd ssh-agent -k 06:20:53 unset SSH_AUTH_SOCK; 06:20:53 unset SSH_AGENT_PID; 06:20:53 echo Agent pid 53 killed; 06:20:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:20:54 + git semver [Pipeline] } 06:20:54 $ docker stop --time=1 6d6bacc5a292ce181cdd782d4c1d396e5e43e3dd35a8762fff5589ac258f85cd 06:20:55 $ docker rm -f 6d6bacc5a292ce181cdd782d4c1d396e5e43e3dd35a8762fff5589ac258f85cd [Pipeline] // withDockerContainer [Pipeline] sh 06:20:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:20:56 Stashed 1 file(s) [Pipeline] echo 06:20:56 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 06:21:12 Still waiting to schedule task 06:21:12 ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-6159’ is offline; ‘prd-centos7-docker-4c-2g-6160’ is offline; ‘prd-centos7-docker-4c-2g-6161’ is offline; ‘prd-centos7-docker-4c-2g-6162’ is offline; ‘prd-centos7-docker-4c-2g-6163’ is offline; ‘prd-centos7-docker-4c-2g-6170’ is offline; ‘prd-centos7-docker-4c-2g-6173’ is offline; ‘prd-centos7-docker-4c-2g-6174’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6035’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6165’ doesn’t have label ‘centos7-docker-4c-2g’ 06:21:12 Still waiting to schedule task 06:21:12 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 06:22:00 Running on prd-centos7-docker-4c-2g-6175 in /w/workspace/foundry_device-virtual-go_PR-140 [Pipeline] { [Pipeline] ws 06:22:01 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 06:22:09 using credential edgex-jenkins-ssh 06:22:09 Cloning the remote Git repository 06:22:09 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 06:22:09 > git init /w/workspace/device-virtual-go/1 # timeout=10 06:22:09 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:22:09 > git --version # timeout=10 06:22:09 > git --version # 'git version 2.16.5' 06:22:09 using GIT_SSH to set credentials SSH Credentials for GitHub 06:22:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:22:10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:22:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:22:10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:22:10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:22:10 using GIT_SSH to set credentials SSH Credentials for GitHub 06:22:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/140/head:refs/remotes/origin/PR-140 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:22:11 Merging remotes/origin/master commit 5333790cbfc620bb38957914a0d65453366236ce into PR head commit 8271914943f8eba5ca6f4f0f2c94d90982f8adb1 06:22:12 Merge succeeded, producing 8271914943f8eba5ca6f4f0f2c94d90982f8adb1 06:22:12 Checking out Revision 8271914943f8eba5ca6f4f0f2c94d90982f8adb1 (PR-140) 06:22:11 > git config core.sparsecheckout # timeout=10 06:22:11 > git checkout -f 8271914943f8eba5ca6f4f0f2c94d90982f8adb1 # timeout=10 06:22:11 > git remote # timeout=10 06:22:11 > git config --get remote.origin.url # timeout=10 06:22:11 using GIT_SSH to set credentials SSH Credentials for GitHub 06:22:11 > git merge 5333790cbfc620bb38957914a0d65453366236ce # timeout=10 06:22:11 > git rev-parse HEAD^{commit} # timeout=10 06:22:12 > git config core.sparsecheckout # timeout=10 06:22:12 > git checkout -f 8271914943f8eba5ca6f4f0f2c94d90982f8adb1 # timeout=10 06:22:16 Commit message: "Bump github.com/edgexfoundry/device-sdk-go" 06:22:16 > git --version # timeout=10 06:22:16 > git --version # 'git version 2.16.5' 06:22:16 fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:22:17 ========================================================= 06:22:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:22:17 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:22:18 + 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 . 06:22:19 Sending build context to Docker daemon 462.3kB 06:22:19 Step 1/8 : ARG BASE=golang:1.15-alpine 06:22:19 Step 2/8 : FROM ${BASE} 06:22:19 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:22:19 df20fa9351a1: Pulling fs layer 06:22:19 ed8968b2872e: Pulling fs layer 06:22:19 a92cc7c5fd73: Pulling fs layer 06:22:19 e871e8e8d7a9: Pulling fs layer 06:22:19 e73272ec9a57: Pulling fs layer 06:22:19 1e910a182e73: Pulling fs layer 06:22:19 4e634b169226: Pulling fs layer 06:22:19 e73272ec9a57: Waiting 06:22:19 1e910a182e73: Waiting 06:22:19 4e634b169226: Waiting 06:22:19 e871e8e8d7a9: Waiting 06:22:19 a92cc7c5fd73: Download complete 06:22:19 ed8968b2872e: Download complete 06:22:19 e73272ec9a57: Verifying Checksum 06:22:19 e73272ec9a57: Download complete 06:22:19 1e910a182e73: Verifying Checksum 06:22:19 1e910a182e73: Download complete 06:22:20 df20fa9351a1: Verifying Checksum 06:22:20 df20fa9351a1: Download complete 06:22:20 df20fa9351a1: Pull complete 06:22:21 ed8968b2872e: Pull complete 06:22:21 a92cc7c5fd73: Pull complete 06:22:24 4e634b169226: Verifying Checksum 06:22:24 4e634b169226: Download complete 06:22:25 e871e8e8d7a9: Verifying Checksum 06:22:25 e871e8e8d7a9: Download complete 06:22:38 e871e8e8d7a9: Pull complete 06:22:38 e73272ec9a57: Pull complete 06:22:38 1e910a182e73: Pull complete 06:22:41 4e634b169226: Pull complete 06:22:41 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:22:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:22:41 ---> f7629b54cfaa 06:22:41 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 06:22:41 ---> Running in 739270873c1d 06:22:42 Removing intermediate container 739270873c1d 06:22:42 ---> 5f65be3e774f 06:22:42 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:22:42 ---> Running in 33b97d97b74a 06:22:44 Removing intermediate container 33b97d97b74a 06:22:44 ---> 4bc113c4e322 06:22:44 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 06:22:44 ---> Running in 77fa325743d4 06:22:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:22:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:22:46 (1/14) Installing libmagic (5.38-r0) 06:22:46 (2/14) Installing file (5.38-r0) 06:22:47 (3/14) Installing libc-dev (0.7.2-r3) 06:22:47 (4/14) Installing g++ (9.3.0-r2) 06:23:02 (5/14) Installing fortify-headers (1.1-r0) 06:23:02 (6/14) Installing patch (2.7.6-r6) 06:23:02 (7/14) Installing build-base (0.5-r2) 06:23:02 (8/14) Installing openssh-keygen (8.3_p1-r0) 06:23:02 (9/14) Installing libedit (20191231.3.1-r0) 06:23:02 (10/14) Installing openssh-client (8.3_p1-r0) 06:23:02 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 06:23:02 (12/14) Installing openssh-server-common (8.3_p1-r0) 06:23:02 (13/14) Installing openssh-server (8.3_p1-r0) 06:23:02 (14/14) Installing openssh (8.3_p1-r0) 06:23:02 Executing busybox-1.31.1-r16.trigger 06:23:02 OK: 237 MiB in 53 packages 06:23:06 Removing intermediate container 77fa325743d4 06:23:06 ---> fe28b2b94ffe 06:23:06 Step 6/8 : WORKDIR /device-virtual-go 06:23:06 ---> Running in 16b5f0746e9e 06:23:06 Removing intermediate container 16b5f0746e9e 06:23:06 ---> 773c94c0b1ab 06:23:06 Step 7/8 : COPY . . 06:23:07 ---> 73b988301987 06:23:07 Step 8/8 : RUN go mod download 06:23:07 ---> Running in 244899bc44dc 06:23:30 Removing intermediate container 244899bc44dc 06:23:30 ---> b06ac7e97d68 06:23:30 Successfully built b06ac7e97d68 06:23:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:23:31 + docker inspect -f . ci-base-image-x86_64 06:23:31 . [Pipeline] withDockerContainer 06:23:31 prd-centos7-docker-4c-2g-6175 does not seem to be running inside a container 06:23:31 $ 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 ******** -e ******** ci-base-image-x86_64 cat 06:23:33 $ docker top 37fea40111e518daf63ce10828d3d2a33cf4c86d421f6d7a315811c6e5bfe37a -eo pid,comm [Pipeline] { [Pipeline] sh 06:23:33 + go version 06:23:33 go version go1.15.2 linux/amd64 [Pipeline] } 06:23:33 $ docker stop --time=1 37fea40111e518daf63ce10828d3d2a33cf4c86d421f6d7a315811c6e5bfe37a 06:23:35 $ docker rm -f 37fea40111e518daf63ce10828d3d2a33cf4c86d421f6d7a315811c6e5bfe37a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:23:36 + docker inspect -f . ci-base-image-x86_64 06:23:36 . [Pipeline] withDockerContainer 06:23:36 prd-centos7-docker-4c-2g-6175 does not seem to be running inside a container 06:23:36 $ 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 ******** -e ******** ci-base-image-x86_64 cat 06:23:37 $ docker top f5d74b74569181b1a0b9833245b9f647caef04100d04cecb72c213b324e80ede -eo pid,comm [Pipeline] { [Pipeline] sh 06:23:38 + make test 06:23:38 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:23:39 ? github.com/edgexfoundry/device-virtual-go [no test files] 06:23:57 Running on prd-ubuntu18.04-docker-arm64-4c-16g-6178 in /w/workspace/foundry_device-virtual-go_PR-140 [Pipeline] { [Pipeline] ws 06:23:57 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 06:24:02 using credential edgex-jenkins-ssh 06:24:02 Cloning the remote Git repository 06:24:03 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 06:24:03 > git init /w/workspace/device-virtual-go/1 # timeout=10 06:24:03 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:24:03 > git --version # timeout=10 06:24:03 > git --version # 'git version 2.17.1' 06:24:03 using GIT_SSH to set credentials SSH Credentials for GitHub 06:24:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:24:04 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:24:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:24:04 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:24:04 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:24:04 using GIT_SSH to set credentials SSH Credentials for GitHub 06:24:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/140/head:refs/remotes/origin/PR-140 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:24:04 Merging remotes/origin/master commit 5333790cbfc620bb38957914a0d65453366236ce into PR head commit 8271914943f8eba5ca6f4f0f2c94d90982f8adb1 06:24:04 Merge succeeded, producing 8271914943f8eba5ca6f4f0f2c94d90982f8adb1 06:24:04 Checking out Revision 8271914943f8eba5ca6f4f0f2c94d90982f8adb1 (PR-140) 06:24:04 > git config core.sparsecheckout # timeout=10 06:24:04 > git checkout -f 8271914943f8eba5ca6f4f0f2c94d90982f8adb1 # timeout=10 06:24:04 > git remote # timeout=10 06:24:04 > git config --get remote.origin.url # timeout=10 06:24:04 using GIT_SSH to set credentials SSH Credentials for GitHub 06:24:04 > git merge 5333790cbfc620bb38957914a0d65453366236ce # timeout=10 06:24:04 > git rev-parse HEAD^{commit} # timeout=10 06:24:04 > git config core.sparsecheckout # timeout=10 06:24:04 > git checkout -f 8271914943f8eba5ca6f4f0f2c94d90982f8adb1 # timeout=10 06:24:09 Commit message: "Bump github.com/edgexfoundry/device-sdk-go" 06:24:09 > git --version # timeout=10 06:24:09 > git --version # 'git version 2.17.1' 06:24:09 fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:24:10 ========================================================= 06:24:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:24:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:24:11 + 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 . 06:24:12 Sending build context to Docker daemon 462.3kB 06:24:12 Step 1/8 : ARG BASE=golang:1.15-alpine 06:24:12 Step 2/8 : FROM ${BASE} 06:24:12 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 06:24:12 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.831s coverage: 64.4% of statements 06:24:12 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:24:12 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:24:12 b538f80385f9: Pulling fs layer 06:24:12 74f711af9a0d: Pulling fs layer 06:24:12 99f96fe45779: Pulling fs layer 06:24:12 8529a6b9a6be: Pulling fs layer 06:24:12 45590311c82a: Pulling fs layer 06:24:12 69ca0ff8b7b3: Pulling fs layer 06:24:12 209524e5b208: Pulling fs layer 06:24:12 45590311c82a: Waiting 06:24:12 69ca0ff8b7b3: Waiting 06:24:12 209524e5b208: Waiting 06:24:12 8529a6b9a6be: Waiting 06:24:12 99f96fe45779: Verifying Checksum 06:24:12 99f96fe45779: Download complete 06:24:12 74f711af9a0d: Verifying Checksum 06:24:12 74f711af9a0d: Download complete 06:24:12 45590311c82a: Download complete 06:24:13 69ca0ff8b7b3: Verifying Checksum 06:24:13 69ca0ff8b7b3: Download complete 06:24:13 b538f80385f9: Verifying Checksum 06:24:13 b538f80385f9: Download complete 06:24:14 b538f80385f9: Pull complete 06:24:14 74f711af9a0d: Pull complete 06:24:14 gofmt -l . 06:24:14 [ "`gofmt -l .`" = "" ] 06:24:14 ./bin/test-attribution-txt.sh 06:24:14 99f96fe45779: Pull complete 06:24:15 An attribution for bitbucket.org/bertimus9/systemstat is missing from in Attribution.txt, please add 06:24:15 An attribution for github.com/go-playground/locales is missing from in Attribution.txt, please add 06:24:15 An attribution for github.com/go-playground/universal-translator is missing from in Attribution.txt, please add 06:24:15 An attribution for github.com/go-playground/validator/v10 is missing from in Attribution.txt, please add 06:24:15 An attribution for github.com/leodido/go-urn is missing from in Attribution.txt, please add 06:24:15 209524e5b208: Verifying Checksum 06:24:15 209524e5b208: Download complete 06:24:15 make: *** [Makefile:27: test] Error 1 [Pipeline] } 06:24:16 $ docker stop --time=1 f5d74b74569181b1a0b9833245b9f647caef04100d04cecb72c213b324e80ede 06:24:16 8529a6b9a6be: Verifying Checksum 06:24:16 8529a6b9a6be: Download complete 06:24:18 $ docker rm -f f5d74b74569181b1a0b9833245b9f647caef04100d04cecb72c213b324e80ede [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:24:21 Failed in branch amd64 06:24:27 8529a6b9a6be: Pull complete 06:24:27 45590311c82a: Pull complete 06:24:27 69ca0ff8b7b3: Pull complete 06:24:31 209524e5b208: Pull complete 06:24:31 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:24:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:24:31 ---> 5bddaf1c2fca 06:24:31 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 06:24:34 ---> Running in bc1ff8af1102 06:24:34 Removing intermediate container bc1ff8af1102 06:24:34 ---> cd46beda4424 06:24:34 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:24:34 ---> Running in d5f3035f1273 06:24:37 Removing intermediate container d5f3035f1273 06:24:37 ---> 0e8426b54b53 06:24:37 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 06:24:37 ---> Running in 3f0d47797372 06:24:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:24:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:24:40 (1/14) Installing libmagic (5.38-r0) 06:24:40 (2/14) Installing file (5.38-r0) 06:24:40 (3/14) Installing libc-dev (0.7.2-r3) 06:24:40 (4/14) Installing g++ (9.3.0-r2) 06:24:44 (5/14) Installing fortify-headers (1.1-r0) 06:24:44 (6/14) Installing patch (2.7.6-r6) 06:24:44 (7/14) Installing build-base (0.5-r2) 06:24:44 (8/14) Installing openssh-keygen (8.3_p1-r0) 06:24:44 (9/14) Installing libedit (20191231.3.1-r0) 06:24:44 (10/14) Installing openssh-client (8.3_p1-r0) 06:24:44 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 06:24:44 (12/14) Installing openssh-server-common (8.3_p1-r0) 06:24:44 (13/14) Installing openssh-server (8.3_p1-r0) 06:24:45 (14/14) Installing openssh (8.3_p1-r0) 06:24:45 Executing busybox-1.31.1-r16.trigger 06:24:45 OK: 221 MiB in 53 packages 06:24:49 Removing intermediate container 3f0d47797372 06:24:49 ---> e0ba86c6c7bb 06:24:49 Step 6/8 : WORKDIR /device-virtual-go 06:24:49 ---> Running in 283477aa5f2b 06:24:50 Removing intermediate container 283477aa5f2b 06:24:50 ---> bd6ed4fbc1b0 06:24:50 Step 7/8 : COPY . . 06:24:51 ---> cac9bd6c4a1e 06:24:51 Step 8/8 : RUN go mod download 06:24:51 ---> Running in 053626cb9b5c 06:25:23 Removing intermediate container 053626cb9b5c 06:25:23 ---> 1aacbb59931d 06:25:23 Successfully built 1aacbb59931d 06:25:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:25:24 + docker inspect -f . ci-base-image-arm64 06:25:24 . [Pipeline] withDockerContainer 06:25:24 prd-ubuntu18.04-docker-arm64-4c-16g-6178 does not seem to be running inside a container 06:25:24 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 06:25:26 $ docker top ee01f3368124d342bce66f67f4d3e868cfd190257a255eb7b58dc3be2173edde -eo pid,comm [Pipeline] { [Pipeline] sh 06:25:27 + go version 06:25:27 go version go1.15.2 linux/arm64 [Pipeline] } 06:25:27 $ docker stop --time=1 ee01f3368124d342bce66f67f4d3e868cfd190257a255eb7b58dc3be2173edde 06:25:29 $ docker rm -f ee01f3368124d342bce66f67f4d3e868cfd190257a255eb7b58dc3be2173edde [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:25:31 + docker inspect -f . ci-base-image-arm64 06:25:31 . [Pipeline] withDockerContainer 06:25:31 prd-ubuntu18.04-docker-arm64-4c-16g-6178 does not seem to be running inside a container 06:25:31 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 06:25:33 $ docker top f59f27176263d97e5ec642c5f6de7e401d4d10764ee1db4fb799f4ef1d1787eb -eo pid,comm [Pipeline] { [Pipeline] sh 06:25:34 + make test 06:25:34 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:25:36 ? github.com/edgexfoundry/device-virtual-go [no test files] 06:26:23 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 06:26:24 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.582s coverage: 64.4% of statements 06:26:24 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:26:34 gofmt -l . 06:26:34 [ "`gofmt -l .`" = "" ] 06:26:34 ./bin/test-attribution-txt.sh 06:26:35 An attribution for bitbucket.org/bertimus9/systemstat is missing from in Attribution.txt, please add 06:26:35 An attribution for github.com/go-playground/locales is missing from in Attribution.txt, please add 06:26:35 An attribution for github.com/go-playground/universal-translator is missing from in Attribution.txt, please add 06:26:35 An attribution for github.com/go-playground/validator/v10 is missing from in Attribution.txt, please add 06:26:35 An attribution for github.com/leodido/go-urn is missing from in Attribution.txt, please add 06:26:35 make: *** [Makefile:27: test] Error 1 [Pipeline] } 06:26:35 $ docker stop --time=1 f59f27176263d97e5ec642c5f6de7e401d4d10764ee1db4fb799f4ef1d1787eb 06:26:37 $ docker rm -f f59f27176263d97e5ec642c5f6de7e401d4d10764ee1db4fb799f4ef1d1787eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:26:40 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 06:26:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:26:46 ---> package-listing.sh 06:26:46 ++ facter osfamily 06:26:46 ++ tr '[:upper:]' '[:lower:]' 06:26:46 + OS_FAMILY=redhat 06:26:46 + workspace=/w/workspace/foundry_device-virtual-go_PR-140 06:26:46 + START_PACKAGES=/tmp/packages_start.txt 06:26:46 + END_PACKAGES=/tmp/packages_end.txt 06:26:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:26:46 + PACKAGES=/tmp/packages_start.txt 06:26:46 + '[' /w/workspace/foundry_device-virtual-go_PR-140 ']' 06:26:46 + PACKAGES=/tmp/packages_end.txt 06:26:46 + case "${OS_FAMILY}" in 06:26:46 + rpm -qa 06:26:46 + sort 06:26:50 + '[' -f /tmp/packages_start.txt ']' 06:26:50 + '[' -f /tmp/packages_end.txt ']' 06:26:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:26:50 + '[' /w/workspace/foundry_device-virtual-go_PR-140 ']' 06:26:50 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-140/archives/ 06:26:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-140/archives/ [Pipeline] echo 06:26:50 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-140/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:26:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:26:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:26:51 06:26:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:26:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:26:51 alpine: Pulling from edgex-lftools-log-publisher 06:26:51 df20fa9351a1: Pulling fs layer 06:26:51 36b3adc4ff6f: Pulling fs layer 06:26:51 8ad3a11d3b57: Pulling fs layer 06:26:51 46f8f816bc3b: Pulling fs layer 06:26:51 93b61091891f: Pulling fs layer 06:26:51 93b9cdb0e59b: Pulling fs layer 06:26:51 5e14af77c1be: Pulling fs layer 06:26:51 01666e4c0597: Pulling fs layer 06:26:51 aa168da1d23b: Pulling fs layer 06:26:51 93b61091891f: Waiting 06:26:51 93b9cdb0e59b: Waiting 06:26:51 5e14af77c1be: Waiting 06:26:51 01666e4c0597: Waiting 06:26:51 aa168da1d23b: Waiting 06:26:51 46f8f816bc3b: Waiting 06:26:51 36b3adc4ff6f: Verifying Checksum 06:26:51 36b3adc4ff6f: Download complete 06:26:51 46f8f816bc3b: Verifying Checksum 06:26:51 46f8f816bc3b: Download complete 06:26:51 df20fa9351a1: Download complete 06:26:52 93b9cdb0e59b: Download complete 06:26:52 5e14af77c1be: Verifying Checksum 06:26:52 5e14af77c1be: Download complete 06:26:52 93b61091891f: Download complete 06:26:52 01666e4c0597: Verifying Checksum 06:26:52 01666e4c0597: Download complete 06:26:52 df20fa9351a1: Pull complete 06:26:52 36b3adc4ff6f: Pull complete 06:26:52 8ad3a11d3b57: Verifying Checksum 06:26:52 8ad3a11d3b57: Download complete 06:26:53 8ad3a11d3b57: Pull complete 06:26:53 46f8f816bc3b: Pull complete 06:26:54 93b61091891f: Pull complete 06:26:54 93b9cdb0e59b: Pull complete 06:26:54 5e14af77c1be: Pull complete 06:26:54 01666e4c0597: Pull complete 06:26:54 aa168da1d23b: Verifying Checksum 06:26:54 aa168da1d23b: Download complete 06:27:01 aa168da1d23b: Pull complete 06:27:01 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:27:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:27:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:27:01 prd-centos7-docker-4c-2g-6172 does not seem to be running inside a container 06:27:01 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-140/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-140 -v /w/workspace/foundry_device-virtual-go_PR-140:/w/workspace/foundry_device-virtual-go_PR-140:rw,z -v /w/workspace/foundry_device-virtual-go_PR-140@tmp:/w/workspace/foundry_device-virtual-go_PR-140@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:27:05 $ docker top 9dc9978859e2d7e686e2134b3fd3f14e2e16288ae7efc46cf8a8f44845258663 -eo pid,comm [Pipeline] { [Pipeline] sh 06:27:05 + touch /tmp/pre-build-complete [Pipeline] sh 06:27:06 + mkdir -p /var/log/sa [Pipeline] sh 06:27:06 + ls /var/log/sa-host 06:27:06 + sadf -c /var/log/sa-host/sa05 06:27:06 file_magic: OK 06:27:06 HZ: Using current value: 100 06:27:06 file_header: OK 06:27:06 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 06:27:06 Statistics: 06:27:06 Hnuu...uuuununununu...Hnuu...uuuununununu... 06:27:06 File successfully converted to sysstat format version 12.2.1 06:27:06 + sadf -c /var/log/sa-host/sa19 06:27:06 file_magic: OK 06:27:06 HZ: Using current value: 100 06:27:06 file_header: OK 06:27:06 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 06:27:06 Statistics: 06:27:06 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:27:06 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:27:06 provisioning config files... 06:27:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-140@tmp/config8215717339955049520tmp [Pipeline] { [Pipeline] echo 06:27:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:27:07 ---> create-netrc.sh [Pipeline] } 06:27:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:27:07 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:27:07 ---> python-tools-install.sh [Pipeline] echo 06:27:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:27:08 ---> sudo-logs.sh 06:27:08 Archiving 'sudo' log.. [Pipeline] echo 06:27:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:27:08 ---> job-cost.sh 06:27:08 lf-activate-venv: SKIPPING 06:27:08 INFO: No Stack... 06:27:10 INFO: Retrieving Pricing Info for: v1-standard-2 06:27:10 INFO: Archiving Costs [Pipeline] echo 06:27:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:27:10 ---> logs-deploy.sh 06:27:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-140/1 06:27:10 INFO: archiving workspace using pattern(s): 06:27:12 Archives upload complete. 06:27:12 INFO: archiving logs to Nexus 06:27:13 ---> uname -a: 06:27:13 Linux prd-centos7-docker-4c-2g-6172.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 06:27:13 06:27:13