Pull request #136 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 32432350234859e57aa5f114883a5ba345eb8ad4+8d31429af90f845313e1f83db91362442934a267 (936b43616cab6dfa93b016b1c2670a81835c8be5) 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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-136/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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > 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-136/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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1883 in /w/workspace/foundry_device-virtual-go_PR-136 [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-136 # 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 > 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/136/head:refs/remotes/origin/PR-136 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 8d31429af90f845313e1f83db91362442934a267 into PR head commit 32432350234859e57aa5f114883a5ba345eb8ad4 Merge succeeded, producing 32432350234859e57aa5f114883a5ba345eb8ad4 Checking out Revision 32432350234859e57aa5f114883a5ba345eb8ad4 (PR-136) > git config core.sparsecheckout # timeout=10 > git checkout -f 32432350234859e57aa5f114883a5ba345eb8ad4 # 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 8d31429af90f845313e1f83db91362442934a267 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 32432350234859e57aa5f114883a5ba345eb8ad4 # timeout=10 Commit message: "Bump modernc.org/ql from 1.0.0 to 1.1.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-29T01:01:12.983Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-29T01:01:13.404Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-29T01:01:13.644Z] ========================================================= [2020-09-29T01:01:13.644Z] EdgeX Global Pipelines Version Info [2020-09-29T01:01:13.644Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-29T01:01:18.553Z] ------------------- [2020-09-29T01:01:18.553Z] stable info: [2020-09-29T01:01:18.553Z] ------------------- [2020-09-29T01:01:18.553Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-29T01:01:18.553Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-09-29T01:01:18.553Z] Message: update stable to v1.0.131 [2020-09-29T01:01:20.160Z] ------------------- [2020-09-29T01:01:20.160Z] experimental info: [2020-09-29T01:01:20.160Z] ------------------- [2020-09-29T01:01:20.160Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-29T01:01:20.160Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-09-29T01:01:20.160Z] Message: update experimental to v1.0.131 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-29T01:01:21.181Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2020-09-29T01:01:21.355Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2020-09-29T01:01:21.488Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-29T01:01:21.648Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-29T01:01:21.794Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-29T01:01:21.956Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-29T01:01:22.136Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-29T01:01:22.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-29T01:01:22.474Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-29T01:01:22.639Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-29T01:01:22.797Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-29T01:01:22.998Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2020-09-29T01:01:23.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-29T01:01:23.371Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-29T01:01:23.513Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-29T01:01:23.700Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-09-29T01:01:23.869Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-29T01:01:24.062Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-29T01:01:24.233Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-29T01:01:24.381Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-29T01:01:24.532Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-29T01:01:24.678Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-29T01:01:24.857Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-09-29T01:01:24.998Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-09-29T01:01:25.150Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-09-29T01:01:25.310Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-136 [Pipeline] echo [2020-09-29T01:01:25.504Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-136 [Pipeline] echo [2020-09-29T01:01:25.640Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-136 [Pipeline] echo [2020-09-29T01:01:25.981Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 32432350234859e57aa5f114883a5ba345eb8ad4 [Pipeline] echo [2020-09-29T01:01:26.122Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3243235 [Pipeline] echo [2020-09-29T01:01:26.273Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-29T01:01:27.220Z] + git log --format=format:%s -1 32432350234859e57aa5f114883a5ba345eb8ad4 [Pipeline] echo [2020-09-29T01:01:27.567Z] GIT_COMMIT: 32432350234859e57aa5f114883a5ba345eb8ad4, Commit Message: Bump modernc.org/ql from 1.0.0 to 1.1.0 [Pipeline] echo [2020-09-29T01:01:27.646Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-29T01:01:28.457Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-29T01:01:29.179Z] [2020-09-29T01:01:29.179Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-29T01:01:29.862Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-29T01:01:30.151Z] latest: Pulling from edgex-devops/git-semver [2020-09-29T01:01:30.151Z] 31603596830f: Pulling fs layer [2020-09-29T01:01:30.151Z] 2a8b12db71e7: Pulling fs layer [2020-09-29T01:01:30.151Z] 6ca5941a6612: Pulling fs layer [2020-09-29T01:01:30.151Z] ecc8261a40a4: Pulling fs layer [2020-09-29T01:01:30.151Z] ecc8261a40a4: Waiting [2020-09-29T01:01:30.531Z] 2a8b12db71e7: Verifying Checksum [2020-09-29T01:01:30.531Z] 2a8b12db71e7: Download complete [2020-09-29T01:01:31.008Z] 31603596830f: Verifying Checksum [2020-09-29T01:01:31.008Z] 31603596830f: Download complete [2020-09-29T01:01:31.855Z] ecc8261a40a4: Verifying Checksum [2020-09-29T01:01:31.855Z] ecc8261a40a4: Download complete [2020-09-29T01:01:31.855Z] 6ca5941a6612: Verifying Checksum [2020-09-29T01:01:31.855Z] 6ca5941a6612: Download complete [2020-09-29T01:01:32.219Z] 31603596830f: Pull complete [2020-09-29T01:01:32.537Z] 2a8b12db71e7: Pull complete [2020-09-29T01:01:35.745Z] 6ca5941a6612: Pull complete [2020-09-29T01:01:36.069Z] ecc8261a40a4: Pull complete [2020-09-29T01:01:36.069Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-29T01:01:36.391Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-29T01:01:36.391Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-29T01:01:36.979Z] prd-centos7-docker-4c-2g-1883 does not seem to be running inside a container [2020-09-29T01:01:37.580Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-136 -v /w/workspace/foundry_device-virtual-go_PR-136:/w/workspace/foundry_device-virtual-go_PR-136:rw,z -v /w/workspace/foundry_device-virtual-go_PR-136@tmp:/w/workspace/foundry_device-virtual-go_PR-136@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 [2020-09-29T01:01:40.649Z] $ docker top 48842a065675920f8f4a50db3c004a001a1d3d553790d9c43b706b9eb945e6c5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-29T01:01:41.592Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-29T01:01:41.592Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-29T01:01:42.337Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-29T01:01:42.351Z] $ docker exec 48842a065675920f8f4a50db3c004a001a1d3d553790d9c43b706b9eb945e6c5 ssh-agent [2020-09-29T01:01:42.913Z] SSH_AUTH_SOCK=/tmp/ssh-ADxYoZn3SnXx/agent.12 [2020-09-29T01:01:42.913Z] SSH_AGENT_PID=18 [2020-09-29T01:01:43.027Z] Running ssh-add (command line suppressed) [2020-09-29T01:01:43.315Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-136@tmp/private_key_6293459383719810336.key (/w/workspace/foundry_device-virtual-go_PR-136@tmp/private_key_6293459383719810336.key) [2020-09-29T01:01:43.521Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-29T01:01:44.120Z] + git describe --exact-match --tags HEAD [2020-09-29T01:01:44.120Z] fatal: no tag exactly matches '32432350234859e57aa5f114883a5ba345eb8ad4' [Pipeline] } [2020-09-29T01:01:44.245Z] $ docker exec --env ******** --env ******** 48842a065675920f8f4a50db3c004a001a1d3d553790d9c43b706b9eb945e6c5 ssh-agent -k [2020-09-29T01:01:44.518Z] unset SSH_AUTH_SOCK; [2020-09-29T01:01:44.519Z] unset SSH_AGENT_PID; [2020-09-29T01:01:44.519Z] echo Agent pid 18 killed; [2020-09-29T01:01:44.631Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-29T01:01:44.823Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-29T01:01:44.823Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-29T01:01:45.000Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-29T01:01:45.000Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-29T01:01:45.500Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-29T01:01:45.508Z] $ docker exec 48842a065675920f8f4a50db3c004a001a1d3d553790d9c43b706b9eb945e6c5 ssh-agent [2020-09-29T01:01:45.867Z] SSH_AUTH_SOCK=/tmp/ssh-b9qUdd1uYwo4/agent.47 [2020-09-29T01:01:45.867Z] SSH_AGENT_PID=52 [2020-09-29T01:01:45.893Z] Running ssh-add (command line suppressed) [2020-09-29T01:01:46.276Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-136@tmp/private_key_7036494213771381837.key (/w/workspace/foundry_device-virtual-go_PR-136@tmp/private_key_7036494213771381837.key) [2020-09-29T01:01:46.413Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-29T01:01:46.954Z] + git semver init [2020-09-29T01:01:47.284Z] # -> Open(): unable to determine branch for HEAD [2020-09-29T01:01:47.284Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-136/.git [2020-09-29T01:01:47.284Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-136 [2020-09-29T01:01:47.284Z] # $SEMVER_REMOTE_NAME = origin [2020-09-29T01:01:47.284Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-29T01:01:47.284Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-29T01:01:47.284Z] # $SEMVER_BRANCH = PR-136 [2020-09-29T01:01:47.284Z] # $SEMVER_TEMP = /tmp/semver-299051893 [2020-09-29T01:01:47.284Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2020-09-29T01:01:47.672Z] # '/tmp/semver-299051893' -> '/w/workspace/foundry_device-virtual-go_PR-136/.semver' [2020-09-29T01:01:47.672Z] # -> Force: false [2020-09-29T01:01:47.988Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-136/.semver [Pipeline] } [2020-09-29T01:01:48.063Z] $ docker exec --env ******** --env ******** 48842a065675920f8f4a50db3c004a001a1d3d553790d9c43b706b9eb945e6c5 ssh-agent -k [2020-09-29T01:01:48.495Z] unset SSH_AUTH_SOCK; [2020-09-29T01:01:48.495Z] unset SSH_AGENT_PID; [2020-09-29T01:01:48.495Z] echo Agent pid 52 killed; [2020-09-29T01:01:48.588Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-29T01:01:50.034Z] + git semver [Pipeline] } [2020-09-29T01:01:50.100Z] $ docker stop --time=1 48842a065675920f8f4a50db3c004a001a1d3d553790d9c43b706b9eb945e6c5 [2020-09-29T01:01:51.624Z] $ docker rm -f 48842a065675920f8f4a50db3c004a001a1d3d553790d9c43b706b9eb945e6c5 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-29T01:01:53.088Z] Stashed 29 file(s) [Pipeline] echo [2020-09-29T01:01:53.116Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-29T01:01:53.272Z] Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-09-29T01:02:09.504Z] Still waiting to schedule task [2020-09-29T01:02:09.504Z] ‘prd-centos7-docker-4c-2g-1866’ is offline; ‘prd-centos7-docker-4c-2g-1870’ is offline; ‘prd-centos7-docker-4c-2g-1874’ is offline; ‘prd-centos7-docker-4c-2g-1876’ is offline; ‘prd-centos7-docker-4c-2g-1881’ is offline; ‘prd-centos7-docker-4c-2g-1888’ is offline; ‘prd-centos7-docker-4c-2g-1894’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-1868’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-1877’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-09-29T01:02:09.546Z] Still waiting to schedule task [2020-09-29T01:02:09.546Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-09-29T01:02:20.378Z] Running on prd-centos7-docker-4c-2g-1894 in /w/workspace/foundry_device-virtual-go_PR-136 [Pipeline] { [Pipeline] ws [2020-09-29T01:02:20.481Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2020-09-29T01:02:23.488Z] using credential edgex-jenkins-ssh [2020-09-29T01:02:23.541Z] Cloning the remote Git repository [2020-09-29T01:02:23.573Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-09-29T01:02:23.716Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2020-09-29T01:02:24.168Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-09-29T01:02:24.168Z] > git --version # timeout=10 [2020-09-29T01:02:24.177Z] > git --version # 'git version 2.16.5' [2020-09-29T01:02:24.178Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-29T01:02:24.226Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-29T01:02:25.222Z] Merging remotes/origin/master commit 8d31429af90f845313e1f83db91362442934a267 into PR head commit 32432350234859e57aa5f114883a5ba345eb8ad4 [2020-09-29T01:02:25.318Z] Merge succeeded, producing 32432350234859e57aa5f114883a5ba345eb8ad4 [2020-09-29T01:02:25.319Z] Checking out Revision 32432350234859e57aa5f114883a5ba345eb8ad4 (PR-136) [2020-09-29T01:02:24.738Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-09-29T01:02:24.748Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-29T01:02:24.774Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-09-29T01:02:24.798Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-09-29T01:02:24.798Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-29T01:02:24.805Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/136/head:refs/remotes/origin/PR-136 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-29T01:02:25.236Z] > git config core.sparsecheckout # timeout=10 [2020-09-29T01:02:25.243Z] > git checkout -f 32432350234859e57aa5f114883a5ba345eb8ad4 # timeout=10 [2020-09-29T01:02:25.283Z] > git remote # timeout=10 [2020-09-29T01:02:25.293Z] > git config --get remote.origin.url # timeout=10 [2020-09-29T01:02:25.298Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-29T01:02:25.302Z] > git merge 8d31429af90f845313e1f83db91362442934a267 # timeout=10 [2020-09-29T01:02:25.314Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-29T01:02:25.325Z] > git config core.sparsecheckout # timeout=10 [2020-09-29T01:02:25.329Z] > git checkout -f 32432350234859e57aa5f114883a5ba345eb8ad4 # timeout=10 [2020-09-29T01:02:30.564Z] Commit message: "Bump modernc.org/ql from 1.0.0 to 1.1.0" [2020-09-29T01:02:30.594Z] > git --version # timeout=10 [2020-09-29T01:02:30.600Z] > git --version # 'git version 2.16.5' [2020-09-29T01:02:30.607Z] fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-29T01:02:31.585Z] ========================================================= [2020-09-29T01:02:31.585Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-29T01:02:31.586Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-29T01:02:32.407Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-09-29T01:02:32.996Z] Sending build context to Docker daemon 630.8kB [2020-09-29T01:02:32.996Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-29T01:02:32.996Z] Step 2/8 : FROM ${BASE} [2020-09-29T01:02:32.996Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-29T01:02:32.996Z] df20fa9351a1: Pulling fs layer [2020-09-29T01:02:32.996Z] ed8968b2872e: Pulling fs layer [2020-09-29T01:02:32.996Z] a92cc7c5fd73: Pulling fs layer [2020-09-29T01:02:32.996Z] e871e8e8d7a9: Pulling fs layer [2020-09-29T01:02:32.996Z] e73272ec9a57: Pulling fs layer [2020-09-29T01:02:32.996Z] 1e910a182e73: Pulling fs layer [2020-09-29T01:02:32.996Z] 4e634b169226: Pulling fs layer [2020-09-29T01:02:32.996Z] 4e634b169226: Waiting [2020-09-29T01:02:32.996Z] e73272ec9a57: Waiting [2020-09-29T01:02:32.996Z] e871e8e8d7a9: Waiting [2020-09-29T01:02:32.996Z] 1e910a182e73: Waiting [2020-09-29T01:02:32.996Z] a92cc7c5fd73: Verifying Checksum [2020-09-29T01:02:32.996Z] a92cc7c5fd73: Download complete [2020-09-29T01:02:32.996Z] ed8968b2872e: Download complete [2020-09-29T01:02:32.996Z] e73272ec9a57: Verifying Checksum [2020-09-29T01:02:32.996Z] e73272ec9a57: Download complete [2020-09-29T01:02:32.996Z] df20fa9351a1: Verifying Checksum [2020-09-29T01:02:32.996Z] df20fa9351a1: Download complete [2020-09-29T01:02:33.288Z] 1e910a182e73: Download complete [2020-09-29T01:02:33.288Z] df20fa9351a1: Pull complete [2020-09-29T01:02:33.550Z] ed8968b2872e: Pull complete [2020-09-29T01:02:33.550Z] a92cc7c5fd73: Pull complete [2020-09-29T01:02:37.789Z] 4e634b169226: Verifying Checksum [2020-09-29T01:02:37.789Z] 4e634b169226: Download complete [2020-09-29T01:02:39.716Z] e871e8e8d7a9: Download complete [2020-09-29T01:02:45.101Z] e871e8e8d7a9: Pull complete [2020-09-29T01:02:45.367Z] e73272ec9a57: Pull complete [2020-09-29T01:02:45.367Z] 1e910a182e73: Pull complete [2020-09-29T01:02:50.698Z] 4e634b169226: Pull complete [2020-09-29T01:02:50.698Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-29T01:02:50.698Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-29T01:02:50.698Z] ---> f7629b54cfaa [2020-09-29T01:02:50.698Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-09-29T01:02:50.698Z] ---> Running in 09138cb3c2bb [2020-09-29T01:02:50.961Z] Removing intermediate container 09138cb3c2bb [2020-09-29T01:02:50.961Z] ---> 7d6be66159e9 [2020-09-29T01:02:50.961Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-29T01:02:50.961Z] ---> Running in 30c27fe85cd0 [2020-09-29T01:02:51.923Z] Removing intermediate container 30c27fe85cd0 [2020-09-29T01:02:51.923Z] ---> aa7a8ae82f3f [2020-09-29T01:02:51.923Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-09-29T01:02:52.191Z] ---> Running in 0d418234df03 [2020-09-29T01:02:53.141Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-29T01:02:54.536Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-29T01:02:55.482Z] (1/14) Installing libmagic (5.38-r0) [2020-09-29T01:02:55.750Z] (2/14) Installing file (5.38-r0) [2020-09-29T01:02:55.750Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-09-29T01:02:55.750Z] (4/14) Installing g++ (9.3.0-r2) [2020-09-29T01:03:08.018Z] (5/14) Installing fortify-headers (1.1-r0) [2020-09-29T01:03:08.018Z] (6/14) Installing patch (2.7.6-r6) [2020-09-29T01:03:08.018Z] (7/14) Installing build-base (0.5-r2) [2020-09-29T01:03:08.018Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-09-29T01:03:08.018Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-09-29T01:03:08.018Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-09-29T01:03:08.018Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-09-29T01:03:08.282Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-09-29T01:03:08.282Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-09-29T01:03:08.546Z] (14/14) Installing openssh (8.3_p1-r0) [2020-09-29T01:03:08.810Z] Executing busybox-1.31.1-r16.trigger [2020-09-29T01:03:08.810Z] OK: 237 MiB in 53 packages [2020-09-29T01:03:12.134Z] Removing intermediate container 0d418234df03 [2020-09-29T01:03:12.134Z] ---> ea74030da417 [2020-09-29T01:03:12.134Z] Step 6/8 : WORKDIR /device-virtual-go [2020-09-29T01:03:12.134Z] ---> Running in b0cfcec33f6e [2020-09-29T01:03:12.134Z] Removing intermediate container b0cfcec33f6e [2020-09-29T01:03:12.134Z] ---> d0ebe438d62f [2020-09-29T01:03:12.134Z] Step 7/8 : COPY . . [2020-09-29T01:03:13.101Z] ---> 298dcff5f36a [2020-09-29T01:03:13.101Z] Step 8/8 : RUN go mod download [2020-09-29T01:03:13.101Z] ---> Running in d7c513a40649 [2020-09-29T01:03:35.187Z] Removing intermediate container d7c513a40649 [2020-09-29T01:03:35.187Z] ---> 48e5cafb811d [2020-09-29T01:03:35.187Z] Successfully built 48e5cafb811d [2020-09-29T01:03:35.187Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-29T01:03:35.864Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-29T01:03:35.864Z] . [Pipeline] withDockerContainer [2020-09-29T01:03:36.028Z] prd-centos7-docker-4c-2g-1894 does not seem to be running inside a container [2020-09-29T01:03:36.083Z] $ 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-x86_64 cat [2020-09-29T01:03:36.888Z] $ docker top 2eeae571b7ab634b48ba898cd94ebcac59af7ce998a81167e0460da7b99f6544 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-29T01:03:37.492Z] + go version [2020-09-29T01:03:37.492Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-29T01:03:37.527Z] $ docker stop --time=1 2eeae571b7ab634b48ba898cd94ebcac59af7ce998a81167e0460da7b99f6544 [2020-09-29T01:03:39.019Z] $ docker rm -f 2eeae571b7ab634b48ba898cd94ebcac59af7ce998a81167e0460da7b99f6544 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-29T01:03:40.134Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-29T01:03:40.134Z] . [Pipeline] withDockerContainer [2020-09-29T01:03:40.255Z] prd-centos7-docker-4c-2g-1894 does not seem to be running inside a container [2020-09-29T01:03:40.324Z] $ 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-x86_64 cat [2020-09-29T01:03:41.052Z] $ docker top 3e209653e25533fc88d7a6ae2ba4bddc0a0c1ab8e0a8100038017e9d9f442c4c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-29T01:03:41.593Z] + make test [2020-09-29T01:03:41.593Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-09-29T01:03:43.014Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-09-29T01:03:55.405Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-09-29T01:03:55.978Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.146s coverage: 56.4% of statements [2020-09-29T01:03:55.978Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-29T01:03:59.341Z] gofmt -l . [2020-09-29T01:03:59.341Z] [ "`gofmt -l .`" = "" ] [2020-09-29T01:03:59.341Z] ./bin/test-attribution-txt.sh [2020-09-29T01:03:59.609Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-29T01:04:00.210Z] Stashed 1 file(s) [Pipeline] } [2020-09-29T01:04:00.233Z] $ docker stop --time=1 3e209653e25533fc88d7a6ae2ba4bddc0a0c1ab8e0a8100038017e9d9f442c4c [2020-09-29T01:04:02.683Z] $ docker rm -f 3e209653e25533fc88d7a6ae2ba4bddc0a0c1ab8e0a8100038017e9d9f442c4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-09-29T01:04:04.381Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-29T01:04:04.702Z] + ls -al . [2020-09-29T01:04:04.702Z] total 112 [2020-09-29T01:04:04.702Z] drwxrwxr-x. 8 jenkins jenkins 4096 Sep 29 01:03 . [2020-09-29T01:04:04.702Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 29 01:02 .. [2020-09-29T01:04:04.702Z] -rw-rw-r--. 1 jenkins jenkins 6036 Sep 29 01:02 Attribution.txt [2020-09-29T01:04:04.702Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 29 01:02 bin [2020-09-29T01:04:04.702Z] drwxrwxr-x. 3 jenkins jenkins 32 Sep 29 01:02 cmd [2020-09-29T01:04:04.702Z] -rw-r--r--. 1 jenkins jenkins 29142 Sep 29 01:03 coverage.out [2020-09-29T01:04:04.702Z] -rw-rw-r--. 1 jenkins jenkins 1834 Sep 29 01:02 Dockerfile [2020-09-29T01:04:04.702Z] -rw-rw-r--. 1 jenkins jenkins 957 Sep 29 01:02 Dockerfile.build [2020-09-29T01:04:04.702Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 29 01:02 .git [2020-09-29T01:04:04.702Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 29 01:02 .github [2020-09-29T01:04:04.702Z] -rw-rw-r--. 1 jenkins jenkins 258 Sep 29 01:02 .gitignore [2020-09-29T01:04:04.702Z] -rw-r--r--. 1 jenkins jenkins 439 Sep 29 01:03 go.mod [2020-09-29T01:04:04.702Z] -rw-r--r--. 1 jenkins jenkins 16621 Sep 29 01:03 go.sum [2020-09-29T01:04:04.702Z] drwxrwxr-x. 3 jenkins jenkins 20 Sep 29 01:02 internal [2020-09-29T01:04:04.702Z] -rw-rw-r--. 1 jenkins jenkins 660 Sep 29 01:02 Jenkinsfile [2020-09-29T01:04:04.702Z] -rw-rw-r--. 1 jenkins jenkins 11340 Sep 29 01:02 LICENSE [2020-09-29T01:04:04.702Z] -rw-rw-r--. 1 jenkins jenkins 873 Sep 29 01:02 Makefile [2020-09-29T01:04:04.702Z] -rw-rw-r--. 1 jenkins jenkins 918 Sep 29 01:02 README.md [2020-09-29T01:04:04.702Z] drwxrwxr-x. 3 jenkins jenkins 58 Sep 29 01:02 .semver [2020-09-29T01:04:04.702Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 29 01:01 VERSION [2020-09-29T01:04:04.702Z] -rw-rw-r--. 1 jenkins jenkins 235 Sep 29 01:02 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-29T01:04:05.063Z] + 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=32432350234859e57aa5f114883a5ba345eb8ad4 --label arch=amd64 --label version=0.0.0 . [2020-09-29T01:04:05.063Z] Sending build context to Docker daemon 677.9kB [2020-09-29T01:04:05.334Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-09-29T01:04:05.334Z] Step 2/22 : FROM ${BASE} AS builder [2020-09-29T01:04:05.334Z] ---> 48e5cafb811d [2020-09-29T01:04:05.334Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-09-29T01:04:05.334Z] ---> Running in 7d7f1e19b8f4 [2020-09-29T01:04:05.601Z] Removing intermediate container 7d7f1e19b8f4 [2020-09-29T01:04:05.601Z] ---> defcb1351d0d [2020-09-29T01:04:05.601Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-09-29T01:04:05.601Z] ---> Running in 84478ad54dc2 [2020-09-29T01:04:05.864Z] Removing intermediate container 84478ad54dc2 [2020-09-29T01:04:05.864Z] ---> 667ca28edf50 [2020-09-29T01:04:05.864Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-09-29T01:04:05.864Z] ---> Running in 738d3645ec1e [2020-09-29T01:04:05.864Z] Removing intermediate container 738d3645ec1e [2020-09-29T01:04:05.864Z] ---> c79a7471813a [2020-09-29T01:04:05.865Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-29T01:04:06.132Z] ---> Running in d329a71ca1ca [2020-09-29T01:04:07.090Z] Removing intermediate container d329a71ca1ca [2020-09-29T01:04:07.090Z] ---> 8dcbb215091c [2020-09-29T01:04:07.090Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-29T01:04:07.090Z] ---> Running in a9f4dff1ab45 [2020-09-29T01:04:07.668Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-29T01:04:08.243Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-29T01:04:08.823Z] OK: 237 MiB in 53 packages [2020-09-29T01:04:09.397Z] Removing intermediate container a9f4dff1ab45 [2020-09-29T01:04:09.397Z] ---> 2efb569886c2 [2020-09-29T01:04:09.397Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-09-29T01:04:09.397Z] ---> Running in 2ac4038fe303 [2020-09-29T01:04:09.664Z] Removing intermediate container 2ac4038fe303 [2020-09-29T01:04:09.664Z] ---> 4512713ff60c [2020-09-29T01:04:09.664Z] Step 9/22 : COPY . . [2020-09-29T01:04:10.239Z] ---> fabb3aa31fde [2020-09-29T01:04:10.239Z] Step 10/22 : ARG MAKE='make build' [2020-09-29T01:04:10.239Z] ---> Running in 70bfabefe3ae [2020-09-29T01:04:10.239Z] Removing intermediate container 70bfabefe3ae [2020-09-29T01:04:10.239Z] ---> f8673e53ed84 [2020-09-29T01:04:10.239Z] Step 11/22 : RUN $MAKE [2020-09-29T01:04:10.503Z] ---> Running in c4b39d0e5418 [2020-09-29T01:04:10.768Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2020-09-29T01:04:20.898Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-09-29T01:04:25.133Z] Removing intermediate container c4b39d0e5418 [2020-09-29T01:04:25.133Z] ---> 8a6809e6919d [2020-09-29T01:04:25.133Z] Step 12/22 : FROM alpine [2020-09-29T01:04:25.133Z] latest: Pulling from library/alpine [2020-09-29T01:04:25.133Z] df20fa9351a1: Already exists [2020-09-29T01:04:25.398Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-09-29T01:04:25.398Z] Status: Downloaded newer image for alpine:latest [2020-09-29T01:04:25.398Z] ---> a24bb4013296 [2020-09-29T01:04:25.398Z] Step 13/22 : ENV APP_PORT=49990 [2020-09-29T01:04:25.398Z] ---> Running in 60969140f684 [2020-09-29T01:04:25.664Z] Removing intermediate container 60969140f684 [2020-09-29T01:04:25.664Z] ---> c231edf0c141 [2020-09-29T01:04:25.664Z] Step 14/22 : EXPOSE $APP_PORT [2020-09-29T01:04:25.664Z] ---> Running in 5bd2fecaeee6 [2020-09-29T01:04:25.930Z] Removing intermediate container 5bd2fecaeee6 [2020-09-29T01:04:25.930Z] ---> 614c4b5dd105 [2020-09-29T01:04:25.930Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-09-29T01:04:26.508Z] ---> b22b52b1b0ed [2020-09-29T01:04:26.508Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-09-29T01:04:26.769Z] ---> 217d4702ea49 [2020-09-29T01:04:26.769Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-09-29T01:04:27.034Z] ---> 5378a6c22a2c [2020-09-29T01:04:27.034Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2020-09-29T01:04:27.034Z] ---> Running in a96f978fdaaa [2020-09-29T01:04:27.034Z] Removing intermediate container a96f978fdaaa [2020-09-29T01:04:27.034Z] ---> 60669d25c334 [2020-09-29T01:04:27.034Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-29T01:04:27.302Z] ---> Running in 6534731e4ac9 [2020-09-29T01:04:27.302Z] Removing intermediate container 6534731e4ac9 [2020-09-29T01:04:27.302Z] ---> c27085dddf27 [2020-09-29T01:04:27.302Z] Step 20/22 : LABEL arch=amd64 [2020-09-29T01:04:27.302Z] ---> Running in 3f1e2f5d57d7 [2020-09-29T01:04:27.579Z] Removing intermediate container 3f1e2f5d57d7 [2020-09-29T01:04:27.579Z] ---> 146ae38926c2 [2020-09-29T01:04:27.579Z] Step 21/22 : LABEL git_sha=32432350234859e57aa5f114883a5ba345eb8ad4 [2020-09-29T01:04:27.579Z] ---> Running in 2fe2b885d74e [2020-09-29T01:04:27.847Z] Removing intermediate container 2fe2b885d74e [2020-09-29T01:04:27.847Z] ---> 9ba166c005ab [2020-09-29T01:04:27.847Z] Step 22/22 : LABEL version=0.0.0 [2020-09-29T01:04:27.847Z] ---> Running in c21339d46e03 [2020-09-29T01:04:28.116Z] Removing intermediate container c21339d46e03 [2020-09-29T01:04:28.116Z] ---> 36c8864ea209 [2020-09-29T01:04:28.116Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-29T01:04:28.116Z] Successfully built 36c8864ea209 [2020-09-29T01:04:28.116Z] Successfully tagged docker-device-virtual-go:latest [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] } [2020-09-29T01:04:31.184Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1898 in /w/workspace/foundry_device-virtual-go_PR-136 [Pipeline] { [Pipeline] ws [2020-09-29T01:04:31.291Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2020-09-29T01:04:37.060Z] using credential edgex-jenkins-ssh [2020-09-29T01:04:37.122Z] Cloning the remote Git repository [2020-09-29T01:04:37.186Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-09-29T01:04:37.302Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2020-09-29T01:04:37.381Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-09-29T01:04:37.381Z] > git --version # timeout=10 [2020-09-29T01:04:37.402Z] > git --version # 'git version 2.17.1' [2020-09-29T01:04:37.404Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-29T01:04:37.485Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-29T01:04:38.872Z] Merging remotes/origin/master commit 8d31429af90f845313e1f83db91362442934a267 into PR head commit 32432350234859e57aa5f114883a5ba345eb8ad4 [2020-09-29T01:04:38.269Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-09-29T01:04:38.290Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-29T01:04:38.316Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-09-29T01:04:38.369Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-09-29T01:04:38.370Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-29T01:04:38.387Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/136/head:refs/remotes/origin/PR-136 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-29T01:04:38.894Z] > git config core.sparsecheckout # timeout=10 [2020-09-29T01:04:38.908Z] > git checkout -f 32432350234859e57aa5f114883a5ba345eb8ad4 # timeout=10 [2020-09-29T01:04:39.128Z] Merge succeeded, producing 32432350234859e57aa5f114883a5ba345eb8ad4 [2020-09-29T01:04:39.129Z] Checking out Revision 32432350234859e57aa5f114883a5ba345eb8ad4 (PR-136) [2020-09-29T01:04:38.989Z] > git remote # timeout=10 [2020-09-29T01:04:39.006Z] > git config --get remote.origin.url # timeout=10 [2020-09-29T01:04:39.061Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-29T01:04:39.078Z] > git merge 8d31429af90f845313e1f83db91362442934a267 # timeout=10 [2020-09-29T01:04:39.108Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-29T01:04:39.140Z] > git config core.sparsecheckout # timeout=10 [2020-09-29T01:04:39.181Z] > git checkout -f 32432350234859e57aa5f114883a5ba345eb8ad4 # timeout=10 [2020-09-29T01:04:43.456Z] Commit message: "Bump modernc.org/ql from 1.0.0 to 1.1.0" [2020-09-29T01:04:43.516Z] > git --version # timeout=10 [2020-09-29T01:04:43.526Z] > git --version # 'git version 2.17.1' [2020-09-29T01:04:43.540Z] fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-29T01:04:44.801Z] ========================================================= [2020-09-29T01:04:44.801Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-29T01:04:44.801Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-29T01:04:45.929Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-09-29T01:04:46.919Z] Sending build context to Docker daemon 630.8kB [2020-09-29T01:04:46.919Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-29T01:04:46.919Z] Step 2/8 : FROM ${BASE} [2020-09-29T01:04:47.193Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-29T01:04:47.193Z] b538f80385f9: Pulling fs layer [2020-09-29T01:04:47.193Z] 74f711af9a0d: Pulling fs layer [2020-09-29T01:04:47.193Z] 99f96fe45779: Pulling fs layer [2020-09-29T01:04:47.193Z] 8529a6b9a6be: Pulling fs layer [2020-09-29T01:04:47.193Z] 45590311c82a: Pulling fs layer [2020-09-29T01:04:47.193Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-29T01:04:47.193Z] 209524e5b208: Pulling fs layer [2020-09-29T01:04:47.193Z] 8529a6b9a6be: Waiting [2020-09-29T01:04:47.193Z] 45590311c82a: Waiting [2020-09-29T01:04:47.193Z] 69ca0ff8b7b3: Waiting [2020-09-29T01:04:47.193Z] 209524e5b208: Waiting [2020-09-29T01:04:47.193Z] 99f96fe45779: Verifying Checksum [2020-09-29T01:04:47.193Z] 99f96fe45779: Download complete [2020-09-29T01:04:47.193Z] 74f711af9a0d: Verifying Checksum [2020-09-29T01:04:47.193Z] 74f711af9a0d: Download complete [2020-09-29T01:04:47.193Z] 45590311c82a: Verifying Checksum [2020-09-29T01:04:47.193Z] 45590311c82a: Download complete [2020-09-29T01:04:47.193Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-29T01:04:47.193Z] 69ca0ff8b7b3: Download complete [2020-09-29T01:04:47.193Z] b538f80385f9: Download complete [2020-09-29T01:04:48.199Z] b538f80385f9: Pull complete [2020-09-29T01:04:48.807Z] 74f711af9a0d: Pull complete [2020-09-29T01:04:49.095Z] 99f96fe45779: Pull complete [2020-09-29T01:04:49.692Z] 209524e5b208: Verifying Checksum [2020-09-29T01:04:49.692Z] 209524e5b208: Download complete [2020-09-29T01:04:50.677Z] 8529a6b9a6be: Verifying Checksum [2020-09-29T01:04:50.677Z] 8529a6b9a6be: Download complete [2020-09-29T01:05:00.852Z] 8529a6b9a6be: Pull complete [2020-09-29T01:05:01.132Z] 45590311c82a: Pull complete [2020-09-29T01:05:01.409Z] 69ca0ff8b7b3: Pull complete [2020-09-29T01:05:05.787Z] 209524e5b208: Pull complete [2020-09-29T01:05:05.787Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-29T01:05:05.787Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-29T01:05:05.787Z] ---> 5bddaf1c2fca [2020-09-29T01:05:05.788Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-09-29T01:05:07.773Z] ---> Running in 06f754d24afe [2020-09-29T01:05:08.366Z] Removing intermediate container 06f754d24afe [2020-09-29T01:05:08.366Z] ---> bfd7d02e6f7a [2020-09-29T01:05:08.366Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-29T01:05:08.366Z] ---> Running in 8b8ff494608a [2020-09-29T01:05:10.982Z] Removing intermediate container 8b8ff494608a [2020-09-29T01:05:10.982Z] ---> a3c341675ff2 [2020-09-29T01:05:10.982Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-09-29T01:05:10.982Z] ---> Running in 001d060184a7 [2020-09-29T01:05:12.408Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-29T01:05:13.003Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-29T01:05:13.980Z] (1/14) Installing libmagic (5.38-r0) [2020-09-29T01:05:14.256Z] (2/14) Installing file (5.38-r0) [2020-09-29T01:05:14.256Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-09-29T01:05:14.256Z] (4/14) Installing g++ (9.3.0-r2) [2020-09-29T01:05:19.655Z] (5/14) Installing fortify-headers (1.1-r0) [2020-09-29T01:05:19.928Z] (6/14) Installing patch (2.7.6-r6) [2020-09-29T01:05:19.928Z] (7/14) Installing build-base (0.5-r2) [2020-09-29T01:05:19.928Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-09-29T01:05:20.200Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-09-29T01:05:20.200Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-09-29T01:05:20.802Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-09-29T01:05:20.802Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-09-29T01:05:20.802Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-09-29T01:05:21.075Z] (14/14) Installing openssh (8.3_p1-r0) [2020-09-29T01:05:21.075Z] Executing busybox-1.31.1-r16.trigger [2020-09-29T01:05:21.075Z] OK: 221 MiB in 53 packages [2020-09-29T01:05:25.398Z] Removing intermediate container 001d060184a7 [2020-09-29T01:05:25.398Z] ---> 38bc925e60e1 [2020-09-29T01:05:25.398Z] Step 6/8 : WORKDIR /device-virtual-go [2020-09-29T01:05:25.398Z] ---> Running in c76ad8951471 [2020-09-29T01:05:25.994Z] Removing intermediate container c76ad8951471 [2020-09-29T01:05:25.994Z] ---> 5c2ba02ba1ea [2020-09-29T01:05:25.994Z] Step 7/8 : COPY . . [2020-09-29T01:05:26.973Z] ---> 70286faabbe1 [2020-09-29T01:05:26.973Z] Step 8/8 : RUN go mod download [2020-09-29T01:05:26.973Z] ---> Running in f24e90069a54 [2020-09-29T01:05:53.805Z] Removing intermediate container f24e90069a54 [2020-09-29T01:05:53.805Z] ---> 811ee782c6fe [2020-09-29T01:05:53.805Z] Successfully built 811ee782c6fe [2020-09-29T01:05:53.805Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-29T01:05:54.245Z] + docker inspect -f . ci-base-image-arm64 [2020-09-29T01:05:54.245Z] . [Pipeline] withDockerContainer [2020-09-29T01:05:54.559Z] prd-ubuntu18.04-docker-arm64-4c-16g-1898 does not seem to be running inside a container [2020-09-29T01:05:54.640Z] $ 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 [2020-09-29T01:05:56.531Z] $ docker top 2b3833e8da9ee5acf279de6c2e4032ef08a59b722fab545f27058f92c8ce5972 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-29T01:05:58.001Z] + go version [2020-09-29T01:05:58.001Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-29T01:05:58.042Z] $ docker stop --time=1 2b3833e8da9ee5acf279de6c2e4032ef08a59b722fab545f27058f92c8ce5972 [2020-09-29T01:05:59.984Z] $ docker rm -f 2b3833e8da9ee5acf279de6c2e4032ef08a59b722fab545f27058f92c8ce5972 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-29T01:06:01.493Z] + docker inspect -f . ci-base-image-arm64 [2020-09-29T01:06:01.493Z] . [Pipeline] withDockerContainer [2020-09-29T01:06:01.797Z] prd-ubuntu18.04-docker-arm64-4c-16g-1898 does not seem to be running inside a container [2020-09-29T01:06:01.886Z] $ 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 [2020-09-29T01:06:03.746Z] $ docker top 31d545324cbfa4e20c5b7d9c13d16c8d319825c36ae691db00e0784ef2699894 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-29T01:06:05.213Z] + make test [2020-09-29T01:06:05.214Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-09-29T01:06:06.200Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-09-29T01:06:45.271Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-09-29T01:06:45.548Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.650s coverage: 56.4% of statements [2020-09-29T01:06:45.822Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-29T01:06:54.133Z] gofmt -l . [2020-09-29T01:06:54.133Z] [ "`gofmt -l .`" = "" ] [2020-09-29T01:06:54.133Z] ./bin/test-attribution-txt.sh [2020-09-29T01:06:55.112Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-29T01:06:55.750Z] Warning: overwriting stash ‘coverage-report’ [2020-09-29T01:06:56.508Z] Stashed 1 file(s) [Pipeline] } [2020-09-29T01:06:56.535Z] $ docker stop --time=1 31d545324cbfa4e20c5b7d9c13d16c8d319825c36ae691db00e0784ef2699894 [2020-09-29T01:06:58.698Z] $ docker rm -f 31d545324cbfa4e20c5b7d9c13d16c8d319825c36ae691db00e0784ef2699894 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-29T01:07:00.190Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-29T01:07:00.541Z] + ls -al . [2020-09-29T01:07:00.541Z] total 140 [2020-09-29T01:07:00.541Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 29 01:06 . [2020-09-29T01:07:00.541Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 01:04 .. [2020-09-29T01:07:00.541Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 29 01:04 .git [2020-09-29T01:07:00.541Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 01:04 .github [2020-09-29T01:07:00.541Z] -rw-rw-r-- 1 jenkins jenkins 258 Sep 29 01:04 .gitignore [2020-09-29T01:07:00.541Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 01:04 .semver [2020-09-29T01:07:00.541Z] -rw-rw-r-- 1 jenkins jenkins 6036 Sep 29 01:04 Attribution.txt [2020-09-29T01:07:00.541Z] -rw-rw-r-- 1 jenkins jenkins 1834 Sep 29 01:04 Dockerfile [2020-09-29T01:07:00.541Z] -rw-rw-r-- 1 jenkins jenkins 957 Sep 29 01:04 Dockerfile.build [2020-09-29T01:07:00.541Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 29 01:04 Jenkinsfile [2020-09-29T01:07:00.541Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 29 01:04 LICENSE [2020-09-29T01:07:00.541Z] -rw-rw-r-- 1 jenkins jenkins 873 Sep 29 01:04 Makefile [2020-09-29T01:07:00.541Z] -rw-rw-r-- 1 jenkins jenkins 918 Sep 29 01:04 README.md [2020-09-29T01:07:00.541Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 29 01:01 VERSION [2020-09-29T01:07:00.541Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 01:04 bin [2020-09-29T01:07:00.541Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 01:04 cmd [2020-09-29T01:07:00.541Z] -rw-r--r-- 1 jenkins jenkins 29142 Sep 29 01:06 coverage.out [2020-09-29T01:07:00.541Z] -rw-r--r-- 1 jenkins jenkins 439 Sep 29 01:06 go.mod [2020-09-29T01:07:00.541Z] -rw-r--r-- 1 jenkins jenkins 16621 Sep 29 01:06 go.sum [2020-09-29T01:07:00.541Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 01:04 internal [2020-09-29T01:07:00.541Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 29 01:04 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-29T01:07:00.922Z] + 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=32432350234859e57aa5f114883a5ba345eb8ad4 --label arch=arm64 --label version=0.0.0 . [2020-09-29T01:07:01.192Z] Sending build context to Docker daemon 677.9kB [2020-09-29T01:07:01.192Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-09-29T01:07:01.192Z] Step 2/22 : FROM ${BASE} AS builder [2020-09-29T01:07:01.192Z] ---> 811ee782c6fe [2020-09-29T01:07:01.192Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-09-29T01:07:01.465Z] ---> Running in 6c103969e831 [2020-09-29T01:07:01.739Z] Removing intermediate container 6c103969e831 [2020-09-29T01:07:01.739Z] ---> d56ca02bdd41 [2020-09-29T01:07:01.739Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-09-29T01:07:02.010Z] ---> Running in edae3eeb4631 [2020-09-29T01:07:02.283Z] Removing intermediate container edae3eeb4631 [2020-09-29T01:07:02.283Z] ---> d8c86bc218e6 [2020-09-29T01:07:02.283Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-09-29T01:07:02.556Z] ---> Running in 4494badd6ace [2020-09-29T01:07:02.832Z] Removing intermediate container 4494badd6ace [2020-09-29T01:07:02.832Z] ---> 3f96d320807e [2020-09-29T01:07:02.832Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-29T01:07:03.109Z] ---> Running in dc867e83cea8 [2020-09-29T01:07:05.727Z] Removing intermediate container dc867e83cea8 [2020-09-29T01:07:05.727Z] ---> 83edae3777ac [2020-09-29T01:07:05.727Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-29T01:07:05.727Z] ---> Running in 41e892b30c57 [2020-09-29T01:07:07.156Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-29T01:07:07.751Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-29T01:07:08.349Z] OK: 221 MiB in 53 packages [2020-09-29T01:07:09.329Z] Removing intermediate container 41e892b30c57 [2020-09-29T01:07:09.329Z] ---> 7aa612004fdb [2020-09-29T01:07:09.329Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-09-29T01:07:09.614Z] ---> Running in a606d5b5e0ae [2020-09-29T01:07:09.888Z] Removing intermediate container a606d5b5e0ae [2020-09-29T01:07:09.888Z] ---> ea62789235c3 [2020-09-29T01:07:09.888Z] Step 9/22 : COPY . . [2020-09-29T01:07:10.866Z] ---> 75685fc6dc7f [2020-09-29T01:07:10.866Z] Step 10/22 : ARG MAKE='make build' [2020-09-29T01:07:11.138Z] ---> Running in 6d3295a9fda1 [2020-09-29T01:07:11.409Z] Removing intermediate container 6d3295a9fda1 [2020-09-29T01:07:11.409Z] ---> d633d9f7b496 [2020-09-29T01:07:11.409Z] Step 11/22 : RUN $MAKE [2020-09-29T01:07:11.680Z] ---> Running in 96be190e4680 [2020-09-29T01:07:13.125Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2020-09-29T01:07:45.494Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-09-29T01:07:50.893Z] Removing intermediate container 96be190e4680 [2020-09-29T01:07:50.893Z] ---> f6806717a713 [2020-09-29T01:07:50.893Z] Step 12/22 : FROM alpine [2020-09-29T01:07:51.163Z] latest: Pulling from library/alpine [2020-09-29T01:07:51.438Z] b538f80385f9: Already exists [2020-09-29T01:07:51.438Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-09-29T01:07:51.438Z] Status: Downloaded newer image for alpine:latest [2020-09-29T01:07:51.438Z] ---> 62ee0e9f8440 [2020-09-29T01:07:51.438Z] Step 13/22 : ENV APP_PORT=49990 [2020-09-29T01:07:51.716Z] ---> Running in 8acf139b9e35 [2020-09-29T01:07:51.989Z] Removing intermediate container 8acf139b9e35 [2020-09-29T01:07:51.989Z] ---> a91476c1b4be [2020-09-29T01:07:51.989Z] Step 14/22 : EXPOSE $APP_PORT [2020-09-29T01:07:52.261Z] ---> Running in 5b55097d347f [2020-09-29T01:07:52.530Z] Removing intermediate container 5b55097d347f [2020-09-29T01:07:52.531Z] ---> 05844e380ee5 [2020-09-29T01:07:52.531Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-09-29T01:07:53.969Z] ---> 15e6af7c93e2 [2020-09-29T01:07:53.969Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-09-29T01:07:54.954Z] ---> d1254b092717 [2020-09-29T01:07:54.954Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-09-29T01:07:55.569Z] ---> e0924faf9888 [2020-09-29T01:07:55.569Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2020-09-29T01:07:55.569Z] ---> Running in 00a209956bd7 [2020-09-29T01:07:56.166Z] Removing intermediate container 00a209956bd7 [2020-09-29T01:07:56.166Z] ---> dbc791951558 [2020-09-29T01:07:56.166Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-29T01:07:56.166Z] ---> Running in b2d9d275fc8d [2020-09-29T01:07:56.762Z] Removing intermediate container b2d9d275fc8d [2020-09-29T01:07:56.762Z] ---> ddc684d7be01 [2020-09-29T01:07:56.762Z] Step 20/22 : LABEL arch=arm64 [2020-09-29T01:07:56.762Z] ---> Running in 203f2dce10a0 [2020-09-29T01:07:57.035Z] Removing intermediate container 203f2dce10a0 [2020-09-29T01:07:57.035Z] ---> d300bb153036 [2020-09-29T01:07:57.035Z] Step 21/22 : LABEL git_sha=32432350234859e57aa5f114883a5ba345eb8ad4 [2020-09-29T01:07:57.308Z] ---> Running in db3cb88c6671 [2020-09-29T01:07:57.585Z] Removing intermediate container db3cb88c6671 [2020-09-29T01:07:57.585Z] ---> 2671504cb0ac [2020-09-29T01:07:57.585Z] Step 22/22 : LABEL version=0.0.0 [2020-09-29T01:07:57.856Z] ---> Running in d09be2e92a00 [2020-09-29T01:07:58.126Z] Removing intermediate container d09be2e92a00 [2020-09-29T01:07:58.126Z] ---> 92dd62662cb3 [2020-09-29T01:07:58.126Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-29T01:07:58.126Z] Successfully built 92dd62662cb3 [2020-09-29T01:07:58.398Z] Successfully tagged docker-device-virtual-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-09-29T01:08:01.078Z] provisioning config files... [2020-09-29T01:08:01.097Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-136@tmp/config2246671808654592902tmp [Pipeline] { [Pipeline] sh [2020-09-29T01:08:01.524Z] + set +x [2020-09-29T01:08:01.524Z] + curl -s https://codecov.io/bash [2020-09-29T01:08:01.524Z] + bash -s -- [2020-09-29T01:08:01.794Z] [2020-09-29T01:08:01.794Z] _____ _ [2020-09-29T01:08:01.794Z] / ____| | | [2020-09-29T01:08:01.794Z] | | ___ __| | ___ ___ _____ __ [2020-09-29T01:08:01.794Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-09-29T01:08:01.794Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-09-29T01:08:01.794Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-09-29T01:08:01.794Z] Bash-20200917-4e8f14b [2020-09-29T01:08:01.794Z] [2020-09-29T01:08:01.794Z] [2020-09-29T01:08:01.794Z] ==> Jenkins CI detected. [2020-09-29T01:08:01.794Z] project root: . [2020-09-29T01:08:01.794Z] --> token set from env [2020-09-29T01:08:01.794Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-09-29T01:08:01.794Z] ==> Running gcov in . (disable via -X gcov) [2020-09-29T01:08:01.794Z] ==> Python coveragepy not found [2020-09-29T01:08:01.794Z] ==> Searching for coverage reports in: [2020-09-29T01:08:01.794Z] + . [2020-09-29T01:08:01.794Z] -> Found 1 reports [2020-09-29T01:08:01.794Z] ==> Detecting git/mercurial file structure [2020-09-29T01:08:01.794Z] ==> Reading reports [2020-09-29T01:08:01.794Z] + ./coverage.out bytes=29142 [2020-09-29T01:08:01.794Z] ==> Appending adjustments [2020-09-29T01:08:01.794Z] https://docs.codecov.io/docs/fixing-reports [2020-09-29T01:08:02.064Z] + Found adjustments [2020-09-29T01:08:02.064Z] ==> Gzipping contents [2020-09-29T01:08:02.064Z] ==> Uploading reports [2020-09-29T01:08:02.064Z] url: https://codecov.io [2020-09-29T01:08:02.064Z] query: branch=PR-136&commit=32432350234859e57aa5f114883a5ba345eb8ad4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-136%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=136&job=&cmd_args= [2020-09-29T01:08:02.064Z] -> Pinging Codecov [2020-09-29T01:08:02.064Z] https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-136&commit=32432350234859e57aa5f114883a5ba345eb8ad4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-136%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=136&job=&cmd_args= [2020-09-29T01:08:03.037Z] -> Uploading to [2020-09-29T01:08:03.037Z] https://storage.googleapis.com/codecov/v4/raw/2020-09-29/5E52B4B073DB2E39498172D8E973AA87/32432350234859e57aa5f114883a5ba345eb8ad4/1f8418bb-6d81-4c4f-bcf9-a9f1b00de4d3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20200929%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20200929T010802Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4f1869bc5e60ca6af5cf850dbc7e5e387c400aa4c7b014262a39a76ca05835d0 [2020-09-29T01:08:03.037Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-09-29T01:08:03.037Z] Dload Upload Total Spent Left Speed [2020-09-29T01:08:03.309Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3704 0 0 100 3704 0 8103 --:--:-- --:--:-- --:--:-- 8105 100 3704 0 0 100 3704 0 8098 --:--:-- --:--:-- --:--:-- 8087 [2020-09-29T01:08:03.590Z] -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/32432350234859e57aa5f114883a5ba345eb8ad4 [Pipeline] } [2020-09-29T01:08:03.616Z] 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] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-09-29T01:08:07.685Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-29T01:08:08.295Z] ---> package-listing.sh [2020-09-29T01:08:08.295Z] ++ facter osfamily [2020-09-29T01:08:08.295Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-29T01:08:08.563Z] + OS_FAMILY=redhat [2020-09-29T01:08:08.563Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-136 [2020-09-29T01:08:08.563Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-29T01:08:08.563Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-29T01:08:08.563Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-29T01:08:08.563Z] + PACKAGES=/tmp/packages_start.txt [2020-09-29T01:08:08.563Z] + '[' /w/workspace/foundry_device-virtual-go_PR-136 ']' [2020-09-29T01:08:08.563Z] + PACKAGES=/tmp/packages_end.txt [2020-09-29T01:08:08.563Z] + case "${OS_FAMILY}" in [2020-09-29T01:08:08.563Z] + rpm -qa [2020-09-29T01:08:08.563Z] + sort [2020-09-29T01:08:11.901Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-29T01:08:11.901Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-29T01:08:11.901Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-29T01:08:11.901Z] + '[' /w/workspace/foundry_device-virtual-go_PR-136 ']' [2020-09-29T01:08:11.901Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-136/archives/ [2020-09-29T01:08:11.901Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-136/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-29T01:08:12.189Z] provisioning config files... [2020-09-29T01:08:12.214Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-136@tmp/config439505586383162371tmp [Pipeline] { [Pipeline] echo [2020-09-29T01:08:12.348Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-29T01:08:12.691Z] ---> create-netrc.sh [Pipeline] } [2020-09-29T01:08:12.715Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-09-29T01:08:12.872Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-29T01:08:13.214Z] ---> python-tools-install.sh [2020-09-29T01:08:13.214Z] Generating Requirements File [2020-09-29T01:09:50.334Z] Python 3.6.8 [2020-09-29T01:09:50.933Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-09-29T01:09:51.907Z] aiohttp==3.6.2 [2020-09-29T01:09:51.907Z] appdirs==1.4.3 [2020-09-29T01:09:51.907Z] argcomplete==1.12.1 [2020-09-29T01:09:51.907Z] aspy.yaml==1.3.0 [2020-09-29T01:09:51.907Z] async-timeout==3.0.1 [2020-09-29T01:09:51.907Z] attrs==19.3.0 [2020-09-29T01:09:51.907Z] Babel==2.8.0 [2020-09-29T01:09:51.907Z] beautifulsoup4==4.8.2 [2020-09-29T01:09:51.907Z] boto3==1.11.6 [2020-09-29T01:09:51.907Z] botocore==1.14.6 [2020-09-29T01:09:51.907Z] bs4==0.0.1 [2020-09-29T01:09:51.907Z] cachetools==4.1.1 [2020-09-29T01:09:51.907Z] certifi==2019.11.28 [2020-09-29T01:09:51.907Z] cffi==1.14.3 [2020-09-29T01:09:51.907Z] cfgv==2.0.1 [2020-09-29T01:09:51.907Z] chardet==3.0.4 [2020-09-29T01:09:51.907Z] click==7.1 [2020-09-29T01:09:51.907Z] cliff==3.4.0 [2020-09-29T01:09:51.907Z] cmd2==1.3.10 [2020-09-29T01:09:51.907Z] colorama==0.4.3 [2020-09-29T01:09:51.907Z] cryptography==3.1.1 [2020-09-29T01:09:51.907Z] debtcollector==2.2.0 [2020-09-29T01:09:51.907Z] decorator==4.4.2 [2020-09-29T01:09:51.907Z] defusedxml==0.6.0 [2020-09-29T01:09:51.907Z] Deprecated==1.2.7 [2020-09-29T01:09:51.907Z] distlib==0.3.1 [2020-09-29T01:09:51.907Z] distro==1.2.0 [2020-09-29T01:09:51.907Z] dnspython==1.16.0 [2020-09-29T01:09:51.907Z] docker==4.2.0 [2020-09-29T01:09:51.907Z] docutils==0.15.2 [2020-09-29T01:09:51.907Z] dogpile.cache==1.0.2 [2020-09-29T01:09:51.907Z] email-validator==1.0.5 [2020-09-29T01:09:51.907Z] filelock==3.0.12 [2020-09-29T01:09:51.907Z] future==0.18.2 [2020-09-29T01:09:51.907Z] google-auth==1.22.0 [2020-09-29T01:09:51.907Z] httplib2==0.17.0 [2020-09-29T01:09:51.907Z] identify==1.4.11 [2020-09-29T01:09:51.907Z] idna==2.9 [2020-09-29T01:09:51.907Z] idna-ssl==1.1.0 [2020-09-29T01:09:51.907Z] importlib-metadata==1.7.0 [2020-09-29T01:09:51.907Z] importlib-resources==1.5.0 [2020-09-29T01:09:51.907Z] iso8601==0.1.13 [2020-09-29T01:09:51.907Z] Jinja2==2.11.1 [2020-09-29T01:09:51.907Z] jmespath==0.10.0 [2020-09-29T01:09:51.907Z] jsonpatch==1.26 [2020-09-29T01:09:51.907Z] jsonpointer==2.0 [2020-09-29T01:09:51.907Z] jsonschema==3.2.0 [2020-09-29T01:09:51.907Z] keystoneauth1==4.2.1 [2020-09-29T01:09:51.907Z] kubernetes==11.0.0 [2020-09-29T01:09:51.907Z] lftools==0.34.2 [2020-09-29T01:09:51.907Z] lxml==4.5.0 [2020-09-29T01:09:51.907Z] MarkupSafe==0.23 [2020-09-29T01:09:51.907Z] msgpack==1.0.0 [2020-09-29T01:09:51.907Z] multi-key-dict==2.0.3 [2020-09-29T01:09:51.907Z] multidict==4.7.6 [2020-09-29T01:09:51.907Z] munch==2.5.0 [2020-09-29T01:09:51.907Z] netaddr==0.8.0 [2020-09-29T01:09:51.907Z] netifaces==0.10.9 [2020-09-29T01:09:51.907Z] niet==1.4.2 [2020-09-29T01:09:51.907Z] nodeenv==1.3.5 [2020-09-29T01:09:51.907Z] oauth2client==4.1.3 [2020-09-29T01:09:51.907Z] oauthlib==3.1.0 [2020-09-29T01:09:51.907Z] openstacksdk==0.50.0 [2020-09-29T01:09:51.907Z] os-client-config==2.1.0 [2020-09-29T01:09:51.907Z] os-service-types==1.7.0 [2020-09-29T01:09:51.907Z] osc-lib==2.2.1 [2020-09-29T01:09:51.907Z] oslo.config==8.3.2 [2020-09-29T01:09:51.907Z] oslo.context==3.1.1 [2020-09-29T01:09:51.907Z] oslo.i18n==5.0.1 [2020-09-29T01:09:51.907Z] oslo.log==4.4.0 [2020-09-29T01:09:51.907Z] oslo.serialization==4.0.1 [2020-09-29T01:09:51.907Z] oslo.utils==4.6.0 [2020-09-29T01:09:51.907Z] packaging==20.4 [2020-09-29T01:09:51.907Z] pbr==5.4.4 [2020-09-29T01:09:51.907Z] pluggy==0.13.1 [2020-09-29T01:09:51.907Z] prettytable==0.7.2 [2020-09-29T01:09:51.907Z] py==1.9.0 [2020-09-29T01:09:51.907Z] pyasn1==0.4.8 [2020-09-29T01:09:51.907Z] pyasn1-modules==0.2.8 [2020-09-29T01:09:51.907Z] pycparser==2.20 [2020-09-29T01:09:51.907Z] pygerrit2==2.0.10 [2020-09-29T01:09:51.907Z] PyGithub==1.46 [2020-09-29T01:09:51.907Z] pyinotify==0.9.6 [2020-09-29T01:09:51.907Z] PyJWT==1.7.1 [2020-09-29T01:09:51.907Z] pyparsing==2.4.7 [2020-09-29T01:09:51.907Z] pyperclip==1.8.0 [2020-09-29T01:09:51.907Z] pyroute2==0.4.13 [2020-09-29T01:09:51.907Z] pyrsistent==0.15.7 [2020-09-29T01:09:51.907Z] PySocks==1.6.8 [2020-09-29T01:09:51.907Z] python-cinderclient==7.2.0 [2020-09-29T01:09:51.907Z] python-dateutil==2.8.1 [2020-09-29T01:09:51.907Z] python-heatclient==2.2.1 [2020-09-29T01:09:51.907Z] python-jenkins==1.7.0 [2020-09-29T01:09:51.907Z] python-keystoneclient==4.1.1 [2020-09-29T01:09:51.907Z] python-magnumclient==3.2.1 [2020-09-29T01:09:51.907Z] python-novaclient==17.2.1 [2020-09-29T01:09:51.907Z] python-openstackclient==5.3.1 [2020-09-29T01:09:51.907Z] python-swiftclient==3.10.1 [2020-09-29T01:09:51.907Z] pytz==2020.1 [2020-09-29T01:09:51.907Z] PyYAML==5.3 [2020-09-29T01:09:51.907Z] requests==2.23.0 [2020-09-29T01:09:51.907Z] requests-oauthlib==1.3.0 [2020-09-29T01:09:51.907Z] requestsexceptions==1.4.0 [2020-09-29T01:09:51.907Z] rfc3986==1.4.0 [2020-09-29T01:09:51.907Z] rpm==4.11.3 [2020-09-29T01:09:51.907Z] rsa==4.0 [2020-09-29T01:09:51.907Z] ruamel.yaml==0.16.10 [2020-09-29T01:09:51.907Z] ruamel.yaml.clib==0.2.0 [2020-09-29T01:09:51.907Z] s3transfer==0.3.3 [2020-09-29T01:09:51.907Z] shade==1.27.2 [2020-09-29T01:09:51.907Z] simplejson==3.17.2 [2020-09-29T01:09:51.907Z] six==1.14.0 [2020-09-29T01:09:51.907Z] soupsieve==2.0 [2020-09-29T01:09:51.907Z] stevedore==3.2.2 [2020-09-29T01:09:51.907Z] tabulate==0.8.6 [2020-09-29T01:09:51.907Z] toml==0.10.0 [2020-09-29T01:09:51.907Z] tox==3.20.0 [2020-09-29T01:09:51.907Z] tqdm==4.43.0 [2020-09-29T01:09:51.907Z] typing-extensions==3.7.4.3 [2020-09-29T01:09:51.907Z] urllib3==1.25.8 [2020-09-29T01:09:51.907Z] virtualenv==20.0.31 [2020-09-29T01:09:51.907Z] wcwidth==0.2.5 [2020-09-29T01:09:51.907Z] websocket-client==0.57.0 [2020-09-29T01:09:51.907Z] wrapt==1.12.1 [2020-09-29T01:09:51.907Z] xdg==3.0.2 [2020-09-29T01:09:51.907Z] xmltodict==0.12.0 [2020-09-29T01:09:51.907Z] yarl==1.6.0 [2020-09-29T01:09:51.907Z] yq==2.11.1 [2020-09-29T01:09:51.907Z] zipp==3.2.0 [2020-09-29T01:09:53.307Z] Cache entry deserialization failed, entry ignored [2020-09-29T01:09:56.649Z] DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. [2020-09-29T01:10:00.971Z] Python 2.7.5 [2020-09-29T01:10:00.971Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-09-29T01:10:01.248Z] DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. [2020-09-29T01:10:01.248Z] ansible==2.9.7 [2020-09-29T01:10:01.248Z] Babel==0.9.6 [2020-09-29T01:10:01.248Z] backports.ssl-match-hostname==3.5.0.1 [2020-09-29T01:10:01.248Z] beautifulsoup4==4.4.1 [2020-09-29T01:10:01.248Z] bodhi==2.11.0 [2020-09-29T01:10:01.248Z] bodhi-client==2.11.0 [2020-09-29T01:10:01.248Z] CCColUtils==1.4 [2020-09-29T01:10:01.248Z] cffi==1.6.0 [2020-09-29T01:10:01.248Z] chardet==2.2.1 [2020-09-29T01:10:01.248Z] click==6.7 [2020-09-29T01:10:01.248Z] cloud-init==18.5 [2020-09-29T01:10:01.248Z] configobj==4.7.2 [2020-09-29T01:10:01.248Z] cryptography==1.7.2 [2020-09-29T01:10:01.248Z] decorator==3.4.0 [2020-09-29T01:10:01.248Z] distro==1.2.0 [2020-09-29T01:10:01.248Z] enum34==1.0.4 [2020-09-29T01:10:01.248Z] fedpkg==1.38 [2020-09-29T01:10:01.248Z] futures==3.1.1 [2020-09-29T01:10:01.248Z] gitdb==0.6.4 [2020-09-29T01:10:01.248Z] GitPython==1.0.1 [2020-09-29T01:10:01.248Z] html5lib==0.999 [2020-09-29T01:10:01.248Z] httplib2==0.9.2 [2020-09-29T01:10:01.248Z] idna==2.4 [2020-09-29T01:10:01.248Z] iniparse==0.4 [2020-09-29T01:10:01.248Z] ipaddress==1.0.16 [2020-09-29T01:10:01.248Z] IPy==0.75 [2020-09-29T01:10:01.248Z] javapackages==1.0.0 [2020-09-29T01:10:01.248Z] Jinja2==2.7.2 [2020-09-29T01:10:01.248Z] jmespath==0.9.4 [2020-09-29T01:10:01.248Z] jsonpatch==1.2 [2020-09-29T01:10:01.248Z] jsonpointer==1.9 [2020-09-29T01:10:01.248Z] kerberos==1.1 [2020-09-29T01:10:01.248Z] kitchen==1.1.1 [2020-09-29T01:10:01.248Z] langtable==0.0.31 [2020-09-29T01:10:01.248Z] lockfile==0.9.1 [2020-09-29T01:10:01.248Z] lxml==3.2.1 [2020-09-29T01:10:01.248Z] MarkupSafe==0.11 [2020-09-29T01:10:01.248Z] munch==2.0.2 [2020-09-29T01:10:01.248Z] offtrac==0.1.0 [2020-09-29T01:10:01.248Z] openidc-client==0.6.0 [2020-09-29T01:10:01.248Z] packagedb-cli==2.14.1 [2020-09-29T01:10:01.248Z] paramiko==2.1.1 [2020-09-29T01:10:01.248Z] perf==0.1 [2020-09-29T01:10:01.248Z] ply==3.4 [2020-09-29T01:10:01.248Z] policycoreutils-default-encoding==0.1 [2020-09-29T01:10:01.248Z] prettytable==0.7.2 [2020-09-29T01:10:01.248Z] pyasn1==0.1.9 [2020-09-29T01:10:01.248Z] pycparser==2.14 [2020-09-29T01:10:01.248Z] pycurl==7.19.0 [2020-09-29T01:10:01.248Z] pygobject==3.22.0 [2020-09-29T01:10:01.248Z] pygpgme==0.3 [2020-09-29T01:10:01.248Z] pyliblzma==0.5.3 [2020-09-29T01:10:01.248Z] pyOpenSSL==0.13.1 [2020-09-29T01:10:01.248Z] pyparsing==1.5.6 [2020-09-29T01:10:01.248Z] pyserial==2.6 [2020-09-29T01:10:01.248Z] python-augeas==0.5.0 [2020-09-29T01:10:01.248Z] python-bugzilla==2.3.0 [2020-09-29T01:10:01.248Z] python-dateutil==1.5 [2020-09-29T01:10:01.248Z] python-fedora==0.10.0 [2020-09-29T01:10:01.248Z] python-linux-procfs==0.4.9 [2020-09-29T01:10:01.248Z] python-yubico==1.2.3 [2020-09-29T01:10:01.248Z] pyudev==0.15 [2020-09-29T01:10:01.248Z] pyusb==1.0.0b1 [2020-09-29T01:10:01.248Z] pyxattr==0.5.1 [2020-09-29T01:10:01.248Z] PyYAML==3.10 [2020-09-29T01:10:01.248Z] requests==2.6.0 [2020-09-29T01:10:01.248Z] requests-kerberos==0.7.0 [2020-09-29T01:10:01.248Z] rpkg==1.60 [2020-09-29T01:10:01.248Z] schedutils==0.4 [2020-09-29T01:10:01.248Z] seobject==0.1 [2020-09-29T01:10:01.248Z] sepolicy==1.1 [2020-09-29T01:10:01.248Z] six==1.9.0 [2020-09-29T01:10:01.248Z] smmap==0.9.0 [2020-09-29T01:10:01.248Z] urlgrabber==3.10 [2020-09-29T01:10:01.248Z] urllib3==1.10.2 [2020-09-29T01:10:01.248Z] virtualenv==15.1.0 [2020-09-29T01:10:01.248Z] yum-langpacks==0.4.2 [2020-09-29T01:10:01.248Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-09-29T01:10:01.547Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-29T01:10:01.909Z] ---> sudo-logs.sh [2020-09-29T01:10:01.909Z] Archiving 'sudo' log.. [Pipeline] echo [2020-09-29T01:10:02.210Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-29T01:10:02.575Z] ---> job-cost.sh [2020-09-29T01:10:02.575Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qfdj [2020-09-29T01:10:17.596Z] Cache entry deserialization failed, entry ignored [2020-09-29T01:10:17.596Z] Cache entry deserialization failed, entry ignored [2020-09-29T01:10:17.596Z] Cache entry deserialization failed, entry ignored [2020-09-29T01:10:17.596Z] Cache entry deserialization failed, entry ignored [2020-09-29T01:10:17.596Z] Cache entry deserialization failed, entry ignored [2020-09-29T01:10:17.596Z] Cache entry deserialization failed, entry ignored [2020-09-29T01:10:17.596Z] Cache entry deserialization failed, entry ignored [2020-09-29T01:10:17.596Z] Cache entry deserialization failed, entry ignored [2020-09-29T01:10:17.874Z] Cache entry deserialization failed, entry ignored [2020-09-29T01:10:18.140Z] Cache entry deserialization failed, entry ignored [2020-09-29T01:10:18.140Z] Cache entry deserialization failed, entry ignored [2020-09-29T01:10:18.408Z] Cache entry deserialization failed, entry ignored [2020-09-29T01:10:18.408Z] Cache entry deserialization failed, entry ignored [2020-09-29T01:10:22.679Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-09-29T01:11:01.630Z] ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts. [2020-09-29T01:11:01.630Z] [2020-09-29T01:11:01.630Z] We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. [2020-09-29T01:11:01.630Z] [2020-09-29T01:11:01.630Z] virtualenv 20.0.31 requires importlib-metadata<2,>=0.12; python_version < "3.8", but you'll have importlib-metadata 2.0.0 which is incompatible. [2020-09-29T01:11:01.630Z] lf-activate-venv(): INFO: Adding /tmp/venv-qfdj/bin to PATH [2020-09-29T01:11:01.630Z] INFO: No Stack... [2020-09-29T01:11:01.630Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-09-29T01:11:01.630Z] INFO: Archiving Costs [Pipeline] echo [2020-09-29T01:11:01.678Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-29T01:11:02.063Z] ---> logs-deploy.sh [2020-09-29T01:11:02.063Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-136/1 [2020-09-29T01:11:02.063Z] INFO: archiving workspace using pattern(s): [2020-09-29T01:11:04.660Z] Archives upload complete. [2020-09-29T01:11:04.660Z] INFO: archiving logs to Nexus