Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 44723ec98315d466e92c2d735e52b8bc3e222db6+0cafa7decaaa0dab3b86f836c2c615e8e839d11b (f4497be08539ec5db572844ca970f34708eddc9f) 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 7909e789ffc0fecf34d47f501ec8db0a80105338 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 7909e789ffc0fecf34d47f501ec8db0a80105338 using credential edgex-jenkins-ssh > 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 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [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: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Running on prd-centos7-docker-4c-2g-904 in /w/workspace/dgexfoundry_device-sdk-go_PR-591 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git Fetching without tags > git init /w/workspace/dgexfoundry_device-sdk-go_PR-591 # 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 --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/591/head:refs/remotes/origin/PR-591 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/591/head:refs/remotes/origin/PR-591 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-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 --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/591/head:refs/remotes/origin/PR-591 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit 44723ec98315d466e92c2d735e52b8bc3e222db6 Merge succeeded, producing 2df3f5be49b0d61e68a914b16adcf6140e0317ba Checking out Revision 2df3f5be49b0d61e68a914b16adcf6140e0317ba (PR-591) > git config core.sparsecheckout # timeout=10 > git checkout -f 44723ec98315d466e92c2d735e52b8bc3e222db6 # 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 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2df3f5be49b0d61e68a914b16adcf6140e0317ba # timeout=10 Commit message: "Merge commit '0cafa7decaaa0dab3b86f836c2c615e8e839d11b' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-22T18:40:25.516Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-22T18:40:25.792Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk 1b15c2f1d5928fec65e93b1196f4a379a46ff1d4 # timeout=10 [Pipeline] echo [2020-09-22T18:40:25.890Z] ========================================================= [2020-09-22T18:40:25.890Z] EdgeX Global Pipelines Version Info [2020-09-22T18:40:25.890Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-22T18:40:27.394Z] ------------------- [2020-09-22T18:40:27.394Z] stable info: [2020-09-22T18:40:27.394Z] ------------------- [2020-09-22T18:40:27.394Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-22T18:40:27.394Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-22T18:40:27.394Z] Message: update stable to v1.0.122 [2020-09-22T18:40:28.339Z] ------------------- [2020-09-22T18:40:28.339Z] experimental info: [2020-09-22T18:40:28.339Z] ------------------- [2020-09-22T18:40:28.339Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-22T18:40:28.340Z] Commit SHA: 4cadb88800041bcc4665ba3be4ccb25d089af403 [2020-09-22T18:40:28.340Z] Message: update experimental to v1.0.126 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-22T18:40:28.688Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-22T18:40:28.774Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-22T18:40:28.869Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-22T18:40:28.957Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-22T18:40:29.043Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-22T18:40:29.131Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-22T18:40:29.215Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-22T18:40:29.301Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-22T18:40:29.387Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-22T18:40:29.485Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-22T18:40:29.577Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-22T18:40:29.669Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-22T18:40:29.767Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-22T18:40:29.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-22T18:40:29.982Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-22T18:40:30.070Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T18:40:30.228Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T18:40:30.456Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T18:40:30.603Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-22T18:40:30.699Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-22T18:40:30.806Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-22T18:40:30.918Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-22T18:40:31.063Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-591 [Pipeline] echo [2020-09-22T18:40:31.165Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-591 [Pipeline] echo [2020-09-22T18:40:31.250Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-591 [Pipeline] echo [2020-09-22T18:40:31.334Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2df3f5be49b0d61e68a914b16adcf6140e0317ba [Pipeline] echo [2020-09-22T18:40:31.427Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2df3f5b [Pipeline] echo [2020-09-22T18:40:31.514Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-22T18:40:32.176Z] + git log --format=format:%s -1 2df3f5be49b0d61e68a914b16adcf6140e0317ba [Pipeline] echo [2020-09-22T18:40:32.235Z] GIT_COMMIT: 2df3f5be49b0d61e68a914b16adcf6140e0317ba, Commit Message: Merge commit '0cafa7decaaa0dab3b86f836c2c615e8e839d11b' into HEAD [Pipeline] echo [2020-09-22T18:40:32.280Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:40:33.250Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T18:40:33.515Z] [2020-09-22T18:40:33.515Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:40:33.861Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T18:40:33.861Z] latest: Pulling from edgex-devops/git-semver [2020-09-22T18:40:33.861Z] 31603596830f: Pulling fs layer [2020-09-22T18:40:33.861Z] 2a8b12db71e7: Pulling fs layer [2020-09-22T18:40:33.861Z] 6ca5941a6612: Pulling fs layer [2020-09-22T18:40:33.861Z] ecc8261a40a4: Pulling fs layer [2020-09-22T18:40:33.861Z] ecc8261a40a4: Waiting [2020-09-22T18:40:34.139Z] 2a8b12db71e7: Verifying Checksum [2020-09-22T18:40:34.139Z] 2a8b12db71e7: Download complete [2020-09-22T18:40:34.139Z] 31603596830f: Verifying Checksum [2020-09-22T18:40:34.139Z] 31603596830f: Download complete [2020-09-22T18:40:34.139Z] ecc8261a40a4: Verifying Checksum [2020-09-22T18:40:34.139Z] ecc8261a40a4: Download complete [2020-09-22T18:40:34.404Z] 6ca5941a6612: Verifying Checksum [2020-09-22T18:40:34.404Z] 6ca5941a6612: Download complete [2020-09-22T18:40:34.404Z] 31603596830f: Pull complete [2020-09-22T18:40:34.665Z] 2a8b12db71e7: Pull complete [2020-09-22T18:40:35.243Z] 6ca5941a6612: Pull complete [2020-09-22T18:40:35.508Z] ecc8261a40a4: Pull complete [2020-09-22T18:40:35.508Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-22T18:40:35.508Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T18:40:35.508Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-22T18:40:35.615Z] prd-centos7-docker-4c-2g-904 does not seem to be running inside a container [2020-09-22T18:40:35.663Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-591 -v /w/workspace/dgexfoundry_device-sdk-go_PR-591:/w/workspace/dgexfoundry_device-sdk-go_PR-591:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-591@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-591@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-22T18:40:37.836Z] $ docker top d5a110906b1d507e0b4d2bc514dcc75f6172ecf0252bc5dc5c6bf7a53632ca07 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-22T18:40:38.197Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-22T18:40:38.197Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-22T18:40:38.420Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-22T18:40:38.424Z] $ docker exec d5a110906b1d507e0b4d2bc514dcc75f6172ecf0252bc5dc5c6bf7a53632ca07 ssh-agent [2020-09-22T18:40:38.592Z] SSH_AUTH_SOCK=/tmp/ssh-iKBqVS39hJzg/agent.11 [2020-09-22T18:40:38.592Z] SSH_AGENT_PID=17 [2020-09-22T18:40:38.606Z] Running ssh-add (command line suppressed) [2020-09-22T18:40:38.737Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-591@tmp/private_key_4389324432860296000.key (/w/workspace/dgexfoundry_device-sdk-go_PR-591@tmp/private_key_4389324432860296000.key) [2020-09-22T18:40:38.786Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-22T18:40:39.121Z] + git describe --exact-match --tags HEAD [2020-09-22T18:40:39.121Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-22T18:40:39.145Z] $ docker exec --env ******** --env ******** d5a110906b1d507e0b4d2bc514dcc75f6172ecf0252bc5dc5c6bf7a53632ca07 ssh-agent -k [2020-09-22T18:40:39.273Z] unset SSH_AUTH_SOCK; [2020-09-22T18:40:39.274Z] unset SSH_AGENT_PID; [2020-09-22T18:40:39.274Z] echo Agent pid 17 killed; [2020-09-22T18:40:39.318Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-22T18:40:39.399Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-22T18:40:39.399Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-22T18:40:39.609Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-22T18:40:39.609Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-22T18:40:39.777Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-22T18:40:39.781Z] $ docker exec d5a110906b1d507e0b4d2bc514dcc75f6172ecf0252bc5dc5c6bf7a53632ca07 ssh-agent [2020-09-22T18:40:39.944Z] SSH_AUTH_SOCK=/tmp/ssh-YGywGWwiipwA/agent.46 [2020-09-22T18:40:39.944Z] SSH_AGENT_PID=51 [2020-09-22T18:40:39.951Z] Running ssh-add (command line suppressed) [2020-09-22T18:40:40.079Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-591@tmp/private_key_5058107377497838421.key (/w/workspace/dgexfoundry_device-sdk-go_PR-591@tmp/private_key_5058107377497838421.key) [2020-09-22T18:40:40.132Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-22T18:40:40.482Z] + git semver init [2020-09-22T18:40:40.482Z] # -> Open(): unable to determine branch for HEAD [2020-09-22T18:40:40.482Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-591/.git [2020-09-22T18:40:40.482Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-591 [2020-09-22T18:40:40.482Z] # $SEMVER_REMOTE_NAME = origin [2020-09-22T18:40:40.482Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-22T18:40:40.482Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-22T18:40:40.482Z] # $SEMVER_BRANCH = PR-591 [2020-09-22T18:40:40.482Z] # $SEMVER_TEMP = /tmp/semver-240955343 [2020-09-22T18:40:40.482Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-22T18:40:41.065Z] # '/tmp/semver-240955343' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-591/.semver' [2020-09-22T18:40:41.065Z] # -> Force: false [2020-09-22T18:40:41.065Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-591/.semver [Pipeline] } [2020-09-22T18:40:41.083Z] $ docker exec --env ******** --env ******** d5a110906b1d507e0b4d2bc514dcc75f6172ecf0252bc5dc5c6bf7a53632ca07 ssh-agent -k [2020-09-22T18:40:41.204Z] unset SSH_AUTH_SOCK; [2020-09-22T18:40:41.204Z] unset SSH_AGENT_PID; [2020-09-22T18:40:41.204Z] echo Agent pid 51 killed; [2020-09-22T18:40:41.252Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-22T18:40:41.780Z] + git semver [Pipeline] } [2020-09-22T18:40:41.797Z] $ docker stop --time=1 d5a110906b1d507e0b4d2bc514dcc75f6172ecf0252bc5dc5c6bf7a53632ca07 [2020-09-22T18:40:43.163Z] $ docker rm -f d5a110906b1d507e0b4d2bc514dcc75f6172ecf0252bc5dc5c6bf7a53632ca07 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-22T18:40:44.284Z] Stashed 39 file(s) [Pipeline] echo [2020-09-22T18:40:44.287Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-22T18:40:44.391Z] Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-09-22T18:40:59.914Z] Still waiting to schedule task [2020-09-22T18:40:59.915Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-904’ [2020-09-22T18:40:59.917Z] Still waiting to schedule task [2020-09-22T18:40:59.917Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-22T18:42:59.518Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-906 in /w/workspace/dgexfoundry_device-sdk-go_PR-591 [Pipeline] { [Pipeline] ws [2020-09-22T18:42:59.589Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2020-09-22T18:43:04.542Z] using credential edgex-jenkins-ssh [2020-09-22T18:43:04.599Z] Cloning the remote Git repository [2020-09-22T18:43:04.599Z] Cloning with configured refspecs honoured and without tags [2020-09-22T18:43:04.674Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T18:43:04.784Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2020-09-22T18:43:04.842Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T18:43:04.843Z] > git --version # timeout=10 [2020-09-22T18:43:04.860Z] > git --version # 'git version 2.17.1' [2020-09-22T18:43:04.862Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T18:43:04.936Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/591/head:refs/remotes/origin/PR-591 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T18:43:05.867Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-22T18:43:05.889Z] > git config --add remote.origin.fetch +refs/pull/591/head:refs/remotes/origin/PR-591 # timeout=10 [2020-09-22T18:43:05.934Z] Fetching without tags [2020-09-22T18:43:06.383Z] Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit 44723ec98315d466e92c2d735e52b8bc3e222db6 [2020-09-22T18:43:06.679Z] Merge succeeded, producing a64b1cb5a5d307fcf1cfae4c5e8812dcd8d4d343 [2020-09-22T18:43:06.680Z] Checking out Revision a64b1cb5a5d307fcf1cfae4c5e8812dcd8d4d343 (PR-591) [2020-09-22T18:43:05.904Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T18:43:05.929Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-22T18:43:05.961Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T18:43:05.962Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T18:43:05.974Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/591/head:refs/remotes/origin/PR-591 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T18:43:06.420Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T18:43:06.439Z] > git checkout -f 44723ec98315d466e92c2d735e52b8bc3e222db6 # timeout=10 [2020-09-22T18:43:06.554Z] > git remote # timeout=10 [2020-09-22T18:43:06.570Z] > git config --get remote.origin.url # timeout=10 [2020-09-22T18:43:06.582Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T18:43:06.593Z] > git merge 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 [2020-09-22T18:43:06.681Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-22T18:43:06.703Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T18:43:06.753Z] > git checkout -f a64b1cb5a5d307fcf1cfae4c5e8812dcd8d4d343 # timeout=10 [2020-09-22T18:43:11.055Z] Commit message: "Merge commit '0cafa7decaaa0dab3b86f836c2c615e8e839d11b' into HEAD" [2020-09-22T18:43:11.079Z] First time build. Skipping changelog. [2020-09-22T18:43:11.078Z] > git rev-list --no-walk 1b15c2f1d5928fec65e93b1196f4a379a46ff1d4 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-22T18:43:12.595Z] ========================================================= [2020-09-22T18:43:12.595Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-22T18:43:12.595Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:43:13.720Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-09-22T18:43:14.717Z] Sending build context to Docker daemon 3.175MB [2020-09-22T18:43:14.717Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-22T18:43:14.717Z] Step 2/8 : FROM ${BASE} [2020-09-22T18:43:14.995Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-22T18:43:14.995Z] b538f80385f9: Pulling fs layer [2020-09-22T18:43:14.995Z] 74f711af9a0d: Pulling fs layer [2020-09-22T18:43:14.995Z] 99f96fe45779: Pulling fs layer [2020-09-22T18:43:14.995Z] 8529a6b9a6be: Pulling fs layer [2020-09-22T18:43:14.995Z] 45590311c82a: Pulling fs layer [2020-09-22T18:43:14.995Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-22T18:43:14.995Z] 209524e5b208: Pulling fs layer [2020-09-22T18:43:14.995Z] 8529a6b9a6be: Waiting [2020-09-22T18:43:14.995Z] 45590311c82a: Waiting [2020-09-22T18:43:14.995Z] 69ca0ff8b7b3: Waiting [2020-09-22T18:43:14.995Z] 209524e5b208: Waiting [2020-09-22T18:43:14.995Z] 99f96fe45779: Verifying Checksum [2020-09-22T18:43:14.995Z] 74f711af9a0d: Verifying Checksum [2020-09-22T18:43:14.995Z] 74f711af9a0d: Download complete [2020-09-22T18:43:14.995Z] 45590311c82a: Download complete [2020-09-22T18:43:15.271Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-22T18:43:15.271Z] 69ca0ff8b7b3: Download complete [2020-09-22T18:43:15.271Z] b538f80385f9: Download complete [2020-09-22T18:43:15.871Z] b538f80385f9: Pull complete [2020-09-22T18:43:16.476Z] 74f711af9a0d: Pull complete [2020-09-22T18:43:17.083Z] 99f96fe45779: Pull complete [2020-09-22T18:43:18.070Z] 209524e5b208: Verifying Checksum [2020-09-22T18:43:18.070Z] 209524e5b208: Download complete [2020-09-22T18:43:19.056Z] 8529a6b9a6be: Verifying Checksum [2020-09-22T18:43:19.056Z] 8529a6b9a6be: Download complete [2020-09-22T18:43:29.229Z] 8529a6b9a6be: Pull complete [2020-09-22T18:43:29.229Z] 45590311c82a: Pull complete [2020-09-22T18:43:29.508Z] 69ca0ff8b7b3: Pull complete [2020-09-22T18:43:33.835Z] 209524e5b208: Pull complete [2020-09-22T18:43:33.835Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-22T18:43:33.835Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-22T18:43:33.835Z] ---> 5bddaf1c2fca [2020-09-22T18:43:33.835Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T18:43:36.458Z] ---> Running in fddb8f2b865b [2020-09-22T18:43:36.458Z] Removing intermediate container fddb8f2b865b [2020-09-22T18:43:36.458Z] ---> 38820a1ab058 [2020-09-22T18:43:36.458Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T18:43:36.458Z] ---> Running in 5205ca6aa6fd [2020-09-22T18:43:39.079Z] Removing intermediate container 5205ca6aa6fd [2020-09-22T18:43:39.079Z] ---> 0ae2c657c22d [2020-09-22T18:43:39.079Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-22T18:43:39.363Z] ---> Running in 11b57b14069a [2020-09-22T18:43:40.821Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-22T18:43:41.803Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-22T18:43:42.785Z] OK: 142 MiB in 39 packages [2020-09-22T18:43:43.765Z] Removing intermediate container 11b57b14069a [2020-09-22T18:43:43.765Z] ---> 75a16cb3ca7d [2020-09-22T18:43:43.765Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-22T18:43:44.041Z] ---> Running in 4b3373c67caa [2020-09-22T18:43:44.316Z] Removing intermediate container 4b3373c67caa [2020-09-22T18:43:44.316Z] ---> 811f19850a0f [2020-09-22T18:43:44.316Z] Step 7/8 : COPY . . [2020-09-22T18:43:45.757Z] ---> 508e8c434d9c [2020-09-22T18:43:45.757Z] Step 8/8 : RUN go mod download [2020-09-22T18:43:45.757Z] ---> Running in 93f26bc0e443 [2020-09-22T18:44:07.936Z] Removing intermediate container 93f26bc0e443 [2020-09-22T18:44:07.936Z] ---> 03a5e0699bc6 [2020-09-22T18:44:07.936Z] Successfully built 03a5e0699bc6 [2020-09-22T18:44:07.936Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:44:08.347Z] + docker inspect -f . ci-base-image-arm64 [2020-09-22T18:44:08.347Z] . [Pipeline] withDockerContainer [2020-09-22T18:44:08.605Z] prd-ubuntu18.04-docker-arm64-4c-16g-906 does not seem to be running inside a container [2020-09-22T18:44:08.706Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** ci-base-image-arm64 cat [2020-09-22T18:44:10.600Z] $ docker top 829e502f118ce27741011ad32f0a790c7480082460ed1fc2b4c4e0275acd7dbf -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T18:44:12.072Z] + go version [2020-09-22T18:44:12.072Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-22T18:44:12.109Z] $ docker stop --time=1 829e502f118ce27741011ad32f0a790c7480082460ed1fc2b4c4e0275acd7dbf [2020-09-22T18:44:13.992Z] $ docker rm -f 829e502f118ce27741011ad32f0a790c7480082460ed1fc2b4c4e0275acd7dbf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:44:15.060Z] + docker inspect -f . ci-base-image-arm64 [2020-09-22T18:44:15.060Z] . [Pipeline] withDockerContainer [2020-09-22T18:44:15.333Z] prd-ubuntu18.04-docker-arm64-4c-16g-906 does not seem to be running inside a container [2020-09-22T18:44:15.433Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** ci-base-image-arm64 cat [2020-09-22T18:44:17.355Z] $ docker top 6760ed2829c122ec93ab4c9e4b7e1c0a72f9d3b487ac450a998c58e61c843094 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T18:44:18.735Z] + make test [2020-09-22T18:44:18.735Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-22T18:44:40.948Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-22T18:45:13.352Z] # github.com/edgexfoundry/device-sdk-go/internal/transformer [2020-09-22T18:45:13.352Z] internal/transformer/transformresult.go:604:57: cannot use "github.com/edgexfoundry/go-mod-core-contracts/models".Disabled (type string) as type operating.UpdateRequest in argument to common.DeviceClient.UpdateOpStateByName [2020-09-22T18:45:13.352Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] [2020-09-22T18:45:13.352Z] # github.com/edgexfoundry/device-sdk-go/internal/cache [github.com/edgexfoundry/device-sdk-go/internal/cache.test] [2020-09-22T18:45:13.352Z] internal/cache/devices_test.go:25:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: [2020-09-22T18:45:13.352Z] *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) [2020-09-22T18:45:13.352Z] have UpdateAdminState(context.Context, string, string) error [2020-09-22T18:45:13.352Z] want UpdateAdminState(context.Context, string, admin.UpdateRequest) error [2020-09-22T18:45:13.352Z] internal/cache/init_test.go:23:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: [2020-09-22T18:45:13.352Z] *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) [2020-09-22T18:45:13.352Z] have UpdateAdminState(context.Context, string, string) error [2020-09-22T18:45:13.352Z] want UpdateAdminState(context.Context, string, admin.UpdateRequest) error [2020-09-22T18:45:13.630Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] [2020-09-22T18:45:13.914Z] # github.com/edgexfoundry/device-sdk-go/internal/transformer [github.com/edgexfoundry/device-sdk-go/internal/transformer.test] [2020-09-22T18:45:13.914Z] internal/transformer/transformresult.go:604: cannot use "github.com/edgexfoundry/go-mod-core-contracts/models".Disabled (type string) as type operating.UpdateRequest in argument to common.DeviceClient.UpdateOpStateByName [2020-09-22T18:45:46.334Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.062s coverage: 8.6% of statements [2020-09-22T18:45:46.334Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.057s coverage: 21.7% of statements [2020-09-22T18:45:46.334Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-09-22T18:45:46.334Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] [2020-09-22T18:45:46.334Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] [2020-09-22T18:45:46.334Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.863s coverage: 68.9% of statements [2020-09-22T18:45:46.609Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2020-09-22T18:45:46.652Z] $ docker stop --time=1 6760ed2829c122ec93ab4c9e4b7e1c0a72f9d3b487ac450a998c58e61c843094 [2020-09-22T18:45:48.649Z] $ docker rm -f 6760ed2829c122ec93ab4c9e4b7e1c0a72f9d3b487ac450a998c58e61c843094 [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-09-22T18:45:50.799Z] Failed in branch arm64 [2020-09-22T18:46:28.885Z] Running on prd-centos7-docker-4c-2g-913 in /w/workspace/dgexfoundry_device-sdk-go_PR-591 [Pipeline] { [Pipeline] ws [2020-09-22T18:46:28.940Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2020-09-22T18:46:31.973Z] using credential edgex-jenkins-ssh [2020-09-22T18:46:32.049Z] Cloning the remote Git repository [2020-09-22T18:46:32.049Z] Cloning with configured refspecs honoured and without tags [2020-09-22T18:46:32.080Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T18:46:32.145Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2020-09-22T18:46:32.194Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T18:46:32.195Z] > git --version # timeout=10 [2020-09-22T18:46:32.201Z] > git --version # 'git version 2.16.5' [2020-09-22T18:46:32.202Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T18:46:32.227Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/591/head:refs/remotes/origin/PR-591 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T18:46:32.835Z] Fetching without tags [2020-09-22T18:46:33.233Z] Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit 44723ec98315d466e92c2d735e52b8bc3e222db6 [2020-09-22T18:46:33.355Z] Merge succeeded, producing f2e9009003ef59c1a345bde8ef176cc0db7d3470 [2020-09-22T18:46:33.356Z] Checking out Revision f2e9009003ef59c1a345bde8ef176cc0db7d3470 (PR-591) [2020-09-22T18:46:32.800Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-22T18:46:32.808Z] > git config --add remote.origin.fetch +refs/pull/591/head:refs/remotes/origin/PR-591 # timeout=10 [2020-09-22T18:46:32.818Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T18:46:32.830Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-22T18:46:32.845Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T18:46:32.845Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T18:46:32.851Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/591/head:refs/remotes/origin/PR-591 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T18:46:33.242Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T18:46:33.248Z] > git checkout -f 44723ec98315d466e92c2d735e52b8bc3e222db6 # timeout=10 [2020-09-22T18:46:33.297Z] > git remote # timeout=10 [2020-09-22T18:46:33.302Z] > git config --get remote.origin.url # timeout=10 [2020-09-22T18:46:33.308Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T18:46:33.311Z] > git merge 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 [2020-09-22T18:46:33.344Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-22T18:46:33.360Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T18:46:33.365Z] > git checkout -f f2e9009003ef59c1a345bde8ef176cc0db7d3470 # timeout=10 [2020-09-22T18:46:37.057Z] Commit message: "Merge commit '0cafa7decaaa0dab3b86f836c2c615e8e839d11b' into HEAD" [2020-09-22T18:46:37.073Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [2020-09-22T18:46:37.064Z] > git rev-list --no-walk 1b15c2f1d5928fec65e93b1196f4a379a46ff1d4 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-22T18:46:38.121Z] ========================================================= [2020-09-22T18:46:38.121Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-22T18:46:38.121Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:46:38.835Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-09-22T18:46:39.412Z] Sending build context to Docker daemon 3.173MB [2020-09-22T18:46:39.412Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-22T18:46:39.412Z] Step 2/8 : FROM ${BASE} [2020-09-22T18:46:39.987Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-22T18:46:39.987Z] df20fa9351a1: Pulling fs layer [2020-09-22T18:46:39.987Z] ed8968b2872e: Pulling fs layer [2020-09-22T18:46:39.987Z] a92cc7c5fd73: Pulling fs layer [2020-09-22T18:46:39.987Z] e871e8e8d7a9: Pulling fs layer [2020-09-22T18:46:39.987Z] e73272ec9a57: Pulling fs layer [2020-09-22T18:46:39.987Z] 1e910a182e73: Pulling fs layer [2020-09-22T18:46:39.987Z] 4e634b169226: Pulling fs layer [2020-09-22T18:46:39.987Z] e871e8e8d7a9: Waiting [2020-09-22T18:46:39.987Z] e73272ec9a57: Waiting [2020-09-22T18:46:39.987Z] 1e910a182e73: Waiting [2020-09-22T18:46:39.987Z] a92cc7c5fd73: Verifying Checksum [2020-09-22T18:46:39.987Z] a92cc7c5fd73: Download complete [2020-09-22T18:46:39.987Z] ed8968b2872e: Download complete [2020-09-22T18:46:39.987Z] e73272ec9a57: Verifying Checksum [2020-09-22T18:46:39.987Z] e73272ec9a57: Download complete [2020-09-22T18:46:39.987Z] 1e910a182e73: Download complete [2020-09-22T18:46:40.252Z] df20fa9351a1: Verifying Checksum [2020-09-22T18:46:40.252Z] df20fa9351a1: Download complete [2020-09-22T18:46:40.516Z] df20fa9351a1: Pull complete [2020-09-22T18:46:40.778Z] ed8968b2872e: Pull complete [2020-09-22T18:46:40.778Z] a92cc7c5fd73: Pull complete [2020-09-22T18:46:44.107Z] 4e634b169226: Verifying Checksum [2020-09-22T18:46:44.107Z] 4e634b169226: Download complete [2020-09-22T18:46:44.107Z] e871e8e8d7a9: Verifying Checksum [2020-09-22T18:46:44.107Z] e871e8e8d7a9: Download complete [2020-09-22T18:46:49.432Z] e871e8e8d7a9: Pull complete [2020-09-22T18:46:49.701Z] e73272ec9a57: Pull complete [2020-09-22T18:46:49.701Z] 1e910a182e73: Pull complete [2020-09-22T18:46:55.039Z] 4e634b169226: Pull complete [2020-09-22T18:46:55.039Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-22T18:46:55.039Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-22T18:46:55.039Z] ---> f7629b54cfaa [2020-09-22T18:46:55.039Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T18:46:55.039Z] ---> Running in 2575bee50d81 [2020-09-22T18:46:55.039Z] Removing intermediate container 2575bee50d81 [2020-09-22T18:46:55.039Z] ---> f8741a21a183 [2020-09-22T18:46:55.039Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T18:46:55.039Z] ---> Running in 19247afe6d6c [2020-09-22T18:46:56.438Z] Removing intermediate container 19247afe6d6c [2020-09-22T18:46:56.438Z] ---> a690ede914b7 [2020-09-22T18:46:56.438Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-22T18:46:56.438Z] ---> Running in 91e5f99557a8 [2020-09-22T18:46:57.020Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-22T18:46:57.970Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-22T18:46:58.548Z] OK: 166 MiB in 39 packages [2020-09-22T18:46:58.812Z] Removing intermediate container 91e5f99557a8 [2020-09-22T18:46:58.812Z] ---> 9c9f36a71612 [2020-09-22T18:46:58.812Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-22T18:46:59.136Z] ---> Running in 3b254e7e84f2 [2020-09-22T18:46:59.136Z] Removing intermediate container 3b254e7e84f2 [2020-09-22T18:46:59.136Z] ---> 98a2c09fcaad [2020-09-22T18:46:59.136Z] Step 7/8 : COPY . . [2020-09-22T18:47:00.535Z] ---> 5b5bf9526a66 [2020-09-22T18:47:00.535Z] Step 8/8 : RUN go mod download [2020-09-22T18:47:00.535Z] ---> Running in ff2a1141aa68 [2020-09-22T18:47:22.590Z] Removing intermediate container ff2a1141aa68 [2020-09-22T18:47:22.590Z] ---> 926261b77616 [2020-09-22T18:47:22.590Z] Successfully built 926261b77616 [2020-09-22T18:47:22.590Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:47:22.961Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-22T18:47:22.961Z] . [Pipeline] withDockerContainer [2020-09-22T18:47:23.160Z] prd-centos7-docker-4c-2g-913 does not seem to be running inside a container [2020-09-22T18:47:23.268Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** ci-base-image-x86_64 cat [2020-09-22T18:47:24.138Z] $ docker top 697db4f17015c1b04c2adb3ff33323918532a695a25f559060952d31c20af8c3 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T18:47:24.686Z] + go version [2020-09-22T18:47:24.686Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-22T18:47:24.703Z] $ docker stop --time=1 697db4f17015c1b04c2adb3ff33323918532a695a25f559060952d31c20af8c3 [2020-09-22T18:47:26.109Z] $ docker rm -f 697db4f17015c1b04c2adb3ff33323918532a695a25f559060952d31c20af8c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:47:27.216Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-22T18:47:27.217Z] . [Pipeline] withDockerContainer [2020-09-22T18:47:27.332Z] prd-centos7-docker-4c-2g-913 does not seem to be running inside a container [2020-09-22T18:47:27.386Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** ci-base-image-x86_64 cat [2020-09-22T18:47:28.128Z] $ docker top 0e0f36f5f0641522836c9e3f9830bec1a8685e75c90c0144c29adc586ebabb5f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T18:47:28.642Z] + make test [2020-09-22T18:47:28.642Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-22T18:47:38.753Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-22T18:47:51.179Z] # github.com/edgexfoundry/device-sdk-go/internal/transformer [2020-09-22T18:47:51.179Z] internal/transformer/transformresult.go:604:57: cannot use "github.com/edgexfoundry/go-mod-core-contracts/models".Disabled (type string) as type operating.UpdateRequest in argument to common.DeviceClient.UpdateOpStateByName [2020-09-22T18:47:52.634Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] [2020-09-22T18:47:52.903Z] # github.com/edgexfoundry/device-sdk-go/internal/transformer [github.com/edgexfoundry/device-sdk-go/internal/transformer.test] [2020-09-22T18:47:52.903Z] internal/transformer/transformresult.go:604: cannot use "github.com/edgexfoundry/go-mod-core-contracts/models".Disabled (type string) as type operating.UpdateRequest in argument to common.DeviceClient.UpdateOpStateByName [2020-09-22T18:47:53.171Z] # github.com/edgexfoundry/device-sdk-go/internal/cache [github.com/edgexfoundry/device-sdk-go/internal/cache.test] [2020-09-22T18:47:53.171Z] internal/cache/devices_test.go:25:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: [2020-09-22T18:47:53.171Z] *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) [2020-09-22T18:47:53.171Z] have UpdateAdminState(context.Context, string, string) error [2020-09-22T18:47:53.171Z] want UpdateAdminState(context.Context, string, admin.UpdateRequest) error [2020-09-22T18:47:53.171Z] internal/cache/init_test.go:23:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: [2020-09-22T18:47:53.171Z] *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) [2020-09-22T18:47:53.171Z] have UpdateAdminState(context.Context, string, string) error [2020-09-22T18:47:53.171Z] want UpdateAdminState(context.Context, string, admin.UpdateRequest) error [2020-09-22T18:47:53.171Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] [2020-09-22T18:48:25.350Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.038s coverage: 8.6% of statements [2020-09-22T18:48:25.350Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.034s coverage: 21.7% of statements [2020-09-22T18:48:25.350Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-09-22T18:48:25.350Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] [2020-09-22T18:48:25.350Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] [2020-09-22T18:48:25.350Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.578s coverage: 68.9% of statements [2020-09-22T18:48:25.350Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2020-09-22T18:48:25.370Z] $ docker stop --time=1 0e0f36f5f0641522836c9e3f9830bec1a8685e75c90c0144c29adc586ebabb5f [2020-09-22T18:48:27.001Z] $ docker rm -f 0e0f36f5f0641522836c9e3f9830bec1a8685e75c90c0144c29adc586ebabb5f [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-09-22T18:48:29.038Z] Failed in branch amd64 [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] { (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-09-22T18:48:32.072Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T18:48:32.645Z] ---> package-listing.sh [2020-09-22T18:48:32.646Z] ++ facter osfamily [2020-09-22T18:48:32.646Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-22T18:48:32.646Z] + OS_FAMILY=redhat [2020-09-22T18:48:32.646Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-591 [2020-09-22T18:48:32.646Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-22T18:48:32.646Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-22T18:48:32.646Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-22T18:48:32.646Z] + PACKAGES=/tmp/packages_start.txt [2020-09-22T18:48:32.646Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-591 ']' [2020-09-22T18:48:32.646Z] + PACKAGES=/tmp/packages_end.txt [2020-09-22T18:48:32.646Z] + case "${OS_FAMILY}" in [2020-09-22T18:48:32.646Z] + rpm -qa [2020-09-22T18:48:32.646Z] + sort [2020-09-22T18:48:36.885Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-22T18:48:36.885Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-22T18:48:36.885Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-22T18:48:36.885Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-591 ']' [2020-09-22T18:48:36.885Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-591/archives/ [2020-09-22T18:48:36.885Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-591/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:48:38.098Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T18:48:38.098Z] [2020-09-22T18:48:38.098Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:48:38.459Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T18:48:38.459Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-22T18:48:38.459Z] df20fa9351a1: Pulling fs layer [2020-09-22T18:48:38.459Z] 36b3adc4ff6f: Pulling fs layer [2020-09-22T18:48:38.459Z] 8ad3a11d3b57: Pulling fs layer [2020-09-22T18:48:38.459Z] 46f8f816bc3b: Pulling fs layer [2020-09-22T18:48:38.459Z] 0dadc02b9964: Pulling fs layer [2020-09-22T18:48:38.459Z] ce6a7cf60c04: Pulling fs layer [2020-09-22T18:48:38.459Z] 7a184a31f384: Pulling fs layer [2020-09-22T18:48:38.459Z] 0879bd2ef858: Pulling fs layer [2020-09-22T18:48:38.459Z] 0dadc02b9964: Waiting [2020-09-22T18:48:38.459Z] ce6a7cf60c04: Waiting [2020-09-22T18:48:38.459Z] 7a184a31f384: Waiting [2020-09-22T18:48:38.459Z] 0879bd2ef858: Waiting [2020-09-22T18:48:38.459Z] 46f8f816bc3b: Waiting [2020-09-22T18:48:38.459Z] 36b3adc4ff6f: Verifying Checksum [2020-09-22T18:48:38.459Z] 36b3adc4ff6f: Download complete [2020-09-22T18:48:38.459Z] 46f8f816bc3b: Verifying Checksum [2020-09-22T18:48:38.459Z] 46f8f816bc3b: Download complete [2020-09-22T18:48:38.459Z] df20fa9351a1: Verifying Checksum [2020-09-22T18:48:38.459Z] df20fa9351a1: Download complete [2020-09-22T18:48:38.459Z] ce6a7cf60c04: Verifying Checksum [2020-09-22T18:48:38.459Z] ce6a7cf60c04: Download complete [2020-09-22T18:48:38.459Z] 0dadc02b9964: Verifying Checksum [2020-09-22T18:48:38.459Z] 0dadc02b9964: Download complete [2020-09-22T18:48:38.724Z] 7a184a31f384: Verifying Checksum [2020-09-22T18:48:38.724Z] 7a184a31f384: Download complete [2020-09-22T18:48:38.724Z] 8ad3a11d3b57: Verifying Checksum [2020-09-22T18:48:38.724Z] 8ad3a11d3b57: Download complete [2020-09-22T18:48:38.996Z] df20fa9351a1: Pull complete [2020-09-22T18:48:39.276Z] 0879bd2ef858: Verifying Checksum [2020-09-22T18:48:39.276Z] 0879bd2ef858: Download complete [2020-09-22T18:48:39.276Z] 36b3adc4ff6f: Pull complete [2020-09-22T18:48:39.858Z] 8ad3a11d3b57: Pull complete [2020-09-22T18:48:40.125Z] 46f8f816bc3b: Pull complete [2020-09-22T18:48:40.386Z] 0dadc02b9964: Pull complete [2020-09-22T18:48:40.386Z] ce6a7cf60c04: Pull complete [2020-09-22T18:48:40.652Z] 7a184a31f384: Pull complete [2020-09-22T18:48:44.881Z] 0879bd2ef858: Pull complete [2020-09-22T18:48:44.882Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-22T18:48:44.882Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T18:48:44.882Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-22T18:48:45.067Z] prd-centos7-docker-4c-2g-904 does not seem to be running inside a container [2020-09-22T18:48:45.133Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/dgexfoundry_device-sdk-go_PR-591 -v /w/workspace/dgexfoundry_device-sdk-go_PR-591:/w/workspace/dgexfoundry_device-sdk-go_PR-591:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-591@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-591@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-22T18:48:48.783Z] $ docker top 02e4d234ccb3fc5643bcd81de522b5175c2dbc885ff30fa0646140c65384666f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T18:48:49.375Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-22T18:48:49.689Z] + ls /var/log/sa-host [2020-09-22T18:48:49.689Z] + sadf -c /var/log/sa-host/sa05 [2020-09-22T18:48:49.689Z] file_magic: OK [2020-09-22T18:48:49.689Z] HZ: Using current value: 100 [2020-09-22T18:48:49.689Z] file_header: OK [2020-09-22T18:48:49.689Z] 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-09-22T18:48:49.689Z] Statistics: [2020-09-22T18:48:49.689Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-22T18:48:49.689Z] File successfully converted to sysstat format version 12.2.1 [2020-09-22T18:48:49.689Z] + sadf -c /var/log/sa-host/sa22 [2020-09-22T18:48:49.689Z] file_magic: OK [2020-09-22T18:48:49.689Z] HZ: Using current value: 100 [2020-09-22T18:48:49.689Z] file_header: OK [2020-09-22T18:48:49.689Z] 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-09-22T18:48:49.689Z] Statistics: [2020-09-22T18:48:49.689Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-22T18:48:49.689Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-22T18:48:49.758Z] provisioning config files... [2020-09-22T18:48:49.784Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-591@tmp/config6178672478054994197tmp [Pipeline] { [Pipeline] echo [2020-09-22T18:48:49.856Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T18:48:50.171Z] ---> create-netrc.sh [Pipeline] echo [2020-09-22T18:48:50.183Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T18:48:50.483Z] ---> logs-deploy.sh [2020-09-22T18:48:50.484Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-591/4 [2020-09-22T18:48:50.484Z] INFO: archiving workspace using pattern(s): [2020-09-22T18:48:51.881Z] Archives upload complete. [2020-09-22T18:48:51.881Z] INFO: archiving logs to Nexus