Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of gao270615179 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at d510da1b257a72a1ecadf2ee4e04e7d54b2df89d rather than bb3603909ab1ef3aa492044f3b646f1bb29ba67c Obtained Jenkinsfile from d510da1b257a72a1ecadf2ee4e04e7d54b2df89d Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-23650’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23426’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23547’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-23653 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [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-732 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c Merge succeeded, producing 23455bfac23852930a6947f372e58b4db43b0f22 Checking out Revision 23455bfac23852930a6947f372e58b4db43b0f22 (PR-732) > 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 --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/732/head:refs/remotes/origin/PR-732 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # 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 d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 23455bfac23852930a6947f372e58b4db43b0f22 # timeout=10 Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 0f2f68ce9cb22dd8229168e213abff079c05314d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:42:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:42:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:42:37 ========================================================= 02:42:37 EdgeX Global Pipelines Version Info 02:42:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:42:38 ------------------- 02:42:38 stable info: 02:42:38 ------------------- 02:42:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:38 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:42:38 Message: update stable to v1.0.179 02:42:39 ------------------- 02:42:39 experimental info: 02:42:39 ------------------- 02:42:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:39 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:42:39 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:42:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:42:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:42:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:42:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:42:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:42:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:42:40 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:42:40 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:42:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:42:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:42:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:42:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:42:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:42:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:42:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:42:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:42:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:42:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:42:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:42:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:42:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:42:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:42:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:42:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:42:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:42:42 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:42:42 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 02:42:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-732 [Pipeline] echo 02:42:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-732 [Pipeline] echo 02:42:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-732 [Pipeline] echo 02:42:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 23455bfac23852930a6947f372e58b4db43b0f22 [Pipeline] echo 02:42:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 23455bf [Pipeline] echo 02:42:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:42:43 provisioning config files... 02:42:43 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config3535314488397158730tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:42:43 ---> docker-login.sh 02:42:43 nexus3.edgexfoundry.org:10001 02:42:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:44 Configure a credential helper to remove this warning. See 02:42:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:44 02:42:44 Login Succeeded 02:42:44 nexus3.edgexfoundry.org:10002 02:42:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:44 Configure a credential helper to remove this warning. See 02:42:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:44 02:42:44 Login Succeeded 02:42:44 nexus3.edgexfoundry.org:10003 02:42:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:44 Configure a credential helper to remove this warning. See 02:42:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:44 02:42:44 Login Succeeded 02:42:44 nexus3.edgexfoundry.org:10004 02:42:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:45 Configure a credential helper to remove this warning. See 02:42:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:45 02:42:45 Login Succeeded 02:42:45 docker.io 02:42:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:45 Configure a credential helper to remove this warning. See 02:42:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:45 02:42:45 Login Succeeded 02:42:45 ---> docker-login.sh ends [Pipeline] } 02:42:45 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:42:46 + git log --format=format:%s -1 23455bfac23852930a6947f372e58b4db43b0f22 [Pipeline] echo 02:42:46 GIT_COMMIT: 23455bfac23852930a6947f372e58b4db43b0f22, Commit Message: Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD [Pipeline] echo 02:42:46 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:42:46 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:46 02:42:46 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:42:47 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:47 latest: Pulling from edgex-devops/git-semver 02:42:47 31603596830f: Pulling fs layer 02:42:47 2a8b12db71e7: Pulling fs layer 02:42:47 6ca5941a6612: Pulling fs layer 02:42:47 ecc8261a40a4: Pulling fs layer 02:42:47 ecc8261a40a4: Waiting 02:42:47 2a8b12db71e7: Verifying Checksum 02:42:47 2a8b12db71e7: Download complete 02:42:47 31603596830f: Verifying Checksum 02:42:47 31603596830f: Download complete 02:42:47 6ca5941a6612: Verifying Checksum 02:42:47 6ca5941a6612: Download complete 02:42:47 ecc8261a40a4: Verifying Checksum 02:42:47 ecc8261a40a4: Download complete 02:42:47 31603596830f: Pull complete 02:42:47 2a8b12db71e7: Pull complete 02:42:49 6ca5941a6612: Pull complete 02:42:49 ecc8261a40a4: Pull complete 02:42:49 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:42:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:49 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:42:49 prd-centos7-docker-4c-2g-23653 does not seem to be running inside a container 02:42:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-732 -v /w/workspace/dgexfoundry_device-sdk-go_PR-732:/w/workspace/dgexfoundry_device-sdk-go_PR-732:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-732@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:10004/edgex-devops/git-semver:latest cat 02:42:51 $ docker top b53a337fcdf54b74b82dd2e5f1641dd32463c66dae2725da657dfb150b81d14f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:42:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:52 [ssh-agent] Looking for ssh-agent implementation... 02:42:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:52 $ docker exec b53a337fcdf54b74b82dd2e5f1641dd32463c66dae2725da657dfb150b81d14f ssh-agent 02:42:52 SSH_AUTH_SOCK=/tmp/ssh-RNdEKb2moRud/agent.11 02:42:52 SSH_AGENT_PID=17 02:42:52 Running ssh-add (command line suppressed) 02:42:52 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_2888151635229273596.key (/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_2888151635229273596.key) 02:42:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:53 + git tag --points-at HEAD [Pipeline] } 02:42:53 $ docker exec --env ******** --env ******** b53a337fcdf54b74b82dd2e5f1641dd32463c66dae2725da657dfb150b81d14f ssh-agent -k 02:42:53 unset SSH_AUTH_SOCK; 02:42:53 unset SSH_AGENT_PID; 02:42:53 echo Agent pid 17 killed; 02:42:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:42:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:53 [ssh-agent] Looking for ssh-agent implementation... 02:42:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:53 $ docker exec b53a337fcdf54b74b82dd2e5f1641dd32463c66dae2725da657dfb150b81d14f ssh-agent 02:42:53 SSH_AUTH_SOCK=/tmp/ssh-cx3Z3ekykZoQ/agent.45 02:42:53 SSH_AGENT_PID=50 02:42:53 Running ssh-add (command line suppressed) 02:42:53 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_3906522355791002353.key (/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_3906522355791002353.key) 02:42:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:54 + git semver init 02:42:54 # -> Open(): unable to determine branch for HEAD 02:42:54 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-732/.git 02:42:54 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-732 02:42:54 # $SEMVER_REMOTE_NAME = origin 02:42:54 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:42:54 # $SEMVER_USER_NAME = edgex-jenkins 02:42:54 # $SEMVER_BRANCH = PR-732 02:42:54 # $SEMVER_TEMP = /tmp/semver-571772637 02:42:54 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:42:54 # '/tmp/semver-571772637' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-732/.semver' 02:42:54 # -> Force: false 02:42:54 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-732/.semver [Pipeline] } 02:42:54 $ docker exec --env ******** --env ******** b53a337fcdf54b74b82dd2e5f1641dd32463c66dae2725da657dfb150b81d14f ssh-agent -k 02:42:55 unset SSH_AUTH_SOCK; 02:42:55 unset SSH_AGENT_PID; 02:42:55 echo Agent pid 50 killed; 02:42:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:42:55 + git semver [Pipeline] } 02:42:55 $ docker stop --time=1 b53a337fcdf54b74b82dd2e5f1641dd32463c66dae2725da657dfb150b81d14f 02:42:57 $ docker rm -f b53a337fcdf54b74b82dd2e5f1641dd32463c66dae2725da657dfb150b81d14f [Pipeline] // withDockerContainer [Pipeline] sh 02:42:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:42:58 Stashed 1 file(s) [Pipeline] echo 02:42:58 [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 02:43:13 Still waiting to schedule task 02:43:13 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:43:13 Still waiting to schedule task 02:43:13 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 02:44:09 Running on prd-centos7-docker-4c-2g-23659 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [Pipeline] { [Pipeline] ws 02:44:09 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 02:44:11 using credential edgex-jenkins-ssh 02:44:11 Cloning the remote Git repository 02:44:11 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:44:11 > git init /w/workspace/device-sdk-go/8 # timeout=10 02:44:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:12 > git --version # timeout=10 02:44:12 > git --version # 'git version 2.24.3' 02:44:12 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:13 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c 02:44:13 Merge succeeded, producing 969e0ec051e5d3905c767b5512a973f0076f8483 02:44:13 Checking out Revision 969e0ec051e5d3905c767b5512a973f0076f8483 (PR-732) 02:44:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:12 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/732/head:refs/remotes/origin/PR-732 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:44:13 > git config core.sparsecheckout # timeout=10 02:44:13 > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 02:44:13 > git remote # timeout=10 02:44:13 > git config --get remote.origin.url # timeout=10 02:44:13 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:13 > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 02:44:13 > git rev-parse HEAD^{commit} # timeout=10 02:44:13 > git config core.sparsecheckout # timeout=10 02:44:13 > git checkout -f 969e0ec051e5d3905c767b5512a973f0076f8483 # timeout=10 02:44:17 Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" 02:44:17 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 02:44:17 > git rev-list --no-walk 0f2f68ce9cb22dd8229168e213abff079c05314d # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:44:18 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:44:19 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:44:19 + sudo service docker restart 02:44:19 + true 02:44:19 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:44:20 provisioning config files... 02:44:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config3697142058741698097tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:20 ---> docker-login.sh 02:44:20 nexus3.edgexfoundry.org:10001 02:44:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:21 Configure a credential helper to remove this warning. See 02:44:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:21 02:44:21 Login Succeeded 02:44:21 nexus3.edgexfoundry.org:10002 02:44:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:21 Configure a credential helper to remove this warning. See 02:44:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:21 02:44:21 Login Succeeded 02:44:21 nexus3.edgexfoundry.org:10003 02:44:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:21 Configure a credential helper to remove this warning. See 02:44:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:21 02:44:21 Login Succeeded 02:44:21 nexus3.edgexfoundry.org:10004 02:44:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:22 Configure a credential helper to remove this warning. See 02:44:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:22 02:44:22 Login Succeeded 02:44:22 docker.io 02:44:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:22 Configure a credential helper to remove this warning. See 02:44:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:22 02:44:22 Login Succeeded 02:44:22 ---> docker-login.sh ends [Pipeline] } 02:44:22 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:44:22 ========================================================= 02:44:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:44:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:44:23 + 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 . 02:44:23 Sending build context to Docker daemon 2.623MB 02:44:23 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:44:23 Step 2/8 : FROM ${BASE} 02:44:23 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:44:23 188c0c94c7c5: Pulling fs layer 02:44:23 0ef7d3d256c8: Pulling fs layer 02:44:23 de9db76c5a1d: Pulling fs layer 02:44:23 bca2f99d35d6: Pulling fs layer 02:44:23 93359f2a8cfa: Pulling fs layer 02:44:23 7c6f9722023f: Pulling fs layer 02:44:23 a35cf1a2eb13: Pulling fs layer 02:44:23 7c6f9722023f: Waiting 02:44:23 a35cf1a2eb13: Waiting 02:44:23 bca2f99d35d6: Waiting 02:44:23 93359f2a8cfa: Waiting 02:44:23 de9db76c5a1d: Verifying Checksum 02:44:23 de9db76c5a1d: Download complete 02:44:23 0ef7d3d256c8: Verifying Checksum 02:44:23 0ef7d3d256c8: Download complete 02:44:23 93359f2a8cfa: Verifying Checksum 02:44:23 93359f2a8cfa: Download complete 02:44:23 7c6f9722023f: Verifying Checksum 02:44:23 7c6f9722023f: Download complete 02:44:23 188c0c94c7c5: Verifying Checksum 02:44:23 188c0c94c7c5: Download complete 02:44:24 188c0c94c7c5: Pull complete 02:44:24 0ef7d3d256c8: Pull complete 02:44:24 de9db76c5a1d: Pull complete 02:44:26 a35cf1a2eb13: Verifying Checksum 02:44:26 a35cf1a2eb13: Download complete 02:44:27 bca2f99d35d6: Verifying Checksum 02:44:27 bca2f99d35d6: Download complete 02:44:34 bca2f99d35d6: Pull complete 02:44:34 93359f2a8cfa: Pull complete 02:44:34 7c6f9722023f: Pull complete 02:44:44 a35cf1a2eb13: Pull complete 02:44:44 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:44:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:44:44 ---> a62c8e92a672 02:44:44 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:44:44 ---> Running in 40eee92b76c5 02:44:44 Removing intermediate container 40eee92b76c5 02:44:44 ---> 5d368b0b0942 02:44:44 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:44:44 ---> Running in 6af6e48ade0b 02:44:44 Removing intermediate container 6af6e48ade0b 02:44:44 ---> bf0ddc06c924 02:44:44 Step 5/8 : RUN apk add --update --no-cache make git 02:44:44 ---> Running in 527adae59a6d 02:44:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:44:46 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:44:47 OK: 166 MiB in 39 packages 02:44:47 Removing intermediate container 527adae59a6d 02:44:47 ---> 96a1f2f63c44 02:44:47 Step 6/8 : WORKDIR /device-sdk-go 02:44:47 ---> Running in 498510b35660 02:44:47 Removing intermediate container 498510b35660 02:44:47 ---> 37ccc4cc9512 02:44:47 Step 7/8 : COPY . . 02:44:49 ---> dd0412f21256 02:44:49 Step 8/8 : RUN go mod download 02:44:49 ---> Running in ca029c040dfe 02:45:11 Removing intermediate container ca029c040dfe 02:45:11 ---> 3f7d9c73b5bb 02:45:11 Successfully built 3f7d9c73b5bb 02:45:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:45:11 + docker inspect -f . ci-base-image-x86_64 02:45:11 . [Pipeline] withDockerContainer 02:45:12 prd-centos7-docker-4c-2g-23659 does not seem to be running inside a container 02:45:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:45:13 $ docker top 5f721a5e54bf4a75c8f81a500543618edc0c75c6092332c919a3a14e8f3f3efc -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:13 + go version 02:45:13 go version go1.15.5 linux/amd64 [Pipeline] } 02:45:13 $ docker stop --time=1 5f721a5e54bf4a75c8f81a500543618edc0c75c6092332c919a3a14e8f3f3efc 02:45:15 $ docker rm -f 5f721a5e54bf4a75c8f81a500543618edc0c75c6092332c919a3a14e8f3f3efc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:45:16 + docker inspect -f . ci-base-image-x86_64 02:45:16 . [Pipeline] withDockerContainer 02:45:16 prd-centos7-docker-4c-2g-23659 does not seem to be running inside a container 02:45:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:45:16 $ docker top 9582d21efee306ea28aa15dab406e7f2a3f2df79ebb2fbe4ea819190b9346d3b -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:17 + make test 02:45:17 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:45:25 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:45:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:45:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:45:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:45:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.089s coverage: 19.4% of statements 02:45:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.512s coverage: 97.1% of statements 02:46:15 Running on prd-ubuntu18.04-docker-arm64-4c-16g-23663 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [Pipeline] { [Pipeline] ws 02:46:15 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 02:46:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.050s coverage: 9.4% of statements 02:46:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.058s coverage: 21.7% of statements 02:46:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:46:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.322s coverage: 43.2% of statements 02:46:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:46:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.371s coverage: 66.5% of statements 02:46:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:46:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:46:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:46:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:46:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.092s coverage: 53.8% of statements 02:46:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:46:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:46:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.075s coverage: 26.8% of statements 02:46:18 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.513s coverage: 83.5% of statements 02:46:18 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.087s coverage: 4.2% of statements 02:46:18 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:46:18 GO111MODULE=on go vet ./... 02:46:20 using credential edgex-jenkins-ssh 02:46:21 Cloning the remote Git repository 02:46:21 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:46:21 > git init /w/workspace/device-sdk-go/8 # timeout=10 02:46:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:21 > git --version # timeout=10 02:46:21 > git --version # 'git version 2.17.1' 02:46:21 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:22 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/732/head:refs/remotes/origin/PR-732 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:46:23 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c 02:46:24 Merge succeeded, producing 446563a66275065efbc4ecc533d0dbec296ed031 02:46:24 Checking out Revision 446563a66275065efbc4ecc533d0dbec296ed031 (PR-732) 02:46:23 > git config core.sparsecheckout # timeout=10 02:46:23 > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 02:46:23 > git remote # timeout=10 02:46:23 > git config --get remote.origin.url # timeout=10 02:46:23 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:23 > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 02:46:23 > git rev-parse HEAD^{commit} # timeout=10 02:46:24 > git config core.sparsecheckout # timeout=10 02:46:24 > git checkout -f 446563a66275065efbc4ecc533d0dbec296ed031 # timeout=10 02:46:26 gofmt -l . 02:46:26 [ "`gofmt -l .`" = "" ] 02:46:26 ./bin/test-attribution-txt.sh 02:46:26 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:46:26 $ docker stop --time=1 9582d21efee306ea28aa15dab406e7f2a3f2df79ebb2fbe4ea819190b9346d3b 02:46:28 Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" 02:46:28 First time build. Skipping changelog. 02:46:28 $ docker rm -f 9582d21efee306ea28aa15dab406e7f2a3f2df79ebb2fbe4ea819190b9346d3b 02:46:28 > git rev-list --no-walk 0f2f68ce9cb22dd8229168e213abff079c05314d # timeout=10 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 02:46:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] sh 02:46:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 02:46:30 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [Pipeline] sh 02:46:32 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:46:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:46:33 + sudo service docker+ restart 02:46:33 true 02:46:33 + ls -al . 02:46:33 total 216 02:46:33 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 28 02:46 . 02:46:33 drwxrwxr-x. 4 jenkins jenkins 28 Jan 28 02:44 .. 02:46:33 drwxrwxr-x. 2 jenkins jenkins 64 Jan 28 02:44 bin 02:46:33 -rw-r--r--. 1 jenkins jenkins 137880 Jan 28 02:46 coverage.out 02:46:33 -rw-rw-r--. 1 jenkins jenkins 949 Jan 28 02:44 Dockerfile.build 02:46:33 -rw-rw-r--. 1 jenkins jenkins 140 Jan 28 02:44 .dockerignore 02:46:33 drwxrwxr-x. 4 jenkins jenkins 48 Jan 28 02:44 example 02:46:33 drwxrwxr-x. 8 jenkins jenkins 179 Jan 28 02:44 .git 02:46:33 drwxrwxr-x. 2 jenkins jenkins 103 Jan 28 02:44 .github 02:46:33 -rw-rw-r--. 1 jenkins jenkins 138 Jan 28 02:44 .gitignore 02:46:33 -rw-r--r--. 1 jenkins jenkins 514 Jan 28 02:46 go.mod 02:46:33 -rw-r--r--. 1 jenkins jenkins 14101 Jan 28 02:46 go.sum 02:46:33 drwxrwxr-x. 15 jenkins jenkins 211 Jan 28 02:44 internal 02:46:33 -rw-rw-r--. 1 jenkins jenkins 901 Jan 28 02:44 Jenkinsfile 02:46:33 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 28 02:44 LICENSE 02:46:33 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 28 02:44 Makefile 02:46:33 drwxrwxr-x. 4 jenkins jenkins 26 Jan 28 02:44 openapi 02:46:33 drwxrwxr-x. 5 jenkins jenkins 50 Jan 28 02:44 pkg 02:46:33 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 28 02:44 README.md 02:46:33 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 28 02:44 RELEASE-NOTES.txt 02:46:33 drwxrwxr-x. 4 jenkins jenkins 54 Jan 28 02:44 snap 02:46:33 -rw-rw-r--. 1 jenkins jenkins 5 Jan 28 02:42 VERSION 02:46:33 -rw-rw-r--. 1 jenkins jenkins 222 Jan 28 02:44 version.go [Pipeline] isUnix [Pipeline] sh 02:46:33 + 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=23455bfac23852930a6947f372e58b4db43b0f22 --label arch=amd64 --label version=0.0.0 . 02:46:33 Sending build context to Docker daemon 2.762MB 02:46:33 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:46:33 Step 2/24 : FROM ${BASE} AS builder 02:46:33 ---> 3f7d9c73b5bb 02:46:33 Step 3/24 : ARG MAKE='make build' 02:46:34 ---> Running in 4248a9ef8ffb 02:46:34 Removing intermediate container 4248a9ef8ffb 02:46:34 ---> bd9f56bf8f2e 02:46:34 Step 4/24 : WORKDIR /device-sdk-go 02:46:34 ---> Running in 4141b10b9b0e 02:46:34 Removing intermediate container 4141b10b9b0e 02:46:34 ---> b8f818bd2d24 02:46:34 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:34 ---> Running in f087a878d839 02:46:34 Removing intermediate container f087a878d839 02:46:34 ---> cb2fd37f6f2e 02:46:34 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:35 ---> Running in 449f542f1e3e [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:46:35 provisioning config files... 02:46:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config2511287677160426247tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:46:36 Removing intermediate container 449f542f1e3e 02:46:36 ---> 30d8f024cf5a 02:46:36 Step 7/24 : RUN apk add --update --no-cache make git 02:46:36 ---> Running in 5255d0a5d0f0 02:46:36 ---> docker-login.sh 02:46:36 nexus3.edgexfoundry.org:10001 02:46:36 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:46:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:37 Configure a credential helper to remove this warning. See 02:46:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:37 02:46:37 Login Succeeded 02:46:37 nexus3.edgexfoundry.org:10002 02:46:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:46:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:38 Configure a credential helper to remove this warning. See 02:46:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:38 02:46:38 Login Succeeded 02:46:38 nexus3.edgexfoundry.org:10003 02:46:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:38 Configure a credential helper to remove this warning. See 02:46:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:38 02:46:38 Login Succeeded 02:46:38 nexus3.edgexfoundry.org:10004 02:46:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:38 OK: 166 MiB in 39 packages 02:46:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:39 Configure a credential helper to remove this warning. See 02:46:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:39 02:46:39 Login Succeeded 02:46:39 docker.io 02:46:39 Removing intermediate container 5255d0a5d0f0 02:46:39 ---> aacac456c0ac 02:46:39 Step 8/24 : COPY . . 02:46:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:40 Configure a credential helper to remove this warning. See 02:46:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:40 02:46:40 Login Succeeded 02:46:40 ---> docker-login.sh ends [Pipeline] } 02:46:40 Deleting 1 temporary files 02:46:40 ---> ba5178ee3572 02:46:40 Step 9/24 : RUN ${MAKE} [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 02:46:40 ---> Running in 811294681b33 [Pipeline] echo 02:46:40 ========================================================= 02:46:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:46:40 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:46:40 + 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 . 02:46:41 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:46:41 Sending build context to Docker daemon 2.624MB 02:46:41 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:46:41 Step 2/8 : FROM ${BASE} 02:46:41 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:46:41 5f621e34cdf4: Pulling fs layer 02:46:41 a4357932f1b6: Pulling fs layer 02:46:41 18c013af1878: Pulling fs layer 02:46:41 00ac8860ef70: Pulling fs layer 02:46:41 63d7cb157983: Pulling fs layer 02:46:41 b116817d02f9: Pulling fs layer 02:46:41 745a02a5169b: Pulling fs layer 02:46:41 00ac8860ef70: Waiting 02:46:41 63d7cb157983: Waiting 02:46:41 b116817d02f9: Waiting 02:46:41 745a02a5169b: Waiting 02:46:41 18c013af1878: Download complete 02:46:41 a4357932f1b6: Verifying Checksum 02:46:41 a4357932f1b6: Download complete 02:46:41 63d7cb157983: Verifying Checksum 02:46:41 63d7cb157983: Download complete 02:46:41 b116817d02f9: Verifying Checksum 02:46:41 b116817d02f9: Download complete 02:46:41 5f621e34cdf4: Verifying Checksum 02:46:41 5f621e34cdf4: Download complete 02:46:42 5f621e34cdf4: Pull complete 02:46:42 a4357932f1b6: Pull complete 02:46:43 18c013af1878: Pull complete 02:46:44 745a02a5169b: Verifying Checksum 02:46:44 745a02a5169b: Download complete 02:46:45 00ac8860ef70: Verifying Checksum 02:46:45 00ac8860ef70: Download complete 02:46:51 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:46:53 Removing intermediate container 811294681b33 02:46:53 ---> eac02591270d 02:46:53 Step 10/24 : FROM scratch 02:46:53 ---> 02:46:53 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:53 ---> Running in da1d8a80520b 02:46:53 Removing intermediate container da1d8a80520b 02:46:53 ---> c6a35be386f5 02:46:53 Step 12/24 : ENV APP_PORT=49990 02:46:53 ---> Running in b68f290322c0 02:46:53 Removing intermediate container b68f290322c0 02:46:53 ---> bb865002c6da 02:46:53 Step 13/24 : EXPOSE $APP_PORT 02:46:53 ---> Running in 51ce61019237 02:46:53 Removing intermediate container 51ce61019237 02:46:53 ---> 2955e5645e0e 02:46:53 Step 14/24 : WORKDIR / 02:46:53 ---> Running in 0b7b9335a0e6 02:46:53 Removing intermediate container 0b7b9335a0e6 02:46:53 ---> bc0a69cd529d 02:46:53 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:46:54 ---> d6ca705e523c 02:46:54 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:46:54 ---> dd8fda1a3693 02:46:54 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:46:55 ---> 6d24adfadef5 02:46:55 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:46:55 ---> 89be275848b7 02:46:55 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:46:55 ---> ed643f645234 02:46:55 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:46:55 ---> Running in bec15fe29936 02:46:55 Removing intermediate container bec15fe29936 02:46:55 ---> 16f89bd92a15 02:46:55 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:46:55 ---> Running in 80af5605ec17 02:46:55 Removing intermediate container 80af5605ec17 02:46:55 ---> c79dfb26743c 02:46:55 Step 22/24 : LABEL arch=amd64 02:46:55 ---> Running in fa3a775028b4 02:46:56 00ac8860ef70: Pull complete 02:46:56 63d7cb157983: Pull complete 02:46:56 Removing intermediate container fa3a775028b4 02:46:56 ---> 84b04cc913ff 02:46:56 Step 23/24 : LABEL git_sha=23455bfac23852930a6947f372e58b4db43b0f22 02:46:56 ---> Running in d31174561c98 02:46:56 b116817d02f9: Pull complete 02:46:56 Removing intermediate container d31174561c98 02:46:56 ---> 2c5d2ba98225 02:46:56 Step 24/24 : LABEL version=0.0.0 02:46:56 ---> Running in d8d6c2e84dee 02:46:56 Removing intermediate container d8d6c2e84dee 02:46:56 ---> 410de8064e16 02:46:56 [Warning] One or more build-args [ARCH] were not consumed 02:46:56 Successfully built 410de8064e16 02:46:56 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] } 02:46:59 745a02a5169b: Pull complete 02:46:59 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:46:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:47:00 ---> b7e6874047d6 02:47:00 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:03 ---> Running in 94e9885e05a8 02:47:03 Removing intermediate container 94e9885e05a8 02:47:03 ---> c9000c958c30 02:47:03 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:03 ---> Running in c7350e39afce 02:47:05 Removing intermediate container c7350e39afce 02:47:05 ---> 2cec6c919352 02:47:05 Step 5/8 : RUN apk add --update --no-cache make git 02:47:05 ---> Running in 1b209eef49be 02:47:06 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:47:07 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:47:08 OK: 142 MiB in 39 packages 02:47:10 Removing intermediate container 1b209eef49be 02:47:10 ---> b7e095bd17ec 02:47:10 Step 6/8 : WORKDIR /device-sdk-go 02:47:10 ---> Running in 0d5d8ee2947e 02:47:10 Removing intermediate container 0d5d8ee2947e 02:47:10 ---> e5d04fbb7ba6 02:47:10 Step 7/8 : COPY . . 02:47:12 ---> 5ffb1fb752c8 02:47:12 Step 8/8 : RUN go mod download 02:47:12 ---> Running in 486252ba52bf 02:47:34 Removing intermediate container 486252ba52bf 02:47:34 ---> c74ba417f8ac 02:47:34 Successfully built c74ba417f8ac 02:47:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:47:34 + docker inspect -f . ci-base-image-arm64 02:47:34 . [Pipeline] withDockerContainer 02:47:34 prd-ubuntu18.04-docker-arm64-4c-16g-23663 does not seem to be running inside a container 02:47:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:47:36 $ docker top 70ad8a02eb22584cd03b49cb984174aa4060722342447eef7a43e6f1a7d93b53 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:37 + go version 02:47:37 go version go1.15.5 linux/arm64 [Pipeline] } 02:47:37 $ docker stop --time=1 70ad8a02eb22584cd03b49cb984174aa4060722342447eef7a43e6f1a7d93b53 02:47:39 $ docker rm -f 70ad8a02eb22584cd03b49cb984174aa4060722342447eef7a43e6f1a7d93b53 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:47:40 + docker inspect -f . ci-base-image-arm64 02:47:40 . [Pipeline] withDockerContainer 02:47:40 prd-ubuntu18.04-docker-arm64-4c-16g-23663 does not seem to be running inside a container 02:47:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:47:42 $ docker top ffb3284abcc3aa899b22f5928e7d276fb0f2ab6d174798ed24bbb6a2aa3f4033 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:43 + make test 02:47:43 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:48:05 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:48:52 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:48:52 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:48:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:48:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.160s coverage: 19.4% of statements 02:48:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.245s coverage: 97.1% of statements 02:49:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.131s coverage: 9.4% of statements 02:49:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.117s coverage: 21.7% of statements 02:49:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:49:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.615s coverage: 43.2% of statements 02:49:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:49:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.789s coverage: 66.5% of statements 02:49:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:49:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:49:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:49:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:49:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.204s coverage: 53.8% of statements 02:49:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:49:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:49:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.166s coverage: 26.8% of statements 02:49:20 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.033s coverage: 83.5% of statements 02:49:20 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.153s coverage: 4.2% of statements 02:49:20 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:49:20 GO111MODULE=on go vet ./... 02:49:59 gofmt -l . 02:49:59 [ "`gofmt -l .`" = "" ] 02:49:59 ./bin/test-attribution-txt.sh 02:49:59 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:49:59 $ docker stop --time=1 ffb3284abcc3aa899b22f5928e7d276fb0f2ab6d174798ed24bbb6a2aa3f4033 02:50:02 $ docker rm -f ffb3284abcc3aa899b22f5928e7d276fb0f2ab6d174798ed24bbb6a2aa3f4033 [Pipeline] // withDockerContainer [Pipeline] sh 02:50:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:50:03 Warning: overwriting stash ‘coverage-report’ 02:50:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:50:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:50:05 + ls -al . 02:50:05 total 252 02:50:05 drwxrwxr-x 10 jenkins jenkins 4096 Jan 28 02:49 . 02:50:05 drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 02:46 .. 02:50:05 -rw-rw-r-- 1 jenkins jenkins 140 Jan 28 02:46 .dockerignore 02:50:05 drwxrwxr-x 8 jenkins jenkins 4096 Jan 28 02:46 .git 02:50:05 drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 02:46 .github 02:50:05 -rw-rw-r-- 1 jenkins jenkins 138 Jan 28 02:46 .gitignore 02:50:05 -rw-rw-r-- 1 jenkins jenkins 949 Jan 28 02:46 Dockerfile.build 02:50:05 -rw-rw-r-- 1 jenkins jenkins 901 Jan 28 02:46 Jenkinsfile 02:50:05 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 28 02:46 LICENSE 02:50:05 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 28 02:46 Makefile 02:50:05 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 28 02:46 README.md 02:50:05 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 28 02:46 RELEASE-NOTES.txt 02:50:05 -rw-rw-r-- 1 jenkins jenkins 5 Jan 28 02:42 VERSION 02:50:05 drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 02:46 bin 02:50:05 -rw-r--r-- 1 jenkins jenkins 137880 Jan 28 02:49 coverage.out 02:50:05 drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 02:46 example 02:50:05 -rw-r--r-- 1 jenkins jenkins 514 Jan 28 02:49 go.mod 02:50:05 -rw-r--r-- 1 jenkins jenkins 14101 Jan 28 02:49 go.sum 02:50:05 drwxrwxr-x 15 jenkins jenkins 4096 Jan 28 02:46 internal 02:50:05 drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 02:46 openapi 02:50:05 drwxrwxr-x 5 jenkins jenkins 4096 Jan 28 02:46 pkg 02:50:05 drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 02:46 snap 02:50:05 -rw-rw-r-- 1 jenkins jenkins 222 Jan 28 02:46 version.go [Pipeline] isUnix [Pipeline] sh 02:50:05 + 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=23455bfac23852930a6947f372e58b4db43b0f22 --label arch=arm64 --label version=0.0.0 . 02:50:06 Sending build context to Docker daemon 2.763MB 02:50:06 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:50:06 Step 2/24 : FROM ${BASE} AS builder 02:50:06 ---> c74ba417f8ac 02:50:06 Step 3/24 : ARG MAKE='make build' 02:50:06 ---> Running in 878c30bcdc20 02:50:07 Removing intermediate container 878c30bcdc20 02:50:07 ---> cf3ccc67a15e 02:50:07 Step 4/24 : WORKDIR /device-sdk-go 02:50:07 ---> Running in 16c778940488 02:50:07 Removing intermediate container 16c778940488 02:50:07 ---> afddb1962308 02:50:07 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:07 ---> Running in 6cb8b7984bfe 02:50:08 Removing intermediate container 6cb8b7984bfe 02:50:08 ---> 74403ec5949a 02:50:08 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:50:08 ---> Running in 72d1995fb9eb 02:50:10 Removing intermediate container 72d1995fb9eb 02:50:10 ---> 72b6b988f996 02:50:10 Step 7/24 : RUN apk add --update --no-cache make git 02:50:10 ---> Running in ec305eec519c 02:50:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:50:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:50:13 OK: 142 MiB in 39 packages 02:50:14 Removing intermediate container ec305eec519c 02:50:14 ---> 0966277163e4 02:50:14 Step 8/24 : COPY . . 02:50:16 ---> 697901a2219f 02:50:16 Step 9/24 : RUN ${MAKE} 02:50:16 ---> Running in 3ae2dda51915 02:50:17 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:50:44 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:50:45 Removing intermediate container 3ae2dda51915 02:50:45 ---> fbaf483ae4a2 02:50:45 Step 10/24 : FROM scratch 02:50:45 ---> 02:50:45 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:45 ---> Running in bc882ab4a972 02:50:46 Removing intermediate container bc882ab4a972 02:50:46 ---> f0a1e813bab2 02:50:46 Step 12/24 : ENV APP_PORT=49990 02:50:46 ---> Running in 0ec1c2ab6bce 02:50:47 Removing intermediate container 0ec1c2ab6bce 02:50:47 ---> 36c6aaa263e8 02:50:47 Step 13/24 : EXPOSE $APP_PORT 02:50:47 ---> Running in 512bdcac87e8 02:50:47 Removing intermediate container 512bdcac87e8 02:50:47 ---> 34f7d7e7937a 02:50:47 Step 14/24 : WORKDIR / 02:50:47 ---> Running in 81b9ea730d84 02:50:47 Removing intermediate container 81b9ea730d84 02:50:47 ---> ba92515a0eac 02:50:47 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:50:49 ---> 58d973627c49 02:50:49 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:50:49 ---> 455b97988859 02:50:49 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:50:50 ---> 420341c48885 02:50:50 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:50:51 ---> f15c35ba4317 02:50:51 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:50:52 ---> 944d8a6d5f25 02:50:52 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:50:52 ---> Running in 56d7e48cb00e 02:50:53 Removing intermediate container 56d7e48cb00e 02:50:53 ---> b5ceedad0de4 02:50:53 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:50:53 ---> Running in 964ef021d178 02:50:53 Removing intermediate container 964ef021d178 02:50:53 ---> 690324a51c98 02:50:53 Step 22/24 : LABEL arch=arm64 02:50:54 ---> Running in 1e130d2cad58 02:50:54 Removing intermediate container 1e130d2cad58 02:50:54 ---> c5f634e9012c 02:50:54 Step 23/24 : LABEL git_sha=23455bfac23852930a6947f372e58b4db43b0f22 02:50:54 ---> Running in 8712709cd889 02:50:55 Removing intermediate container 8712709cd889 02:50:55 ---> 2b04c4412792 02:50:55 Step 24/24 : LABEL version=0.0.0 02:50:55 ---> Running in 847ded5d59bd 02:50:55 Removing intermediate container 847ded5d59bd 02:50:55 ---> 6532f6bd1a50 02:50:55 [Warning] One or more build-args [ARCH] were not consumed 02:50:56 Successfully built 6532f6bd1a50 02:50:56 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 02:50:57 provisioning config files... 02:50:57 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config5155269746432178752tmp [Pipeline] { [Pipeline] sh 02:50:58 + set +x 02:50:58 + curl -s https://codecov.io/bash 02:50:58 + bash -s -- 02:50:58 02:50:58 _____ _ 02:50:58 / ____| | | 02:50:58 | | ___ __| | ___ ___ _____ __ 02:50:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:50:58 | |___| (_) | (_| | __/ (_| (_) \ V / 02:50:58 \_____\___/ \__,_|\___|\___\___/ \_/ 02:50:58 Bash-20210128-d4071a2 02:50:58 02:50:58 02:50:58 ==> git version 2.24.3 found 02:50:58 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 02:50:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:50:58 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:50:58 ==> Jenkins CI detected. 02:50:58 project root: . 02:50:58 --> token set from env 02:50:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:50:58 ==> Running gcov in . (disable via -X gcov) 02:50:58 ==> Python coveragepy not found 02:50:58 ==> Searching for coverage reports in: 02:50:58 + . 02:50:58 -> Found 1 reports 02:50:58 ==> Detecting git/mercurial file structure 02:50:58 ==> Reading reports 02:50:58 + ./coverage.out bytes=137880 02:50:58 ==> Appending adjustments 02:50:58 https://docs.codecov.io/docs/fixing-reports 02:50:58 + Found adjustments 02:50:58 ==> Gzipping contents 02:50:58 24K /tmp/codecov.bltGKI.gz 02:50:58 ==> Uploading reports 02:50:58 url: https://codecov.io 02:50:58 query: branch=PR-732&commit=23455bfac23852930a6947f372e58b4db43b0f22&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-732%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=732&job=&cmd_args= 02:50:58 -> Pinging Codecov 02:50:58 https://codecov.io/upload/v4?package=bash-20210128-d4071a2&token=secret&branch=PR-732&commit=23455bfac23852930a6947f372e58b4db43b0f22&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-732%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=732&job=&cmd_args= 02:50:59 -> Uploading to 02:50:59 https://storage.googleapis.com/codecov/v4/raw/2021-01-28/7E55EF52A471D76F132DFD9A03CDDE97/23455bfac23852930a6947f372e58b4db43b0f22/78a7425b-2b20-4ed3-b2fc-2a8acf6b34cd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210128T025059Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=986681cdcd1249ac6f8506e61de618f168157c2c7e9ffdc81c0d37a3c9f86230 02:50:59 % Total % Received % Xferd Average Speed Time Time Time Current 02:50:59 Dload Upload Total Spent Left Speed 02:50:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21651 0 0 100 21651 0 52677 --:--:-- --:--:-- --:--:-- 52678 100 21651 0 0 100 21651 0 52652 --:--:-- --:--:-- --:--:-- 52550 02:50:59 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/23455bfac23852930a6947f372e58b4db43b0f22 [Pipeline] } 02:50:59 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 02:51:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:51:03 ---> package-listing.sh 02:51:03 ++ facter osfamily 02:51:03 ++ tr '[:upper:]' '[:lower:]' 02:51:03 + OS_FAMILY=redhat 02:51:03 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-732 02:51:03 + START_PACKAGES=/tmp/packages_start.txt 02:51:03 + END_PACKAGES=/tmp/packages_end.txt 02:51:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:51:03 + PACKAGES=/tmp/packages_start.txt 02:51:03 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-732 ']' 02:51:03 + PACKAGES=/tmp/packages_end.txt 02:51:03 + case "${OS_FAMILY}" in 02:51:03 + rpm -qa 02:51:03 + sort 02:51:08 + '[' -f /tmp/packages_start.txt ']' 02:51:08 + '[' -f /tmp/packages_end.txt ']' 02:51:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:51:08 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-732 ']' 02:51:08 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-732/archives/ 02:51:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-732/archives/ [Pipeline] echo 02:51:08 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-732/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:51:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:51:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:09 02:51:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:51:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:09 alpine: Pulling from edgex-lftools-log-publisher 02:51:09 df20fa9351a1: Pulling fs layer 02:51:09 36b3adc4ff6f: Pulling fs layer 02:51:09 8ad3a11d3b57: Pulling fs layer 02:51:09 46f8f816bc3b: Pulling fs layer 02:51:09 93b61091891f: Pulling fs layer 02:51:09 93b9cdb0e59b: Pulling fs layer 02:51:09 5e14af77c1be: Pulling fs layer 02:51:09 01666e4c0597: Pulling fs layer 02:51:09 aa168da1d23b: Pulling fs layer 02:51:09 93b9cdb0e59b: Waiting 02:51:09 5e14af77c1be: Waiting 02:51:09 01666e4c0597: Waiting 02:51:09 aa168da1d23b: Waiting 02:51:09 46f8f816bc3b: Waiting 02:51:09 93b61091891f: Waiting 02:51:09 36b3adc4ff6f: Verifying Checksum 02:51:09 36b3adc4ff6f: Download complete 02:51:09 46f8f816bc3b: Verifying Checksum 02:51:09 46f8f816bc3b: Download complete 02:51:09 df20fa9351a1: Verifying Checksum 02:51:09 df20fa9351a1: Download complete 02:51:09 93b61091891f: Download complete 02:51:09 93b9cdb0e59b: Verifying Checksum 02:51:09 93b9cdb0e59b: Download complete 02:51:09 5e14af77c1be: Verifying Checksum 02:51:09 5e14af77c1be: Download complete 02:51:09 01666e4c0597: Verifying Checksum 02:51:09 01666e4c0597: Download complete 02:51:09 df20fa9351a1: Pull complete 02:51:10 36b3adc4ff6f: Pull complete 02:51:10 8ad3a11d3b57: Verifying Checksum 02:51:10 8ad3a11d3b57: Download complete 02:51:11 8ad3a11d3b57: Pull complete 02:51:11 46f8f816bc3b: Pull complete 02:51:12 93b61091891f: Pull complete 02:51:12 93b9cdb0e59b: Pull complete 02:51:12 aa168da1d23b: Verifying Checksum 02:51:12 aa168da1d23b: Download complete 02:51:12 5e14af77c1be: Pull complete 02:51:12 01666e4c0597: Pull complete 02:51:20 aa168da1d23b: Pull complete 02:51:20 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:51:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:51:20 prd-centos7-docker-4c-2g-23653 does not seem to be running inside a container 02:51:20 $ 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-732/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-732 -v /w/workspace/dgexfoundry_device-sdk-go_PR-732:/w/workspace/dgexfoundry_device-sdk-go_PR-732:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-732@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:51:23 $ docker top 6d6cd496373e26ed8d1b00c02251574b0c12aff1a7b2060079c2d5dc344ab1bb -eo pid,comm [Pipeline] { [Pipeline] sh 02:51:24 + touch /tmp/pre-build-complete [Pipeline] sh 02:51:24 + mkdir -p /var/log/sa [Pipeline] sh 02:51:24 + ls /var/log/sa-host 02:51:24 + sadf -c /var/log/sa-host/sa23 02:51:24 file_magic: OK 02:51:24 HZ: Using current value: 100 02:51:24 file_header: OK 02:51:24 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 02:51:24 Statistics: 02:51:24 Hnuu...uuuununununu... 02:51:24 File successfully converted to sysstat format version 12.2.1 02:51:24 + sadf -c /var/log/sa-host/sa28 02:51:24 file_magic: OK 02:51:24 HZ: Using current value: 100 02:51:24 file_header: OK 02:51:24 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 02:51:24 Statistics: 02:51:24 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:51:24 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:51:24 provisioning config files... 02:51:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config3235634297239852513tmp [Pipeline] { [Pipeline] echo 02:51:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:51:25 ---> create-netrc.sh [Pipeline] } 02:51:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:51:25 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:51:25 ---> python-tools-install.sh [Pipeline] echo 02:51:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:51:26 ---> sudo-logs.sh 02:51:26 Archiving 'sudo' log.. [Pipeline] echo 02:51:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:51:26 ---> job-cost.sh 02:51:26 lf-activate-venv: SKIPPING 02:51:26 INFO: No Stack... 02:51:27 INFO: Retrieving Pricing Info for: v1-standard-2 02:51:27 INFO: Archiving Costs [Pipeline] echo 02:51:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:51:27 ---> logs-deploy.sh 02:51:27 lf-activate-venv: SKIPPING 02:51:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-732/8 02:51:27 INFO: archiving workspace using pattern(s): 02:51:29 Archives upload complete. 02:51:29 INFO: archiving logs to Nexus 02:51:30 ---> uname -a: 02:51:30 Linux prd-centos7-docker-4c-2g-23653.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 02:51:30 02:51:30 02:51:30 ---> lscpu: 02:51:30 Architecture: x86_64 02:51:30 CPU op-mode(s): 32-bit, 64-bit 02:51:30 Byte Order: Little Endian 02:51:30 Address sizes: 40 bits physical, 48 bits virtual 02:51:30 CPU(s): 4 02:51:30 On-line CPU(s) list: 0-3 02:51:30 Thread(s) per core: 1 02:51:30 Core(s) per socket: 1 02:51:30 Socket(s): 4 02:51:30 NUMA node(s): 1 02:51:30 Vendor ID: GenuineIntel 02:51:30 CPU family: 6 02:51:30 Model: 44 02:51:30 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:51:30 Stepping: 1 02:51:30 CPU MHz: 2933.436 02:51:30 BogoMIPS: 5866.87 02:51:30 Virtualization: VT-x 02:51:30 Hypervisor vendor: KVM 02:51:30 Virtualization type: full 02:51:30 L1d cache: 128 KiB 02:51:30 L1i cache: 128 KiB 02:51:30 L2 cache: 16 MiB 02:51:30 L3 cache: 64 MiB 02:51:30 NUMA node0 CPU(s): 0-3 02:51:30 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:51:30 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:51:30 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:51:30 Vulnerability Meltdown: Mitigation; PTI 02:51:30 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:51:30 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:51:30 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:51:30 Vulnerability Srbds: Not affected 02:51:30 Vulnerability Tsx async abort: Not affected 02:51:30 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 02:51:30 02:51:30 02:51:30 ---> nproc: 02:51:30 4 02:51:30 02:51:30 02:51:30 ---> df -h: 02:51:30 Filesystem Size Used Available Use% Mounted on 02:51:30 overlay 50.0G 7.3G 42.7G 15% / 02:51:30 tmpfs 64.0M 0 64.0M 0% /dev 02:51:30 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:51:30 shm 64.0M 0 64.0M 0% /dev/shm 02:51:30 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 02:51:30 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 02:51:30 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 02:51:30 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 02:51:30 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp 02:51:30 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 02:51:30 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 02:51:30 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 02:51:30 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 02:51:30 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-732 02:51:30 02:51:30 02:51:30 ---> free -m: 02:51:30 total used free shared buff/cache available 02:51:30 Mem: 1837 701 108 0 1027 1031 02:51:30 Swap: 1023 0 1023 02:51:30 02:51:30 02:51:30 ---> ip addr: 02:51:30 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:51:30 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:51:30 inet 127.0.0.1/8 scope host lo 02:51:30 valid_lft forever preferred_lft forever 02:51:30 inet6 ::1/128 scope host 02:51:30 valid_lft forever preferred_lft forever 02:51:30 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:51:30 link/ether fa:16:3e:04:38:64 brd ff:ff:ff:ff:ff:ff 02:51:30 inet 10.30.123.237/23 brd 10.30.123.255 scope global dynamic eth0 02:51:30 valid_lft 85833sec preferred_lft 85833sec 02:51:30 inet6 fe80::f816:3eff:fe04:3864/64 scope link 02:51:30 valid_lft forever preferred_lft forever 02:51:30 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:51:30 link/ether 02:42:2f:c5:64:ec brd ff:ff:ff:ff:ff:ff 02:51:30 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:51:30 valid_lft forever preferred_lft forever 02:51:30 inet6 fe80::42:2fff:fec5:64ec/64 scope link 02:51:30 valid_lft forever preferred_lft forever 02:51:30 02:51:30 02:51:30 ---> sar -b -r -n DEV: 02:51:30 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/28/21 _x86_64_ (4 CPU) 02:51:30 02:51:30 02:41:50 LINUX RESTART (4 CPU) 02:51:30 02:51:30 02:43:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:51:30 02:44:01 3.53 0.00 3.53 0.00 0.00 115.92 0.00 02:51:30 02:45:01 0.52 0.00 0.52 0.00 0.00 8.67 0.00 02:51:30 02:46:01 0.15 0.00 0.15 0.00 0.00 1.78 0.00 02:51:30 02:47:01 0.23 0.00 0.23 0.00 0.00 3.93 0.00 02:51:30 02:48:01 0.32 0.00 0.32 0.00 0.00 4.60 0.00 02:51:30 02:49:01 0.25 0.00 0.25 0.00 0.00 2.58 0.00 02:51:30 02:50:01 0.47 0.00 0.47 0.00 0.00 4.55 0.00 02:51:30 02:51:01 0.85 0.47 0.38 0.00 142.26 10.16 0.00 02:51:30 Average: 0.79 0.06 0.73 0.00 17.82 19.06 0.00 02:51:30 02:51:30 02:43:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:51:30 02:44:01 160420 0 603564 32.08 2620 1114940 1096296 37.41 432060 1088664 16 02:51:30 02:45:01 158912 0 605064 32.16 2620 1114948 1095268 37.38 450504 1071804 16 02:51:30 02:46:01 159392 0 604580 32.13 2620 1114952 1088132 37.14 445632 1076284 20 02:51:30 02:47:01 158080 0 605888 32.20 2620 1114956 1088108 37.14 455040 1068136 12 02:51:30 02:48:01 158936 0 605028 32.16 2620 1114960 1088084 37.13 456772 1066288 8 02:51:30 02:49:01 159772 0 604188 32.11 2620 1114964 1078820 36.82 455896 1066216 12 02:51:30 02:50:01 159576 0 604372 32.12 2620 1114976 1078820 36.82 456036 1066216 8 02:51:30 02:51:01 152476 0 607012 32.26 2620 1119436 1079484 36.84 458460 1070376 44 02:51:30 Average: 158446 0 604962 32.15 2620 1115516 1086626 37.08 451300 1071748 17 02:51:30 02:51:30 02:43:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:51:30 02:44:01 eth0 3.61 0.92 1.05 0.60 0.00 0.00 0.00 0.00 02:51:30 02:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:30 02:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:30 02:45:01 eth0 2.78 0.53 0.70 0.39 0.00 0.00 0.00 0.00 02:51:30 02:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:30 02:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:30 02:46:01 eth0 2.42 0.52 0.67 0.43 0.00 0.00 0.00 0.00 02:51:30 02:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:30 02:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:30 02:47:01 eth0 1.17 0.33 0.33 0.21 0.00 0.00 0.00 0.00 02:51:30 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:30 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:30 02:48:01 eth0 1.48 0.98 0.94 0.48 0.00 0.00 0.00 0.00 02:51:30 02:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:30 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:30 02:49:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 02:51:30 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:30 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:30 02:50:01 eth0 0.12 0.07 0.01 0.01 0.00 0.00 0.00 0.00 02:51:30 02:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:30 02:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:30 02:51:01 eth0 5.13 3.43 5.00 2.02 0.00 0.00 0.00 0.00 02:51:30 02:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:30 02:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:30 Average: eth0 2.10 0.86 1.09 0.52 0.00 0.00 0.00 0.00 02:51:30 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:30 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:30 02:51:30 02:51:30 ---> sar -P ALL: 02:51:30 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/28/21 _x86_64_ (4 CPU) 02:51:30 02:51:30 02:41:50 LINUX RESTART (4 CPU) 02:51:30 02:51:30 02:43:01 CPU %user %nice %system %iowait %steal %idle 02:51:30 02:44:01 all 0.20 0.00 0.06 0.00 0.02 99.72 02:51:30 02:44:01 0 0.07 0.00 0.05 0.00 0.02 99.87 02:51:30 02:44:01 1 0.08 0.00 0.07 0.00 0.02 99.83 02:51:30 02:44:01 2 0.18 0.00 0.07 0.00 0.03 99.72 02:51:30 02:44:01 3 0.45 0.00 0.07 0.00 0.00 99.48 02:51:30 02:45:01 all 0.16 0.00 0.07 0.00 0.08 99.69 02:51:30 02:45:01 0 0.05 0.00 0.10 0.00 0.05 99.80 02:51:30 02:45:01 1 0.03 0.00 0.08 0.00 0.13 99.75 02:51:30 02:45:01 2 0.12 0.00 0.07 0.00 0.10 99.72 02:51:30 02:45:01 3 0.43 0.00 0.02 0.00 0.05 99.50 02:51:30 02:46:01 all 0.21 0.00 0.20 0.00 0.03 99.56 02:51:30 02:46:01 0 0.07 0.00 0.08 0.00 0.02 99.83 02:51:30 02:46:01 1 0.08 0.00 0.22 0.00 0.03 99.66 02:51:30 02:46:01 2 0.10 0.00 0.08 0.00 0.05 99.76 02:51:30 02:46:01 3 0.59 0.00 0.41 0.00 0.02 98.99 02:51:30 02:47:01 all 0.13 0.00 0.05 0.00 0.05 99.77 02:51:30 02:47:01 0 0.03 0.00 0.02 0.00 0.00 99.95 02:51:30 02:47:01 1 0.05 0.00 0.13 0.00 0.05 99.77 02:51:30 02:47:01 2 0.03 0.00 0.05 0.00 0.07 99.85 02:51:30 02:47:01 3 0.40 0.00 0.02 0.00 0.07 99.52 02:51:30 02:48:01 all 0.17 0.00 0.04 0.00 0.01 99.79 02:51:30 02:48:01 0 0.48 0.00 0.03 0.00 0.02 99.47 02:51:30 02:48:01 1 0.05 0.00 0.03 0.00 0.00 99.92 02:51:30 02:48:01 2 0.07 0.00 0.05 0.00 0.02 99.87 02:51:30 02:48:01 3 0.07 0.00 0.03 0.00 0.00 99.90 02:51:30 02:49:01 all 0.16 0.00 0.04 0.00 0.00 99.80 02:51:30 02:49:01 0 0.52 0.00 0.02 0.00 0.00 99.47 02:51:30 02:49:01 1 0.07 0.00 0.07 0.00 0.00 99.87 02:51:30 02:49:01 2 0.03 0.00 0.03 0.00 0.00 99.93 02:51:30 02:49:01 3 0.03 0.00 0.03 0.00 0.00 99.93 02:51:30 02:50:01 all 0.15 0.00 0.03 0.00 0.00 99.81 02:51:30 02:50:01 0 0.52 0.00 0.02 0.00 0.00 99.47 02:51:30 02:50:01 1 0.02 0.00 0.03 0.00 0.00 99.95 02:51:30 02:50:01 2 0.05 0.00 0.07 0.00 0.00 99.88 02:51:30 02:50:01 3 0.03 0.00 0.02 0.00 0.02 99.93 02:51:30 02:51:01 all 0.50 0.00 0.33 0.00 0.01 99.15 02:51:30 02:51:01 0 0.88 0.00 0.37 0.02 0.00 98.73 02:51:30 02:51:01 1 0.38 0.00 0.20 0.00 0.02 99.40 02:51:30 02:51:01 2 0.35 0.00 0.53 0.00 0.02 99.10 02:51:30 02:51:01 3 0.40 0.00 0.20 0.00 0.02 99.38 02:51:30 Average: all 0.21 0.00 0.10 0.00 0.03 99.66 02:51:30 Average: 0 0.33 0.00 0.09 0.00 0.01 99.57 02:51:30 Average: 1 0.10 0.00 0.10 0.00 0.03 99.77 02:51:30 Average: 2 0.12 0.00 0.12 0.00 0.04 99.73 02:51:30 Average: 3 0.30 0.00 0.10 0.00 0.02 99.58 02:51:30 02:51:30 02:51:30