Pull request #624 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 1ad5bff171402c01e136b41b63c15df401bca220+833c05b782f270c396ee40879762f076aaf9331e (1066a0016706d2056e26a6fc6233ad3da965c627) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-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: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 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 Running on prd-centos7-docker-4c-2g-4230 in /w/workspace/dgexfoundry_device-sdk-go_PR-624 [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-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-624 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/624/head:refs/remotes/origin/PR-624 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit 1ad5bff171402c01e136b41b63c15df401bca220 Merge succeeded, producing 1ad5bff171402c01e136b41b63c15df401bca220 Checking out Revision 1ad5bff171402c01e136b41b63c15df401bca220 (PR-624) > git config core.sparsecheckout # timeout=10 > git checkout -f 1ad5bff171402c01e136b41b63c15df401bca220 # 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 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1ad5bff171402c01e136b41b63c15df401bca220 # timeout=10 Commit message: "refactor(sdk): release lock after discovery complete" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-08T14:03:42.616Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk 2b3c4a00fd70430e686b8f61c86dff2da509235e # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-08T14:03:42.908Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-08T14:03:43.031Z] ========================================================= [2020-10-08T14:03:43.031Z] EdgeX Global Pipelines Version Info [2020-10-08T14:03:43.032Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-08T14:03:44.569Z] ------------------- [2020-10-08T14:03:44.569Z] stable info: [2020-10-08T14:03:44.569Z] ------------------- [2020-10-08T14:03:44.569Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-08T14:03:44.569Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-08T14:03:44.569Z] Message: update stable to v1.0.131 [2020-10-08T14:03:45.531Z] ------------------- [2020-10-08T14:03:45.531Z] experimental info: [2020-10-08T14:03:45.531Z] ------------------- [2020-10-08T14:03:45.531Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-08T14:03:45.531Z] Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a [2020-10-08T14:03:45.531Z] Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-08T14:03:45.997Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-08T14:03:46.100Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-08T14:03:46.201Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-08T14:03:46.326Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-08T14:03:46.477Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-08T14:03:46.702Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-08T14:03:46.795Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-08T14:03:46.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-08T14:03:47.008Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-08T14:03:47.103Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-08T14:03:47.231Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-08T14:03:47.327Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-08T14:03:47.424Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-08T14:03:47.597Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-08T14:03:47.693Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-08T14:03:47.805Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-08T14:03:47.913Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-08T14:03:48.009Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-08T14:03:48.104Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-08T14:03:48.197Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-08T14:03:48.321Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-08T14:03:48.442Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-08T14:03:48.545Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-08T14:03:48.684Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-08T14:03:48.783Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-08T14:03:48.882Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-624 [Pipeline] echo [2020-10-08T14:03:49.000Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-624 [Pipeline] echo [2020-10-08T14:03:49.102Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-624 [Pipeline] echo [2020-10-08T14:03:49.210Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1ad5bff171402c01e136b41b63c15df401bca220 [Pipeline] echo [2020-10-08T14:03:49.302Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1ad5bff [Pipeline] echo [2020-10-08T14:03:49.402Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-08T14:03:50.031Z] + git log --format=format:%s -1 1ad5bff171402c01e136b41b63c15df401bca220 [Pipeline] echo [2020-10-08T14:03:50.107Z] GIT_COMMIT: 1ad5bff171402c01e136b41b63c15df401bca220, Commit Message: refactor(sdk): release lock after discovery complete [Pipeline] echo [2020-10-08T14:03:50.178Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-08T14:03:51.006Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-08T14:03:51.268Z] [2020-10-08T14:03:51.268Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-08T14:03:51.621Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-08T14:03:51.622Z] latest: Pulling from edgex-devops/git-semver [2020-10-08T14:03:51.622Z] 31603596830f: Pulling fs layer [2020-10-08T14:03:51.622Z] 2a8b12db71e7: Pulling fs layer [2020-10-08T14:03:51.622Z] 6ca5941a6612: Pulling fs layer [2020-10-08T14:03:51.622Z] ecc8261a40a4: Pulling fs layer [2020-10-08T14:03:51.622Z] ecc8261a40a4: Waiting [2020-10-08T14:03:51.622Z] 2a8b12db71e7: Verifying Checksum [2020-10-08T14:03:51.622Z] 2a8b12db71e7: Download complete [2020-10-08T14:03:51.889Z] 31603596830f: Download complete [2020-10-08T14:03:52.154Z] ecc8261a40a4: Verifying Checksum [2020-10-08T14:03:52.154Z] ecc8261a40a4: Download complete [2020-10-08T14:03:52.154Z] 6ca5941a6612: Verifying Checksum [2020-10-08T14:03:52.154Z] 6ca5941a6612: Download complete [2020-10-08T14:03:52.154Z] 31603596830f: Pull complete [2020-10-08T14:03:52.427Z] 2a8b12db71e7: Pull complete [2020-10-08T14:03:53.003Z] 6ca5941a6612: Pull complete [2020-10-08T14:03:53.579Z] ecc8261a40a4: Pull complete [2020-10-08T14:03:53.579Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-08T14:03:53.579Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-08T14:03:53.579Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-08T14:03:53.689Z] prd-centos7-docker-4c-2g-4230 does not seem to be running inside a container [2020-10-08T14:03:53.740Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-624 -v /w/workspace/dgexfoundry_device-sdk-go_PR-624:/w/workspace/dgexfoundry_device-sdk-go_PR-624:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-624@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-624@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-08T14:03:55.654Z] $ docker top a3fb672a038073885838883b6ee59d41bea63ac14f6ab3e49602d4f0e79f6eb5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-08T14:03:56.010Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-08T14:03:56.010Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-08T14:03:56.215Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-08T14:03:56.222Z] $ docker exec a3fb672a038073885838883b6ee59d41bea63ac14f6ab3e49602d4f0e79f6eb5 ssh-agent [2020-10-08T14:03:56.376Z] SSH_AUTH_SOCK=/tmp/ssh-hbrQKai1kxXl/agent.12 [2020-10-08T14:03:56.376Z] SSH_AGENT_PID=17 [2020-10-08T14:03:56.391Z] Running ssh-add (command line suppressed) [2020-10-08T14:03:56.510Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-624@tmp/private_key_6482218357193795686.key (/w/workspace/dgexfoundry_device-sdk-go_PR-624@tmp/private_key_6482218357193795686.key) [2020-10-08T14:03:56.560Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-08T14:03:56.899Z] + git describe --exact-match --tags HEAD [2020-10-08T14:03:56.899Z] fatal: no tag exactly matches '1ad5bff171402c01e136b41b63c15df401bca220' [Pipeline] } [2020-10-08T14:03:56.924Z] $ docker exec --env ******** --env ******** a3fb672a038073885838883b6ee59d41bea63ac14f6ab3e49602d4f0e79f6eb5 ssh-agent -k [2020-10-08T14:03:57.034Z] unset SSH_AUTH_SOCK; [2020-10-08T14:03:57.034Z] unset SSH_AGENT_PID; [2020-10-08T14:03:57.034Z] echo Agent pid 17 killed; [2020-10-08T14:03:57.076Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-10-08T14:03:57.167Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-10-08T14:03:57.167Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-10-08T14:03:57.294Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-08T14:03:57.294Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-08T14:03:57.453Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-08T14:03:57.459Z] $ docker exec a3fb672a038073885838883b6ee59d41bea63ac14f6ab3e49602d4f0e79f6eb5 ssh-agent [2020-10-08T14:03:57.610Z] SSH_AUTH_SOCK=/tmp/ssh-czXJRH2AK5rS/agent.46 [2020-10-08T14:03:57.610Z] SSH_AGENT_PID=52 [2020-10-08T14:03:57.617Z] Running ssh-add (command line suppressed) [2020-10-08T14:03:57.732Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-624@tmp/private_key_171917989812865201.key (/w/workspace/dgexfoundry_device-sdk-go_PR-624@tmp/private_key_171917989812865201.key) [2020-10-08T14:03:57.779Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-08T14:03:58.113Z] + git semver init [2020-10-08T14:03:58.113Z] # -> Open(): unable to determine branch for HEAD [2020-10-08T14:03:58.113Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-624/.git [2020-10-08T14:03:58.113Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-624 [2020-10-08T14:03:58.113Z] # $SEMVER_REMOTE_NAME = origin [2020-10-08T14:03:58.114Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-08T14:03:58.114Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-08T14:03:58.114Z] # $SEMVER_BRANCH = PR-624 [2020-10-08T14:03:58.114Z] # $SEMVER_TEMP = /tmp/semver-627465249 [2020-10-08T14:03:58.114Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-08T14:03:58.689Z] # '/tmp/semver-627465249' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-624/.semver' [2020-10-08T14:03:58.689Z] # -> Force: false [2020-10-08T14:03:58.689Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-624/.semver [Pipeline] } [2020-10-08T14:03:58.705Z] $ docker exec --env ******** --env ******** a3fb672a038073885838883b6ee59d41bea63ac14f6ab3e49602d4f0e79f6eb5 ssh-agent -k [2020-10-08T14:03:58.820Z] unset SSH_AUTH_SOCK; [2020-10-08T14:03:58.821Z] unset SSH_AGENT_PID; [2020-10-08T14:03:58.821Z] echo Agent pid 52 killed; [2020-10-08T14:03:58.864Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-08T14:03:59.351Z] + git semver [Pipeline] } [2020-10-08T14:03:59.369Z] $ docker stop --time=1 a3fb672a038073885838883b6ee59d41bea63ac14f6ab3e49602d4f0e79f6eb5 [2020-10-08T14:04:00.762Z] $ docker rm -f a3fb672a038073885838883b6ee59d41bea63ac14f6ab3e49602d4f0e79f6eb5 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-08T14:04:01.783Z] Stashed 46 file(s) [Pipeline] echo [2020-10-08T14:04:01.786Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-10-08T14:04:01.897Z] 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-10-08T14:04:17.359Z] Still waiting to schedule task [2020-10-08T14:04:17.359Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-08T14:04:17.362Z] Still waiting to schedule task [2020-10-08T14:04:17.362Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-08T14:06:11.917Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4232 in /w/workspace/dgexfoundry_device-sdk-go_PR-624 [Pipeline] { [Pipeline] ws [2020-10-08T14:06:11.986Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-10-08T14:06:16.715Z] using credential edgex-jenkins-ssh [2020-10-08T14:06:16.769Z] Cloning the remote Git repository [2020-10-08T14:06:16.819Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-08T14:06:16.922Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-10-08T14:06:16.995Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-08T14:06:16.996Z] > git --version # timeout=10 [2020-10-08T14:06:17.011Z] > git --version # 'git version 2.17.1' [2020-10-08T14:06:17.013Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-08T14:06:17.070Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-08T14:06:18.068Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-08T14:06:18.096Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-08T14:06:18.126Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-08T14:06:18.166Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-08T14:06:18.167Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-08T14:06:18.179Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/624/head:refs/remotes/origin/PR-624 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-08T14:06:18.793Z] Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit 1ad5bff171402c01e136b41b63c15df401bca220 [2020-10-08T14:06:19.051Z] Merge succeeded, producing 1ad5bff171402c01e136b41b63c15df401bca220 [2020-10-08T14:06:19.051Z] Checking out Revision 1ad5bff171402c01e136b41b63c15df401bca220 (PR-624) [2020-10-08T14:06:18.811Z] > git config core.sparsecheckout # timeout=10 [2020-10-08T14:06:18.827Z] > git checkout -f 1ad5bff171402c01e136b41b63c15df401bca220 # timeout=10 [2020-10-08T14:06:18.940Z] > git remote # timeout=10 [2020-10-08T14:06:18.955Z] > git config --get remote.origin.url # timeout=10 [2020-10-08T14:06:18.983Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-08T14:06:18.995Z] > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 [2020-10-08T14:06:19.026Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-08T14:06:19.059Z] > git config core.sparsecheckout # timeout=10 [2020-10-08T14:06:19.084Z] > git checkout -f 1ad5bff171402c01e136b41b63c15df401bca220 # timeout=10 [2020-10-08T14:06:23.502Z] Commit message: "refactor(sdk): release lock after discovery complete" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-08T14:06:24.932Z] ========================================================= [2020-10-08T14:06:24.932Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-08T14:06:24.932Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-08T14:06:26.265Z] + 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-10-08T14:06:27.266Z] Sending build context to Docker daemon 3.523MB [2020-10-08T14:06:27.266Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-08T14:06:27.266Z] Step 2/8 : FROM ${BASE} [2020-10-08T14:06:27.541Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-08T14:06:27.541Z] b538f80385f9: Pulling fs layer [2020-10-08T14:06:27.541Z] 74f711af9a0d: Pulling fs layer [2020-10-08T14:06:27.541Z] 99f96fe45779: Pulling fs layer [2020-10-08T14:06:27.541Z] 8529a6b9a6be: Pulling fs layer [2020-10-08T14:06:27.541Z] 45590311c82a: Pulling fs layer [2020-10-08T14:06:27.541Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-08T14:06:27.541Z] 209524e5b208: Pulling fs layer [2020-10-08T14:06:27.541Z] 8529a6b9a6be: Waiting [2020-10-08T14:06:27.541Z] 45590311c82a: Waiting [2020-10-08T14:06:27.541Z] 69ca0ff8b7b3: Waiting [2020-10-08T14:06:27.541Z] 209524e5b208: Waiting [2020-10-08T14:06:27.541Z] 99f96fe45779: Download complete [2020-10-08T14:06:27.541Z] 74f711af9a0d: Verifying Checksum [2020-10-08T14:06:27.541Z] 74f711af9a0d: Download complete [2020-10-08T14:06:27.541Z] 45590311c82a: Verifying Checksum [2020-10-08T14:06:27.541Z] 45590311c82a: Download complete [2020-10-08T14:06:27.821Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-08T14:06:27.821Z] 69ca0ff8b7b3: Download complete [2020-10-08T14:06:27.821Z] b538f80385f9: Verifying Checksum [2020-10-08T14:06:27.821Z] b538f80385f9: Download complete [2020-10-08T14:06:28.439Z] b538f80385f9: Pull complete [2020-10-08T14:06:29.038Z] 74f711af9a0d: Pull complete [2020-10-08T14:06:29.312Z] 99f96fe45779: Pull complete [2020-10-08T14:06:30.757Z] 209524e5b208: Download complete [2020-10-08T14:06:32.196Z] 8529a6b9a6be: Verifying Checksum [2020-10-08T14:06:32.196Z] 8529a6b9a6be: Download complete [2020-10-08T14:06:42.379Z] 8529a6b9a6be: Pull complete [2020-10-08T14:06:42.653Z] 45590311c82a: Pull complete [2020-10-08T14:06:42.928Z] 69ca0ff8b7b3: Pull complete [2020-10-08T14:06:47.251Z] 209524e5b208: Pull complete [2020-10-08T14:06:47.251Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-08T14:06:47.251Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-08T14:06:47.251Z] ---> 5bddaf1c2fca [2020-10-08T14:06:47.251Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-08T14:06:49.897Z] ---> Running in 11fa84f31546 [2020-10-08T14:06:49.897Z] Removing intermediate container 11fa84f31546 [2020-10-08T14:06:49.897Z] ---> f526012eff12 [2020-10-08T14:06:49.897Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-08T14:06:50.172Z] ---> Running in 4179c3544188 [2020-10-08T14:06:52.806Z] Removing intermediate container 4179c3544188 [2020-10-08T14:06:52.806Z] ---> 1231f401e9ba [2020-10-08T14:06:52.806Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-08T14:06:53.089Z] ---> Running in 8454c9b28514 [2020-10-08T14:06:54.538Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-08T14:06:55.527Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-08T14:06:56.511Z] OK: 142 MiB in 39 packages [2020-10-08T14:06:57.502Z] Removing intermediate container 8454c9b28514 [2020-10-08T14:06:57.502Z] ---> f6c4886bd1af [2020-10-08T14:06:57.502Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-08T14:06:57.502Z] ---> Running in ebd098eb2d1d [2020-10-08T14:06:58.098Z] Removing intermediate container ebd098eb2d1d [2020-10-08T14:06:58.098Z] ---> f7ebedbbcdcb [2020-10-08T14:06:58.098Z] Step 7/8 : COPY . . [2020-10-08T14:06:59.533Z] ---> a94422d4e789 [2020-10-08T14:06:59.533Z] Step 8/8 : RUN go mod download [2020-10-08T14:06:59.533Z] ---> Running in ef15a7b43a2e [2020-10-08T14:07:20.700Z] Running on prd-centos7-docker-4c-2g-4233 in /w/workspace/dgexfoundry_device-sdk-go_PR-624 [Pipeline] { [Pipeline] ws [2020-10-08T14:07:20.766Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-10-08T14:07:21.764Z] Removing intermediate container ef15a7b43a2e [2020-10-08T14:07:21.764Z] ---> b23237d02fde [2020-10-08T14:07:21.764Z] Successfully built b23237d02fde [2020-10-08T14:07:21.764Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-08T14:07:22.181Z] + docker inspect -f . ci-base-image-arm64 [2020-10-08T14:07:22.181Z] . [Pipeline] withDockerContainer [2020-10-08T14:07:22.437Z] prd-ubuntu18.04-docker-arm64-4c-16g-4232 does not seem to be running inside a container [2020-10-08T14:07:22.544Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-08T14:07:24.448Z] $ docker top b9c6eb2672be799bff49fd238d29e782bab2088f1f2e3611a96ce2c4bb6f136c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-08T14:07:25.875Z] + go version [2020-10-08T14:07:25.875Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-08T14:07:25.910Z] $ docker stop --time=1 b9c6eb2672be799bff49fd238d29e782bab2088f1f2e3611a96ce2c4bb6f136c [2020-10-08T14:07:27.834Z] $ docker rm -f b9c6eb2672be799bff49fd238d29e782bab2088f1f2e3611a96ce2c4bb6f136c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-08T14:07:28.881Z] + docker inspect -f . ci-base-image-arm64 [2020-10-08T14:07:28.882Z] . [Pipeline] withDockerContainer [2020-10-08T14:07:29.157Z] prd-ubuntu18.04-docker-arm64-4c-16g-4232 does not seem to be running inside a container [2020-10-08T14:07:29.250Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-08T14:07:30.399Z] using credential edgex-jenkins-ssh [2020-10-08T14:07:30.458Z] Cloning the remote Git repository [2020-10-08T14:07:31.233Z] $ docker top e13ffb56f2398b68edd0f4ea747c281f9079f5ab3df62672ab94ff348b78be81 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-08T14:07:30.567Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-08T14:07:30.659Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-10-08T14:07:30.794Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-08T14:07:30.795Z] > git --version # timeout=10 [2020-10-08T14:07:30.820Z] > git --version # 'git version 2.16.5' [2020-10-08T14:07:30.821Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-08T14:07:30.911Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-08T14:07:32.648Z] + make test [2020-10-08T14:07:32.649Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-08T14:07:32.767Z] Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit 1ad5bff171402c01e136b41b63c15df401bca220 [2020-10-08T14:07:33.053Z] Merge succeeded, producing 1ad5bff171402c01e136b41b63c15df401bca220 [2020-10-08T14:07:33.053Z] Checking out Revision 1ad5bff171402c01e136b41b63c15df401bca220 (PR-624) [2020-10-08T14:07:32.006Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-08T14:07:32.013Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-08T14:07:32.076Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-08T14:07:32.138Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-08T14:07:32.139Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-08T14:07:32.149Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/624/head:refs/remotes/origin/PR-624 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-08T14:07:32.792Z] > git config core.sparsecheckout # timeout=10 [2020-10-08T14:07:32.828Z] > git checkout -f 1ad5bff171402c01e136b41b63c15df401bca220 # timeout=10 [2020-10-08T14:07:32.915Z] > git remote # timeout=10 [2020-10-08T14:07:32.964Z] > git config --get remote.origin.url # timeout=10 [2020-10-08T14:07:33.004Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-08T14:07:33.015Z] > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 [2020-10-08T14:07:33.040Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-08T14:07:33.059Z] > git config core.sparsecheckout # timeout=10 [2020-10-08T14:07:33.073Z] > git checkout -f 1ad5bff171402c01e136b41b63c15df401bca220 # timeout=10 [2020-10-08T14:07:37.449Z] Commit message: "refactor(sdk): release lock after discovery complete" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-08T14:07:38.886Z] ========================================================= [2020-10-08T14:07:38.886Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-08T14:07:38.886Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-08T14:07:40.509Z] + 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-10-08T14:07:41.991Z] Sending build context to Docker daemon 3.523MB [2020-10-08T14:07:41.991Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-08T14:07:41.991Z] Step 2/8 : FROM ${BASE} [2020-10-08T14:07:41.991Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-08T14:07:41.991Z] df20fa9351a1: Pulling fs layer [2020-10-08T14:07:41.991Z] ed8968b2872e: Pulling fs layer [2020-10-08T14:07:41.991Z] a92cc7c5fd73: Pulling fs layer [2020-10-08T14:07:41.991Z] e871e8e8d7a9: Pulling fs layer [2020-10-08T14:07:41.991Z] e73272ec9a57: Pulling fs layer [2020-10-08T14:07:41.991Z] 1e910a182e73: Pulling fs layer [2020-10-08T14:07:41.991Z] 4e634b169226: Pulling fs layer [2020-10-08T14:07:41.991Z] e73272ec9a57: Waiting [2020-10-08T14:07:41.991Z] 1e910a182e73: Waiting [2020-10-08T14:07:41.991Z] 4e634b169226: Waiting [2020-10-08T14:07:41.991Z] e871e8e8d7a9: Waiting [2020-10-08T14:07:41.991Z] a92cc7c5fd73: Download complete [2020-10-08T14:07:41.991Z] ed8968b2872e: Download complete [2020-10-08T14:07:41.991Z] e73272ec9a57: Verifying Checksum [2020-10-08T14:07:41.991Z] e73272ec9a57: Download complete [2020-10-08T14:07:41.991Z] 1e910a182e73: Verifying Checksum [2020-10-08T14:07:41.991Z] 1e910a182e73: Download complete [2020-10-08T14:07:43.020Z] df20fa9351a1: Verifying Checksum [2020-10-08T14:07:43.020Z] df20fa9351a1: Download complete [2020-10-08T14:07:43.352Z] df20fa9351a1: Pull complete [2020-10-08T14:07:44.137Z] ed8968b2872e: Pull complete [2020-10-08T14:07:44.137Z] a92cc7c5fd73: Pull complete [2020-10-08T14:07:53.391Z] 4e634b169226: Verifying Checksum [2020-10-08T14:07:53.391Z] 4e634b169226: Download complete [2020-10-08T14:07:54.823Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-08T14:07:54.985Z] e871e8e8d7a9: Verifying Checksum [2020-10-08T14:07:54.985Z] e871e8e8d7a9: Download complete [2020-10-08T14:08:07.675Z] e871e8e8d7a9: Pull complete [2020-10-08T14:08:07.675Z] e73272ec9a57: Pull complete [2020-10-08T14:08:07.675Z] 1e910a182e73: Pull complete [2020-10-08T14:08:11.197Z] 4e634b169226: Pull complete [2020-10-08T14:08:11.197Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-08T14:08:11.197Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-08T14:08:11.197Z] ---> f7629b54cfaa [2020-10-08T14:08:11.197Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-08T14:08:11.479Z] ---> Running in 1bdf2c7845ca [2020-10-08T14:08:11.756Z] Removing intermediate container 1bdf2c7845ca [2020-10-08T14:08:11.756Z] ---> 6e1bc349a239 [2020-10-08T14:08:11.756Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-08T14:08:11.756Z] ---> Running in 206c398f02cb [2020-10-08T14:08:13.808Z] Removing intermediate container 206c398f02cb [2020-10-08T14:08:13.808Z] ---> 38704f76b90e [2020-10-08T14:08:13.808Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-08T14:08:13.808Z] ---> Running in d66921aea854 [2020-10-08T14:08:14.410Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-08T14:08:15.031Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-08T14:08:16.067Z] OK: 166 MiB in 39 packages [2020-10-08T14:08:16.352Z] Removing intermediate container d66921aea854 [2020-10-08T14:08:16.352Z] ---> abf08837e74a [2020-10-08T14:08:16.352Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-08T14:08:16.713Z] ---> Running in eebb70b257d5 [2020-10-08T14:08:16.713Z] Removing intermediate container eebb70b257d5 [2020-10-08T14:08:16.713Z] ---> 345dafda88de [2020-10-08T14:08:16.713Z] Step 7/8 : COPY . . [2020-10-08T14:08:18.611Z] ---> f3a28dd0cf67 [2020-10-08T14:08:18.611Z] Step 8/8 : RUN go mod download [2020-10-08T14:08:19.104Z] ---> Running in bddea3f0dbb8 [2020-10-08T14:08:33.920Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-08T14:08:33.920Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-08T14:08:33.920Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-08T14:08:33.920Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.159s coverage: 21.6% of statements [2020-10-08T14:08:37.395Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.175s coverage: 97.1% of statements [2020-10-08T14:08:42.004Z] Removing intermediate container bddea3f0dbb8 [2020-10-08T14:08:42.005Z] ---> bcacee73396a [2020-10-08T14:08:42.005Z] Successfully built bcacee73396a [2020-10-08T14:08:42.005Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-08T14:08:42.429Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-08T14:08:42.429Z] . [Pipeline] withDockerContainer [2020-10-08T14:08:43.278Z] prd-centos7-docker-4c-2g-4233 does not seem to be running inside a container [2020-10-08T14:08:43.559Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-08T14:08:45.003Z] $ docker top b2882c350e05ecbc8ac9db1b1cdb3c0d00dc1d650fecaf5470642c8951b7050a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-08T14:08:46.023Z] + go version [2020-10-08T14:08:46.024Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-08T14:08:46.175Z] $ docker stop --time=1 b2882c350e05ecbc8ac9db1b1cdb3c0d00dc1d650fecaf5470642c8951b7050a [2020-10-08T14:08:47.817Z] $ docker rm -f b2882c350e05ecbc8ac9db1b1cdb3c0d00dc1d650fecaf5470642c8951b7050a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-08T14:08:49.090Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-08T14:08:49.090Z] . [Pipeline] withDockerContainer [2020-10-08T14:08:49.327Z] prd-centos7-docker-4c-2g-4233 does not seem to be running inside a container [2020-10-08T14:08:49.643Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-08T14:08:50.571Z] $ docker top fa67238f637e3333bc0bb151440d149356b8acd0869f645a62da0ffd02f40bf6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-08T14:08:51.258Z] + make test [2020-10-08T14:08:51.258Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-08T14:09:04.349Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-08T14:09:09.825Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.123s coverage: 9.4% of statements [2020-10-08T14:09:09.825Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.143s coverage: 21.9% of statements [2020-10-08T14:09:09.825Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-08T14:09:09.825Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.553s coverage: 40.0% of statements [2020-10-08T14:09:09.825Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-08T14:09:09.825Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.801s coverage: 68.9% of statements [2020-10-08T14:09:09.825Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-08T14:09:09.825Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-08T14:09:09.825Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-08T14:09:09.825Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-08T14:09:09.825Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.179s coverage: 52.6% of statements [2020-10-08T14:09:09.825Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-08T14:09:09.825Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.875s coverage: 68.9% of statements [2020-10-08T14:09:09.825Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-08T14:09:09.825Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-08T14:09:09.825Z] GO111MODULE=on go vet ./... [2020-10-08T14:09:31.895Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-08T14:09:31.895Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-08T14:09:31.895Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-08T14:09:31.895Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.121s coverage: 21.6% of statements [2020-10-08T14:09:34.132Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.085s coverage: 97.1% of statements [2020-10-08T14:09:36.652Z] gofmt -l . [2020-10-08T14:09:36.652Z] [ "`gofmt -l .`" = "" ] [2020-10-08T14:09:36.652Z] ./bin/test-attribution-txt.sh [2020-10-08T14:09:36.652Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-08T14:09:37.552Z] Stashed 1 file(s) [Pipeline] } [2020-10-08T14:09:37.576Z] $ docker stop --time=1 e13ffb56f2398b68edd0f4ea747c281f9079f5ab3df62672ab94ff348b78be81 [2020-10-08T14:09:39.708Z] $ docker rm -f e13ffb56f2398b68edd0f4ea747c281f9079f5ab3df62672ab94ff348b78be81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-08T14:09:43.410Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-08T14:09:43.749Z] + ls -al . [2020-10-08T14:09:43.749Z] total 228 [2020-10-08T14:09:43.749Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 8 14:09 . [2020-10-08T14:09:43.749Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 14:06 .. [2020-10-08T14:09:43.749Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 8 14:06 .dockerignore [2020-10-08T14:09:43.749Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 8 14:06 .git [2020-10-08T14:09:43.749Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 14:06 .github [2020-10-08T14:09:43.749Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 8 14:06 .gitignore [2020-10-08T14:09:43.749Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 14:06 .semver [2020-10-08T14:09:43.749Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 8 14:06 Dockerfile.build [2020-10-08T14:09:43.749Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 8 14:06 Jenkinsfile [2020-10-08T14:09:43.749Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 8 14:06 LICENSE [2020-10-08T14:09:43.749Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 8 14:06 Makefile [2020-10-08T14:09:43.749Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 8 14:06 README.md [2020-10-08T14:09:43.749Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 8 14:06 RELEASE-NOTES.txt [2020-10-08T14:09:43.749Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 8 14:04 VERSION [2020-10-08T14:09:43.749Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 14:06 bin [2020-10-08T14:09:43.749Z] -rw-r--r-- 1 jenkins jenkins 110392 Oct 8 14:09 coverage.out [2020-10-08T14:09:43.749Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 14:06 example [2020-10-08T14:09:43.749Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 8 14:09 go.mod [2020-10-08T14:09:43.749Z] -rw-r--r-- 1 jenkins jenkins 13652 Oct 8 14:09 go.sum [2020-10-08T14:09:43.749Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 8 14:06 internal [2020-10-08T14:09:43.749Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 14:06 openapi [2020-10-08T14:09:43.749Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 8 14:06 pkg [2020-10-08T14:09:43.749Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 14:06 snap [2020-10-08T14:09:43.749Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 8 14:06 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-08T14:09:44.102Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=1ad5bff171402c01e136b41b63c15df401bca220 --label arch=arm64 --label version=0.0.0 . [2020-10-08T14:09:44.701Z] Sending build context to Docker daemon 3.634MB [2020-10-08T14:09:44.701Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-08T14:09:44.701Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-08T14:09:44.701Z] ---> b23237d02fde [2020-10-08T14:09:44.701Z] Step 3/24 : ARG MAKE='make build' [2020-10-08T14:09:44.974Z] ---> Running in b2978acc45b3 [2020-10-08T14:09:45.246Z] Removing intermediate container b2978acc45b3 [2020-10-08T14:09:45.246Z] ---> 9566e5a11881 [2020-10-08T14:09:45.246Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-08T14:09:45.523Z] ---> Running in 4ef12b7e05c5 [2020-10-08T14:09:45.795Z] Removing intermediate container 4ef12b7e05c5 [2020-10-08T14:09:45.795Z] ---> aae25d002f4b [2020-10-08T14:09:45.795Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-08T14:09:46.068Z] ---> Running in ba9974f867b2 [2020-10-08T14:09:46.342Z] Removing intermediate container ba9974f867b2 [2020-10-08T14:09:46.342Z] ---> cf97891ca3d9 [2020-10-08T14:09:46.342Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-08T14:09:46.615Z] ---> Running in 00541be28d48 [2020-10-08T14:09:49.242Z] Removing intermediate container 00541be28d48 [2020-10-08T14:09:49.242Z] ---> 789872530f21 [2020-10-08T14:09:49.242Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-08T14:09:49.242Z] ---> Running in 0587424e884c [2020-10-08T14:09:50.673Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-08T14:09:51.266Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-08T14:09:52.245Z] OK: 142 MiB in 39 packages [2020-10-08T14:09:53.220Z] Removing intermediate container 0587424e884c [2020-10-08T14:09:53.220Z] ---> 559a899c6072 [2020-10-08T14:09:53.220Z] Step 8/24 : COPY . . [2020-10-08T14:09:54.656Z] ---> 0a14d7a1b5a4 [2020-10-08T14:09:54.656Z] Step 9/24 : RUN ${MAKE} [2020-10-08T14:09:54.930Z] ---> Running in 5d2112f37770 [2020-10-08T14:09:56.364Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-10-08T14:10:06.499Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.142s coverage: 9.4% of statements [2020-10-08T14:10:06.499Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.154s coverage: 21.9% of statements [2020-10-08T14:10:06.499Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-08T14:10:06.499Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.279s coverage: 40.0% of statements [2020-10-08T14:10:06.499Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-08T14:10:06.499Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.368s coverage: 68.9% of statements [2020-10-08T14:10:06.499Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-08T14:10:06.499Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-08T14:10:06.499Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-08T14:10:06.499Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-08T14:10:06.499Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.113s coverage: 52.6% of statements [2020-10-08T14:10:06.499Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-08T14:10:06.499Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.400s coverage: 68.9% of statements [2020-10-08T14:10:06.499Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-08T14:10:06.499Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-08T14:10:06.499Z] GO111MODULE=on go vet ./... [2020-10-08T14:10:19.241Z] gofmt -l . [2020-10-08T14:10:19.241Z] [ "`gofmt -l .`" = "" ] [2020-10-08T14:10:19.241Z] ./bin/test-attribution-txt.sh [2020-10-08T14:10:19.241Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-08T14:10:19.534Z] Warning: overwriting stash ‘coverage-report’ [2020-10-08T14:10:20.311Z] Stashed 1 file(s) [Pipeline] } [2020-10-08T14:10:20.324Z] $ docker stop --time=1 fa67238f637e3333bc0bb151440d149356b8acd0869f645a62da0ffd02f40bf6 [2020-10-08T14:10:22.380Z] $ docker rm -f fa67238f637e3333bc0bb151440d149356b8acd0869f645a62da0ffd02f40bf6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2020-10-08T14:10:23.184Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-08T14:10:23.184Z] Removing intermediate container 5d2112f37770 [2020-10-08T14:10:23.184Z] ---> 4d6fe6c7728f [2020-10-08T14:10:23.184Z] Step 10/24 : FROM scratch [2020-10-08T14:10:23.184Z] ---> [2020-10-08T14:10:23.184Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-08T14:10:23.184Z] ---> Running in abd540a26994 [2020-10-08T14:10:23.184Z] Removing intermediate container abd540a26994 [2020-10-08T14:10:23.184Z] ---> a8a65bb82c90 [2020-10-08T14:10:23.184Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-08T14:10:23.184Z] ---> Running in 609a6ae72c2d [2020-10-08T14:10:23.184Z] Removing intermediate container 609a6ae72c2d [2020-10-08T14:10:23.184Z] ---> c06a6beaf083 [2020-10-08T14:10:23.184Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-08T14:10:23.184Z] ---> Running in 98758f777202 [Pipeline] sh [2020-10-08T14:10:23.457Z] Removing intermediate container 98758f777202 [2020-10-08T14:10:23.457Z] ---> d0927c427be7 [2020-10-08T14:10:23.457Z] Step 14/24 : WORKDIR / [2020-10-08T14:10:23.732Z] ---> Running in 8171d61dabcc [2020-10-08T14:10:23.745Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-08T14:10:24.005Z] Removing intermediate container 8171d61dabcc [2020-10-08T14:10:24.005Z] ---> b7b51a009897 [2020-10-08T14:10:24.005Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-08T14:10:24.094Z] + ls -al . [2020-10-08T14:10:24.094Z] total 188 [2020-10-08T14:10:24.094Z] drwxrwxr-x. 11 jenkins jenkins 4096 Oct 8 14:10 . [2020-10-08T14:10:24.094Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 8 14:07 .. [2020-10-08T14:10:24.094Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 8 14:07 bin [2020-10-08T14:10:24.094Z] -rw-r--r--. 1 jenkins jenkins 110392 Oct 8 14:10 coverage.out [2020-10-08T14:10:24.094Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 8 14:07 Dockerfile.build [2020-10-08T14:10:24.094Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 8 14:07 .dockerignore [2020-10-08T14:10:24.094Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 8 14:07 example [2020-10-08T14:10:24.094Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 8 14:07 .git [2020-10-08T14:10:24.094Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 8 14:07 .github [2020-10-08T14:10:24.094Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 8 14:07 .gitignore [2020-10-08T14:10:24.094Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 8 14:10 go.mod [2020-10-08T14:10:24.094Z] -rw-r--r--. 1 jenkins jenkins 13652 Oct 8 14:10 go.sum [2020-10-08T14:10:24.094Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 8 14:07 internal [2020-10-08T14:10:24.094Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 8 14:07 Jenkinsfile [2020-10-08T14:10:24.094Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 8 14:07 LICENSE [2020-10-08T14:10:24.094Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 8 14:07 Makefile [2020-10-08T14:10:24.094Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 8 14:07 openapi [2020-10-08T14:10:24.094Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 8 14:07 pkg [2020-10-08T14:10:24.094Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 8 14:07 README.md [2020-10-08T14:10:24.094Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 8 14:07 RELEASE-NOTES.txt [2020-10-08T14:10:24.094Z] drwxrwxr-x. 3 jenkins jenkins 58 Oct 8 14:07 .semver [2020-10-08T14:10:24.094Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 8 14:07 snap [2020-10-08T14:10:24.094Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 8 14:04 VERSION [2020-10-08T14:10:24.094Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 8 14:07 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-08T14:10:24.499Z] + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=1ad5bff171402c01e136b41b63c15df401bca220 --label arch=amd64 --label version=0.0.0 . [2020-10-08T14:10:25.097Z] Sending build context to Docker daemon 3.634MB [2020-10-08T14:10:25.097Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-08T14:10:25.097Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-08T14:10:25.097Z] ---> bcacee73396a [2020-10-08T14:10:25.097Z] Step 3/24 : ARG MAKE='make build' [2020-10-08T14:10:25.361Z] ---> Running in 86bb1456e179 [2020-10-08T14:10:25.441Z] ---> a7486fbb454a [2020-10-08T14:10:25.441Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-08T14:10:25.663Z] Removing intermediate container 86bb1456e179 [2020-10-08T14:10:25.663Z] ---> f14051911b01 [2020-10-08T14:10:25.663Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-08T14:10:25.663Z] ---> Running in 67e3bb6f2948 [2020-10-08T14:10:25.937Z] Removing intermediate container 67e3bb6f2948 [2020-10-08T14:10:25.937Z] ---> d9935cd105cf [2020-10-08T14:10:25.937Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-08T14:10:25.937Z] ---> Running in f429c5a77ab8 [2020-10-08T14:10:26.038Z] ---> f14f019e217e [2020-10-08T14:10:26.038Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-08T14:10:26.210Z] Removing intermediate container f429c5a77ab8 [2020-10-08T14:10:26.210Z] ---> 3678e552dd73 [2020-10-08T14:10:26.210Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-08T14:10:26.210Z] ---> Running in e078f19b5782 [2020-10-08T14:10:26.638Z] ---> d2468a4786d7 [2020-10-08T14:10:26.638Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-08T14:10:27.232Z] ---> 3a857c6d3ac8 [2020-10-08T14:10:27.232Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-08T14:10:28.220Z] Removing intermediate container e078f19b5782 [2020-10-08T14:10:28.220Z] ---> 977a51590ed3 [2020-10-08T14:10:28.220Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-08T14:10:28.220Z] ---> Running in 764885bb4923 [2020-10-08T14:10:28.245Z] ---> 21e70ab08940 [2020-10-08T14:10:28.245Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-08T14:10:28.245Z] ---> Running in 72747659ca91 [2020-10-08T14:10:28.515Z] Removing intermediate container 72747659ca91 [2020-10-08T14:10:28.515Z] ---> 6c3bbdf8714c [2020-10-08T14:10:28.515Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-08T14:10:28.788Z] ---> Running in e0bf98b72551 [2020-10-08T14:10:28.853Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-08T14:10:29.062Z] Removing intermediate container e0bf98b72551 [2020-10-08T14:10:29.062Z] ---> 54fe3345aefd [2020-10-08T14:10:29.062Z] Step 22/24 : LABEL arch=arm64 [2020-10-08T14:10:29.334Z] ---> Running in 70e11e647ef8 [2020-10-08T14:10:29.454Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-08T14:10:29.605Z] Removing intermediate container 70e11e647ef8 [2020-10-08T14:10:29.606Z] ---> c7e15dbc9853 [2020-10-08T14:10:29.606Z] Step 23/24 : LABEL git_sha=1ad5bff171402c01e136b41b63c15df401bca220 [2020-10-08T14:10:29.877Z] ---> Running in 13be0ade9068 [2020-10-08T14:10:30.090Z] OK: 166 MiB in 39 packages [2020-10-08T14:10:30.473Z] Removing intermediate container 13be0ade9068 [2020-10-08T14:10:30.473Z] ---> f392ef057ae6 [2020-10-08T14:10:30.473Z] Step 24/24 : LABEL version=0.0.0 [2020-10-08T14:10:30.473Z] ---> Running in acf00c5d927f [2020-10-08T14:10:30.749Z] Removing intermediate container acf00c5d927f [2020-10-08T14:10:30.749Z] ---> 68e627f331ba [2020-10-08T14:10:30.749Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-08T14:10:31.021Z] Successfully built 68e627f331ba [2020-10-08T14:10:31.021Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [2020-10-08T14:10:31.099Z] Removing intermediate container 764885bb4923 [2020-10-08T14:10:31.100Z] ---> 220ccdb8c610 [2020-10-08T14:10:31.100Z] Step 8/24 : COPY . . [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 [2020-10-08T14:10:32.222Z] ---> 9952a151c05b [2020-10-08T14:10:32.222Z] Step 9/24 : RUN ${MAKE} [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [2020-10-08T14:10:32.515Z] ---> Running in 272233afd57e [Pipeline] } [2020-10-08T14:10:33.500Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-10-08T14:10:52.116Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-08T14:10:52.116Z] Removing intermediate container 272233afd57e [2020-10-08T14:10:52.116Z] ---> 15e6934d4aba [2020-10-08T14:10:52.116Z] Step 10/24 : FROM scratch [2020-10-08T14:10:52.116Z] ---> [2020-10-08T14:10:52.116Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-08T14:10:52.116Z] ---> Running in ab35a8099532 [2020-10-08T14:10:52.116Z] Removing intermediate container ab35a8099532 [2020-10-08T14:10:52.116Z] ---> 471411a2a9d1 [2020-10-08T14:10:52.117Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-08T14:10:52.390Z] ---> Running in 8f749c840cbf [2020-10-08T14:10:52.658Z] Removing intermediate container 8f749c840cbf [2020-10-08T14:10:52.658Z] ---> 2c67ee57a8d1 [2020-10-08T14:10:52.658Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-08T14:10:52.658Z] ---> Running in d60b4e62fa35 [2020-10-08T14:10:52.930Z] Removing intermediate container d60b4e62fa35 [2020-10-08T14:10:52.930Z] ---> 63db3c634e34 [2020-10-08T14:10:52.930Z] Step 14/24 : WORKDIR / [2020-10-08T14:10:52.930Z] ---> Running in 83a8646533cc [2020-10-08T14:10:53.204Z] Removing intermediate container 83a8646533cc [2020-10-08T14:10:53.204Z] ---> a5730ba88d68 [2020-10-08T14:10:53.204Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-08T14:10:53.846Z] ---> f8aec4132c0f [2020-10-08T14:10:53.846Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-08T14:10:54.131Z] ---> d1d9063024ca [2020-10-08T14:10:54.131Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-08T14:10:55.100Z] ---> 1a5cd31c0906 [2020-10-08T14:10:55.100Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-08T14:10:55.382Z] ---> a0cd96a546c1 [2020-10-08T14:10:55.382Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-08T14:10:55.993Z] ---> a38b8d0c4c64 [2020-10-08T14:10:55.993Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-08T14:10:55.993Z] ---> Running in 8acb0dbbfbba [2020-10-08T14:10:55.993Z] Removing intermediate container 8acb0dbbfbba [2020-10-08T14:10:55.993Z] ---> bceeccd8fcac [2020-10-08T14:10:55.993Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-08T14:10:56.255Z] ---> Running in 97bb5a8995bf [2020-10-08T14:10:56.256Z] Removing intermediate container 97bb5a8995bf [2020-10-08T14:10:56.256Z] ---> d86e8dee010b [2020-10-08T14:10:56.256Z] Step 22/24 : LABEL arch=amd64 [2020-10-08T14:10:56.521Z] ---> Running in 28cdd98f4cc3 [2020-10-08T14:10:56.521Z] Removing intermediate container 28cdd98f4cc3 [2020-10-08T14:10:56.521Z] ---> 6533ee2e31ae [2020-10-08T14:10:56.521Z] Step 23/24 : LABEL git_sha=1ad5bff171402c01e136b41b63c15df401bca220 [2020-10-08T14:10:56.521Z] ---> Running in 929ad5551e74 [2020-10-08T14:10:56.813Z] Removing intermediate container 929ad5551e74 [2020-10-08T14:10:56.813Z] ---> ea016a167f17 [2020-10-08T14:10:56.813Z] Step 24/24 : LABEL version=0.0.0 [2020-10-08T14:10:57.092Z] ---> Running in 2b1083edad0e [2020-10-08T14:10:57.092Z] Removing intermediate container 2b1083edad0e [2020-10-08T14:10:57.092Z] ---> f41dbaae67d7 [2020-10-08T14:10:57.092Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-08T14:10:57.092Z] Successfully built f41dbaae67d7 [2020-10-08T14:10:57.387Z] Successfully tagged docker-device-sdk-simple: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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-10-08T14:11:01.118Z] provisioning config files... [2020-10-08T14:11:01.133Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-624@tmp/config8961989732232962938tmp [Pipeline] { [Pipeline] sh [2020-10-08T14:11:01.527Z] + set +x [2020-10-08T14:11:01.527Z] + curl -s https://codecov.io/bash [2020-10-08T14:11:01.527Z] + bash -s -- [2020-10-08T14:11:01.794Z] [2020-10-08T14:11:01.794Z] _____ _ [2020-10-08T14:11:01.794Z] / ____| | | [2020-10-08T14:11:01.794Z] | | ___ __| | ___ ___ _____ __ [2020-10-08T14:11:01.794Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-08T14:11:01.794Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-08T14:11:01.794Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-08T14:11:01.794Z] Bash-20201007-7e25d0a [2020-10-08T14:11:01.794Z] [2020-10-08T14:11:01.794Z] [2020-10-08T14:11:01.794Z] ==> Jenkins CI detected. [2020-10-08T14:11:01.794Z] project root: . [2020-10-08T14:11:01.794Z] --> token set from env [2020-10-08T14:11:01.794Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-08T14:11:01.794Z] ==> Running gcov in . (disable via -X gcov) [2020-10-08T14:11:01.794Z] ==> Python coveragepy not found [2020-10-08T14:11:01.794Z] ==> Searching for coverage reports in: [2020-10-08T14:11:01.794Z] + . [2020-10-08T14:11:01.794Z] -> Found 1 reports [2020-10-08T14:11:01.794Z] ==> Detecting git/mercurial file structure [2020-10-08T14:11:01.794Z] ==> Reading reports [2020-10-08T14:11:01.794Z] + ./coverage.out bytes=110392 [2020-10-08T14:11:01.794Z] ==> Appending adjustments [2020-10-08T14:11:01.794Z] https://docs.codecov.io/docs/fixing-reports [2020-10-08T14:11:02.368Z] + Found adjustments [2020-10-08T14:11:02.368Z] ==> Gzipping contents [2020-10-08T14:11:02.368Z] ==> Uploading reports [2020-10-08T14:11:02.368Z] url: https://codecov.io [2020-10-08T14:11:02.368Z] query: branch=PR-624&commit=1ad5bff171402c01e136b41b63c15df401bca220&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-624%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=624&job=&cmd_args= [2020-10-08T14:11:02.368Z] -> Pinging Codecov [2020-10-08T14:11:02.368Z] https://codecov.io/upload/v4?package=bash-20201007-7e25d0a&token=secret&branch=PR-624&commit=1ad5bff171402c01e136b41b63c15df401bca220&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-624%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=624&job=&cmd_args= [2020-10-08T14:11:02.368Z] -> Uploading to [2020-10-08T14:11:02.368Z] [2020-10-08T14:11:02.630Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-08T14:11:02.631Z] Dload Upload Total Spent Left Speed [2020-10-08T14:11:02.631Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-08T14:11:02.631Z] X> Failed to upload [2020-10-08T14:11:02.631Z] ==> Uploading to Codecov [2020-10-08T14:11:02.631Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-08T14:11:02.631Z] Dload Upload Total Spent Left Speed [2020-10-08T14:11:03.575Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 19665 0 0 100 19555 0 23269 --:--:-- --:--:-- --:--:-- 23252 100 19665 100 110 100 19555 130 23263 --:--:-- --:--:-- --:--:-- 23252 [2020-10-08T14:11:03.575Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1ad5bff171402c01e136b41b63c15df401bca220 [Pipeline] } [2020-10-08T14:11:03.585Z] 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-10-08T14:11:06.323Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-08T14:11:06.896Z] ---> package-listing.sh [2020-10-08T14:11:06.896Z] ++ facter osfamily [2020-10-08T14:11:06.896Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-08T14:11:06.896Z] + OS_FAMILY=redhat [2020-10-08T14:11:06.896Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-624 [2020-10-08T14:11:06.896Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-08T14:11:06.896Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-08T14:11:06.896Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-08T14:11:06.896Z] + PACKAGES=/tmp/packages_start.txt [2020-10-08T14:11:06.896Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-624 ']' [2020-10-08T14:11:06.896Z] + PACKAGES=/tmp/packages_end.txt [2020-10-08T14:11:06.896Z] + case "${OS_FAMILY}" in [2020-10-08T14:11:06.896Z] + rpm -qa [2020-10-08T14:11:06.896Z] + sort [2020-10-08T14:11:12.203Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-08T14:11:12.203Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-08T14:11:12.203Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-08T14:11:12.203Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-624 ']' [2020-10-08T14:11:12.203Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-624/archives/ [2020-10-08T14:11:12.203Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-624/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-08T14:11:12.847Z] provisioning config files... [2020-10-08T14:11:12.863Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-624@tmp/config4840711483057329525tmp [Pipeline] { [Pipeline] echo [2020-10-08T14:11:12.939Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-08T14:11:13.240Z] ---> create-netrc.sh [Pipeline] } [2020-10-08T14:11:13.249Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-08T14:11:13.371Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-08T14:11:13.666Z] ---> python-tools-install.sh [2020-10-08T14:11:13.666Z] Generating Requirements File [2020-10-08T14:12:35.289Z] Python 3.6.8 [2020-10-08T14:12:35.289Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-10-08T14:12:35.289Z] appdirs==1.4.3 [2020-10-08T14:12:35.289Z] argcomplete==1.12.1 [2020-10-08T14:12:35.289Z] aspy.yaml==1.3.0 [2020-10-08T14:12:35.289Z] attrs==19.3.0 [2020-10-08T14:12:35.289Z] Babel==2.8.0 [2020-10-08T14:12:35.289Z] beautifulsoup4==4.8.2 [2020-10-08T14:12:35.289Z] boto3==1.11.6 [2020-10-08T14:12:35.289Z] botocore==1.14.6 [2020-10-08T14:12:35.289Z] bs4==0.0.1 [2020-10-08T14:12:35.289Z] cachetools==4.1.1 [2020-10-08T14:12:35.289Z] certifi==2019.11.28 [2020-10-08T14:12:35.289Z] cffi==1.14.3 [2020-10-08T14:12:35.289Z] cfgv==2.0.1 [2020-10-08T14:12:35.289Z] chardet==3.0.4 [2020-10-08T14:12:35.289Z] click==7.1 [2020-10-08T14:12:35.289Z] cliff==3.4.0 [2020-10-08T14:12:35.289Z] cmd2==1.3.11 [2020-10-08T14:12:35.289Z] colorama==0.4.3 [2020-10-08T14:12:35.289Z] cryptography==3.1.1 [2020-10-08T14:12:35.289Z] debtcollector==2.2.0 [2020-10-08T14:12:35.289Z] decorator==4.4.2 [2020-10-08T14:12:35.289Z] defusedxml==0.6.0 [2020-10-08T14:12:35.289Z] Deprecated==1.2.7 [2020-10-08T14:12:35.289Z] distlib==0.3.1 [2020-10-08T14:12:35.289Z] distro==1.2.0 [2020-10-08T14:12:35.289Z] dnspython==1.16.0 [2020-10-08T14:12:35.289Z] docker==4.2.0 [2020-10-08T14:12:35.289Z] docutils==0.15.2 [2020-10-08T14:12:35.289Z] dogpile.cache==1.0.2 [2020-10-08T14:12:35.289Z] email-validator==1.0.5 [2020-10-08T14:12:35.289Z] filelock==3.0.12 [2020-10-08T14:12:35.289Z] future==0.18.2 [2020-10-08T14:12:35.289Z] google-auth==1.22.1 [2020-10-08T14:12:35.289Z] httplib2==0.17.0 [2020-10-08T14:12:35.289Z] identify==1.4.11 [2020-10-08T14:12:35.289Z] idna==2.9 [2020-10-08T14:12:35.289Z] importlib-metadata==1.7.0 [2020-10-08T14:12:35.289Z] importlib-resources==1.5.0 [2020-10-08T14:12:35.289Z] iso8601==0.1.13 [2020-10-08T14:12:35.289Z] Jinja2==2.11.1 [2020-10-08T14:12:35.289Z] jmespath==0.10.0 [2020-10-08T14:12:35.289Z] jsonpatch==1.26 [2020-10-08T14:12:35.289Z] jsonpointer==2.0 [2020-10-08T14:12:35.289Z] jsonschema==3.2.0 [2020-10-08T14:12:35.289Z] keystoneauth1==4.2.1 [2020-10-08T14:12:35.289Z] kubernetes==11.0.0 [2020-10-08T14:12:35.289Z] lftools==0.34.2 [2020-10-08T14:12:35.289Z] lxml==4.5.0 [2020-10-08T14:12:35.289Z] MarkupSafe==0.23 [2020-10-08T14:12:35.289Z] msgpack==1.0.0 [2020-10-08T14:12:35.289Z] multi-key-dict==2.0.3 [2020-10-08T14:12:35.289Z] munch==2.5.0 [2020-10-08T14:12:35.289Z] netaddr==0.8.0 [2020-10-08T14:12:35.289Z] netifaces==0.10.9 [2020-10-08T14:12:35.289Z] niet==1.4.2 [2020-10-08T14:12:35.289Z] nodeenv==1.3.5 [2020-10-08T14:12:35.289Z] oauth2client==4.1.3 [2020-10-08T14:12:35.289Z] oauthlib==3.1.0 [2020-10-08T14:12:35.289Z] openstacksdk==0.50.0 [2020-10-08T14:12:35.289Z] os-client-config==2.1.0 [2020-10-08T14:12:35.289Z] os-service-types==1.7.0 [2020-10-08T14:12:35.289Z] osc-lib==2.2.1 [2020-10-08T14:12:35.289Z] oslo.config==8.3.2 [2020-10-08T14:12:35.289Z] oslo.context==3.1.1 [2020-10-08T14:12:35.289Z] oslo.i18n==5.0.1 [2020-10-08T14:12:35.289Z] oslo.log==4.4.0 [2020-10-08T14:12:35.289Z] oslo.serialization==4.0.1 [2020-10-08T14:12:35.289Z] oslo.utils==4.6.0 [2020-10-08T14:12:35.289Z] packaging==20.4 [2020-10-08T14:12:35.289Z] pbr==5.4.4 [2020-10-08T14:12:35.289Z] pluggy==0.13.1 [2020-10-08T14:12:35.289Z] prettytable==0.7.2 [2020-10-08T14:12:35.289Z] py==1.9.0 [2020-10-08T14:12:35.289Z] pyasn1==0.4.8 [2020-10-08T14:12:35.289Z] pyasn1-modules==0.2.8 [2020-10-08T14:12:35.289Z] pycparser==2.20 [2020-10-08T14:12:35.289Z] pygerrit2==2.0.10 [2020-10-08T14:12:35.289Z] PyGithub==1.46 [2020-10-08T14:12:35.289Z] pyinotify==0.9.6 [2020-10-08T14:12:35.289Z] PyJWT==1.7.1 [2020-10-08T14:12:35.289Z] pyparsing==2.4.7 [2020-10-08T14:12:35.289Z] pyperclip==1.8.0 [2020-10-08T14:12:35.289Z] pyroute2==0.4.13 [2020-10-08T14:12:35.289Z] pyrsistent==0.15.7 [2020-10-08T14:12:35.289Z] PySocks==1.6.8 [2020-10-08T14:12:35.289Z] python-cinderclient==7.2.0 [2020-10-08T14:12:35.289Z] python-dateutil==2.8.1 [2020-10-08T14:12:35.289Z] python-heatclient==2.2.1 [2020-10-08T14:12:35.289Z] python-jenkins==1.7.0 [2020-10-08T14:12:35.289Z] python-keystoneclient==4.1.1 [2020-10-08T14:12:35.289Z] python-magnumclient==3.2.1 [2020-10-08T14:12:35.289Z] python-novaclient==17.2.1 [2020-10-08T14:12:35.289Z] python-openstackclient==5.4.0 [2020-10-08T14:12:35.289Z] python-swiftclient==3.10.1 [2020-10-08T14:12:35.289Z] pytz==2020.1 [2020-10-08T14:12:35.289Z] PyYAML==5.3 [2020-10-08T14:12:35.289Z] requests==2.23.0 [2020-10-08T14:12:35.289Z] requests-oauthlib==1.3.0 [2020-10-08T14:12:35.289Z] requestsexceptions==1.4.0 [2020-10-08T14:12:35.289Z] rfc3986==1.4.0 [2020-10-08T14:12:35.289Z] rpm==4.11.3 [2020-10-08T14:12:35.289Z] rsa==4.0 [2020-10-08T14:12:35.289Z] ruamel.yaml==0.16.10 [2020-10-08T14:12:35.289Z] ruamel.yaml.clib==0.2.0 [2020-10-08T14:12:35.289Z] s3transfer==0.3.3 [2020-10-08T14:12:35.289Z] shade==1.27.2 [2020-10-08T14:12:35.289Z] simplejson==3.17.2 [2020-10-08T14:12:35.289Z] six==1.14.0 [2020-10-08T14:12:35.289Z] soupsieve==2.0 [2020-10-08T14:12:35.289Z] stevedore==3.2.2 [2020-10-08T14:12:35.289Z] tabulate==0.8.6 [2020-10-08T14:12:35.289Z] toml==0.10.0 [2020-10-08T14:12:35.289Z] tox==3.20.0 [2020-10-08T14:12:35.289Z] tqdm==4.43.0 [2020-10-08T14:12:35.289Z] urllib3==1.25.8 [2020-10-08T14:12:35.289Z] virtualenv==20.0.33 [2020-10-08T14:12:35.289Z] wcwidth==0.2.5 [2020-10-08T14:12:35.289Z] websocket-client==0.57.0 [2020-10-08T14:12:35.289Z] wrapt==1.12.1 [2020-10-08T14:12:35.289Z] xdg==3.0.2 [2020-10-08T14:12:35.289Z] xmltodict==0.12.0 [2020-10-08T14:12:35.289Z] yq==2.11.1 [2020-10-08T14:12:35.289Z] zipp==3.3.0 [2020-10-08T14:12:35.289Z] Cache entry deserialization failed, entry ignored [2020-10-08T14:12:35.289Z] 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-10-08T14:12:35.289Z] Python 2.7.5 [2020-10-08T14:12:35.289Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-10-08T14:12:35.289Z] 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-10-08T14:12:35.289Z] ansible==2.9.7 [2020-10-08T14:12:35.289Z] Babel==0.9.6 [2020-10-08T14:12:35.289Z] backports.ssl-match-hostname==3.5.0.1 [2020-10-08T14:12:35.289Z] beautifulsoup4==4.4.1 [2020-10-08T14:12:35.289Z] bodhi==2.11.0 [2020-10-08T14:12:35.289Z] bodhi-client==2.11.0 [2020-10-08T14:12:35.289Z] CCColUtils==1.4 [2020-10-08T14:12:35.289Z] cffi==1.6.0 [2020-10-08T14:12:35.289Z] chardet==2.2.1 [2020-10-08T14:12:35.289Z] click==6.7 [2020-10-08T14:12:35.289Z] cloud-init==18.5 [2020-10-08T14:12:35.289Z] configobj==4.7.2 [2020-10-08T14:12:35.289Z] cryptography==1.7.2 [2020-10-08T14:12:35.289Z] decorator==3.4.0 [2020-10-08T14:12:35.289Z] distro==1.2.0 [2020-10-08T14:12:35.289Z] enum34==1.0.4 [2020-10-08T14:12:35.289Z] fedpkg==1.38 [2020-10-08T14:12:35.289Z] futures==3.1.1 [2020-10-08T14:12:35.289Z] gitdb==0.6.4 [2020-10-08T14:12:35.289Z] GitPython==1.0.1 [2020-10-08T14:12:35.289Z] html5lib==0.999 [2020-10-08T14:12:35.289Z] httplib2==0.9.2 [2020-10-08T14:12:35.289Z] idna==2.4 [2020-10-08T14:12:35.289Z] iniparse==0.4 [2020-10-08T14:12:35.289Z] ipaddress==1.0.16 [2020-10-08T14:12:35.289Z] IPy==0.75 [2020-10-08T14:12:35.289Z] javapackages==1.0.0 [2020-10-08T14:12:35.289Z] Jinja2==2.7.2 [2020-10-08T14:12:35.289Z] jmespath==0.9.4 [2020-10-08T14:12:35.289Z] jsonpatch==1.2 [2020-10-08T14:12:35.289Z] jsonpointer==1.9 [2020-10-08T14:12:35.289Z] kerberos==1.1 [2020-10-08T14:12:35.289Z] kitchen==1.1.1 [2020-10-08T14:12:35.289Z] langtable==0.0.31 [2020-10-08T14:12:35.289Z] lockfile==0.9.1 [2020-10-08T14:12:35.289Z] lxml==3.2.1 [2020-10-08T14:12:35.289Z] MarkupSafe==0.11 [2020-10-08T14:12:35.289Z] munch==2.0.2 [2020-10-08T14:12:35.289Z] offtrac==0.1.0 [2020-10-08T14:12:35.289Z] openidc-client==0.6.0 [2020-10-08T14:12:35.289Z] packagedb-cli==2.14.1 [2020-10-08T14:12:35.289Z] paramiko==2.1.1 [2020-10-08T14:12:35.289Z] perf==0.1 [2020-10-08T14:12:35.289Z] ply==3.4 [2020-10-08T14:12:35.289Z] policycoreutils-default-encoding==0.1 [2020-10-08T14:12:35.289Z] prettytable==0.7.2 [2020-10-08T14:12:35.289Z] pyasn1==0.1.9 [2020-10-08T14:12:35.289Z] pycparser==2.14 [2020-10-08T14:12:35.289Z] pycurl==7.19.0 [2020-10-08T14:12:35.289Z] pygobject==3.22.0 [2020-10-08T14:12:35.289Z] pygpgme==0.3 [2020-10-08T14:12:35.289Z] pyliblzma==0.5.3 [2020-10-08T14:12:35.289Z] pyOpenSSL==0.13.1 [2020-10-08T14:12:35.289Z] pyparsing==1.5.6 [2020-10-08T14:12:35.289Z] pyserial==2.6 [2020-10-08T14:12:35.289Z] python-augeas==0.5.0 [2020-10-08T14:12:35.289Z] python-bugzilla==2.3.0 [2020-10-08T14:12:35.289Z] python-dateutil==1.5 [2020-10-08T14:12:35.289Z] python-fedora==0.10.0 [2020-10-08T14:12:35.289Z] python-linux-procfs==0.4.9 [2020-10-08T14:12:35.289Z] python-yubico==1.2.3 [2020-10-08T14:12:35.289Z] pyudev==0.15 [2020-10-08T14:12:35.289Z] pyusb==1.0.0b1 [2020-10-08T14:12:35.289Z] pyxattr==0.5.1 [2020-10-08T14:12:35.289Z] PyYAML==3.10 [2020-10-08T14:12:35.289Z] requests==2.6.0 [2020-10-08T14:12:35.289Z] requests-kerberos==0.7.0 [2020-10-08T14:12:35.289Z] rpkg==1.60 [2020-10-08T14:12:35.289Z] schedutils==0.4 [2020-10-08T14:12:35.289Z] seobject==0.1 [2020-10-08T14:12:35.289Z] sepolicy==1.1 [2020-10-08T14:12:35.289Z] six==1.9.0 [2020-10-08T14:12:35.289Z] smmap==0.9.0 [2020-10-08T14:12:35.289Z] urlgrabber==3.10 [2020-10-08T14:12:35.289Z] urllib3==1.10.2 [2020-10-08T14:12:35.289Z] virtualenv==15.1.0 [2020-10-08T14:12:35.289Z] yum-langpacks==0.4.2 [2020-10-08T14:12:35.289Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-10-08T14:12:35.302Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-08T14:12:35.602Z] ---> sudo-logs.sh [2020-10-08T14:12:35.602Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-08T14:12:35.874Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-08T14:12:36.172Z] ---> job-cost.sh [2020-10-08T14:12:36.172Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-SAx5 [2020-10-08T14:12:44.328Z] Cache entry deserialization failed, entry ignored [2020-10-08T14:12:44.328Z] Cache entry deserialization failed, entry ignored [2020-10-08T14:12:46.263Z] Cache entry deserialization failed, entry ignored [2020-10-08T14:12:46.527Z] Cache entry deserialization failed, entry ignored [2020-10-08T14:12:46.792Z] Cache entry deserialization failed, entry ignored [2020-10-08T14:12:46.792Z] Cache entry deserialization failed, entry ignored [2020-10-08T14:12:46.792Z] Cache entry deserialization failed, entry ignored [2020-10-08T14:12:47.059Z] Cache entry deserialization failed, entry ignored [2020-10-08T14:12:47.332Z] Cache entry deserialization failed, entry ignored [2020-10-08T14:12:47.332Z] Cache entry deserialization failed, entry ignored [2020-10-08T14:12:47.598Z] Cache entry deserialization failed, entry ignored [2020-10-08T14:12:47.598Z] Cache entry deserialization failed, entry ignored [2020-10-08T14:12:52.902Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-10-08T14:13:19.526Z] lf-activate-venv(): INFO: Adding /tmp/venv-SAx5/bin to PATH [2020-10-08T14:13:19.526Z] INFO: No Stack... [2020-10-08T14:13:20.100Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-08T14:13:20.675Z] INFO: Archiving Costs [Pipeline] echo [2020-10-08T14:13:20.695Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-08T14:13:22.022Z] ---> logs-deploy.sh [2020-10-08T14:13:22.022Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-624/2 [2020-10-08T14:13:22.022Z] INFO: archiving workspace using pattern(s): [2020-10-08T14:13:24.591Z] Archives upload complete. [2020-10-08T14:13:24.591Z] INFO: archiving logs to Nexus