Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 44723ec98315d466e92c2d735e52b8bc3e222db6+9f44a914c3163ba6aceeb076ef4043962d95dc92 (0b3bad968ae238ddd15329546673fcd4a2033c21) 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 Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-421 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 Fetching without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > 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 9f44a914c3163ba6aceeb076ef4043962d95dc92 into PR head commit 44723ec98315d466e92c2d735e52b8bc3e222db6 Merge succeeded, producing 12acf057907ca88f0c65778e0d2021bf05d29d25 Checking out Revision 12acf057907ca88f0c65778e0d2021bf05d29d25 (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 9f44a914c3163ba6aceeb076ef4043962d95dc92 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 12acf057907ca88f0c65778e0d2021bf05d29d25 # timeout=10 Commit message: "Merge commit '9f44a914c3163ba6aceeb076ef4043962d95dc92' into HEAD" > git rev-list --no-walk 44723ec98315d466e92c2d735e52b8bc3e222db6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-18T18:42:17.616Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-18T18:42:17.882Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-18T18:42:17.976Z] ========================================================= [2020-09-18T18:42:17.976Z] EdgeX Global Pipelines Version Info [2020-09-18T18:42:17.976Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-18T18:42:19.639Z] ------------------- [2020-09-18T18:42:19.639Z] stable info: [2020-09-18T18:42:19.639Z] ------------------- [2020-09-18T18:42:19.639Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-18T18:42:19.639Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-18T18:42:19.639Z] Message: update stable to v1.0.122 [2020-09-18T18:42:20.587Z] ------------------- [2020-09-18T18:42:20.587Z] experimental info: [2020-09-18T18:42:20.587Z] ------------------- [2020-09-18T18:42:20.587Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-18T18:42:20.587Z] Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 [2020-09-18T18:42:20.587Z] Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-18T18:42:21.059Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-18T18:42:21.149Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-18T18:42:21.235Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-18T18:42:21.367Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-18T18:42:21.455Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-18T18:42:21.586Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-18T18:42:21.674Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-18T18:42:21.810Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-18T18:42:21.891Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-18T18:42:21.992Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-18T18:42:22.081Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-18T18:42:22.192Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-18T18:42:22.300Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-18T18:42:22.391Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-18T18:42:22.489Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-18T18:42:22.581Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-18T18:42:22.674Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-18T18:42:22.787Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-18T18:42:22.979Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-18T18:42:23.075Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-18T18:42:23.168Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-18T18:42:23.287Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-18T18:42:23.376Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-591 [Pipeline] echo [2020-09-18T18:42:23.467Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-591 [Pipeline] echo [2020-09-18T18:42:23.587Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-591 [Pipeline] echo [2020-09-18T18:42:23.673Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 12acf057907ca88f0c65778e0d2021bf05d29d25 [Pipeline] echo [2020-09-18T18:42:23.757Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 12acf05 [Pipeline] echo [2020-09-18T18:42:23.843Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-18T18:42:24.474Z] + git log --format=format:%s -1 12acf057907ca88f0c65778e0d2021bf05d29d25 [Pipeline] echo [2020-09-18T18:42:24.546Z] GIT_COMMIT: 12acf057907ca88f0c65778e0d2021bf05d29d25, Commit Message: Merge commit '9f44a914c3163ba6aceeb076ef4043962d95dc92' into HEAD [Pipeline] echo [2020-09-18T18:42:24.600Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-18T18:42:25.157Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-18T18:42:25.422Z] [2020-09-18T18:42:25.422Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-18T18:42:25.778Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-18T18:42:25.778Z] latest: Pulling from edgex-devops/git-semver [2020-09-18T18:42:25.778Z] 31603596830f: Pulling fs layer [2020-09-18T18:42:25.778Z] 2a8b12db71e7: Pulling fs layer [2020-09-18T18:42:25.778Z] 6ca5941a6612: Pulling fs layer [2020-09-18T18:42:25.778Z] ecc8261a40a4: Pulling fs layer [2020-09-18T18:42:25.778Z] ecc8261a40a4: Waiting [2020-09-18T18:42:25.778Z] 2a8b12db71e7: Verifying Checksum [2020-09-18T18:42:25.778Z] 2a8b12db71e7: Download complete [2020-09-18T18:42:26.051Z] 31603596830f: Verifying Checksum [2020-09-18T18:42:26.051Z] 31603596830f: Download complete [2020-09-18T18:42:26.051Z] ecc8261a40a4: Verifying Checksum [2020-09-18T18:42:26.051Z] ecc8261a40a4: Download complete [2020-09-18T18:42:26.051Z] 6ca5941a6612: Verifying Checksum [2020-09-18T18:42:26.051Z] 6ca5941a6612: Download complete [2020-09-18T18:42:26.318Z] 31603596830f: Pull complete [2020-09-18T18:42:26.318Z] 2a8b12db71e7: Pull complete [2020-09-18T18:42:27.278Z] 6ca5941a6612: Pull complete [2020-09-18T18:42:27.542Z] ecc8261a40a4: Pull complete [2020-09-18T18:42:27.542Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-18T18:42:27.542Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-18T18:42:27.542Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-18T18:42:27.649Z] prd-centos7-docker-4c-2g-421 does not seem to be running inside a container [2020-09-18T18:42:27.700Z] $ 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-18T18:42:30.032Z] $ docker top 0f3553f039d94cdab1b725780c22d3dfcd255b6dcec88ea2e7ac24e7bcd0d00a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-18T18:42:30.533Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-18T18:42:30.533Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-18T18:42:30.739Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-18T18:42:30.743Z] $ docker exec 0f3553f039d94cdab1b725780c22d3dfcd255b6dcec88ea2e7ac24e7bcd0d00a ssh-agent [2020-09-18T18:42:31.003Z] SSH_AUTH_SOCK=/tmp/ssh-dsBaELDj2yOv/agent.12 [2020-09-18T18:42:31.003Z] SSH_AGENT_PID=17 [2020-09-18T18:42:31.020Z] Running ssh-add (command line suppressed) [2020-09-18T18:42:31.149Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-591@tmp/private_key_2752057695278985436.key (/w/workspace/dgexfoundry_device-sdk-go_PR-591@tmp/private_key_2752057695278985436.key) [2020-09-18T18:42:31.199Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-18T18:42:31.570Z] + git describe --exact-match --tags HEAD [2020-09-18T18:42:31.570Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-18T18:42:31.594Z] $ docker exec --env ******** --env ******** 0f3553f039d94cdab1b725780c22d3dfcd255b6dcec88ea2e7ac24e7bcd0d00a ssh-agent -k [2020-09-18T18:42:31.716Z] unset SSH_AUTH_SOCK; [2020-09-18T18:42:31.717Z] unset SSH_AGENT_PID; [2020-09-18T18:42:31.717Z] echo Agent pid 17 killed; [2020-09-18T18:42:31.764Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-18T18:42:31.906Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-18T18:42:31.906Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-18T18:42:32.019Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-18T18:42:32.019Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-18T18:42:32.183Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-18T18:42:32.187Z] $ docker exec 0f3553f039d94cdab1b725780c22d3dfcd255b6dcec88ea2e7ac24e7bcd0d00a ssh-agent [2020-09-18T18:42:32.345Z] SSH_AUTH_SOCK=/tmp/ssh-hmVYnnQ1WmEL/agent.45 [2020-09-18T18:42:32.345Z] SSH_AGENT_PID=50 [2020-09-18T18:42:32.353Z] Running ssh-add (command line suppressed) [2020-09-18T18:42:32.473Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-591@tmp/private_key_2076853120810480746.key (/w/workspace/dgexfoundry_device-sdk-go_PR-591@tmp/private_key_2076853120810480746.key) [2020-09-18T18:42:32.523Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-18T18:42:32.859Z] + git semver init [2020-09-18T18:42:32.859Z] # -> Open(): unable to determine branch for HEAD [2020-09-18T18:42:32.859Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-591/.git [2020-09-18T18:42:32.859Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-591 [2020-09-18T18:42:32.859Z] # $SEMVER_REMOTE_NAME = origin [2020-09-18T18:42:32.859Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-18T18:42:32.859Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-18T18:42:32.859Z] # $SEMVER_BRANCH = PR-591 [2020-09-18T18:42:32.859Z] # $SEMVER_TEMP = /tmp/semver-255444436 [2020-09-18T18:42:32.859Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-18T18:42:33.436Z] # '/tmp/semver-255444436' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-591/.semver' [2020-09-18T18:42:33.436Z] # -> Force: false [2020-09-18T18:42:33.436Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-591/.semver [Pipeline] } [2020-09-18T18:42:33.449Z] $ docker exec --env ******** --env ******** 0f3553f039d94cdab1b725780c22d3dfcd255b6dcec88ea2e7ac24e7bcd0d00a ssh-agent -k [2020-09-18T18:42:33.568Z] unset SSH_AUTH_SOCK; [2020-09-18T18:42:33.568Z] unset SSH_AGENT_PID; [2020-09-18T18:42:33.568Z] echo Agent pid 50 killed; [2020-09-18T18:42:33.630Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-18T18:42:34.137Z] + git semver [Pipeline] } [2020-09-18T18:42:34.155Z] $ docker stop --time=1 0f3553f039d94cdab1b725780c22d3dfcd255b6dcec88ea2e7ac24e7bcd0d00a [2020-09-18T18:42:35.653Z] $ docker rm -f 0f3553f039d94cdab1b725780c22d3dfcd255b6dcec88ea2e7ac24e7bcd0d00a [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-18T18:42:36.522Z] Stashed 37 file(s) [Pipeline] echo [2020-09-18T18:42:36.525Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-18T18:42:36.643Z] 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-18T18:42:52.089Z] Still waiting to schedule task [2020-09-18T18:42:52.089Z] ‘prd-centos7-docker-4c-2g-424’ is offline [2020-09-18T18:42:52.092Z] Still waiting to schedule task [2020-09-18T18:42:52.092Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-18T18:44:07.344Z] Running on prd-centos7-docker-4c-2g-428 in /w/workspace/dgexfoundry_device-sdk-go_PR-591 [Pipeline] { [Pipeline] ws [2020-09-18T18:44:07.406Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-09-18T18:44:10.509Z] using credential edgex-jenkins-ssh [2020-09-18T18:44:10.571Z] Cloning the remote Git repository [2020-09-18T18:44:10.571Z] Cloning with configured refspecs honoured and without tags [2020-09-18T18:44:10.611Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-18T18:44:10.687Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-09-18T18:44:10.742Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-18T18:44:10.742Z] > git --version # timeout=10 [2020-09-18T18:44:10.753Z] > git --version # 'git version 2.16.5' [2020-09-18T18:44:10.754Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-18T18:44:10.787Z] > 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-18T18:44:11.472Z] Fetching without tags [2020-09-18T18:44:11.872Z] Merging remotes/origin/master commit 9f44a914c3163ba6aceeb076ef4043962d95dc92 into PR head commit 44723ec98315d466e92c2d735e52b8bc3e222db6 [2020-09-18T18:44:11.998Z] Merge succeeded, producing d22e7ba6d7e9e31d506dae529c0b9ccd71fbc11c [2020-09-18T18:44:11.998Z] Checking out Revision d22e7ba6d7e9e31d506dae529c0b9ccd71fbc11c (PR-591) [2020-09-18T18:44:11.428Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-18T18:44:11.442Z] > git config --add remote.origin.fetch +refs/pull/591/head:refs/remotes/origin/PR-591 # timeout=10 [2020-09-18T18:44:11.449Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-18T18:44:11.464Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-18T18:44:11.480Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-18T18:44:11.480Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-18T18:44:11.486Z] > 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-18T18:44:11.883Z] > git config core.sparsecheckout # timeout=10 [2020-09-18T18:44:11.891Z] > git checkout -f 44723ec98315d466e92c2d735e52b8bc3e222db6 # timeout=10 [2020-09-18T18:44:11.945Z] > git remote # timeout=10 [2020-09-18T18:44:11.951Z] > git config --get remote.origin.url # timeout=10 [2020-09-18T18:44:11.955Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-18T18:44:11.960Z] > git merge 9f44a914c3163ba6aceeb076ef4043962d95dc92 # timeout=10 [2020-09-18T18:44:11.993Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-18T18:44:12.003Z] > git config core.sparsecheckout # timeout=10 [2020-09-18T18:44:12.009Z] > git checkout -f d22e7ba6d7e9e31d506dae529c0b9ccd71fbc11c # timeout=10 [2020-09-18T18:44:15.701Z] Commit message: "Merge commit '9f44a914c3163ba6aceeb076ef4043962d95dc92' into HEAD" [2020-09-18T18:44:15.707Z] > git rev-list --no-walk 44723ec98315d466e92c2d735e52b8bc3e222db6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-18T18:44:16.787Z] ========================================================= [2020-09-18T18:44:16.787Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-18T18:44:16.787Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-18T18:44:17.452Z] + 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-18T18:44:18.031Z] Sending build context to Docker daemon 3.164MB [2020-09-18T18:44:18.031Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-18T18:44:18.031Z] Step 2/8 : FROM ${BASE} [2020-09-18T18:44:18.295Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-18T18:44:18.295Z] df20fa9351a1: Pulling fs layer [2020-09-18T18:44:18.295Z] ed8968b2872e: Pulling fs layer [2020-09-18T18:44:18.295Z] a92cc7c5fd73: Pulling fs layer [2020-09-18T18:44:18.295Z] e871e8e8d7a9: Pulling fs layer [2020-09-18T18:44:18.295Z] e73272ec9a57: Pulling fs layer [2020-09-18T18:44:18.295Z] 1e910a182e73: Pulling fs layer [2020-09-18T18:44:18.295Z] 4e634b169226: Pulling fs layer [2020-09-18T18:44:18.295Z] e73272ec9a57: Waiting [2020-09-18T18:44:18.295Z] 1e910a182e73: Waiting [2020-09-18T18:44:18.295Z] 4e634b169226: Waiting [2020-09-18T18:44:18.295Z] e871e8e8d7a9: Waiting [2020-09-18T18:44:18.295Z] a92cc7c5fd73: Verifying Checksum [2020-09-18T18:44:18.295Z] a92cc7c5fd73: Download complete [2020-09-18T18:44:18.295Z] ed8968b2872e: Download complete [2020-09-18T18:44:18.295Z] e73272ec9a57: Verifying Checksum [2020-09-18T18:44:18.295Z] e73272ec9a57: Download complete [2020-09-18T18:44:18.295Z] 1e910a182e73: Verifying Checksum [2020-09-18T18:44:18.295Z] 1e910a182e73: Download complete [2020-09-18T18:44:18.295Z] df20fa9351a1: Verifying Checksum [2020-09-18T18:44:18.295Z] df20fa9351a1: Download complete [2020-09-18T18:44:18.565Z] df20fa9351a1: Pull complete [2020-09-18T18:44:18.833Z] ed8968b2872e: Pull complete [2020-09-18T18:44:18.833Z] a92cc7c5fd73: Pull complete [2020-09-18T18:44:20.229Z] 4e634b169226: Verifying Checksum [2020-09-18T18:44:20.229Z] 4e634b169226: Download complete [2020-09-18T18:44:21.176Z] e871e8e8d7a9: Verifying Checksum [2020-09-18T18:44:21.176Z] e871e8e8d7a9: Download complete [2020-09-18T18:44:26.501Z] e871e8e8d7a9: Pull complete [2020-09-18T18:44:26.501Z] e73272ec9a57: Pull complete [2020-09-18T18:44:26.501Z] 1e910a182e73: Pull complete [2020-09-18T18:44:36.535Z] 4e634b169226: Pull complete [2020-09-18T18:44:36.535Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-18T18:44:36.535Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-18T18:44:36.535Z] ---> f7629b54cfaa [2020-09-18T18:44:36.535Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-18T18:44:36.535Z] ---> Running in 8ad26de5a8e7 [2020-09-18T18:44:36.536Z] Removing intermediate container 8ad26de5a8e7 [2020-09-18T18:44:36.536Z] ---> 82f40cbb7c57 [2020-09-18T18:44:36.536Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-18T18:44:36.536Z] ---> Running in 8b53e226dfcc [2020-09-18T18:44:37.947Z] Removing intermediate container 8b53e226dfcc [2020-09-18T18:44:37.947Z] ---> d2795818222b [2020-09-18T18:44:37.947Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-18T18:44:37.947Z] ---> Running in 210dad9b5e7a [2020-09-18T18:44:38.529Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-18T18:44:39.920Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-18T18:44:41.318Z] OK: 166 MiB in 39 packages [2020-09-18T18:44:41.318Z] Removing intermediate container 210dad9b5e7a [2020-09-18T18:44:41.318Z] ---> 2587b57f5129 [2020-09-18T18:44:41.318Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-18T18:44:41.580Z] ---> Running in 0a97d197a38f [2020-09-18T18:44:41.580Z] Removing intermediate container 0a97d197a38f [2020-09-18T18:44:41.580Z] ---> c3e2413afe82 [2020-09-18T18:44:41.580Z] Step 7/8 : COPY . . [2020-09-18T18:44:42.978Z] ---> 80b32acabfce [2020-09-18T18:44:42.978Z] Step 8/8 : RUN go mod download [2020-09-18T18:44:42.978Z] ---> Running in 34cd81405702 [2020-09-18T18:45:01.405Z] Removing intermediate container 34cd81405702 [2020-09-18T18:45:01.405Z] ---> d356f4b9d42c [2020-09-18T18:45:01.405Z] Successfully built d356f4b9d42c [2020-09-18T18:45:01.405Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-18T18:45:01.801Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-18T18:45:01.801Z] . [Pipeline] withDockerContainer [2020-09-18T18:45:01.988Z] prd-centos7-docker-4c-2g-428 does not seem to be running inside a container [2020-09-18T18:45:02.045Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-18T18:45:02.891Z] $ docker top 10c4b1d0bb7052f9a826da8412987b69ae6dc148bf05d1c68c8ede8895448367 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-18T18:45:03.485Z] + go version [2020-09-18T18:45:03.485Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-18T18:45:03.504Z] $ docker stop --time=1 10c4b1d0bb7052f9a826da8412987b69ae6dc148bf05d1c68c8ede8895448367 [2020-09-18T18:45:04.865Z] $ docker rm -f 10c4b1d0bb7052f9a826da8412987b69ae6dc148bf05d1c68c8ede8895448367 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-18T18:45:05.712Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-18T18:45:05.712Z] . [Pipeline] withDockerContainer [2020-09-18T18:45:05.815Z] prd-centos7-docker-4c-2g-428 does not seem to be running inside a container [2020-09-18T18:45:05.869Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-18T18:45:06.464Z] $ docker top ab8f1626976ba12ed38ae5eb622b8d487d75fbb482c1aaaa7f5f290a8c57444d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-18T18:45:06.982Z] + make test [2020-09-18T18:45:06.982Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-18T18:45:15.206Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-18T18:45:25.313Z] # github.com/edgexfoundry/device-sdk-go/internal/transformer [2020-09-18T18:45:25.313Z] 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-18T18:45:26.721Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] [2020-09-18T18:45:26.721Z] # github.com/edgexfoundry/device-sdk-go/internal/transformer [github.com/edgexfoundry/device-sdk-go/internal/transformer.test] [2020-09-18T18:45:26.721Z] 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-18T18:45:26.721Z] # github.com/edgexfoundry/device-sdk-go/internal/cache [github.com/edgexfoundry/device-sdk-go/internal/cache.test] [2020-09-18T18:45:26.721Z] internal/cache/devices_test.go:25:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: [2020-09-18T18:45:26.721Z] *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) [2020-09-18T18:45:26.721Z] have UpdateAdminState(context.Context, string, string) error [2020-09-18T18:45:26.721Z] want UpdateAdminState(context.Context, string, admin.UpdateRequest) error [2020-09-18T18:45:26.721Z] internal/cache/init_test.go:23:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: [2020-09-18T18:45:26.721Z] *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) [2020-09-18T18:45:26.721Z] have UpdateAdminState(context.Context, string, string) error [2020-09-18T18:45:26.721Z] want UpdateAdminState(context.Context, string, admin.UpdateRequest) error [2020-09-18T18:45:26.721Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] [2020-09-18T18:45:39.611Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-431 in /w/workspace/dgexfoundry_device-sdk-go_PR-591 [Pipeline] { [Pipeline] ws [2020-09-18T18:45:39.669Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-09-18T18:45:44.507Z] using credential edgex-jenkins-ssh [2020-09-18T18:45:44.566Z] Cloning the remote Git repository [2020-09-18T18:45:44.566Z] Cloning with configured refspecs honoured and without tags [2020-09-18T18:45:44.631Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-18T18:45:44.737Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-09-18T18:45:44.793Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-18T18:45:44.794Z] > git --version # timeout=10 [2020-09-18T18:45:44.819Z] > git --version # 'git version 2.17.1' [2020-09-18T18:45:44.820Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-18T18:45:44.872Z] > 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-18T18:45:45.776Z] Fetching without tags [2020-09-18T18:45:45.703Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-18T18:45:45.722Z] > git config --add remote.origin.fetch +refs/pull/591/head:refs/remotes/origin/PR-591 # timeout=10 [2020-09-18T18:45:45.741Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-18T18:45:45.765Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-18T18:45:45.790Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-18T18:45:45.791Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-18T18:45:45.803Z] > 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-18T18:45:46.213Z] Merging remotes/origin/master commit 9f44a914c3163ba6aceeb076ef4043962d95dc92 into PR head commit 44723ec98315d466e92c2d735e52b8bc3e222db6 [2020-09-18T18:45:46.475Z] Merge succeeded, producing 789d599837a42fd74c1fd607c5f35cce5982ab90 [2020-09-18T18:45:46.476Z] Checking out Revision 789d599837a42fd74c1fd607c5f35cce5982ab90 (PR-591) [2020-09-18T18:45:46.234Z] > git config core.sparsecheckout # timeout=10 [2020-09-18T18:45:46.248Z] > git checkout -f 44723ec98315d466e92c2d735e52b8bc3e222db6 # timeout=10 [2020-09-18T18:45:46.351Z] > git remote # timeout=10 [2020-09-18T18:45:46.366Z] > git config --get remote.origin.url # timeout=10 [2020-09-18T18:45:46.378Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-18T18:45:46.387Z] > git merge 9f44a914c3163ba6aceeb076ef4043962d95dc92 # timeout=10 [2020-09-18T18:45:46.467Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-18T18:45:46.485Z] > git config core.sparsecheckout # timeout=10 [2020-09-18T18:45:46.493Z] > git checkout -f 789d599837a42fd74c1fd607c5f35cce5982ab90 # timeout=10 [2020-09-18T18:45:50.732Z] Commit message: "Merge commit '9f44a914c3163ba6aceeb076ef4043962d95dc92' into HEAD" [2020-09-18T18:45:50.748Z] > git rev-list --no-walk 44723ec98315d466e92c2d735e52b8bc3e222db6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-18T18:45:52.109Z] ========================================================= [2020-09-18T18:45:52.109Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-18T18:45:52.109Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-18T18:45:53.119Z] + 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-18T18:45:54.112Z] Sending build context to Docker daemon 3.164MB [2020-09-18T18:45:54.112Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-18T18:45:54.112Z] Step 2/8 : FROM ${BASE} [2020-09-18T18:45:54.389Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-18T18:45:54.389Z] b538f80385f9: Pulling fs layer [2020-09-18T18:45:54.389Z] 74f711af9a0d: Pulling fs layer [2020-09-18T18:45:54.389Z] 99f96fe45779: Pulling fs layer [2020-09-18T18:45:54.389Z] 8529a6b9a6be: Pulling fs layer [2020-09-18T18:45:54.389Z] 45590311c82a: Pulling fs layer [2020-09-18T18:45:54.389Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-18T18:45:54.389Z] 209524e5b208: Pulling fs layer [2020-09-18T18:45:54.389Z] 69ca0ff8b7b3: Waiting [2020-09-18T18:45:54.389Z] 209524e5b208: Waiting [2020-09-18T18:45:54.389Z] 45590311c82a: Waiting [2020-09-18T18:45:54.389Z] 8529a6b9a6be: Waiting [2020-09-18T18:45:54.389Z] 99f96fe45779: Verifying Checksum [2020-09-18T18:45:54.389Z] 99f96fe45779: Download complete [2020-09-18T18:45:54.389Z] 74f711af9a0d: Verifying Checksum [2020-09-18T18:45:54.389Z] 74f711af9a0d: Download complete [2020-09-18T18:45:54.389Z] 45590311c82a: Verifying Checksum [2020-09-18T18:45:54.389Z] 45590311c82a: Download complete [2020-09-18T18:45:54.389Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-18T18:45:54.389Z] 69ca0ff8b7b3: Download complete [2020-09-18T18:45:54.389Z] b538f80385f9: Verifying Checksum [2020-09-18T18:45:54.389Z] b538f80385f9: Download complete [2020-09-18T18:45:55.370Z] b538f80385f9: Pull complete [2020-09-18T18:45:55.974Z] 74f711af9a0d: Pull complete [2020-09-18T18:45:56.248Z] 99f96fe45779: Pull complete [2020-09-18T18:45:57.232Z] 209524e5b208: Verifying Checksum [2020-09-18T18:45:57.232Z] 209524e5b208: Download complete [2020-09-18T18:45:58.881Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.032s coverage: 8.6% of statements [2020-09-18T18:45:58.881Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.043s coverage: 21.7% of statements [2020-09-18T18:45:58.881Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-09-18T18:45:58.881Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] [2020-09-18T18:45:58.881Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] [2020-09-18T18:45:58.881Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.420s coverage: 68.9% of statements [2020-09-18T18:45:58.881Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2020-09-18T18:45:58.900Z] $ docker stop --time=1 ab8f1626976ba12ed38ae5eb622b8d487d75fbb482c1aaaa7f5f290a8c57444d [2020-09-18T18:45:59.872Z] 8529a6b9a6be: Verifying Checksum [2020-09-18T18:45:59.872Z] 8529a6b9a6be: Download complete [2020-09-18T18:46:00.541Z] $ docker rm -f ab8f1626976ba12ed38ae5eb622b8d487d75fbb482c1aaaa7f5f290a8c57444d [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-18T18:46:02.349Z] Failed in branch amd64 [2020-09-18T18:46:10.038Z] 8529a6b9a6be: Pull complete [2020-09-18T18:46:10.038Z] 45590311c82a: Pull complete [2020-09-18T18:46:10.312Z] 69ca0ff8b7b3: Pull complete [2020-09-18T18:46:14.651Z] 209524e5b208: Pull complete [2020-09-18T18:46:14.651Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-18T18:46:14.651Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-18T18:46:14.651Z] ---> 5bddaf1c2fca [2020-09-18T18:46:14.651Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-18T18:46:17.300Z] ---> Running in 77d40d2d9eb7 [2020-09-18T18:46:17.300Z] Removing intermediate container 77d40d2d9eb7 [2020-09-18T18:46:17.300Z] ---> 7262a3d168fa [2020-09-18T18:46:17.300Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-18T18:46:17.571Z] ---> Running in e9f57b8bf7a7 [2020-09-18T18:46:20.982Z] Removing intermediate container e9f57b8bf7a7 [2020-09-18T18:46:20.982Z] ---> ae5703804e51 [2020-09-18T18:46:20.983Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-18T18:46:20.983Z] ---> Running in d4bb0942909b [2020-09-18T18:46:21.976Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-18T18:46:23.403Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-18T18:46:24.828Z] OK: 142 MiB in 39 packages [2020-09-18T18:46:26.261Z] Removing intermediate container d4bb0942909b [2020-09-18T18:46:26.261Z] ---> c028f875aa1c [2020-09-18T18:46:26.261Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-18T18:46:26.261Z] ---> Running in 7987a2ae38a5 [2020-09-18T18:46:26.535Z] Removing intermediate container 7987a2ae38a5 [2020-09-18T18:46:26.535Z] ---> f8e5f3370544 [2020-09-18T18:46:26.535Z] Step 7/8 : COPY . . [2020-09-18T18:46:27.988Z] ---> 37360bd5ccc2 [2020-09-18T18:46:27.988Z] Step 8/8 : RUN go mod download [2020-09-18T18:46:27.988Z] ---> Running in e2b304ff2de7 [2020-09-18T18:46:54.941Z] Removing intermediate container e2b304ff2de7 [2020-09-18T18:46:54.941Z] ---> 38d93f22f545 [2020-09-18T18:46:54.941Z] Successfully built 38d93f22f545 [2020-09-18T18:46:54.941Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-18T18:46:55.372Z] + docker inspect -f . ci-base-image-arm64 [2020-09-18T18:46:55.372Z] . [Pipeline] withDockerContainer [2020-09-18T18:46:55.658Z] prd-ubuntu18.04-docker-arm64-4c-16g-431 does not seem to be running inside a container [2020-09-18T18:46:55.755Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-18T18:46:57.607Z] $ docker top 9ddddb548d4a3623e2039aceb3a50530af0d969eac81d605ae8a7d05cc5370fc -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-18T18:46:59.130Z] + go version [2020-09-18T18:46:59.130Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-18T18:46:59.175Z] $ docker stop --time=1 9ddddb548d4a3623e2039aceb3a50530af0d969eac81d605ae8a7d05cc5370fc [2020-09-18T18:47:01.051Z] $ docker rm -f 9ddddb548d4a3623e2039aceb3a50530af0d969eac81d605ae8a7d05cc5370fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-18T18:47:02.313Z] + docker inspect -f . ci-base-image-arm64 [2020-09-18T18:47:02.313Z] . [Pipeline] withDockerContainer [2020-09-18T18:47:02.560Z] prd-ubuntu18.04-docker-arm64-4c-16g-431 does not seem to be running inside a container [2020-09-18T18:47:02.654Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-18T18:47:04.477Z] $ docker top efafb86e934b0267289967755a7825871ac9dac8b44133ca625210f84cb7c407 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-18T18:47:05.922Z] + make test [2020-09-18T18:47:05.923Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-18T18:47:28.130Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-18T18:48:00.513Z] # github.com/edgexfoundry/device-sdk-go/internal/transformer [2020-09-18T18:48:00.513Z] 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-18T18:48:01.112Z] # github.com/edgexfoundry/device-sdk-go/internal/cache [github.com/edgexfoundry/device-sdk-go/internal/cache.test] [2020-09-18T18:48:01.112Z] internal/cache/devices_test.go:25:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: [2020-09-18T18:48:01.112Z] *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) [2020-09-18T18:48:01.112Z] have UpdateAdminState(context.Context, string, string) error [2020-09-18T18:48:01.112Z] want UpdateAdminState(context.Context, string, admin.UpdateRequest) error [2020-09-18T18:48:01.112Z] internal/cache/init_test.go:23:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: [2020-09-18T18:48:01.112Z] *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) [2020-09-18T18:48:01.112Z] have UpdateAdminState(context.Context, string, string) error [2020-09-18T18:48:01.112Z] want UpdateAdminState(context.Context, string, admin.UpdateRequest) error [2020-09-18T18:48:01.728Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] [2020-09-18T18:48:02.005Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] [2020-09-18T18:48:02.605Z] # github.com/edgexfoundry/device-sdk-go/internal/transformer [github.com/edgexfoundry/device-sdk-go/internal/transformer.test] [2020-09-18T18:48:02.605Z] 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-18T18:48:34.934Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.076s coverage: 8.6% of statements [2020-09-18T18:48:34.934Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.047s coverage: 21.7% of statements [2020-09-18T18:48:34.934Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-09-18T18:48:34.934Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] [2020-09-18T18:48:34.934Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] [2020-09-18T18:48:34.934Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.631s coverage: 68.9% of statements [2020-09-18T18:48:34.934Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2020-09-18T18:48:34.961Z] $ docker stop --time=1 efafb86e934b0267289967755a7825871ac9dac8b44133ca625210f84cb7c407 [2020-09-18T18:48:36.939Z] $ docker rm -f efafb86e934b0267289967755a7825871ac9dac8b44133ca625210f84cb7c407 [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-18T18:48:38.880Z] 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] { (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-18T18:48:41.863Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-18T18:48:42.444Z] ---> package-listing.sh [2020-09-18T18:48:42.444Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-18T18:48:42.444Z] ++ facter osfamily [2020-09-18T18:48:42.717Z] + OS_FAMILY=redhat [2020-09-18T18:48:42.717Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-591 [2020-09-18T18:48:42.717Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-18T18:48:42.717Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-18T18:48:42.717Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-18T18:48:42.717Z] + PACKAGES=/tmp/packages_start.txt [2020-09-18T18:48:42.717Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-591 ']' [2020-09-18T18:48:42.717Z] + PACKAGES=/tmp/packages_end.txt [2020-09-18T18:48:42.717Z] + case "${OS_FAMILY}" in [2020-09-18T18:48:42.717Z] + rpm -qa [2020-09-18T18:48:42.717Z] + sort [2020-09-18T18:48:46.042Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-18T18:48:46.042Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-18T18:48:46.042Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-18T18:48:46.042Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-591 ']' [2020-09-18T18:48:46.042Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-591/archives/ [2020-09-18T18:48:46.042Z] + 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-18T18:48:46.525Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-18T18:48:46.525Z] [2020-09-18T18:48:46.525Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-18T18:48:46.918Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-18T18:48:46.918Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-18T18:48:46.918Z] df20fa9351a1: Pulling fs layer [2020-09-18T18:48:46.918Z] 36b3adc4ff6f: Pulling fs layer [2020-09-18T18:48:46.918Z] 8ad3a11d3b57: Pulling fs layer [2020-09-18T18:48:46.918Z] 46f8f816bc3b: Pulling fs layer [2020-09-18T18:48:46.918Z] 0dadc02b9964: Pulling fs layer [2020-09-18T18:48:46.918Z] ce6a7cf60c04: Pulling fs layer [2020-09-18T18:48:46.918Z] 7a184a31f384: Pulling fs layer [2020-09-18T18:48:46.918Z] 0879bd2ef858: Pulling fs layer [2020-09-18T18:48:46.918Z] ce6a7cf60c04: Waiting [2020-09-18T18:48:46.918Z] 7a184a31f384: Waiting [2020-09-18T18:48:46.918Z] 0879bd2ef858: Waiting [2020-09-18T18:48:46.918Z] 36b3adc4ff6f: Download complete [2020-09-18T18:48:46.918Z] 46f8f816bc3b: Download complete [2020-09-18T18:48:46.918Z] df20fa9351a1: Verifying Checksum [2020-09-18T18:48:46.918Z] df20fa9351a1: Download complete [2020-09-18T18:48:47.187Z] ce6a7cf60c04: Verifying Checksum [2020-09-18T18:48:47.187Z] ce6a7cf60c04: Download complete [2020-09-18T18:48:47.187Z] 0dadc02b9964: Verifying Checksum [2020-09-18T18:48:47.187Z] 0dadc02b9964: Download complete [2020-09-18T18:48:47.187Z] 7a184a31f384: Verifying Checksum [2020-09-18T18:48:47.187Z] 7a184a31f384: Download complete [2020-09-18T18:48:47.187Z] 8ad3a11d3b57: Verifying Checksum [2020-09-18T18:48:47.187Z] 8ad3a11d3b57: Download complete [2020-09-18T18:48:47.459Z] df20fa9351a1: Pull complete [2020-09-18T18:48:47.724Z] 0879bd2ef858: Verifying Checksum [2020-09-18T18:48:47.724Z] 0879bd2ef858: Download complete [2020-09-18T18:48:47.724Z] 36b3adc4ff6f: Pull complete [2020-09-18T18:48:48.693Z] 8ad3a11d3b57: Pull complete [2020-09-18T18:48:48.693Z] 46f8f816bc3b: Pull complete [2020-09-18T18:48:48.964Z] 0dadc02b9964: Pull complete [2020-09-18T18:48:49.228Z] ce6a7cf60c04: Pull complete [2020-09-18T18:48:49.498Z] 7a184a31f384: Pull complete [2020-09-18T18:48:52.977Z] 0879bd2ef858: Pull complete [2020-09-18T18:48:53.245Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-18T18:48:53.245Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-18T18:48:53.245Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-18T18:48:53.466Z] prd-centos7-docker-4c-2g-421 does not seem to be running inside a container [2020-09-18T18:48:53.521Z] $ 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-18T18:48:56.538Z] $ docker top 62e9151de58ce5c6b123540e67f929cdca91b9beb6cebc01186177231cba704a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-18T18:48:57.048Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-18T18:48:57.355Z] + ls /var/log/sa-host [2020-09-18T18:48:57.355Z] + sadf -c /var/log/sa-host/sa05 [2020-09-18T18:48:57.355Z] file_magic: OK [2020-09-18T18:48:57.355Z] HZ: Using current value: 100 [2020-09-18T18:48:57.355Z] file_header: OK [2020-09-18T18:48:57.355Z] 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-18T18:48:57.355Z] Statistics: [2020-09-18T18:48:57.355Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-18T18:48:57.355Z] File successfully converted to sysstat format version 12.2.1 [2020-09-18T18:48:57.355Z] + sadf -c /var/log/sa-host/sa18 [2020-09-18T18:48:57.355Z] file_magic: OK [2020-09-18T18:48:57.355Z] HZ: Using current value: 100 [2020-09-18T18:48:57.355Z] file_header: OK [2020-09-18T18:48:57.355Z] 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-18T18:48:57.355Z] Statistics: [2020-09-18T18:48:57.355Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-18T18:48:57.355Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-18T18:48:57.420Z] provisioning config files... [2020-09-18T18:48:57.440Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-591@tmp/config6399295952352344796tmp [Pipeline] { [Pipeline] echo [2020-09-18T18:48:57.513Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-18T18:48:57.810Z] ---> create-netrc.sh [Pipeline] echo [2020-09-18T18:48:57.821Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-18T18:48:58.126Z] ---> logs-deploy.sh [2020-09-18T18:48:58.126Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-591/2 [2020-09-18T18:48:58.126Z] INFO: archiving workspace using pattern(s): [2020-09-18T18:48:59.524Z] Archives upload complete. [2020-09-18T18:48:59.788Z] INFO: archiving logs to Nexus