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 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 rather than bb3603909ab1ef3aa492044f3b646f1bb29ba67c Obtained Jenkinsfile from 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > 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 SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-20744 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 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c Merge succeeded, producing 54903d81de16e04aa6173ce8aa56354737f9ea07 Checking out Revision 54903d81de16e04aa6173ce8aa56354737f9ea07 (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 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 54903d81de16e04aa6173ce8aa56354737f9ea07 # timeout=10 Commit message: "Merge commit '4c3dc03c8ea9c7d0ca8607851bb568d204203cf0' into HEAD" > git rev-list --no-walk bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:45:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:45:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:45:17 ========================================================= 02:45:17 EdgeX Global Pipelines Version Info 02:45:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:45:19 ------------------- 02:45:19 stable info: 02:45:19 ------------------- 02:45:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:45:19 Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d 02:45:19 Message: update stable to v1.0.177 02:45:20 ------------------- 02:45:20 experimental info: 02:45:20 ------------------- 02:45:20 Commited By: **** collab-it+edgex@linuxfoundation.org 02:45:20 Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 02:45:20 Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:45:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:45:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:45:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:45:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:45:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:45:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:45:20 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:45:21 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:45:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:45:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:45:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:45:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:45:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:45:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:45:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:45:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:45:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:45:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:45:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:45:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:45:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:45:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:45:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:45:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:45:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:45:22 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:45:22 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 02:45:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-732 [Pipeline] echo 02:45:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-732 [Pipeline] echo 02:45:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-732 [Pipeline] echo 02:45:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 54903d81de16e04aa6173ce8aa56354737f9ea07 [Pipeline] echo 02:45:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 54903d8 [Pipeline] echo 02:45:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:45:23 provisioning config files... 02:45:23 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config3657555535253628535tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:24 ---> docker-login.sh 02:45:24 nexus3.edgexfoundry.org:10001 02:45:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:24 Configure a credential helper to remove this warning. See 02:45:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:24 02:45:24 Login Succeeded 02:45:24 nexus3.edgexfoundry.org:10002 02:45:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:24 Configure a credential helper to remove this warning. See 02:45:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:24 02:45:24 Login Succeeded 02:45:24 nexus3.edgexfoundry.org:10003 02:45:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:24 Configure a credential helper to remove this warning. See 02:45:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:24 02:45:24 Login Succeeded 02:45:24 nexus3.edgexfoundry.org:10004 02:45:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:25 Configure a credential helper to remove this warning. See 02:45:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:25 02:45:25 Login Succeeded 02:45:25 docker.io 02:45:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:25 Configure a credential helper to remove this warning. See 02:45:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:25 02:45:25 Login Succeeded 02:45:25 ---> docker-login.sh ends [Pipeline] } 02:45:25 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:45:26 + git log --format=format:%s -1 54903d81de16e04aa6173ce8aa56354737f9ea07 [Pipeline] echo 02:45:26 GIT_COMMIT: 54903d81de16e04aa6173ce8aa56354737f9ea07, Commit Message: Merge commit '4c3dc03c8ea9c7d0ca8607851bb568d204203cf0' into HEAD [Pipeline] echo 02:45:26 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:45:27 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:45:27 02:45:27 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:45:27 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:45:27 latest: Pulling from edgex-devops/git-semver 02:45:27 31603596830f: Pulling fs layer 02:45:27 2a8b12db71e7: Pulling fs layer 02:45:27 6ca5941a6612: Pulling fs layer 02:45:27 ecc8261a40a4: Pulling fs layer 02:45:27 ecc8261a40a4: Waiting 02:45:27 2a8b12db71e7: Verifying Checksum 02:45:27 2a8b12db71e7: Download complete 02:45:27 31603596830f: Download complete 02:45:27 ecc8261a40a4: Verifying Checksum 02:45:27 ecc8261a40a4: Download complete 02:45:27 6ca5941a6612: Verifying Checksum 02:45:27 6ca5941a6612: Download complete 02:45:28 31603596830f: Pull complete 02:45:28 2a8b12db71e7: Pull complete 02:45:29 6ca5941a6612: Pull complete 02:45:29 ecc8261a40a4: Pull complete 02:45:29 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:45:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:45:29 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:45:29 prd-centos7-docker-4c-2g-20744 does not seem to be running inside a container 02:45:29 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:45:32 $ docker top 1da7d65dda1956f3e6b68fcecb2682ac179a92ff7fa5be59fd6a3d96980f3cf3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:45:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:45:32 [ssh-agent] Looking for ssh-agent implementation... 02:45:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:45:32 $ docker exec 1da7d65dda1956f3e6b68fcecb2682ac179a92ff7fa5be59fd6a3d96980f3cf3 ssh-agent 02:45:32 SSH_AUTH_SOCK=/tmp/ssh-icaMLoi73uuT/agent.12 02:45:32 SSH_AGENT_PID=17 02:45:32 Running ssh-add (command line suppressed) 02:45:33 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_3402335804805559334.key (/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_3402335804805559334.key) 02:45:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:45:33 + git tag --points-at HEAD [Pipeline] } 02:45:33 $ docker exec --env ******** --env ******** 1da7d65dda1956f3e6b68fcecb2682ac179a92ff7fa5be59fd6a3d96980f3cf3 ssh-agent -k 02:45:33 unset SSH_AUTH_SOCK; 02:45:33 unset SSH_AGENT_PID; 02:45:33 echo Agent pid 17 killed; 02:45:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:45:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:45:33 [ssh-agent] Looking for ssh-agent implementation... 02:45:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:45:33 $ docker exec 1da7d65dda1956f3e6b68fcecb2682ac179a92ff7fa5be59fd6a3d96980f3cf3 ssh-agent 02:45:34 SSH_AUTH_SOCK=/tmp/ssh-7x6Uv9gACSk4/agent.47 02:45:34 SSH_AGENT_PID=52 02:45:34 Running ssh-add (command line suppressed) 02:45:34 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_2806581022509583543.key (/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_2806581022509583543.key) 02:45:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:45:34 + git semver init 02:45:34 # -> Open(): unable to determine branch for HEAD 02:45:34 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-732/.git 02:45:34 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-732 02:45:34 # $SEMVER_REMOTE_NAME = origin 02:45:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:45:34 # $SEMVER_USER_NAME = edgex-jenkins 02:45:34 # $SEMVER_BRANCH = PR-732 02:45:34 # $SEMVER_TEMP = /tmp/semver-187644639 02:45:34 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:45:35 # '/tmp/semver-187644639' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-732/.semver' 02:45:35 # -> Force: false 02:45:35 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-732/.semver [Pipeline] } 02:45:35 $ docker exec --env ******** --env ******** 1da7d65dda1956f3e6b68fcecb2682ac179a92ff7fa5be59fd6a3d96980f3cf3 ssh-agent -k 02:45:35 unset SSH_AUTH_SOCK; 02:45:35 unset SSH_AGENT_PID; 02:45:35 echo Agent pid 52 killed; 02:45:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:45:36 + git semver [Pipeline] } 02:45:36 $ docker stop --time=1 1da7d65dda1956f3e6b68fcecb2682ac179a92ff7fa5be59fd6a3d96980f3cf3 02:45:37 $ docker rm -f 1da7d65dda1956f3e6b68fcecb2682ac179a92ff7fa5be59fd6a3d96980f3cf3 [Pipeline] // withDockerContainer [Pipeline] sh 02:45:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:45:38 Stashed 1 file(s) [Pipeline] echo 02:45:38 [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:45:54 Still waiting to schedule task 02:45:54 ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-20746’ is offline; ‘prd-centos7-docker-4c-2g-20747’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ 02:45:54 Still waiting to schedule task 02:45:54 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 02:46:03 Running on prd-centos7-docker-4c-2g-20746 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [Pipeline] { [Pipeline] ws 02:46:03 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 02:46:06 using credential edgex-jenkins-ssh 02:46:06 Cloning the remote Git repository 02:46:06 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:46:06 > git init /w/workspace/device-sdk-go/3 # timeout=10 02:46:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:06 > git --version # timeout=10 02:46:06 > git --version # 'git version 2.24.3' 02:46:06 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:07 Merging remotes/origin/master commit 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c 02:46:08 Merge succeeded, producing 1bd2fabac256710ce69b4bde34fd98c90f6197be 02:46:08 Checking out Revision 1bd2fabac256710ce69b4bde34fd98c90f6197be (PR-732) 02:46:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:07 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:07 > 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:46:07 > git config core.sparsecheckout # timeout=10 02:46:07 > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 02:46:08 > git remote # timeout=10 02:46:08 > git config --get remote.origin.url # timeout=10 02:46:08 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:08 > git merge 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 02:46:08 > git rev-parse HEAD^{commit} # timeout=10 02:46:08 > git config core.sparsecheckout # timeout=10 02:46:08 > git checkout -f 1bd2fabac256710ce69b4bde34fd98c90f6197be # timeout=10 02:46:11 Commit message: "Merge commit '4c3dc03c8ea9c7d0ca8607851bb568d204203cf0' into HEAD" 02:46:11 > git rev-list --no-walk bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:46:13 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:46:13 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:46:13 + sudo service docker restart 02:46:13 + true 02:46:13 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:46:14 provisioning config files... 02:46:14 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config1119942093258679034tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:46:15 ---> docker-login.sh 02:46:15 nexus3.edgexfoundry.org:10001 02:46:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:15 Configure a credential helper to remove this warning. See 02:46:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:15 02:46:15 Login Succeeded 02:46:15 nexus3.edgexfoundry.org:10002 02:46:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:15 Configure a credential helper to remove this warning. See 02:46:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:15 02:46:15 Login Succeeded 02:46:15 nexus3.edgexfoundry.org:10003 02:46:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:16 Configure a credential helper to remove this warning. See 02:46:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:16 02:46:16 Login Succeeded 02:46:16 nexus3.edgexfoundry.org:10004 02:46:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:16 Configure a credential helper to remove this warning. See 02:46:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:16 02:46:16 Login Succeeded 02:46:16 docker.io 02:46:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:16 Configure a credential helper to remove this warning. See 02:46:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:16 02:46:16 Login Succeeded 02:46:16 ---> docker-login.sh ends [Pipeline] } 02:46:16 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:46:16 ========================================================= 02:46:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:46:16 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:46:17 + 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:46:17 Sending build context to Docker daemon 2.641MB 02:46:17 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:46:17 Step 2/8 : FROM ${BASE} 02:46:17 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:46:17 188c0c94c7c5: Pulling fs layer 02:46:17 0ef7d3d256c8: Pulling fs layer 02:46:17 de9db76c5a1d: Pulling fs layer 02:46:17 bca2f99d35d6: Pulling fs layer 02:46:17 93359f2a8cfa: Pulling fs layer 02:46:17 7c6f9722023f: Pulling fs layer 02:46:17 a35cf1a2eb13: Pulling fs layer 02:46:17 93359f2a8cfa: Waiting 02:46:17 7c6f9722023f: Waiting 02:46:17 a35cf1a2eb13: Waiting 02:46:17 bca2f99d35d6: Waiting 02:46:17 de9db76c5a1d: Verifying Checksum 02:46:17 de9db76c5a1d: Download complete 02:46:17 0ef7d3d256c8: Verifying Checksum 02:46:17 0ef7d3d256c8: Download complete 02:46:17 93359f2a8cfa: Verifying Checksum 02:46:17 93359f2a8cfa: Download complete 02:46:17 188c0c94c7c5: Download complete 02:46:17 7c6f9722023f: Verifying Checksum 02:46:17 7c6f9722023f: Download complete 02:46:17 188c0c94c7c5: Pull complete 02:46:18 0ef7d3d256c8: Pull complete 02:46:18 de9db76c5a1d: Pull complete 02:46:21 a35cf1a2eb13: Verifying Checksum 02:46:21 a35cf1a2eb13: Download complete 02:46:22 bca2f99d35d6: Verifying Checksum 02:46:22 bca2f99d35d6: Download complete 02:46:27 bca2f99d35d6: Pull complete 02:46:27 93359f2a8cfa: Pull complete 02:46:27 7c6f9722023f: Pull complete 02:46:32 a35cf1a2eb13: Pull complete 02:46:32 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:46:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:46:32 ---> a62c8e92a672 02:46:32 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:32 ---> Running in baf9c0e220bc 02:46:32 Removing intermediate container baf9c0e220bc 02:46:32 ---> ce9c5f40b7c1 02:46:32 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:32 ---> Running in e61fe8e6238a 02:46:34 Removing intermediate container e61fe8e6238a 02:46:34 ---> 2e701f558d8d 02:46:34 Step 5/8 : RUN apk add --update --no-cache make git 02:46:34 ---> Running in ffbaf1ffba57 02:46:35 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:46:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:46:35 OK: 166 MiB in 39 packages 02:46:36 Removing intermediate container ffbaf1ffba57 02:46:36 ---> 67ecbab3195c 02:46:36 Step 6/8 : WORKDIR /device-sdk-go 02:46:36 ---> Running in 9d07d70d9e70 02:46:36 Removing intermediate container 9d07d70d9e70 02:46:36 ---> b7f47ec53ab4 02:46:36 Step 7/8 : COPY . . 02:46:38 ---> ee696e6f76c2 02:46:38 Step 8/8 : RUN go mod download 02:46:38 ---> Running in c06c261ba96f 02:46:56 Removing intermediate container c06c261ba96f 02:46:56 ---> 79a56c88852e 02:46:56 Successfully built 79a56c88852e 02:46:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:46:56 + docker inspect -f . ci-base-image-x86_64 02:46:56 . [Pipeline] withDockerContainer 02:46:56 prd-centos7-docker-4c-2g-20746 does not seem to be running inside a container 02:46:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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:46:58 $ docker top 0d5f7bfb34a228fe2f48adbbcf4297c0627fb7f9f39f5da7b725b1775bf3709d -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:58 + go version 02:46:58 go version go1.15.5 linux/amd64 [Pipeline] } 02:46:58 $ docker stop --time=1 0d5f7bfb34a228fe2f48adbbcf4297c0627fb7f9f39f5da7b725b1775bf3709d 02:47:00 $ docker rm -f 0d5f7bfb34a228fe2f48adbbcf4297c0627fb7f9f39f5da7b725b1775bf3709d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:47:01 + docker inspect -f . ci-base-image-x86_64 02:47:01 . [Pipeline] withDockerContainer 02:47:01 prd-centos7-docker-4c-2g-20746 does not seem to be running inside a container 02:47:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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:47:02 $ docker top cb5f05fee8cdb34c28e1e562e460bfaa3e21233df20a86f18624c4714fc963be -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:02 + make test 02:47:02 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:47:10 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:47:25 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:47:25 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:47:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:47:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 19.4% of statements 02:47:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.474s coverage: 97.1% of statements 02:48:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.065s coverage: 9.4% of statements 02:48:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.055s coverage: 21.7% of statements 02:48:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:48:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.236s coverage: 42.9% of statements 02:48:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:48:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.271s coverage: 66.5% of statements 02:48:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:48:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:48:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:48:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:48:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.088s coverage: 53.8% of statements 02:48:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:48:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:48:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.073s coverage: 30.4% of statements 02:48:00 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.317s coverage: 68.9% of statements 02:48:00 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.065s coverage: 4.2% of statements 02:48:00 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:48:00 GO111MODULE=on go vet ./... 02:48:07 gofmt -l . 02:48:07 [ "`gofmt -l .`" = "" ] 02:48:07 ./bin/test-attribution-txt.sh 02:48:07 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:48:07 $ docker stop --time=1 cb5f05fee8cdb34c28e1e562e460bfaa3e21233df20a86f18624c4714fc963be 02:48:09 $ docker rm -f cb5f05fee8cdb34c28e1e562e460bfaa3e21233df20a86f18624c4714fc963be [Pipeline] // withDockerContainer [Pipeline] sh 02:48:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:48:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:48:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:48:12 + ls -al . 02:48:12 total 224 02:48:12 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 16 02:48 . 02:48:12 drwxrwxr-x. 4 jenkins jenkins 28 Jan 16 02:46 .. 02:48:12 drwxrwxr-x. 2 jenkins jenkins 64 Jan 16 02:46 bin 02:48:12 -rw-r--r--. 1 jenkins jenkins 143825 Jan 16 02:47 coverage.out 02:48:12 -rw-rw-r--. 1 jenkins jenkins 949 Jan 16 02:46 Dockerfile.build 02:48:12 -rw-rw-r--. 1 jenkins jenkins 140 Jan 16 02:46 .dockerignore 02:48:12 drwxrwxr-x. 4 jenkins jenkins 48 Jan 16 02:46 example 02:48:12 drwxrwxr-x. 8 jenkins jenkins 179 Jan 16 02:46 .git 02:48:12 drwxrwxr-x. 2 jenkins jenkins 103 Jan 16 02:46 .github 02:48:12 -rw-rw-r--. 1 jenkins jenkins 138 Jan 16 02:46 .gitignore 02:48:12 -rw-r--r--. 1 jenkins jenkins 491 Jan 16 02:48 go.mod 02:48:12 -rw-r--r--. 1 jenkins jenkins 14124 Jan 16 02:48 go.sum 02:48:12 drwxrwxr-x. 15 jenkins jenkins 211 Jan 16 02:46 internal 02:48:12 -rw-rw-r--. 1 jenkins jenkins 901 Jan 16 02:46 Jenkinsfile 02:48:12 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 16 02:46 LICENSE 02:48:12 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 16 02:46 Makefile 02:48:12 drwxrwxr-x. 4 jenkins jenkins 26 Jan 16 02:46 openapi 02:48:12 drwxrwxr-x. 5 jenkins jenkins 50 Jan 16 02:46 pkg 02:48:12 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 16 02:46 README.md 02:48:12 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 16 02:46 RELEASE-NOTES.txt 02:48:12 drwxrwxr-x. 4 jenkins jenkins 54 Jan 16 02:46 snap 02:48:12 -rw-rw-r--. 1 jenkins jenkins 5 Jan 16 02:45 VERSION 02:48:12 -rw-rw-r--. 1 jenkins jenkins 222 Jan 16 02:46 version.go [Pipeline] isUnix [Pipeline] sh 02:48:12 + 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=54903d81de16e04aa6173ce8aa56354737f9ea07 --label arch=amd64 --label version=0.0.0 . 02:48:13 Sending build context to Docker daemon 2.786MB 02:48:13 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:48:13 Step 2/24 : FROM ${BASE} AS builder 02:48:13 ---> 79a56c88852e 02:48:13 Step 3/24 : ARG MAKE='make build' 02:48:13 ---> Running in 2b7ff6f7a1fb 02:48:14 Removing intermediate container 2b7ff6f7a1fb 02:48:14 ---> fd3530f50f3d 02:48:14 Step 4/24 : WORKDIR /device-sdk-go 02:48:14 ---> Running in cae972764aa4 02:48:14 Removing intermediate container cae972764aa4 02:48:14 ---> 19be0663ad69 02:48:14 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:14 ---> Running in 4856b18f837c 02:48:14 Removing intermediate container 4856b18f837c 02:48:14 ---> c8d38630238f 02:48:14 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:48:14 ---> Running in 8cc54430b02b 02:48:15 Removing intermediate container 8cc54430b02b 02:48:15 ---> 44450b9a24d5 02:48:15 Step 7/24 : RUN apk add --update --no-cache make git 02:48:15 ---> Running in 463015741c99 02:48:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:48:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:48:17 OK: 166 MiB in 39 packages 02:48:17 Removing intermediate container 463015741c99 02:48:17 ---> 43c89efbf13f 02:48:17 Step 8/24 : COPY . . 02:48:18 ---> e11e9dd6bfcc 02:48:18 Step 9/24 : RUN ${MAKE} 02:48:18 ---> Running in 8ed707ce347d 02:48:19 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:48:27 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:48:30 Removing intermediate container 8ed707ce347d 02:48:30 ---> 28f02a13b7ad 02:48:30 Step 10/24 : FROM scratch 02:48:30 ---> 02:48:30 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:30 ---> Running in 549346abdcdc 02:48:30 Removing intermediate container 549346abdcdc 02:48:30 ---> 9edac0c25c98 02:48:30 Step 12/24 : ENV APP_PORT=49990 02:48:30 ---> Running in 5f518b1fa3e0 02:48:30 Removing intermediate container 5f518b1fa3e0 02:48:30 ---> 5029e2c3f407 02:48:30 Step 13/24 : EXPOSE $APP_PORT 02:48:30 ---> Running in c57df9f6d6d5 02:48:30 Removing intermediate container c57df9f6d6d5 02:48:30 ---> 48e578ba05ef 02:48:30 Step 14/24 : WORKDIR / 02:48:31 ---> Running in e514e9636668 02:48:31 Removing intermediate container e514e9636668 02:48:31 ---> bac14ae2c70d 02:48:31 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:48:31 ---> 5b140ebea021 02:48:31 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:48:32 ---> a48c3d3fbe4a 02:48:32 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:48:32 ---> a0eaf76e8f17 02:48:32 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:48:32 ---> b5706bacf35e 02:48:32 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:48:32 ---> 92f33e9d4814 02:48:32 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:48:32 ---> Running in a8ae453f4f77 02:48:32 Removing intermediate container a8ae453f4f77 02:48:32 ---> 8ce8d8fe3260 02:48:32 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:48:32 ---> Running in f8ccbc2ac438 02:48:33 Removing intermediate container f8ccbc2ac438 02:48:33 ---> 3a261119c602 02:48:33 Step 22/24 : LABEL arch=amd64 02:48:33 ---> Running in 3164f4f57815 02:48:33 Removing intermediate container 3164f4f57815 02:48:33 ---> 7a161a0142a5 02:48:33 Step 23/24 : LABEL git_sha=54903d81de16e04aa6173ce8aa56354737f9ea07 02:48:33 ---> Running in 2a9f6509df93 02:48:33 Removing intermediate container 2a9f6509df93 02:48:33 ---> c8be7c88a7e2 02:48:33 Step 24/24 : LABEL version=0.0.0 02:48:33 ---> Running in bd01b543fee3 02:48:33 Removing intermediate container bd01b543fee3 02:48:33 ---> 556d9f5e1b25 02:48:33 [Warning] One or more build-args [ARCH] were not consumed 02:48:33 Successfully built 556d9f5e1b25 02:48:33 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:49:38 Running on prd-ubuntu18.04-docker-arm64-4c-16g-20749 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [Pipeline] { [Pipeline] ws 02:49:38 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 02:49:44 using credential edgex-jenkins-ssh 02:49:44 Cloning the remote Git repository 02:49:44 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:49:44 > git init /w/workspace/device-sdk-go/3 # timeout=10 02:49:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:49:44 > git --version # timeout=10 02:49:44 > git --version # 'git version 2.17.1' 02:49:44 using GIT_SSH to set credentials SSH Credentials for GitHub 02:49:44 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:49:46 Merging remotes/origin/master commit 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c 02:49:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:49:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:49:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:49:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:49:45 using GIT_SSH to set credentials SSH Credentials for GitHub 02:49:45 > 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:49:46 > git config core.sparsecheckout # timeout=10 02:49:46 > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 02:49:46 > git remote # timeout=10 02:49:46 > git config --get remote.origin.url # timeout=10 02:49:46 Merge succeeded, producing 994f202495d5e09ff85df003a8b30304d98beee0 02:49:46 Checking out Revision 994f202495d5e09ff85df003a8b30304d98beee0 (PR-732) 02:49:46 using GIT_SSH to set credentials SSH Credentials for GitHub 02:49:46 > git merge 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 02:49:46 > git rev-parse HEAD^{commit} # timeout=10 02:49:46 > git config core.sparsecheckout # timeout=10 02:49:46 > git checkout -f 994f202495d5e09ff85df003a8b30304d98beee0 # timeout=10 02:49:51 Commit message: "Merge commit '4c3dc03c8ea9c7d0ca8607851bb568d204203cf0' into HEAD" 02:49:51 > git rev-list --no-walk bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:49:52 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:49:53 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:49:53 + + sudotrue service 02:49:53 docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:49:56 provisioning config files... 02:49:56 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config1288331202497259810tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:49:56 ---> docker-login.sh 02:49:56 nexus3.edgexfoundry.org:10001 02:49:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:58 Configure a credential helper to remove this warning. See 02:49:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:58 02:49:58 Login Succeeded 02:49:58 nexus3.edgexfoundry.org:10002 02:49:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:58 Configure a credential helper to remove this warning. See 02:49:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:58 02:49:58 Login Succeeded 02:49:58 nexus3.edgexfoundry.org:10003 02:49:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:58 Configure a credential helper to remove this warning. See 02:49:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:58 02:49:58 Login Succeeded 02:49:58 nexus3.edgexfoundry.org:10004 02:49:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:59 Configure a credential helper to remove this warning. See 02:49:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:59 02:49:59 Login Succeeded 02:49:59 docker.io 02:49:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:00 Configure a credential helper to remove this warning. See 02:50:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:00 02:50:00 Login Succeeded 02:50:00 ---> docker-login.sh ends [Pipeline] } 02:50:00 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:50:00 ========================================================= 02:50:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:50:00 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:50:00 + 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:50:01 Sending build context to Docker daemon 2.642MB 02:50:01 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:50:01 Step 2/8 : FROM ${BASE} 02:50:01 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:50:01 5f621e34cdf4: Pulling fs layer 02:50:01 a4357932f1b6: Pulling fs layer 02:50:01 18c013af1878: Pulling fs layer 02:50:01 00ac8860ef70: Pulling fs layer 02:50:01 63d7cb157983: Pulling fs layer 02:50:01 b116817d02f9: Pulling fs layer 02:50:01 745a02a5169b: Pulling fs layer 02:50:01 00ac8860ef70: Waiting 02:50:01 63d7cb157983: Waiting 02:50:01 b116817d02f9: Waiting 02:50:01 745a02a5169b: Waiting 02:50:01 18c013af1878: Verifying Checksum 02:50:01 18c013af1878: Download complete 02:50:01 a4357932f1b6: Verifying Checksum 02:50:01 a4357932f1b6: Download complete 02:50:02 63d7cb157983: Download complete 02:50:02 b116817d02f9: Download complete 02:50:02 5f621e34cdf4: Verifying Checksum 02:50:02 5f621e34cdf4: Download complete 02:50:03 5f621e34cdf4: Pull complete 02:50:03 a4357932f1b6: Pull complete 02:50:03 18c013af1878: Pull complete 02:50:04 745a02a5169b: Verifying Checksum 02:50:04 745a02a5169b: Download complete 02:50:05 00ac8860ef70: Verifying Checksum 02:50:05 00ac8860ef70: Download complete 02:50:16 00ac8860ef70: Pull complete 02:50:16 63d7cb157983: Pull complete 02:50:16 b116817d02f9: Pull complete 02:50:20 745a02a5169b: Pull complete 02:50:20 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:50:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:50:20 ---> b7e6874047d6 02:50:20 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:23 ---> Running in ad88016a2411 02:50:23 Removing intermediate container ad88016a2411 02:50:23 ---> 4abb0912a191 02:50:23 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:50:23 ---> Running in c64e826936a1 02:50:25 Removing intermediate container c64e826936a1 02:50:25 ---> 0e3d6ffae277 02:50:25 Step 5/8 : RUN apk add --update --no-cache make git 02:50:25 ---> Running in bbadb85a2ff2 02:50:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:50:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:50:28 OK: 142 MiB in 39 packages 02:50:29 Removing intermediate container bbadb85a2ff2 02:50:29 ---> 3b629d671f82 02:50:29 Step 6/8 : WORKDIR /device-sdk-go 02:50:29 ---> Running in 4b06dc41709f 02:50:30 Removing intermediate container 4b06dc41709f 02:50:30 ---> 4251dad070a4 02:50:30 Step 7/8 : COPY . . 02:50:31 ---> cfeaaa1ae882 02:50:31 Step 8/8 : RUN go mod download 02:50:31 ---> Running in 32c46c73ed12 02:50:53 Removing intermediate container 32c46c73ed12 02:50:53 ---> 97d97f0a75d6 02:50:53 Successfully built 97d97f0a75d6 02:50:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:50:53 + docker inspect -f . ci-base-image-arm64 02:50:53 . [Pipeline] withDockerContainer 02:50:54 prd-ubuntu18.04-docker-arm64-4c-16g-20749 does not seem to be running inside a container 02:50:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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:50:55 $ docker top 0510e5a7392d703ca6d73a59a2bf04a53f2713b15bb8f2c97c7f8227c540294b -eo pid,comm [Pipeline] { [Pipeline] sh 02:50:56 + go version 02:50:56 go version go1.15.5 linux/arm64 [Pipeline] } 02:50:56 $ docker stop --time=1 0510e5a7392d703ca6d73a59a2bf04a53f2713b15bb8f2c97c7f8227c540294b 02:50:58 $ docker rm -f 0510e5a7392d703ca6d73a59a2bf04a53f2713b15bb8f2c97c7f8227c540294b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:50:59 + docker inspect -f . ci-base-image-arm64 02:50:59 . [Pipeline] withDockerContainer 02:50:59 prd-ubuntu18.04-docker-arm64-4c-16g-20749 does not seem to be running inside a container 02:50:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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:51:01 $ docker top d2e2b6e4c27f44ab810f3eae32ed4e168fd23a5313984ec8331a972f0ec3c997 -eo pid,comm [Pipeline] { [Pipeline] sh 02:51:02 + make test 02:51:02 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:51:24 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:52:03 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:52:03 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:52:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:52:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.207s coverage: 19.4% of statements 02:52:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.229s coverage: 97.1% of statements 02:52:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.129s coverage: 9.4% of statements 02:52:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.116s coverage: 21.7% of statements 02:52:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:52:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.620s coverage: 42.9% of statements 02:52:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:52:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.726s coverage: 66.5% of statements 02:52:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:52:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:52:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:52:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:52:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.202s coverage: 53.8% of statements 02:52:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:52:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:52:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.186s coverage: 30.4% of statements 02:52:35 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.908s coverage: 68.9% of statements 02:52:35 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.151s coverage: 4.2% of statements 02:52:35 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:52:36 GO111MODULE=on go vet ./... 02:53:15 gofmt -l . 02:53:15 [ "`gofmt -l .`" = "" ] 02:53:15 ./bin/test-attribution-txt.sh 02:53:15 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:53:15 $ docker stop --time=1 d2e2b6e4c27f44ab810f3eae32ed4e168fd23a5313984ec8331a972f0ec3c997 02:53:17 $ docker rm -f d2e2b6e4c27f44ab810f3eae32ed4e168fd23a5313984ec8331a972f0ec3c997 [Pipeline] // withDockerContainer [Pipeline] sh 02:53:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:53:18 Warning: overwriting stash ‘coverage-report’ 02:53:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:53:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:53:20 + ls -al . 02:53:20 total 260 02:53:20 drwxrwxr-x 10 jenkins jenkins 4096 Jan 16 02:53 . 02:53:20 drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 02:49 .. 02:53:20 -rw-rw-r-- 1 jenkins jenkins 140 Jan 16 02:49 .dockerignore 02:53:20 drwxrwxr-x 8 jenkins jenkins 4096 Jan 16 02:49 .git 02:53:20 drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 02:49 .github 02:53:20 -rw-rw-r-- 1 jenkins jenkins 138 Jan 16 02:49 .gitignore 02:53:20 -rw-rw-r-- 1 jenkins jenkins 949 Jan 16 02:49 Dockerfile.build 02:53:20 -rw-rw-r-- 1 jenkins jenkins 901 Jan 16 02:49 Jenkinsfile 02:53:20 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 16 02:49 LICENSE 02:53:20 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 16 02:49 Makefile 02:53:20 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 16 02:49 README.md 02:53:20 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 16 02:49 RELEASE-NOTES.txt 02:53:20 -rw-rw-r-- 1 jenkins jenkins 5 Jan 16 02:45 VERSION 02:53:20 drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 02:49 bin 02:53:20 -rw-r--r-- 1 jenkins jenkins 143825 Jan 16 02:52 coverage.out 02:53:20 drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 02:49 example 02:53:20 -rw-r--r-- 1 jenkins jenkins 491 Jan 16 02:53 go.mod 02:53:20 -rw-r--r-- 1 jenkins jenkins 14124 Jan 16 02:53 go.sum 02:53:20 drwxrwxr-x 15 jenkins jenkins 4096 Jan 16 02:49 internal 02:53:20 drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 02:49 openapi 02:53:20 drwxrwxr-x 5 jenkins jenkins 4096 Jan 16 02:49 pkg 02:53:20 drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 02:49 snap 02:53:20 -rw-rw-r-- 1 jenkins jenkins 222 Jan 16 02:49 version.go [Pipeline] isUnix [Pipeline] sh 02:53:20 + 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=54903d81de16e04aa6173ce8aa56354737f9ea07 --label arch=arm64 --label version=0.0.0 . 02:53:21 Sending build context to Docker daemon 2.787MB 02:53:21 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:53:21 Step 2/24 : FROM ${BASE} AS builder 02:53:21 ---> 97d97f0a75d6 02:53:21 Step 3/24 : ARG MAKE='make build' 02:53:21 ---> Running in 63633b830a9c 02:53:22 Removing intermediate container 63633b830a9c 02:53:22 ---> f121991658a1 02:53:22 Step 4/24 : WORKDIR /device-sdk-go 02:53:22 ---> Running in 99d7ae4eaf72 02:53:23 Removing intermediate container 99d7ae4eaf72 02:53:23 ---> 43bd511e3647 02:53:23 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:53:23 ---> Running in 67a756f1d353 02:53:23 Removing intermediate container 67a756f1d353 02:53:23 ---> 4b240ed78dd4 02:53:23 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:53:23 ---> Running in 174f7b16d7d9 02:53:25 Removing intermediate container 174f7b16d7d9 02:53:25 ---> c12a65b408ae 02:53:25 Step 7/24 : RUN apk add --update --no-cache make git 02:53:25 ---> Running in e1b2910cc5bd 02:53:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:53:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:53:31 OK: 142 MiB in 39 packages 02:53:32 Removing intermediate container e1b2910cc5bd 02:53:32 ---> 190f3a79b6f0 02:53:32 Step 8/24 : COPY . . 02:53:34 ---> 947609079b25 02:53:34 Step 9/24 : RUN ${MAKE} 02:53:34 ---> Running in c009ce592dbf 02:53:35 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:54:02 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:54:02 Removing intermediate container c009ce592dbf 02:54:02 ---> 53016d6007ae 02:54:02 Step 10/24 : FROM scratch 02:54:02 ---> 02:54:02 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:54:02 ---> Running in 7e1a8ec3d87f 02:54:02 Removing intermediate container 7e1a8ec3d87f 02:54:02 ---> 7ae35159eb26 02:54:02 Step 12/24 : ENV APP_PORT=49990 02:54:02 ---> Running in 8d572ac40471 02:54:02 Removing intermediate container 8d572ac40471 02:54:02 ---> b467ab677f3b 02:54:02 Step 13/24 : EXPOSE $APP_PORT 02:54:03 ---> Running in 9f77871e2ff2 02:54:03 Removing intermediate container 9f77871e2ff2 02:54:03 ---> 8d29a008d7e7 02:54:03 Step 14/24 : WORKDIR / 02:54:03 ---> Running in 3dbce33e0da5 02:54:04 Removing intermediate container 3dbce33e0da5 02:54:04 ---> 775ee38bb77e 02:54:04 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:54:05 ---> a2ae923a4d6a 02:54:05 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:54:06 ---> 598a58d37da3 02:54:06 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:54:06 ---> 1a4af9eadf3e 02:54:06 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:54:07 ---> 3d8cffb7d662 02:54:07 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:54:07 ---> 177af070a168 02:54:07 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:54:07 ---> Running in bdb64c165f1d 02:54:08 Removing intermediate container bdb64c165f1d 02:54:08 ---> a315b6bad2c0 02:54:08 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:54:08 ---> Running in 92a7024b7816 02:54:08 Removing intermediate container 92a7024b7816 02:54:08 ---> 3faa161bf9a0 02:54:08 Step 22/24 : LABEL arch=arm64 02:54:09 ---> Running in d6d7f1e02f08 02:54:09 Removing intermediate container d6d7f1e02f08 02:54:09 ---> 17b403e1b9ad 02:54:09 Step 23/24 : LABEL git_sha=54903d81de16e04aa6173ce8aa56354737f9ea07 02:54:09 ---> Running in 39fe7486ab64 02:54:09 Removing intermediate container 39fe7486ab64 02:54:09 ---> 4d03d7ada057 02:54:09 Step 24/24 : LABEL version=0.0.0 02:54:10 ---> Running in 1a2ae5d2d90f 02:54:10 Removing intermediate container 1a2ae5d2d90f 02:54:10 ---> ca4320497bea 02:54:10 [Warning] One or more build-args [ARCH] were not consumed 02:54:10 Successfully built ca4320497bea 02:54:10 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:54:13 provisioning config files... 02:54:13 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config5968610336054951715tmp [Pipeline] { [Pipeline] sh 02:54:13 + set +x 02:54:13 + curl -s https://codecov.io/bash 02:54:13 + bash -s -- 02:54:13 02:54:13 _____ _ 02:54:13 / ____| | | 02:54:13 | | ___ __| | ___ ___ _____ __ 02:54:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:54:13 | |___| (_) | (_| | __/ (_| (_) \ V / 02:54:13 \_____\___/ \__,_|\___|\___\___/ \_/ 02:54:13 Bash-20210115-cec3c92 02:54:13 02:54:13 02:54:13 ==> git version 2.24.3 found 02:54:13 ==> 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:54:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:54:13 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:54:13 ==> Jenkins CI detected. 02:54:13 project root: . 02:54:13 --> token set from env 02:54:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:54:13 ==> Running gcov in . (disable via -X gcov) 02:54:13 ==> Python coveragepy not found 02:54:13 ==> Searching for coverage reports in: 02:54:13 + . 02:54:13 -> Found 1 reports 02:54:13 ==> Detecting git/mercurial file structure 02:54:13 ==> Reading reports 02:54:13 + ./coverage.out bytes=143825 02:54:13 ==> Appending adjustments 02:54:13 https://docs.codecov.io/docs/fixing-reports 02:54:14 + Found adjustments 02:54:14 ==> Gzipping contents 02:54:14 24K /tmp/codecov.8TQRHh.gz 02:54:14 ==> Uploading reports 02:54:14 url: https://codecov.io 02:54:14 query: branch=PR-732&commit=54903d81de16e04aa6173ce8aa56354737f9ea07&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-732%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=732&job=&cmd_args= 02:54:14 -> Pinging Codecov 02:54:14 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-732&commit=54903d81de16e04aa6173ce8aa56354737f9ea07&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-732%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=732&job=&cmd_args= 02:54:14 -> Uploading to 02:54:14 https://storage.googleapis.com/codecov/v4/raw/2021-01-16/7E55EF52A471D76F132DFD9A03CDDE97/54903d81de16e04aa6173ce8aa56354737f9ea07/baaf845b-c850-4048-b163-1147cc6181da.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210116%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210116T025414Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=74be654d4a9967abd9b8ab5ac5f84868b2fd62c2b38b5610fd1d9208f84445ea 02:54:14 % Total % Received % Xferd Average Speed Time Time Time Current 02:54:14 Dload Upload Total Spent Left Speed 02:54:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22230 0 0 100 22230 0 45142 --:--:-- --:--:-- --:--:-- 45091 02:54:15 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/54903d81de16e04aa6173ce8aa56354737f9ea07 [Pipeline] } 02:54:15 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:54:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:54:18 ---> package-listing.sh 02:54:18 ++ facter osfamily 02:54:18 ++ tr '[:upper:]' '[:lower:]' 02:54:18 + OS_FAMILY=redhat 02:54:18 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-732 02:54:18 + START_PACKAGES=/tmp/packages_start.txt 02:54:18 + END_PACKAGES=/tmp/packages_end.txt 02:54:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:54:18 + PACKAGES=/tmp/packages_start.txt 02:54:18 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-732 ']' 02:54:18 + PACKAGES=/tmp/packages_end.txt 02:54:18 + case "${OS_FAMILY}" in 02:54:18 + rpm -qa 02:54:18 + sort 02:54:23 + '[' -f /tmp/packages_start.txt ']' 02:54:23 + '[' -f /tmp/packages_end.txt ']' 02:54:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:54:23 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-732 ']' 02:54:23 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-732/archives/ 02:54:23 + 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:54:23 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:54:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:54:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:54:23 02:54:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:54:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:54:24 alpine: Pulling from edgex-lftools-log-publisher 02:54:24 df20fa9351a1: Pulling fs layer 02:54:24 36b3adc4ff6f: Pulling fs layer 02:54:24 8ad3a11d3b57: Pulling fs layer 02:54:24 46f8f816bc3b: Pulling fs layer 02:54:24 93b61091891f: Pulling fs layer 02:54:24 93b9cdb0e59b: Pulling fs layer 02:54:24 5e14af77c1be: Pulling fs layer 02:54:24 01666e4c0597: Pulling fs layer 02:54:24 aa168da1d23b: Pulling fs layer 02:54:24 93b9cdb0e59b: Waiting 02:54:24 5e14af77c1be: Waiting 02:54:24 01666e4c0597: Waiting 02:54:24 aa168da1d23b: Waiting 02:54:24 46f8f816bc3b: Waiting 02:54:24 93b61091891f: Waiting 02:54:24 36b3adc4ff6f: Download complete 02:54:24 46f8f816bc3b: Verifying Checksum 02:54:24 46f8f816bc3b: Download complete 02:54:24 df20fa9351a1: Verifying Checksum 02:54:24 93b9cdb0e59b: Verifying Checksum 02:54:24 93b9cdb0e59b: Download complete 02:54:24 5e14af77c1be: Verifying Checksum 02:54:24 5e14af77c1be: Download complete 02:54:24 93b61091891f: Verifying Checksum 02:54:24 93b61091891f: Download complete 02:54:24 01666e4c0597: Verifying Checksum 02:54:24 01666e4c0597: Download complete 02:54:24 df20fa9351a1: Pull complete 02:54:25 36b3adc4ff6f: Pull complete 02:54:25 8ad3a11d3b57: Verifying Checksum 02:54:25 8ad3a11d3b57: Download complete 02:54:25 8ad3a11d3b57: Pull complete 02:54:25 46f8f816bc3b: Pull complete 02:54:26 93b61091891f: Pull complete 02:54:27 93b9cdb0e59b: Pull complete 02:54:27 aa168da1d23b: Verifying Checksum 02:54:27 aa168da1d23b: Download complete 02:54:27 5e14af77c1be: Pull complete 02:54:27 01666e4c0597: Pull complete 02:54:34 aa168da1d23b: Pull complete 02:54:34 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:54:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:54:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:54:34 prd-centos7-docker-4c-2g-20744 does not seem to be running inside a container 02:54:34 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:54:37 $ docker top 27817d9af313ff8d047b7b42097d77efb2a260ba363d57ceb667814a0dc37800 -eo pid,comm [Pipeline] { [Pipeline] sh 02:54:38 + touch /tmp/pre-build-complete [Pipeline] sh 02:54:38 + mkdir -p /var/log/sa [Pipeline] sh 02:54:38 + ls /var/log/sa-host 02:54:38 + sadf -c /var/log/sa-host/sa16 02:54:38 file_magic: OK 02:54:38 HZ: Using current value: 100 02:54:38 file_header: OK 02:54:38 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:54:38 Statistics: 02:54:38 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:54:38 File successfully converted to sysstat format version 12.2.1 02:54:38 + sadf -c /var/log/sa-host/sa23 02:54:38 file_magic: OK 02:54:38 HZ: Using current value: 100 02:54:38 file_header: OK 02:54:38 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:54:38 Statistics: 02:54:38 Hnuu...uuuununununu... 02:54:38 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:54:39 provisioning config files... 02:54:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config4330860300641420837tmp [Pipeline] { [Pipeline] echo 02:54:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:54:39 ---> create-netrc.sh [Pipeline] } 02:54:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:54:39 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:54:39 ---> python-tools-install.sh [Pipeline] echo 02:54:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:54:40 ---> sudo-logs.sh 02:54:40 Archiving 'sudo' log.. [Pipeline] echo 02:54:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:54:40 ---> job-cost.sh 02:54:40 lf-activate-venv: SKIPPING 02:54:40 INFO: No Stack... 02:54:41 INFO: Retrieving Pricing Info for: v1-standard-2 02:54:42 INFO: Archiving Costs [Pipeline] echo 02:54:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:54:42 ---> logs-deploy.sh 02:54:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-732/3 02:54:42 INFO: archiving workspace using pattern(s): 02:54:44 Archives upload complete. 02:54:44 INFO: archiving logs to Nexus 02:54:45 ---> uname -a: 02:54:45 Linux prd-centos7-docker-4c-2g-20744.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:54:45 02:54:45 02:54:45 ---> lscpu: 02:54:45 Architecture: x86_64 02:54:45 CPU op-mode(s): 32-bit, 64-bit 02:54:45 Byte Order: Little Endian 02:54:45 Address sizes: 40 bits physical, 48 bits virtual 02:54:45 CPU(s): 4 02:54:45 On-line CPU(s) list: 0-3 02:54:45 Thread(s) per core: 1 02:54:45 Core(s) per socket: 1 02:54:45 Socket(s): 4 02:54:45 NUMA node(s): 1 02:54:45 Vendor ID: GenuineIntel 02:54:45 CPU family: 6 02:54:45 Model: 44 02:54:45 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:54:45 Stepping: 1 02:54:45 CPU MHz: 2933.436 02:54:45 BogoMIPS: 5866.87 02:54:45 Virtualization: VT-x 02:54:45 Hypervisor vendor: KVM 02:54:45 Virtualization type: full 02:54:45 L1d cache: 128 KiB 02:54:45 L1i cache: 128 KiB 02:54:45 L2 cache: 16 MiB 02:54:45 L3 cache: 64 MiB 02:54:45 NUMA node0 CPU(s): 0-3 02:54:45 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:54:45 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:54:45 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:54:45 Vulnerability Meltdown: Mitigation; PTI 02:54:45 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:54:45 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:54:45 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:54:45 Vulnerability Srbds: Not affected 02:54:45 Vulnerability Tsx async abort: Not affected 02:54:45 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:54:45 02:54:45 02:54:45 ---> nproc: 02:54:45 4 02:54:45 02:54:45 02:54:45 ---> df -h: 02:54:45 Filesystem Size Used Available Use% Mounted on 02:54:45 overlay 50.0G 7.3G 42.7G 15% / 02:54:45 tmpfs 64.0M 0 64.0M 0% /dev 02:54:45 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:54:45 shm 64.0M 0 64.0M 0% /dev/shm 02:54:45 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 02:54:45 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 02:54:45 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 02:54:45 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 02:54:45 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 02:54:45 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 02:54:45 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-732 02:54:45 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp 02:54:45 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 02:54:45 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 02:54:45 02:54:45 02:54:45 ---> free -m: 02:54:45 total used free shared buff/cache available 02:54:45 Mem: 1837 684 102 0 1049 1048 02:54:45 Swap: 1023 0 1023 02:54:45 02:54:45 02:54:45 ---> ip addr: 02:54:45 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:54:45 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:54:45 inet 127.0.0.1/8 scope host lo 02:54:45 valid_lft forever preferred_lft forever 02:54:45 inet6 ::1/128 scope host 02:54:45 valid_lft forever preferred_lft forever 02:54:45 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:54:45 link/ether fa:16:3e:a6:86:cc brd ff:ff:ff:ff:ff:ff 02:54:45 inet 10.30.123.155/23 brd 10.30.123.255 scope global dynamic eth0 02:54:45 valid_lft 85800sec preferred_lft 85800sec 02:54:45 inet6 fe80::f816:3eff:fea6:86cc/64 scope link 02:54:45 valid_lft forever preferred_lft forever 02:54:45 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:54:45 link/ether 02:42:f2:48:d8:c8 brd ff:ff:ff:ff:ff:ff 02:54:45 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:54:45 valid_lft forever preferred_lft forever 02:54:45 inet6 fe80::42:f2ff:fe48:d8c8/64 scope link 02:54:45 valid_lft forever preferred_lft forever 02:54:45 02:54:45 02:54:45 ---> sar -b -r -n DEV: 02:54:45 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/16/21 _x86_64_ (4 CPU) 02:54:45 02:54:45 02:44:31 LINUX RESTART (4 CPU) 02:54:45 02:54:45 02:45:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:54:45 02:46:03 62.58 21.11 41.48 0.00 5509.59 3818.77 0.00 02:54:45 02:47:01 1.74 0.00 1.74 0.00 0.00 37.50 0.00 02:54:45 02:48:01 0.53 0.00 0.53 0.00 0.00 8.29 0.00 02:54:45 02:49:01 0.32 0.00 0.32 0.00 0.00 4.66 0.00 02:54:45 02:50:01 0.22 0.00 0.22 0.00 0.00 3.85 0.00 02:54:45 02:51:01 0.42 0.00 0.42 0.00 0.00 6.73 0.00 02:54:45 02:52:01 0.32 0.00 0.32 0.00 0.00 4.31 0.00 02:54:45 02:53:01 0.33 0.00 0.33 0.00 0.00 5.30 0.00 02:54:45 02:54:01 0.30 0.00 0.30 0.00 0.00 4.45 0.00 02:54:45 Average: 7.44 2.35 5.09 0.00 614.75 434.32 0.00 02:54:45 02:54:45 02:45:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:54:45 02:46:03 158292 0 580404 30.85 2620 1140228 1097780 37.47 420468 1102556 132 02:54:45 02:47:01 160324 0 578376 30.74 2620 1140224 1092196 37.27 420076 1101376 16 02:54:45 02:48:01 162760 0 575936 30.61 2620 1140228 1069580 36.50 426364 1092816 8 02:54:45 02:49:01 160656 0 578040 30.72 2620 1140228 1069760 36.51 428992 1092312 16 02:54:45 02:50:01 160404 0 578284 30.73 2620 1140236 1069760 36.51 435884 1085548 20 02:54:45 02:51:01 161480 0 577204 30.68 2620 1140240 1069652 36.51 435292 1085548 12 02:54:45 02:52:01 161792 0 576888 30.66 2620 1140244 1069616 36.50 435108 1085548 20 02:54:45 02:53:01 161832 0 576844 30.66 2620 1140248 1069580 36.50 434796 1085548 16 02:54:45 02:54:01 162144 0 576524 30.64 2620 1140256 1069580 36.50 434944 1085548 8 02:54:45 Average: 161076 0 577611 30.70 2620 1140237 1075278 36.70 430214 1090756 28 02:54:45 02:54:45 02:45:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:54:45 02:46:03 eth0 464.05 285.59 1067.00 93.41 0.00 0.00 0.00 0.00 02:54:45 02:46:03 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:45 02:46:03 docker0 10.94 8.12 1.58 22.95 0.00 0.00 0.00 0.00 02:54:45 02:47:01 eth0 2.05 1.27 1.63 0.27 0.00 0.00 0.00 0.00 02:54:45 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:45 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:45 02:48:01 eth0 0.72 0.08 0.06 0.01 0.00 0.00 0.00 0.00 02:54:45 02:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:45 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:45 02:49:01 eth0 1.13 0.40 0.33 0.21 0.00 0.00 0.00 0.00 02:54:45 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:45 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:45 02:50:01 eth0 0.58 0.33 0.27 0.20 0.00 0.00 0.00 0.00 02:54:45 02:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:45 02:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:45 02:51:01 eth0 0.23 0.17 0.08 0.07 0.00 0.00 0.00 0.00 02:54:45 02:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:45 02:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:45 02:52:01 eth0 0.20 0.15 0.07 0.01 0.00 0.00 0.00 0.00 02:54:45 02:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:45 02:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:45 02:53:01 eth0 0.10 0.12 0.01 0.01 0.00 0.00 0.00 0.00 02:54:45 02:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:45 02:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:45 02:54:01 eth0 0.20 0.08 0.01 0.01 0.00 0.00 0.00 0.00 02:54:45 02:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:45 02:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:45 Average: eth0 52.35 32.15 119.32 10.51 0.00 0.00 0.00 0.00 02:54:45 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:45 Average: docker0 1.22 0.91 0.18 2.56 0.00 0.00 0.00 0.00 02:54:45 02:54:45 02:54:45 ---> sar -P ALL: 02:54:45 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/16/21 _x86_64_ (4 CPU) 02:54:45 02:54:45 02:44:31 LINUX RESTART (4 CPU) 02:54:45 02:54:45 02:45:01 CPU %user %nice %system %iowait %steal %idle 02:54:45 02:46:03 all 11.17 0.00 3.66 1.26 0.47 83.44 02:54:45 02:46:03 0 10.86 0.00 3.99 0.93 0.53 83.69 02:54:45 02:46:03 1 11.01 0.00 3.01 1.00 0.49 84.50 02:54:45 02:46:03 2 11.95 0.00 3.68 2.63 0.37 81.37 02:54:45 02:46:03 3 10.88 0.00 3.98 0.46 0.48 84.21 02:54:45 02:47:01 all 0.19 0.00 0.05 0.00 0.01 99.75 02:54:45 02:47:01 0 0.50 0.00 0.05 0.00 0.03 99.41 02:54:45 02:47:01 1 0.05 0.00 0.05 0.00 0.00 99.90 02:54:45 02:47:01 2 0.09 0.00 0.03 0.00 0.00 99.88 02:54:45 02:47:01 3 0.10 0.00 0.07 0.00 0.02 99.81 02:54:45 02:48:01 all 0.18 0.00 0.13 0.00 0.08 99.60 02:54:45 02:48:01 0 0.52 0.00 0.03 0.00 0.08 99.37 02:54:45 02:48:01 1 0.05 0.00 0.12 0.00 0.03 99.80 02:54:45 02:48:01 2 0.08 0.00 0.30 0.00 0.07 99.55 02:54:45 02:48:01 3 0.08 0.00 0.08 0.00 0.15 99.68 02:54:45 02:49:01 all 0.14 0.00 0.04 0.00 0.01 99.81 02:54:45 02:49:01 0 0.40 0.00 0.07 0.00 0.02 99.52 02:54:45 02:49:01 1 0.05 0.00 0.02 0.00 0.00 99.93 02:54:45 02:49:01 2 0.07 0.00 0.02 0.00 0.00 99.92 02:54:45 02:49:01 3 0.05 0.00 0.05 0.00 0.02 99.88 02:54:45 02:50:01 all 0.16 0.00 0.05 0.00 0.00 99.78 02:54:45 02:50:01 0 0.05 0.00 0.03 0.00 0.00 99.92 02:54:45 02:50:01 1 0.15 0.00 0.02 0.00 0.02 99.82 02:54:45 02:50:01 2 0.38 0.00 0.12 0.00 0.00 99.50 02:54:45 02:50:01 3 0.07 0.00 0.03 0.00 0.00 99.90 02:54:45 02:51:01 all 0.15 0.00 0.03 0.00 0.00 99.82 02:54:45 02:51:01 0 0.03 0.00 0.02 0.00 0.00 99.95 02:54:45 02:51:01 1 0.52 0.00 0.03 0.00 0.00 99.45 02:54:45 02:51:01 2 0.03 0.00 0.02 0.00 0.00 99.95 02:54:45 02:51:01 3 0.02 0.00 0.05 0.00 0.00 99.93 02:54:45 02:52:01 all 0.17 0.00 0.02 0.00 0.00 99.81 02:54:45 02:52:01 0 0.05 0.00 0.03 0.00 0.00 99.92 02:54:45 02:52:01 1 0.52 0.00 0.00 0.00 0.02 99.47 02:54:45 02:52:01 2 0.05 0.00 0.02 0.00 0.00 99.93 02:54:45 02:52:01 3 0.05 0.00 0.03 0.00 0.00 99.92 02:54:45 02:53:01 all 0.15 0.00 0.03 0.00 0.00 99.81 02:54:45 02:53:01 0 0.03 0.00 0.02 0.00 0.00 99.95 02:54:45 02:53:01 1 0.53 0.00 0.05 0.00 0.00 99.42 02:54:45 02:53:01 2 0.02 0.00 0.03 0.00 0.00 99.95 02:54:45 02:53:01 3 0.03 0.00 0.03 0.00 0.02 99.92 02:54:45 02:54:01 all 0.16 0.00 0.02 0.00 0.00 99.82 02:54:45 02:54:01 0 0.03 0.00 0.03 0.00 0.00 99.93 02:54:45 02:54:01 1 0.52 0.00 0.02 0.00 0.00 99.47 02:54:45 02:54:01 2 0.03 0.00 0.02 0.00 0.00 99.95 02:54:45 02:54:01 3 0.05 0.00 0.03 0.00 0.00 99.92 02:54:45 Average: all 1.37 0.00 0.44 0.14 0.06 97.98 02:54:45 Average: 0 1.37 0.00 0.47 0.10 0.07 97.99 02:54:45 Average: 1 1.48 0.00 0.36 0.11 0.06 97.99 02:54:45 Average: 2 1.40 0.00 0.47 0.29 0.05 97.80 02:54:45 Average: 3 1.24 0.00 0.48 0.05 0.07 98.15 02:54:45 02:54:45 02:54:45