Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 81b72cb1c14b119a0974622c0a4aa5a2897d132f+0916c9033c71b8931055140091788f6fe2f32c33 (a3d9cb5d53462a0fefd14163954f2999b1d01bcd) 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-581’ Running on prd-centos7-docker-4c-2g-589 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [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-571 # 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/571/head:refs/remotes/origin/PR-571 +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/571/head:refs/remotes/origin/PR-571 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 0916c9033c71b8931055140091788f6fe2f32c33 into PR head commit 81b72cb1c14b119a0974622c0a4aa5a2897d132f Merge succeeded, producing bb628e6b62a6c7267a6e37c8e32c90014d17b516 Checking out Revision bb628e6b62a6c7267a6e37c8e32c90014d17b516 (PR-571) > 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/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 81b72cb1c14b119a0974622c0a4aa5a2897d132f # 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 0916c9033c71b8931055140091788f6fe2f32c33 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bb628e6b62a6c7267a6e37c8e32c90014d17b516 # timeout=10 Commit message: "Merge commit '0916c9033c71b8931055140091788f6fe2f32c33' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 50bdc8a8df699f51610fa3e77dacd07c040d0337 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-20T18:46:19.443Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-20T18:46:19.719Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-20T18:46:19.844Z] ========================================================= [2020-09-20T18:46:19.845Z] EdgeX Global Pipelines Version Info [2020-09-20T18:46:19.845Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-20T18:46:26.027Z] ------------------- [2020-09-20T18:46:26.027Z] stable info: [2020-09-20T18:46:26.027Z] ------------------- [2020-09-20T18:46:26.027Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-20T18:46:26.027Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-20T18:46:26.027Z] Message: update stable to v1.0.122 [2020-09-20T18:46:27.688Z] ------------------- [2020-09-20T18:46:27.688Z] experimental info: [2020-09-20T18:46:27.688Z] ------------------- [2020-09-20T18:46:27.688Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-20T18:46:27.688Z] Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 [2020-09-20T18:46:27.688Z] Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-20T18:46:28.108Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-20T18:46:28.200Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-20T18:46:28.292Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-20T18:46:28.387Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-20T18:46:28.725Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-20T18:46:28.828Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-20T18:46:28.917Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-20T18:46:29.089Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-20T18:46:29.189Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-20T18:46:29.280Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-20T18:46:29.376Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-20T18:46:29.470Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-20T18:46:29.567Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-20T18:46:29.655Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-20T18:46:29.749Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-20T18:46:29.839Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-20T18:46:29.931Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-20T18:46:30.066Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-20T18:46:30.218Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-20T18:46:30.364Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-20T18:46:30.519Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-20T18:46:30.624Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-20T18:46:30.773Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-571 [Pipeline] echo [2020-09-20T18:46:30.910Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-571 [Pipeline] echo [2020-09-20T18:46:31.020Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-571 [Pipeline] echo [2020-09-20T18:46:31.133Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bb628e6b62a6c7267a6e37c8e32c90014d17b516 [Pipeline] echo [2020-09-20T18:46:31.229Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bb628e6 [Pipeline] echo [2020-09-20T18:46:31.366Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-20T18:46:32.059Z] + git log --format=format:%s -1 bb628e6b62a6c7267a6e37c8e32c90014d17b516 [Pipeline] echo [2020-09-20T18:46:32.654Z] GIT_COMMIT: bb628e6b62a6c7267a6e37c8e32c90014d17b516, Commit Message: Merge commit '0916c9033c71b8931055140091788f6fe2f32c33' into HEAD [Pipeline] echo [2020-09-20T18:46:32.740Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:46:33.797Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-20T18:46:36.334Z] [2020-09-20T18:46:36.334Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:46:36.913Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-20T18:46:37.629Z] latest: Pulling from edgex-devops/git-semver [2020-09-20T18:46:37.629Z] 31603596830f: Pulling fs layer [2020-09-20T18:46:37.629Z] 2a8b12db71e7: Pulling fs layer [2020-09-20T18:46:37.629Z] 6ca5941a6612: Pulling fs layer [2020-09-20T18:46:37.629Z] ecc8261a40a4: Pulling fs layer [2020-09-20T18:46:37.629Z] ecc8261a40a4: Waiting [2020-09-20T18:46:37.629Z] 2a8b12db71e7: Verifying Checksum [2020-09-20T18:46:37.629Z] 2a8b12db71e7: Download complete [2020-09-20T18:46:38.053Z] 31603596830f: Verifying Checksum [2020-09-20T18:46:38.053Z] 31603596830f: Download complete [2020-09-20T18:46:39.583Z] ecc8261a40a4: Verifying Checksum [2020-09-20T18:46:39.583Z] ecc8261a40a4: Download complete [2020-09-20T18:46:39.583Z] 6ca5941a6612: Verifying Checksum [2020-09-20T18:46:39.583Z] 6ca5941a6612: Download complete [2020-09-20T18:46:39.964Z] 31603596830f: Pull complete [2020-09-20T18:46:41.490Z] 2a8b12db71e7: Pull complete [2020-09-20T18:46:45.937Z] 6ca5941a6612: Pull complete [2020-09-20T18:46:46.599Z] ecc8261a40a4: Pull complete [2020-09-20T18:46:46.599Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-20T18:46:46.599Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-20T18:46:46.599Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-20T18:46:46.952Z] prd-centos7-docker-4c-2g-589 does not seem to be running inside a container [2020-09-20T18:46:47.329Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-571 -v /w/workspace/dgexfoundry_device-sdk-go_PR-571:/w/workspace/dgexfoundry_device-sdk-go_PR-571:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-20T18:46:49.593Z] $ docker top 4ef0ad1161ba0f09be05d2c3335e5164404735f4e1f2322f1dfc1931f39bf9bc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-20T18:46:50.463Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-20T18:46:50.463Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-20T18:46:51.295Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-20T18:46:51.302Z] $ docker exec 4ef0ad1161ba0f09be05d2c3335e5164404735f4e1f2322f1dfc1931f39bf9bc ssh-agent [2020-09-20T18:46:51.825Z] SSH_AUTH_SOCK=/tmp/ssh-4CPvEwUwd3hv/agent.12 [2020-09-20T18:46:51.825Z] SSH_AGENT_PID=17 [2020-09-20T18:46:51.857Z] Running ssh-add (command line suppressed) [2020-09-20T18:46:52.306Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_4856666610499897033.key (/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_4856666610499897033.key) [2020-09-20T18:46:52.559Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-20T18:46:53.006Z] + git describe --exact-match --tags HEAD [2020-09-20T18:46:53.006Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-20T18:46:53.149Z] $ docker exec --env ******** --env ******** 4ef0ad1161ba0f09be05d2c3335e5164404735f4e1f2322f1dfc1931f39bf9bc ssh-agent -k [2020-09-20T18:46:53.484Z] unset SSH_AUTH_SOCK; [2020-09-20T18:46:53.485Z] unset SSH_AGENT_PID; [2020-09-20T18:46:53.485Z] echo Agent pid 17 killed; [2020-09-20T18:46:53.664Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-20T18:46:53.762Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-20T18:46:53.762Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-20T18:46:53.868Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-20T18:46:53.868Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-20T18:46:54.678Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-20T18:46:54.685Z] $ docker exec 4ef0ad1161ba0f09be05d2c3335e5164404735f4e1f2322f1dfc1931f39bf9bc ssh-agent [2020-09-20T18:46:55.254Z] SSH_AUTH_SOCK=/tmp/ssh-s5OaEJSG0Yyf/agent.45 [2020-09-20T18:46:55.254Z] SSH_AGENT_PID=50 [2020-09-20T18:46:55.352Z] Running ssh-add (command line suppressed) [2020-09-20T18:46:55.759Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_3373472798949519040.key (/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_3373472798949519040.key) [2020-09-20T18:46:55.894Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-20T18:46:56.774Z] + git semver init [2020-09-20T18:46:56.774Z] # -> Open(): unable to determine branch for HEAD [2020-09-20T18:46:56.774Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-571/.git [2020-09-20T18:46:56.774Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-571 [2020-09-20T18:46:56.774Z] # $SEMVER_REMOTE_NAME = origin [2020-09-20T18:46:56.774Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-20T18:46:56.774Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-20T18:46:56.774Z] # $SEMVER_BRANCH = PR-571 [2020-09-20T18:46:56.774Z] # $SEMVER_TEMP = /tmp/semver-993972668 [2020-09-20T18:46:56.774Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-20T18:46:59.225Z] # '/tmp/semver-993972668' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-571/.semver' [2020-09-20T18:46:59.225Z] # -> Force: false [2020-09-20T18:46:59.225Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-571/.semver [Pipeline] } [2020-09-20T18:46:59.270Z] $ docker exec --env ******** --env ******** 4ef0ad1161ba0f09be05d2c3335e5164404735f4e1f2322f1dfc1931f39bf9bc ssh-agent -k [2020-09-20T18:46:59.887Z] unset SSH_AUTH_SOCK; [2020-09-20T18:46:59.933Z] unset SSH_AGENT_PID; [2020-09-20T18:46:59.934Z] echo Agent pid 50 killed; [2020-09-20T18:47:00.064Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-20T18:47:01.165Z] + git semver [Pipeline] } [2020-09-20T18:47:01.223Z] $ docker stop --time=1 4ef0ad1161ba0f09be05d2c3335e5164404735f4e1f2322f1dfc1931f39bf9bc [2020-09-20T18:47:03.757Z] $ docker rm -f 4ef0ad1161ba0f09be05d2c3335e5164404735f4e1f2322f1dfc1931f39bf9bc [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-20T18:47:07.408Z] Stashed 38 file(s) [Pipeline] echo [2020-09-20T18:47:07.411Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-20T18:47:07.498Z] 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-20T18:47:22.913Z] Still waiting to schedule task [2020-09-20T18:47:22.913Z] ‘prd-centos7-docker-4c-2g-590’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-583’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-595’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-09-20T18:47:22.916Z] Still waiting to schedule task [2020-09-20T18:47:22.916Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-20T18:50:04.200Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-601 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] ws [2020-09-20T18:50:04.255Z] Running in /w/workspace/device-sdk-go/13 [Pipeline] { [Pipeline] checkout [2020-09-20T18:50:09.773Z] using credential edgex-jenkins-ssh [2020-09-20T18:50:09.828Z] Cloning the remote Git repository [2020-09-20T18:50:09.828Z] Cloning with configured refspecs honoured and without tags [2020-09-20T18:50:09.899Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-20T18:50:10.024Z] > git init /w/workspace/device-sdk-go/13 # timeout=10 [2020-09-20T18:50:10.104Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-20T18:50:10.104Z] > git --version # timeout=10 [2020-09-20T18:50:10.121Z] > git --version # 'git version 2.17.1' [2020-09-20T18:50:10.123Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-20T18:50:10.216Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-20T18:50:11.198Z] Fetching without tags [2020-09-20T18:50:11.721Z] Merging remotes/origin/master commit 0916c9033c71b8931055140091788f6fe2f32c33 into PR head commit 81b72cb1c14b119a0974622c0a4aa5a2897d132f [2020-09-20T18:50:11.094Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-20T18:50:11.115Z] > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 [2020-09-20T18:50:11.136Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-20T18:50:11.169Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-20T18:50:11.215Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-20T18:50:11.216Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-20T18:50:11.229Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-20T18:50:11.749Z] > git config core.sparsecheckout # timeout=10 [2020-09-20T18:50:11.773Z] > git checkout -f 81b72cb1c14b119a0974622c0a4aa5a2897d132f # timeout=10 [2020-09-20T18:50:12.172Z] Merge succeeded, producing 44928e832fe10f109ceb25d4ad4381d4dcdf2a37 [2020-09-20T18:50:12.173Z] Checking out Revision 44928e832fe10f109ceb25d4ad4381d4dcdf2a37 (PR-571) [2020-09-20T18:50:11.912Z] > git remote # timeout=10 [2020-09-20T18:50:11.940Z] > git config --get remote.origin.url # timeout=10 [2020-09-20T18:50:12.024Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-20T18:50:12.042Z] > git merge 0916c9033c71b8931055140091788f6fe2f32c33 # timeout=10 [2020-09-20T18:50:12.139Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-20T18:50:12.199Z] > git config core.sparsecheckout # timeout=10 [2020-09-20T18:50:12.247Z] > git checkout -f 44928e832fe10f109ceb25d4ad4381d4dcdf2a37 # timeout=10 [2020-09-20T18:50:16.660Z] Commit message: "Merge commit '0916c9033c71b8931055140091788f6fe2f32c33' into HEAD" [2020-09-20T18:50:16.702Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-09-20T18:50:16.676Z] > git rev-list --no-walk 50bdc8a8df699f51610fa3e77dacd07c040d0337 # timeout=10 [Pipeline] echo [2020-09-20T18:50:17.932Z] ========================================================= [2020-09-20T18:50:17.932Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-20T18:50:17.932Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:50:19.229Z] + 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-20T18:50:20.228Z] Sending build context to Docker daemon 3.169MB [2020-09-20T18:50:20.228Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-20T18:50:20.228Z] Step 2/8 : FROM ${BASE} [2020-09-20T18:50:20.829Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-20T18:50:20.829Z] b538f80385f9: Pulling fs layer [2020-09-20T18:50:20.829Z] 74f711af9a0d: Pulling fs layer [2020-09-20T18:50:20.829Z] 99f96fe45779: Pulling fs layer [2020-09-20T18:50:20.829Z] 8529a6b9a6be: Pulling fs layer [2020-09-20T18:50:20.829Z] 45590311c82a: Pulling fs layer [2020-09-20T18:50:20.829Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-20T18:50:20.829Z] 209524e5b208: Pulling fs layer [2020-09-20T18:50:20.829Z] 8529a6b9a6be: Waiting [2020-09-20T18:50:20.829Z] 45590311c82a: Waiting [2020-09-20T18:50:20.829Z] 69ca0ff8b7b3: Waiting [2020-09-20T18:50:20.829Z] 209524e5b208: Waiting [2020-09-20T18:50:20.829Z] 99f96fe45779: Verifying Checksum [2020-09-20T18:50:20.829Z] 99f96fe45779: Download complete [2020-09-20T18:50:20.829Z] 74f711af9a0d: Verifying Checksum [2020-09-20T18:50:20.829Z] 74f711af9a0d: Download complete [2020-09-20T18:50:20.829Z] 45590311c82a: Verifying Checksum [2020-09-20T18:50:20.829Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-20T18:50:20.829Z] 69ca0ff8b7b3: Download complete [2020-09-20T18:50:20.829Z] b538f80385f9: Verifying Checksum [2020-09-20T18:50:20.829Z] b538f80385f9: Download complete [2020-09-20T18:50:21.444Z] b538f80385f9: Pull complete [2020-09-20T18:50:22.050Z] 74f711af9a0d: Pull complete [2020-09-20T18:50:22.652Z] 99f96fe45779: Pull complete [2020-09-20T18:50:23.257Z] 209524e5b208: Verifying Checksum [2020-09-20T18:50:23.257Z] 209524e5b208: Download complete [2020-09-20T18:50:24.711Z] 8529a6b9a6be: Verifying Checksum [2020-09-20T18:50:24.711Z] 8529a6b9a6be: Download complete [2020-09-20T18:50:34.887Z] 8529a6b9a6be: Pull complete [2020-09-20T18:50:34.887Z] 45590311c82a: Pull complete [2020-09-20T18:50:34.887Z] 69ca0ff8b7b3: Pull complete [2020-09-20T18:50:38.291Z] 209524e5b208: Pull complete [2020-09-20T18:50:38.291Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-20T18:50:38.291Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-20T18:50:38.291Z] ---> 5bddaf1c2fca [2020-09-20T18:50:38.291Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-20T18:50:41.699Z] ---> Running in 970796d786ab [2020-09-20T18:50:42.301Z] Removing intermediate container 970796d786ab [2020-09-20T18:50:42.301Z] ---> 95dfedf7890f [2020-09-20T18:50:42.301Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-20T18:50:42.301Z] ---> Running in 2f85d24d6b2a [2020-09-20T18:50:45.699Z] Removing intermediate container 2f85d24d6b2a [2020-09-20T18:50:45.699Z] ---> 1c5ee8e88f3c [2020-09-20T18:50:45.699Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-20T18:50:45.699Z] ---> Running in c34319b5e67a [2020-09-20T18:50:46.677Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-20T18:50:47.656Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-20T18:50:48.249Z] OK: 142 MiB in 39 packages [2020-09-20T18:50:49.683Z] Removing intermediate container c34319b5e67a [2020-09-20T18:50:49.683Z] ---> 26a846477244 [2020-09-20T18:50:49.683Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-20T18:50:49.683Z] ---> Running in d9f517e0e644 [2020-09-20T18:50:50.290Z] Removing intermediate container d9f517e0e644 [2020-09-20T18:50:50.290Z] ---> 5f35145e2707 [2020-09-20T18:50:50.290Z] Step 7/8 : COPY . . [2020-09-20T18:50:51.732Z] ---> 578a891faac9 [2020-09-20T18:50:51.732Z] Step 8/8 : RUN go mod download [2020-09-20T18:50:51.732Z] ---> Running in 6c59913defa4 [2020-09-20T18:51:06.831Z] Removing intermediate container 6c59913defa4 [2020-09-20T18:51:06.831Z] ---> 422885a6aea2 [2020-09-20T18:51:06.831Z] Successfully built 422885a6aea2 [2020-09-20T18:51:06.831Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:51:07.251Z] + docker inspect -f . ci-base-image-arm64 [2020-09-20T18:51:07.251Z] . [Pipeline] withDockerContainer [2020-09-20T18:51:07.548Z] prd-ubuntu18.04-docker-arm64-4c-16g-601 does not seem to be running inside a container [2020-09-20T18:51:07.641Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-20T18:51:09.683Z] $ docker top 5b5be9e82e67c352b416aedd5e544ff7a8e7d4577b3b2e98605567576db9a21a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-20T18:51:11.187Z] + go version [2020-09-20T18:51:11.187Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-20T18:51:11.215Z] $ docker stop --time=1 5b5be9e82e67c352b416aedd5e544ff7a8e7d4577b3b2e98605567576db9a21a [2020-09-20T18:51:13.279Z] $ docker rm -f 5b5be9e82e67c352b416aedd5e544ff7a8e7d4577b3b2e98605567576db9a21a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:51:14.319Z] + docker inspect -f . ci-base-image-arm64 [2020-09-20T18:51:14.319Z] . [Pipeline] withDockerContainer [2020-09-20T18:51:14.604Z] prd-ubuntu18.04-docker-arm64-4c-16g-601 does not seem to be running inside a container [2020-09-20T18:51:14.696Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-20T18:51:16.717Z] $ docker top 2183a34f704438f290fb03093dac9ecea57f01407878f395078826824fc65880 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-20T18:51:18.173Z] + make test [2020-09-20T18:51:18.173Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-20T18:51:45.062Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-20T18:52:24.122Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-20T18:52:24.122Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-20T18:52:24.122Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-20T18:52:24.122Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.063s coverage: 20.8% of statements [2020-09-20T18:52:26.119Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.251s coverage: 97.1% of statements [2020-09-20T18:52:58.504Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.088s coverage: 9.4% of statements [2020-09-20T18:52:58.504Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.052s coverage: 21.9% of statements [2020-09-20T18:52:58.504Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-20T18:52:58.504Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.519s coverage: 37.0% of statements [2020-09-20T18:52:58.504Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-20T18:52:58.504Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.752s coverage: 65.4% of statements [2020-09-20T18:52:58.505Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-20T18:52:58.505Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-20T18:52:58.505Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-20T18:52:58.505Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.111s coverage: 52.6% of statements [2020-09-20T18:52:58.505Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.154s coverage: 68.9% of statements [2020-09-20T18:52:58.505Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-20T18:52:58.505Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-20T18:52:58.505Z] GO111MODULE=on go vet ./... [2020-09-20T18:53:25.346Z] gofmt -l . [2020-09-20T18:53:25.346Z] [ "`gofmt -l .`" = "" ] [2020-09-20T18:53:25.346Z] ./bin/test-attribution-txt.sh [2020-09-20T18:53:25.346Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-20T18:53:26.320Z] Stashed 1 file(s) [Pipeline] } [2020-09-20T18:53:26.339Z] $ docker stop --time=1 2183a34f704438f290fb03093dac9ecea57f01407878f395078826824fc65880 [2020-09-20T18:53:28.666Z] $ docker rm -f 2183a34f704438f290fb03093dac9ecea57f01407878f395078826824fc65880 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-20T18:53:30.724Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-20T18:53:31.141Z] + ls -al . [2020-09-20T18:53:31.141Z] total 228 [2020-09-20T18:53:31.141Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 18:53 . [2020-09-20T18:53:31.141Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 18:50 .. [2020-09-20T18:53:31.141Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 18:50 .dockerignore [2020-09-20T18:53:31.141Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 18:50 .git [2020-09-20T18:53:31.141Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 18:50 .github [2020-09-20T18:53:31.141Z] -rw-rw-r-- 1 jenkins jenkins 138 Sep 20 18:50 .gitignore [2020-09-20T18:53:31.141Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 18:50 .semver [2020-09-20T18:53:31.141Z] -rw-rw-r-- 1 jenkins jenkins 936 Sep 20 18:50 Dockerfile.build [2020-09-20T18:53:31.141Z] -rw-rw-r-- 1 jenkins jenkins 785 Sep 20 18:50 Jenkinsfile [2020-09-20T18:53:31.141Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 18:50 LICENSE [2020-09-20T18:53:31.141Z] -rw-rw-r-- 1 jenkins jenkins 1013 Sep 20 18:50 Makefile [2020-09-20T18:53:31.141Z] -rw-rw-r-- 1 jenkins jenkins 5897 Sep 20 18:50 README.md [2020-09-20T18:53:31.141Z] -rw-rw-r-- 1 jenkins jenkins 4291 Sep 20 18:50 RELEASE-NOTES.txt [2020-09-20T18:53:31.141Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 18:47 VERSION [2020-09-20T18:53:31.141Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 18:50 bin [2020-09-20T18:53:31.141Z] -rw-r--r-- 1 jenkins jenkins 111033 Sep 20 18:52 coverage.out [2020-09-20T18:53:31.141Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 18:50 example [2020-09-20T18:53:31.141Z] -rw-r--r-- 1 jenkins jenkins 446 Sep 20 18:53 go.mod [2020-09-20T18:53:31.141Z] -rw-r--r-- 1 jenkins jenkins 12179 Sep 20 18:53 go.sum [2020-09-20T18:53:31.141Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 20 18:50 internal [2020-09-20T18:53:31.141Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 18:50 openapi [2020-09-20T18:53:31.141Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 18:50 pkg [2020-09-20T18:53:31.141Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 18:50 snap [2020-09-20T18:53:31.141Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 18:50 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:53:31.487Z] + 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=bb628e6b62a6c7267a6e37c8e32c90014d17b516 --label arch=arm64 --label version=0.0.0 . [2020-09-20T18:53:32.109Z] Sending build context to Docker daemon 3.281MB [2020-09-20T18:53:32.109Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-20T18:53:32.109Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-20T18:53:32.109Z] ---> 422885a6aea2 [2020-09-20T18:53:32.109Z] Step 3/24 : ARG MAKE='make build' [2020-09-20T18:53:32.384Z] ---> Running in 10e24e2e9501 [2020-09-20T18:53:32.981Z] Removing intermediate container 10e24e2e9501 [2020-09-20T18:53:32.981Z] ---> 333863b81650 [2020-09-20T18:53:32.981Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-20T18:53:32.981Z] ---> Running in ad7df053fbcb [2020-09-20T18:53:33.579Z] Removing intermediate container ad7df053fbcb [2020-09-20T18:53:33.579Z] ---> 073fdb6b7d08 [2020-09-20T18:53:33.579Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-20T18:53:33.579Z] ---> Running in 75f0e428fce7 [2020-09-20T18:53:34.176Z] Removing intermediate container 75f0e428fce7 [2020-09-20T18:53:34.176Z] ---> d85a22faf4d5 [2020-09-20T18:53:34.176Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-20T18:53:34.176Z] ---> Running in 875bfd39a113 [2020-09-20T18:53:36.810Z] Removing intermediate container 875bfd39a113 [2020-09-20T18:53:36.810Z] ---> 2cafc6d97569 [2020-09-20T18:53:36.810Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-20T18:53:37.088Z] ---> Running in 70542d26846b [2020-09-20T18:53:38.523Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-20T18:53:39.118Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-20T18:53:39.536Z] Running on prd-centos7-docker-4c-2g-603 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] ws [2020-09-20T18:53:39.623Z] Running in /w/workspace/device-sdk-go/13 [Pipeline] { [Pipeline] checkout [2020-09-20T18:53:40.122Z] OK: 142 MiB in 39 packages [2020-09-20T18:53:41.116Z] Removing intermediate container 70542d26846b [2020-09-20T18:53:41.116Z] ---> b91d43ee13c8 [2020-09-20T18:53:41.116Z] Step 8/24 : COPY . . [2020-09-20T18:53:42.107Z] using credential edgex-jenkins-ssh [2020-09-20T18:53:42.169Z] Cloning the remote Git repository [2020-09-20T18:53:42.169Z] Cloning with configured refspecs honoured and without tags [2020-09-20T18:53:42.193Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-20T18:53:42.561Z] ---> 0271345a7174 [2020-09-20T18:53:42.561Z] Step 9/24 : RUN ${MAKE} [2020-09-20T18:53:42.843Z] ---> Running in 56c9f35d2161 [2020-09-20T18:53:42.262Z] > git init /w/workspace/device-sdk-go/13 # timeout=10 [2020-09-20T18:53:42.845Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-20T18:53:42.845Z] > git --version # timeout=10 [2020-09-20T18:53:42.855Z] > git --version # 'git version 2.16.5' [2020-09-20T18:53:42.856Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-20T18:53:42.891Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-20T18:53:43.616Z] Fetching without tags [2020-09-20T18:53:43.996Z] Merging remotes/origin/master commit 0916c9033c71b8931055140091788f6fe2f32c33 into PR head commit 81b72cb1c14b119a0974622c0a4aa5a2897d132f [2020-09-20T18:53:44.100Z] Merge succeeded, producing cc1b70a397b93909ef823dd314d6c3262f20932a [2020-09-20T18:53:44.101Z] Checking out Revision cc1b70a397b93909ef823dd314d6c3262f20932a (PR-571) [2020-09-20T18:53:44.319Z] 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-20T18:53:43.587Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-20T18:53:43.595Z] > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 [2020-09-20T18:53:43.600Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-20T18:53:43.609Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-20T18:53:43.620Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-20T18:53:43.620Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-20T18:53:43.624Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-20T18:53:44.004Z] > git config core.sparsecheckout # timeout=10 [2020-09-20T18:53:44.009Z] > git checkout -f 81b72cb1c14b119a0974622c0a4aa5a2897d132f # timeout=10 [2020-09-20T18:53:44.051Z] > git remote # timeout=10 [2020-09-20T18:53:44.058Z] > git config --get remote.origin.url # timeout=10 [2020-09-20T18:53:44.063Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-20T18:53:44.066Z] > git merge 0916c9033c71b8931055140091788f6fe2f32c33 # timeout=10 [2020-09-20T18:53:44.094Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-20T18:53:44.103Z] > git config core.sparsecheckout # timeout=10 [2020-09-20T18:53:44.107Z] > git checkout -f cc1b70a397b93909ef823dd314d6c3262f20932a # timeout=10 [2020-09-20T18:53:47.742Z] Commit message: "Merge commit '0916c9033c71b8931055140091788f6fe2f32c33' into HEAD" [2020-09-20T18:53:47.754Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2020-09-20T18:53:47.745Z] > git rev-list --no-walk 50bdc8a8df699f51610fa3e77dacd07c040d0337 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-20T18:53:48.702Z] ========================================================= [2020-09-20T18:53:48.703Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-20T18:53:48.703Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:53:49.471Z] + 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-20T18:53:49.783Z] Sending build context to Docker daemon 3.171MB [2020-09-20T18:53:49.783Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-20T18:53:49.783Z] Step 2/8 : FROM ${BASE} [2020-09-20T18:53:49.783Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-20T18:53:49.783Z] df20fa9351a1: Pulling fs layer [2020-09-20T18:53:49.783Z] ed8968b2872e: Pulling fs layer [2020-09-20T18:53:49.783Z] a92cc7c5fd73: Pulling fs layer [2020-09-20T18:53:49.783Z] e871e8e8d7a9: Pulling fs layer [2020-09-20T18:53:49.783Z] e73272ec9a57: Pulling fs layer [2020-09-20T18:53:49.783Z] 1e910a182e73: Pulling fs layer [2020-09-20T18:53:49.784Z] 4e634b169226: Pulling fs layer [2020-09-20T18:53:49.784Z] e73272ec9a57: Waiting [2020-09-20T18:53:49.784Z] 1e910a182e73: Waiting [2020-09-20T18:53:49.784Z] 4e634b169226: Waiting [2020-09-20T18:53:49.784Z] e871e8e8d7a9: Waiting [2020-09-20T18:53:49.784Z] a92cc7c5fd73: Verifying Checksum [2020-09-20T18:53:49.784Z] a92cc7c5fd73: Download complete [2020-09-20T18:53:49.784Z] ed8968b2872e: Verifying Checksum [2020-09-20T18:53:49.784Z] ed8968b2872e: Download complete [2020-09-20T18:53:49.784Z] e73272ec9a57: Verifying Checksum [2020-09-20T18:53:49.784Z] e73272ec9a57: Download complete [2020-09-20T18:53:49.784Z] 1e910a182e73: Verifying Checksum [2020-09-20T18:53:49.784Z] 1e910a182e73: Download complete [2020-09-20T18:53:49.784Z] df20fa9351a1: Download complete [2020-09-20T18:53:50.049Z] df20fa9351a1: Pull complete [2020-09-20T18:53:50.314Z] ed8968b2872e: Pull complete [2020-09-20T18:53:50.314Z] a92cc7c5fd73: Pull complete [2020-09-20T18:53:52.236Z] 4e634b169226: Verifying Checksum [2020-09-20T18:53:52.236Z] 4e634b169226: Download complete [2020-09-20T18:53:52.810Z] e871e8e8d7a9: Verifying Checksum [2020-09-20T18:53:52.810Z] e871e8e8d7a9: Download complete [2020-09-20T18:53:58.118Z] e871e8e8d7a9: Pull complete [2020-09-20T18:53:58.119Z] e73272ec9a57: Pull complete [2020-09-20T18:53:58.119Z] 1e910a182e73: Pull complete [2020-09-20T18:54:03.430Z] 4e634b169226: Pull complete [2020-09-20T18:54:03.430Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-20T18:54:03.692Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-20T18:54:03.692Z] ---> f7629b54cfaa [2020-09-20T18:54:03.692Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-20T18:54:03.954Z] ---> Running in 3d6c027f8603 [2020-09-20T18:54:03.955Z] Removing intermediate container 3d6c027f8603 [2020-09-20T18:54:03.955Z] ---> 439c09ff41c1 [2020-09-20T18:54:03.955Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-20T18:54:04.218Z] ---> Running in 3b2c54eaca91 [2020-09-20T18:54:05.619Z] Removing intermediate container 3b2c54eaca91 [2020-09-20T18:54:05.619Z] ---> 39ed1450f223 [2020-09-20T18:54:05.619Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-20T18:54:05.619Z] ---> Running in 16842026c26c [2020-09-20T18:54:06.196Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-20T18:54:06.594Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-20T18:54:06.768Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-20T18:54:07.340Z] OK: 166 MiB in 39 packages [2020-09-20T18:54:07.601Z] Removing intermediate container 16842026c26c [2020-09-20T18:54:07.601Z] ---> 6bd003d996f9 [2020-09-20T18:54:07.601Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-20T18:54:07.861Z] ---> Running in c9b03bd47e7b [2020-09-20T18:54:07.861Z] Removing intermediate container c9b03bd47e7b [2020-09-20T18:54:07.861Z] ---> 474e0b852349 [2020-09-20T18:54:07.861Z] Step 7/8 : COPY . . [2020-09-20T18:54:08.573Z] Removing intermediate container 56c9f35d2161 [2020-09-20T18:54:08.573Z] ---> dd368a905ff8 [2020-09-20T18:54:08.573Z] Step 10/24 : FROM scratch [2020-09-20T18:54:08.573Z] ---> [2020-09-20T18:54:08.573Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-20T18:54:08.847Z] ---> Running in f2e92db88926 [2020-09-20T18:54:09.147Z] Removing intermediate container f2e92db88926 [2020-09-20T18:54:09.147Z] ---> 6b7f8bd42fd2 [2020-09-20T18:54:09.147Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-20T18:54:09.147Z] ---> Running in 78461970ebda [2020-09-20T18:54:09.249Z] ---> 652849214b00 [2020-09-20T18:54:09.249Z] Step 8/8 : RUN go mod download [2020-09-20T18:54:09.249Z] ---> Running in 1547e59e108b [2020-09-20T18:54:09.746Z] Removing intermediate container 78461970ebda [2020-09-20T18:54:09.746Z] ---> 69dba7b64ad4 [2020-09-20T18:54:09.746Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-20T18:54:09.746Z] ---> Running in 1f49f5d36fdc [2020-09-20T18:54:10.341Z] Removing intermediate container 1f49f5d36fdc [2020-09-20T18:54:10.341Z] ---> 87b998466054 [2020-09-20T18:54:10.341Z] Step 14/24 : WORKDIR / [2020-09-20T18:54:10.341Z] ---> Running in ae82bc626e93 [2020-09-20T18:54:10.945Z] Removing intermediate container ae82bc626e93 [2020-09-20T18:54:10.945Z] ---> 65762160cd6a [2020-09-20T18:54:10.945Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-20T18:54:11.922Z] ---> 9cc1b88caad4 [2020-09-20T18:54:11.922Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-20T18:54:12.901Z] ---> 69c3ba80d043 [2020-09-20T18:54:12.901Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-20T18:54:13.496Z] ---> b7c39dfab964 [2020-09-20T18:54:13.496Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-20T18:54:14.099Z] ---> d24c46fa2688 [2020-09-20T18:54:14.099Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-20T18:54:15.083Z] ---> e80708718e38 [2020-09-20T18:54:15.083Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-20T18:54:15.083Z] ---> Running in 724c7d4daf76 [2020-09-20T18:54:15.679Z] Removing intermediate container 724c7d4daf76 [2020-09-20T18:54:15.679Z] ---> df00dc6006ac [2020-09-20T18:54:15.679Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-20T18:54:15.679Z] ---> Running in 6ca5d611028e [2020-09-20T18:54:16.277Z] Removing intermediate container 6ca5d611028e [2020-09-20T18:54:16.277Z] ---> ae4517b4517d [2020-09-20T18:54:16.277Z] Step 22/24 : LABEL arch=arm64 [2020-09-20T18:54:16.277Z] ---> Running in c628193c81de [2020-09-20T18:54:16.872Z] Removing intermediate container c628193c81de [2020-09-20T18:54:16.872Z] ---> 9a3114a410a1 [2020-09-20T18:54:16.872Z] Step 23/24 : LABEL git_sha=bb628e6b62a6c7267a6e37c8e32c90014d17b516 [2020-09-20T18:54:16.872Z] ---> Running in ebcaee11dd71 [2020-09-20T18:54:17.147Z] Removing intermediate container ebcaee11dd71 [2020-09-20T18:54:17.147Z] ---> 7cb641a82067 [2020-09-20T18:54:17.147Z] Step 24/24 : LABEL version=0.0.0 [2020-09-20T18:54:17.421Z] ---> Running in b38ee3d971da [2020-09-20T18:54:18.014Z] Removing intermediate container b38ee3d971da [2020-09-20T18:54:18.014Z] ---> d948ddd553b3 [2020-09-20T18:54:18.014Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-20T18:54:18.014Z] Successfully built d948ddd553b3 [2020-09-20T18:54:18.014Z] 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] } [2020-09-20T18:54:19.271Z] Removing intermediate container 1547e59e108b [2020-09-20T18:54:19.271Z] ---> ae2f518cd4b3 [2020-09-20T18:54:19.271Z] Successfully built ae2f518cd4b3 [2020-09-20T18:54:19.271Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:54:19.620Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-20T18:54:19.620Z] . [Pipeline] withDockerContainer [2020-09-20T18:54:19.721Z] prd-centos7-docker-4c-2g-603 does not seem to be running inside a container [2020-09-20T18:54:19.766Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-20T18:54:21.061Z] $ docker top 5716a905076a7e376b2dcb6b5a24864327616e8104f7cdcb146c18ec71af236a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-20T18:54:21.594Z] + go version [2020-09-20T18:54:21.594Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-20T18:54:21.608Z] $ docker stop --time=1 5716a905076a7e376b2dcb6b5a24864327616e8104f7cdcb146c18ec71af236a [2020-09-20T18:54:22.919Z] $ docker rm -f 5716a905076a7e376b2dcb6b5a24864327616e8104f7cdcb146c18ec71af236a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:54:23.756Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-20T18:54:23.756Z] . [Pipeline] withDockerContainer [2020-09-20T18:54:23.842Z] prd-centos7-docker-4c-2g-603 does not seem to be running inside a container [2020-09-20T18:54:23.888Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-20T18:54:24.436Z] $ docker top 64b83aeb24b55b5181a141ac48a299cbf7dbb7e29f5ff65371f5c017852b2a5a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-20T18:54:24.924Z] + make test [2020-09-20T18:54:24.924Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-20T18:54:31.563Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-20T18:54:43.867Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-20T18:54:43.867Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-20T18:54:43.867Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-20T18:54:43.867Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.060s coverage: 20.8% of statements [2020-09-20T18:54:44.824Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.404s coverage: 97.1% of statements [2020-09-20T18:55:16.971Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.033s coverage: 9.4% of statements [2020-09-20T18:55:16.971Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.038s coverage: 21.9% of statements [2020-09-20T18:55:16.971Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-20T18:55:16.971Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.186s coverage: 37.0% of statements [2020-09-20T18:55:16.971Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-20T18:55:16.971Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.247s coverage: 65.4% of statements [2020-09-20T18:55:16.971Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-20T18:55:16.971Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-20T18:55:16.971Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-20T18:55:16.971Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.044s coverage: 52.6% of statements [2020-09-20T18:55:16.971Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.723s coverage: 68.9% of statements [2020-09-20T18:55:16.972Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-20T18:55:16.972Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-20T18:55:16.972Z] GO111MODULE=on go vet ./... [2020-09-20T18:55:21.227Z] gofmt -l . [2020-09-20T18:55:21.491Z] [ "`gofmt -l .`" = "" ] [2020-09-20T18:55:21.491Z] ./bin/test-attribution-txt.sh [2020-09-20T18:55:22.067Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-20T18:55:22.343Z] Warning: overwriting stash ‘coverage-report’ [2020-09-20T18:55:22.621Z] Stashed 1 file(s) [Pipeline] } [2020-09-20T18:55:22.627Z] $ docker stop --time=1 64b83aeb24b55b5181a141ac48a299cbf7dbb7e29f5ff65371f5c017852b2a5a [2020-09-20T18:55:24.428Z] $ docker rm -f 64b83aeb24b55b5181a141ac48a299cbf7dbb7e29f5ff65371f5c017852b2a5a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-20T18:55:25.379Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-20T18:55:25.673Z] + ls -al . [2020-09-20T18:55:25.673Z] total 188 [2020-09-20T18:55:25.673Z] drwxrwxr-x. 11 jenkins jenkins 4096 Sep 20 18:55 . [2020-09-20T18:55:25.673Z] drwxrwxr-x. 4 jenkins jenkins 30 Sep 20 18:53 .. [2020-09-20T18:55:25.673Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 20 18:53 bin [2020-09-20T18:55:25.673Z] -rw-r--r--. 1 jenkins jenkins 111033 Sep 20 18:55 coverage.out [2020-09-20T18:55:25.673Z] -rw-rw-r--. 1 jenkins jenkins 936 Sep 20 18:53 Dockerfile.build [2020-09-20T18:55:25.673Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 20 18:53 .dockerignore [2020-09-20T18:55:25.673Z] drwxrwxr-x. 4 jenkins jenkins 48 Sep 20 18:53 example [2020-09-20T18:55:25.673Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 20 18:53 .git [2020-09-20T18:55:25.673Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 20 18:53 .github [2020-09-20T18:55:25.673Z] -rw-rw-r--. 1 jenkins jenkins 138 Sep 20 18:53 .gitignore [2020-09-20T18:55:25.673Z] -rw-r--r--. 1 jenkins jenkins 446 Sep 20 18:55 go.mod [2020-09-20T18:55:25.673Z] -rw-r--r--. 1 jenkins jenkins 12179 Sep 20 18:55 go.sum [2020-09-20T18:55:25.673Z] drwxrwxr-x. 13 jenkins jenkins 184 Sep 20 18:53 internal [2020-09-20T18:55:25.673Z] -rw-rw-r--. 1 jenkins jenkins 785 Sep 20 18:53 Jenkinsfile [2020-09-20T18:55:25.673Z] -rw-rw-r--. 1 jenkins jenkins 11341 Sep 20 18:53 LICENSE [2020-09-20T18:55:25.673Z] -rw-rw-r--. 1 jenkins jenkins 1013 Sep 20 18:53 Makefile [2020-09-20T18:55:25.673Z] drwxrwxr-x. 4 jenkins jenkins 26 Sep 20 18:53 openapi [2020-09-20T18:55:25.673Z] drwxrwxr-x. 5 jenkins jenkins 50 Sep 20 18:53 pkg [2020-09-20T18:55:25.673Z] -rw-rw-r--. 1 jenkins jenkins 5897 Sep 20 18:53 README.md [2020-09-20T18:55:25.673Z] -rw-rw-r--. 1 jenkins jenkins 4291 Sep 20 18:53 RELEASE-NOTES.txt [2020-09-20T18:55:25.673Z] drwxrwxr-x. 3 jenkins jenkins 58 Sep 20 18:53 .semver [2020-09-20T18:55:25.673Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 20 18:53 snap [2020-09-20T18:55:25.673Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 20 18:47 VERSION [2020-09-20T18:55:25.673Z] -rw-rw-r--. 1 jenkins jenkins 222 Sep 20 18:53 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:55:26.007Z] + 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=bb628e6b62a6c7267a6e37c8e32c90014d17b516 --label arch=amd64 --label version=0.0.0 . [2020-09-20T18:55:26.007Z] Sending build context to Docker daemon 3.282MB [2020-09-20T18:55:26.007Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-20T18:55:26.007Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-20T18:55:26.007Z] ---> ae2f518cd4b3 [2020-09-20T18:55:26.007Z] Step 3/24 : ARG MAKE='make build' [2020-09-20T18:55:26.583Z] ---> Running in 389a1552ff32 [2020-09-20T18:55:26.845Z] Removing intermediate container 389a1552ff32 [2020-09-20T18:55:26.845Z] ---> 55c9543c31cf [2020-09-20T18:55:26.845Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-20T18:55:26.845Z] ---> Running in e858d7dd558e [2020-09-20T18:55:27.106Z] Removing intermediate container e858d7dd558e [2020-09-20T18:55:27.106Z] ---> 3eedf00a6d7e [2020-09-20T18:55:27.106Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-20T18:55:27.106Z] ---> Running in bfc046dc3fe7 [2020-09-20T18:55:27.369Z] Removing intermediate container bfc046dc3fe7 [2020-09-20T18:55:27.369Z] ---> 17338702166a [2020-09-20T18:55:27.369Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-20T18:55:27.369Z] ---> Running in 80f9d64e8d6b [2020-09-20T18:55:28.318Z] Removing intermediate container 80f9d64e8d6b [2020-09-20T18:55:28.318Z] ---> b54893fab51f [2020-09-20T18:55:28.318Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-20T18:55:28.318Z] ---> Running in 3991dca76a69 [2020-09-20T18:55:28.580Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-20T18:55:29.152Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-20T18:55:29.724Z] OK: 166 MiB in 39 packages [2020-09-20T18:55:30.298Z] Removing intermediate container 3991dca76a69 [2020-09-20T18:55:30.298Z] ---> eaa9eefc051e [2020-09-20T18:55:30.298Z] Step 8/24 : COPY . . [2020-09-20T18:55:31.250Z] ---> 18eb505f645b [2020-09-20T18:55:31.250Z] Step 9/24 : RUN ${MAKE} [2020-09-20T18:55:31.250Z] ---> Running in 19d7df22ddc1 [2020-09-20T18:55:31.519Z] 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-20T18:55:38.177Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-20T18:55:40.095Z] Removing intermediate container 19d7df22ddc1 [2020-09-20T18:55:40.095Z] ---> 34ace3d57325 [2020-09-20T18:55:40.095Z] Step 10/24 : FROM scratch [2020-09-20T18:55:40.095Z] ---> [2020-09-20T18:55:40.095Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-20T18:55:40.095Z] ---> Running in 1a274dc0f34a [2020-09-20T18:55:40.095Z] Removing intermediate container 1a274dc0f34a [2020-09-20T18:55:40.095Z] ---> cf00a52b517a [2020-09-20T18:55:40.095Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-20T18:55:40.095Z] ---> Running in 413a16cebdf5 [2020-09-20T18:55:40.356Z] Removing intermediate container 413a16cebdf5 [2020-09-20T18:55:40.356Z] ---> 1f519225fc80 [2020-09-20T18:55:40.356Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-20T18:55:40.356Z] ---> Running in 27f1b615a147 [2020-09-20T18:55:40.617Z] Removing intermediate container 27f1b615a147 [2020-09-20T18:55:40.618Z] ---> 8117fa0206da [2020-09-20T18:55:40.618Z] Step 14/24 : WORKDIR / [2020-09-20T18:55:40.618Z] ---> Running in dc2871d0065e [2020-09-20T18:55:40.878Z] Removing intermediate container dc2871d0065e [2020-09-20T18:55:40.878Z] ---> bb5929572ad6 [2020-09-20T18:55:40.878Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-20T18:55:41.139Z] ---> c558e2e7fedb [2020-09-20T18:55:41.139Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-20T18:55:41.400Z] ---> 2ff8603aac04 [2020-09-20T18:55:41.401Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-20T18:55:41.662Z] ---> 15b5f2c5a900 [2020-09-20T18:55:41.662Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-20T18:55:41.923Z] ---> fe1fc7b8187e [2020-09-20T18:55:41.923Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-20T18:55:42.184Z] ---> 22e00614d4f1 [2020-09-20T18:55:42.184Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-20T18:55:42.184Z] ---> Running in cb4f1ad81401 [2020-09-20T18:55:42.446Z] Removing intermediate container cb4f1ad81401 [2020-09-20T18:55:42.446Z] ---> 09c13c5c35da [2020-09-20T18:55:42.446Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-20T18:55:42.446Z] ---> Running in f9c508739f44 [2020-09-20T18:55:42.446Z] Removing intermediate container f9c508739f44 [2020-09-20T18:55:42.446Z] ---> 00283ff77c7b [2020-09-20T18:55:42.446Z] Step 22/24 : LABEL arch=amd64 [2020-09-20T18:55:42.708Z] ---> Running in d64582398dd2 [2020-09-20T18:55:42.708Z] Removing intermediate container d64582398dd2 [2020-09-20T18:55:42.708Z] ---> 7f6aa719a766 [2020-09-20T18:55:42.708Z] Step 23/24 : LABEL git_sha=bb628e6b62a6c7267a6e37c8e32c90014d17b516 [2020-09-20T18:55:42.708Z] ---> Running in 411a2eea1023 [2020-09-20T18:55:42.969Z] Removing intermediate container 411a2eea1023 [2020-09-20T18:55:42.969Z] ---> 4fcb87e9ebde [2020-09-20T18:55:42.969Z] Step 24/24 : LABEL version=0.0.0 [2020-09-20T18:55:42.969Z] ---> Running in 8a4bceec28cb [2020-09-20T18:55:43.230Z] Removing intermediate container 8a4bceec28cb [2020-09-20T18:55:43.230Z] ---> f35c83c32fd5 [2020-09-20T18:55:43.230Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-20T18:55:43.230Z] Successfully built f35c83c32fd5 [2020-09-20T18:55:43.230Z] 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-09-20T18:55:46.396Z] provisioning config files... [2020-09-20T18:55:46.416Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config2183879553944140334tmp [Pipeline] { [Pipeline] sh [2020-09-20T18:55:46.812Z] + curl -s https://codecov.io/bash [2020-09-20T18:55:46.812Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config2183879553944140334tmp [Pipeline] } [2020-09-20T18:55:47.121Z] 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-20T18:55:49.392Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-20T18:55:50.407Z] ---> package-listing.sh [2020-09-20T18:55:50.407Z] ++ facter osfamily [2020-09-20T18:55:50.407Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-20T18:55:50.694Z] + OS_FAMILY=redhat [2020-09-20T18:55:50.694Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-571 [2020-09-20T18:55:50.694Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-20T18:55:50.694Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-20T18:55:50.694Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-20T18:55:50.694Z] + PACKAGES=/tmp/packages_start.txt [2020-09-20T18:55:50.694Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-571 ']' [2020-09-20T18:55:50.694Z] + PACKAGES=/tmp/packages_end.txt [2020-09-20T18:55:50.694Z] + case "${OS_FAMILY}" in [2020-09-20T18:55:50.694Z] + sort [2020-09-20T18:55:50.694Z] + rpm -qa [2020-09-20T18:55:56.191Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-20T18:55:56.191Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-20T18:55:56.191Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-20T18:55:56.191Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-571 ']' [2020-09-20T18:55:56.191Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-571/archives/ [2020-09-20T18:55:56.191Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-571/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:55:57.112Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-20T18:55:57.112Z] [2020-09-20T18:55:57.112Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:55:57.498Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-20T18:55:57.499Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-20T18:55:57.499Z] df20fa9351a1: Pulling fs layer [2020-09-20T18:55:57.499Z] 36b3adc4ff6f: Pulling fs layer [2020-09-20T18:55:57.499Z] 8ad3a11d3b57: Pulling fs layer [2020-09-20T18:55:57.499Z] 46f8f816bc3b: Pulling fs layer [2020-09-20T18:55:57.499Z] 0dadc02b9964: Pulling fs layer [2020-09-20T18:55:57.499Z] ce6a7cf60c04: Pulling fs layer [2020-09-20T18:55:57.499Z] 7a184a31f384: Pulling fs layer [2020-09-20T18:55:57.499Z] 0879bd2ef858: Pulling fs layer [2020-09-20T18:55:57.499Z] 46f8f816bc3b: Waiting [2020-09-20T18:55:57.499Z] 0dadc02b9964: Waiting [2020-09-20T18:55:57.499Z] ce6a7cf60c04: Waiting [2020-09-20T18:55:57.499Z] 7a184a31f384: Waiting [2020-09-20T18:55:57.499Z] 0879bd2ef858: Waiting [2020-09-20T18:55:57.797Z] 36b3adc4ff6f: Verifying Checksum [2020-09-20T18:55:57.797Z] 36b3adc4ff6f: Download complete [2020-09-20T18:55:57.797Z] df20fa9351a1: Verifying Checksum [2020-09-20T18:55:57.797Z] df20fa9351a1: Download complete [2020-09-20T18:55:57.797Z] 46f8f816bc3b: Verifying Checksum [2020-09-20T18:55:57.797Z] 46f8f816bc3b: Download complete [2020-09-20T18:55:57.797Z] ce6a7cf60c04: Verifying Checksum [2020-09-20T18:55:57.797Z] ce6a7cf60c04: Download complete [2020-09-20T18:55:57.797Z] 7a184a31f384: Verifying Checksum [2020-09-20T18:55:57.797Z] 7a184a31f384: Download complete [2020-09-20T18:55:58.414Z] 0dadc02b9964: Verifying Checksum [2020-09-20T18:55:58.414Z] 0dadc02b9964: Download complete [2020-09-20T18:55:58.414Z] 8ad3a11d3b57: Verifying Checksum [2020-09-20T18:55:58.414Z] 8ad3a11d3b57: Download complete [2020-09-20T18:55:58.414Z] df20fa9351a1: Pull complete [2020-09-20T18:55:59.085Z] 36b3adc4ff6f: Pull complete [2020-09-20T18:56:00.193Z] 0879bd2ef858: Verifying Checksum [2020-09-20T18:56:00.193Z] 0879bd2ef858: Download complete [2020-09-20T18:56:00.961Z] 8ad3a11d3b57: Pull complete [2020-09-20T18:56:00.961Z] 46f8f816bc3b: Pull complete [2020-09-20T18:56:01.258Z] 0dadc02b9964: Pull complete [2020-09-20T18:56:01.536Z] ce6a7cf60c04: Pull complete [2020-09-20T18:56:01.536Z] 7a184a31f384: Pull complete [2020-09-20T18:56:06.095Z] 0879bd2ef858: Pull complete [2020-09-20T18:56:06.095Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-20T18:56:06.095Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-20T18:56:06.095Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-20T18:56:06.371Z] prd-centos7-docker-4c-2g-589 does not seem to be running inside a container [2020-09-20T18:56:06.508Z] $ 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-571 -v /w/workspace/dgexfoundry_device-sdk-go_PR-571:/w/workspace/dgexfoundry_device-sdk-go_PR-571:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-20T18:56:13.009Z] $ docker top 42ffb16796b4eadb898ceeeb698c063ae8eb9097b31f822316d67f9b8c1fc25b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-20T18:56:13.698Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-20T18:56:14.133Z] + ls /var/log/sa-host [2020-09-20T18:56:14.133Z] + sadf -c /var/log/sa-host/sa05 [2020-09-20T18:56:14.133Z] file_magic: OK [2020-09-20T18:56:14.133Z] HZ: Using current value: 100 [2020-09-20T18:56:14.133Z] file_header: OK [2020-09-20T18:56:14.133Z] 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-20T18:56:14.133Z] Statistics: [2020-09-20T18:56:14.133Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-20T18:56:14.133Z] File successfully converted to sysstat format version 12.2.1 [2020-09-20T18:56:14.133Z] + sadf -c /var/log/sa-host/sa20 [2020-09-20T18:56:14.133Z] file_magic: OK [2020-09-20T18:56:14.133Z] HZ: Using current value: 100 [2020-09-20T18:56:14.133Z] file_header: OK [2020-09-20T18:56:14.133Z] 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-20T18:56:14.133Z] Statistics: [2020-09-20T18:56:14.133Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-20T18:56:14.133Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-20T18:56:14.233Z] provisioning config files... [2020-09-20T18:56:14.253Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config7943573322647246567tmp [Pipeline] { [Pipeline] echo [2020-09-20T18:56:14.331Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-20T18:56:14.677Z] ---> create-netrc.sh [Pipeline] echo [2020-09-20T18:56:14.690Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-20T18:56:15.122Z] ---> logs-deploy.sh [2020-09-20T18:56:15.122Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-571/13 [2020-09-20T18:56:15.122Z] INFO: archiving workspace using pattern(s): [2020-09-20T18:56:17.732Z] Archives upload complete. [2020-09-20T18:56:17.732Z] INFO: archiving logs to Nexus