Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 245068c04ff2830f60caa5933c53c336b25cd27b+0cafa7decaaa0dab3b86f836c2c615e8e839d11b (8fc5605f570b5efc32dd8bcac93628dd6d862b76) 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 on ‘prd-centos7-docker-4c-2g-904’ Running on prd-centos7-docker-4c-2g-907 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [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 > git init /w/workspace/dgexfoundry_device-sdk-go_PR-584 # 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/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit 245068c04ff2830f60caa5933c53c336b25cd27b Merge succeeded, producing d83cde1ab903c92822cfedd3d62aa000db75e289 Checking out Revision d83cde1ab903c92822cfedd3d62aa000db75e289 (PR-584) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/584/head:refs/remotes/origin/PR-584 # 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/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 245068c04ff2830f60caa5933c53c336b25cd27b # 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 d83cde1ab903c92822cfedd3d62aa000db75e289 # timeout=10 Commit message: "Merge commit '0cafa7decaaa0dab3b86f836c2c615e8e839d11b' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk 17c22148a7151a1e6426d3a1db8ff052d759b81f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-22T18:45:29.547Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-22T18:45:29.848Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-22T18:45:29.947Z] ========================================================= [2020-09-22T18:45:29.947Z] EdgeX Global Pipelines Version Info [2020-09-22T18:45:29.947Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-22T18:45:31.382Z] ------------------- [2020-09-22T18:45:31.382Z] stable info: [2020-09-22T18:45:31.382Z] ------------------- [2020-09-22T18:45:31.382Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-22T18:45:31.382Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-22T18:45:31.382Z] Message: update stable to v1.0.122 [2020-09-22T18:45:32.334Z] ------------------- [2020-09-22T18:45:32.334Z] experimental info: [2020-09-22T18:45:32.334Z] ------------------- [2020-09-22T18:45:32.334Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-22T18:45:32.334Z] Commit SHA: 4cadb88800041bcc4665ba3be4ccb25d089af403 [2020-09-22T18:45:32.334Z] Message: update experimental to v1.0.126 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-22T18:45:32.732Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-22T18:45:32.869Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-22T18:45:33.023Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-22T18:45:33.120Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-22T18:45:33.208Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-22T18:45:33.304Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-22T18:45:33.452Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-22T18:45:33.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-22T18:45:33.642Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-22T18:45:33.731Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-22T18:45:33.821Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-22T18:45:33.943Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-22T18:45:34.027Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-22T18:45:34.117Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-22T18:45:34.201Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-22T18:45:34.371Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T18:45:34.472Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T18:45:34.562Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T18:45:34.676Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-22T18:45:34.769Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-22T18:45:34.883Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-22T18:45:34.983Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-22T18:45:35.097Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-584 [Pipeline] echo [2020-09-22T18:45:35.199Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-584 [Pipeline] echo [2020-09-22T18:45:35.292Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-584 [Pipeline] echo [2020-09-22T18:45:35.408Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d83cde1ab903c92822cfedd3d62aa000db75e289 [Pipeline] echo [2020-09-22T18:45:35.591Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d83cde1 [Pipeline] echo [2020-09-22T18:45:35.694Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-22T18:45:36.380Z] + git log --format=format:%s -1 d83cde1ab903c92822cfedd3d62aa000db75e289 [Pipeline] echo [2020-09-22T18:45:36.454Z] GIT_COMMIT: d83cde1ab903c92822cfedd3d62aa000db75e289, Commit Message: Merge commit '0cafa7decaaa0dab3b86f836c2c615e8e839d11b' into HEAD [Pipeline] echo [2020-09-22T18:45:36.515Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:45:37.120Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T18:45:37.387Z] [2020-09-22T18:45:37.387Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:45:37.739Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T18:45:37.739Z] latest: Pulling from edgex-devops/git-semver [2020-09-22T18:45:37.739Z] 31603596830f: Pulling fs layer [2020-09-22T18:45:37.739Z] 2a8b12db71e7: Pulling fs layer [2020-09-22T18:45:37.739Z] 6ca5941a6612: Pulling fs layer [2020-09-22T18:45:37.739Z] ecc8261a40a4: Pulling fs layer [2020-09-22T18:45:37.739Z] ecc8261a40a4: Waiting [2020-09-22T18:45:37.739Z] 2a8b12db71e7: Verifying Checksum [2020-09-22T18:45:37.739Z] 2a8b12db71e7: Download complete [2020-09-22T18:45:38.008Z] 31603596830f: Download complete [2020-09-22T18:45:38.008Z] ecc8261a40a4: Verifying Checksum [2020-09-22T18:45:38.008Z] ecc8261a40a4: Download complete [2020-09-22T18:45:38.008Z] 6ca5941a6612: Verifying Checksum [2020-09-22T18:45:38.008Z] 6ca5941a6612: Download complete [2020-09-22T18:45:38.276Z] 31603596830f: Pull complete [2020-09-22T18:45:38.276Z] 2a8b12db71e7: Pull complete [2020-09-22T18:45:39.227Z] 6ca5941a6612: Pull complete [2020-09-22T18:45:39.227Z] ecc8261a40a4: Pull complete [2020-09-22T18:45:39.806Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-22T18:45:39.806Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T18:45:39.806Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-22T18:45:39.912Z] prd-centos7-docker-4c-2g-907 does not seem to be running inside a container [2020-09-22T18:45:39.960Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-584 -v /w/workspace/dgexfoundry_device-sdk-go_PR-584:/w/workspace/dgexfoundry_device-sdk-go_PR-584:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-584@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:10004/edgex-devops/git-semver:latest cat [2020-09-22T18:45:41.631Z] $ docker top 89baca121ca9718c9939ac00c0754bff0b8154305638b5747a35f5975ae4bde5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-22T18:45:41.931Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-22T18:45:41.931Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-22T18:45:42.133Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-22T18:45:42.138Z] $ docker exec 89baca121ca9718c9939ac00c0754bff0b8154305638b5747a35f5975ae4bde5 ssh-agent [2020-09-22T18:45:42.283Z] SSH_AUTH_SOCK=/tmp/ssh-h0yNKq3unpf4/agent.12 [2020-09-22T18:45:42.283Z] SSH_AGENT_PID=17 [2020-09-22T18:45:42.296Z] Running ssh-add (command line suppressed) [2020-09-22T18:45:42.416Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_3655683294816831160.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_3655683294816831160.key) [2020-09-22T18:45:42.514Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-22T18:45:42.848Z] + git describe --exact-match --tags HEAD [2020-09-22T18:45:42.849Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-22T18:45:42.883Z] $ docker exec --env ******** --env ******** 89baca121ca9718c9939ac00c0754bff0b8154305638b5747a35f5975ae4bde5 ssh-agent -k [2020-09-22T18:45:42.986Z] unset SSH_AUTH_SOCK; [2020-09-22T18:45:42.987Z] unset SSH_AGENT_PID; [2020-09-22T18:45:42.987Z] echo Agent pid 17 killed; [2020-09-22T18:45:43.031Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-22T18:45:43.129Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-22T18:45:43.129Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-22T18:45:43.243Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-22T18:45:43.243Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-22T18:45:43.399Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-22T18:45:43.404Z] $ docker exec 89baca121ca9718c9939ac00c0754bff0b8154305638b5747a35f5975ae4bde5 ssh-agent [2020-09-22T18:45:43.553Z] SSH_AUTH_SOCK=/tmp/ssh-48rF5YnMRSOo/agent.46 [2020-09-22T18:45:43.553Z] SSH_AGENT_PID=52 [2020-09-22T18:45:43.560Z] Running ssh-add (command line suppressed) [2020-09-22T18:45:43.670Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_9041505835386477980.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_9041505835386477980.key) [2020-09-22T18:45:43.715Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-22T18:45:44.045Z] + git semver init [2020-09-22T18:45:44.045Z] # -> Open(): unable to determine branch for HEAD [2020-09-22T18:45:44.045Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.git [2020-09-22T18:45:44.045Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-584 [2020-09-22T18:45:44.045Z] # $SEMVER_REMOTE_NAME = origin [2020-09-22T18:45:44.045Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-22T18:45:44.045Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-22T18:45:44.045Z] # $SEMVER_BRANCH = PR-584 [2020-09-22T18:45:44.045Z] # $SEMVER_TEMP = /tmp/semver-157220383 [2020-09-22T18:45:44.045Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-22T18:45:44.624Z] # '/tmp/semver-157220383' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver' [2020-09-22T18:45:44.624Z] # -> Force: false [2020-09-22T18:45:44.624Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver [Pipeline] } [2020-09-22T18:45:44.651Z] $ docker exec --env ******** --env ******** 89baca121ca9718c9939ac00c0754bff0b8154305638b5747a35f5975ae4bde5 ssh-agent -k [2020-09-22T18:45:44.769Z] unset SSH_AUTH_SOCK; [2020-09-22T18:45:44.769Z] unset SSH_AGENT_PID; [2020-09-22T18:45:44.769Z] echo Agent pid 52 killed; [2020-09-22T18:45:44.811Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-22T18:45:45.263Z] + git semver [Pipeline] } [2020-09-22T18:45:45.281Z] $ docker stop --time=1 89baca121ca9718c9939ac00c0754bff0b8154305638b5747a35f5975ae4bde5 [2020-09-22T18:45:46.613Z] $ docker rm -f 89baca121ca9718c9939ac00c0754bff0b8154305638b5747a35f5975ae4bde5 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-22T18:45:47.457Z] Stashed 39 file(s) [Pipeline] echo [2020-09-22T18:45:47.459Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-22T18:45:47.545Z] 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:46:02.988Z] Still waiting to schedule task [2020-09-22T18:46:02.988Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-22T18:46:02.991Z] Still waiting to schedule task [2020-09-22T18:46:02.991Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-906’ is offline [2020-09-22T18:46:28.925Z] Running on prd-centos7-docker-4c-2g-914 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws [2020-09-22T18:46:28.978Z] Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout [2020-09-22T18:46:31.952Z] using credential edgex-jenkins-ssh [2020-09-22T18:46:32.001Z] Cloning the remote Git repository [2020-09-22T18:46:32.001Z] Cloning with configured refspecs honoured and without tags [2020-09-22T18:46:32.028Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T18:46:32.091Z] > git init /w/workspace/device-sdk-go/9 # timeout=10 [2020-09-22T18:46:32.132Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T18:46:32.132Z] > git --version # timeout=10 [2020-09-22T18:46:32.138Z] > git --version # 'git version 2.16.5' [2020-09-22T18:46:32.139Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T18:46:32.161Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T18:46:32.846Z] Fetching without tags [2020-09-22T18:46:33.229Z] Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit 245068c04ff2830f60caa5933c53c336b25cd27b [2020-09-22T18:46:33.338Z] Merge succeeded, producing 7f00ecf3e0ed1a0596a6007a52011e43b7e5df1a [2020-09-22T18:46:33.338Z] Checking out Revision 7f00ecf3e0ed1a0596a6007a52011e43b7e5df1a (PR-584) [2020-09-22T18:46:32.811Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-22T18:46:32.816Z] > git config --add remote.origin.fetch +refs/pull/584/head:refs/remotes/origin/PR-584 # timeout=10 [2020-09-22T18:46:32.824Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T18:46:32.837Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-22T18:46:32.851Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T18:46:32.851Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T18:46:32.856Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T18:46:33.239Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T18:46:33.244Z] > git checkout -f 245068c04ff2830f60caa5933c53c336b25cd27b # timeout=10 [2020-09-22T18:46:33.289Z] > git remote # timeout=10 [2020-09-22T18:46:33.296Z] > git config --get remote.origin.url # timeout=10 [2020-09-22T18:46:33.300Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T18:46:33.304Z] > git merge 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 [2020-09-22T18:46:33.334Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-22T18:46:33.343Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T18:46:33.347Z] > git checkout -f 7f00ecf3e0ed1a0596a6007a52011e43b7e5df1a # timeout=10 [2020-09-22T18:46:36.976Z] Commit message: "Merge commit '0cafa7decaaa0dab3b86f836c2c615e8e839d11b' into HEAD" [2020-09-22T18:46:36.988Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-09-22T18:46:36.981Z] > git rev-list --no-walk 17c22148a7151a1e6426d3a1db8ff052d759b81f # timeout=10 [Pipeline] echo [2020-09-22T18:46:37.890Z] ========================================================= [2020-09-22T18:46:37.890Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-22T18:46:37.890Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:46:38.594Z] + 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:38.859Z] Sending build context to Docker daemon 3.173MB [2020-09-22T18:46:38.859Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-22T18:46:38.859Z] Step 2/8 : FROM ${BASE} [2020-09-22T18:46:38.859Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-22T18:46:38.859Z] df20fa9351a1: Pulling fs layer [2020-09-22T18:46:38.859Z] ed8968b2872e: Pulling fs layer [2020-09-22T18:46:38.859Z] a92cc7c5fd73: Pulling fs layer [2020-09-22T18:46:38.859Z] e871e8e8d7a9: Pulling fs layer [2020-09-22T18:46:38.859Z] e73272ec9a57: Pulling fs layer [2020-09-22T18:46:38.859Z] 1e910a182e73: Pulling fs layer [2020-09-22T18:46:38.859Z] 4e634b169226: Pulling fs layer [2020-09-22T18:46:38.859Z] e871e8e8d7a9: Waiting [2020-09-22T18:46:38.860Z] e73272ec9a57: Waiting [2020-09-22T18:46:38.860Z] 1e910a182e73: Waiting [2020-09-22T18:46:38.860Z] 4e634b169226: Waiting [2020-09-22T18:46:39.122Z] a92cc7c5fd73: Verifying Checksum [2020-09-22T18:46:39.122Z] a92cc7c5fd73: Download complete [2020-09-22T18:46:39.122Z] ed8968b2872e: Download complete [2020-09-22T18:46:39.122Z] e73272ec9a57: Verifying Checksum [2020-09-22T18:46:39.122Z] e73272ec9a57: Download complete [2020-09-22T18:46:39.122Z] 1e910a182e73: Verifying Checksum [2020-09-22T18:46:39.122Z] 1e910a182e73: Download complete [2020-09-22T18:46:39.122Z] df20fa9351a1: Verifying Checksum [2020-09-22T18:46:39.122Z] df20fa9351a1: Download complete [2020-09-22T18:46:39.383Z] df20fa9351a1: Pull complete [2020-09-22T18:46:39.644Z] ed8968b2872e: Pull complete [2020-09-22T18:46:39.644Z] a92cc7c5fd73: Pull complete [2020-09-22T18:46:42.958Z] 4e634b169226: Verifying Checksum [2020-09-22T18:46:42.958Z] 4e634b169226: Download complete [2020-09-22T18:46:44.360Z] e871e8e8d7a9: Verifying Checksum [2020-09-22T18:46:44.360Z] e871e8e8d7a9: Download complete [2020-09-22T18:46:49.698Z] e871e8e8d7a9: Pull complete [2020-09-22T18:46:49.698Z] e73272ec9a57: Pull complete [2020-09-22T18:46:49.698Z] 1e910a182e73: Pull complete [2020-09-22T18:46:55.015Z] 4e634b169226: Pull complete [2020-09-22T18:46:55.015Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-22T18:46:55.015Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-22T18:46:55.015Z] ---> f7629b54cfaa [2020-09-22T18:46:55.015Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T18:46:55.015Z] ---> Running in f520a48484c9 [2020-09-22T18:46:55.015Z] Removing intermediate container f520a48484c9 [2020-09-22T18:46:55.015Z] ---> 99a79b821f52 [2020-09-22T18:46:55.015Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T18:46:55.015Z] ---> Running in 1835407ccdea [2020-09-22T18:46:56.413Z] Removing intermediate container 1835407ccdea [2020-09-22T18:46:56.413Z] ---> 90899442c944 [2020-09-22T18:46:56.413Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-22T18:46:56.413Z] ---> Running in a7f3c6db49ef [2020-09-22T18:46:56.990Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-22T18:46:57.565Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-22T18:46:58.511Z] OK: 166 MiB in 39 packages [2020-09-22T18:46:58.775Z] Removing intermediate container a7f3c6db49ef [2020-09-22T18:46:58.775Z] ---> 52eca8ee2342 [2020-09-22T18:46:58.775Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-22T18:46:58.775Z] ---> Running in b4b3c3785002 [2020-09-22T18:46:59.040Z] Removing intermediate container b4b3c3785002 [2020-09-22T18:46:59.040Z] ---> ea439351da3e [2020-09-22T18:46:59.040Z] Step 7/8 : COPY . . [2020-09-22T18:47:00.445Z] ---> babf862f20b3 [2020-09-22T18:47:00.445Z] Step 8/8 : RUN go mod download [2020-09-22T18:47:00.445Z] ---> Running in 010cad563ef1 [2020-09-22T18:47:10.503Z] Removing intermediate container 010cad563ef1 [2020-09-22T18:47:10.503Z] ---> c5abad89489c [2020-09-22T18:47:10.503Z] Successfully built c5abad89489c [2020-09-22T18:47:10.503Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:47:10.853Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-22T18:47:10.853Z] . [Pipeline] withDockerContainer [2020-09-22T18:47:11.006Z] prd-centos7-docker-4c-2g-914 does not seem to be running inside a container [2020-09-22T18:47:11.127Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-22T18:47:12.370Z] $ docker top 3db576d3a8ce0e1d7baf1e76daa7050bff64f4374f427bb6205a13b5fa81b311 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T18:47:12.877Z] + go version [2020-09-22T18:47:12.877Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-22T18:47:12.893Z] $ docker stop --time=1 3db576d3a8ce0e1d7baf1e76daa7050bff64f4374f427bb6205a13b5fa81b311 [2020-09-22T18:47:14.233Z] $ docker rm -f 3db576d3a8ce0e1d7baf1e76daa7050bff64f4374f427bb6205a13b5fa81b311 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:47:15.098Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-22T18:47:15.098Z] . [Pipeline] withDockerContainer [2020-09-22T18:47:15.229Z] prd-centos7-docker-4c-2g-914 does not seem to be running inside a container [2020-09-22T18:47:15.278Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-22T18:47:16.034Z] $ docker top 06a166ce2d62b311bb144179a270efd1df86ce6710b09aa3d56a5130ba0283e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T18:47:16.550Z] + make test [2020-09-22T18:47:16.550Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-22T18:47:23.187Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-22T18:47:35.517Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-22T18:47:35.517Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-22T18:47:35.517Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-22T18:47:35.792Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.032s coverage: 21.9% of statements [2020-09-22T18:47:37.215Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.407s coverage: 95.7% of statements [2020-09-22T18:48:09.399Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.066s coverage: 8.6% of statements [2020-09-22T18:48:09.399Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.024s coverage: 21.7% of statements [2020-09-22T18:48:09.399Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-22T18:48:09.399Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.183s coverage: 37.0% of statements [2020-09-22T18:48:09.399Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-22T18:48:09.399Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.281s coverage: 65.4% of statements [2020-09-22T18:48:09.399Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-22T18:48:09.399Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-22T18:48:09.399Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-22T18:48:09.399Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.141s coverage: 52.6% of statements [2020-09-22T18:48:09.399Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.646s coverage: 68.9% of statements [2020-09-22T18:48:09.399Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-22T18:48:09.399Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-22T18:48:09.399Z] GO111MODULE=on go vet ./... [2020-09-22T18:48:14.767Z] gofmt -l . [2020-09-22T18:48:14.767Z] [ "`gofmt -l .`" = "" ] [2020-09-22T18:48:14.767Z] ./bin/test-attribution-txt.sh [2020-09-22T18:48:14.906Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-916 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws [2020-09-22T18:48:14.970Z] Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout [2020-09-22T18:48:15.342Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-22T18:48:15.931Z] Stashed 1 file(s) [Pipeline] } [2020-09-22T18:48:15.939Z] $ docker stop --time=1 06a166ce2d62b311bb144179a270efd1df86ce6710b09aa3d56a5130ba0283e0 [2020-09-22T18:48:17.780Z] $ docker rm -f 06a166ce2d62b311bb144179a270efd1df86ce6710b09aa3d56a5130ba0283e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-09-22T18:48:19.944Z] using credential edgex-jenkins-ssh [2020-09-22T18:48:20.005Z] Cloning the remote Git repository [2020-09-22T18:48:20.005Z] Cloning with configured refspecs honoured and without tags [Pipeline] sh [2020-09-22T18:48:21.197Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-22T18:48:20.067Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T18:48:20.179Z] > git init /w/workspace/device-sdk-go/9 # timeout=10 [2020-09-22T18:48:20.249Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T18:48:20.249Z] > git --version # timeout=10 [2020-09-22T18:48:20.272Z] > git --version # 'git version 2.17.1' [2020-09-22T18:48:20.274Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T18:48:20.347Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T18:48:21.206Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-22T18:48:21.305Z] Fetching without tags [2020-09-22T18:48:21.494Z] + ls -al . [2020-09-22T18:48:21.494Z] total 188 [2020-09-22T18:48:21.494Z] drwxrwxr-x. 11 jenkins jenkins 4096 Sep 22 18:48 . [2020-09-22T18:48:21.494Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 22 18:46 .. [2020-09-22T18:48:21.494Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 22 18:46 bin [2020-09-22T18:48:21.494Z] -rw-r--r--. 1 jenkins jenkins 111696 Sep 22 18:48 coverage.out [2020-09-22T18:48:21.494Z] -rw-rw-r--. 1 jenkins jenkins 936 Sep 22 18:46 Dockerfile.build [2020-09-22T18:48:21.494Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 22 18:46 .dockerignore [2020-09-22T18:48:21.494Z] drwxrwxr-x. 4 jenkins jenkins 48 Sep 22 18:46 example [2020-09-22T18:48:21.494Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 22 18:46 .git [2020-09-22T18:48:21.494Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 22 18:46 .github [2020-09-22T18:48:21.494Z] -rw-rw-r--. 1 jenkins jenkins 138 Sep 22 18:46 .gitignore [2020-09-22T18:48:21.494Z] -rw-r--r--. 1 jenkins jenkins 446 Sep 22 18:48 go.mod [2020-09-22T18:48:21.494Z] -rw-r--r--. 1 jenkins jenkins 12264 Sep 22 18:48 go.sum [2020-09-22T18:48:21.494Z] drwxrwxr-x. 13 jenkins jenkins 184 Sep 22 18:46 internal [2020-09-22T18:48:21.494Z] -rw-rw-r--. 1 jenkins jenkins 785 Sep 22 18:46 Jenkinsfile [2020-09-22T18:48:21.494Z] -rw-rw-r--. 1 jenkins jenkins 11341 Sep 22 18:46 LICENSE [2020-09-22T18:48:21.494Z] -rw-rw-r--. 1 jenkins jenkins 1013 Sep 22 18:46 Makefile [2020-09-22T18:48:21.494Z] drwxrwxr-x. 4 jenkins jenkins 26 Sep 22 18:46 openapi [2020-09-22T18:48:21.494Z] drwxrwxr-x. 5 jenkins jenkins 50 Sep 22 18:46 pkg [2020-09-22T18:48:21.494Z] -rw-rw-r--. 1 jenkins jenkins 5897 Sep 22 18:46 README.md [2020-09-22T18:48:21.494Z] -rw-rw-r--. 1 jenkins jenkins 4291 Sep 22 18:46 RELEASE-NOTES.txt [2020-09-22T18:48:21.494Z] drwxrwxr-x. 3 jenkins jenkins 58 Sep 22 18:46 .semver [2020-09-22T18:48:21.494Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 22 18:46 snap [2020-09-22T18:48:21.494Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 22 18:45 VERSION [2020-09-22T18:48:21.494Z] -rw-rw-r--. 1 jenkins jenkins 222 Sep 22 18:46 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:48:21.790Z] Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit 245068c04ff2830f60caa5933c53c336b25cd27b [2020-09-22T18:48:21.801Z] + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=d83cde1ab903c92822cfedd3d62aa000db75e289 --label arch=amd64 --label version=0.0.0 . [2020-09-22T18:48:22.064Z] Sending build context to Docker daemon 3.287MB [2020-09-22T18:48:22.064Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-22T18:48:22.064Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-22T18:48:22.064Z] ---> c5abad89489c [2020-09-22T18:48:22.064Z] Step 3/24 : ARG MAKE='make build' [2020-09-22T18:48:22.231Z] Merge succeeded, producing 002c1d924b3c6b645cdd2e6d453fd91131501208 [2020-09-22T18:48:22.232Z] Checking out Revision 002c1d924b3c6b645cdd2e6d453fd91131501208 (PR-584) [2020-09-22T18:48:21.234Z] > git config --add remote.origin.fetch +refs/pull/584/head:refs/remotes/origin/PR-584 # timeout=10 [2020-09-22T18:48:21.251Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T18:48:21.282Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-22T18:48:21.321Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T18:48:21.322Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T18:48:21.334Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T18:48:21.812Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T18:48:21.839Z] > git checkout -f 245068c04ff2830f60caa5933c53c336b25cd27b # timeout=10 [2020-09-22T18:48:21.947Z] > git remote # timeout=10 [2020-09-22T18:48:21.965Z] > git config --get remote.origin.url # timeout=10 [2020-09-22T18:48:22.040Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T18:48:22.063Z] > git merge 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 [2020-09-22T18:48:22.170Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-22T18:48:22.246Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T18:48:22.268Z] > git checkout -f 002c1d924b3c6b645cdd2e6d453fd91131501208 # timeout=10 [2020-09-22T18:48:22.642Z] ---> Running in 90393922cbaf [2020-09-22T18:48:22.642Z] Removing intermediate container 90393922cbaf [2020-09-22T18:48:22.642Z] ---> 0e38e8647b50 [2020-09-22T18:48:22.642Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-22T18:48:22.904Z] ---> Running in 15c0ad2e98f6 [2020-09-22T18:48:22.904Z] Removing intermediate container 15c0ad2e98f6 [2020-09-22T18:48:22.904Z] ---> 16d313616e39 [2020-09-22T18:48:22.904Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T18:48:22.904Z] ---> Running in 03a4623d92e1 [2020-09-22T18:48:23.168Z] Removing intermediate container 03a4623d92e1 [2020-09-22T18:48:23.168Z] ---> df7422e2101e [2020-09-22T18:48:23.168Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T18:48:23.168Z] ---> Running in d97be23c017f [2020-09-22T18:48:24.133Z] Removing intermediate container d97be23c017f [2020-09-22T18:48:24.133Z] ---> 349db587711d [2020-09-22T18:48:24.133Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-22T18:48:24.133Z] ---> Running in 1c07b103c5bd [2020-09-22T18:48:24.708Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-22T18:48:25.653Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-22T18:48:26.524Z] Commit message: "Merge commit '0cafa7decaaa0dab3b86f836c2c615e8e839d11b' into HEAD" [2020-09-22T18:48:26.553Z] First time build. Skipping changelog. [2020-09-22T18:48:26.536Z] > git rev-list --no-walk 17c22148a7151a1e6426d3a1db8ff052d759b81f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2020-09-22T18:48:27.039Z] OK: 166 MiB in 39 packages [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-09-22T18:48:27.307Z] Removing intermediate container 1c07b103c5bd [2020-09-22T18:48:27.307Z] ---> 39ef8dbbdcc5 [2020-09-22T18:48:27.307Z] Step 8/24 : COPY . . [Pipeline] echo [2020-09-22T18:48:27.756Z] ========================================================= [2020-09-22T18:48:27.756Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-22T18:48:27.756Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:48:28.256Z] ---> 99fb036074ce [2020-09-22T18:48:28.256Z] Step 9/24 : RUN ${MAKE} [2020-09-22T18:48:28.520Z] ---> Running in fbce65d9088c [2020-09-22T18:48:28.794Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-09-22T18:48:29.110Z] + 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:48:30.105Z] Sending build context to Docker daemon 3.175MB [2020-09-22T18:48:30.105Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-22T18:48:30.105Z] Step 2/8 : FROM ${BASE} [2020-09-22T18:48:30.385Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-22T18:48:30.385Z] b538f80385f9: Pulling fs layer [2020-09-22T18:48:30.385Z] 74f711af9a0d: Pulling fs layer [2020-09-22T18:48:30.385Z] 99f96fe45779: Pulling fs layer [2020-09-22T18:48:30.385Z] 8529a6b9a6be: Pulling fs layer [2020-09-22T18:48:30.385Z] 45590311c82a: Pulling fs layer [2020-09-22T18:48:30.385Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-22T18:48:30.385Z] 209524e5b208: Pulling fs layer [2020-09-22T18:48:30.385Z] 8529a6b9a6be: Waiting [2020-09-22T18:48:30.385Z] 45590311c82a: Waiting [2020-09-22T18:48:30.385Z] 69ca0ff8b7b3: Waiting [2020-09-22T18:48:30.385Z] 209524e5b208: Waiting [2020-09-22T18:48:30.385Z] 99f96fe45779: Verifying Checksum [2020-09-22T18:48:30.385Z] 99f96fe45779: Download complete [2020-09-22T18:48:30.385Z] 74f711af9a0d: Verifying Checksum [2020-09-22T18:48:30.385Z] 74f711af9a0d: Download complete [2020-09-22T18:48:30.385Z] 45590311c82a: Verifying Checksum [2020-09-22T18:48:30.385Z] 45590311c82a: Download complete [2020-09-22T18:48:30.385Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-22T18:48:30.385Z] 69ca0ff8b7b3: Download complete [2020-09-22T18:48:30.385Z] b538f80385f9: Verifying Checksum [2020-09-22T18:48:30.385Z] b538f80385f9: Download complete [2020-09-22T18:48:31.381Z] b538f80385f9: Pull complete [2020-09-22T18:48:31.991Z] 74f711af9a0d: Pull complete [2020-09-22T18:48:32.269Z] 99f96fe45779: Pull complete [2020-09-22T18:48:33.268Z] 209524e5b208: Verifying Checksum [2020-09-22T18:48:33.268Z] 209524e5b208: Download complete [2020-09-22T18:48:34.251Z] 8529a6b9a6be: Verifying Checksum [2020-09-22T18:48:34.251Z] 8529a6b9a6be: Download complete [2020-09-22T18:48:35.510Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-22T18:48:37.438Z] Removing intermediate container fbce65d9088c [2020-09-22T18:48:37.438Z] ---> 5da096025aff [2020-09-22T18:48:37.438Z] Step 10/24 : FROM scratch [2020-09-22T18:48:37.438Z] ---> [2020-09-22T18:48:37.438Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T18:48:37.726Z] ---> Running in ae3a1e81577d [2020-09-22T18:48:37.726Z] Removing intermediate container ae3a1e81577d [2020-09-22T18:48:37.726Z] ---> 23e45106d383 [2020-09-22T18:48:37.726Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-22T18:48:37.726Z] ---> Running in a6743619163c [2020-09-22T18:48:37.988Z] Removing intermediate container a6743619163c [2020-09-22T18:48:37.988Z] ---> dca1a32a5093 [2020-09-22T18:48:37.988Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-22T18:48:37.988Z] ---> Running in c0e278acbba1 [2020-09-22T18:48:38.250Z] Removing intermediate container c0e278acbba1 [2020-09-22T18:48:38.250Z] ---> ee6a5caa7e16 [2020-09-22T18:48:38.250Z] Step 14/24 : WORKDIR / [2020-09-22T18:48:38.250Z] ---> Running in e2eeccc92cea [2020-09-22T18:48:38.250Z] Removing intermediate container e2eeccc92cea [2020-09-22T18:48:38.250Z] ---> 0bbcfa8c06ba [2020-09-22T18:48:38.250Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-22T18:48:38.838Z] ---> a8aaa4b1bc1e [2020-09-22T18:48:38.838Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-22T18:48:39.101Z] ---> b7c0d5647c33 [2020-09-22T18:48:39.101Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-22T18:48:39.101Z] ---> 3ef93d21283b [2020-09-22T18:48:39.101Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-22T18:48:39.363Z] ---> 3fe0b9703d3d [2020-09-22T18:48:39.363Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-22T18:48:39.638Z] ---> e73c424d50eb [2020-09-22T18:48:39.638Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-22T18:48:39.638Z] ---> Running in ac0397204b97 [2020-09-22T18:48:39.901Z] Removing intermediate container ac0397204b97 [2020-09-22T18:48:39.901Z] ---> e6ffbe6af481 [2020-09-22T18:48:39.901Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-22T18:48:39.901Z] ---> Running in 8f4f633be746 [2020-09-22T18:48:40.162Z] Removing intermediate container 8f4f633be746 [2020-09-22T18:48:40.162Z] ---> 9638109d830f [2020-09-22T18:48:40.162Z] Step 22/24 : LABEL arch=amd64 [2020-09-22T18:48:40.162Z] ---> Running in b4c80426da34 [2020-09-22T18:48:40.162Z] Removing intermediate container b4c80426da34 [2020-09-22T18:48:40.162Z] ---> 0b11a89b41b9 [2020-09-22T18:48:40.162Z] Step 23/24 : LABEL git_sha=d83cde1ab903c92822cfedd3d62aa000db75e289 [2020-09-22T18:48:40.424Z] ---> Running in 992e78598281 [2020-09-22T18:48:40.424Z] Removing intermediate container 992e78598281 [2020-09-22T18:48:40.424Z] ---> a8f6cc4f0840 [2020-09-22T18:48:40.424Z] Step 24/24 : LABEL version=0.0.0 [2020-09-22T18:48:40.424Z] ---> Running in c3c87340be67 [2020-09-22T18:48:40.686Z] Removing intermediate container c3c87340be67 [2020-09-22T18:48:40.686Z] ---> 1876129ba79d [2020-09-22T18:48:40.686Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-22T18:48:40.686Z] Successfully built 1876129ba79d [2020-09-22T18:48:40.686Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-22T18:48:44.515Z] 8529a6b9a6be: Pull complete [2020-09-22T18:48:44.516Z] 45590311c82a: Pull complete [2020-09-22T18:48:44.516Z] 69ca0ff8b7b3: Pull complete [2020-09-22T18:48:47.925Z] 209524e5b208: Pull complete [2020-09-22T18:48:47.925Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-22T18:48:47.925Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-22T18:48:47.925Z] ---> 5bddaf1c2fca [2020-09-22T18:48:47.925Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T18:48:51.360Z] ---> Running in d311078ccfaa [2020-09-22T18:48:51.360Z] Removing intermediate container d311078ccfaa [2020-09-22T18:48:51.360Z] ---> 29d1fae0f79e [2020-09-22T18:48:51.360Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T18:48:51.636Z] ---> Running in d9e6c70fc701 [2020-09-22T18:48:54.270Z] Removing intermediate container d9e6c70fc701 [2020-09-22T18:48:54.270Z] ---> 09decb800ccb [2020-09-22T18:48:54.270Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-22T18:48:54.555Z] ---> Running in 7e0572917aaf [2020-09-22T18:48:55.995Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-22T18:48:57.438Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-22T18:49:00.136Z] OK: 142 MiB in 39 packages [2020-09-22T18:49:01.131Z] Removing intermediate container 7e0572917aaf [2020-09-22T18:49:01.131Z] ---> e16baf537b4d [2020-09-22T18:49:01.131Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-22T18:49:01.404Z] ---> Running in 05a9272ed448 [2020-09-22T18:49:02.004Z] Removing intermediate container 05a9272ed448 [2020-09-22T18:49:02.004Z] ---> 9c88a4b56c28 [2020-09-22T18:49:02.004Z] Step 7/8 : COPY . . [2020-09-22T18:49:03.457Z] ---> aa6624eae7a9 [2020-09-22T18:49:03.457Z] Step 8/8 : RUN go mod download [2020-09-22T18:49:03.457Z] ---> Running in 7fc91a2b8eac [2020-09-22T18:49:18.563Z] Removing intermediate container 7fc91a2b8eac [2020-09-22T18:49:18.563Z] ---> aea571aae421 [2020-09-22T18:49:18.563Z] Successfully built aea571aae421 [2020-09-22T18:49:18.563Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:49:18.960Z] + docker inspect -f . ci-base-image-arm64 [2020-09-22T18:49:18.960Z] . [Pipeline] withDockerContainer [2020-09-22T18:49:19.202Z] prd-ubuntu18.04-docker-arm64-4c-16g-916 does not seem to be running inside a container [2020-09-22T18:49:19.292Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-22T18:49:21.171Z] $ docker top 8215bcc19a0369c26a86289ee7c0118efea90ecadf221c2276911a80f1bb2837 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T18:49:22.656Z] + go version [2020-09-22T18:49:22.656Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-22T18:49:22.682Z] $ docker stop --time=1 8215bcc19a0369c26a86289ee7c0118efea90ecadf221c2276911a80f1bb2837 [2020-09-22T18:49:24.653Z] $ docker rm -f 8215bcc19a0369c26a86289ee7c0118efea90ecadf221c2276911a80f1bb2837 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:49:25.691Z] + docker inspect -f . ci-base-image-arm64 [2020-09-22T18:49:25.691Z] . [Pipeline] withDockerContainer [2020-09-22T18:49:25.930Z] prd-ubuntu18.04-docker-arm64-4c-16g-916 does not seem to be running inside a container [2020-09-22T18:49:26.022Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-22T18:49:28.054Z] $ docker top ed14ae0b43f34b3b90501e64916bdb42c3be0ecaa95f8aa4dec0ae062363ab85 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T18:49:29.521Z] + make test [2020-09-22T18:49:29.521Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-22T18:49:51.783Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-22T18:50:30.910Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-22T18:50:30.910Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-22T18:50:30.910Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-22T18:50:30.910Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.067s coverage: 21.9% of statements [2020-09-22T18:50:32.921Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.375s coverage: 95.7% of statements [2020-09-22T18:51:05.258Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.092s coverage: 8.6% of statements [2020-09-22T18:51:05.258Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.049s coverage: 21.7% of statements [2020-09-22T18:51:05.258Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-22T18:51:05.258Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.482s coverage: 37.0% of statements [2020-09-22T18:51:05.258Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-22T18:51:05.258Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.664s coverage: 65.4% of statements [2020-09-22T18:51:05.258Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-22T18:51:05.258Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-22T18:51:05.258Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-22T18:51:05.258Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.130s coverage: 52.6% of statements [2020-09-22T18:51:05.258Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.750s coverage: 68.9% of statements [2020-09-22T18:51:05.258Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-22T18:51:05.258Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-22T18:51:05.258Z] GO111MODULE=on go vet ./... [2020-09-22T18:51:32.214Z] gofmt -l . [2020-09-22T18:51:32.215Z] [ "`gofmt -l .`" = "" ] [2020-09-22T18:51:32.215Z] ./bin/test-attribution-txt.sh [2020-09-22T18:51:32.215Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-22T18:51:32.236Z] Warning: overwriting stash ‘coverage-report’ [2020-09-22T18:51:33.008Z] Stashed 1 file(s) [Pipeline] } [2020-09-22T18:51:33.015Z] $ docker stop --time=1 ed14ae0b43f34b3b90501e64916bdb42c3be0ecaa95f8aa4dec0ae062363ab85 [2020-09-22T18:51:35.242Z] $ docker rm -f ed14ae0b43f34b3b90501e64916bdb42c3be0ecaa95f8aa4dec0ae062363ab85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-22T18:51:36.678Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-22T18:51:37.030Z] + ls -al . [2020-09-22T18:51:37.030Z] total 228 [2020-09-22T18:51:37.030Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 18:51 . [2020-09-22T18:51:37.030Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 18:48 .. [2020-09-22T18:51:37.030Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 18:48 .dockerignore [2020-09-22T18:51:37.030Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 18:48 .git [2020-09-22T18:51:37.030Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 18:48 .github [2020-09-22T18:51:37.030Z] -rw-rw-r-- 1 jenkins jenkins 138 Sep 22 18:48 .gitignore [2020-09-22T18:51:37.030Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 18:48 .semver [2020-09-22T18:51:37.030Z] -rw-rw-r-- 1 jenkins jenkins 936 Sep 22 18:48 Dockerfile.build [2020-09-22T18:51:37.030Z] -rw-rw-r-- 1 jenkins jenkins 785 Sep 22 18:48 Jenkinsfile [2020-09-22T18:51:37.030Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 22 18:48 LICENSE [2020-09-22T18:51:37.030Z] -rw-rw-r-- 1 jenkins jenkins 1013 Sep 22 18:48 Makefile [2020-09-22T18:51:37.030Z] -rw-rw-r-- 1 jenkins jenkins 5897 Sep 22 18:48 README.md [2020-09-22T18:51:37.030Z] -rw-rw-r-- 1 jenkins jenkins 4291 Sep 22 18:48 RELEASE-NOTES.txt [2020-09-22T18:51:37.030Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 18:45 VERSION [2020-09-22T18:51:37.030Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 18:48 bin [2020-09-22T18:51:37.030Z] -rw-r--r-- 1 jenkins jenkins 111696 Sep 22 18:51 coverage.out [2020-09-22T18:51:37.030Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 18:48 example [2020-09-22T18:51:37.030Z] -rw-r--r-- 1 jenkins jenkins 446 Sep 22 18:51 go.mod [2020-09-22T18:51:37.030Z] -rw-r--r-- 1 jenkins jenkins 12264 Sep 22 18:51 go.sum [2020-09-22T18:51:37.030Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 22 18:48 internal [2020-09-22T18:51:37.030Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 18:48 openapi [2020-09-22T18:51:37.030Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 22 18:48 pkg [2020-09-22T18:51:37.030Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 18:48 snap [2020-09-22T18:51:37.030Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 22 18:48 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:51:37.384Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=d83cde1ab903c92822cfedd3d62aa000db75e289 --label arch=arm64 --label version=0.0.0 . [2020-09-22T18:51:38.002Z] Sending build context to Docker daemon 3.289MB [2020-09-22T18:51:38.002Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-22T18:51:38.002Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-22T18:51:38.002Z] ---> aea571aae421 [2020-09-22T18:51:38.002Z] Step 3/24 : ARG MAKE='make build' [2020-09-22T18:51:38.277Z] ---> Running in a3344c532ea7 [2020-09-22T18:51:38.555Z] Removing intermediate container a3344c532ea7 [2020-09-22T18:51:38.556Z] ---> 7e6621628226 [2020-09-22T18:51:38.556Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-22T18:51:38.832Z] ---> Running in e6b342b29a37 [2020-09-22T18:51:39.430Z] Removing intermediate container e6b342b29a37 [2020-09-22T18:51:39.430Z] ---> a64d8d2cf3f9 [2020-09-22T18:51:39.430Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T18:51:39.430Z] ---> Running in ebf52dcf951a [2020-09-22T18:51:40.032Z] Removing intermediate container ebf52dcf951a [2020-09-22T18:51:40.032Z] ---> b35791efbb76 [2020-09-22T18:51:40.032Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T18:51:40.032Z] ---> Running in 76e6ea8ccf32 [2020-09-22T18:51:42.661Z] Removing intermediate container 76e6ea8ccf32 [2020-09-22T18:51:42.661Z] ---> ffe0180adcc2 [2020-09-22T18:51:42.661Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-22T18:51:42.935Z] ---> Running in 8a02aaa97e57 [2020-09-22T18:51:44.374Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-22T18:51:45.371Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-22T18:51:45.973Z] OK: 142 MiB in 39 packages [2020-09-22T18:51:47.420Z] Removing intermediate container 8a02aaa97e57 [2020-09-22T18:51:47.420Z] ---> 1bc0550b6fac [2020-09-22T18:51:47.420Z] Step 8/24 : COPY . . [2020-09-22T18:51:48.862Z] ---> 2ed08fb398e5 [2020-09-22T18:51:48.862Z] Step 9/24 : RUN ${MAKE} [2020-09-22T18:51:48.862Z] ---> Running in 77d5bd1b16e9 [2020-09-22T18:51:50.307Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-09-22T18:52:17.140Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-22T18:52:17.140Z] Removing intermediate container 77d5bd1b16e9 [2020-09-22T18:52:17.140Z] ---> 7d9b2c12a30c [2020-09-22T18:52:17.140Z] Step 10/24 : FROM scratch [2020-09-22T18:52:17.140Z] ---> [2020-09-22T18:52:17.140Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T18:52:17.140Z] ---> Running in d943b7b4a824 [2020-09-22T18:52:17.735Z] Removing intermediate container d943b7b4a824 [2020-09-22T18:52:17.735Z] ---> 39ef140175b1 [2020-09-22T18:52:17.735Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-22T18:52:17.735Z] ---> Running in bc9067055379 [2020-09-22T18:52:18.013Z] Removing intermediate container bc9067055379 [2020-09-22T18:52:18.013Z] ---> 56bea7df7948 [2020-09-22T18:52:18.013Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-22T18:52:18.013Z] ---> Running in 7b3c7322637b [2020-09-22T18:52:18.613Z] Removing intermediate container 7b3c7322637b [2020-09-22T18:52:18.613Z] ---> f19d46db2a65 [2020-09-22T18:52:18.613Z] Step 14/24 : WORKDIR / [2020-09-22T18:52:18.613Z] ---> Running in 7524b20f5ab7 [2020-09-22T18:52:19.212Z] Removing intermediate container 7524b20f5ab7 [2020-09-22T18:52:19.212Z] ---> 806617f9b7dc [2020-09-22T18:52:19.212Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-22T18:52:20.192Z] ---> a96f4f1bb3b6 [2020-09-22T18:52:20.193Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-22T18:52:21.175Z] ---> fe487eed233e [2020-09-22T18:52:21.175Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-22T18:52:21.772Z] ---> 536ce9ee6fca [2020-09-22T18:52:21.772Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-22T18:52:22.368Z] ---> f246602fee8d [2020-09-22T18:52:22.368Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-22T18:52:23.355Z] ---> 6d7852f5912e [2020-09-22T18:52:23.355Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-22T18:52:23.355Z] ---> Running in fb8594fdf2cb [2020-09-22T18:52:23.953Z] Removing intermediate container fb8594fdf2cb [2020-09-22T18:52:23.953Z] ---> bc3716c70186 [2020-09-22T18:52:23.953Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-22T18:52:23.953Z] ---> Running in f7eea0d64c94 [2020-09-22T18:52:24.552Z] Removing intermediate container f7eea0d64c94 [2020-09-22T18:52:24.552Z] ---> 362de072956b [2020-09-22T18:52:24.552Z] Step 22/24 : LABEL arch=arm64 [2020-09-22T18:52:24.552Z] ---> Running in 13a79c0c1c8c [2020-09-22T18:52:24.828Z] Removing intermediate container 13a79c0c1c8c [2020-09-22T18:52:24.828Z] ---> 50f8b1632d3a [2020-09-22T18:52:24.828Z] Step 23/24 : LABEL git_sha=d83cde1ab903c92822cfedd3d62aa000db75e289 [2020-09-22T18:52:25.107Z] ---> Running in afe8331f2939 [2020-09-22T18:52:25.703Z] Removing intermediate container afe8331f2939 [2020-09-22T18:52:25.703Z] ---> d9af9fd34899 [2020-09-22T18:52:25.703Z] Step 24/24 : LABEL version=0.0.0 [2020-09-22T18:52:25.703Z] ---> Running in 988d1f39cd7a [2020-09-22T18:52:26.302Z] Removing intermediate container 988d1f39cd7a [2020-09-22T18:52:26.302Z] ---> 0eaa0a22a428 [2020-09-22T18:52:26.302Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-22T18:52:26.302Z] Successfully built 0eaa0a22a428 [2020-09-22T18:52:26.302Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-09-22T18:52:28.383Z] provisioning config files... [2020-09-22T18:52:28.396Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config6670551364695486659tmp [Pipeline] { [Pipeline] sh [2020-09-22T18:52:28.779Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config6670551364695486659tmp [2020-09-22T18:52:28.779Z] + curl -s https://codecov.io/bash [Pipeline] } [2020-09-22T18:52:30.711Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-09-22T18:52:33.352Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T18:52:33.918Z] ---> package-listing.sh [2020-09-22T18:52:33.918Z] ++ facter osfamily [2020-09-22T18:52:33.918Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-22T18:52:33.918Z] + OS_FAMILY=redhat [2020-09-22T18:52:33.918Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-584 [2020-09-22T18:52:33.918Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-22T18:52:33.918Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-22T18:52:33.918Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-22T18:52:33.918Z] + PACKAGES=/tmp/packages_start.txt [2020-09-22T18:52:33.918Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' [2020-09-22T18:52:33.918Z] + PACKAGES=/tmp/packages_end.txt [2020-09-22T18:52:33.918Z] + case "${OS_FAMILY}" in [2020-09-22T18:52:33.918Z] + rpm -qa [2020-09-22T18:52:33.918Z] + sort [2020-09-22T18:52:38.140Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-22T18:52:38.140Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-22T18:52:38.140Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-22T18:52:38.140Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' [2020-09-22T18:52:38.140Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ [2020-09-22T18:52:38.140Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:52:38.636Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T18:52:38.636Z] [2020-09-22T18:52:38.636Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:52:38.986Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T18:52:38.986Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-22T18:52:38.986Z] df20fa9351a1: Pulling fs layer [2020-09-22T18:52:38.986Z] 36b3adc4ff6f: Pulling fs layer [2020-09-22T18:52:38.986Z] 8ad3a11d3b57: Pulling fs layer [2020-09-22T18:52:38.986Z] 46f8f816bc3b: Pulling fs layer [2020-09-22T18:52:38.986Z] 0dadc02b9964: Pulling fs layer [2020-09-22T18:52:38.986Z] ce6a7cf60c04: Pulling fs layer [2020-09-22T18:52:38.986Z] 7a184a31f384: Pulling fs layer [2020-09-22T18:52:38.986Z] 0879bd2ef858: Pulling fs layer [2020-09-22T18:52:38.986Z] 0dadc02b9964: Waiting [2020-09-22T18:52:38.986Z] ce6a7cf60c04: Waiting [2020-09-22T18:52:38.986Z] 7a184a31f384: Waiting [2020-09-22T18:52:38.986Z] 0879bd2ef858: Waiting [2020-09-22T18:52:38.986Z] 46f8f816bc3b: Waiting [2020-09-22T18:52:38.986Z] 36b3adc4ff6f: Download complete [2020-09-22T18:52:38.986Z] 46f8f816bc3b: Verifying Checksum [2020-09-22T18:52:38.986Z] 46f8f816bc3b: Download complete [2020-09-22T18:52:38.986Z] df20fa9351a1: Verifying Checksum [2020-09-22T18:52:38.986Z] df20fa9351a1: Download complete [2020-09-22T18:52:39.255Z] ce6a7cf60c04: Verifying Checksum [2020-09-22T18:52:39.255Z] ce6a7cf60c04: Download complete [2020-09-22T18:52:39.255Z] 7a184a31f384: Verifying Checksum [2020-09-22T18:52:39.255Z] 7a184a31f384: Download complete [2020-09-22T18:52:39.255Z] 0dadc02b9964: Verifying Checksum [2020-09-22T18:52:39.255Z] 0dadc02b9964: Download complete [2020-09-22T18:52:39.522Z] df20fa9351a1: Pull complete [2020-09-22T18:52:39.522Z] 8ad3a11d3b57: Verifying Checksum [2020-09-22T18:52:39.522Z] 8ad3a11d3b57: Download complete [2020-09-22T18:52:39.522Z] 36b3adc4ff6f: Pull complete [2020-09-22T18:52:39.787Z] 0879bd2ef858: Verifying Checksum [2020-09-22T18:52:39.788Z] 0879bd2ef858: Download complete [2020-09-22T18:52:40.050Z] 8ad3a11d3b57: Pull complete [2020-09-22T18:52:40.312Z] 46f8f816bc3b: Pull complete [2020-09-22T18:52:40.574Z] 0dadc02b9964: Pull complete [2020-09-22T18:52:40.836Z] ce6a7cf60c04: Pull complete [2020-09-22T18:52:40.836Z] 7a184a31f384: Pull complete [2020-09-22T18:52:43.413Z] 0879bd2ef858: Pull complete [2020-09-22T18:52:43.413Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-22T18:52:43.413Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T18:52:43.413Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-22T18:52:43.578Z] prd-centos7-docker-4c-2g-907 does not seem to be running inside a container [2020-09-22T18:52:43.638Z] $ 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-584 -v /w/workspace/dgexfoundry_device-sdk-go_PR-584:/w/workspace/dgexfoundry_device-sdk-go_PR-584:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-22T18:52:48.493Z] $ docker top d2df6e4dffdcaf126e61f07205a78f5d24c822cda4426b33fe268e9079e516f6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T18:52:49.042Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-22T18:52:49.357Z] + ls /var/log/sa-host [2020-09-22T18:52:49.357Z] + sadf -c /var/log/sa-host/sa05 [2020-09-22T18:52:49.357Z] file_magic: OK [2020-09-22T18:52:49.357Z] HZ: Using current value: 100 [2020-09-22T18:52:49.357Z] file_header: OK [2020-09-22T18:52:49.357Z] 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:52:49.357Z] Statistics: [2020-09-22T18:52:49.357Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-22T18:52:49.357Z] File successfully converted to sysstat format version 12.2.1 [2020-09-22T18:52:49.357Z] + sadf -c /var/log/sa-host/sa22 [2020-09-22T18:52:49.357Z] file_magic: OK [2020-09-22T18:52:49.357Z] HZ: Using current value: 100 [2020-09-22T18:52:49.357Z] file_header: OK [2020-09-22T18:52:49.357Z] 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:52:49.357Z] Statistics: [2020-09-22T18:52:49.357Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-22T18:52:49.357Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-22T18:52:49.433Z] provisioning config files... [2020-09-22T18:52:49.454Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config410677579311845197tmp [Pipeline] { [Pipeline] echo [2020-09-22T18:52:49.539Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T18:52:49.844Z] ---> create-netrc.sh [Pipeline] echo [2020-09-22T18:52:49.855Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T18:52:50.154Z] ---> logs-deploy.sh [2020-09-22T18:52:50.155Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-584/9 [2020-09-22T18:52:50.155Z] INFO: archiving workspace using pattern(s): [2020-09-22T18:52:51.550Z] Archives upload complete. [2020-09-22T18:52:51.550Z] INFO: archiving logs to Nexus