Pull request #654 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a1ebbeab82d48a8d36f7543f6be144166dabf546+34e320ac99befae92f8b4aae2047dc1351ba020b (b474a4a67e8676763d48694842a57d9dba6c20d9) Running in Durability level: MAX_SURVIVABILITY 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-654/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 # timeout=10 Commit message: "Merge pull request #301 from ernestojeda/enable-docker-proxy" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-654/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-12919 in /w/workspace/dgexfoundry_device-sdk-go_PR-654 [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-654 # 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 > 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/654/head:refs/remotes/origin/PR-654 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 34e320ac99befae92f8b4aae2047dc1351ba020b into PR head commit a1ebbeab82d48a8d36f7543f6be144166dabf546 Merge succeeded, producing a1ebbeab82d48a8d36f7543f6be144166dabf546 Checking out Revision a1ebbeab82d48a8d36f7543f6be144166dabf546 (PR-654) > git config core.sparsecheckout # timeout=10 > git checkout -f a1ebbeab82d48a8d36f7543f6be144166dabf546 # 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 34e320ac99befae92f8b4aae2047dc1351ba020b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a1ebbeab82d48a8d36f7543f6be144166dabf546 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:27:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:27:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:27:19 ========================================================= 06:27:19 EdgeX Global Pipelines Version Info 06:27:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:27:20 ------------------- 06:27:20 stable info: 06:27:20 ------------------- 06:27:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:27:20 Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 06:27:20 Message: update stable to v1.0.167 06:27:21 ------------------- 06:27:21 experimental info: 06:27:21 ------------------- 06:27:21 Commited By: **** collab-it+edgex@linuxfoundation.org 06:27:21 Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 06:27:21 Message: update experimental to v1.0.167 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:27:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:27:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:27:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:27:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:27:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:27:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:27:23 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:27:23 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:27:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:27:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:27:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:27:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:27:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:27:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:27:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:27:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:27:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:27:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:27:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:27:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:27:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:27:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:27:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:27:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:27:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:27:25 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:27:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-654 [Pipeline] echo 06:27:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-654 [Pipeline] echo 06:27:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-654 [Pipeline] echo 06:27:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a1ebbeab82d48a8d36f7543f6be144166dabf546 [Pipeline] echo 06:27:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a1ebbea [Pipeline] echo 06:27:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:27:26 provisioning config files... 06:27:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-654@tmp/config4443833893854047359tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:27:27 ---> docker-login.sh 06:27:27 nexus3.edgexfoundry.org:10001 06:27:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:27:27 Configure a credential helper to remove this warning. See 06:27:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:27:27 06:27:27 Login Succeeded 06:27:27 nexus3.edgexfoundry.org:10002 06:27:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:27:27 Configure a credential helper to remove this warning. See 06:27:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:27:27 06:27:27 Login Succeeded 06:27:27 nexus3.edgexfoundry.org:10003 06:27:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:27:27 Configure a credential helper to remove this warning. See 06:27:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:27:27 06:27:27 Login Succeeded 06:27:27 nexus3.edgexfoundry.org:10004 06:27:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:27:28 Configure a credential helper to remove this warning. See 06:27:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:27:28 06:27:28 Login Succeeded 06:27:28 docker.io 06:27:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:27:28 Configure a credential helper to remove this warning. See 06:27:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:27:28 06:27:28 Login Succeeded 06:27:28 ---> docker-login.sh ends [Pipeline] } 06:27:28 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:27:29 + git log --format=format:%s -1 a1ebbeab82d48a8d36f7543f6be144166dabf546 [Pipeline] echo 06:27:29 GIT_COMMIT: a1ebbeab82d48a8d36f7543f6be144166dabf546, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap [Pipeline] echo 06:27:29 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:27:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:27:30 06:27:30 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:27:30 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:27:30 latest: Pulling from edgex-devops/git-semver 06:27:30 31603596830f: Pulling fs layer 06:27:30 2a8b12db71e7: Pulling fs layer 06:27:30 6ca5941a6612: Pulling fs layer 06:27:30 ecc8261a40a4: Pulling fs layer 06:27:30 ecc8261a40a4: Waiting 06:27:30 2a8b12db71e7: Download complete 06:27:30 31603596830f: Verifying Checksum 06:27:30 31603596830f: Download complete 06:27:30 ecc8261a40a4: Verifying Checksum 06:27:30 ecc8261a40a4: Download complete 06:27:30 6ca5941a6612: Verifying Checksum 06:27:30 6ca5941a6612: Download complete 06:27:31 31603596830f: Pull complete 06:27:31 2a8b12db71e7: Pull complete 06:27:32 6ca5941a6612: Pull complete 06:27:32 ecc8261a40a4: Pull complete 06:27:32 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:27:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:27:32 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:27:32 prd-centos7-docker-4c-2g-12919 does not seem to be running inside a container 06:27:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-654 -v /w/workspace/dgexfoundry_device-sdk-go_PR-654:/w/workspace/dgexfoundry_device-sdk-go_PR-654:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-654@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-654@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:27:34 $ docker top a091bc8b4741e3b39a29e7dd9756db19546417752e0659693fb61522bd95f0f9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:27:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:27:34 [ssh-agent] Looking for ssh-agent implementation... 06:27:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:27:35 $ docker exec a091bc8b4741e3b39a29e7dd9756db19546417752e0659693fb61522bd95f0f9 ssh-agent 06:27:35 SSH_AUTH_SOCK=/tmp/ssh-hkBdQa0pB04Q/agent.11 06:27:35 SSH_AGENT_PID=16 06:27:35 Running ssh-add (command line suppressed) 06:27:35 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-654@tmp/private_key_7445787437332947318.key (/w/workspace/dgexfoundry_device-sdk-go_PR-654@tmp/private_key_7445787437332947318.key) 06:27:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:27:35 + git tag --points-at HEAD [Pipeline] } 06:27:35 $ docker exec --env ******** --env ******** a091bc8b4741e3b39a29e7dd9756db19546417752e0659693fb61522bd95f0f9 ssh-agent -k 06:27:35 unset SSH_AUTH_SOCK; 06:27:35 unset SSH_AGENT_PID; 06:27:35 echo Agent pid 16 killed; 06:27:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:27:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:27:36 [ssh-agent] Looking for ssh-agent implementation... 06:27:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:27:36 $ docker exec a091bc8b4741e3b39a29e7dd9756db19546417752e0659693fb61522bd95f0f9 ssh-agent 06:27:36 SSH_AUTH_SOCK=/tmp/ssh-4zKBXxNql66m/agent.46 06:27:36 SSH_AGENT_PID=51 06:27:36 Running ssh-add (command line suppressed) 06:27:36 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-654@tmp/private_key_5509841635662295.key (/w/workspace/dgexfoundry_device-sdk-go_PR-654@tmp/private_key_5509841635662295.key) 06:27:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:27:37 + git semver init 06:27:37 # -> Open(): unable to determine branch for HEAD 06:27:37 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-654/.git 06:27:37 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-654 06:27:37 # $SEMVER_REMOTE_NAME = origin 06:27:37 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:27:37 # $SEMVER_USER_NAME = edgex-jenkins 06:27:37 # $SEMVER_BRANCH = PR-654 06:27:37 # $SEMVER_TEMP = /tmp/semver-828425069 06:27:37 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:27:37 # '/tmp/semver-828425069' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-654/.semver' 06:27:37 # -> Force: false 06:27:37 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-654/.semver [Pipeline] } 06:27:37 $ docker exec --env ******** --env ******** a091bc8b4741e3b39a29e7dd9756db19546417752e0659693fb61522bd95f0f9 ssh-agent -k 06:27:37 unset SSH_AUTH_SOCK; 06:27:37 unset SSH_AGENT_PID; 06:27:37 echo Agent pid 51 killed; 06:27:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:27:38 + git semver [Pipeline] } 06:27:38 $ docker stop --time=1 a091bc8b4741e3b39a29e7dd9756db19546417752e0659693fb61522bd95f0f9 06:27:39 $ docker rm -f a091bc8b4741e3b39a29e7dd9756db19546417752e0659693fb61522bd95f0f9 [Pipeline] // withDockerContainer [Pipeline] sh 06:27:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:27:40 Stashed 1 file(s) [Pipeline] echo 06:27:41 [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 06:27:56 Still waiting to schedule task 06:27:56 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:27:56 Still waiting to schedule task 06:27:56 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 06:30:31 Running on prd-centos7-docker-4c-2g-12922 in /w/workspace/dgexfoundry_device-sdk-go_PR-654 [Pipeline] { [Pipeline] ws 06:30:32 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:30:39 using credential edgex-jenkins-ssh 06:30:39 Cloning the remote Git repository 06:30:39 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:30:39 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:30:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:30:39 > git --version # timeout=10 06:30:39 > git --version # 'git version 2.16.5' 06:30:39 using GIT_SSH to set credentials SSH Credentials for GitHub 06:30:39 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:30:41 Merging remotes/origin/master commit 34e320ac99befae92f8b4aae2047dc1351ba020b into PR head commit a1ebbeab82d48a8d36f7543f6be144166dabf546 06:30:41 Merge succeeded, producing a1ebbeab82d48a8d36f7543f6be144166dabf546 06:30:41 Checking out Revision a1ebbeab82d48a8d36f7543f6be144166dabf546 (PR-654) 06:30:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:30:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:30:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:30:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:30:40 using GIT_SSH to set credentials SSH Credentials for GitHub 06:30:40 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/654/head:refs/remotes/origin/PR-654 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:30:41 > git config core.sparsecheckout # timeout=10 06:30:41 > git checkout -f a1ebbeab82d48a8d36f7543f6be144166dabf546 # timeout=10 06:30:41 > git remote # timeout=10 06:30:41 > git config --get remote.origin.url # timeout=10 06:30:41 using GIT_SSH to set credentials SSH Credentials for GitHub 06:30:41 > git merge 34e320ac99befae92f8b4aae2047dc1351ba020b # timeout=10 06:30:41 > git rev-parse HEAD^{commit} # timeout=10 06:30:41 > git config core.sparsecheckout # timeout=10 06:30:41 > git checkout -f a1ebbeab82d48a8d36f7543f6be144166dabf546 # timeout=10 06:30:46 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" 06:30:46 > git --version # timeout=10 06:30:46 > git --version # 'git version 2.16.5' 06:30:46 fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:30:48 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:30:48 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:30:49 + sudo service docker restart 06:30:49 + true 06:30:49 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:30:50 provisioning config files... 06:30:50 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8604246056280103615tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:30:51 ---> docker-login.sh 06:30:51 nexus3.edgexfoundry.org:10001 06:30:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:52 Configure a credential helper to remove this warning. See 06:30:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:52 06:30:52 Login Succeeded 06:30:52 nexus3.edgexfoundry.org:10002 06:30:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:52 Configure a credential helper to remove this warning. See 06:30:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:52 06:30:52 Login Succeeded 06:30:52 nexus3.edgexfoundry.org:10003 06:30:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:53 Configure a credential helper to remove this warning. See 06:30:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:53 06:30:53 Login Succeeded 06:30:53 nexus3.edgexfoundry.org:10004 06:30:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:53 Configure a credential helper to remove this warning. See 06:30:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:53 06:30:53 Login Succeeded 06:30:53 docker.io 06:30:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:54 Configure a credential helper to remove this warning. See 06:30:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:54 06:30:54 Login Succeeded 06:30:54 ---> docker-login.sh ends [Pipeline] } 06:30:54 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:30:55 ========================================================= 06:30:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:30:55 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:30:55 + 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 . 06:30:56 Sending build context to Docker daemon 2.356MB 06:30:56 Step 1/8 : ARG BASE=golang:1.15-alpine 06:30:56 Step 2/8 : FROM ${BASE} 06:30:56 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:30:56 df20fa9351a1: Pulling fs layer 06:30:56 ed8968b2872e: Pulling fs layer 06:30:56 a92cc7c5fd73: Pulling fs layer 06:30:56 e871e8e8d7a9: Pulling fs layer 06:30:56 e73272ec9a57: Pulling fs layer 06:30:56 1e910a182e73: Pulling fs layer 06:30:56 4e634b169226: Pulling fs layer 06:30:56 e871e8e8d7a9: Waiting 06:30:56 e73272ec9a57: Waiting 06:30:56 1e910a182e73: Waiting 06:30:56 4e634b169226: Waiting 06:30:56 a92cc7c5fd73: Verifying Checksum 06:30:56 a92cc7c5fd73: Download complete 06:30:56 ed8968b2872e: Verifying Checksum 06:30:56 ed8968b2872e: Download complete 06:30:56 e73272ec9a57: Verifying Checksum 06:30:56 e73272ec9a57: Download complete 06:30:57 1e910a182e73: Verifying Checksum 06:30:57 1e910a182e73: Download complete 06:30:57 df20fa9351a1: Verifying Checksum 06:30:57 df20fa9351a1: Download complete 06:30:58 df20fa9351a1: Pull complete 06:30:58 ed8968b2872e: Pull complete 06:30:58 a92cc7c5fd73: Pull complete 06:31:00 4e634b169226: Verifying Checksum 06:31:00 4e634b169226: Download complete 06:31:03 e871e8e8d7a9: Verifying Checksum 06:31:03 e871e8e8d7a9: Download complete 06:31:13 e871e8e8d7a9: Pull complete 06:31:13 e73272ec9a57: Pull complete 06:31:13 1e910a182e73: Pull complete 06:31:19 4e634b169226: Pull complete 06:31:19 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:31:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:31:19 ---> f7629b54cfaa 06:31:19 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:31:19 ---> Running in 2b297fd96b49 06:31:19 Removing intermediate container 2b297fd96b49 06:31:19 ---> 7154ad66eb9e 06:31:19 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:31:19 ---> Running in 36ad4622e1ff 06:31:21 Removing intermediate container 36ad4622e1ff 06:31:21 ---> 857fc26fe14d 06:31:21 Step 5/8 : RUN apk add --no-cache make git 06:31:21 ---> Running in bb70599502a5 06:31:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:31:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:31:23 OK: 166 MiB in 39 packages 06:31:23 Removing intermediate container bb70599502a5 06:31:23 ---> 3348aed244f1 06:31:23 Step 6/8 : WORKDIR /device-sdk-go 06:31:23 ---> Running in f3fbaedab2bb 06:31:23 Removing intermediate container f3fbaedab2bb 06:31:23 ---> fee1a8577b14 06:31:23 Step 7/8 : COPY . . 06:31:25 ---> 9fa2f5391a10 06:31:25 Step 8/8 : RUN go mod download 06:31:25 ---> Running in 13d0771548b5 06:31:29 Running on prd-ubuntu18.04-docker-arm64-4c-16g-12923 in /w/workspace/dgexfoundry_device-sdk-go_PR-654 [Pipeline] { [Pipeline] ws 06:31:29 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:31:34 using credential edgex-jenkins-ssh 06:31:34 Cloning the remote Git repository 06:31:35 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:31:35 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:31:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:31:35 > git --version # timeout=10 06:31:35 > git --version # 'git version 2.17.1' 06:31:35 using GIT_SSH to set credentials SSH Credentials for GitHub 06:31:35 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:31:36 Merging remotes/origin/master commit 34e320ac99befae92f8b4aae2047dc1351ba020b into PR head commit a1ebbeab82d48a8d36f7543f6be144166dabf546 06:31:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:31:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:31:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:31:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:31:36 using GIT_SSH to set credentials SSH Credentials for GitHub 06:31:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/654/head:refs/remotes/origin/PR-654 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:31:36 > git config core.sparsecheckout # timeout=10 06:31:37 > git checkout -f a1ebbeab82d48a8d36f7543f6be144166dabf546 # timeout=10 06:31:37 Merge succeeded, producing a1ebbeab82d48a8d36f7543f6be144166dabf546 06:31:37 Checking out Revision a1ebbeab82d48a8d36f7543f6be144166dabf546 (PR-654) 06:31:37 > git remote # timeout=10 06:31:37 > git config --get remote.origin.url # timeout=10 06:31:37 using GIT_SSH to set credentials SSH Credentials for GitHub 06:31:37 > git merge 34e320ac99befae92f8b4aae2047dc1351ba020b # timeout=10 06:31:37 > git rev-parse HEAD^{commit} # timeout=10 06:31:37 > git config core.sparsecheckout # timeout=10 06:31:37 > git checkout -f a1ebbeab82d48a8d36f7543f6be144166dabf546 # timeout=10 06:31:41 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" 06:31:41 > git --version # timeout=10 06:31:41 > git --version # 'git version 2.17.1' 06:31:41 fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:31:43 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:31:44 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:31:44 + true 06:31:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:31:47 provisioning config files... 06:31:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8190798023626039254tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:31:47 ---> docker-login.sh 06:31:47 nexus3.edgexfoundry.org:10001 06:31:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:48 Configure a credential helper to remove this warning. See 06:31:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:48 06:31:48 Login Succeeded 06:31:48 nexus3.edgexfoundry.org:10002 06:31:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:49 Configure a credential helper to remove this warning. See 06:31:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:49 06:31:49 Login Succeeded 06:31:49 nexus3.edgexfoundry.org:10003 06:31:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:49 Configure a credential helper to remove this warning. See 06:31:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:49 06:31:49 Login Succeeded 06:31:49 nexus3.edgexfoundry.org:10004 06:31:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:50 Configure a credential helper to remove this warning. See 06:31:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:50 06:31:50 Login Succeeded 06:31:50 docker.io 06:31:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:50 Configure a credential helper to remove this warning. See 06:31:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:50 06:31:50 Login Succeeded 06:31:50 ---> docker-login.sh ends [Pipeline] } 06:31:50 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:31:51 ========================================================= 06:31:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:31:51 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:31:51 + 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 . 06:31:52 Sending build context to Docker daemon 2.356MB 06:31:52 Step 1/8 : ARG BASE=golang:1.15-alpine 06:31:52 Step 2/8 : FROM ${BASE} 06:31:52 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:31:52 b538f80385f9: Pulling fs layer 06:31:52 74f711af9a0d: Pulling fs layer 06:31:52 99f96fe45779: Pulling fs layer 06:31:52 8529a6b9a6be: Pulling fs layer 06:31:52 45590311c82a: Pulling fs layer 06:31:52 69ca0ff8b7b3: Pulling fs layer 06:31:52 209524e5b208: Pulling fs layer 06:31:52 8529a6b9a6be: Waiting 06:31:52 45590311c82a: Waiting 06:31:52 69ca0ff8b7b3: Waiting 06:31:52 209524e5b208: Waiting 06:31:52 99f96fe45779: Verifying Checksum 06:31:52 99f96fe45779: Download complete 06:31:52 74f711af9a0d: Verifying Checksum 06:31:52 74f711af9a0d: Download complete 06:31:52 45590311c82a: Download complete 06:31:52 69ca0ff8b7b3: Verifying Checksum 06:31:52 69ca0ff8b7b3: Download complete 06:31:52 b538f80385f9: Verifying Checksum 06:31:52 b538f80385f9: Download complete 06:31:53 b538f80385f9: Pull complete 06:31:53 74f711af9a0d: Pull complete 06:31:53 99f96fe45779: Pull complete 06:31:54 209524e5b208: Verifying Checksum 06:31:54 209524e5b208: Download complete 06:31:56 8529a6b9a6be: Verifying Checksum 06:31:56 8529a6b9a6be: Download complete 06:31:57 Removing intermediate container 13d0771548b5 06:31:57 ---> 00e66e70890c 06:31:57 Successfully built 00e66e70890c 06:31:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:31:58 + docker inspect -f . ci-base-image-x86_64 06:31:58 . [Pipeline] withDockerContainer 06:31:58 prd-centos7-docker-4c-2g-12922 does not seem to be running inside a container 06:31:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 06:32:00 $ docker top 4a36d614c2151a4dc675da628e97c1e868d19cc7ee6b1cdceeb33d08b1c819da -eo pid,comm [Pipeline] { [Pipeline] sh 06:32:01 + go version 06:32:01 go version go1.15.2 linux/amd64 [Pipeline] } 06:32:01 $ docker stop --time=1 4a36d614c2151a4dc675da628e97c1e868d19cc7ee6b1cdceeb33d08b1c819da 06:32:02 $ docker rm -f 4a36d614c2151a4dc675da628e97c1e868d19cc7ee6b1cdceeb33d08b1c819da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:32:04 + docker inspect -f . ci-base-image-x86_64 06:32:04 . [Pipeline] withDockerContainer 06:32:04 prd-centos7-docker-4c-2g-12922 does not seem to be running inside a container 06:32:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 06:32:05 $ docker top d2e46138da25ef8fe92f9acd491f8a49a8c65d008846c5dbb376da102e5eee7f -eo pid,comm [Pipeline] { [Pipeline] sh 06:32:06 + make test 06:32:06 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:32:06 8529a6b9a6be: Pull complete 06:32:06 45590311c82a: Pull complete 06:32:06 69ca0ff8b7b3: Pull complete 06:32:10 209524e5b208: Pull complete 06:32:10 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:32:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:32:10 ---> 5bddaf1c2fca 06:32:10 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:32:14 ---> Running in 3252f8b6b9ab 06:32:14 Removing intermediate container 3252f8b6b9ab 06:32:14 ---> b664a71013bf 06:32:14 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:32:14 ---> Running in 66e419d77203 06:32:16 Removing intermediate container 66e419d77203 06:32:16 ---> 1da686b39aaa 06:32:16 Step 5/8 : RUN apk add --no-cache make git 06:32:17 ---> Running in f0e2667709ec 06:32:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:32:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:32:19 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:32:20 OK: 142 MiB in 39 packages 06:32:21 Removing intermediate container f0e2667709ec 06:32:21 ---> c968bb11ff20 06:32:21 Step 6/8 : WORKDIR /device-sdk-go 06:32:21 ---> Running in f766913053f2 06:32:21 Removing intermediate container f766913053f2 06:32:21 ---> 6c09f1e6c6e9 06:32:21 Step 7/8 : COPY . . 06:32:23 ---> 10f96e93e407 06:32:23 Step 8/8 : RUN go mod download 06:32:23 ---> Running in d2c35eba079a 06:32:42 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:32:42 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:32:42 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:32:42 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.109s coverage: 20.6% of statements 06:32:43 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.788s coverage: 97.1% of statements 06:32:45 Removing intermediate container d2c35eba079a 06:32:45 ---> 41383bbf538c 06:32:45 Successfully built 41383bbf538c 06:32:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:32:45 + docker inspect -f . ci-base-image-arm64 06:32:45 . [Pipeline] withDockerContainer 06:32:46 prd-ubuntu18.04-docker-arm64-4c-16g-12923 does not seem to be running inside a container 06:32:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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-arm64 cat 06:32:48 $ docker top 0876199f8f3a7ed98c72f0e5551e8fd842ebc6f968236de3344d111359367b88 -eo pid,comm [Pipeline] { [Pipeline] sh 06:32:49 + go version 06:32:49 go version go1.15.2 linux/arm64 [Pipeline] } 06:32:49 $ docker stop --time=1 0876199f8f3a7ed98c72f0e5551e8fd842ebc6f968236de3344d111359367b88 06:32:51 $ docker rm -f 0876199f8f3a7ed98c72f0e5551e8fd842ebc6f968236de3344d111359367b88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:32:53 + docker inspect -f . ci-base-image-arm64 06:32:53 . [Pipeline] withDockerContainer 06:32:53 prd-ubuntu18.04-docker-arm64-4c-16g-12923 does not seem to be running inside a container 06:32:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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-arm64 cat 06:32:55 $ docker top 7fcc3a2d2369fd83b0df2f8fb849f2e869bb348da87f4f281dac25ac60f29dd9 -eo pid,comm [Pipeline] { [Pipeline] sh 06:32:56 + make test 06:32:56 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:33:16 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.104s coverage: 9.4% of statements 06:33:16 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.089s coverage: 21.9% of statements 06:33:16 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:33:16 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.306s coverage: 42.5% of statements 06:33:16 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:33:16 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.412s coverage: 68.9% of statements 06:33:16 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:33:16 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:33:16 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:33:16 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:33:16 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.083s coverage: 52.6% of statements 06:33:16 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 06:33:16 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 06:33:16 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:33:16 ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.642s coverage: 68.9% of statements 06:33:16 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.121s coverage: 4.7% of statements 06:33:16 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:33:16 GO111MODULE=on go vet ./... 06:33:19 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:33:31 gofmt -l . 06:33:31 [ "`gofmt -l .`" = "" ] 06:33:31 ./bin/test-attribution-txt.sh 06:33:31 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:33:32 $ docker stop --time=1 d2e46138da25ef8fe92f9acd491f8a49a8c65d008846c5dbb376da102e5eee7f 06:33:34 $ docker rm -f d2e46138da25ef8fe92f9acd491f8a49a8c65d008846c5dbb376da102e5eee7f [Pipeline] // withDockerContainer [Pipeline] sh 06:33:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:33:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:33:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:33:38 + ls -al . 06:33:38 total 208 06:33:38 drwxrwxr-x. 10 jenkins jenkins 4096 Nov 20 06:33 . 06:33:38 drwxrwxr-x. 4 jenkins jenkins 28 Nov 20 06:30 .. 06:33:38 drwxrwxr-x. 2 jenkins jenkins 64 Nov 20 06:30 bin 06:33:38 -rw-r--r--. 1 jenkins jenkins 127610 Nov 20 06:33 coverage.out 06:33:38 -rw-rw-r--. 1 jenkins jenkins 936 Nov 20 06:30 Dockerfile.build 06:33:38 -rw-rw-r--. 1 jenkins jenkins 140 Nov 20 06:30 .dockerignore 06:33:38 drwxrwxr-x. 4 jenkins jenkins 48 Nov 20 06:30 example 06:33:38 drwxrwxr-x. 8 jenkins jenkins 179 Nov 20 06:30 .git 06:33:38 drwxrwxr-x. 2 jenkins jenkins 60 Nov 20 06:30 .github 06:33:38 -rw-rw-r--. 1 jenkins jenkins 138 Nov 20 06:30 .gitignore 06:33:38 -rw-r--r--. 1 jenkins jenkins 518 Nov 20 06:33 go.mod 06:33:38 -rw-r--r--. 1 jenkins jenkins 13546 Nov 20 06:33 go.sum 06:33:38 drwxrwxr-x. 15 jenkins jenkins 211 Nov 20 06:30 internal 06:33:38 -rw-rw-r--. 1 jenkins jenkins 901 Nov 20 06:30 Jenkinsfile 06:33:38 -rw-rw-r--. 1 jenkins jenkins 11341 Nov 20 06:30 LICENSE 06:33:38 -rw-rw-r--. 1 jenkins jenkins 1013 Nov 20 06:30 Makefile 06:33:38 drwxrwxr-x. 4 jenkins jenkins 26 Nov 20 06:30 openapi 06:33:38 drwxrwxr-x. 5 jenkins jenkins 50 Nov 20 06:30 pkg 06:33:38 -rw-rw-r--. 1 jenkins jenkins 5897 Nov 20 06:30 README.md 06:33:38 -rw-rw-r--. 1 jenkins jenkins 4291 Nov 20 06:30 RELEASE-NOTES.txt 06:33:38 drwxrwxr-x. 4 jenkins jenkins 54 Nov 20 06:30 snap 06:33:38 -rw-rw-r--. 1 jenkins jenkins 5 Nov 20 06:27 VERSION 06:33:38 -rw-rw-r--. 1 jenkins jenkins 222 Nov 20 06:30 version.go [Pipeline] isUnix [Pipeline] sh 06:33:38 + 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=a1ebbeab82d48a8d36f7543f6be144166dabf546 --label arch=amd64 --label version=0.0.0 . 06:33:39 Sending build context to Docker daemon 2.484MB 06:33:39 Step 1/24 : ARG BASE=golang:1.15-alpine 06:33:39 Step 2/24 : FROM ${BASE} AS builder 06:33:39 ---> 00e66e70890c 06:33:39 Step 3/24 : ARG MAKE='make build' 06:33:39 ---> Running in db706bc525d8 06:33:39 Removing intermediate container db706bc525d8 06:33:39 ---> 841a45d90b31 06:33:39 Step 4/24 : WORKDIR /device-sdk-go 06:33:40 ---> Running in 1959708e8e05 06:33:40 Removing intermediate container 1959708e8e05 06:33:40 ---> 56c63e5027c9 06:33:40 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:33:41 ---> Running in cd966667c402 06:33:41 Removing intermediate container cd966667c402 06:33:41 ---> 9280212d197f 06:33:41 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:33:41 ---> Running in e1797db449dd 06:33:43 Removing intermediate container e1797db449dd 06:33:43 ---> 5b481ef49379 06:33:43 Step 7/24 : RUN apk add --update --no-cache make git 06:33:43 ---> Running in 1485eae1ba61 06:33:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:33:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:33:46 OK: 166 MiB in 39 packages 06:33:47 Removing intermediate container 1485eae1ba61 06:33:47 ---> 948513f6b4a6 06:33:47 Step 8/24 : COPY . . 06:33:48 ---> 176a143ea5dc 06:33:48 Step 9/24 : RUN ${MAKE} 06:33:48 ---> Running in e1bbc233806c 06:33:49 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 06:33:58 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:33:58 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:33:58 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:33:58 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.149s coverage: 20.6% of statements 06:34:03 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.172s coverage: 97.1% of statements 06:34:05 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:34:05 Removing intermediate container e1bbc233806c 06:34:05 ---> f8bacd209070 06:34:05 Step 10/24 : FROM scratch 06:34:05 ---> 06:34:05 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:34:05 ---> Running in eb989fd9bf4a 06:34:06 Removing intermediate container eb989fd9bf4a 06:34:06 ---> 6931fdd4e203 06:34:06 Step 12/24 : ENV APP_PORT=49990 06:34:06 ---> Running in 1a0bee40b1d3 06:34:06 Removing intermediate container 1a0bee40b1d3 06:34:06 ---> 419db25dbc98 06:34:06 Step 13/24 : EXPOSE $APP_PORT 06:34:06 ---> Running in 8fddb02a2f37 06:34:06 Removing intermediate container 8fddb02a2f37 06:34:06 ---> 934e2e6403da 06:34:06 Step 14/24 : WORKDIR / 06:34:06 ---> Running in 9ca6f27b590a 06:34:07 Removing intermediate container 9ca6f27b590a 06:34:07 ---> b3464812fdfb 06:34:07 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:34:08 ---> e7cdbe78a915 06:34:08 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:34:08 ---> 6de0500a0ba1 06:34:08 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:34:09 ---> bcb70e3e0e48 06:34:09 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:34:09 ---> ab61cab3ea79 06:34:09 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:34:10 ---> d93cd8be586e 06:34:10 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:34:10 ---> Running in 96d5e9fabb52 06:34:10 Removing intermediate container 96d5e9fabb52 06:34:10 ---> 936992e130ad 06:34:10 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:34:10 ---> Running in 19588ead6af8 06:34:10 Removing intermediate container 19588ead6af8 06:34:10 ---> 195deb6cb6df 06:34:10 Step 22/24 : LABEL arch=amd64 06:34:10 ---> Running in 43f50320cbf0 06:34:10 Removing intermediate container 43f50320cbf0 06:34:10 ---> 66390e890015 06:34:10 Step 23/24 : LABEL git_sha=a1ebbeab82d48a8d36f7543f6be144166dabf546 06:34:10 ---> Running in 9ee7029cd315 06:34:11 Removing intermediate container 9ee7029cd315 06:34:11 ---> 04a73e0408df 06:34:11 Step 24/24 : LABEL version=0.0.0 06:34:11 ---> Running in a0e3c818870e 06:34:11 Removing intermediate container a0e3c818870e 06:34:11 ---> c914650aea17 06:34:11 [Warning] One or more build-args [ARCH] were not consumed 06:34:11 Successfully built c914650aea17 06:34:11 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] } 06:34:30 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.144s coverage: 9.4% of statements 06:34:30 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.113s coverage: 21.9% of statements 06:34:30 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:34:30 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.597s coverage: 42.5% of statements 06:34:30 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:34:30 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.773s coverage: 68.9% of statements 06:34:30 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:34:30 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:34:30 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:34:30 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:34:30 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.195s coverage: 52.6% of statements 06:34:30 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 06:34:30 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 06:34:30 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:34:30 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.695s coverage: 68.9% of statements 06:34:30 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.134s coverage: 4.7% of statements 06:34:30 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:34:30 GO111MODULE=on go vet ./... 06:35:02 gofmt -l . 06:35:02 [ "`gofmt -l .`" = "" ] 06:35:02 ./bin/test-attribution-txt.sh 06:35:02 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:35:02 $ docker stop --time=1 7fcc3a2d2369fd83b0df2f8fb849f2e869bb348da87f4f281dac25ac60f29dd9 06:35:05 $ docker rm -f 7fcc3a2d2369fd83b0df2f8fb849f2e869bb348da87f4f281dac25ac60f29dd9 [Pipeline] // withDockerContainer [Pipeline] sh 06:35:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:35:06 Warning: overwriting stash ‘coverage-report’ 06:35:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:35:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:35:08 + ls -al . 06:35:08 total 244 06:35:08 drwxrwxr-x 10 jenkins jenkins 4096 Nov 20 06:35 . 06:35:08 drwxrwxr-x 4 jenkins jenkins 4096 Nov 20 06:31 .. 06:35:08 -rw-rw-r-- 1 jenkins jenkins 140 Nov 20 06:31 .dockerignore 06:35:08 drwxrwxr-x 8 jenkins jenkins 4096 Nov 20 06:31 .git 06:35:08 drwxrwxr-x 2 jenkins jenkins 4096 Nov 20 06:31 .github 06:35:08 -rw-rw-r-- 1 jenkins jenkins 138 Nov 20 06:31 .gitignore 06:35:08 -rw-rw-r-- 1 jenkins jenkins 936 Nov 20 06:31 Dockerfile.build 06:35:08 -rw-rw-r-- 1 jenkins jenkins 901 Nov 20 06:31 Jenkinsfile 06:35:08 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 20 06:31 LICENSE 06:35:08 -rw-rw-r-- 1 jenkins jenkins 1013 Nov 20 06:31 Makefile 06:35:08 -rw-rw-r-- 1 jenkins jenkins 5897 Nov 20 06:31 README.md 06:35:08 -rw-rw-r-- 1 jenkins jenkins 4291 Nov 20 06:31 RELEASE-NOTES.txt 06:35:08 -rw-rw-r-- 1 jenkins jenkins 5 Nov 20 06:27 VERSION 06:35:08 drwxrwxr-x 2 jenkins jenkins 4096 Nov 20 06:31 bin 06:35:08 -rw-r--r-- 1 jenkins jenkins 127610 Nov 20 06:34 coverage.out 06:35:08 drwxrwxr-x 4 jenkins jenkins 4096 Nov 20 06:31 example 06:35:08 -rw-r--r-- 1 jenkins jenkins 518 Nov 20 06:35 go.mod 06:35:08 -rw-r--r-- 1 jenkins jenkins 13546 Nov 20 06:35 go.sum 06:35:08 drwxrwxr-x 15 jenkins jenkins 4096 Nov 20 06:31 internal 06:35:08 drwxrwxr-x 4 jenkins jenkins 4096 Nov 20 06:31 openapi 06:35:08 drwxrwxr-x 5 jenkins jenkins 4096 Nov 20 06:31 pkg 06:35:08 drwxrwxr-x 4 jenkins jenkins 4096 Nov 20 06:31 snap 06:35:08 -rw-rw-r-- 1 jenkins jenkins 222 Nov 20 06:31 version.go [Pipeline] isUnix [Pipeline] sh 06:35:09 + 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=a1ebbeab82d48a8d36f7543f6be144166dabf546 --label arch=arm64 --label version=0.0.0 . 06:35:09 Sending build context to Docker daemon 2.484MB 06:35:09 Step 1/24 : ARG BASE=golang:1.15-alpine 06:35:09 Step 2/24 : FROM ${BASE} AS builder 06:35:09 ---> 41383bbf538c 06:35:09 Step 3/24 : ARG MAKE='make build' 06:35:09 ---> Running in 9ca58ae7becb 06:35:10 Removing intermediate container 9ca58ae7becb 06:35:10 ---> b2dc4d00fced 06:35:10 Step 4/24 : WORKDIR /device-sdk-go 06:35:10 ---> Running in 5f93bb5b7899 06:35:11 Removing intermediate container 5f93bb5b7899 06:35:11 ---> 83747a39054c 06:35:11 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:35:11 ---> Running in f97f61c085d3 06:35:11 Removing intermediate container f97f61c085d3 06:35:11 ---> b623b253457d 06:35:11 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:35:11 ---> Running in 1a1b73eced1f 06:35:14 Removing intermediate container 1a1b73eced1f 06:35:14 ---> c8d2c3d5c57c 06:35:14 Step 7/24 : RUN apk add --update --no-cache make git 06:35:14 ---> Running in 352ff4db8ea3 06:35:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:35:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:35:17 OK: 142 MiB in 39 packages 06:35:18 Removing intermediate container 352ff4db8ea3 06:35:18 ---> 9622090dad9a 06:35:18 Step 8/24 : COPY . . 06:35:19 ---> e626472627b9 06:35:19 Step 9/24 : RUN ${MAKE} 06:35:20 ---> Running in 0df28bb98e75 06:35:21 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 06:35:48 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:35:48 Removing intermediate container 0df28bb98e75 06:35:48 ---> b9f955fadedf 06:35:48 Step 10/24 : FROM scratch 06:35:48 ---> 06:35:48 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:35:49 ---> Running in 4bc7ab134d4c 06:35:49 Removing intermediate container 4bc7ab134d4c 06:35:49 ---> 3d41bfc7332a 06:35:49 Step 12/24 : ENV APP_PORT=49990 06:35:49 ---> Running in 72ed3627614c 06:35:50 Removing intermediate container 72ed3627614c 06:35:50 ---> 03a72614d4d8 06:35:50 Step 13/24 : EXPOSE $APP_PORT 06:35:50 ---> Running in 7dc02e1d934d 06:35:50 Removing intermediate container 7dc02e1d934d 06:35:50 ---> f2c1e91e2310 06:35:50 Step 14/24 : WORKDIR / 06:35:50 ---> Running in cc91b21ee3fc 06:35:50 Removing intermediate container cc91b21ee3fc 06:35:50 ---> c5c330070078 06:35:50 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:35:51 ---> 7324ed7e9aa6 06:35:51 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:35:52 ---> b201b2a4aa2a 06:35:52 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:35:53 ---> c72b4355b338 06:35:53 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:35:54 ---> f799f4cdcecf 06:35:54 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:35:54 ---> 7af37243f61e 06:35:54 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:35:54 ---> Running in 617d6dd378b0 06:35:55 Removing intermediate container 617d6dd378b0 06:35:55 ---> 8e5d72aa663f 06:35:55 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:35:55 ---> Running in b5040309213d 06:35:55 Removing intermediate container b5040309213d 06:35:55 ---> 091fef0ba295 06:35:55 Step 22/24 : LABEL arch=arm64 06:35:55 ---> Running in 5d41b23efbc3 06:35:56 Removing intermediate container 5d41b23efbc3 06:35:56 ---> 04f6635064dc 06:35:56 Step 23/24 : LABEL git_sha=a1ebbeab82d48a8d36f7543f6be144166dabf546 06:35:56 ---> Running in 370265e66992 06:35:57 Removing intermediate container 370265e66992 06:35:57 ---> a4f75fd5e571 06:35:57 Step 24/24 : LABEL version=0.0.0 06:35:57 ---> Running in acb3c1fe3766 06:35:57 Removing intermediate container acb3c1fe3766 06:35:57 ---> 8fa7437b2229 06:35:57 [Warning] One or more build-args [ARCH] were not consumed 06:35:57 Successfully built 8fa7437b2229 06:35:57 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] } [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 06:36:00 provisioning config files... 06:36:00 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-654@tmp/config2247534882599797990tmp [Pipeline] { [Pipeline] sh 06:36:01 + set +x 06:36:01 + curl -s https://codecov.io/bash 06:36:01 + bash -s -- 06:36:01 06:36:01 _____ _ 06:36:01 / ____| | | 06:36:01 | | ___ __| | ___ ___ _____ __ 06:36:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:36:01 | |___| (_) | (_| | __/ (_| (_) \ V / 06:36:01 \_____\___/ \__,_|\___|\___\___/ \_/ 06:36:01 Bash-20201116-eea08d9 06:36:01 06:36:01 06:36:01 ==> Jenkins CI detected. 06:36:01 project root: . 06:36:01 --> token set from env 06:36:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:36:01 ==> Running gcov in . (disable via -X gcov) 06:36:01 ==> Python coveragepy not found 06:36:01 ==> Searching for coverage reports in: 06:36:01 + . 06:36:01 -> Found 1 reports 06:36:01 ==> Detecting git/mercurial file structure 06:36:01 ==> Reading reports 06:36:01 + ./coverage.out bytes=127610 06:36:01 ==> Appending adjustments 06:36:01 https://docs.codecov.io/docs/fixing-reports 06:36:02 + Found adjustments 06:36:02 ==> Gzipping contents 06:36:02 ==> Uploading reports 06:36:02 url: https://codecov.io 06:36:02 query: branch=PR-654&commit=a1ebbeab82d48a8d36f7543f6be144166dabf546&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-654%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=654&job=&cmd_args= 06:36:02 -> Pinging Codecov 06:36:02 https://codecov.io/upload/v4?package=bash-20201116-eea08d9&token=secret&branch=PR-654&commit=a1ebbeab82d48a8d36f7543f6be144166dabf546&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-654%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=654&job=&cmd_args= 06:36:02 -> Uploading to 06:36:02 https://storage.googleapis.com/codecov/v4/raw/2020-11-20/7E55EF52A471D76F132DFD9A03CDDE97/a1ebbeab82d48a8d36f7543f6be144166dabf546/4b054988-6565-4190-aacf-cd837866792d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201120%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201120T063602Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eb22c635bb2a171d456408af0b20569ccc00a6dbe31c35365fc334bd985e0103 06:36:02 % Total % Received % Xferd Average Speed Time Time Time Current 06:36:02 Dload Upload Total Spent Left Speed 06:36:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20882 0 0 100 20882 0 54237 --:--:-- --:--:-- --:--:-- 54238 100 20882 0 0 100 20882 0 54212 --:--:-- --:--:-- --:--:-- 54238 06:36:02 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a1ebbeab82d48a8d36f7543f6be144166dabf546 [Pipeline] } 06:36:02 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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 06:36:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:36:07 ---> package-listing.sh 06:36:07 ++ facter osfamily 06:36:07 ++ tr '[:upper:]' '[:lower:]' 06:36:07 + OS_FAMILY=redhat 06:36:07 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-654 06:36:07 + START_PACKAGES=/tmp/packages_start.txt 06:36:07 + END_PACKAGES=/tmp/packages_end.txt 06:36:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:36:07 + PACKAGES=/tmp/packages_start.txt 06:36:07 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-654 ']' 06:36:07 + PACKAGES=/tmp/packages_end.txt 06:36:07 + case "${OS_FAMILY}" in 06:36:07 + rpm -qa 06:36:07 + sort 06:36:11 + '[' -f /tmp/packages_start.txt ']' 06:36:11 + '[' -f /tmp/packages_end.txt ']' 06:36:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:36:11 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-654 ']' 06:36:11 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-654/archives/ 06:36:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-654/archives/ [Pipeline] echo 06:36:11 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-654/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:36:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:36:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:36:12 06:36:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:36:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:36:13 alpine: Pulling from edgex-lftools-log-publisher 06:36:13 df20fa9351a1: Pulling fs layer 06:36:13 36b3adc4ff6f: Pulling fs layer 06:36:13 8ad3a11d3b57: Pulling fs layer 06:36:13 46f8f816bc3b: Pulling fs layer 06:36:13 93b61091891f: Pulling fs layer 06:36:13 93b9cdb0e59b: Pulling fs layer 06:36:13 5e14af77c1be: Pulling fs layer 06:36:13 01666e4c0597: Pulling fs layer 06:36:13 aa168da1d23b: Pulling fs layer 06:36:13 46f8f816bc3b: Waiting 06:36:13 93b61091891f: Waiting 06:36:13 93b9cdb0e59b: Waiting 06:36:13 01666e4c0597: Waiting 06:36:13 5e14af77c1be: Waiting 06:36:13 aa168da1d23b: Waiting 06:36:13 36b3adc4ff6f: Download complete 06:36:13 46f8f816bc3b: Verifying Checksum 06:36:13 46f8f816bc3b: Download complete 06:36:13 df20fa9351a1: Verifying Checksum 06:36:13 93b9cdb0e59b: Verifying Checksum 06:36:13 93b9cdb0e59b: Download complete 06:36:13 5e14af77c1be: Verifying Checksum 06:36:13 5e14af77c1be: Download complete 06:36:13 01666e4c0597: Verifying Checksum 06:36:13 01666e4c0597: Download complete 06:36:13 93b61091891f: Verifying Checksum 06:36:13 df20fa9351a1: Pull complete 06:36:13 8ad3a11d3b57: Verifying Checksum 06:36:13 8ad3a11d3b57: Download complete 06:36:14 36b3adc4ff6f: Pull complete 06:36:14 8ad3a11d3b57: Pull complete 06:36:14 46f8f816bc3b: Pull complete 06:36:15 93b61091891f: Pull complete 06:36:15 aa168da1d23b: Verifying Checksum 06:36:15 aa168da1d23b: Download complete 06:36:15 93b9cdb0e59b: Pull complete 06:36:15 5e14af77c1be: Pull complete 06:36:15 01666e4c0597: Pull complete 06:36:23 aa168da1d23b: Pull complete 06:36:23 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:36:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:36:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:36:24 prd-centos7-docker-4c-2g-12919 does not seem to be running inside a container 06:36:24 $ 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-654/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-654 -v /w/workspace/dgexfoundry_device-sdk-go_PR-654:/w/workspace/dgexfoundry_device-sdk-go_PR-654:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-654@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-654@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:10003/edgex-lftools-log-publisher:alpine cat 06:36:28 $ docker top f37f86f3fc9049411ab0cc821e4f71d515acc86e0c734693cea12118bc0e710e -eo pid,comm [Pipeline] { [Pipeline] sh 06:36:28 + touch /tmp/pre-build-complete [Pipeline] sh 06:36:28 + mkdir -p /var/log/sa [Pipeline] sh 06:36:29 + ls /var/log/sa-host 06:36:29 + sadf -c /var/log/sa-host/sa05 06:36:29 file_magic: OK 06:36:29 HZ: Using current value: 100 06:36:29 file_header: OK 06:36:29 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 06:36:29 Statistics: 06:36:29 Hnuu...uuuununununu...Hnuu...uuuununununu... 06:36:29 File successfully converted to sysstat format version 12.2.1 06:36:29 + sadf -c /var/log/sa-host/sa20 06:36:29 file_magic: OK 06:36:29 HZ: Using current value: 100 06:36:29 file_header: OK 06:36:29 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 06:36:29 Statistics: 06:36:29 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:36:29 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:36:29 provisioning config files... 06:36:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-654@tmp/config6033839838717522639tmp [Pipeline] { [Pipeline] echo 06:36:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:36:30 ---> create-netrc.sh [Pipeline] } 06:36:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:36:30 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:36:30 ---> python-tools-install.sh [Pipeline] echo 06:36:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:36:30 ---> sudo-logs.sh 06:36:30 Archiving 'sudo' log.. [Pipeline] echo 06:36:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:36:31 ---> job-cost.sh 06:36:31 lf-activate-venv: SKIPPING 06:36:31 INFO: No Stack... 06:36:32 INFO: Retrieving Pricing Info for: v1-standard-2 06:36:33 INFO: Archiving Costs [Pipeline] echo 06:36:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:36:33 ---> logs-deploy.sh 06:36:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-654/1 06:36:33 INFO: archiving workspace using pattern(s): 06:36:35 Archives upload complete. 06:36:35 INFO: archiving logs to Nexus 06:36:36 ---> uname -a: 06:36:36 Linux prd-centos7-docker-4c-2g-12919.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 06:36:36 06:36:36 06:36:36 ---> lscpu: 06:36:36 Architecture: x86_64 06:36:36 CPU op-mode(s): 32-bit, 64-bit 06:36:36 Byte Order: Little Endian 06:36:36 Address sizes: 40 bits physical, 48 bits virtual 06:36:36 CPU(s): 4 06:36:36 On-line CPU(s) list: 0-3 06:36:36 Thread(s) per core: 1 06:36:36 Core(s) per socket: 1 06:36:36 Socket(s): 4 06:36:36 NUMA node(s): 1 06:36:36 Vendor ID: GenuineIntel 06:36:36 CPU family: 6 06:36:36 Model: 44 06:36:36 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 06:36:36 Stepping: 1 06:36:36 CPU MHz: 2933.438 06:36:36 BogoMIPS: 5866.87 06:36:36 Virtualization: VT-x 06:36:36 Hypervisor vendor: KVM 06:36:36 Virtualization type: full 06:36:36 L1d cache: 128 KiB 06:36:36 L1i cache: 128 KiB 06:36:36 L2 cache: 16 MiB 06:36:36 L3 cache: 64 MiB 06:36:36 NUMA node0 CPU(s): 0-3 06:36:36 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 06:36:36 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 06:36:36 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 06:36:36 Vulnerability Meltdown: Mitigation; PTI 06:36:36 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:36:36 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:36:36 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:36:36 Vulnerability Tsx async abort: Not affected 06:36:36 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 06:36:36 06:36:36 06:36:36 ---> nproc: 06:36:36 4 06:36:36 06:36:36 06:36:36 ---> df -h: 06:36:36 Filesystem Size Used Available Use% Mounted on 06:36:36 overlay 50.0G 7.2G 42.8G 14% / 06:36:36 tmpfs 64.0M 0 64.0M 0% /dev 06:36:36 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 06:36:36 shm 64.0M 0 64.0M 0% /dev/shm 06:36:36 /dev/vda1 50.0G 7.2G 42.8G 14% /facter-os 06:36:36 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/resolv.conf 06:36:36 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hostname 06:36:36 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hosts 06:36:36 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/secure 06:36:36 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/auth.log 06:36:36 /dev/vda1 50.0G 7.2G 42.8G 14% /run/cloud-init/result.json 06:36:36 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-654 06:36:36 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-654@tmp 06:36:36 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/sa-host 06:36:36 06:36:36 06:36:36 ---> free -m: 06:36:36 total used free shared buff/cache available 06:36:36 Mem: 1837 667 98 0 1071 1067 06:36:36 Swap: 1023 1 1022 06:36:36 06:36:36 06:36:36 ---> ip addr: 06:36:36 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 06:36:36 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 06:36:36 inet 127.0.0.1/8 scope host lo 06:36:36 valid_lft forever preferred_lft forever 06:36:36 inet6 ::1/128 scope host 06:36:36 valid_lft forever preferred_lft forever 06:36:36 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 06:36:36 link/ether fa:16:3e:7e:33:d6 brd ff:ff:ff:ff:ff:ff 06:36:36 inet 10.30.122.182/23 brd 10.30.123.255 scope global dynamic eth0 06:36:36 valid_lft 85807sec preferred_lft 85807sec 06:36:36 inet6 fe80::f816:3eff:fe7e:33d6/64 scope link 06:36:36 valid_lft forever preferred_lft forever 06:36:36 3: docker0: mtu 1500 qdisc noqueue state DOWN 06:36:36 link/ether 02:42:34:41:c0:f1 brd ff:ff:ff:ff:ff:ff 06:36:36 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 06:36:36 valid_lft forever preferred_lft forever 06:36:36 inet6 fe80::42:34ff:fe41:c0f1/64 scope link 06:36:36 valid_lft forever preferred_lft forever 06:36:36 06:36:36 06:36:36 ---> sar -b -r -n DEV: 06:36:36 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 11/20/20 _x86_64_ (4 CPU) 06:36:36 06:36:36 06:26:25 LINUX RESTART (4 CPU) 06:36:36 06:36:36 06:27:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:36:36 06:28:01 65.91 19.99 45.92 0.00 5389.08 5004.56 0.00 06:36:36 06:29:02 1.60 0.00 1.60 0.00 0.00 27.68 0.00 06:36:36 06:30:01 0.17 0.00 0.17 0.00 0.00 1.91 0.00 06:36:36 06:31:01 0.32 0.00 0.32 0.00 0.00 3.66 0.00 06:36:36 06:32:01 0.20 0.00 0.20 0.00 0.00 2.65 0.00 06:36:36 06:33:01 0.33 0.00 0.33 0.00 0.00 5.00 0.00 06:36:36 06:34:01 0.25 0.02 0.23 0.00 0.13 2.96 0.00 06:36:36 06:35:01 0.15 0.00 0.15 0.00 0.00 2.10 0.00 06:36:36 06:36:01 0.47 0.08 0.38 0.00 8.26 9.31 0.00 06:36:36 Average: 7.73 2.24 5.49 0.00 601.18 563.56 0.00 06:36:36 06:36:36 06:27:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:36:36 06:28:01 168132 0 553852 29.44 2620 1156952 1112072 37.95 412064 1140000 132 06:36:36 06:29:02 174596 0 547380 29.09 2620 1156960 1070508 36.53 410868 1136008 12 06:36:36 06:30:01 174328 0 547640 29.11 2620 1156968 1070652 36.54 411720 1135952 8 06:36:36 06:31:01 172160 0 549808 29.22 2620 1156968 1070676 36.54 413940 1135724 16 06:36:36 06:32:01 171776 0 550184 29.24 2620 1156976 1070724 36.54 416764 1133184 8 06:36:36 06:33:01 172260 0 549696 29.21 2620 1156980 1070616 36.54 416160 1133184 12 06:36:36 06:34:01 172284 0 549664 29.21 2620 1156988 1070640 36.54 416304 1133184 20 06:36:36 06:35:01 172500 0 549444 29.20 2620 1156992 1070664 36.54 409088 1140552 12 06:36:36 06:36:01 163444 0 558124 29.66 2620 1157368 1073108 36.62 411560 1140800 8 06:36:36 Average: 171276 0 550644 29.27 2620 1157017 1075518 36.71 413163 1136510 25 06:36:36 06:36:36 06:27:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:36:36 06:28:01 eth0 495.22 328.70 1065.65 92.88 0.00 0.00 0.00 0.00 06:36:36 06:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:36:36 06:28:01 docker0 8.64 7.41 1.30 20.24 0.00 0.00 0.00 0.00 06:36:36 06:29:02 eth0 0.92 0.08 0.07 0.01 0.00 0.00 0.00 0.00 06:36:36 06:29:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:36:36 06:29:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:36:36 06:30:01 eth0 1.39 0.41 0.37 0.21 0.00 0.00 0.00 0.00 06:36:36 06:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:36:36 06:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:36:36 06:31:01 eth0 1.75 0.60 0.60 0.40 0.00 0.00 0.00 0.00 06:36:36 06:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:36:36 06:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:36:36 06:32:01 eth0 0.58 0.33 0.27 0.20 0.00 0.00 0.00 0.00 06:36:36 06:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:36:36 06:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:36:36 06:33:01 eth0 1.85 0.58 0.66 0.28 0.00 0.00 0.00 0.00 06:36:36 06:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:36:36 06:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:36:36 06:34:01 eth0 1.45 0.33 0.35 0.20 0.00 0.00 0.00 0.00 06:36:36 06:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:36:36 06:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:36:36 06:35:01 eth0 1.63 0.57 0.61 0.40 0.00 0.00 0.00 0.00 06:36:36 06:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:36:36 06:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:36:36 06:36:01 eth0 3.66 2.00 3.25 0.88 0.00 0.00 0.00 0.00 06:36:36 06:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:36:36 06:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:36:36 Average: eth0 56.63 37.16 119.38 10.63 0.00 0.00 0.00 0.00 06:36:36 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:36:36 Average: docker0 0.96 0.82 0.15 2.25 0.00 0.00 0.00 0.00 06:36:36 06:36:36 06:36:36 ---> sar -P ALL: 06:36:36 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 11/20/20 _x86_64_ (4 CPU) 06:36:36 06:36:36 06:26:25 LINUX RESTART (4 CPU) 06:36:36 06:36:36 06:27:01 CPU %user %nice %system %iowait %steal %idle 06:36:36 06:28:01 all 12.72 0.00 4.68 1.81 0.02 80.77 06:36:36 06:28:01 0 11.37 0.00 6.11 0.69 0.02 81.81 06:36:36 06:28:01 1 15.09 0.00 4.24 2.36 0.02 78.29 06:36:36 06:28:01 2 12.51 0.00 3.95 0.84 0.02 82.69 06:36:36 06:28:01 3 11.89 0.00 4.43 3.36 0.03 80.29 06:36:36 06:29:02 all 0.17 0.00 0.04 0.00 0.00 99.79 06:36:36 06:29:02 0 0.03 0.00 0.03 0.00 0.00 99.93 06:36:36 06:29:02 1 0.05 0.00 0.02 0.00 0.00 99.93 06:36:36 06:29:02 2 0.08 0.00 0.07 0.00 0.00 99.85 06:36:36 06:29:02 3 0.52 0.00 0.03 0.00 0.00 99.45 06:36:36 06:30:01 all 0.14 0.00 0.03 0.00 0.00 99.83 06:36:36 06:30:01 0 0.02 0.00 0.05 0.00 0.00 99.93 06:36:36 06:30:01 1 0.05 0.00 0.03 0.00 0.00 99.92 06:36:36 06:30:01 2 0.49 0.00 0.03 0.00 0.00 99.47 06:36:36 06:30:01 3 0.02 0.00 0.00 0.00 0.00 99.98 06:36:36 06:31:01 all 0.11 0.00 0.05 0.00 0.00 99.84 06:36:36 06:31:01 0 0.03 0.00 0.02 0.00 0.00 99.95 06:36:36 06:31:01 1 0.03 0.00 0.03 0.00 0.00 99.93 06:36:36 06:31:01 2 0.32 0.00 0.10 0.00 0.00 99.58 06:36:36 06:31:01 3 0.05 0.00 0.07 0.00 0.00 99.88 06:36:36 06:32:01 all 0.05 0.00 0.04 0.00 0.00 99.90 06:36:36 06:32:01 0 0.02 0.00 0.02 0.00 0.00 99.97 06:36:36 06:32:01 1 0.08 0.00 0.02 0.00 0.00 99.90 06:36:36 06:32:01 2 0.07 0.00 0.10 0.00 0.02 99.82 06:36:36 06:32:01 3 0.05 0.00 0.03 0.00 0.00 99.92 06:36:36 06:33:01 all 0.15 0.00 0.05 0.00 0.00 99.80 06:36:36 06:33:01 0 0.02 0.00 0.03 0.00 0.00 99.95 06:36:36 06:33:01 1 0.53 0.00 0.03 0.00 0.02 99.42 06:36:36 06:33:01 2 0.03 0.00 0.07 0.00 0.00 99.90 06:36:36 06:33:01 3 0.03 0.00 0.05 0.00 0.00 99.92 06:36:36 06:34:01 all 0.19 0.00 0.03 0.00 0.00 99.79 06:36:36 06:34:01 0 0.02 0.00 0.02 0.00 0.00 99.97 06:36:36 06:34:01 1 0.25 0.00 0.02 0.00 0.00 99.73 06:36:36 06:34:01 2 0.42 0.00 0.02 0.00 0.00 99.57 06:36:36 06:34:01 3 0.07 0.00 0.05 0.00 0.00 99.88 06:36:36 06:35:01 all 0.16 0.00 0.04 0.00 0.00 99.80 06:36:36 06:35:01 0 0.02 0.00 0.02 0.00 0.00 99.97 06:36:36 06:35:01 1 0.03 0.00 0.03 0.00 0.00 99.93 06:36:36 06:35:01 2 0.53 0.00 0.03 0.00 0.00 99.43 06:36:36 06:35:01 3 0.07 0.00 0.07 0.00 0.00 99.87 06:36:36 06:36:01 all 0.27 0.00 0.12 0.00 0.00 99.60 06:36:36 06:36:01 0 0.17 0.00 0.20 0.00 0.00 99.63 06:36:36 06:36:01 1 0.12 0.00 0.08 0.00 0.00 99.80 06:36:36 06:36:01 2 0.63 0.00 0.13 0.00 0.00 99.23 06:36:36 06:36:01 3 0.17 0.00 0.07 0.02 0.00 99.75 06:36:36 Average: all 1.54 0.00 0.56 0.20 0.00 97.69 06:36:36 Average: 0 1.29 0.00 0.72 0.08 0.00 97.91 06:36:36 Average: 1 1.80 0.00 0.50 0.26 0.00 97.44 06:36:36 Average: 2 1.67 0.00 0.50 0.09 0.00 97.73 06:36:36 Average: 3 1.42 0.00 0.53 0.37 0.00 97.68 06:36:36 06:36:36 06:36:36