Pull request #583 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b39299a55ada1edb4dcbaecb5f4d8ef99f15ca70+10f5d80329275e8e77aa5b449b49b1589ab3bade (9f1fe0247585819948082dc8f9e665d97e45e7d3) 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 using credential edgex-jenkins-ssh > 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a2cbe11917bfb8801b6bc99aaa80229564ed4294 # timeout=10 Commit message: "Merge pull request #273 from ernestojeda/fix-semver-dir-permissions" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-5774 in /w/workspace/dgexfoundry_device-sdk-go_PR-583 [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-583 # 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 Merging remotes/origin/master commit 10f5d80329275e8e77aa5b449b49b1589ab3bade into PR head commit b39299a55ada1edb4dcbaecb5f4d8ef99f15ca70 > 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/583/head:refs/remotes/origin/PR-583 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b39299a55ada1edb4dcbaecb5f4d8ef99f15ca70 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 Merge succeeded, producing 9e3e54b7a1e9ce566e71a1ccfa8140260133be16 Checking out Revision 9e3e54b7a1e9ce566e71a1ccfa8140260133be16 (PR-583) using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 10f5d80329275e8e77aa5b449b49b1589ab3bade # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9e3e54b7a1e9ce566e71a1ccfa8140260133be16 # timeout=10 Commit message: "Merge commit '10f5d80329275e8e77aa5b449b49b1589ab3bade' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 9b04607b81dd1c422320116dd4b94160e5ae5ca9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-16T06:28:33.749Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-16T06:28:33.993Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-16T06:28:34.096Z] ========================================================= [2020-10-16T06:28:34.096Z] EdgeX Global Pipelines Version Info [2020-10-16T06:28:34.096Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-16T06:28:37.529Z] ------------------- [2020-10-16T06:28:37.529Z] stable info: [2020-10-16T06:28:37.529Z] ------------------- [2020-10-16T06:28:37.529Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-16T06:28:37.529Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-16T06:28:37.529Z] Message: update stable to v1.0.144 [2020-10-16T06:28:38.524Z] ------------------- [2020-10-16T06:28:38.524Z] experimental info: [2020-10-16T06:28:38.524Z] ------------------- [2020-10-16T06:28:38.524Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-16T06:28:38.524Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-16T06:28:38.524Z] Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-16T06:28:38.951Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-16T06:28:39.042Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-16T06:28:39.130Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-16T06:28:39.229Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-16T06:28:39.344Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-16T06:28:39.462Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-16T06:28:39.554Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-16T06:28:39.685Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-16T06:28:39.778Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-16T06:28:39.907Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-16T06:28:40.012Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-16T06:28:40.180Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-16T06:28:40.293Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-16T06:28:40.391Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-16T06:28:40.499Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-16T06:28:40.667Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T06:28:40.809Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T06:28:40.897Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T06:28:41.019Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-16T06:28:41.102Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-16T06:28:41.201Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-16T06:28:41.303Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-16T06:28:41.387Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-16T06:28:41.474Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-16T06:28:41.559Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-16T06:28:41.645Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-583 [Pipeline] echo [2020-10-16T06:28:41.740Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-583 [Pipeline] echo [2020-10-16T06:28:41.834Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-583 [Pipeline] echo [2020-10-16T06:28:41.920Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9e3e54b7a1e9ce566e71a1ccfa8140260133be16 [Pipeline] echo [2020-10-16T06:28:42.010Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9e3e54b [Pipeline] echo [2020-10-16T06:28:42.094Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-16T06:28:42.878Z] + git log --format=format:%s -1 9e3e54b7a1e9ce566e71a1ccfa8140260133be16 [Pipeline] echo [2020-10-16T06:28:42.963Z] GIT_COMMIT: 9e3e54b7a1e9ce566e71a1ccfa8140260133be16, Commit Message: Merge commit '10f5d80329275e8e77aa5b449b49b1589ab3bade' into HEAD [Pipeline] echo [2020-10-16T06:28:43.005Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:28:43.709Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T06:28:43.992Z] [2020-10-16T06:28:43.992Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:28:44.417Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T06:28:44.417Z] latest: Pulling from edgex-devops/git-semver [2020-10-16T06:28:44.417Z] 31603596830f: Pulling fs layer [2020-10-16T06:28:44.417Z] 2a8b12db71e7: Pulling fs layer [2020-10-16T06:28:44.417Z] 6ca5941a6612: Pulling fs layer [2020-10-16T06:28:44.417Z] ecc8261a40a4: Pulling fs layer [2020-10-16T06:28:44.417Z] ecc8261a40a4: Waiting [2020-10-16T06:28:44.711Z] 2a8b12db71e7: Verifying Checksum [2020-10-16T06:28:44.711Z] 2a8b12db71e7: Download complete [2020-10-16T06:28:44.711Z] 31603596830f: Verifying Checksum [2020-10-16T06:28:44.711Z] 31603596830f: Download complete [2020-10-16T06:28:45.390Z] ecc8261a40a4: Verifying Checksum [2020-10-16T06:28:45.390Z] ecc8261a40a4: Download complete [2020-10-16T06:28:45.390Z] 6ca5941a6612: Verifying Checksum [2020-10-16T06:28:45.390Z] 6ca5941a6612: Download complete [2020-10-16T06:28:45.390Z] 31603596830f: Pull complete [2020-10-16T06:28:45.670Z] 2a8b12db71e7: Pull complete [2020-10-16T06:28:46.635Z] 6ca5941a6612: Pull complete [2020-10-16T06:28:46.919Z] ecc8261a40a4: Pull complete [2020-10-16T06:28:46.919Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-16T06:28:46.919Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T06:28:46.919Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-16T06:28:47.134Z] prd-centos7-docker-4c-2g-5774 does not seem to be running inside a container [2020-10-16T06:28:47.448Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-583 -v /w/workspace/dgexfoundry_device-sdk-go_PR-583:/w/workspace/dgexfoundry_device-sdk-go_PR-583:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-583@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-583@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-16T06:28:49.912Z] $ docker top a08870431226ff08a3b32e65cd99c6499c1b8feb8e9ae78677a4825d9fbe71e1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-16T06:28:50.379Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-16T06:28:50.379Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-16T06:28:50.758Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-16T06:28:50.763Z] $ docker exec a08870431226ff08a3b32e65cd99c6499c1b8feb8e9ae78677a4825d9fbe71e1 ssh-agent [2020-10-16T06:28:51.095Z] SSH_AUTH_SOCK=/tmp/ssh-9PTgconvyFAZ/agent.11 [2020-10-16T06:28:51.095Z] SSH_AGENT_PID=17 [2020-10-16T06:28:51.121Z] Running ssh-add (command line suppressed) [2020-10-16T06:28:51.337Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-583@tmp/private_key_4231519648934023612.key (/w/workspace/dgexfoundry_device-sdk-go_PR-583@tmp/private_key_4231519648934023612.key) [2020-10-16T06:28:51.424Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-16T06:28:51.823Z] + git tag --points-at HEAD [Pipeline] } [2020-10-16T06:28:51.854Z] $ docker exec --env ******** --env ******** a08870431226ff08a3b32e65cd99c6499c1b8feb8e9ae78677a4825d9fbe71e1 ssh-agent -k [2020-10-16T06:28:52.190Z] unset SSH_AUTH_SOCK; [2020-10-16T06:28:52.191Z] unset SSH_AGENT_PID; [2020-10-16T06:28:52.191Z] echo Agent pid 17 killed; [2020-10-16T06:28:52.259Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-16T06:28:52.408Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-16T06:28:52.408Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-16T06:28:52.675Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-16T06:28:52.680Z] $ docker exec a08870431226ff08a3b32e65cd99c6499c1b8feb8e9ae78677a4825d9fbe71e1 ssh-agent [2020-10-16T06:28:52.932Z] SSH_AUTH_SOCK=/tmp/ssh-UZXpMvoiPhVb/agent.45 [2020-10-16T06:28:52.932Z] SSH_AGENT_PID=50 [2020-10-16T06:28:52.966Z] Running ssh-add (command line suppressed) [2020-10-16T06:28:53.225Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-583@tmp/private_key_3944199521060663922.key (/w/workspace/dgexfoundry_device-sdk-go_PR-583@tmp/private_key_3944199521060663922.key) [2020-10-16T06:28:53.299Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-16T06:28:53.685Z] + git semver init [2020-10-16T06:28:53.685Z] # -> Open(): unable to determine branch for HEAD [2020-10-16T06:28:53.685Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-583/.git [2020-10-16T06:28:53.685Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-583 [2020-10-16T06:28:53.685Z] # $SEMVER_REMOTE_NAME = origin [2020-10-16T06:28:53.685Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-16T06:28:53.685Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-16T06:28:53.685Z] # $SEMVER_BRANCH = PR-583 [2020-10-16T06:28:53.685Z] # $SEMVER_TEMP = /tmp/semver-714359693 [2020-10-16T06:28:53.685Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-16T06:28:54.730Z] # '/tmp/semver-714359693' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-583/.semver' [2020-10-16T06:28:54.730Z] # -> Force: false [2020-10-16T06:28:54.730Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-583/.semver [Pipeline] } [2020-10-16T06:28:54.754Z] $ docker exec --env ******** --env ******** a08870431226ff08a3b32e65cd99c6499c1b8feb8e9ae78677a4825d9fbe71e1 ssh-agent -k [2020-10-16T06:28:54.923Z] unset SSH_AUTH_SOCK; [2020-10-16T06:28:54.924Z] unset SSH_AGENT_PID; [2020-10-16T06:28:54.924Z] echo Agent pid 50 killed; [2020-10-16T06:28:55.003Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-16T06:28:55.701Z] + git semver [Pipeline] } [2020-10-16T06:28:55.725Z] $ docker stop --time=1 a08870431226ff08a3b32e65cd99c6499c1b8feb8e9ae78677a4825d9fbe71e1 [2020-10-16T06:28:57.420Z] $ docker rm -f a08870431226ff08a3b32e65cd99c6499c1b8feb8e9ae78677a4825d9fbe71e1 [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-16T06:28:57.935Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-16T06:28:59.085Z] Stashed 1 file(s) [Pipeline] echo [2020-10-16T06:28:59.087Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-10-16T06:29:14.715Z] Still waiting to schedule task [2020-10-16T06:29:14.715Z] ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-5779’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-5778’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-10-16T06:29:14.723Z] Still waiting to schedule task [2020-10-16T06:29:14.723Z] ‘prd-centos7-docker-4c-2g-3642’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-5779’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-5778’ is offline [2020-10-16T06:29:38.702Z] Running on prd-centos7-docker-4c-2g-5780 in /w/workspace/dgexfoundry_device-sdk-go_PR-583 [Pipeline] { [Pipeline] ws [2020-10-16T06:29:38.761Z] Running in /w/workspace/device-sdk-go/22 [Pipeline] { [Pipeline] checkout [2020-10-16T06:29:41.924Z] using credential edgex-jenkins-ssh [2020-10-16T06:29:41.977Z] Cloning the remote Git repository [2020-10-16T06:29:42.002Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T06:29:42.078Z] > git init /w/workspace/device-sdk-go/22 # timeout=10 [2020-10-16T06:29:42.128Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T06:29:42.128Z] > git --version # timeout=10 [2020-10-16T06:29:42.141Z] > git --version # 'git version 2.16.5' [2020-10-16T06:29:42.141Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T06:29:42.172Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T06:29:43.296Z] Merging remotes/origin/master commit 10f5d80329275e8e77aa5b449b49b1589ab3bade into PR head commit b39299a55ada1edb4dcbaecb5f4d8ef99f15ca70 [2020-10-16T06:29:43.424Z] Merge succeeded, producing afe7e8b76bb30be97464be8c9b738bf20b888df0 [2020-10-16T06:29:43.424Z] Checking out Revision afe7e8b76bb30be97464be8c9b738bf20b888df0 (PR-583) [2020-10-16T06:29:42.888Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T06:29:42.896Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T06:29:42.912Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T06:29:42.926Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T06:29:42.927Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T06:29:42.931Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/583/head:refs/remotes/origin/PR-583 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-16T06:29:43.307Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T06:29:43.315Z] > git checkout -f b39299a55ada1edb4dcbaecb5f4d8ef99f15ca70 # timeout=10 [2020-10-16T06:29:43.367Z] > git remote # timeout=10 [2020-10-16T06:29:43.372Z] > git config --get remote.origin.url # timeout=10 [2020-10-16T06:29:43.378Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T06:29:43.382Z] > git merge 10f5d80329275e8e77aa5b449b49b1589ab3bade # timeout=10 [2020-10-16T06:29:43.419Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-16T06:29:43.429Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T06:29:43.436Z] > git checkout -f afe7e8b76bb30be97464be8c9b738bf20b888df0 # timeout=10 [2020-10-16T06:29:47.157Z] Commit message: "Merge commit '10f5d80329275e8e77aa5b449b49b1589ab3bade' into HEAD" [2020-10-16T06:29:47.172Z] First time build. Skipping changelog. [2020-10-16T06:29:47.164Z] > git rev-list --no-walk 9b04607b81dd1c422320116dd4b94160e5ae5ca9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-16T06:29:47.884Z] ========================================================= [2020-10-16T06:29:47.884Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-16T06:29:47.884Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:29:48.551Z] + 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-16T06:29:49.134Z] Sending build context to Docker daemon 2.318MB [2020-10-16T06:29:49.134Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-16T06:29:49.134Z] Step 2/8 : FROM ${BASE} [2020-10-16T06:29:49.134Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-16T06:29:49.134Z] df20fa9351a1: Pulling fs layer [2020-10-16T06:29:49.134Z] ed8968b2872e: Pulling fs layer [2020-10-16T06:29:49.134Z] a92cc7c5fd73: Pulling fs layer [2020-10-16T06:29:49.134Z] e871e8e8d7a9: Pulling fs layer [2020-10-16T06:29:49.134Z] e73272ec9a57: Pulling fs layer [2020-10-16T06:29:49.134Z] 1e910a182e73: Pulling fs layer [2020-10-16T06:29:49.134Z] 4e634b169226: Pulling fs layer [2020-10-16T06:29:49.134Z] e73272ec9a57: Waiting [2020-10-16T06:29:49.134Z] 1e910a182e73: Waiting [2020-10-16T06:29:49.134Z] 4e634b169226: Waiting [2020-10-16T06:29:49.134Z] e871e8e8d7a9: Waiting [2020-10-16T06:29:49.134Z] a92cc7c5fd73: Verifying Checksum [2020-10-16T06:29:49.134Z] a92cc7c5fd73: Download complete [2020-10-16T06:29:49.134Z] ed8968b2872e: Verifying Checksum [2020-10-16T06:29:49.134Z] ed8968b2872e: Download complete [2020-10-16T06:29:49.134Z] e73272ec9a57: Verifying Checksum [2020-10-16T06:29:49.134Z] e73272ec9a57: Download complete [2020-10-16T06:29:49.134Z] 1e910a182e73: Download complete [2020-10-16T06:29:49.400Z] df20fa9351a1: Verifying Checksum [2020-10-16T06:29:49.400Z] df20fa9351a1: Download complete [2020-10-16T06:29:49.400Z] df20fa9351a1: Pull complete [2020-10-16T06:29:49.674Z] ed8968b2872e: Pull complete [2020-10-16T06:29:49.939Z] a92cc7c5fd73: Pull complete [2020-10-16T06:29:53.277Z] 4e634b169226: Verifying Checksum [2020-10-16T06:29:53.277Z] 4e634b169226: Download complete [2020-10-16T06:29:53.556Z] e871e8e8d7a9: Verifying Checksum [2020-10-16T06:29:53.556Z] e871e8e8d7a9: Download complete [2020-10-16T06:30:00.243Z] e871e8e8d7a9: Pull complete [2020-10-16T06:30:00.243Z] e73272ec9a57: Pull complete [2020-10-16T06:30:00.243Z] 1e910a182e73: Pull complete [2020-10-16T06:30:05.620Z] 4e634b169226: Pull complete [2020-10-16T06:30:05.620Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-16T06:30:05.620Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-16T06:30:05.620Z] ---> f7629b54cfaa [2020-10-16T06:30:05.620Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T06:30:05.620Z] ---> Running in 5f54bd8323cf [2020-10-16T06:30:05.620Z] Removing intermediate container 5f54bd8323cf [2020-10-16T06:30:05.620Z] ---> 0319b2aebbc3 [2020-10-16T06:30:05.620Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T06:30:05.620Z] ---> Running in 743168eac6a1 [2020-10-16T06:30:07.555Z] Removing intermediate container 743168eac6a1 [2020-10-16T06:30:07.555Z] ---> fc378e6e6861 [2020-10-16T06:30:07.555Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-16T06:30:07.555Z] ---> Running in 268a04bf04e2 [2020-10-16T06:30:07.817Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-16T06:30:08.762Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-16T06:30:09.711Z] OK: 166 MiB in 39 packages [2020-10-16T06:30:09.979Z] Removing intermediate container 268a04bf04e2 [2020-10-16T06:30:09.979Z] ---> 8c9453998757 [2020-10-16T06:30:09.979Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-16T06:30:09.979Z] ---> Running in 18596fae577d [2020-10-16T06:30:10.247Z] Removing intermediate container 18596fae577d [2020-10-16T06:30:10.247Z] ---> 10173a4f102d [2020-10-16T06:30:10.247Z] Step 7/8 : COPY . . [2020-10-16T06:30:11.203Z] ---> f054bbc35ea6 [2020-10-16T06:30:11.203Z] Step 8/8 : RUN go mod download [2020-10-16T06:30:11.467Z] ---> Running in 9eb4ad304997 [2020-10-16T06:30:33.513Z] Removing intermediate container 9eb4ad304997 [2020-10-16T06:30:33.513Z] ---> 02894c01581f [2020-10-16T06:30:33.513Z] Successfully built 02894c01581f [2020-10-16T06:30:33.513Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:30:33.903Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-16T06:30:33.903Z] . [Pipeline] withDockerContainer [2020-10-16T06:30:34.016Z] prd-centos7-docker-4c-2g-5780 does not seem to be running inside a container [2020-10-16T06:30:34.080Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/22 -v /w/workspace/device-sdk-go/22:/w/workspace/device-sdk-go/22:rw,z -v /w/workspace/device-sdk-go/22@tmp:/w/workspace/device-sdk-go/22@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 ******** ci-base-image-x86_64 cat [2020-10-16T06:30:34.937Z] $ docker top d55c21cf9ecfd5c44a51ffc5fd5e34b8135e1b50b1b6b4307f988f895caf8bf9 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T06:30:35.443Z] + go version [2020-10-16T06:30:35.443Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-16T06:30:35.461Z] $ docker stop --time=1 d55c21cf9ecfd5c44a51ffc5fd5e34b8135e1b50b1b6b4307f988f895caf8bf9 [2020-10-16T06:30:36.837Z] $ docker rm -f d55c21cf9ecfd5c44a51ffc5fd5e34b8135e1b50b1b6b4307f988f895caf8bf9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:30:38.038Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-16T06:30:38.038Z] . [Pipeline] withDockerContainer [2020-10-16T06:30:38.164Z] prd-centos7-docker-4c-2g-5780 does not seem to be running inside a container [2020-10-16T06:30:38.235Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/22 -v /w/workspace/device-sdk-go/22:/w/workspace/device-sdk-go/22:rw,z -v /w/workspace/device-sdk-go/22@tmp:/w/workspace/device-sdk-go/22@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 ******** ci-base-image-x86_64 cat [2020-10-16T06:30:39.050Z] $ docker top c6e6bdb52dcc5e19765c4ba5e328180294635e6b71911acc6c8ec78d14abdd5b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T06:30:39.607Z] + make test [2020-10-16T06:30:39.607Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-16T06:30:47.886Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-16T06:31:02.983Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-16T06:31:02.983Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-16T06:31:02.983Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-16T06:31:03.615Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.065s coverage: 21.6% of statements [2020-10-16T06:31:06.989Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.477s coverage: 97.1% of statements [2020-10-16T06:31:39.259Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.080s coverage: 9.4% of statements [2020-10-16T06:31:39.259Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.053s coverage: 21.9% of statements [2020-10-16T06:31:39.259Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-16T06:31:39.259Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.232s coverage: 42.6% of statements [2020-10-16T06:31:39.259Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-16T06:31:39.259Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.332s coverage: 68.9% of statements [2020-10-16T06:31:39.259Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-16T06:31:39.259Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-16T06:31:39.259Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-16T06:31:39.259Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-16T06:31:39.259Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.079s coverage: 52.6% of statements [2020-10-16T06:31:39.259Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-16T06:31:39.259Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-16T06:31:39.259Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-16T06:31:39.259Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.375s coverage: 68.9% of statements [2020-10-16T06:31:39.259Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-16T06:31:39.259Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-16T06:31:39.259Z] GO111MODULE=on go vet ./... [2020-10-16T06:31:44.685Z] gofmt -l . [2020-10-16T06:31:44.685Z] [ "`gofmt -l .`" = "" ] [2020-10-16T06:31:44.685Z] ./bin/test-attribution-txt.sh [2020-10-16T06:31:45.273Z] An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add [2020-10-16T06:31:45.273Z] make: *** [Makefile:36: test] Error 1 [Pipeline] } [2020-10-16T06:31:45.295Z] $ docker stop --time=1 c6e6bdb52dcc5e19765c4ba5e328180294635e6b71911acc6c8ec78d14abdd5b [2020-10-16T06:31:47.173Z] $ docker rm -f c6e6bdb52dcc5e19765c4ba5e328180294635e6b71911acc6c8ec78d14abdd5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [2020-10-16T06:31:47.976Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5783 in /w/workspace/dgexfoundry_device-sdk-go_PR-583 [Pipeline] { [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] ws [2020-10-16T06:31:48.048Z] Running in /w/workspace/device-sdk-go/22 [Pipeline] { Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] checkout [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-10-16T06:31:49.112Z] Failed in branch amd64 [2020-10-16T06:31:53.394Z] using credential edgex-jenkins-ssh [2020-10-16T06:31:53.450Z] Cloning the remote Git repository [2020-10-16T06:31:53.507Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T06:31:53.616Z] > git init /w/workspace/device-sdk-go/22 # timeout=10 [2020-10-16T06:31:53.692Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T06:31:53.693Z] > git --version # timeout=10 [2020-10-16T06:31:53.712Z] > git --version # 'git version 2.17.1' [2020-10-16T06:31:53.714Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T06:31:53.769Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T06:31:55.390Z] Merging remotes/origin/master commit 10f5d80329275e8e77aa5b449b49b1589ab3bade into PR head commit b39299a55ada1edb4dcbaecb5f4d8ef99f15ca70 [2020-10-16T06:31:55.809Z] Merge succeeded, producing d13897b1c85f9dcc8102e88e8e0f300404f5567d [2020-10-16T06:31:55.810Z] Checking out Revision d13897b1c85f9dcc8102e88e8e0f300404f5567d (PR-583) [2020-10-16T06:31:54.810Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T06:31:54.827Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T06:31:54.859Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T06:31:54.901Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T06:31:54.901Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T06:31:54.912Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/583/head:refs/remotes/origin/PR-583 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-16T06:31:55.404Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T06:31:55.418Z] > git checkout -f b39299a55ada1edb4dcbaecb5f4d8ef99f15ca70 # timeout=10 [2020-10-16T06:31:55.533Z] > git remote # timeout=10 [2020-10-16T06:31:55.554Z] > git config --get remote.origin.url # timeout=10 [2020-10-16T06:31:55.625Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T06:31:55.638Z] > git merge 10f5d80329275e8e77aa5b449b49b1589ab3bade # timeout=10 [2020-10-16T06:31:55.751Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-16T06:31:55.810Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T06:31:55.841Z] > git checkout -f d13897b1c85f9dcc8102e88e8e0f300404f5567d # timeout=10 [2020-10-16T06:32:00.111Z] Commit message: "Merge commit '10f5d80329275e8e77aa5b449b49b1589ab3bade' into HEAD" [2020-10-16T06:32:00.139Z] First time build. Skipping changelog. [2020-10-16T06:32:00.114Z] > git rev-list --no-walk 9b04607b81dd1c422320116dd4b94160e5ae5ca9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-16T06:32:01.035Z] ========================================================= [2020-10-16T06:32:01.035Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-16T06:32:01.035Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:32:02.115Z] + 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-16T06:32:03.111Z] Sending build context to Docker daemon 2.316MB [2020-10-16T06:32:03.111Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-16T06:32:03.111Z] Step 2/8 : FROM ${BASE} [2020-10-16T06:32:03.386Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-16T06:32:03.386Z] b538f80385f9: Pulling fs layer [2020-10-16T06:32:03.386Z] 74f711af9a0d: Pulling fs layer [2020-10-16T06:32:03.386Z] 99f96fe45779: Pulling fs layer [2020-10-16T06:32:03.386Z] 8529a6b9a6be: Pulling fs layer [2020-10-16T06:32:03.386Z] 45590311c82a: Pulling fs layer [2020-10-16T06:32:03.386Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-16T06:32:03.386Z] 209524e5b208: Pulling fs layer [2020-10-16T06:32:03.386Z] 45590311c82a: Waiting [2020-10-16T06:32:03.386Z] 69ca0ff8b7b3: Waiting [2020-10-16T06:32:03.386Z] 8529a6b9a6be: Waiting [2020-10-16T06:32:03.386Z] 209524e5b208: Waiting [2020-10-16T06:32:03.386Z] 99f96fe45779: Verifying Checksum [2020-10-16T06:32:03.386Z] 99f96fe45779: Download complete [2020-10-16T06:32:03.386Z] 74f711af9a0d: Download complete [2020-10-16T06:32:03.386Z] 45590311c82a: Verifying Checksum [2020-10-16T06:32:03.386Z] 45590311c82a: Download complete [2020-10-16T06:32:03.386Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-16T06:32:03.386Z] 69ca0ff8b7b3: Download complete [2020-10-16T06:32:03.386Z] b538f80385f9: Verifying Checksum [2020-10-16T06:32:03.386Z] b538f80385f9: Download complete [2020-10-16T06:32:04.376Z] b538f80385f9: Pull complete [2020-10-16T06:32:04.656Z] 74f711af9a0d: Pull complete [2020-10-16T06:32:05.261Z] 99f96fe45779: Pull complete [2020-10-16T06:32:06.256Z] 209524e5b208: Verifying Checksum [2020-10-16T06:32:06.256Z] 209524e5b208: Download complete [2020-10-16T06:32:07.714Z] 8529a6b9a6be: Verifying Checksum [2020-10-16T06:32:07.714Z] 8529a6b9a6be: Download complete [2020-10-16T06:32:17.893Z] 8529a6b9a6be: Pull complete [2020-10-16T06:32:17.893Z] 45590311c82a: Pull complete [2020-10-16T06:32:18.169Z] 69ca0ff8b7b3: Pull complete [2020-10-16T06:32:22.509Z] 209524e5b208: Pull complete [2020-10-16T06:32:22.509Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-16T06:32:22.509Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-16T06:32:22.509Z] ---> 5bddaf1c2fca [2020-10-16T06:32:22.509Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T06:32:24.494Z] ---> Running in 3041479ecfab [2020-10-16T06:32:25.096Z] Removing intermediate container 3041479ecfab [2020-10-16T06:32:25.096Z] ---> ce5232a4833d [2020-10-16T06:32:25.096Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T06:32:25.096Z] ---> Running in 0f8ab36ac3b7 [2020-10-16T06:32:27.726Z] Removing intermediate container 0f8ab36ac3b7 [2020-10-16T06:32:27.726Z] ---> 46ce87f171c0 [2020-10-16T06:32:27.726Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-16T06:32:28.009Z] ---> Running in 9f50f53637c4 [2020-10-16T06:32:29.443Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-16T06:32:30.040Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-16T06:32:31.018Z] OK: 142 MiB in 39 packages [2020-10-16T06:32:32.005Z] Removing intermediate container 9f50f53637c4 [2020-10-16T06:32:32.005Z] ---> f3b669c9ac3a [2020-10-16T06:32:32.005Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-16T06:32:32.282Z] ---> Running in f0d338df3b60 [2020-10-16T06:32:32.556Z] Removing intermediate container f0d338df3b60 [2020-10-16T06:32:32.556Z] ---> e46b66ea751e [2020-10-16T06:32:32.556Z] Step 7/8 : COPY . . [2020-10-16T06:32:33.998Z] ---> 528be927956b [2020-10-16T06:32:33.998Z] Step 8/8 : RUN go mod download [2020-10-16T06:32:33.998Z] ---> Running in f1f562561e04 [2020-10-16T06:32:56.175Z] Removing intermediate container f1f562561e04 [2020-10-16T06:32:56.175Z] ---> 923712f0b225 [2020-10-16T06:32:56.175Z] Successfully built 923712f0b225 [2020-10-16T06:32:56.175Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:32:56.583Z] + docker inspect -f . ci-base-image-arm64 [2020-10-16T06:32:56.583Z] . [Pipeline] withDockerContainer [2020-10-16T06:32:56.858Z] prd-ubuntu18.04-docker-arm64-4c-16g-5783 does not seem to be running inside a container [2020-10-16T06:32:56.944Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/22 -v /w/workspace/device-sdk-go/22:/w/workspace/device-sdk-go/22:rw,z -v /w/workspace/device-sdk-go/22@tmp:/w/workspace/device-sdk-go/22@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-10-16T06:32:58.780Z] $ docker top 00aa93dfb7ce478f674d51d0c24752b95622a981fce2a394e3d7ab4a4d6be9ad -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T06:33:00.180Z] + go version [2020-10-16T06:33:00.180Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-16T06:33:00.202Z] $ docker stop --time=1 00aa93dfb7ce478f674d51d0c24752b95622a981fce2a394e3d7ab4a4d6be9ad [2020-10-16T06:33:02.218Z] $ docker rm -f 00aa93dfb7ce478f674d51d0c24752b95622a981fce2a394e3d7ab4a4d6be9ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:33:03.273Z] + docker inspect -f . ci-base-image-arm64 [2020-10-16T06:33:03.273Z] . [Pipeline] withDockerContainer [2020-10-16T06:33:03.548Z] prd-ubuntu18.04-docker-arm64-4c-16g-5783 does not seem to be running inside a container [2020-10-16T06:33:03.628Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/22 -v /w/workspace/device-sdk-go/22:/w/workspace/device-sdk-go/22:rw,z -v /w/workspace/device-sdk-go/22@tmp:/w/workspace/device-sdk-go/22@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-10-16T06:33:05.452Z] $ docker top 572187c0b4ddb1df7e47aa510afead716e80c211460e4706508bd1d442b8783f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T06:33:06.850Z] + make test [2020-10-16T06:33:06.850Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-16T06:33:29.069Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-16T06:34:08.191Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-16T06:34:08.191Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-16T06:34:08.191Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-16T06:34:08.191Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.124s coverage: 21.6% of statements [2020-10-16T06:34:13.632Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.139s coverage: 97.1% of statements [2020-10-16T06:34:40.443Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.166s coverage: 9.4% of statements [2020-10-16T06:34:40.443Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.113s coverage: 21.9% of statements [2020-10-16T06:34:40.443Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-16T06:34:40.443Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.541s coverage: 42.6% of statements [2020-10-16T06:34:40.443Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-16T06:34:40.443Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.775s coverage: 68.9% of statements [2020-10-16T06:34:40.443Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-16T06:34:40.443Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-16T06:34:40.443Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-16T06:34:40.443Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-16T06:34:40.443Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.190s coverage: 52.6% of statements [2020-10-16T06:34:40.443Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-16T06:34:40.443Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-16T06:34:40.443Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-16T06:34:40.443Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.868s coverage: 68.9% of statements [2020-10-16T06:34:40.443Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-16T06:34:40.443Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-16T06:34:40.443Z] GO111MODULE=on go vet ./... [2020-10-16T06:35:12.863Z] gofmt -l . [2020-10-16T06:35:12.863Z] [ "`gofmt -l .`" = "" ] [2020-10-16T06:35:12.863Z] ./bin/test-attribution-txt.sh [2020-10-16T06:35:12.863Z] An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add [2020-10-16T06:35:12.863Z] make: *** [Makefile:36: test] Error 1 [Pipeline] } [2020-10-16T06:35:12.885Z] $ docker stop --time=1 572187c0b4ddb1df7e47aa510afead716e80c211460e4706508bd1d442b8783f [2020-10-16T06:35:15.066Z] $ docker rm -f 572187c0b4ddb1df7e47aa510afead716e80c211460e4706508bd1d442b8783f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-10-16T06:35:17.155Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-10-16T06:35:20.137Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T06:35:20.915Z] ---> package-listing.sh [2020-10-16T06:35:20.915Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-16T06:35:20.915Z] ++ facter osfamily [2020-10-16T06:35:20.915Z] + OS_FAMILY=redhat [2020-10-16T06:35:20.915Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-583 [2020-10-16T06:35:20.915Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-16T06:35:20.915Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-16T06:35:20.915Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-16T06:35:20.915Z] + PACKAGES=/tmp/packages_start.txt [2020-10-16T06:35:20.915Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-583 ']' [2020-10-16T06:35:20.915Z] + PACKAGES=/tmp/packages_end.txt [2020-10-16T06:35:20.915Z] + case "${OS_FAMILY}" in [2020-10-16T06:35:20.915Z] + rpm -qa [2020-10-16T06:35:20.915Z] + sort [2020-10-16T06:35:26.298Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-16T06:35:26.298Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-16T06:35:26.298Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-16T06:35:26.298Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-583 ']' [2020-10-16T06:35:26.299Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-583/archives/ [2020-10-16T06:35:26.299Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-583/archives/ [Pipeline] echo [2020-10-16T06:35:26.317Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-583/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-16T06:35:26.740Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:35:27.426Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T06:35:27.694Z] [2020-10-16T06:35:27.694Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:35:28.194Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T06:35:28.194Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-16T06:35:28.194Z] df20fa9351a1: Pulling fs layer [2020-10-16T06:35:28.194Z] 36b3adc4ff6f: Pulling fs layer [2020-10-16T06:35:28.195Z] 8ad3a11d3b57: Pulling fs layer [2020-10-16T06:35:28.195Z] 46f8f816bc3b: Pulling fs layer [2020-10-16T06:35:28.195Z] 93b61091891f: Pulling fs layer [2020-10-16T06:35:28.195Z] 93b9cdb0e59b: Pulling fs layer [2020-10-16T06:35:28.195Z] 5e14af77c1be: Pulling fs layer [2020-10-16T06:35:28.195Z] 01666e4c0597: Pulling fs layer [2020-10-16T06:35:28.195Z] aa168da1d23b: Pulling fs layer [2020-10-16T06:35:28.195Z] 01666e4c0597: Waiting [2020-10-16T06:35:28.195Z] 93b61091891f: Waiting [2020-10-16T06:35:28.195Z] 93b9cdb0e59b: Waiting [2020-10-16T06:35:28.195Z] 5e14af77c1be: Waiting [2020-10-16T06:35:28.195Z] aa168da1d23b: Waiting [2020-10-16T06:35:28.195Z] 46f8f816bc3b: Waiting [2020-10-16T06:35:28.490Z] 36b3adc4ff6f: Download complete [2020-10-16T06:35:28.490Z] 46f8f816bc3b: Verifying Checksum [2020-10-16T06:35:28.490Z] 46f8f816bc3b: Download complete [2020-10-16T06:35:28.490Z] df20fa9351a1: Verifying Checksum [2020-10-16T06:35:28.490Z] df20fa9351a1: Download complete [2020-10-16T06:35:28.490Z] 93b61091891f: Verifying Checksum [2020-10-16T06:35:28.490Z] 93b61091891f: Download complete [2020-10-16T06:35:28.802Z] 93b9cdb0e59b: Verifying Checksum [2020-10-16T06:35:28.802Z] 93b9cdb0e59b: Download complete [2020-10-16T06:35:28.802Z] 5e14af77c1be: Verifying Checksum [2020-10-16T06:35:28.802Z] 5e14af77c1be: Download complete [2020-10-16T06:35:28.802Z] 01666e4c0597: Verifying Checksum [2020-10-16T06:35:28.802Z] 01666e4c0597: Download complete [2020-10-16T06:35:29.079Z] df20fa9351a1: Pull complete [2020-10-16T06:35:29.079Z] 8ad3a11d3b57: Verifying Checksum [2020-10-16T06:35:29.079Z] 8ad3a11d3b57: Download complete [2020-10-16T06:35:29.413Z] 36b3adc4ff6f: Pull complete [2020-10-16T06:35:30.946Z] 8ad3a11d3b57: Pull complete [2020-10-16T06:35:31.268Z] 46f8f816bc3b: Pull complete [2020-10-16T06:35:32.387Z] 93b61091891f: Pull complete [2020-10-16T06:35:32.387Z] 93b9cdb0e59b: Pull complete [2020-10-16T06:35:32.683Z] 5e14af77c1be: Pull complete [2020-10-16T06:35:32.683Z] 01666e4c0597: Pull complete [2020-10-16T06:35:35.495Z] aa168da1d23b: Verifying Checksum [2020-10-16T06:35:35.495Z] aa168da1d23b: Download complete [2020-10-16T06:35:46.058Z] aa168da1d23b: Pull complete [2020-10-16T06:35:46.058Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-16T06:35:46.058Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T06:35:46.058Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-16T06:35:46.341Z] prd-centos7-docker-4c-2g-5774 does not seem to be running inside a container [2020-10-16T06:35:46.425Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-583/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-583 -v /w/workspace/dgexfoundry_device-sdk-go_PR-583:/w/workspace/dgexfoundry_device-sdk-go_PR-583:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-583@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-583@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-10-16T06:35:52.327Z] $ docker top 343d3604570c2bd7d08df66be3ac86f98f6649a9f1676f53f829f87c0b3e5dfc -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T06:35:53.095Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-16T06:35:53.980Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-16T06:35:54.453Z] + ls /var/log/sa-host [2020-10-16T06:35:54.453Z] + sadf -c /var/log/sa-host/sa05 [2020-10-16T06:35:54.453Z] file_magic: OK [2020-10-16T06:35:54.453Z] HZ: Using current value: 100 [2020-10-16T06:35:54.453Z] file_header: OK [2020-10-16T06:35:54.453Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-10-16T06:35:54.453Z] Statistics: [2020-10-16T06:35:54.453Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-16T06:35:54.453Z] File successfully converted to sysstat format version 12.2.1 [2020-10-16T06:35:54.453Z] + sadf -c /var/log/sa-host/sa16 [2020-10-16T06:35:54.453Z] file_magic: OK [2020-10-16T06:35:54.453Z] HZ: Using current value: 100 [2020-10-16T06:35:54.453Z] file_header: OK [2020-10-16T06:35:54.453Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-10-16T06:35:54.453Z] Statistics: [2020-10-16T06:35:54.453Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-16T06:35:54.453Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-16T06:35:54.673Z] provisioning config files... [2020-10-16T06:35:54.697Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-583@tmp/config8449911747945406814tmp [Pipeline] { [Pipeline] echo [2020-10-16T06:35:54.778Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T06:35:55.107Z] ---> create-netrc.sh [Pipeline] } [2020-10-16T06:35:55.119Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-16T06:35:55.321Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T06:35:55.707Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-16T06:35:55.728Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T06:35:56.053Z] ---> sudo-logs.sh [2020-10-16T06:35:56.053Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-16T06:35:56.066Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T06:35:56.416Z] ---> job-cost.sh [2020-10-16T06:35:56.416Z] lf-activate-venv: SKIPPING [2020-10-16T06:35:56.416Z] INFO: No Stack... [2020-10-16T06:35:57.388Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-16T06:35:57.984Z] INFO: Archiving Costs [Pipeline] echo [2020-10-16T06:35:58.003Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T06:35:58.335Z] ---> logs-deploy.sh [2020-10-16T06:35:58.335Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-583/22 [2020-10-16T06:35:58.335Z] INFO: archiving workspace using pattern(s): [2020-10-16T06:36:00.924Z] Archives upload complete. [2020-10-16T06:36:00.924Z] INFO: archiving logs to Nexus