Pull request #652 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 4cd2f7720bf62c622db016cd8dddaf78c410fdd5+43893dea7cdf8ffe29fac0bba279684163774e51 (43f8d6de9f3ac10abc0e37f8c7414c93d63c3818) 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 46d5666b39059330cbbb64ab2b74cfbe1cb58626 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 46d5666b39059330cbbb64ab2b74cfbe1cb58626 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-652/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 46d5666b39059330cbbb64ab2b74cfbe1cb58626 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d5666b39059330cbbb64ab2b74cfbe1cb58626 # timeout=10 Commit message: "Merge pull request #300 from ernestojeda/fix-c-image-name" > 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-652/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 46d5666b39059330cbbb64ab2b74cfbe1cb58626 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 Running on prd-centos7-docker-4c-2g-12692 in /w/workspace/dgexfoundry_device-sdk-go_PR-652 [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-652 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 43893dea7cdf8ffe29fac0bba279684163774e51 into PR head commit 4cd2f7720bf62c622db016cd8dddaf78c410fdd5 Merge succeeded, producing 4cd2f7720bf62c622db016cd8dddaf78c410fdd5 Checking out Revision 4cd2f7720bf62c622db016cd8dddaf78c410fdd5 (PR-652) > 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/652/head:refs/remotes/origin/PR-652 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4cd2f7720bf62c622db016cd8dddaf78c410fdd5 # 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 43893dea7cdf8ffe29fac0bba279684163774e51 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4cd2f7720bf62c622db016cd8dddaf78c410fdd5 # timeout=10 Commit message: "feat: add v1 deviceService callback handler" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 46d5666b39059330cbbb64ab2b74cfbe1cb58626 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:59:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:59:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:59:32 ========================================================= 03:59:32 EdgeX Global Pipelines Version Info 03:59:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:59:34 ------------------- 03:59:34 stable info: 03:59:34 ------------------- 03:59:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:59:34 Commit SHA: 46d5666b39059330cbbb64ab2b74cfbe1cb58626 03:59:34 Message: update stable to v1.0.166 03:59:35 ------------------- 03:59:35 experimental info: 03:59:35 ------------------- 03:59:35 Commited By: **** collab-it+edgex@linuxfoundation.org 03:59:35 Commit SHA: 46d5666b39059330cbbb64ab2b74cfbe1cb58626 03:59:35 Message: update experimental to v1.0.166 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 03:59:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 03:59:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 03:59:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:59:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:59:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:59:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 03:59:36 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 03:59:37 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 03:59:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 03:59:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:59:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:59:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 03:59:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:59:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:59:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:59:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:59:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:59:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:59:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:59:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:59:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:59:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 03:59:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:59:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:59:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:59:39 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 03:59:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-652 [Pipeline] echo 03:59:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-652 [Pipeline] echo 03:59:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-652 [Pipeline] echo 03:59:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4cd2f7720bf62c622db016cd8dddaf78c410fdd5 [Pipeline] echo 03:59:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4cd2f77 [Pipeline] echo 03:59:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:59:40 provisioning config files... 03:59:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-652@tmp/config6200511869973273165tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:59:41 ---> docker-login.sh 03:59:41 nexus3.edgexfoundry.org:10001 03:59:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:59:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:59:41 Configure a credential helper to remove this warning. See 03:59:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:59:41 03:59:41 Login Succeeded 03:59:41 nexus3.edgexfoundry.org:10002 03:59:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:59:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:59:41 Configure a credential helper to remove this warning. See 03:59:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:59:41 03:59:41 Login Succeeded 03:59:41 nexus3.edgexfoundry.org:10003 03:59:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:59:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:59:41 Configure a credential helper to remove this warning. See 03:59:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:59:41 03:59:41 Login Succeeded 03:59:41 nexus3.edgexfoundry.org:10004 03:59:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:59:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:59:42 Configure a credential helper to remove this warning. See 03:59:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:59:42 03:59:42 Login Succeeded 03:59:42 docker.io 03:59:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:59:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:59:42 Configure a credential helper to remove this warning. See 03:59:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:59:42 03:59:42 Login Succeeded 03:59:42 ---> docker-login.sh ends [Pipeline] } 03:59:42 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:59:43 + git log --format=format:%s -1 4cd2f7720bf62c622db016cd8dddaf78c410fdd5 [Pipeline] echo 03:59:43 GIT_COMMIT: 4cd2f7720bf62c622db016cd8dddaf78c410fdd5, Commit Message: feat: add v1 deviceService callback handler [Pipeline] echo 03:59:43 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 03:59:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:59:45 03:59:45 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:59:45 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:59:45 latest: Pulling from edgex-devops/git-semver 03:59:45 31603596830f: Pulling fs layer 03:59:45 2a8b12db71e7: Pulling fs layer 03:59:45 6ca5941a6612: Pulling fs layer 03:59:45 ecc8261a40a4: Pulling fs layer 03:59:45 ecc8261a40a4: Waiting 03:59:45 2a8b12db71e7: Verifying Checksum 03:59:45 2a8b12db71e7: Download complete 03:59:45 31603596830f: Verifying Checksum 03:59:45 31603596830f: Download complete 03:59:45 ecc8261a40a4: Download complete 03:59:45 6ca5941a6612: Verifying Checksum 03:59:45 6ca5941a6612: Download complete 03:59:46 31603596830f: Pull complete 03:59:46 2a8b12db71e7: Pull complete 03:59:47 6ca5941a6612: Pull complete 03:59:47 ecc8261a40a4: Pull complete 03:59:47 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 03:59:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:59:47 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:59:47 prd-centos7-docker-4c-2g-12692 does not seem to be running inside a container 03:59:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-652 -v /w/workspace/dgexfoundry_device-sdk-go_PR-652:/w/workspace/dgexfoundry_device-sdk-go_PR-652:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-652@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-652@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:59:49 $ docker top b667d47ae9b3c186497937eaaff6aa56e4f7960be973054ed37389d249df526c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:59:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:59:50 [ssh-agent] Looking for ssh-agent implementation... 03:59:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:59:50 $ docker exec b667d47ae9b3c186497937eaaff6aa56e4f7960be973054ed37389d249df526c ssh-agent 03:59:50 SSH_AUTH_SOCK=/tmp/ssh-rnE3zyvnPp3k/agent.11 03:59:50 SSH_AGENT_PID=17 03:59:50 Running ssh-add (command line suppressed) 03:59:51 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-652@tmp/private_key_4293533104596895256.key (/w/workspace/dgexfoundry_device-sdk-go_PR-652@tmp/private_key_4293533104596895256.key) 03:59:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:59:51 + git tag --points-at HEAD [Pipeline] } 03:59:51 $ docker exec --env ******** --env ******** b667d47ae9b3c186497937eaaff6aa56e4f7960be973054ed37389d249df526c ssh-agent -k 03:59:51 unset SSH_AUTH_SOCK; 03:59:51 unset SSH_AGENT_PID; 03:59:51 echo Agent pid 17 killed; 03:59:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:59:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:59:51 [ssh-agent] Looking for ssh-agent implementation... 03:59:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:59:52 $ docker exec b667d47ae9b3c186497937eaaff6aa56e4f7960be973054ed37389d249df526c ssh-agent 03:59:52 SSH_AUTH_SOCK=/tmp/ssh-75NhDsmu34rk/agent.46 03:59:52 SSH_AGENT_PID=51 03:59:52 Running ssh-add (command line suppressed) 03:59:52 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-652@tmp/private_key_4674458234957629943.key (/w/workspace/dgexfoundry_device-sdk-go_PR-652@tmp/private_key_4674458234957629943.key) 03:59:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:59:52 + git semver init 03:59:52 # -> Open(): unable to determine branch for HEAD 03:59:52 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-652/.git 03:59:52 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-652 03:59:52 # $SEMVER_REMOTE_NAME = origin 03:59:52 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:59:52 # $SEMVER_USER_NAME = edgex-jenkins 03:59:52 # $SEMVER_BRANCH = PR-652 03:59:52 # $SEMVER_TEMP = /tmp/semver-746593420 03:59:52 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 03:59:53 # '/tmp/semver-746593420' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-652/.semver' 03:59:53 # -> Force: false 03:59:53 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-652/.semver [Pipeline] } 03:59:53 $ docker exec --env ******** --env ******** b667d47ae9b3c186497937eaaff6aa56e4f7960be973054ed37389d249df526c ssh-agent -k 03:59:54 unset SSH_AUTH_SOCK; 03:59:54 unset SSH_AGENT_PID; 03:59:54 echo Agent pid 51 killed; 03:59:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:59:54 + git semver [Pipeline] } 03:59:54 $ docker stop --time=1 b667d47ae9b3c186497937eaaff6aa56e4f7960be973054ed37389d249df526c 03:59:56 $ docker rm -f b667d47ae9b3c186497937eaaff6aa56e4f7960be973054ed37389d249df526c [Pipeline] // withDockerContainer [Pipeline] sh 03:59:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:59:57 Stashed 1 file(s) [Pipeline] echo 03:59:57 [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 04:00:13 Still waiting to schedule task 04:00:13 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-12692’ 04:00:13 Still waiting to schedule task 04:00:13 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 04:01:43 Running on prd-centos7-docker-4c-2g-12694 in /w/workspace/dgexfoundry_device-sdk-go_PR-652 [Pipeline] { [Pipeline] ws 04:01:43 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:01:46 using credential edgex-jenkins-ssh 04:01:46 Cloning the remote Git repository 04:01:46 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:01:47 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:01:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:01:47 > git --version # timeout=10 04:01:47 > git --version # 'git version 2.16.5' 04:01:47 using GIT_SSH to set credentials SSH Credentials for GitHub 04:01:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:01:48 Merging remotes/origin/master commit 43893dea7cdf8ffe29fac0bba279684163774e51 into PR head commit 4cd2f7720bf62c622db016cd8dddaf78c410fdd5 04:01:48 Merge succeeded, producing 4cd2f7720bf62c622db016cd8dddaf78c410fdd5 04:01:48 Checking out Revision 4cd2f7720bf62c622db016cd8dddaf78c410fdd5 (PR-652) 04:01:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:01:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:01:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:01:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:01:47 using GIT_SSH to set credentials SSH Credentials for GitHub 04:01:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/652/head:refs/remotes/origin/PR-652 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:01:48 > git config core.sparsecheckout # timeout=10 04:01:48 > git checkout -f 4cd2f7720bf62c622db016cd8dddaf78c410fdd5 # timeout=10 04:01:48 > git remote # timeout=10 04:01:48 > git config --get remote.origin.url # timeout=10 04:01:48 using GIT_SSH to set credentials SSH Credentials for GitHub 04:01:48 > git merge 43893dea7cdf8ffe29fac0bba279684163774e51 # timeout=10 04:01:48 > git rev-parse HEAD^{commit} # timeout=10 04:01:48 > git config core.sparsecheckout # timeout=10 04:01:48 > git checkout -f 4cd2f7720bf62c622db016cd8dddaf78c410fdd5 # timeout=10 04:01:52 Commit message: "feat: add v1 deviceService callback handler" 04:01:52 > git --version # timeout=10 04:01:52 > git --version # 'git version 2.16.5' 04:01:52 fatal: bad object 46d5666b39059330cbbb64ab2b74cfbe1cb58626 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:01:53 provisioning config files... 04:01:53 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3530649159455882030tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:01:54 ---> docker-login.sh 04:01:54 nexus3.edgexfoundry.org:10001 04:01:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:54 Configure a credential helper to remove this warning. See 04:01:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:54 04:01:54 Login Succeeded 04:01:54 nexus3.edgexfoundry.org:10002 04:01:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:54 Configure a credential helper to remove this warning. See 04:01:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:54 04:01:54 Login Succeeded 04:01:54 nexus3.edgexfoundry.org:10003 04:01:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:55 Configure a credential helper to remove this warning. See 04:01:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:55 04:01:55 Login Succeeded 04:01:55 nexus3.edgexfoundry.org:10004 04:01:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:55 Configure a credential helper to remove this warning. See 04:01:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:55 04:01:55 Login Succeeded 04:01:55 docker.io 04:01:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:55 Configure a credential helper to remove this warning. See 04:01:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:55 04:01:55 Login Succeeded 04:01:55 ---> docker-login.sh ends [Pipeline] } 04:01:55 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:01:56 ========================================================= 04:01:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 04:01:56 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:01:56 + 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 . 04:01:56 Sending build context to Docker daemon 2.36MB 04:01:56 Step 1/8 : ARG BASE=golang:1.15-alpine 04:01:56 Step 2/8 : FROM ${BASE} 04:01:56 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 04:01:56 df20fa9351a1: Pulling fs layer 04:01:56 ed8968b2872e: Pulling fs layer 04:01:56 a92cc7c5fd73: Pulling fs layer 04:01:56 e871e8e8d7a9: Pulling fs layer 04:01:56 e73272ec9a57: Pulling fs layer 04:01:56 1e910a182e73: Pulling fs layer 04:01:56 4e634b169226: Pulling fs layer 04:01:56 e73272ec9a57: Waiting 04:01:56 1e910a182e73: Waiting 04:01:56 4e634b169226: Waiting 04:01:56 e871e8e8d7a9: Waiting 04:01:56 a92cc7c5fd73: Download complete 04:01:56 ed8968b2872e: Download complete 04:01:56 e73272ec9a57: Verifying Checksum 04:01:56 e73272ec9a57: Download complete 04:01:57 1e910a182e73: Verifying Checksum 04:01:57 df20fa9351a1: Verifying Checksum 04:01:57 df20fa9351a1: Download complete 04:01:57 1e910a182e73: Download complete 04:01:57 df20fa9351a1: Pull complete 04:01:57 ed8968b2872e: Pull complete 04:01:57 a92cc7c5fd73: Pull complete 04:01:59 4e634b169226: Download complete 04:02:00 e871e8e8d7a9: Verifying Checksum 04:02:00 e871e8e8d7a9: Download complete 04:02:03 Running on prd-ubuntu18.04-docker-arm64-4c-16g-12693 in /w/workspace/dgexfoundry_device-sdk-go_PR-652 [Pipeline] { [Pipeline] ws 04:02:03 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:02:05 e871e8e8d7a9: Pull complete 04:02:05 e73272ec9a57: Pull complete 04:02:05 1e910a182e73: Pull complete 04:02:08 using credential edgex-jenkins-ssh 04:02:08 Cloning the remote Git repository 04:02:08 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:02:08 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:02:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:02:08 > git --version # timeout=10 04:02:08 > git --version # 'git version 2.17.1' 04:02:08 using GIT_SSH to set credentials SSH Credentials for GitHub 04:02:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:02:10 Merging remotes/origin/master commit 43893dea7cdf8ffe29fac0bba279684163774e51 into PR head commit 4cd2f7720bf62c622db016cd8dddaf78c410fdd5 04:02:11 Merge succeeded, producing 4cd2f7720bf62c622db016cd8dddaf78c410fdd5 04:02:11 Checking out Revision 4cd2f7720bf62c622db016cd8dddaf78c410fdd5 (PR-652) 04:02:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:02:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:02:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:02:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:02:10 using GIT_SSH to set credentials SSH Credentials for GitHub 04:02:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/652/head:refs/remotes/origin/PR-652 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:02:10 > git config core.sparsecheckout # timeout=10 04:02:10 > git checkout -f 4cd2f7720bf62c622db016cd8dddaf78c410fdd5 # timeout=10 04:02:10 > git remote # timeout=10 04:02:10 > git config --get remote.origin.url # timeout=10 04:02:10 using GIT_SSH to set credentials SSH Credentials for GitHub 04:02:10 > git merge 43893dea7cdf8ffe29fac0bba279684163774e51 # timeout=10 04:02:11 > git rev-parse HEAD^{commit} # timeout=10 04:02:11 > git config core.sparsecheckout # timeout=10 04:02:11 > git checkout -f 4cd2f7720bf62c622db016cd8dddaf78c410fdd5 # timeout=10 04:02:15 4e634b169226: Pull complete 04:02:15 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 04:02:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 04:02:15 ---> f7629b54cfaa 04:02:15 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:02:15 ---> Running in 335c0132c3dc 04:02:15 Removing intermediate container 335c0132c3dc 04:02:15 ---> 7f9058c0cf61 04:02:15 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:02:15 ---> Running in 2b78a432cca8 04:02:15 Commit message: "feat: add v1 deviceService callback handler" 04:02:15 > git --version # timeout=10 04:02:15 > git --version # 'git version 2.17.1' 04:02:15 fatal: bad object 46d5666b39059330cbbb64ab2b74cfbe1cb58626 04:02:16 Removing intermediate container 2b78a432cca8 04:02:16 ---> 2384bc6b6ac5 04:02:16 Step 5/8 : RUN apk add --no-cache make git [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 04:02:16 ---> Running in 45525e319bb6 [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:02:16 provisioning config files... 04:02:16 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config805792160574109765tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:02:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:02:17 ---> docker-login.sh 04:02:17 nexus3.edgexfoundry.org:10001 04:02:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:02:18 OK: 166 MiB in 39 packages 04:02:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:19 Configure a credential helper to remove this warning. See 04:02:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:19 04:02:19 Login Succeeded 04:02:19 nexus3.edgexfoundry.org:10002 04:02:19 Removing intermediate container 45525e319bb6 04:02:19 ---> 9d68e3eb785b 04:02:19 Step 6/8 : WORKDIR /device-sdk-go 04:02:19 ---> Running in 5023fd3f339f 04:02:19 Removing intermediate container 5023fd3f339f 04:02:19 ---> 64a1d63de547 04:02:19 Step 7/8 : COPY . . 04:02:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:19 Configure a credential helper to remove this warning. See 04:02:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:19 04:02:19 Login Succeeded 04:02:19 nexus3.edgexfoundry.org:10003 04:02:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:20 Configure a credential helper to remove this warning. See 04:02:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:20 04:02:20 Login Succeeded 04:02:20 nexus3.edgexfoundry.org:10004 04:02:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:20 ---> f328296761e2 04:02:20 Step 8/8 : RUN go mod download 04:02:20 ---> Running in 7ee63c73f899 04:02:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:20 Configure a credential helper to remove this warning. See 04:02:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:20 04:02:20 Login Succeeded 04:02:20 docker.io 04:02:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:21 Configure a credential helper to remove this warning. See 04:02:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:21 04:02:21 Login Succeeded 04:02:21 ---> docker-login.sh ends [Pipeline] } 04:02:21 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:02:22 ========================================================= 04:02:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 04:02:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:02:22 + 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 . 04:02:23 Sending build context to Docker daemon 2.36MB 04:02:23 Step 1/8 : ARG BASE=golang:1.15-alpine 04:02:23 Step 2/8 : FROM ${BASE} 04:02:23 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:02:23 b538f80385f9: Pulling fs layer 04:02:23 74f711af9a0d: Pulling fs layer 04:02:23 99f96fe45779: Pulling fs layer 04:02:23 8529a6b9a6be: Pulling fs layer 04:02:23 45590311c82a: Pulling fs layer 04:02:23 69ca0ff8b7b3: Pulling fs layer 04:02:23 209524e5b208: Pulling fs layer 04:02:23 8529a6b9a6be: Waiting 04:02:23 45590311c82a: Waiting 04:02:23 69ca0ff8b7b3: Waiting 04:02:23 209524e5b208: Waiting 04:02:23 99f96fe45779: Verifying Checksum 04:02:23 99f96fe45779: Download complete 04:02:23 74f711af9a0d: Verifying Checksum 04:02:23 74f711af9a0d: Download complete 04:02:23 45590311c82a: Verifying Checksum 04:02:23 45590311c82a: Download complete 04:02:23 69ca0ff8b7b3: Verifying Checksum 04:02:23 69ca0ff8b7b3: Download complete 04:02:23 b538f80385f9: Verifying Checksum 04:02:23 b538f80385f9: Download complete 04:02:24 b538f80385f9: Pull complete 04:02:24 74f711af9a0d: Pull complete 04:02:25 99f96fe45779: Pull complete 04:02:25 209524e5b208: Verifying Checksum 04:02:25 209524e5b208: Download complete 04:02:26 8529a6b9a6be: Verifying Checksum 04:02:26 8529a6b9a6be: Download complete 04:02:38 Removing intermediate container 7ee63c73f899 04:02:38 ---> b8d3c151d67c 04:02:38 Successfully built b8d3c151d67c 04:02:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:02:39 + docker inspect -f . ci-base-image-x86_64 04:02:39 . [Pipeline] withDockerContainer 04:02:39 prd-centos7-docker-4c-2g-12694 does not seem to be running inside a container 04:02:39 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:02:39 8529a6b9a6be: Pull complete 04:02:39 45590311c82a: Pull complete 04:02:39 69ca0ff8b7b3: Pull complete 04:02:40 $ docker top 83a0883ea005eeee032e103af5bff60ecb72fc3b6acdca30970eae5dda217ccd -eo pid,comm [Pipeline] { [Pipeline] sh 04:02:40 + go version 04:02:40 go version go1.15.2 linux/amd64 [Pipeline] } 04:02:40 $ docker stop --time=1 83a0883ea005eeee032e103af5bff60ecb72fc3b6acdca30970eae5dda217ccd 04:02:42 209524e5b208: Pull complete 04:02:42 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 04:02:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 04:02:42 ---> 5bddaf1c2fca 04:02:42 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:02:42 $ docker rm -f 83a0883ea005eeee032e103af5bff60ecb72fc3b6acdca30970eae5dda217ccd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:02:43 + docker inspect -f . ci-base-image-x86_64 04:02:43 . [Pipeline] withDockerContainer 04:02:43 prd-centos7-docker-4c-2g-12694 does not seem to be running inside a container 04:02:43 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:02:44 $ docker top 25d70011f42558f25cab666d1dad28b14b9b80fbada39b3947c714d320097928 -eo pid,comm [Pipeline] { [Pipeline] sh 04:02:44 ---> Running in 92ee20ff68af 04:02:45 + make test 04:02:45 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:02:45 Removing intermediate container 92ee20ff68af 04:02:45 ---> 94d45d26b8a8 04:02:45 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:02:45 ---> Running in 43cd50f3b6f5 04:02:47 Removing intermediate container 43cd50f3b6f5 04:02:47 ---> fddf98508180 04:02:47 Step 5/8 : RUN apk add --no-cache make git 04:02:47 ---> Running in 417ff523497d 04:02:49 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:02:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:02:51 OK: 142 MiB in 39 packages 04:02:51 Removing intermediate container 417ff523497d 04:02:51 ---> b36e81e6515d 04:02:51 Step 6/8 : WORKDIR /device-sdk-go 04:02:51 ---> Running in 11a5f3b1f86d 04:02:52 Removing intermediate container 11a5f3b1f86d 04:02:52 ---> 349fc1b67f8a 04:02:52 Step 7/8 : COPY . . 04:02:53 ? github.com/edgexfoundry/device-sdk-go [no test files] 04:02:54 ---> 87167b8518dc 04:02:54 Step 8/8 : RUN go mod download 04:02:54 ---> Running in 9304608579da 04:03:08 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 04:03:08 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 04:03:08 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 04:03:08 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.059s coverage: 20.6% of statements 04:03:11 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.515s coverage: 97.1% of statements 04:03:16 Removing intermediate container 9304608579da 04:03:16 ---> cddaaa1e7c55 04:03:16 Successfully built cddaaa1e7c55 04:03:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:03:16 + docker inspect -f . ci-base-image-arm64 04:03:16 . [Pipeline] withDockerContainer 04:03:16 prd-ubuntu18.04-docker-arm64-4c-16g-12693 does not seem to be running inside a container 04:03:16 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 04:03:18 $ docker top 4e9e5fe81b552e5d1e3258ce0a87849ed918014e27ed7be4779dbc811718ab2e -eo pid,comm [Pipeline] { [Pipeline] sh 04:03:20 + go version 04:03:20 go version go1.15.2 linux/arm64 [Pipeline] } 04:03:20 $ docker stop --time=1 4e9e5fe81b552e5d1e3258ce0a87849ed918014e27ed7be4779dbc811718ab2e 04:03:22 $ docker rm -f 4e9e5fe81b552e5d1e3258ce0a87849ed918014e27ed7be4779dbc811718ab2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:03:23 + docker inspect -f . ci-base-image-arm64 04:03:23 . [Pipeline] withDockerContainer 04:03:23 prd-ubuntu18.04-docker-arm64-4c-16g-12693 does not seem to be running inside a container 04:03:24 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 04:03:25 $ docker top 66c0522e22b41af20b2ee48013f4c9e2c5d2b25a9a63178a2b464726ee8f73d3 -eo pid,comm [Pipeline] { [Pipeline] sh 04:03:27 + make test 04:03:27 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:03:43 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.107s coverage: 9.4% of statements 04:03:43 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.051s coverage: 21.9% of statements 04:03:43 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 04:03:43 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.261s coverage: 42.6% of statements 04:03:43 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 04:03:43 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.316s coverage: 68.9% of statements 04:03:43 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 04:03:43 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 04:03:43 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 04:03:43 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 04:03:43 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.078s coverage: 52.6% of statements 04:03:43 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 04:03:43 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 04:03:43 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 04:03:43 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.461s coverage: 68.9% of statements 04:03:43 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.054s coverage: 4.7% of statements 04:03:43 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 04:03:43 GO111MODULE=on go vet ./... 04:03:49 ? github.com/edgexfoundry/device-sdk-go [no test files] 04:03:50 gofmt -l . 04:03:50 [ "`gofmt -l .`" = "" ] 04:03:50 ./bin/test-attribution-txt.sh 04:03:50 ./bin/test-go-mod-tidy.sh [Pipeline] } 04:03:50 $ docker stop --time=1 25d70011f42558f25cab666d1dad28b14b9b80fbada39b3947c714d320097928 04:03:52 $ docker rm -f 25d70011f42558f25cab666d1dad28b14b9b80fbada39b3947c714d320097928 [Pipeline] // withDockerContainer [Pipeline] sh 04:03:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:03:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:03:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:03:57 + ls -al . 04:03:57 total 208 04:03:57 drwxrwxr-x. 10 jenkins jenkins 4096 Nov 19 04:03 . 04:03:57 drwxrwxr-x. 4 jenkins jenkins 28 Nov 19 04:01 .. 04:03:57 drwxrwxr-x. 2 jenkins jenkins 64 Nov 19 04:01 bin 04:03:57 -rw-r--r--. 1 jenkins jenkins 127783 Nov 19 04:03 coverage.out 04:03:57 -rw-rw-r--. 1 jenkins jenkins 936 Nov 19 04:01 Dockerfile.build 04:03:57 -rw-rw-r--. 1 jenkins jenkins 140 Nov 19 04:01 .dockerignore 04:03:57 drwxrwxr-x. 4 jenkins jenkins 48 Nov 19 04:01 example 04:03:57 drwxrwxr-x. 8 jenkins jenkins 179 Nov 19 04:01 .git 04:03:57 drwxrwxr-x. 2 jenkins jenkins 60 Nov 19 04:01 .github 04:03:57 -rw-rw-r--. 1 jenkins jenkins 138 Nov 19 04:01 .gitignore 04:03:57 -rw-r--r--. 1 jenkins jenkins 518 Nov 19 04:03 go.mod 04:03:57 -rw-r--r--. 1 jenkins jenkins 13436 Nov 19 04:03 go.sum 04:03:57 drwxrwxr-x. 15 jenkins jenkins 211 Nov 19 04:01 internal 04:03:57 -rw-rw-r--. 1 jenkins jenkins 901 Nov 19 04:01 Jenkinsfile 04:03:57 -rw-rw-r--. 1 jenkins jenkins 11341 Nov 19 04:01 LICENSE 04:03:57 -rw-rw-r--. 1 jenkins jenkins 1013 Nov 19 04:01 Makefile 04:03:57 drwxrwxr-x. 4 jenkins jenkins 26 Nov 19 04:01 openapi 04:03:57 drwxrwxr-x. 5 jenkins jenkins 50 Nov 19 04:01 pkg 04:03:57 -rw-rw-r--. 1 jenkins jenkins 5897 Nov 19 04:01 README.md 04:03:57 -rw-rw-r--. 1 jenkins jenkins 4291 Nov 19 04:01 RELEASE-NOTES.txt 04:03:57 drwxrwxr-x. 4 jenkins jenkins 54 Nov 19 04:01 snap 04:03:57 -rw-rw-r--. 1 jenkins jenkins 5 Nov 19 03:59 VERSION 04:03:57 -rw-rw-r--. 1 jenkins jenkins 222 Nov 19 04:01 version.go [Pipeline] isUnix [Pipeline] sh 04:03:57 + 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=4cd2f7720bf62c622db016cd8dddaf78c410fdd5 --label arch=amd64 --label version=0.0.0 . 04:03:57 Sending build context to Docker daemon 2.488MB 04:03:57 Step 1/24 : ARG BASE=golang:1.15-alpine 04:03:57 Step 2/24 : FROM ${BASE} AS builder 04:03:57 ---> b8d3c151d67c 04:03:57 Step 3/24 : ARG MAKE='make build' 04:03:58 ---> Running in a96669af5b6f 04:03:58 Removing intermediate container a96669af5b6f 04:03:58 ---> ce48cc58936d 04:03:58 Step 4/24 : WORKDIR /device-sdk-go 04:03:58 ---> Running in 28d6d3dc5b65 04:03:58 Removing intermediate container 28d6d3dc5b65 04:03:58 ---> 1b072f25a66f 04:03:58 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:03:58 ---> Running in 4f5a7e87fbdc 04:03:58 Removing intermediate container 4f5a7e87fbdc 04:03:58 ---> 11f7619bf655 04:03:58 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:03:58 ---> Running in 570dd098e50c 04:04:00 Removing intermediate container 570dd098e50c 04:04:00 ---> fcb7a23002b4 04:04:00 Step 7/24 : RUN apk add --update --no-cache make git 04:04:00 ---> Running in c2c08efa324c 04:04:00 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:04:01 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:04:02 OK: 166 MiB in 39 packages 04:04:02 Removing intermediate container c2c08efa324c 04:04:02 ---> 8591c15454ff 04:04:02 Step 8/24 : COPY . . 04:04:03 ---> 9df9fc1468f0 04:04:03 Step 9/24 : RUN ${MAKE} 04:04:03 ---> Running in dc7cd393eac1 04:04:03 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 04:04:12 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 04:04:14 Removing intermediate container dc7cd393eac1 04:04:14 ---> e9d8ea9245a1 04:04:14 Step 10/24 : FROM scratch 04:04:14 ---> 04:04:14 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:04:14 ---> Running in 8f295bf583d5 04:04:14 Removing intermediate container 8f295bf583d5 04:04:14 ---> f54f57489419 04:04:14 Step 12/24 : ENV APP_PORT=49990 04:04:14 ---> Running in acb5804648b2 04:04:14 Removing intermediate container acb5804648b2 04:04:14 ---> 65f0064ede88 04:04:14 Step 13/24 : EXPOSE $APP_PORT 04:04:14 ---> Running in c72084797774 04:04:15 Removing intermediate container c72084797774 04:04:15 ---> 85a430f53fb9 04:04:15 Step 14/24 : WORKDIR / 04:04:15 ---> Running in be955d7b9314 04:04:15 Removing intermediate container be955d7b9314 04:04:15 ---> bde96eb87f5d 04:04:15 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 04:04:15 ---> deb78f23328c 04:04:15 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 04:04:16 ---> 008615830cb1 04:04:16 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 04:04:16 ---> 00ad416e3d7d 04:04:16 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 04:04:16 ---> ad84809ba323 04:04:16 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 04:04:16 ---> 4f3cd7e031e7 04:04:16 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 04:04:16 ---> Running in caa0b5cc9791 04:04:17 Removing intermediate container caa0b5cc9791 04:04:17 ---> 10ba3e678c7a 04:04:17 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:04:17 ---> Running in 0e082b63373f 04:04:17 Removing intermediate container 0e082b63373f 04:04:17 ---> 127b830f7c8c 04:04:17 Step 22/24 : LABEL arch=amd64 04:04:17 ---> Running in 36bd3f2b3354 04:04:17 Removing intermediate container 36bd3f2b3354 04:04:17 ---> 789554ff2868 04:04:17 Step 23/24 : LABEL git_sha=4cd2f7720bf62c622db016cd8dddaf78c410fdd5 04:04:17 ---> Running in b08a73eb03d5 04:04:17 Removing intermediate container b08a73eb03d5 04:04:17 ---> b6dfc1e350c6 04:04:17 Step 24/24 : LABEL version=0.0.0 04:04:17 ---> Running in 1dbc713207d1 04:04:17 Removing intermediate container 1dbc713207d1 04:04:17 ---> d1a9d0b89d32 04:04:17 [Warning] One or more build-args [ARCH] were not consumed 04:04:17 Successfully built d1a9d0b89d32 04:04:17 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] } 04:04:28 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 04:04:28 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 04:04:28 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 04:04:28 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.167s coverage: 20.6% of statements 04:04:30 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.269s coverage: 97.1% of statements 04:05:02 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.132s coverage: 9.4% of statements 04:05:02 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.120s coverage: 21.9% of statements 04:05:02 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 04:05:02 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.583s coverage: 42.6% of statements 04:05:02 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 04:05:02 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.753s coverage: 68.9% of statements 04:05:02 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 04:05:02 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 04:05:02 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 04:05:02 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 04:05:02 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.189s coverage: 52.6% of statements 04:05:02 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 04:05:02 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 04:05:02 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 04:05:02 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.697s coverage: 68.9% of statements 04:05:02 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.141s coverage: 4.7% of statements 04:05:02 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 04:05:02 GO111MODULE=on go vet ./... 04:05:29 gofmt -l . 04:05:29 [ "`gofmt -l .`" = "" ] 04:05:30 ./bin/test-attribution-txt.sh 04:05:30 ./bin/test-go-mod-tidy.sh [Pipeline] } 04:05:31 $ docker stop --time=1 66c0522e22b41af20b2ee48013f4c9e2c5d2b25a9a63178a2b464726ee8f73d3 04:05:33 $ docker rm -f 66c0522e22b41af20b2ee48013f4c9e2c5d2b25a9a63178a2b464726ee8f73d3 [Pipeline] // withDockerContainer [Pipeline] sh 04:05:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:05:34 Warning: overwriting stash ‘coverage-report’ 04:05:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:05:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:05:37 + ls -al . 04:05:37 total 244 04:05:37 drwxrwxr-x 10 jenkins jenkins 4096 Nov 19 04:05 . 04:05:37 drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 04:02 .. 04:05:37 -rw-rw-r-- 1 jenkins jenkins 140 Nov 19 04:02 .dockerignore 04:05:37 drwxrwxr-x 8 jenkins jenkins 4096 Nov 19 04:02 .git 04:05:37 drwxrwxr-x 2 jenkins jenkins 4096 Nov 19 04:02 .github 04:05:37 -rw-rw-r-- 1 jenkins jenkins 138 Nov 19 04:02 .gitignore 04:05:37 -rw-rw-r-- 1 jenkins jenkins 936 Nov 19 04:02 Dockerfile.build 04:05:37 -rw-rw-r-- 1 jenkins jenkins 901 Nov 19 04:02 Jenkinsfile 04:05:37 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 19 04:02 LICENSE 04:05:37 -rw-rw-r-- 1 jenkins jenkins 1013 Nov 19 04:02 Makefile 04:05:37 -rw-rw-r-- 1 jenkins jenkins 5897 Nov 19 04:02 README.md 04:05:37 -rw-rw-r-- 1 jenkins jenkins 4291 Nov 19 04:02 RELEASE-NOTES.txt 04:05:37 -rw-rw-r-- 1 jenkins jenkins 5 Nov 19 03:59 VERSION 04:05:37 drwxrwxr-x 2 jenkins jenkins 4096 Nov 19 04:02 bin 04:05:37 -rw-r--r-- 1 jenkins jenkins 127783 Nov 19 04:04 coverage.out 04:05:37 drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 04:02 example 04:05:37 -rw-r--r-- 1 jenkins jenkins 518 Nov 19 04:05 go.mod 04:05:37 -rw-r--r-- 1 jenkins jenkins 13436 Nov 19 04:05 go.sum 04:05:37 drwxrwxr-x 15 jenkins jenkins 4096 Nov 19 04:02 internal 04:05:37 drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 04:02 openapi 04:05:37 drwxrwxr-x 5 jenkins jenkins 4096 Nov 19 04:02 pkg 04:05:37 drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 04:02 snap 04:05:37 -rw-rw-r-- 1 jenkins jenkins 222 Nov 19 04:02 version.go [Pipeline] isUnix [Pipeline] sh 04:05:37 + 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=4cd2f7720bf62c622db016cd8dddaf78c410fdd5 --label arch=arm64 --label version=0.0.0 . 04:05:38 Sending build context to Docker daemon 2.488MB 04:05:38 Step 1/24 : ARG BASE=golang:1.15-alpine 04:05:38 Step 2/24 : FROM ${BASE} AS builder 04:05:38 ---> cddaaa1e7c55 04:05:38 Step 3/24 : ARG MAKE='make build' 04:05:38 ---> Running in c0b8a6333cf0 04:05:39 Removing intermediate container c0b8a6333cf0 04:05:39 ---> 439f145e1ea5 04:05:39 Step 4/24 : WORKDIR /device-sdk-go 04:05:39 ---> Running in dd84d3de4933 04:05:39 Removing intermediate container dd84d3de4933 04:05:39 ---> 509c8c4cc51e 04:05:39 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:05:39 ---> Running in 540e11e0d4cf 04:05:40 Removing intermediate container 540e11e0d4cf 04:05:40 ---> 1f17700d7c07 04:05:40 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:05:40 ---> Running in 5198a5de5ad3 04:05:42 Removing intermediate container 5198a5de5ad3 04:05:42 ---> 1365c8f672a4 04:05:42 Step 7/24 : RUN apk add --update --no-cache make git 04:05:42 ---> Running in 7c9b720d4ce2 04:05:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:05:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:05:45 OK: 142 MiB in 39 packages 04:05:46 Removing intermediate container 7c9b720d4ce2 04:05:46 ---> 1f03c1b8c151 04:05:46 Step 8/24 : COPY . . 04:05:47 ---> d86a31eafbe2 04:05:47 Step 9/24 : RUN ${MAKE} 04:05:47 ---> Running in d15a11ca9943 04:05: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 04:06:16 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 04:06:16 Removing intermediate container d15a11ca9943 04:06:16 ---> 1b2ba54036ef 04:06:16 Step 10/24 : FROM scratch 04:06:16 ---> 04:06:16 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:06:16 ---> Running in 15f264c7001a 04:06:16 Removing intermediate container 15f264c7001a 04:06:16 ---> 295aa8cf8555 04:06:16 Step 12/24 : ENV APP_PORT=49990 04:06:16 ---> Running in 35ff84ceaa53 04:06:17 Removing intermediate container 35ff84ceaa53 04:06:17 ---> f54557d7ce7f 04:06:17 Step 13/24 : EXPOSE $APP_PORT 04:06:17 ---> Running in a9b73235a0eb 04:06:17 Removing intermediate container a9b73235a0eb 04:06:17 ---> 6fd06c935a8d 04:06:17 Step 14/24 : WORKDIR / 04:06:17 ---> Running in 1c9ca1905be8 04:06:18 Removing intermediate container 1c9ca1905be8 04:06:18 ---> 9a00aaef6c61 04:06:18 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 04:06:19 ---> 8e2602cfc138 04:06:19 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 04:06:19 ---> 7138019d9db4 04:06:19 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 04:06:20 ---> e6f009d16089 04:06:20 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 04:06:21 ---> 21539a350ab5 04:06:21 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 04:06:22 ---> e522936bcd81 04:06:22 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 04:06:22 ---> Running in 3541ef42f34d 04:06:22 Removing intermediate container 3541ef42f34d 04:06:22 ---> 874905699f96 04:06:22 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:06:22 ---> Running in 31b36b7cce20 04:06:23 Removing intermediate container 31b36b7cce20 04:06:23 ---> 25aef42ff813 04:06:23 Step 22/24 : LABEL arch=arm64 04:06:23 ---> Running in b6526e0da23c 04:06:23 Removing intermediate container b6526e0da23c 04:06:23 ---> 915537b0675a 04:06:23 Step 23/24 : LABEL git_sha=4cd2f7720bf62c622db016cd8dddaf78c410fdd5 04:06:24 ---> Running in bf99a28275a0 04:06:24 Removing intermediate container bf99a28275a0 04:06:24 ---> 8cc79d258ed3 04:06:24 Step 24/24 : LABEL version=0.0.0 04:06:24 ---> Running in f983c01bc903 04:06:24 Removing intermediate container f983c01bc903 04:06:24 ---> 7755c066eb6e 04:06:24 [Warning] One or more build-args [ARCH] were not consumed 04:06:25 Successfully built 7755c066eb6e 04:06:25 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 04:06:27 provisioning config files... 04:06:27 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-652@tmp/config952820146484838641tmp [Pipeline] { [Pipeline] sh 04:06:28 + set +x 04:06:28 + bash -s -- 04:06:28 + curl -s https://codecov.io/bash 04:06:28 04:06:28 _____ _ 04:06:28 / ____| | | 04:06:28 | | ___ __| | ___ ___ _____ __ 04:06:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:06:28 | |___| (_) | (_| | __/ (_| (_) \ V / 04:06:28 \_____\___/ \__,_|\___|\___\___/ \_/ 04:06:28 Bash-20201116-eea08d9 04:06:28 04:06:28 04:06:28 ==> Jenkins CI detected. 04:06:28 project root: . 04:06:28 --> token set from env 04:06:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:06:28 ==> Running gcov in . (disable via -X gcov) 04:06:28 ==> Python coveragepy not found 04:06:28 ==> Searching for coverage reports in: 04:06:28 + . 04:06:28 -> Found 1 reports 04:06:28 ==> Detecting git/mercurial file structure 04:06:28 ==> Reading reports 04:06:28 + ./coverage.out bytes=127783 04:06:28 ==> Appending adjustments 04:06:28 https://docs.codecov.io/docs/fixing-reports 04:06:29 + Found adjustments 04:06:29 ==> Gzipping contents 04:06:29 ==> Uploading reports 04:06:29 url: https://codecov.io 04:06:29 query: branch=PR-652&commit=4cd2f7720bf62c622db016cd8dddaf78c410fdd5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-652%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=652&job=&cmd_args= 04:06:29 -> Pinging Codecov 04:06:29 https://codecov.io/upload/v4?package=bash-20201116-eea08d9&token=secret&branch=PR-652&commit=4cd2f7720bf62c622db016cd8dddaf78c410fdd5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-652%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=652&job=&cmd_args= 04:06:29 -> Uploading to 04:06:29 https://storage.googleapis.com/codecov/v4/raw/2020-11-19/7E55EF52A471D76F132DFD9A03CDDE97/4cd2f7720bf62c622db016cd8dddaf78c410fdd5/f3ac26d6-35b0-44ad-b811-19fb0ff9b34b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201119T040629Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3573bd86ba000bedec1d15321fbc219afa164fdffc41803fc0202387d0c6af19 04:06:29 % Total % Received % Xferd Average Speed Time Time Time Current 04:06:29 Dload Upload Total Spent Left Speed 04:06:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20904 0 0 100 20904 0 44995 --:--:-- --:--:-- --:--:-- 45051 04:06:30 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/4cd2f7720bf62c622db016cd8dddaf78c410fdd5 [Pipeline] } 04:06:30 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 04:06:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:06:39 ---> package-listing.sh 04:06:39 ++ facter osfamily 04:06:39 ++ tr '[:upper:]' '[:lower:]' 04:06:39 + OS_FAMILY=redhat 04:06:39 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-652 04:06:39 + START_PACKAGES=/tmp/packages_start.txt 04:06:39 + END_PACKAGES=/tmp/packages_end.txt 04:06:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:06:39 + PACKAGES=/tmp/packages_start.txt 04:06:39 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-652 ']' 04:06:39 + PACKAGES=/tmp/packages_end.txt 04:06:39 + case "${OS_FAMILY}" in 04:06:39 + rpm -qa 04:06:39 + sort 04:06:43 + '[' -f /tmp/packages_start.txt ']' 04:06:43 + '[' -f /tmp/packages_end.txt ']' 04:06:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:06:43 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-652 ']' 04:06:43 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-652/archives/ 04:06:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-652/archives/ [Pipeline] echo 04:06:43 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-652/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:06:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:06:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:06:44 04:06:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 04:06:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:06:44 alpine: Pulling from edgex-lftools-log-publisher 04:06:44 df20fa9351a1: Pulling fs layer 04:06:44 36b3adc4ff6f: Pulling fs layer 04:06:44 8ad3a11d3b57: Pulling fs layer 04:06:44 46f8f816bc3b: Pulling fs layer 04:06:44 93b61091891f: Pulling fs layer 04:06:44 93b9cdb0e59b: Pulling fs layer 04:06:44 5e14af77c1be: Pulling fs layer 04:06:44 01666e4c0597: Pulling fs layer 04:06:44 aa168da1d23b: Pulling fs layer 04:06:44 5e14af77c1be: Waiting 04:06:44 46f8f816bc3b: Waiting 04:06:44 01666e4c0597: Waiting 04:06:44 93b61091891f: Waiting 04:06:44 aa168da1d23b: Waiting 04:06:44 93b9cdb0e59b: Waiting 04:06:44 36b3adc4ff6f: Verifying Checksum 04:06:44 36b3adc4ff6f: Download complete 04:06:45 46f8f816bc3b: Verifying Checksum 04:06:45 46f8f816bc3b: Download complete 04:06:45 df20fa9351a1: Verifying Checksum 04:06:45 df20fa9351a1: Download complete 04:06:45 93b9cdb0e59b: Verifying Checksum 04:06:45 93b9cdb0e59b: Download complete 04:06:45 5e14af77c1be: Verifying Checksum 04:06:45 5e14af77c1be: Download complete 04:06:45 93b61091891f: Verifying Checksum 04:06:45 93b61091891f: Download complete 04:06:45 01666e4c0597: Verifying Checksum 04:06:45 01666e4c0597: Download complete 04:06:45 8ad3a11d3b57: Verifying Checksum 04:06:45 8ad3a11d3b57: Download complete 04:06:45 df20fa9351a1: Pull complete 04:06:45 36b3adc4ff6f: Pull complete 04:06:46 8ad3a11d3b57: Pull complete 04:06:46 46f8f816bc3b: Pull complete 04:06:46 93b61091891f: Pull complete 04:06:47 93b9cdb0e59b: Pull complete 04:06:47 5e14af77c1be: Pull complete 04:06:47 01666e4c0597: Pull complete 04:06:47 aa168da1d23b: Verifying Checksum 04:06:47 aa168da1d23b: Download complete 04:06:54 aa168da1d23b: Pull complete 04:06:54 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 04:06:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:06:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 04:06:54 prd-centos7-docker-4c-2g-12692 does not seem to be running inside a container 04:06:54 $ 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-652/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-652 -v /w/workspace/dgexfoundry_device-sdk-go_PR-652:/w/workspace/dgexfoundry_device-sdk-go_PR-652:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-652@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-652@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 04:07:00 $ docker top cb08813a87649a14d82a9f105309b024f36aed233e4a103d130a38786ed761a8 -eo pid,comm [Pipeline] { [Pipeline] sh 04:07:01 + touch /tmp/pre-build-complete [Pipeline] sh 04:07:01 + mkdir -p /var/log/sa [Pipeline] sh 04:07:02 + ls /var/log/sa-host 04:07:02 + sadf -c /var/log/sa-host/sa05 04:07:02 file_magic: OK 04:07:02 HZ: Using current value: 100 04:07:02 file_header: OK 04:07:02 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 04:07:02 Statistics: 04:07:02 Hnuu...uuuununununu...Hnuu...uuuununununu... 04:07:02 File successfully converted to sysstat format version 12.2.1 04:07:02 + sadf -c /var/log/sa-host/sa19 04:07:02 file_magic: OK 04:07:02 HZ: Using current value: 100 04:07:02 file_header: OK 04:07:02 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 04:07:02 Statistics: 04:07:02 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:07:02 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:07:02 provisioning config files... 04:07:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-652@tmp/config4650295001895383903tmp [Pipeline] { [Pipeline] echo 04:07:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:07:03 ---> create-netrc.sh [Pipeline] } 04:07:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 04:07:03 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 04:07:04 ---> python-tools-install.sh [Pipeline] echo 04:07:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:07:04 ---> sudo-logs.sh 04:07:04 Archiving 'sudo' log.. [Pipeline] echo 04:07:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:07:04 ---> job-cost.sh 04:07:04 lf-activate-venv: SKIPPING 04:07:04 INFO: No Stack... 04:07:05 INFO: Retrieving Pricing Info for: v1-standard-2 04:07:06 INFO: Archiving Costs [Pipeline] echo 04:07:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:07:06 ---> logs-deploy.sh 04:07:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-652/1 04:07:06 INFO: archiving workspace using pattern(s): 04:07:08 Archives upload complete. 04:07:08 INFO: archiving logs to Nexus 04:07:09 ---> uname -a: 04:07:09 Linux prd-centos7-docker-4c-2g-12692.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 04:07:09 04:07:09 04:07:09 ---> lscpu: 04:07:09 Architecture: x86_64 04:07:09 CPU op-mode(s): 32-bit, 64-bit 04:07:09 Byte Order: Little Endian 04:07:09 Address sizes: 40 bits physical, 48 bits virtual 04:07:09 CPU(s): 4 04:07:09 On-line CPU(s) list: 0-3 04:07:09 Thread(s) per core: 1 04:07:09 Core(s) per socket: 1 04:07:09 Socket(s): 4 04:07:09 NUMA node(s): 1 04:07:09 Vendor ID: GenuineIntel 04:07:09 CPU family: 6 04:07:09 Model: 44 04:07:09 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 04:07:09 Stepping: 1 04:07:09 CPU MHz: 2933.436 04:07:09 BogoMIPS: 5866.87 04:07:09 Virtualization: VT-x 04:07:09 Hypervisor vendor: KVM 04:07:09 Virtualization type: full 04:07:09 L1d cache: 128 KiB 04:07:09 L1i cache: 128 KiB 04:07:09 L2 cache: 16 MiB 04:07:09 L3 cache: 64 MiB 04:07:09 NUMA node0 CPU(s): 0-3 04:07:09 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 04:07:09 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 04:07:09 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 04:07:09 Vulnerability Meltdown: Mitigation; PTI 04:07:09 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 04:07:09 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 04:07:09 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 04:07:09 Vulnerability Tsx async abort: Not affected 04:07:09 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 04:07:09 04:07:09 04:07:09 ---> nproc: 04:07:09 4 04:07:09 04:07:09 04:07:09 ---> df -h: 04:07:09 Filesystem Size Used Available Use% Mounted on 04:07:09 overlay 50.0G 7.2G 42.8G 14% / 04:07:09 tmpfs 64.0M 0 64.0M 0% /dev 04:07:09 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 04:07:09 shm 64.0M 0 64.0M 0% /dev/shm 04:07:09 /dev/vda1 50.0G 7.2G 42.8G 14% /facter-os 04:07:09 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/resolv.conf 04:07:09 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hostname 04:07:09 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hosts 04:07:09 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-652 04:07:09 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-652@tmp 04:07:09 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/sa-host 04:07:09 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/secure 04:07:09 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/auth.log 04:07:09 /dev/vda1 50.0G 7.2G 42.8G 14% /run/cloud-init/result.json 04:07:09 04:07:09 04:07:09 ---> free -m: 04:07:09 total used free shared buff/cache available 04:07:09 Mem: 1837 665 99 0 1072 1070 04:07:09 Swap: 1023 1 1022 04:07:09 04:07:09 04:07:09 ---> ip addr: 04:07:09 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 04:07:09 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 04:07:09 inet 127.0.0.1/8 scope host lo 04:07:09 valid_lft forever preferred_lft forever 04:07:09 inet6 ::1/128 scope host 04:07:09 valid_lft forever preferred_lft forever 04:07:09 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 04:07:09 link/ether fa:16:3e:6e:d6:c6 brd ff:ff:ff:ff:ff:ff 04:07:09 inet 10.30.122.196/23 brd 10.30.123.255 scope global dynamic eth0 04:07:09 valid_lft 85908sec preferred_lft 85908sec 04:07:09 inet6 fe80::f816:3eff:fe6e:d6c6/64 scope link 04:07:09 valid_lft forever preferred_lft forever 04:07:09 3: docker0: mtu 1500 qdisc noqueue state DOWN 04:07:09 link/ether 02:42:4b:a3:3e:63 brd ff:ff:ff:ff:ff:ff 04:07:09 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 04:07:09 valid_lft forever preferred_lft forever 04:07:09 inet6 fe80::42:4bff:fea3:3e63/64 scope link 04:07:09 valid_lft forever preferred_lft forever 04:07:09 04:07:09 04:07:09 ---> sar -b -r -n DEV: 04:07:09 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 11/19/20 _x86_64_ (4 CPU) 04:07:09 04:07:09 03:58:40 LINUX RESTART (4 CPU) 04:07:09 04:07:09 04:00:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 04:07:09 04:01:01 3.66 0.02 3.65 0.00 0.13 121.28 0.00 04:07:09 04:02:01 0.67 0.12 0.55 0.00 2.13 9.97 0.00 04:07:09 04:03:01 0.23 0.00 0.23 0.00 0.00 3.11 0.00 04:07:09 04:04:01 0.18 0.00 0.18 0.00 0.00 2.43 0.00 04:07:09 04:05:01 0.23 0.00 0.23 0.00 0.00 3.08 0.00 04:07:09 04:06:01 0.22 0.02 0.20 0.00 0.13 2.20 0.00 04:07:09 04:07:01 132.15 68.30 63.85 0.00 6860.61 18208.74 0.00 04:07:09 Average: 19.62 9.78 9.84 0.00 980.48 2621.67 0.00 04:07:09 04:07:09 04:00:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 04:07:09 04:01:01 171256 0 551264 29.30 2620 1156416 1078336 36.80 413720 1136540 16 04:07:09 04:02:01 171704 0 550672 29.27 2620 1156560 1068484 36.47 413860 1136284 8 04:07:09 04:03:01 171136 0 551236 29.30 2620 1156564 1068532 36.47 414344 1136284 8 04:07:09 04:04:01 169492 0 552872 29.38 2620 1156572 1068532 36.47 418608 1133240 8 04:07:09 04:05:01 170096 0 552264 29.35 2620 1156576 1068400 36.46 418256 1133240 16 04:07:09 04:06:01 171100 0 551248 29.30 2620 1156588 1068280 36.46 417544 1133248 8 04:07:09 04:07:01 182564 0 615136 32.69 2620 1081236 1173272 40.04 410696 1074796 40 04:07:09 Average: 172478 0 560670 29.80 2620 1145787 1084834 37.02 415290 1126233 15 04:07:09 04:07:09 04:00:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 04:07:09 04:01:01 eth0 2.41 1.02 2.34 0.09 0.00 0.00 0.00 0.00 04:07:09 04:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:07:09 04:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:07:09 04:02:01 eth0 1.60 0.47 0.41 0.18 0.00 0.00 0.00 0.00 04:07:09 04:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:07:09 04:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:07:09 04:03:01 eth0 1.76 0.73 0.62 0.43 0.00 0.00 0.00 0.00 04:07:09 04:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:07:09 04:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:07:09 04:04:01 eth0 1.08 0.42 0.33 0.18 0.00 0.00 0.00 0.00 04:07:09 04:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:07:09 04:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:07:09 04:05:01 eth0 0.65 0.20 0.19 0.10 0.00 0.00 0.00 0.00 04:07:09 04:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:07:09 04:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:07:09 04:06:01 eth0 0.13 0.08 0.02 0.01 0.00 0.00 0.00 0.00 04:07:09 04:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:07:09 04:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:07:09 04:07:01 eth0 223.24 185.25 2179.02 21.20 0.00 0.00 0.00 0.00 04:07:09 04:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:07:09 04:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:07:09 Average: eth0 32.99 26.88 311.86 3.17 0.00 0.00 0.00 0.00 04:07:09 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:07:09 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:07:09 04:07:09 04:07:09 ---> sar -P ALL: 04:07:09 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 11/19/20 _x86_64_ (4 CPU) 04:07:09 04:07:09 03:58:40 LINUX RESTART (4 CPU) 04:07:09 04:07:09 04:00:01 CPU %user %nice %system %iowait %steal %idle 04:07:09 04:01:01 all 0.20 0.00 0.07 0.00 0.01 99.72 04:07:09 04:01:01 0 0.18 0.00 0.05 0.00 0.00 99.77 04:07:09 04:01:01 1 0.38 0.00 0.08 0.00 0.02 99.52 04:07:09 04:01:01 2 0.15 0.00 0.10 0.00 0.02 99.73 04:07:09 04:01:01 3 0.07 0.00 0.05 0.00 0.00 99.88 04:07:09 04:02:01 all 0.15 0.00 0.06 0.00 0.00 99.78 04:07:09 04:02:01 0 0.05 0.00 0.05 0.00 0.00 99.90 04:07:09 04:02:01 1 0.42 0.00 0.10 0.00 0.00 99.48 04:07:09 04:02:01 2 0.07 0.00 0.03 0.00 0.02 99.88 04:07:09 04:02:01 3 0.08 0.00 0.05 0.00 0.00 99.87 04:07:09 04:03:01 all 0.15 0.00 0.04 0.00 0.04 99.77 04:07:09 04:03:01 0 0.02 0.00 0.02 0.00 0.02 99.95 04:07:09 04:03:01 1 0.43 0.00 0.05 0.00 0.05 99.47 04:07:09 04:03:01 2 0.10 0.00 0.05 0.00 0.02 99.83 04:07:09 04:03:01 3 0.05 0.00 0.03 0.00 0.08 99.83 04:07:09 04:04:01 all 0.16 0.00 0.04 0.00 0.01 99.79 04:07:09 04:04:01 0 0.05 0.00 0.02 0.00 0.00 99.93 04:07:09 04:04:01 1 0.48 0.00 0.00 0.00 0.00 99.52 04:07:09 04:04:01 2 0.05 0.00 0.05 0.00 0.02 99.88 04:07:09 04:04:01 3 0.05 0.00 0.08 0.00 0.03 99.83 04:07:09 04:05:01 all 0.15 0.00 0.07 0.00 0.01 99.77 04:07:09 04:05:01 0 0.00 0.00 0.02 0.00 0.00 99.98 04:07:09 04:05:01 1 0.50 0.00 0.03 0.00 0.03 99.43 04:07:09 04:05:01 2 0.08 0.00 0.05 0.00 0.00 99.87 04:07:09 04:05:01 3 0.02 0.00 0.20 0.00 0.00 99.78 04:07:09 04:06:01 all 0.09 0.00 0.03 0.00 0.00 99.87 04:07:09 04:06:01 0 0.03 0.00 0.02 0.00 0.00 99.95 04:07:09 04:06:01 1 0.27 0.00 0.05 0.00 0.00 99.68 04:07:09 04:06:01 2 0.03 0.00 0.03 0.00 0.00 99.93 04:07:09 04:06:01 3 0.02 0.00 0.03 0.00 0.02 99.93 04:07:09 04:07:01 all 6.18 0.00 3.99 1.39 0.16 88.28 04:07:09 04:07:01 0 6.77 0.00 3.78 1.39 0.20 87.86 04:07:09 04:07:01 1 6.11 0.00 4.66 1.35 0.10 87.77 04:07:09 04:07:01 2 5.87 0.00 4.18 1.54 0.15 88.26 04:07:09 04:07:01 3 5.96 0.00 3.32 1.29 0.20 89.23 04:07:09 Average: all 1.00 0.00 0.61 0.20 0.03 98.16 04:07:09 Average: 0 1.00 0.00 0.56 0.20 0.03 98.22 04:07:09 Average: 1 1.22 0.00 0.70 0.19 0.03 97.86 04:07:09 Average: 2 0.90 0.00 0.64 0.22 0.03 98.22 04:07:09 Average: 3 0.88 0.00 0.53 0.18 0.05 98.36 04:07:09 04:07:09 04:07:09