Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b548679428654ee0dca8f5b5dc3d7fcaeb119b73+abee7d5846637e135dd277469e99a0143c7ff265 (23016be88cf84d2693230b0796d94a84102c9318) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a2cbe11917bfb8801b6bc99aaa80229564ed4294 # timeout=10 Commit message: "Merge pull request #273 from ernestojeda/fix-semver-dir-permissions" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-5745 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-582 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit abee7d5846637e135dd277469e99a0143c7ff265 into PR head commit b548679428654ee0dca8f5b5dc3d7fcaeb119b73 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b548679428654ee0dca8f5b5dc3d7fcaeb119b73 # 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 abee7d5846637e135dd277469e99a0143c7ff265 # timeout=10 Merge succeeded, producing 3a27b84ade197c4d5a4a25e8bb72f8662eff6c21 Checking out Revision 3a27b84ade197c4d5a4a25e8bb72f8662eff6c21 (PR-582) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3a27b84ade197c4d5a4a25e8bb72f8662eff6c21 # timeout=10 Commit message: "Merge commit 'abee7d5846637e135dd277469e99a0143c7ff265' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 426d968bf27e5cf411a4989117a5992c1c08a42e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-16T02:43:33.210Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-16T02:43:33.576Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-16T02:43:33.671Z] ========================================================= [2020-10-16T02:43:33.671Z] EdgeX Global Pipelines Version Info [2020-10-16T02:43:33.671Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-16T02:43:35.226Z] ------------------- [2020-10-16T02:43:35.226Z] stable info: [2020-10-16T02:43:35.226Z] ------------------- [2020-10-16T02:43:35.226Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-16T02:43:35.226Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-16T02:43:35.226Z] Message: update stable to v1.0.144 [2020-10-16T02:43:36.170Z] ------------------- [2020-10-16T02:43:36.170Z] experimental info: [2020-10-16T02:43:36.170Z] ------------------- [2020-10-16T02:43:36.170Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-16T02:43:36.170Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-16T02:43:36.170Z] Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-16T02:43:36.548Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-16T02:43:36.679Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-16T02:43:36.821Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-16T02:43:36.918Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-16T02:43:37.048Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-16T02:43:37.140Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-16T02:43:37.236Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-16T02:43:37.338Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-16T02:43:37.437Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-16T02:43:37.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-16T02:43:37.646Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-16T02:43:37.761Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-16T02:43:37.872Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-16T02:43:37.967Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-16T02:43:38.059Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-16T02:43:38.157Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T02:43:38.262Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T02:43:38.357Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T02:43:38.566Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-16T02:43:38.673Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-16T02:43:38.847Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-16T02:43:38.940Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-16T02:43:39.092Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-16T02:43:39.184Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-16T02:43:39.277Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-16T02:43:39.372Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-582 [Pipeline] echo [2020-10-16T02:43:39.456Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-582 [Pipeline] echo [2020-10-16T02:43:39.539Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-582 [Pipeline] echo [2020-10-16T02:43:39.625Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3a27b84ade197c4d5a4a25e8bb72f8662eff6c21 [Pipeline] echo [2020-10-16T02:43:39.733Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3a27b84 [Pipeline] echo [2020-10-16T02:43:39.815Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-16T02:43:40.636Z] + git log --format=format:%s -1 3a27b84ade197c4d5a4a25e8bb72f8662eff6c21 [Pipeline] echo [2020-10-16T02:43:40.701Z] GIT_COMMIT: 3a27b84ade197c4d5a4a25e8bb72f8662eff6c21, Commit Message: Merge commit 'abee7d5846637e135dd277469e99a0143c7ff265' into HEAD [Pipeline] echo [2020-10-16T02:43:40.750Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-16T02:43:41.340Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T02:43:41.607Z] [2020-10-16T02:43:41.607Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T02:43:41.966Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T02:43:41.966Z] latest: Pulling from edgex-devops/git-semver [2020-10-16T02:43:41.966Z] 31603596830f: Pulling fs layer [2020-10-16T02:43:41.966Z] 2a8b12db71e7: Pulling fs layer [2020-10-16T02:43:41.966Z] 6ca5941a6612: Pulling fs layer [2020-10-16T02:43:41.966Z] ecc8261a40a4: Pulling fs layer [2020-10-16T02:43:41.966Z] ecc8261a40a4: Waiting [2020-10-16T02:43:41.966Z] 2a8b12db71e7: Verifying Checksum [2020-10-16T02:43:41.966Z] 2a8b12db71e7: Download complete [2020-10-16T02:43:42.237Z] 31603596830f: Verifying Checksum [2020-10-16T02:43:42.237Z] 31603596830f: Download complete [2020-10-16T02:43:42.237Z] ecc8261a40a4: Verifying Checksum [2020-10-16T02:43:42.237Z] ecc8261a40a4: Download complete [2020-10-16T02:43:42.237Z] 6ca5941a6612: Verifying Checksum [2020-10-16T02:43:42.237Z] 6ca5941a6612: Download complete [2020-10-16T02:43:42.500Z] 31603596830f: Pull complete [2020-10-16T02:43:42.500Z] 2a8b12db71e7: Pull complete [2020-10-16T02:43:43.457Z] 6ca5941a6612: Pull complete [2020-10-16T02:43:43.457Z] ecc8261a40a4: Pull complete [2020-10-16T02:43:43.721Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-16T02:43:43.721Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T02:43:43.721Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-16T02:43:43.828Z] prd-centos7-docker-4c-2g-5745 does not seem to be running inside a container [2020-10-16T02:43:43.879Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-582 -v /w/workspace/dgexfoundry_device-sdk-go_PR-582:/w/workspace/dgexfoundry_device-sdk-go_PR-582:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-582@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-16T02:43:45.705Z] $ docker top cf6aef18c40896da94f47c2a4bfd92b6557f758d928fea1e50eab8d14f827cc3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-16T02:43:46.012Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-16T02:43:46.012Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-16T02:43:46.217Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-16T02:43:46.220Z] $ docker exec cf6aef18c40896da94f47c2a4bfd92b6557f758d928fea1e50eab8d14f827cc3 ssh-agent [2020-10-16T02:43:46.379Z] SSH_AUTH_SOCK=/tmp/ssh-zJRsTY5CIELQ/agent.11 [2020-10-16T02:43:46.379Z] SSH_AGENT_PID=16 [2020-10-16T02:43:46.391Z] Running ssh-add (command line suppressed) [2020-10-16T02:43:46.510Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_5130288601212259181.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_5130288601212259181.key) [2020-10-16T02:43:46.565Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-16T02:43:46.901Z] + git tag --points-at HEAD [Pipeline] } [2020-10-16T02:43:46.922Z] $ docker exec --env ******** --env ******** cf6aef18c40896da94f47c2a4bfd92b6557f758d928fea1e50eab8d14f827cc3 ssh-agent -k [2020-10-16T02:43:47.036Z] unset SSH_AUTH_SOCK; [2020-10-16T02:43:47.036Z] unset SSH_AGENT_PID; [2020-10-16T02:43:47.036Z] echo Agent pid 16 killed; [2020-10-16T02:43:47.082Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-16T02:43:47.223Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-16T02:43:47.223Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-16T02:43:47.382Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-16T02:43:47.385Z] $ docker exec cf6aef18c40896da94f47c2a4bfd92b6557f758d928fea1e50eab8d14f827cc3 ssh-agent [2020-10-16T02:43:47.549Z] SSH_AUTH_SOCK=/tmp/ssh-cRp3IQVn515c/agent.45 [2020-10-16T02:43:47.549Z] SSH_AGENT_PID=51 [2020-10-16T02:43:47.556Z] Running ssh-add (command line suppressed) [2020-10-16T02:43:47.677Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_7190412006825610320.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_7190412006825610320.key) [2020-10-16T02:43:47.727Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-16T02:43:48.057Z] + git semver init [2020-10-16T02:43:48.057Z] # -> Open(): unable to determine branch for HEAD [2020-10-16T02:43:48.057Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.git [2020-10-16T02:43:48.057Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-582 [2020-10-16T02:43:48.057Z] # $SEMVER_REMOTE_NAME = origin [2020-10-16T02:43:48.057Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-16T02:43:48.057Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-16T02:43:48.057Z] # $SEMVER_BRANCH = PR-582 [2020-10-16T02:43:48.057Z] # $SEMVER_TEMP = /tmp/semver-186073845 [2020-10-16T02:43:48.057Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-16T02:43:48.629Z] # '/tmp/semver-186073845' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver' [2020-10-16T02:43:48.629Z] # -> Force: false [2020-10-16T02:43:48.629Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver [Pipeline] } [2020-10-16T02:43:48.640Z] $ docker exec --env ******** --env ******** cf6aef18c40896da94f47c2a4bfd92b6557f758d928fea1e50eab8d14f827cc3 ssh-agent -k [2020-10-16T02:43:48.751Z] unset SSH_AUTH_SOCK; [2020-10-16T02:43:48.752Z] unset SSH_AGENT_PID; [2020-10-16T02:43:48.752Z] echo Agent pid 51 killed; [2020-10-16T02:43:48.796Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-16T02:43:49.268Z] + git semver [Pipeline] } [2020-10-16T02:43:49.298Z] $ docker stop --time=1 cf6aef18c40896da94f47c2a4bfd92b6557f758d928fea1e50eab8d14f827cc3 [2020-10-16T02:43:50.659Z] $ docker rm -f cf6aef18c40896da94f47c2a4bfd92b6557f758d928fea1e50eab8d14f827cc3 [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-16T02:43:51.126Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-16T02:43:51.624Z] Stashed 1 file(s) [Pipeline] echo [2020-10-16T02:43:51.627Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-10-16T02:44:07.128Z] Still waiting to schedule task [2020-10-16T02:44:07.128Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-16T02:44:07.131Z] Still waiting to schedule task [2020-10-16T02:44:07.131Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-16T02:45:52.843Z] Running on prd-centos7-docker-4c-2g-5754 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws [2020-10-16T02:45:52.905Z] Running in /w/workspace/device-sdk-go/21 [Pipeline] { [Pipeline] checkout [2020-10-16T02:45:55.816Z] using credential edgex-jenkins-ssh [2020-10-16T02:45:55.876Z] Cloning the remote Git repository [2020-10-16T02:45:55.900Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T02:45:56.021Z] > git init /w/workspace/device-sdk-go/21 # timeout=10 [2020-10-16T02:45:56.071Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T02:45:56.072Z] > git --version # timeout=10 [2020-10-16T02:45:56.080Z] > git --version # 'git version 2.16.5' [2020-10-16T02:45:56.080Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T02:45:56.111Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T02:45:57.227Z] Merging remotes/origin/master commit abee7d5846637e135dd277469e99a0143c7ff265 into PR head commit b548679428654ee0dca8f5b5dc3d7fcaeb119b73 [2020-10-16T02:45:57.331Z] Merge succeeded, producing 73dbff209aad179cc6dc93ce45f7906c0be42404 [2020-10-16T02:45:57.331Z] Checking out Revision 73dbff209aad179cc6dc93ce45f7906c0be42404 (PR-582) [2020-10-16T02:45:56.776Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T02:45:56.781Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T02:45:56.791Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T02:45:56.802Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T02:45:56.802Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T02:45:56.807Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-16T02:45:57.235Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T02:45:57.239Z] > git checkout -f b548679428654ee0dca8f5b5dc3d7fcaeb119b73 # timeout=10 [2020-10-16T02:45:57.281Z] > git remote # timeout=10 [2020-10-16T02:45:57.286Z] > git config --get remote.origin.url # timeout=10 [2020-10-16T02:45:57.293Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T02:45:57.296Z] > git merge abee7d5846637e135dd277469e99a0143c7ff265 # timeout=10 [2020-10-16T02:45:57.325Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-16T02:45:57.333Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T02:45:57.338Z] > git checkout -f 73dbff209aad179cc6dc93ce45f7906c0be42404 # timeout=10 [2020-10-16T02:46:00.886Z] Commit message: "Merge commit 'abee7d5846637e135dd277469e99a0143c7ff265' into HEAD" [2020-10-16T02:46:00.896Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-10-16T02:46:00.889Z] > git rev-list --no-walk 426d968bf27e5cf411a4989117a5992c1c08a42e # timeout=10 [Pipeline] echo [2020-10-16T02:46:01.682Z] ========================================================= [2020-10-16T02:46:01.682Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-16T02:46:01.682Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-16T02:46:02.544Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-10-16T02:46:03.502Z] Sending build context to Docker daemon 2.296MB [2020-10-16T02:46:03.503Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-16T02:46:03.503Z] Step 2/8 : FROM ${BASE} [2020-10-16T02:46:03.763Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-16T02:46:03.763Z] df20fa9351a1: Pulling fs layer [2020-10-16T02:46:03.763Z] ed8968b2872e: Pulling fs layer [2020-10-16T02:46:03.763Z] a92cc7c5fd73: Pulling fs layer [2020-10-16T02:46:03.763Z] e871e8e8d7a9: Pulling fs layer [2020-10-16T02:46:03.763Z] e73272ec9a57: Pulling fs layer [2020-10-16T02:46:03.763Z] 1e910a182e73: Pulling fs layer [2020-10-16T02:46:03.763Z] 4e634b169226: Pulling fs layer [2020-10-16T02:46:03.763Z] e73272ec9a57: Waiting [2020-10-16T02:46:03.763Z] 1e910a182e73: Waiting [2020-10-16T02:46:03.763Z] 4e634b169226: Waiting [2020-10-16T02:46:03.763Z] e871e8e8d7a9: Waiting [2020-10-16T02:46:03.763Z] a92cc7c5fd73: Download complete [2020-10-16T02:46:03.763Z] ed8968b2872e: Download complete [2020-10-16T02:46:03.763Z] e73272ec9a57: Verifying Checksum [2020-10-16T02:46:03.763Z] e73272ec9a57: Download complete [2020-10-16T02:46:03.763Z] 1e910a182e73: Download complete [2020-10-16T02:46:04.024Z] df20fa9351a1: Verifying Checksum [2020-10-16T02:46:04.024Z] df20fa9351a1: Download complete [2020-10-16T02:46:04.290Z] df20fa9351a1: Pull complete [2020-10-16T02:46:04.554Z] ed8968b2872e: Pull complete [2020-10-16T02:46:04.818Z] a92cc7c5fd73: Pull complete [2020-10-16T02:46:06.205Z] 4e634b169226: Verifying Checksum [2020-10-16T02:46:06.205Z] 4e634b169226: Download complete [2020-10-16T02:46:07.160Z] e871e8e8d7a9: Verifying Checksum [2020-10-16T02:46:07.160Z] e871e8e8d7a9: Download complete [2020-10-16T02:46:12.468Z] e871e8e8d7a9: Pull complete [2020-10-16T02:46:12.468Z] e73272ec9a57: Pull complete [2020-10-16T02:46:12.468Z] 1e910a182e73: Pull complete [2020-10-16T02:46:16.699Z] 4e634b169226: Pull complete [2020-10-16T02:46:16.699Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-16T02:46:16.699Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-16T02:46:16.699Z] ---> f7629b54cfaa [2020-10-16T02:46:16.699Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T02:46:16.699Z] ---> Running in 1f440b597f19 [2020-10-16T02:46:16.699Z] Removing intermediate container 1f440b597f19 [2020-10-16T02:46:16.699Z] ---> 8500d13d931a [2020-10-16T02:46:16.699Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T02:46:16.699Z] ---> Running in 23ec860e05f4 [2020-10-16T02:46:17.643Z] Removing intermediate container 23ec860e05f4 [2020-10-16T02:46:17.643Z] ---> c071165e183b [2020-10-16T02:46:17.643Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-16T02:46:17.643Z] ---> Running in 8e7615cc67a6 [2020-10-16T02:46:18.589Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-16T02:46:19.163Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-16T02:46:19.738Z] OK: 166 MiB in 39 packages [2020-10-16T02:46:20.039Z] Removing intermediate container 8e7615cc67a6 [2020-10-16T02:46:20.039Z] ---> 9eee4e950ba8 [2020-10-16T02:46:20.039Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-16T02:46:20.039Z] ---> Running in bb9d173a595d [2020-10-16T02:46:20.301Z] Removing intermediate container bb9d173a595d [2020-10-16T02:46:20.301Z] ---> 3a8f6a289a56 [2020-10-16T02:46:20.301Z] Step 7/8 : COPY . . [2020-10-16T02:46:21.248Z] ---> 6a5cd8be3c5a [2020-10-16T02:46:21.248Z] Step 8/8 : RUN go mod download [2020-10-16T02:46:21.509Z] ---> Running in 8fd31248b9fd [2020-10-16T02:46:39.670Z] Removing intermediate container 8fd31248b9fd [2020-10-16T02:46:39.670Z] ---> 7d29de63cb4a [2020-10-16T02:46:39.670Z] Successfully built 7d29de63cb4a [2020-10-16T02:46:39.670Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T02:46:40.003Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-16T02:46:40.004Z] . [Pipeline] withDockerContainer [2020-10-16T02:46:40.107Z] prd-centos7-docker-4c-2g-5754 does not seem to be running inside a container [2020-10-16T02:46:40.152Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/21 -v /w/workspace/device-sdk-go/21:/w/workspace/device-sdk-go/21:rw,z -v /w/workspace/device-sdk-go/21@tmp:/w/workspace/device-sdk-go/21@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 ******** -e ******** ci-base-image-x86_64 cat [2020-10-16T02:46:40.765Z] $ docker top e2c0005067259e43dccc60c35464f62d569ccbf74fc513de0d7d25d5ba09b81e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T02:46:41.279Z] + go version [2020-10-16T02:46:41.279Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-16T02:46:41.291Z] $ docker stop --time=1 e2c0005067259e43dccc60c35464f62d569ccbf74fc513de0d7d25d5ba09b81e [2020-10-16T02:46:43.132Z] $ docker rm -f e2c0005067259e43dccc60c35464f62d569ccbf74fc513de0d7d25d5ba09b81e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-16T02:46:44.066Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-16T02:46:44.066Z] . [Pipeline] withDockerContainer [2020-10-16T02:46:44.326Z] prd-centos7-docker-4c-2g-5754 does not seem to be running inside a container [2020-10-16T02:46:44.375Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/21 -v /w/workspace/device-sdk-go/21:/w/workspace/device-sdk-go/21:rw,z -v /w/workspace/device-sdk-go/21@tmp:/w/workspace/device-sdk-go/21@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 ******** -e ******** ci-base-image-x86_64 cat [2020-10-16T02:46:44.956Z] $ docker top 53d66b29be2c439b584e311c41783621628b5e7e3f146c73c92f75fc270cc096 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T02:46:45.430Z] + make test [2020-10-16T02:46:45.430Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-16T02:46:52.070Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-16T02:47:04.494Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-16T02:47:04.494Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-16T02:47:04.494Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-16T02:47:04.766Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.050s coverage: 21.6% of statements [2020-10-16T02:47:06.239Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.420s coverage: 97.1% of statements [2020-10-16T02:47:18.472Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5756 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws [2020-10-16T02:47:18.541Z] Running in /w/workspace/device-sdk-go/21 [Pipeline] { [Pipeline] checkout [2020-10-16T02:47:23.823Z] using credential edgex-jenkins-ssh [2020-10-16T02:47:23.881Z] Cloning the remote Git repository [2020-10-16T02:47:23.959Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T02:47:24.086Z] > git init /w/workspace/device-sdk-go/21 # timeout=10 [2020-10-16T02:47:24.179Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T02:47:24.182Z] > git --version # timeout=10 [2020-10-16T02:47:24.199Z] > git --version # 'git version 2.17.1' [2020-10-16T02:47:24.201Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T02:47:24.263Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T02:47:25.966Z] Merging remotes/origin/master commit abee7d5846637e135dd277469e99a0143c7ff265 into PR head commit b548679428654ee0dca8f5b5dc3d7fcaeb119b73 [2020-10-16T02:47:25.329Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T02:47:25.362Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T02:47:25.391Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T02:47:25.439Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T02:47:25.440Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T02:47:25.457Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-16T02:47:25.985Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T02:47:26.006Z] > git checkout -f b548679428654ee0dca8f5b5dc3d7fcaeb119b73 # timeout=10 [2020-10-16T02:47:26.127Z] > git remote # timeout=10 [2020-10-16T02:47:26.150Z] > git config --get remote.origin.url # timeout=10 [2020-10-16T02:47:26.163Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T02:47:26.175Z] > git merge abee7d5846637e135dd277469e99a0143c7ff265 # timeout=10 [2020-10-16T02:47:26.305Z] Merge succeeded, producing 6bdfe868ec2b938bbc23eb80937403d0959393f6 [2020-10-16T02:47:26.306Z] Checking out Revision 6bdfe868ec2b938bbc23eb80937403d0959393f6 (PR-582) [2020-10-16T02:47:26.283Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-16T02:47:26.311Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T02:47:26.325Z] > git checkout -f 6bdfe868ec2b938bbc23eb80937403d0959393f6 # timeout=10 [2020-10-16T02:47:31.024Z] Commit message: "Merge commit 'abee7d5846637e135dd277469e99a0143c7ff265' into HEAD" [2020-10-16T02:47:31.060Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-16T02:47:31.948Z] ========================================================= [2020-10-16T02:47:31.948Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-16T02:47:31.948Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-16T02:47:31.031Z] > git rev-list --no-walk 426d968bf27e5cf411a4989117a5992c1c08a42e # timeout=10 [2020-10-16T02:47:33.011Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-10-16T02:47:34.007Z] Sending build context to Docker daemon 2.296MB [2020-10-16T02:47:34.007Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-16T02:47:34.007Z] Step 2/8 : FROM ${BASE} [2020-10-16T02:47:34.290Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-16T02:47:34.290Z] b538f80385f9: Pulling fs layer [2020-10-16T02:47:34.290Z] 74f711af9a0d: Pulling fs layer [2020-10-16T02:47:34.290Z] 99f96fe45779: Pulling fs layer [2020-10-16T02:47:34.290Z] 8529a6b9a6be: Pulling fs layer [2020-10-16T02:47:34.290Z] 45590311c82a: Pulling fs layer [2020-10-16T02:47:34.290Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-16T02:47:34.290Z] 209524e5b208: Pulling fs layer [2020-10-16T02:47:34.290Z] 8529a6b9a6be: Waiting [2020-10-16T02:47:34.290Z] 45590311c82a: Waiting [2020-10-16T02:47:34.290Z] 69ca0ff8b7b3: Waiting [2020-10-16T02:47:34.290Z] 209524e5b208: Waiting [2020-10-16T02:47:34.290Z] 99f96fe45779: Verifying Checksum [2020-10-16T02:47:34.290Z] 99f96fe45779: Download complete [2020-10-16T02:47:34.290Z] 74f711af9a0d: Verifying Checksum [2020-10-16T02:47:34.290Z] 74f711af9a0d: Download complete [2020-10-16T02:47:34.569Z] 45590311c82a: Verifying Checksum [2020-10-16T02:47:34.569Z] 45590311c82a: Download complete [2020-10-16T02:47:34.569Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-16T02:47:34.569Z] 69ca0ff8b7b3: Download complete [2020-10-16T02:47:34.569Z] b538f80385f9: Verifying Checksum [2020-10-16T02:47:34.569Z] b538f80385f9: Download complete [2020-10-16T02:47:35.178Z] b538f80385f9: Pull complete [2020-10-16T02:47:35.783Z] 74f711af9a0d: Pull complete [2020-10-16T02:47:36.063Z] 99f96fe45779: Pull complete [2020-10-16T02:47:37.066Z] 209524e5b208: Verifying Checksum [2020-10-16T02:47:37.066Z] 209524e5b208: Download complete [2020-10-16T02:47:38.534Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.059s coverage: 9.4% of statements [2020-10-16T02:47:38.534Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.045s coverage: 21.9% of statements [2020-10-16T02:47:38.534Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-16T02:47:38.534Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.222s coverage: 40.8% of statements [2020-10-16T02:47:38.534Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-16T02:47:38.534Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.273s coverage: 68.9% of statements [2020-10-16T02:47:38.534Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-16T02:47:38.534Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-16T02:47:38.534Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-16T02:47:38.534Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-16T02:47:38.534Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.063s coverage: 52.6% of statements [2020-10-16T02:47:38.534Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-16T02:47:38.534Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-16T02:47:38.534Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-16T02:47:38.534Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.287s coverage: 68.9% of statements [2020-10-16T02:47:38.534Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-16T02:47:38.534Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-16T02:47:38.534Z] GO111MODULE=on go vet ./... [2020-10-16T02:47:39.717Z] 8529a6b9a6be: Download complete [2020-10-16T02:47:45.172Z] gofmt -l . [2020-10-16T02:47:45.172Z] [ "`gofmt -l .`" = "" ] [2020-10-16T02:47:45.172Z] ./bin/test-attribution-txt.sh [2020-10-16T02:47:45.172Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-16T02:47:45.477Z] Stashed 1 file(s) [Pipeline] } [2020-10-16T02:47:45.482Z] $ docker stop --time=1 53d66b29be2c439b584e311c41783621628b5e7e3f146c73c92f75fc270cc096 [2020-10-16T02:47:47.294Z] $ docker rm -f 53d66b29be2c439b584e311c41783621628b5e7e3f146c73c92f75fc270cc096 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2020-10-16T02:47:49.924Z] 8529a6b9a6be: Pull complete [2020-10-16T02:47:49.925Z] 45590311c82a: Pull complete [2020-10-16T02:47:50.201Z] 69ca0ff8b7b3: Pull complete [Pipeline] sh [2020-10-16T02:47:50.665Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-16T02:47:50.966Z] + ls -al . [2020-10-16T02:47:50.966Z] total 188 [2020-10-16T02:47:50.966Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 16 02:47 . [2020-10-16T02:47:50.966Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 16 02:45 .. [2020-10-16T02:47:50.966Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 16 02:45 bin [2020-10-16T02:47:50.966Z] -rw-r--r--. 1 jenkins jenkins 110396 Oct 16 02:47 coverage.out [2020-10-16T02:47:50.966Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 16 02:45 Dockerfile.build [2020-10-16T02:47:50.966Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 16 02:45 .dockerignore [2020-10-16T02:47:50.966Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 16 02:45 example [2020-10-16T02:47:50.966Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 16 02:46 .git [2020-10-16T02:47:50.966Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 16 02:45 .github [2020-10-16T02:47:50.966Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 16 02:45 .gitignore [2020-10-16T02:47:50.966Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 16 02:47 go.mod [2020-10-16T02:47:50.966Z] -rw-r--r--. 1 jenkins jenkins 13731 Oct 16 02:47 go.sum [2020-10-16T02:47:50.966Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 16 02:45 internal [2020-10-16T02:47:50.966Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 16 02:45 Jenkinsfile [2020-10-16T02:47:50.966Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 16 02:45 LICENSE [2020-10-16T02:47:50.966Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 16 02:45 Makefile [2020-10-16T02:47:50.966Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 16 02:45 openapi [2020-10-16T02:47:50.966Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 16 02:45 pkg [2020-10-16T02:47:50.966Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 16 02:45 README.md [2020-10-16T02:47:50.966Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 16 02:45 RELEASE-NOTES.txt [2020-10-16T02:47:50.966Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 16 02:45 snap [2020-10-16T02:47:50.966Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 16 02:43 VERSION [2020-10-16T02:47:50.966Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 16 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-16T02:47:51.274Z] + 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=3a27b84ade197c4d5a4a25e8bb72f8662eff6c21 --label arch=amd64 --label version=0.0.0 . [2020-10-16T02:47:51.274Z] Sending build context to Docker daemon 2.407MB [2020-10-16T02:47:51.274Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-16T02:47:51.274Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-16T02:47:51.274Z] ---> 7d29de63cb4a [2020-10-16T02:47:51.274Z] Step 3/24 : ARG MAKE='make build' [2020-10-16T02:47:51.849Z] ---> Running in e8089298de23 [2020-10-16T02:47:51.849Z] Removing intermediate container e8089298de23 [2020-10-16T02:47:51.849Z] ---> bb444bdae366 [2020-10-16T02:47:51.849Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-16T02:47:51.849Z] ---> Running in 0f172ae05f14 [2020-10-16T02:47:52.111Z] Removing intermediate container 0f172ae05f14 [2020-10-16T02:47:52.111Z] ---> 2654424275a9 [2020-10-16T02:47:52.111Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T02:47:52.111Z] ---> Running in ceddc002ffaa [2020-10-16T02:47:52.375Z] Removing intermediate container ceddc002ffaa [2020-10-16T02:47:52.375Z] ---> d3fa5a755b97 [2020-10-16T02:47:52.375Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T02:47:52.375Z] ---> Running in f6d2d9937d83 [2020-10-16T02:47:53.327Z] Removing intermediate container f6d2d9937d83 [2020-10-16T02:47:53.327Z] ---> 3d7744b2f4fa [2020-10-16T02:47:53.327Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-16T02:47:53.327Z] ---> Running in 6495932ec228 [2020-10-16T02:47:53.589Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-16T02:47:53.608Z] 209524e5b208: Pull complete [2020-10-16T02:47:53.883Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-16T02:47:53.883Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-16T02:47:53.883Z] ---> 5bddaf1c2fca [2020-10-16T02:47:53.883Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T02:47:54.529Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-16T02:47:55.102Z] OK: 166 MiB in 39 packages [2020-10-16T02:47:55.363Z] Removing intermediate container 6495932ec228 [2020-10-16T02:47:55.363Z] ---> dc486799cf7d [2020-10-16T02:47:55.363Z] Step 8/24 : COPY . . [2020-10-16T02:47:56.305Z] ---> 347230e8a574 [2020-10-16T02:47:56.305Z] Step 9/24 : RUN ${MAKE} [2020-10-16T02:47:56.305Z] ---> Running in dcc1ea7c3d44 [2020-10-16T02:47:56.881Z] 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-10-16T02:47:57.290Z] ---> Running in 3e2219d9c85c [2020-10-16T02:47:57.888Z] Removing intermediate container 3e2219d9c85c [2020-10-16T02:47:57.888Z] ---> 038bdc6a5f2f [2020-10-16T02:47:57.888Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T02:47:57.888Z] ---> Running in 844dcf2c2afb [2020-10-16T02:48:01.297Z] Removing intermediate container 844dcf2c2afb [2020-10-16T02:48:01.297Z] ---> 0400fde059f7 [2020-10-16T02:48:01.297Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-16T02:48:01.297Z] ---> Running in 9a252f605a46 [2020-10-16T02:48:02.738Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-16T02:48:03.337Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-16T02:48:04.327Z] OK: 142 MiB in 39 packages [2020-10-16T02:48:05.154Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-16T02:48:05.310Z] Removing intermediate container 9a252f605a46 [2020-10-16T02:48:05.310Z] ---> 79d9d0b18526 [2020-10-16T02:48:05.310Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-16T02:48:05.585Z] ---> Running in 2a42a753619e [2020-10-16T02:48:06.100Z] Removing intermediate container dcc1ea7c3d44 [2020-10-16T02:48:06.100Z] ---> e65f17fe7073 [2020-10-16T02:48:06.100Z] Step 10/24 : FROM scratch [2020-10-16T02:48:06.100Z] ---> [2020-10-16T02:48:06.100Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T02:48:06.100Z] ---> Running in 0c79466f1bb7 [2020-10-16T02:48:06.100Z] Removing intermediate container 0c79466f1bb7 [2020-10-16T02:48:06.100Z] ---> a5f0d96dc599 [2020-10-16T02:48:06.100Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-16T02:48:06.100Z] ---> Running in 55132c547e98 [2020-10-16T02:48:06.184Z] Removing intermediate container 2a42a753619e [2020-10-16T02:48:06.184Z] ---> 5d7470a3f235 [2020-10-16T02:48:06.184Z] Step 7/8 : COPY . . [2020-10-16T02:48:06.362Z] Removing intermediate container 55132c547e98 [2020-10-16T02:48:06.362Z] ---> 886797d2c56c [2020-10-16T02:48:06.362Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-16T02:48:06.362Z] ---> Running in 1167d031d72e [2020-10-16T02:48:06.362Z] Removing intermediate container 1167d031d72e [2020-10-16T02:48:06.362Z] ---> 6e8f63d21a3c [2020-10-16T02:48:06.362Z] Step 14/24 : WORKDIR / [2020-10-16T02:48:06.627Z] ---> Running in a1982a047b5f [2020-10-16T02:48:06.627Z] Removing intermediate container a1982a047b5f [2020-10-16T02:48:06.627Z] ---> bb001506caad [2020-10-16T02:48:06.627Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-16T02:48:07.211Z] ---> b4591fd99910 [2020-10-16T02:48:07.211Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-16T02:48:07.473Z] ---> f314d97e2f48 [2020-10-16T02:48:07.473Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-16T02:48:07.473Z] ---> 1413e1db6464 [2020-10-16T02:48:07.473Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-16T02:48:07.624Z] ---> f98add207cb0 [2020-10-16T02:48:07.624Z] Step 8/8 : RUN go mod download [2020-10-16T02:48:07.624Z] ---> Running in 7a0084f3470c [2020-10-16T02:48:07.734Z] ---> 130cf2d1e121 [2020-10-16T02:48:07.734Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-16T02:48:07.994Z] ---> e91609a046dc [2020-10-16T02:48:07.994Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-16T02:48:07.994Z] ---> Running in 0bd3add48a45 [2020-10-16T02:48:08.255Z] Removing intermediate container 0bd3add48a45 [2020-10-16T02:48:08.255Z] ---> 92ddfbffd8f1 [2020-10-16T02:48:08.255Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-16T02:48:08.255Z] ---> Running in afb38dc5c794 [2020-10-16T02:48:08.516Z] Removing intermediate container afb38dc5c794 [2020-10-16T02:48:08.516Z] ---> a0e9c4b66563 [2020-10-16T02:48:08.516Z] Step 22/24 : LABEL arch=amd64 [2020-10-16T02:48:08.516Z] ---> Running in 524d78c1ff9b [2020-10-16T02:48:08.777Z] Removing intermediate container 524d78c1ff9b [2020-10-16T02:48:08.777Z] ---> 48de0cdae6ec [2020-10-16T02:48:08.777Z] Step 23/24 : LABEL git_sha=3a27b84ade197c4d5a4a25e8bb72f8662eff6c21 [2020-10-16T02:48:08.777Z] ---> Running in 4fc80085ed73 [2020-10-16T02:48:08.777Z] Removing intermediate container 4fc80085ed73 [2020-10-16T02:48:08.777Z] ---> 31a5cdb617e6 [2020-10-16T02:48:08.777Z] Step 24/24 : LABEL version=0.0.0 [2020-10-16T02:48:09.039Z] ---> Running in 315b26b2cebd [2020-10-16T02:48:09.039Z] Removing intermediate container 315b26b2cebd [2020-10-16T02:48:09.039Z] ---> 0735a2bfd0c0 [2020-10-16T02:48:09.039Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-16T02:48:09.039Z] Successfully built 0735a2bfd0c0 [2020-10-16T02:48:09.039Z] Successfully tagged docker-device-sdk-simple:latest [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-10-16T02:48:29.813Z] Removing intermediate container 7a0084f3470c [2020-10-16T02:48:29.814Z] ---> ebbce0cad029 [2020-10-16T02:48:29.814Z] Successfully built ebbce0cad029 [2020-10-16T02:48:29.814Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T02:48:30.219Z] + docker inspect -f . ci-base-image-arm64 [2020-10-16T02:48:30.219Z] . [Pipeline] withDockerContainer [2020-10-16T02:48:30.500Z] prd-ubuntu18.04-docker-arm64-4c-16g-5756 does not seem to be running inside a container [2020-10-16T02:48:30.589Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/21 -v /w/workspace/device-sdk-go/21:/w/workspace/device-sdk-go/21:rw,z -v /w/workspace/device-sdk-go/21@tmp:/w/workspace/device-sdk-go/21@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 ******** -e ******** ci-base-image-arm64 cat [2020-10-16T02:48:32.454Z] $ docker top ab434e04e3b19d13b504284e115e18d6a4acb6fe1829b32a9b85bea9da52f6b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T02:48:33.921Z] + go version [2020-10-16T02:48:33.922Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-16T02:48:33.946Z] $ docker stop --time=1 ab434e04e3b19d13b504284e115e18d6a4acb6fe1829b32a9b85bea9da52f6b8 [2020-10-16T02:48:36.015Z] $ docker rm -f ab434e04e3b19d13b504284e115e18d6a4acb6fe1829b32a9b85bea9da52f6b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-16T02:48:37.087Z] + docker inspect -f . ci-base-image-arm64 [2020-10-16T02:48:37.087Z] . [Pipeline] withDockerContainer [2020-10-16T02:48:37.354Z] prd-ubuntu18.04-docker-arm64-4c-16g-5756 does not seem to be running inside a container [2020-10-16T02:48:37.439Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/21 -v /w/workspace/device-sdk-go/21:/w/workspace/device-sdk-go/21:rw,z -v /w/workspace/device-sdk-go/21@tmp:/w/workspace/device-sdk-go/21@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 ******** -e ******** ci-base-image-arm64 cat [2020-10-16T02:48:39.315Z] $ docker top 11953a89e30222c198de5a38f25ec8037b6b080e9c3fecfaf1f1ee27a99853fa -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T02:48:40.745Z] + make test [2020-10-16T02:48:40.745Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-16T02:49:02.937Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-16T02:49:49.999Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-16T02:49:49.999Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-16T02:49:49.999Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-16T02:49:49.999Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.157s coverage: 21.6% of statements [2020-10-16T02:49:51.982Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.226s coverage: 97.1% of statements [2020-10-16T02:50:24.342Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.144s coverage: 9.4% of statements [2020-10-16T02:50:24.342Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.141s coverage: 21.9% of statements [2020-10-16T02:50:24.342Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-16T02:50:24.342Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.541s coverage: 40.8% of statements [2020-10-16T02:50:24.342Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-16T02:50:24.342Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.814s coverage: 68.9% of statements [2020-10-16T02:50:24.342Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-16T02:50:24.342Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-16T02:50:24.342Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-16T02:50:24.342Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-16T02:50:24.342Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.187s coverage: 52.6% of statements [2020-10-16T02:50:24.342Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-16T02:50:24.342Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-16T02:50:24.342Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-16T02:50:24.342Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.078s coverage: 68.9% of statements [2020-10-16T02:50:24.342Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-16T02:50:24.342Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-16T02:50:24.342Z] GO111MODULE=on go vet ./... [2020-10-16T02:50:51.181Z] gofmt -l . [2020-10-16T02:50:51.181Z] [ "`gofmt -l .`" = "" ] [2020-10-16T02:50:51.181Z] ./bin/test-attribution-txt.sh [2020-10-16T02:50:51.181Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-16T02:50:51.243Z] Warning: overwriting stash ‘coverage-report’ [2020-10-16T02:50:52.101Z] Stashed 1 file(s) [Pipeline] } [2020-10-16T02:50:52.108Z] $ docker stop --time=1 11953a89e30222c198de5a38f25ec8037b6b080e9c3fecfaf1f1ee27a99853fa [2020-10-16T02:50:54.333Z] $ docker rm -f 11953a89e30222c198de5a38f25ec8037b6b080e9c3fecfaf1f1ee27a99853fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-16T02:50:55.797Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-16T02:50:56.188Z] + ls -al . [2020-10-16T02:50:56.189Z] total 224 [2020-10-16T02:50:56.189Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 16 02:50 . [2020-10-16T02:50:56.189Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 02:47 .. [2020-10-16T02:50:56.189Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 16 02:47 .dockerignore [2020-10-16T02:50:56.189Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 16 02:47 .git [2020-10-16T02:50:56.189Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 02:47 .github [2020-10-16T02:50:56.189Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 16 02:47 .gitignore [2020-10-16T02:50:56.189Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 16 02:47 Dockerfile.build [2020-10-16T02:50:56.189Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 16 02:47 Jenkinsfile [2020-10-16T02:50:56.189Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 16 02:47 LICENSE [2020-10-16T02:50:56.189Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 16 02:47 Makefile [2020-10-16T02:50:56.189Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 16 02:47 README.md [2020-10-16T02:50:56.189Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 16 02:47 RELEASE-NOTES.txt [2020-10-16T02:50:56.189Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 16 02:43 VERSION [2020-10-16T02:50:56.189Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 02:47 bin [2020-10-16T02:50:56.189Z] -rw-r--r-- 1 jenkins jenkins 110396 Oct 16 02:50 coverage.out [2020-10-16T02:50:56.189Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 02:47 example [2020-10-16T02:50:56.189Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 16 02:50 go.mod [2020-10-16T02:50:56.189Z] -rw-r--r-- 1 jenkins jenkins 13731 Oct 16 02:50 go.sum [2020-10-16T02:50:56.189Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 16 02:47 internal [2020-10-16T02:50:56.189Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 02:47 openapi [2020-10-16T02:50:56.189Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 16 02:47 pkg [2020-10-16T02:50:56.189Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 02:47 snap [2020-10-16T02:50:56.189Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 16 02:47 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-16T02:50:56.598Z] + 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=3a27b84ade197c4d5a4a25e8bb72f8662eff6c21 --label arch=arm64 --label version=0.0.0 . [2020-10-16T02:50:57.204Z] Sending build context to Docker daemon 2.407MB [2020-10-16T02:50:57.204Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-16T02:50:57.204Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-16T02:50:57.204Z] ---> ebbce0cad029 [2020-10-16T02:50:57.204Z] Step 3/24 : ARG MAKE='make build' [2020-10-16T02:50:57.478Z] ---> Running in 63016f9cda45 [2020-10-16T02:50:58.079Z] Removing intermediate container 63016f9cda45 [2020-10-16T02:50:58.079Z] ---> 424ab8d449c6 [2020-10-16T02:50:58.079Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-16T02:50:58.079Z] ---> Running in 621a610949be [2020-10-16T02:50:58.676Z] Removing intermediate container 621a610949be [2020-10-16T02:50:58.677Z] ---> d6735afc6975 [2020-10-16T02:50:58.677Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T02:50:58.677Z] ---> Running in 69e48d35a158 [2020-10-16T02:50:59.274Z] Removing intermediate container 69e48d35a158 [2020-10-16T02:50:59.274Z] ---> 02888dd55976 [2020-10-16T02:50:59.274Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T02:50:59.274Z] ---> Running in 096d71b15241 [2020-10-16T02:51:01.912Z] Removing intermediate container 096d71b15241 [2020-10-16T02:51:01.912Z] ---> d581d61faa27 [2020-10-16T02:51:01.912Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-16T02:51:01.912Z] ---> Running in 2a3e10471e4c [2020-10-16T02:51:03.345Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-16T02:51:03.939Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-16T02:51:04.922Z] OK: 142 MiB in 39 packages [2020-10-16T02:51:05.906Z] Removing intermediate container 2a3e10471e4c [2020-10-16T02:51:05.906Z] ---> 4114c3c41d42 [2020-10-16T02:51:05.906Z] Step 8/24 : COPY . . [2020-10-16T02:51:07.335Z] ---> dd100bce9051 [2020-10-16T02:51:07.336Z] Step 9/24 : RUN ${MAKE} [2020-10-16T02:51:07.336Z] ---> Running in d89772c7701b [2020-10-16T02:51:08.768Z] 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-10-16T02:51:35.584Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-16T02:51:35.584Z] Removing intermediate container d89772c7701b [2020-10-16T02:51:35.584Z] ---> c04862b935fc [2020-10-16T02:51:35.584Z] Step 10/24 : FROM scratch [2020-10-16T02:51:35.584Z] ---> [2020-10-16T02:51:35.584Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T02:51:35.584Z] ---> Running in 106bd565144c [2020-10-16T02:51:35.584Z] Removing intermediate container 106bd565144c [2020-10-16T02:51:35.584Z] ---> 7c4c0c0c44cd [2020-10-16T02:51:35.584Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-16T02:51:35.584Z] ---> Running in c1f2bb11d1a3 [2020-10-16T02:51:35.857Z] Removing intermediate container c1f2bb11d1a3 [2020-10-16T02:51:35.857Z] ---> df94b9863bcb [2020-10-16T02:51:35.857Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-16T02:51:36.132Z] ---> Running in ea3c346d998a [2020-10-16T02:51:36.410Z] Removing intermediate container ea3c346d998a [2020-10-16T02:51:36.410Z] ---> 28a9b987a200 [2020-10-16T02:51:36.410Z] Step 14/24 : WORKDIR / [2020-10-16T02:51:36.684Z] ---> Running in 51fe56769054 [2020-10-16T02:51:36.961Z] Removing intermediate container 51fe56769054 [2020-10-16T02:51:36.961Z] ---> a60c21ca860d [2020-10-16T02:51:36.961Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-16T02:51:38.408Z] ---> eb3de285b763 [2020-10-16T02:51:38.408Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-16T02:51:39.003Z] ---> 5f8d35124265 [2020-10-16T02:51:39.003Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-16T02:51:39.618Z] ---> f2d357a4d2c3 [2020-10-16T02:51:39.618Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-16T02:51:40.594Z] ---> 12b2db382b32 [2020-10-16T02:51:40.594Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-16T02:51:41.191Z] ---> 3a246f17974a [2020-10-16T02:51:41.191Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-16T02:51:41.467Z] ---> Running in 94e180ec790b [2020-10-16T02:51:41.749Z] Removing intermediate container 94e180ec790b [2020-10-16T02:51:41.749Z] ---> 0b97b4119fd5 [2020-10-16T02:51:41.749Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-16T02:51:42.024Z] ---> Running in e03e4e1aafc7 [2020-10-16T02:51:42.297Z] Removing intermediate container e03e4e1aafc7 [2020-10-16T02:51:42.297Z] ---> 2e30e66dde4a [2020-10-16T02:51:42.297Z] Step 22/24 : LABEL arch=arm64 [2020-10-16T02:51:42.574Z] ---> Running in ae136367ced5 [2020-10-16T02:51:42.847Z] Removing intermediate container ae136367ced5 [2020-10-16T02:51:42.847Z] ---> 8e8df636e9d3 [2020-10-16T02:51:42.847Z] Step 23/24 : LABEL git_sha=3a27b84ade197c4d5a4a25e8bb72f8662eff6c21 [2020-10-16T02:51:43.122Z] ---> Running in e0f1bbe30f53 [2020-10-16T02:51:43.398Z] Removing intermediate container e0f1bbe30f53 [2020-10-16T02:51:43.398Z] ---> cb2ee3519531 [2020-10-16T02:51:43.398Z] Step 24/24 : LABEL version=0.0.0 [2020-10-16T02:51:43.676Z] ---> Running in f01884ea266b [2020-10-16T02:51:44.275Z] Removing intermediate container f01884ea266b [2020-10-16T02:51:44.275Z] ---> d766dc77aa20 [2020-10-16T02:51:44.275Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-16T02:51:44.275Z] Successfully built d766dc77aa20 [2020-10-16T02:51:44.275Z] 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-10-16T02:51:46.199Z] provisioning config files... [2020-10-16T02:51:46.213Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config5518957993672312073tmp [Pipeline] { [Pipeline] sh [2020-10-16T02:51:46.652Z] + set +x [2020-10-16T02:51:46.652Z] + curl -s https://codecov.io/bash [2020-10-16T02:51:46.652Z] + bash -s -- [2020-10-16T02:51:46.914Z] [2020-10-16T02:51:46.914Z] _____ _ [2020-10-16T02:51:46.914Z] / ____| | | [2020-10-16T02:51:46.914Z] | | ___ __| | ___ ___ _____ __ [2020-10-16T02:51:46.914Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-16T02:51:46.914Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-16T02:51:46.914Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-16T02:51:46.914Z] Bash-20201009-048fee3 [2020-10-16T02:51:46.914Z] [2020-10-16T02:51:46.914Z] [2020-10-16T02:51:46.914Z] ==> Jenkins CI detected. [2020-10-16T02:51:46.914Z] project root: . [2020-10-16T02:51:46.914Z] Fixing merge commit SHA [2020-10-16T02:51:46.914Z] --> token set from env [2020-10-16T02:51:46.914Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-16T02:51:46.914Z] ==> Running gcov in . (disable via -X gcov) [2020-10-16T02:51:46.914Z] ==> Python coveragepy not found [2020-10-16T02:51:46.914Z] ==> Searching for coverage reports in: [2020-10-16T02:51:46.914Z] + . [2020-10-16T02:51:46.914Z] -> Found 1 reports [2020-10-16T02:51:46.914Z] ==> Detecting git/mercurial file structure [2020-10-16T02:51:46.914Z] ==> Reading reports [2020-10-16T02:51:46.914Z] + ./coverage.out bytes=110396 [2020-10-16T02:51:46.914Z] ==> Appending adjustments [2020-10-16T02:51:46.914Z] https://docs.codecov.io/docs/fixing-reports [2020-10-16T02:51:47.495Z] + Found adjustments [2020-10-16T02:51:47.495Z] ==> Gzipping contents [2020-10-16T02:51:47.495Z] ==> Uploading reports [2020-10-16T02:51:47.495Z] url: https://codecov.io [2020-10-16T02:51:47.495Z] query: branch=PR-582&commit=abee7d5846637e135dd277469e99a0143c7ff265&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= [2020-10-16T02:51:47.495Z] -> Pinging Codecov [2020-10-16T02:51:47.495Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-582&commit=abee7d5846637e135dd277469e99a0143c7ff265&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= [2020-10-16T02:51:47.495Z] -> Uploading to [2020-10-16T02:51:47.495Z] [2020-10-16T02:51:47.496Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-16T02:51:47.496Z] Dload Upload Total Spent Left Speed [2020-10-16T02:51:47.496Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-16T02:51:47.496Z] X> Failed to upload [2020-10-16T02:51:47.496Z] ==> Uploading to Codecov [2020-10-16T02:51:47.496Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-16T02:51:47.496Z] Dload Upload Total Spent Left Speed [2020-10-16T02:51:48.079Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 18990 0 0 100 18880 0 34907 --:--:-- --:--:-- --:--:-- 34898 100 18990 100 110 100 18880 203 34893 --:--:-- --:--:-- --:--:-- 34898 [2020-10-16T02:51:48.079Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/abee7d5846637e135dd277469e99a0143c7ff265 [Pipeline] } [2020-10-16T02:51:48.093Z] 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] { (Archive Prep) Stage "Archive Prep" 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-10-16T02:51:50.571Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T02:51:51.143Z] ---> package-listing.sh [2020-10-16T02:51:51.143Z] ++ facter osfamily [2020-10-16T02:51:51.143Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-16T02:51:51.143Z] + OS_FAMILY=redhat [2020-10-16T02:51:51.143Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-582 [2020-10-16T02:51:51.143Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-16T02:51:51.143Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-16T02:51:51.143Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-16T02:51:51.143Z] + PACKAGES=/tmp/packages_start.txt [2020-10-16T02:51:51.143Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' [2020-10-16T02:51:51.143Z] + PACKAGES=/tmp/packages_end.txt [2020-10-16T02:51:51.143Z] + case "${OS_FAMILY}" in [2020-10-16T02:51:51.143Z] + rpm -qa [2020-10-16T02:51:51.143Z] + sort [2020-10-16T02:51:55.376Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-16T02:51:55.376Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-16T02:51:55.376Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-16T02:51:55.376Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' [2020-10-16T02:51:55.376Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ [2020-10-16T02:51:55.376Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ [Pipeline] echo [2020-10-16T02:51:55.390Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-582/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-16T02:51:55.684Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-16T02:51:55.992Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T02:51:55.992Z] [2020-10-16T02:51:55.992Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-16T02:51:56.344Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T02:51:56.344Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-16T02:51:56.344Z] df20fa9351a1: Pulling fs layer [2020-10-16T02:51:56.344Z] 36b3adc4ff6f: Pulling fs layer [2020-10-16T02:51:56.344Z] 8ad3a11d3b57: Pulling fs layer [2020-10-16T02:51:56.344Z] 46f8f816bc3b: Pulling fs layer [2020-10-16T02:51:56.344Z] 93b61091891f: Pulling fs layer [2020-10-16T02:51:56.344Z] 93b9cdb0e59b: Pulling fs layer [2020-10-16T02:51:56.344Z] 5e14af77c1be: Pulling fs layer [2020-10-16T02:51:56.344Z] 01666e4c0597: Pulling fs layer [2020-10-16T02:51:56.344Z] aa168da1d23b: Pulling fs layer [2020-10-16T02:51:56.344Z] 46f8f816bc3b: Waiting [2020-10-16T02:51:56.344Z] 93b61091891f: Waiting [2020-10-16T02:51:56.344Z] 93b9cdb0e59b: Waiting [2020-10-16T02:51:56.344Z] 5e14af77c1be: Waiting [2020-10-16T02:51:56.344Z] 01666e4c0597: Waiting [2020-10-16T02:51:56.344Z] aa168da1d23b: Waiting [2020-10-16T02:51:56.344Z] 36b3adc4ff6f: Verifying Checksum [2020-10-16T02:51:56.344Z] 36b3adc4ff6f: Download complete [2020-10-16T02:51:56.344Z] 46f8f816bc3b: Download complete [2020-10-16T02:51:56.612Z] df20fa9351a1: Download complete [2020-10-16T02:51:56.612Z] 93b9cdb0e59b: Download complete [2020-10-16T02:51:56.612Z] 5e14af77c1be: Verifying Checksum [2020-10-16T02:51:56.612Z] 5e14af77c1be: Download complete [2020-10-16T02:51:56.612Z] 93b61091891f: Download complete [2020-10-16T02:51:56.612Z] 01666e4c0597: Verifying Checksum [2020-10-16T02:51:56.612Z] 01666e4c0597: Download complete [2020-10-16T02:51:56.877Z] 8ad3a11d3b57: Verifying Checksum [2020-10-16T02:51:56.877Z] 8ad3a11d3b57: Download complete [2020-10-16T02:51:56.877Z] df20fa9351a1: Pull complete [2020-10-16T02:51:57.150Z] 36b3adc4ff6f: Pull complete [2020-10-16T02:51:58.117Z] 8ad3a11d3b57: Pull complete [2020-10-16T02:51:58.117Z] 46f8f816bc3b: Pull complete [2020-10-16T02:51:58.698Z] 93b61091891f: Pull complete [2020-10-16T02:51:58.698Z] 93b9cdb0e59b: Pull complete [2020-10-16T02:51:58.965Z] aa168da1d23b: Verifying Checksum [2020-10-16T02:51:58.965Z] aa168da1d23b: Download complete [2020-10-16T02:51:58.965Z] 5e14af77c1be: Pull complete [2020-10-16T02:51:58.965Z] 01666e4c0597: Pull complete [2020-10-16T02:52:05.595Z] aa168da1d23b: Pull complete [2020-10-16T02:52:05.595Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-16T02:52:05.595Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T02:52:05.595Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-16T02:52:05.796Z] prd-centos7-docker-4c-2g-5745 does not seem to be running inside a container [2020-10-16T02:52:05.851Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-582/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-582 -v /w/workspace/dgexfoundry_device-sdk-go_PR-582:/w/workspace/dgexfoundry_device-sdk-go_PR-582:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-582@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-10-16T02:52:12.301Z] $ docker top ea0416505a232478c7535ecc10b6843f1b2672659550c24bcbb4be238363c657 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T02:52:12.852Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-16T02:52:13.416Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-16T02:52:13.716Z] + ls /var/log/sa-host [2020-10-16T02:52:13.716Z] + sadf -c /var/log/sa-host/sa05 [2020-10-16T02:52:13.716Z] file_magic: OK [2020-10-16T02:52:13.716Z] HZ: Using current value: 100 [2020-10-16T02:52:13.716Z] file_header: OK [2020-10-16T02:52:13.716Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-10-16T02:52:13.716Z] Statistics: [2020-10-16T02:52:13.716Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-16T02:52:13.716Z] File successfully converted to sysstat format version 12.2.1 [2020-10-16T02:52:13.716Z] + sadf -c /var/log/sa-host/sa16 [2020-10-16T02:52:13.716Z] file_magic: OK [2020-10-16T02:52:13.716Z] HZ: Using current value: 100 [2020-10-16T02:52:13.716Z] file_header: OK [2020-10-16T02:52:13.716Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-10-16T02:52:13.716Z] Statistics: [2020-10-16T02:52:13.716Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-16T02:52:13.716Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-16T02:52:13.925Z] provisioning config files... [2020-10-16T02:52:13.940Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config7731179673356902129tmp [Pipeline] { [Pipeline] echo [2020-10-16T02:52:14.021Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T02:52:14.322Z] ---> create-netrc.sh [Pipeline] } [2020-10-16T02:52:14.371Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-16T02:52:14.481Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T02:52:14.780Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-16T02:52:14.791Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T02:52:15.089Z] ---> sudo-logs.sh [2020-10-16T02:52:15.089Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-16T02:52:15.101Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T02:52:15.405Z] ---> job-cost.sh [2020-10-16T02:52:15.405Z] lf-activate-venv: SKIPPING [2020-10-16T02:52:15.405Z] INFO: No Stack... [2020-10-16T02:52:16.353Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-16T02:52:16.927Z] INFO: Archiving Costs [Pipeline] echo [2020-10-16T02:52:16.941Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T02:52:17.241Z] ---> logs-deploy.sh [2020-10-16T02:52:17.241Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-582/21 [2020-10-16T02:52:17.241Z] INFO: archiving workspace using pattern(s): [2020-10-16T02:52:19.177Z] Archives upload complete. [2020-10-16T02:52:19.177Z] INFO: archiving logs to Nexus