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 tzstoyanov for edgexfoundry/device-sdk-go Loading trusted files from base branch master at c21ff6277396b81a1001baea71274dd2dd19f737 rather than 46bab8434c541b523242ffed956eb32102a5c834 Obtained Jenkinsfile from c21ff6277396b81a1001baea71274dd2dd19f737 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 48b313303ce5ba460cd13c4c603c4b280f104d53 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 48b313303ce5ba460cd13c4c603c4b280f104d53 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 48b313303ce5ba460cd13c4c603c4b280f104d53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 48b313303ce5ba460cd13c4c603c4b280f104d53 # timeout=10 Commit message: "Merge pull request #305 from ernestojeda/revert-go-mod-change" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-15034 in /w/workspace/dgexfoundry_device-sdk-go_PR-650 [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-650 # 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 > 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/650/head:refs/remotes/origin/PR-650 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit 46bab8434c541b523242ffed956eb32102a5c834 Merge succeeded, producing 45d7d71e4316cddffb5bfb7643e18fdc2467c961 Checking out Revision 45d7d71e4316cddffb5bfb7643e18fdc2467c961 (PR-650) > git config core.sparsecheckout # timeout=10 > git checkout -f 46bab8434c541b523242ffed956eb32102a5c834 # 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 c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 45d7d71e4316cddffb5bfb7643e18fdc2467c961 # timeout=10 Commit message: "Merge commit 'c21ff6277396b81a1001baea71274dd2dd19f737' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:43:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:43:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:43:23 ========================================================= 02:43:23 EdgeX Global Pipelines Version Info 02:43:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 9a0e2c45274f62f1dd40da0d458bb55d36998f22 # timeout=10 02:43:26 ------------------- 02:43:26 stable info: 02:43:26 ------------------- 02:43:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:26 Commit SHA: 48b313303ce5ba460cd13c4c603c4b280f104d53 02:43:26 Message: update stable to v1.0.171 02:43:27 ------------------- 02:43:27 experimental info: 02:43:27 ------------------- 02:43:27 Commited By: **** collab-it+edgex@linuxfoundation.org 02:43:27 Commit SHA: 48b313303ce5ba460cd13c4c603c4b280f104d53 02:43:27 Message: update experimental to v1.0.171 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:43:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:43:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:43:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:43:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:43:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:43:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:43:28 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:43:28 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:43:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:43:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:43:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:43:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:43:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:43:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:43:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:43:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:43:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:43:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:43:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:43:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:43:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:43:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:43:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:43:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:43:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:43:30 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:43:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-650 [Pipeline] echo 02:43:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-650 [Pipeline] echo 02:43:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-650 [Pipeline] echo 02:43:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 45d7d71e4316cddffb5bfb7643e18fdc2467c961 [Pipeline] echo 02:43:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 45d7d71 [Pipeline] echo 02:43:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:43:31 provisioning config files... 02:43:31 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/config3933117337105933867tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:32 ---> docker-login.sh 02:43:32 nexus3.edgexfoundry.org:10001 02:43:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:33 Configure a credential helper to remove this warning. See 02:43:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:33 02:43:33 Login Succeeded 02:43:33 nexus3.edgexfoundry.org:10002 02:43:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:33 Configure a credential helper to remove this warning. See 02:43:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:33 02:43:33 Login Succeeded 02:43:33 nexus3.edgexfoundry.org:10003 02:43:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:33 Configure a credential helper to remove this warning. See 02:43:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:33 02:43:33 Login Succeeded 02:43:33 nexus3.edgexfoundry.org:10004 02:43:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:34 Configure a credential helper to remove this warning. See 02:43:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:34 02:43:34 Login Succeeded 02:43:34 docker.io 02:43:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:34 Configure a credential helper to remove this warning. See 02:43:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:34 02:43:34 Login Succeeded 02:43:34 ---> docker-login.sh ends [Pipeline] } 02:43:34 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:43:35 + git log --format=format:%s -1 45d7d71e4316cddffb5bfb7643e18fdc2467c961 [Pipeline] echo 02:43:35 GIT_COMMIT: 45d7d71e4316cddffb5bfb7643e18fdc2467c961, Commit Message: Merge commit 'c21ff6277396b81a1001baea71274dd2dd19f737' into HEAD [Pipeline] echo 02:43:35 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:43:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:36 02:43:36 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:43:36 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:36 latest: Pulling from edgex-devops/git-semver 02:43:36 31603596830f: Pulling fs layer 02:43:36 2a8b12db71e7: Pulling fs layer 02:43:36 6ca5941a6612: Pulling fs layer 02:43:36 ecc8261a40a4: Pulling fs layer 02:43:36 2a8b12db71e7: Verifying Checksum 02:43:36 2a8b12db71e7: Download complete 02:43:37 31603596830f: Verifying Checksum 02:43:37 31603596830f: Download complete 02:43:37 ecc8261a40a4: Verifying Checksum 02:43:37 ecc8261a40a4: Download complete 02:43:38 6ca5941a6612: Verifying Checksum 02:43:38 6ca5941a6612: Download complete 02:43:38 31603596830f: Pull complete 02:43:38 2a8b12db71e7: Pull complete 02:43:40 6ca5941a6612: Pull complete 02:43:40 ecc8261a40a4: Pull complete 02:43:40 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:43:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:40 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:43:40 prd-centos7-docker-4c-2g-15034 does not seem to be running inside a container 02:43:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-650 -v /w/workspace/dgexfoundry_device-sdk-go_PR-650:/w/workspace/dgexfoundry_device-sdk-go_PR-650:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-650@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:43:43 $ docker top fd0c585c692dee74819d20d570f8b73c2f1ebd731f188d1cf26019f52efe7029 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:43:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:43 [ssh-agent] Looking for ssh-agent implementation... 02:43:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:44 $ docker exec fd0c585c692dee74819d20d570f8b73c2f1ebd731f188d1cf26019f52efe7029 ssh-agent 02:43:44 SSH_AUTH_SOCK=/tmp/ssh-UtwGj0ASTDdz/agent.11 02:43:44 SSH_AGENT_PID=16 02:43:44 Running ssh-add (command line suppressed) 02:43:44 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/private_key_8074091846053454723.key (/w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/private_key_8074091846053454723.key) 02:43:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:45 + git tag --points-at HEAD [Pipeline] } 02:43:45 $ docker exec --env ******** --env ******** fd0c585c692dee74819d20d570f8b73c2f1ebd731f188d1cf26019f52efe7029 ssh-agent -k 02:43:45 unset SSH_AUTH_SOCK; 02:43:45 unset SSH_AGENT_PID; 02:43:45 echo Agent pid 16 killed; 02:43:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:43:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:46 [ssh-agent] Looking for ssh-agent implementation... 02:43:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:46 $ docker exec fd0c585c692dee74819d20d570f8b73c2f1ebd731f188d1cf26019f52efe7029 ssh-agent 02:43:46 SSH_AUTH_SOCK=/tmp/ssh-a3NZ486EX9Lx/agent.44 02:43:46 SSH_AGENT_PID=49 02:43:46 Running ssh-add (command line suppressed) 02:43:47 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/private_key_3006454636309095548.key (/w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/private_key_3006454636309095548.key) 02:43:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:47 + git semver init 02:43:47 # -> Open(): unable to determine branch for HEAD 02:43:47 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-650/.git 02:43:47 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-650 02:43:47 # $SEMVER_REMOTE_NAME = origin 02:43:47 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:43:47 # $SEMVER_USER_NAME = edgex-jenkins 02:43:47 # $SEMVER_BRANCH = PR-650 02:43:47 # $SEMVER_TEMP = /tmp/semver-177521012 02:43:47 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:43:50 # '/tmp/semver-177521012' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-650/.semver' 02:43:50 # -> Force: false 02:43:50 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-650/.semver [Pipeline] } 02:43:50 $ docker exec --env ******** --env ******** fd0c585c692dee74819d20d570f8b73c2f1ebd731f188d1cf26019f52efe7029 ssh-agent -k 02:43:50 unset SSH_AUTH_SOCK; 02:43:50 unset SSH_AGENT_PID; 02:43:50 echo Agent pid 49 killed; 02:43:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:43:51 + git semver [Pipeline] } 02:43:51 $ docker stop --time=1 fd0c585c692dee74819d20d570f8b73c2f1ebd731f188d1cf26019f52efe7029 02:43:53 $ docker rm -f fd0c585c692dee74819d20d570f8b73c2f1ebd731f188d1cf26019f52efe7029 [Pipeline] // withDockerContainer [Pipeline] sh 02:43:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:43:54 Stashed 1 file(s) [Pipeline] echo 02:43:54 [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:44:10 Still waiting to schedule task 02:44:10 ‘prd-centos7-builder-2c-1g-14365’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15039’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-15037’ doesn’t have label ‘centos7-docker-4c-2g’ 02:44:10 Still waiting to schedule task 02:44:10 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 02:44:31 Running on prd-centos7-docker-4c-2g-15040 in /w/workspace/dgexfoundry_device-sdk-go_PR-650 [Pipeline] { [Pipeline] ws 02:44:31 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 02:44:33 using credential edgex-jenkins-ssh 02:44:34 Cloning the remote Git repository 02:44:34 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:44:34 > git init /w/workspace/device-sdk-go/7 # timeout=10 02:44:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:34 > git --version # timeout=10 02:44:34 > git --version # 'git version 2.24.3' 02:44:34 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:34 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/650/head:refs/remotes/origin/PR-650 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:44:35 Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit 46bab8434c541b523242ffed956eb32102a5c834 02:44:35 Merge succeeded, producing 50bb4d1f1ff67cd1a60e19820fc8bb7a6ac54d4b 02:44:35 Checking out Revision 50bb4d1f1ff67cd1a60e19820fc8bb7a6ac54d4b (PR-650) 02:44:35 > git config core.sparsecheckout # timeout=10 02:44:35 > git checkout -f 46bab8434c541b523242ffed956eb32102a5c834 # timeout=10 02:44:35 > git remote # timeout=10 02:44:35 > git config --get remote.origin.url # timeout=10 02:44:35 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:35 > git merge c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 02:44:35 > git rev-parse HEAD^{commit} # timeout=10 02:44:35 > git config core.sparsecheckout # timeout=10 02:44:35 > git checkout -f 50bb4d1f1ff67cd1a60e19820fc8bb7a6ac54d4b # timeout=10 02:44:39 Commit message: "Merge commit 'c21ff6277396b81a1001baea71274dd2dd19f737' into HEAD" 02:44:39 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:44:39 > git rev-list --no-walk 9a0e2c45274f62f1dd40da0d458bb55d36998f22 # timeout=10 02:44:40 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:44:40 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:44:41 + sudo service docker restart 02:44:41 + true 02:44:41 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:44:42 provisioning config files... 02:44:42 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config2665350570257738031tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:42 ---> docker-login.sh 02:44:42 nexus3.edgexfoundry.org:10001 02:44:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:42 Configure a credential helper to remove this warning. See 02:44:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:42 02:44:42 Login Succeeded 02:44:42 nexus3.edgexfoundry.org:10002 02:44:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:43 Configure a credential helper to remove this warning. See 02:44:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:43 02:44:43 Login Succeeded 02:44:43 nexus3.edgexfoundry.org:10003 02:44:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:43 Configure a credential helper to remove this warning. See 02:44:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:43 02:44:43 Login Succeeded 02:44:43 nexus3.edgexfoundry.org:10004 02:44:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:43 Configure a credential helper to remove this warning. See 02:44:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:43 02:44:43 Login Succeeded 02:44:43 docker.io 02:44:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:43 Configure a credential helper to remove this warning. See 02:44:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:43 02:44:43 Login Succeeded 02:44:43 ---> docker-login.sh ends [Pipeline] } 02:44:43 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:44:44 ========================================================= 02:44:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:44:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:44:44 + 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:44 Sending build context to Docker daemon 2.398MB 02:44:44 Step 1/8 : ARG BASE=golang:1.15-alpine 02:44:44 Step 2/8 : FROM ${BASE} 02:44:44 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:44:44 188c0c94c7c5: Pulling fs layer 02:44:44 0ef7d3d256c8: Pulling fs layer 02:44:44 de9db76c5a1d: Pulling fs layer 02:44:44 bca2f99d35d6: Pulling fs layer 02:44:44 93359f2a8cfa: Pulling fs layer 02:44:44 7c6f9722023f: Pulling fs layer 02:44:44 a35cf1a2eb13: Pulling fs layer 02:44:44 93359f2a8cfa: Waiting 02:44:44 7c6f9722023f: Waiting 02:44:44 a35cf1a2eb13: Waiting 02:44:44 bca2f99d35d6: Waiting 02:44:44 de9db76c5a1d: Verifying Checksum 02:44:44 de9db76c5a1d: Download complete 02:44:44 0ef7d3d256c8: Download complete 02:44:44 93359f2a8cfa: Download complete 02:44:44 188c0c94c7c5: Verifying Checksum 02:44:44 188c0c94c7c5: Download complete 02:44:44 7c6f9722023f: Verifying Checksum 02:44:44 7c6f9722023f: Download complete 02:44:45 188c0c94c7c5: Pull complete 02:44:45 0ef7d3d256c8: Pull complete 02:44:45 de9db76c5a1d: Pull complete 02:44:46 a35cf1a2eb13: Verifying Checksum 02:44:46 a35cf1a2eb13: Download complete 02:44:47 bca2f99d35d6: Verifying Checksum 02:44:47 bca2f99d35d6: Download complete 02:44:53 bca2f99d35d6: Pull complete 02:44:53 93359f2a8cfa: Pull complete 02:44:53 7c6f9722023f: Pull complete 02:45:00 a35cf1a2eb13: Pull complete 02:45:00 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:45:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:45:00 ---> a62c8e92a672 02:45:00 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:45:01 ---> Running in 172b45854f5a 02:45:01 Removing intermediate container 172b45854f5a 02:45:01 ---> e96b7f1fc77b 02:45:01 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:45:01 ---> Running in 245249cf245d 02:45:02 Removing intermediate container 245249cf245d 02:45:02 ---> 74a7287ac8d0 02:45:02 Step 5/8 : RUN apk add --no-cache make git 02:45:02 ---> Running in b58cfcab6623 02:45:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:45:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:45:05 OK: 166 MiB in 39 packages 02:45:06 Removing intermediate container b58cfcab6623 02:45:06 ---> 84aa3b147275 02:45:06 Step 6/8 : WORKDIR /device-sdk-go 02:45:06 ---> Running in e3aeb7b28c15 02:45:06 Removing intermediate container e3aeb7b28c15 02:45:06 ---> 9afebf0be277 02:45:06 Step 7/8 : COPY . . 02:45:07 ---> 02b594659ca1 02:45:07 Step 8/8 : RUN go mod download 02:45:07 ---> Running in 977efb6fad1c 02:45:26 Removing intermediate container 977efb6fad1c 02:45:26 ---> 4832c94eea0b 02:45:26 Successfully built 4832c94eea0b 02:45:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:45:26 + docker inspect -f . ci-base-image-x86_64 02:45:26 . [Pipeline] withDockerContainer 02:45:26 prd-centos7-docker-4c-2g-15040 does not seem to be running inside a container 02:45:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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:27 $ docker top 1fa3b9ad601ffed9efc67d17be3ec857e04ab9057f0b2a6da0a56e1304256141 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:27 + go version 02:45:27 go version go1.15.5 linux/amd64 [Pipeline] } 02:45:27 $ docker stop --time=1 1fa3b9ad601ffed9efc67d17be3ec857e04ab9057f0b2a6da0a56e1304256141 02:45:29 $ docker rm -f 1fa3b9ad601ffed9efc67d17be3ec857e04ab9057f0b2a6da0a56e1304256141 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:45:30 + docker inspect -f . ci-base-image-x86_64 02:45:30 . [Pipeline] withDockerContainer 02:45:30 prd-centos7-docker-4c-2g-15040 does not seem to be running inside a container 02:45:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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:31 $ docker top 655f9d4ad5bb77e6de17d40b6a2f4878a74e9ac13309b51bd61b227f7369f061 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:32 + make test 02:45:32 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:45:40 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:45:55 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:45:55 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:45:55 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:45:55 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.084s coverage: 20.0% of statements 02:45:56 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.448s coverage: 97.1% of statements 02:46:28 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.065s coverage: 9.4% of statements 02:46:28 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.048s coverage: 21.9% of statements 02:46:28 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:46:28 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.218s coverage: 42.5% of statements 02:46:28 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:46:28 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.273s coverage: 68.9% of statements 02:46:28 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:46:28 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:46:28 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:46:28 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:46:28 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.060s coverage: 52.6% of statements 02:46:28 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:46:28 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:46:28 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:46:28 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.275s coverage: 68.9% of statements 02:46:28 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.056s coverage: 4.3% of statements 02:46:28 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:46:28 GO111MODULE=on go vet ./... 02:46:34 gofmt -l . 02:46:34 [ "`gofmt -l .`" = "" ] 02:46:34 ./bin/test-attribution-txt.sh 02:46:34 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:46:34 $ docker stop --time=1 655f9d4ad5bb77e6de17d40b6a2f4878a74e9ac13309b51bd61b227f7369f061 02:46:36 $ docker rm -f 655f9d4ad5bb77e6de17d40b6a2f4878a74e9ac13309b51bd61b227f7369f061 [Pipeline] // withDockerContainer [Pipeline] sh 02:46:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:46:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:46:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:46:39 + ls -al . 02:46:39 total 208 02:46:39 drwxrwxr-x. 10 jenkins jenkins 4096 Dec 8 02:46 . 02:46:39 drwxrwxr-x. 4 jenkins jenkins 28 Dec 8 02:44 .. 02:46:39 drwxrwxr-x. 2 jenkins jenkins 64 Dec 8 02:44 bin 02:46:39 -rw-r--r--. 1 jenkins jenkins 128812 Dec 8 02:46 coverage.out 02:46:39 -rw-rw-r--. 1 jenkins jenkins 936 Dec 8 02:44 Dockerfile.build 02:46:39 -rw-rw-r--. 1 jenkins jenkins 140 Dec 8 02:44 .dockerignore 02:46:39 drwxrwxr-x. 4 jenkins jenkins 48 Dec 8 02:44 example 02:46:39 drwxrwxr-x. 8 jenkins jenkins 179 Dec 8 02:44 .git 02:46:39 drwxrwxr-x. 2 jenkins jenkins 103 Dec 8 02:44 .github 02:46:39 -rw-rw-r--. 1 jenkins jenkins 138 Dec 8 02:44 .gitignore 02:46:39 -rw-r--r--. 1 jenkins jenkins 518 Dec 8 02:46 go.mod 02:46:39 -rw-r--r--. 1 jenkins jenkins 13631 Dec 8 02:46 go.sum 02:46:39 drwxrwxr-x. 15 jenkins jenkins 211 Dec 8 02:44 internal 02:46:39 -rw-rw-r--. 1 jenkins jenkins 901 Dec 8 02:44 Jenkinsfile 02:46:39 -rw-rw-r--. 1 jenkins jenkins 11341 Dec 8 02:44 LICENSE 02:46:39 -rw-rw-r--. 1 jenkins jenkins 1013 Dec 8 02:44 Makefile 02:46:39 drwxrwxr-x. 4 jenkins jenkins 26 Dec 8 02:44 openapi 02:46:39 drwxrwxr-x. 5 jenkins jenkins 50 Dec 8 02:44 pkg 02:46:39 -rw-rw-r--. 1 jenkins jenkins 5897 Dec 8 02:44 README.md 02:46:39 -rw-rw-r--. 1 jenkins jenkins 4291 Dec 8 02:44 RELEASE-NOTES.txt 02:46:39 drwxrwxr-x. 4 jenkins jenkins 54 Dec 8 02:44 snap 02:46:39 -rw-rw-r--. 1 jenkins jenkins 5 Dec 8 02:43 VERSION 02:46:39 -rw-rw-r--. 1 jenkins jenkins 222 Dec 8 02:44 version.go [Pipeline] isUnix [Pipeline] sh 02:46:39 + 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=45d7d71e4316cddffb5bfb7643e18fdc2467c961 --label arch=amd64 --label version=0.0.0 . 02:46:39 Sending build context to Docker daemon 2.527MB 02:46:39 Step 1/24 : ARG BASE=golang:1.15-alpine 02:46:39 Step 2/24 : FROM ${BASE} AS builder 02:46:39 ---> 4832c94eea0b 02:46:39 Step 3/24 : ARG MAKE='make build' 02:46:40 ---> Running in 3321b0143262 02:46:40 Removing intermediate container 3321b0143262 02:46:40 ---> 325825623915 02:46:40 Step 4/24 : WORKDIR /device-sdk-go 02:46:40 ---> Running in 4b59bb2e030f 02:46:40 Removing intermediate container 4b59bb2e030f 02:46:40 ---> b5fca0ca9019 02:46:40 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:40 ---> Running in 6516708f8503 02:46:40 Removing intermediate container 6516708f8503 02:46:40 ---> 956aa38e0f43 02:46:40 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:40 ---> Running in 25e9f18cc385 02:46:41 Removing intermediate container 25e9f18cc385 02:46:41 ---> 60a48d1d57e9 02:46:41 Step 7/24 : RUN apk add --update --no-cache make git 02:46:41 ---> Running in f8c335037057 02:46:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:46:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:46:44 OK: 166 MiB in 39 packages 02:46:44 Removing intermediate container f8c335037057 02:46:44 ---> 53009ca430a8 02:46:44 Step 8/24 : COPY . . 02:46:45 ---> 6b6d5a0d461a 02:46:45 Step 9/24 : RUN ${MAKE} 02:46:45 ---> Running in f388e2857119 02:46:46 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:46:49 Running on prd-ubuntu18.04-docker-arm64-4c-16g-15043 in /w/workspace/dgexfoundry_device-sdk-go_PR-650 [Pipeline] { [Pipeline] ws 02:46:49 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 02:46:54 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:46:55 using credential edgex-jenkins-ssh 02:46:55 Cloning the remote Git repository 02:46:55 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:46:55 > git init /w/workspace/device-sdk-go/7 # timeout=10 02:46:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:55 > git --version # timeout=10 02:46:55 > git --version # 'git version 2.17.1' 02:46:55 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:55 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:56 Removing intermediate container f388e2857119 02:46:56 ---> 50adac2b655c 02:46:56 Step 10/24 : FROM scratch 02:46:56 ---> 02:46:56 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:56 ---> Running in 20c0de04e5ab 02:46:56 Removing intermediate container 20c0de04e5ab 02:46:56 ---> c329cf9a6820 02:46:56 Step 12/24 : ENV APP_PORT=49990 02:46:56 ---> Running in f837f96313bf 02:46:56 Removing intermediate container f837f96313bf 02:46:56 ---> 0e82e7814eae 02:46:56 Step 13/24 : EXPOSE $APP_PORT 02:46:56 ---> Running in d3b644532ffe 02:46:56 Removing intermediate container d3b644532ffe 02:46:56 ---> 5ce8a4cbfa8e 02:46:56 Step 14/24 : WORKDIR / 02:46:56 ---> Running in 62348bbb5cd2 02:46:57 Removing intermediate container 62348bbb5cd2 02:46:57 ---> ddaa0add40b8 02:46:57 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:46:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:56 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/650/head:refs/remotes/origin/PR-650 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:46:57 ---> deeec05aff60 02:46:57 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:46:57 Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit 46bab8434c541b523242ffed956eb32102a5c834 02:46:57 ---> 06cc67bf4137 02:46:57 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:46:57 ---> 68af71ee542c 02:46:57 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:46:58 Merge succeeded, producing e6c371ba05f945ab935d0f506a33db205a82cae8 02:46:58 Checking out Revision e6c371ba05f945ab935d0f506a33db205a82cae8 (PR-650) 02:46:58 ---> 383794bf464c 02:46:58 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:46:58 ---> 0f7d3a26267a 02:46:58 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:46:58 ---> Running in dcd7df712f29 02:46:57 > git config core.sparsecheckout # timeout=10 02:46:57 > git checkout -f 46bab8434c541b523242ffed956eb32102a5c834 # timeout=10 02:46:57 > git remote # timeout=10 02:46:57 > git config --get remote.origin.url # timeout=10 02:46:57 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:57 > git merge c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 02:46:58 > git rev-parse HEAD^{commit} # timeout=10 02:46:58 > git config core.sparsecheckout # timeout=10 02:46:58 > git checkout -f e6c371ba05f945ab935d0f506a33db205a82cae8 # timeout=10 02:46:58 Removing intermediate container dcd7df712f29 02:46:58 ---> 0c6ab89b9abc 02:46:58 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:46:58 ---> Running in 2d3336ff41fa 02:46:58 Removing intermediate container 2d3336ff41fa 02:46:58 ---> e4671bef7344 02:46:58 Step 22/24 : LABEL arch=amd64 02:46:58 ---> Running in 31b3f822e294 02:46:58 Removing intermediate container 31b3f822e294 02:46:58 ---> 18b7a20e8f03 02:46:58 Step 23/24 : LABEL git_sha=45d7d71e4316cddffb5bfb7643e18fdc2467c961 02:46:59 ---> Running in 0b93342f05c3 02:46:59 Removing intermediate container 0b93342f05c3 02:46:59 ---> 5c459311b363 02:46:59 Step 24/24 : LABEL version=0.0.0 02:46:59 ---> Running in 74d4bc0c24fe 02:46:59 Removing intermediate container 74d4bc0c24fe 02:46:59 ---> 9810aabdb13d 02:46:59 [Warning] One or more build-args [ARCH] were not consumed 02:46:59 Successfully built 9810aabdb13d 02:46:59 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:47:02 Commit message: "Merge commit 'c21ff6277396b81a1001baea71274dd2dd19f737' into HEAD" 02:47:02 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 02:47:02 > git rev-list --no-walk 9a0e2c45274f62f1dd40da0d458bb55d36998f22 # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:47:04 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:47:04 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:47:05 + sudo service docker restart 02:47:05 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:47:07 provisioning config files... 02:47:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config3015962868798559927tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:47:08 ---> docker-login.sh 02:47:08 nexus3.edgexfoundry.org:10001 02:47:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:09 Configure a credential helper to remove this warning. See 02:47:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:09 02:47:09 Login Succeeded 02:47:09 nexus3.edgexfoundry.org:10002 02:47:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:10 Configure a credential helper to remove this warning. See 02:47:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:10 02:47:10 Login Succeeded 02:47:10 nexus3.edgexfoundry.org:10003 02:47:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:10 Configure a credential helper to remove this warning. See 02:47:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:10 02:47:10 Login Succeeded 02:47:10 nexus3.edgexfoundry.org:10004 02:47:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:11 Configure a credential helper to remove this warning. See 02:47:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:11 02:47:11 Login Succeeded 02:47:11 docker.io 02:47:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:11 Configure a credential helper to remove this warning. See 02:47:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:11 02:47:11 Login Succeeded 02:47:11 ---> docker-login.sh ends [Pipeline] } 02:47:11 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:47:12 ========================================================= 02:47:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:47:12 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:47:12 + 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:47:13 Sending build context to Docker daemon 2.395MB 02:47:13 Step 1/8 : ARG BASE=golang:1.15-alpine 02:47:13 Step 2/8 : FROM ${BASE} 02:47:14 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:47:14 5f621e34cdf4: Pulling fs layer 02:47:14 a4357932f1b6: Pulling fs layer 02:47:14 18c013af1878: Pulling fs layer 02:47:14 00ac8860ef70: Pulling fs layer 02:47:14 63d7cb157983: Pulling fs layer 02:47:14 b116817d02f9: Pulling fs layer 02:47:14 745a02a5169b: Pulling fs layer 02:47:14 00ac8860ef70: Waiting 02:47:14 63d7cb157983: Waiting 02:47:14 b116817d02f9: Waiting 02:47:14 745a02a5169b: Waiting 02:47:14 18c013af1878: Download complete 02:47:14 a4357932f1b6: Verifying Checksum 02:47:14 a4357932f1b6: Download complete 02:47:14 63d7cb157983: Verifying Checksum 02:47:14 63d7cb157983: Download complete 02:47:14 b116817d02f9: Verifying Checksum 02:47:14 b116817d02f9: Download complete 02:47:14 5f621e34cdf4: Verifying Checksum 02:47:14 5f621e34cdf4: Download complete 02:47:15 5f621e34cdf4: Pull complete 02:47:15 a4357932f1b6: Pull complete 02:47:16 18c013af1878: Pull complete 02:47:17 745a02a5169b: Verifying Checksum 02:47:17 745a02a5169b: Download complete 02:47:18 00ac8860ef70: Verifying Checksum 02:47:18 00ac8860ef70: Download complete 02:47:28 00ac8860ef70: Pull complete 02:47:28 63d7cb157983: Pull complete 02:47:28 b116817d02f9: Pull complete 02:47:32 745a02a5169b: Pull complete 02:47:32 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:47:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:47:32 ---> b7e6874047d6 02:47:32 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:35 ---> Running in a846719ed4c9 02:47:35 Removing intermediate container a846719ed4c9 02:47:35 ---> 134ef59a0c27 02:47:35 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:36 ---> Running in 522b1ab5b48e 02:47:39 Removing intermediate container 522b1ab5b48e 02:47:39 ---> 333d5943499f 02:47:39 Step 5/8 : RUN apk add --no-cache make git 02:47:39 ---> Running in 6c9dc9af847d 02:47:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:47:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:47:41 OK: 142 MiB in 39 packages 02:47:43 Removing intermediate container 6c9dc9af847d 02:47:43 ---> 024c0dd0bd1f 02:47:43 Step 6/8 : WORKDIR /device-sdk-go 02:47:43 ---> Running in df9a9e17cc78 02:47:44 Removing intermediate container df9a9e17cc78 02:47:44 ---> 116440b3dc25 02:47:44 Step 7/8 : COPY . . 02:47:46 ---> c776a3bedcb5 02:47:46 Step 8/8 : RUN go mod download 02:47:46 ---> Running in 4f6b3c11a009 02:48:08 Removing intermediate container 4f6b3c11a009 02:48:08 ---> f0f3b560a0ff 02:48:08 Successfully built f0f3b560a0ff 02:48:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:48:08 + docker inspect -f . ci-base-image-arm64 02:48:08 . [Pipeline] withDockerContainer 02:48:08 prd-ubuntu18.04-docker-arm64-4c-16g-15043 does not seem to be running inside a container 02:48:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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-arm64 cat 02:48:10 $ docker top e7b094060df9a737d1dba39daa47237fc1c69c5e2655e7e6833082d2024fa014 -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:11 + go version 02:48:11 go version go1.15.5 linux/arm64 [Pipeline] } 02:48:11 $ docker stop --time=1 e7b094060df9a737d1dba39daa47237fc1c69c5e2655e7e6833082d2024fa014 02:48:13 $ docker rm -f e7b094060df9a737d1dba39daa47237fc1c69c5e2655e7e6833082d2024fa014 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:48:14 + docker inspect -f . ci-base-image-arm64 02:48:14 . [Pipeline] withDockerContainer 02:48:14 prd-ubuntu18.04-docker-arm64-4c-16g-15043 does not seem to be running inside a container 02:48:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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-arm64 cat 02:48:16 $ docker top 02330675fe366673f0c0fd0b0c3934993f850ebba232a16902a246d0caaf78c3 -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:17 + make test 02:48:17 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:48:39 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:49:26 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:49:26 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:49:26 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:49:26 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.142s coverage: 20.0% of statements 02:49:26 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.236s coverage: 97.1% of statements 02:49:53 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.128s coverage: 9.4% of statements 02:49:53 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.108s coverage: 21.9% of statements 02:49:53 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:49:53 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.650s coverage: 42.5% of statements 02:49:53 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:49:53 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.800s coverage: 68.9% of statements 02:49:53 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:49:53 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:49:53 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:49:53 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:49:53 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.190s coverage: 52.6% of statements 02:49:53 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:49:53 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:49:53 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:49:53 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.946s coverage: 68.9% of statements 02:49:53 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.150s coverage: 4.3% of statements 02:49:53 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:49:53 GO111MODULE=on go vet ./... 02:50:25 gofmt -l . 02:50:25 [ "`gofmt -l .`" = "" ] 02:50:25 ./bin/test-attribution-txt.sh 02:50:25 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:50:25 $ docker stop --time=1 02330675fe366673f0c0fd0b0c3934993f850ebba232a16902a246d0caaf78c3 02:50:27 $ docker rm -f 02330675fe366673f0c0fd0b0c3934993f850ebba232a16902a246d0caaf78c3 [Pipeline] // withDockerContainer [Pipeline] sh 02:50:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:50:29 Warning: overwriting stash ‘coverage-report’ 02:50:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:50:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:50:31 + ls -al . 02:50:31 total 244 02:50:31 drwxrwxr-x 10 jenkins jenkins 4096 Dec 8 02:50 . 02:50:31 drwxrwxr-x 4 jenkins jenkins 4096 Dec 8 02:46 .. 02:50:31 -rw-rw-r-- 1 jenkins jenkins 140 Dec 8 02:46 .dockerignore 02:50:31 drwxrwxr-x 8 jenkins jenkins 4096 Dec 8 02:47 .git 02:50:31 drwxrwxr-x 2 jenkins jenkins 4096 Dec 8 02:46 .github 02:50:31 -rw-rw-r-- 1 jenkins jenkins 138 Dec 8 02:46 .gitignore 02:50:31 -rw-rw-r-- 1 jenkins jenkins 936 Dec 8 02:46 Dockerfile.build 02:50:31 -rw-rw-r-- 1 jenkins jenkins 901 Dec 8 02:46 Jenkinsfile 02:50:31 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 8 02:46 LICENSE 02:50:31 -rw-rw-r-- 1 jenkins jenkins 1013 Dec 8 02:46 Makefile 02:50:31 -rw-rw-r-- 1 jenkins jenkins 5897 Dec 8 02:46 README.md 02:50:31 -rw-rw-r-- 1 jenkins jenkins 4291 Dec 8 02:46 RELEASE-NOTES.txt 02:50:31 -rw-rw-r-- 1 jenkins jenkins 5 Dec 8 02:43 VERSION 02:50:31 drwxrwxr-x 2 jenkins jenkins 4096 Dec 8 02:46 bin 02:50:31 -rw-r--r-- 1 jenkins jenkins 128812 Dec 8 02:49 coverage.out 02:50:31 drwxrwxr-x 4 jenkins jenkins 4096 Dec 8 02:46 example 02:50:31 -rw-r--r-- 1 jenkins jenkins 518 Dec 8 02:50 go.mod 02:50:31 -rw-r--r-- 1 jenkins jenkins 13631 Dec 8 02:50 go.sum 02:50:31 drwxrwxr-x 15 jenkins jenkins 4096 Dec 8 02:46 internal 02:50:31 drwxrwxr-x 4 jenkins jenkins 4096 Dec 8 02:46 openapi 02:50:31 drwxrwxr-x 5 jenkins jenkins 4096 Dec 8 02:46 pkg 02:50:31 drwxrwxr-x 4 jenkins jenkins 4096 Dec 8 02:46 snap 02:50:31 -rw-rw-r-- 1 jenkins jenkins 222 Dec 8 02:46 version.go [Pipeline] isUnix [Pipeline] sh 02:50:31 + 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=45d7d71e4316cddffb5bfb7643e18fdc2467c961 --label arch=arm64 --label version=0.0.0 . 02:50:32 Sending build context to Docker daemon 2.525MB 02:50:32 Step 1/24 : ARG BASE=golang:1.15-alpine 02:50:32 Step 2/24 : FROM ${BASE} AS builder 02:50:32 ---> f0f3b560a0ff 02:50:32 Step 3/24 : ARG MAKE='make build' 02:50:32 ---> Running in 1ce868910fd8 02:50:33 Removing intermediate container 1ce868910fd8 02:50:33 ---> 1ecb492f3ae8 02:50:33 Step 4/24 : WORKDIR /device-sdk-go 02:50:33 ---> Running in cf2a1f26dca4 02:50:33 Removing intermediate container cf2a1f26dca4 02:50:33 ---> 096894c7982f 02:50:33 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:33 ---> Running in b601964caa7b 02:50:34 Removing intermediate container b601964caa7b 02:50:34 ---> 7b8dd3959fc6 02:50:34 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:50:34 ---> Running in 4b8e21fb9b2c 02:50:37 Removing intermediate container 4b8e21fb9b2c 02:50:37 ---> e406740d3734 02:50:37 Step 7/24 : RUN apk add --update --no-cache make git 02:50:37 ---> Running in a25a93de7d1c 02:50:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:50:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:50:40 OK: 142 MiB in 39 packages 02:50:41 Removing intermediate container a25a93de7d1c 02:50:41 ---> 964203a14879 02:50:41 Step 8/24 : COPY . . 02:50:42 ---> e2376247602e 02:50:42 Step 9/24 : RUN ${MAKE} 02:50:42 ---> Running in c1bdeafbdd05 02:50:43 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:51:10 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:51:12 Removing intermediate container c1bdeafbdd05 02:51:12 ---> 53f30187b132 02:51:12 Step 10/24 : FROM scratch 02:51:12 ---> 02:51:12 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:51:12 ---> Running in 3d443ba29e72 02:51:12 Removing intermediate container 3d443ba29e72 02:51:12 ---> 2b71af4ec88b 02:51:12 Step 12/24 : ENV APP_PORT=49990 02:51:12 ---> Running in 03ff740432bc 02:51:13 Removing intermediate container 03ff740432bc 02:51:13 ---> fb3cef90cd9e 02:51:13 Step 13/24 : EXPOSE $APP_PORT 02:51:13 ---> Running in 2a3d7bcf60d4 02:51:13 Removing intermediate container 2a3d7bcf60d4 02:51:13 ---> 63bbafa65863 02:51:13 Step 14/24 : WORKDIR / 02:51:13 ---> Running in 9782af778f48 02:51:13 Removing intermediate container 9782af778f48 02:51:13 ---> 1153a4abb726 02:51:13 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:51:15 ---> 6c44d5b538d0 02:51:15 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:51:15 ---> 1bbe118a086c 02:51:15 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:51:16 ---> 7564ece75a24 02:51:16 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:51:17 ---> 930a375ad6fc 02:51:17 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:51:18 ---> af93d7e6aa25 02:51:18 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:51:18 ---> Running in 646d2f7f1c86 02:51:18 Removing intermediate container 646d2f7f1c86 02:51:18 ---> b39ded484f50 02:51:18 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:51:18 ---> Running in b06ad565ba0a 02:51:19 Removing intermediate container b06ad565ba0a 02:51:19 ---> bfc8fd3c2a52 02:51:19 Step 22/24 : LABEL arch=arm64 02:51:19 ---> Running in d51a5d01bba2 02:51:19 Removing intermediate container d51a5d01bba2 02:51:19 ---> f61c734a8028 02:51:19 Step 23/24 : LABEL git_sha=45d7d71e4316cddffb5bfb7643e18fdc2467c961 02:51:19 ---> Running in fb88c503f77f 02:51:20 Removing intermediate container fb88c503f77f 02:51:20 ---> 5577044656d7 02:51:20 Step 24/24 : LABEL version=0.0.0 02:51:20 ---> Running in bf37590ea01a 02:51:21 Removing intermediate container bf37590ea01a 02:51:21 ---> 59bc582d59f9 02:51:21 [Warning] One or more build-args [ARCH] were not consumed 02:51:21 Successfully built 59bc582d59f9 02:51:21 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:51:22 provisioning config files... 02:51:22 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/config6194538950194769821tmp [Pipeline] { [Pipeline] sh 02:51:23 + set +x 02:51:23 + bash -s -- 02:51:23 + curl -s https://codecov.io/bash 02:51:23 02:51:23 _____ _ 02:51:23 / ____| | | 02:51:23 | | ___ __| | ___ ___ _____ __ 02:51:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:51:23 | |___| (_) | (_| | __/ (_| (_) \ V / 02:51:23 \_____\___/ \__,_|\___|\___\___/ \_/ 02:51:23 Bash-20201130-cc6d3fe 02:51:23 02:51:23 02:51:23 ==> Jenkins CI detected. 02:51:23 project root: . 02:51:23 --> token set from env 02:51:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:51:23 ==> Running gcov in . (disable via -X gcov) 02:51:23 ==> Python coveragepy not found 02:51:23 ==> Searching for coverage reports in: 02:51:23 + . 02:51:23 -> Found 1 reports 02:51:23 ==> Detecting git/mercurial file structure 02:51:23 ==> Reading reports 02:51:23 + ./coverage.out bytes=128812 02:51:23 ==> Appending adjustments 02:51:23 https://docs.codecov.io/docs/fixing-reports 02:51:24 + Found adjustments 02:51:24 ==> Gzipping contents 02:51:24 24K /tmp/codecov.VixVIh.gz 02:51:24 ==> Uploading reports 02:51:24 url: https://codecov.io 02:51:24 query: branch=PR-650&commit=45d7d71e4316cddffb5bfb7643e18fdc2467c961&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-650%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=650&job=&cmd_args= 02:51:24 -> Pinging Codecov 02:51:24 https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-650&commit=45d7d71e4316cddffb5bfb7643e18fdc2467c961&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-650%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=650&job=&cmd_args= 02:51:25 -> Uploading to 02:51:25 https://storage.googleapis.com/codecov/v4/raw/2020-12-08/7E55EF52A471D76F132DFD9A03CDDE97/45d7d71e4316cddffb5bfb7643e18fdc2467c961/c8205ad9-9323-4b00-8639-93dd4e90ad84.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201208%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201208T025124Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e900962cf550902f7598c456dded9fc1dcb0f612bc9de692905c0875a486d5a5 02:51:25 % Total % Received % Xferd Average Speed Time Time Time Current 02:51:25 Dload Upload Total Spent Left Speed 02:51:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21009 0 0 100 21009 0 43696 --:--:-- --:--:-- --:--:-- 43768 02:51:25 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/45d7d71e4316cddffb5bfb7643e18fdc2467c961 [Pipeline] } 02:51:25 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:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:51:28 ---> package-listing.sh 02:51:28 ++ facter osfamily 02:51:28 ++ tr '[:upper:]' '[:lower:]' 02:51:29 + OS_FAMILY=redhat 02:51:29 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-650 02:51:29 + START_PACKAGES=/tmp/packages_start.txt 02:51:29 + END_PACKAGES=/tmp/packages_end.txt 02:51:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:51:29 + PACKAGES=/tmp/packages_start.txt 02:51:29 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-650 ']' 02:51:29 + PACKAGES=/tmp/packages_end.txt 02:51:29 + case "${OS_FAMILY}" in 02:51:29 + rpm -qa 02:51:29 + sort 02:51:34 + '[' -f /tmp/packages_start.txt ']' 02:51:34 + '[' -f /tmp/packages_end.txt ']' 02:51:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:51:34 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-650 ']' 02:51:34 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-650/archives/ 02:51:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-650/archives/ [Pipeline] echo 02:51:34 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-650/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:51:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:51:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:35 02:51:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:51:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:36 alpine: Pulling from edgex-lftools-log-publisher 02:51:36 df20fa9351a1: Pulling fs layer 02:51:36 36b3adc4ff6f: Pulling fs layer 02:51:36 8ad3a11d3b57: Pulling fs layer 02:51:36 46f8f816bc3b: Pulling fs layer 02:51:36 93b61091891f: Pulling fs layer 02:51:36 93b9cdb0e59b: Pulling fs layer 02:51:36 5e14af77c1be: Pulling fs layer 02:51:36 01666e4c0597: Pulling fs layer 02:51:36 aa168da1d23b: Pulling fs layer 02:51:36 93b9cdb0e59b: Waiting 02:51:36 5e14af77c1be: Waiting 02:51:36 01666e4c0597: Waiting 02:51:36 aa168da1d23b: Waiting 02:51:36 46f8f816bc3b: Waiting 02:51:36 93b61091891f: Waiting 02:51:36 36b3adc4ff6f: Verifying Checksum 02:51:36 36b3adc4ff6f: Download complete 02:51:36 46f8f816bc3b: Verifying Checksum 02:51:36 46f8f816bc3b: Download complete 02:51:36 df20fa9351a1: Verifying Checksum 02:51:36 df20fa9351a1: Download complete 02:51:36 93b9cdb0e59b: Verifying Checksum 02:51:36 93b9cdb0e59b: Download complete 02:51:36 5e14af77c1be: Verifying Checksum 02:51:36 5e14af77c1be: Download complete 02:51:36 01666e4c0597: Download complete 02:51:36 93b61091891f: Verifying Checksum 02:51:36 93b61091891f: Download complete 02:51:37 df20fa9351a1: Pull complete 02:51:37 8ad3a11d3b57: Verifying Checksum 02:51:37 8ad3a11d3b57: Download complete 02:51:37 36b3adc4ff6f: Pull complete 02:51:39 8ad3a11d3b57: Pull complete 02:51:39 46f8f816bc3b: Pull complete 02:51:40 93b61091891f: Pull complete 02:51:40 93b9cdb0e59b: Pull complete 02:51:40 5e14af77c1be: Pull complete 02:51:41 01666e4c0597: Pull complete 02:51:42 aa168da1d23b: Verifying Checksum 02:51:42 aa168da1d23b: Download complete 02:51:57 aa168da1d23b: Pull complete 02:51:57 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:51:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:51:58 prd-centos7-docker-4c-2g-15034 does not seem to be running inside a container 02:51:58 $ 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-650/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-650 -v /w/workspace/dgexfoundry_device-sdk-go_PR-650:/w/workspace/dgexfoundry_device-sdk-go_PR-650:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-650@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:52:01 $ docker top 3763e357dde122c1e01ecf0dd334ebc3a327e88f904640eac1103e09d2a31956 -eo pid,comm [Pipeline] { [Pipeline] sh 02:52:03 + touch /tmp/pre-build-complete [Pipeline] sh 02:52:04 + mkdir -p /var/log/sa [Pipeline] sh 02:52:04 + ls /var/log/sa-host 02:52:04 + sadf -c /var/log/sa-host/sa08 02:52:04 file_magic: OK 02:52:04 HZ: Using current value: 100 02:52:04 file_header: OK 02:52:04 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:52:04 Statistics: 02:52:04 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:52:04 File successfully converted to sysstat format version 12.2.1 02:52:04 + sadf -c /var/log/sa-host/sa23 02:52:04 file_magic: OK 02:52:04 HZ: Using current value: 100 02:52:04 file_header: OK 02:52:04 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:52:04 Statistics: 02:52:04 Hnuu...uuuununununu... 02:52:04 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:52:04 provisioning config files... 02:52:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/config836358670670818634tmp [Pipeline] { [Pipeline] echo 02:52:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:52:05 ---> create-netrc.sh [Pipeline] } 02:52:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:52:05 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:52:06 ---> python-tools-install.sh [Pipeline] echo 02:52:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:52:06 ---> sudo-logs.sh 02:52:06 Archiving 'sudo' log.. [Pipeline] echo 02:52:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:52:07 ---> job-cost.sh 02:52:07 lf-activate-venv: SKIPPING 02:52:07 INFO: No Stack... 02:52:08 INFO: Retrieving Pricing Info for: v1-standard-2 02:52:09 INFO: Archiving Costs [Pipeline] echo 02:52:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:52:09 ---> logs-deploy.sh 02:52:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-650/7 02:52:09 INFO: archiving workspace using pattern(s): 02:52:12 Archives upload complete. 02:52:12 INFO: archiving logs to Nexus 02:52:14 ---> uname -a: 02:52:14 Linux prd-centos7-docker-4c-2g-15034.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:52:14 02:52:14 02:52:14 ---> lscpu: 02:52:14 Architecture: x86_64 02:52:14 CPU op-mode(s): 32-bit, 64-bit 02:52:14 Byte Order: Little Endian 02:52:14 Address sizes: 40 bits physical, 48 bits virtual 02:52:14 CPU(s): 4 02:52:14 On-line CPU(s) list: 0-3 02:52:14 Thread(s) per core: 1 02:52:14 Core(s) per socket: 1 02:52:14 Socket(s): 4 02:52:14 NUMA node(s): 1 02:52:14 Vendor ID: GenuineIntel 02:52:14 CPU family: 6 02:52:14 Model: 44 02:52:14 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:52:14 Stepping: 1 02:52:14 CPU MHz: 2933.438 02:52:14 BogoMIPS: 5866.87 02:52:14 Virtualization: VT-x 02:52:14 Hypervisor vendor: KVM 02:52:14 Virtualization type: full 02:52:14 L1d cache: 128 KiB 02:52:14 L1i cache: 128 KiB 02:52:14 L2 cache: 16 MiB 02:52:14 L3 cache: 64 MiB 02:52:14 NUMA node0 CPU(s): 0-3 02:52:14 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:52:14 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:52:14 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:52:14 Vulnerability Meltdown: Mitigation; PTI 02:52:14 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:52:14 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:52:14 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:52:14 Vulnerability Srbds: Not affected 02:52:14 Vulnerability Tsx async abort: Not affected 02:52:14 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:52:14 02:52:14 02:52:14 ---> nproc: 02:52:14 4 02:52:14 02:52:14 02:52:14 ---> df -h: 02:52:14 Filesystem Size Used Available Use% Mounted on 02:52:14 overlay 50.0G 7.3G 42.7G 15% / 02:52:14 tmpfs 64.0M 0 64.0M 0% /dev 02:52:14 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:52:14 shm 64.0M 0 64.0M 0% /dev/shm 02:52:14 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 02:52:14 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 02:52:14 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 02:52:14 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 02:52:14 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 02:52:14 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 02:52:14 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 02:52:14 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 02:52:14 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-650 02:52:14 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp 02:52:14 02:52:14 02:52:14 ---> free -m: 02:52:14 total used free shared buff/cache available 02:52:14 Mem: 1837 695 96 0 1045 1037 02:52:14 Swap: 1023 0 1023 02:52:14 02:52:14 02:52:14 ---> ip addr: 02:52:14 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:52:14 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:52:14 inet 127.0.0.1/8 scope host lo 02:52:14 valid_lft forever preferred_lft forever 02:52:14 inet6 ::1/128 scope host 02:52:14 valid_lft forever preferred_lft forever 02:52:14 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:52:14 link/ether fa:16:3e:33:15:a1 brd ff:ff:ff:ff:ff:ff 02:52:14 inet 10.30.122.251/23 brd 10.30.123.255 scope global dynamic eth0 02:52:14 valid_lft 85811sec preferred_lft 85811sec 02:52:14 inet6 fe80::f816:3eff:fe33:15a1/64 scope link 02:52:14 valid_lft forever preferred_lft forever 02:52:14 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:52:14 link/ether 02:42:82:fb:ab:e2 brd ff:ff:ff:ff:ff:ff 02:52:14 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:52:14 valid_lft forever preferred_lft forever 02:52:14 inet6 fe80::42:82ff:fefb:abe2/64 scope link 02:52:14 valid_lft forever preferred_lft forever 02:52:14 02:52:14 02:52:14 ---> sar -b -r -n DEV: 02:52:14 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/08/20 _x86_64_ (4 CPU) 02:52:14 02:52:14 02:42:13 LINUX RESTART (4 CPU) 02:52:14 02:52:14 02:43:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:52:14 02:44:01 60.18 19.12 41.05 0.00 5061.79 3800.76 0.00 02:52:14 02:45:01 3.49 0.00 3.49 0.00 0.00 110.02 0.00 02:52:14 02:46:02 0.45 0.00 0.45 0.00 0.00 7.39 0.00 02:52:14 02:47:01 0.25 0.00 0.25 0.00 0.00 2.88 0.00 02:52:14 02:48:01 0.23 0.00 0.23 0.00 0.00 3.51 0.00 02:52:14 02:49:01 0.35 0.00 0.35 0.00 0.00 4.45 0.00 02:52:14 02:50:01 0.18 0.00 0.18 0.00 0.00 2.15 0.00 02:52:14 02:51:01 0.27 0.00 0.27 0.00 0.00 3.06 0.00 02:52:14 02:52:01 137.31 73.05 64.26 0.00 6785.94 18399.39 0.00 02:52:14 Average: 22.61 10.28 12.32 0.00 1320.98 2491.77 0.00 02:52:14 02:52:14 02:43:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:52:14 02:44:01 152012 0 588872 31.30 2620 1138040 1115836 38.08 379740 1147496 128 02:52:14 02:45:01 152992 0 587884 31.24 2620 1138048 1115688 38.08 385724 1140504 20 02:52:14 02:46:02 158304 0 582568 30.96 2620 1138052 1060028 36.18 383372 1138528 8 02:52:14 02:47:01 155980 0 584892 31.09 2620 1138052 1060112 36.18 388580 1135904 8 02:52:14 02:48:01 155848 0 585016 31.09 2620 1138060 1060200 36.18 397340 1127548 8 02:52:14 02:49:01 157900 0 582960 30.98 2620 1138064 1059924 36.17 395608 1127548 8 02:52:14 02:50:01 157080 0 583776 31.03 2620 1138068 1060156 36.18 396748 1127544 8 02:52:14 02:51:01 158120 0 582732 30.97 2620 1138072 1059928 36.17 395404 1127544 8 02:52:14 02:52:01 159700 0 670384 35.63 2620 1048840 1331020 45.43 452308 1016304 24 02:52:14 Average: 156437 0 594343 31.59 2620 1128144 1102544 37.63 397203 1120991 24 02:52:14 02:52:14 02:43:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:52:14 02:44:01 eth0 224.33 182.19 894.07 92.51 0.00 0.00 0.00 0.00 02:52:14 02:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:14 02:44:01 docker0 9.18 6.53 1.34 20.23 0.00 0.00 0.00 0.00 02:52:14 02:45:01 eth0 2.43 0.75 0.89 0.59 0.00 0.00 0.00 0.00 02:52:14 02:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:14 02:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:14 02:46:02 eth0 1.95 0.35 0.38 0.20 0.00 0.00 0.00 0.00 02:52:14 02:46:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:14 02:46:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:14 02:47:01 eth0 1.79 0.66 0.77 0.38 0.00 0.00 0.00 0.00 02:52:14 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:14 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:14 02:48:01 eth0 0.96 0.62 0.60 0.46 0.00 0.00 0.00 0.00 02:52:14 02:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:14 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:14 02:49:01 eth0 0.56 0.12 0.10 0.04 0.00 0.00 0.00 0.00 02:52:14 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:14 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:14 02:50:01 eth0 0.63 0.33 0.29 0.17 0.00 0.00 0.00 0.00 02:52:14 02:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:14 02:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:14 02:51:01 eth0 0.17 0.08 0.01 0.04 0.00 0.00 0.00 0.00 02:52:14 02:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:14 02:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:14 02:52:01 eth0 203.78 147.74 2171.53 20.12 0.00 0.00 0.00 0.00 02:52:14 02:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:14 02:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:14 Average: eth0 48.66 37.10 342.26 12.75 0.00 0.00 0.00 0.00 02:52:14 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:14 Average: docker0 1.02 0.73 0.15 2.25 0.00 0.00 0.00 0.00 02:52:14 02:52:14 02:52:14 ---> sar -P ALL: 02:52:14 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/08/20 _x86_64_ (4 CPU) 02:52:14 02:52:14 02:42:13 LINUX RESTART (4 CPU) 02:52:14 02:52:14 02:43:01 CPU %user %nice %system %iowait %steal %idle 02:52:14 02:44:01 all 11.06 0.00 3.90 1.38 17.94 65.72 02:52:14 02:44:01 0 11.82 0.00 5.45 0.84 18.59 63.31 02:52:14 02:44:01 1 9.47 0.00 3.17 1.47 17.18 68.71 02:52:14 02:44:01 2 8.86 0.00 3.62 2.56 18.83 66.13 02:52:14 02:44:01 3 14.20 0.00 3.38 0.62 17.16 64.65 02:52:14 02:45:01 all 0.27 0.00 0.06 0.00 0.48 99.19 02:52:14 02:45:01 0 0.51 0.00 0.07 0.00 0.53 98.89 02:52:14 02:45:01 1 0.45 0.00 0.05 0.00 0.58 98.92 02:52:14 02:45:01 2 0.05 0.00 0.07 0.00 0.42 99.47 02:52:14 02:45:01 3 0.05 0.00 0.07 0.00 0.40 99.49 02:52:14 02:46:02 all 0.10 0.00 0.14 0.00 1.02 98.73 02:52:14 02:46:02 0 0.15 0.00 0.22 0.00 1.08 98.56 02:52:14 02:46:02 1 0.07 0.00 0.23 0.00 1.09 98.61 02:52:14 02:46:02 2 0.17 0.00 0.05 0.00 1.22 98.56 02:52:14 02:46:02 3 0.03 0.00 0.08 0.00 0.68 99.20 02:52:14 02:47:01 all 0.07 0.00 0.04 0.00 0.65 99.24 02:52:14 02:47:01 0 0.22 0.00 0.03 0.00 0.76 98.99 02:52:14 02:47:01 1 0.05 0.00 0.07 0.00 1.11 98.77 02:52:14 02:47:01 2 0.02 0.00 0.03 0.00 0.47 99.48 02:52:14 02:47:01 3 0.00 0.00 0.02 0.00 0.25 99.73 02:52:14 02:48:01 all 0.12 0.00 0.20 0.00 1.11 98.57 02:52:14 02:48:01 0 0.05 0.00 0.23 0.00 1.14 98.58 02:52:14 02:48:01 1 0.07 0.00 0.15 0.00 1.37 98.42 02:52:14 02:48:01 2 0.07 0.00 0.25 0.00 0.88 98.81 02:52:14 02:48:01 3 0.31 0.00 0.17 0.00 1.06 98.46 02:52:14 02:49:01 all 0.10 0.00 0.04 0.00 0.46 99.40 02:52:14 02:49:01 0 0.03 0.00 0.03 0.00 0.43 99.50 02:52:14 02:49:01 1 0.27 0.00 0.03 0.00 0.38 99.32 02:52:14 02:49:01 2 0.07 0.00 0.05 0.00 0.69 99.19 02:52:14 02:49:01 3 0.03 0.00 0.03 0.00 0.33 99.60 02:52:14 02:50:01 all 0.07 0.00 0.03 0.00 0.56 99.34 02:52:14 02:50:01 0 0.03 0.00 0.05 0.00 0.98 98.94 02:52:14 02:50:01 1 0.22 0.00 0.02 0.00 0.42 99.35 02:52:14 02:50:01 2 0.02 0.00 0.03 0.00 0.66 99.29 02:52:14 02:50:01 3 0.02 0.00 0.02 0.00 0.18 99.78 02:52:14 02:51:01 all 0.06 0.00 0.02 0.00 0.56 99.35 02:52:14 02:51:01 0 0.00 0.00 0.02 0.00 0.68 99.30 02:52:14 02:51:01 1 0.12 0.00 0.03 0.00 0.33 99.52 02:52:14 02:51:01 2 0.10 0.00 0.03 0.00 0.80 99.07 02:52:14 02:51:01 3 0.03 0.00 0.02 0.00 0.45 99.50 02:52:14 02:52:01 all 4.30 0.00 3.62 2.12 11.65 78.31 02:52:14 02:52:01 0 4.45 0.00 3.80 2.34 11.90 77.52 02:52:14 02:52:01 1 3.64 0.00 2.95 1.95 11.11 80.36 02:52:14 02:52:01 2 5.66 0.00 4.30 1.46 12.20 76.38 02:52:14 02:52:01 3 3.47 0.00 3.45 2.73 11.42 78.93 02:52:14 Average: all 1.81 0.00 0.90 0.39 3.85 93.05 02:52:14 Average: 0 1.92 0.00 1.10 0.35 4.00 92.63 02:52:14 Average: 1 1.62 0.00 0.76 0.39 3.78 93.46 02:52:14 Average: 2 1.69 0.00 0.94 0.45 4.06 92.85 02:52:14 Average: 3 2.02 0.00 0.81 0.37 3.55 93.25 02:52:14 02:52:14 02:52:14