Pull request #659 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7e6026af999c5a4f1074bb72b7bc6b4e7cb6eaf8+3d8962a40545ef0adb8ef75e097226374dd52980 (36f85558169f5d7afe7f6f53b400c736da4dae9a) 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 using credential edgex-jenkins-ssh > 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 # timeout=10 Commit message: "Merge pull request #301 from ernestojeda/enable-docker-proxy" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-13535 in /w/workspace/dgexfoundry_device-sdk-go_PR-659 [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-659 # 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 3d8962a40545ef0adb8ef75e097226374dd52980 into PR head commit 7e6026af999c5a4f1074bb72b7bc6b4e7cb6eaf8 Merge succeeded, producing 7e6026af999c5a4f1074bb72b7bc6b4e7cb6eaf8 Checking out Revision 7e6026af999c5a4f1074bb72b7bc6b4e7cb6eaf8 (PR-659) > 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/659/head:refs/remotes/origin/PR-659 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7e6026af999c5a4f1074bb72b7bc6b4e7cb6eaf8 # 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 3d8962a40545ef0adb8ef75e097226374dd52980 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7e6026af999c5a4f1074bb72b7bc6b4e7cb6eaf8 # timeout=10 Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.3.0 to 2.4.0" First time build. Skipping changelog. > git rev-list --no-walk 11c7385235c664815f19787e5b28255bcc61e561 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:49:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:49:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:49:35 ========================================================= 07:49:35 EdgeX Global Pipelines Version Info 07:49:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:49:37 ------------------- 07:49:37 stable info: 07:49:37 ------------------- 07:49:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:49:37 Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 07:49:37 Message: update stable to v1.0.167 07:49:38 ------------------- 07:49:38 experimental info: 07:49:38 ------------------- 07:49:38 Commited By: **** collab-it+edgex@linuxfoundation.org 07:49:38 Commit SHA: 0d18be6431106a7569620da64dad388747d7ba9a 07:49:38 Message: update experimental to v1.0.168 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 07:49:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:49:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:49:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:49:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:49:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:49:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 07:49:39 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:49:39 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 07:49:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:49:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:49:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:49:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 07:49:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:49:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:49:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:49:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:49:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:49:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:49:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:49:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:49:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:49:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 07:49:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:49:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:49:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:49:41 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 07:49:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-659 [Pipeline] echo 07:49:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-659 [Pipeline] echo 07:49:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-659 [Pipeline] echo 07:49:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7e6026af999c5a4f1074bb72b7bc6b4e7cb6eaf8 [Pipeline] echo 07:49:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7e6026a [Pipeline] echo 07:49:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:49:41 provisioning config files... 07:49:42 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-659@tmp/config8860241752749930704tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:49:42 ---> docker-login.sh 07:49:42 nexus3.edgexfoundry.org:10001 07:49:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:49:42 Configure a credential helper to remove this warning. See 07:49:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:49:42 07:49:42 Login Succeeded 07:49:42 nexus3.edgexfoundry.org:10002 07:49:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:49:42 Configure a credential helper to remove this warning. See 07:49:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:49:42 07:49:42 Login Succeeded 07:49:42 nexus3.edgexfoundry.org:10003 07:49:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:49:42 Configure a credential helper to remove this warning. See 07:49:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:49:42 07:49:42 Login Succeeded 07:49:42 nexus3.edgexfoundry.org:10004 07:49:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:49:43 Configure a credential helper to remove this warning. See 07:49:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:49:43 07:49:43 Login Succeeded 07:49:43 docker.io 07:49:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:49:43 Configure a credential helper to remove this warning. See 07:49:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:49:43 07:49:43 Login Succeeded 07:49:43 ---> docker-login.sh ends [Pipeline] } 07:49:43 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:49:44 + git log --format=format:%s -1 7e6026af999c5a4f1074bb72b7bc6b4e7cb6eaf8 [Pipeline] echo 07:49:44 GIT_COMMIT: 7e6026af999c5a4f1074bb72b7bc6b4e7cb6eaf8, Commit Message: build(deps): bump gopkg.in/yaml.v2 from 2.3.0 to 2.4.0 [Pipeline] echo 07:49:44 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:49:44 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:49:44 07:49:44 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:49:45 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:49:45 latest: Pulling from edgex-devops/git-semver 07:49:45 31603596830f: Pulling fs layer 07:49:45 2a8b12db71e7: Pulling fs layer 07:49:45 6ca5941a6612: Pulling fs layer 07:49:45 ecc8261a40a4: Pulling fs layer 07:49:45 ecc8261a40a4: Waiting 07:49:45 2a8b12db71e7: Verifying Checksum 07:49:45 2a8b12db71e7: Download complete 07:49:45 31603596830f: Verifying Checksum 07:49:45 31603596830f: Download complete 07:49:45 ecc8261a40a4: Verifying Checksum 07:49:45 ecc8261a40a4: Download complete 07:49:45 6ca5941a6612: Verifying Checksum 07:49:45 6ca5941a6612: Download complete 07:49:45 31603596830f: Pull complete 07:49:45 2a8b12db71e7: Pull complete 07:49:46 6ca5941a6612: Pull complete 07:49:46 ecc8261a40a4: Pull complete 07:49:46 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:49:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:49:46 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:49:46 prd-centos7-docker-4c-2g-13535 does not seem to be running inside a container 07:49:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-659 -v /w/workspace/dgexfoundry_device-sdk-go_PR-659:/w/workspace/dgexfoundry_device-sdk-go_PR-659:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-659@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-659@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:49:48 $ docker top b74a4fcc99ca5e01a970176991efb25233e3349432257f5c7c7d5e18467ba3af -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:49:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:49:48 [ssh-agent] Looking for ssh-agent implementation... 07:49:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:49:49 $ docker exec b74a4fcc99ca5e01a970176991efb25233e3349432257f5c7c7d5e18467ba3af ssh-agent 07:49:49 SSH_AUTH_SOCK=/tmp/ssh-pv2HICgcK5fu/agent.11 07:49:49 SSH_AGENT_PID=16 07:49:49 Running ssh-add (command line suppressed) 07:49:49 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-659@tmp/private_key_6935284496714283649.key (/w/workspace/dgexfoundry_device-sdk-go_PR-659@tmp/private_key_6935284496714283649.key) 07:49:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:49:49 + git tag --points-at HEAD [Pipeline] } 07:49:49 $ docker exec --env ******** --env ******** b74a4fcc99ca5e01a970176991efb25233e3349432257f5c7c7d5e18467ba3af ssh-agent -k 07:49:49 unset SSH_AUTH_SOCK; 07:49:49 unset SSH_AGENT_PID; 07:49:49 echo Agent pid 16 killed; 07:49:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:49:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:49:50 [ssh-agent] Looking for ssh-agent implementation... 07:49:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:49:50 $ docker exec b74a4fcc99ca5e01a970176991efb25233e3349432257f5c7c7d5e18467ba3af ssh-agent 07:49:50 SSH_AUTH_SOCK=/tmp/ssh-SGECfPcmdYYg/agent.46 07:49:50 SSH_AGENT_PID=52 07:49:50 Running ssh-add (command line suppressed) 07:49:50 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-659@tmp/private_key_6018530703468659965.key (/w/workspace/dgexfoundry_device-sdk-go_PR-659@tmp/private_key_6018530703468659965.key) 07:49:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:49:51 + git semver init 07:49:51 # -> Open(): unable to determine branch for HEAD 07:49:51 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-659/.git 07:49:51 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-659 07:49:51 # $SEMVER_REMOTE_NAME = origin 07:49:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:49:51 # $SEMVER_USER_NAME = edgex-jenkins 07:49:51 # $SEMVER_BRANCH = PR-659 07:49:51 # $SEMVER_TEMP = /tmp/semver-051311173 07:49:51 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:49:51 # '/tmp/semver-051311173' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-659/.semver' 07:49:51 # -> Force: false 07:49:51 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-659/.semver [Pipeline] } 07:49:51 $ docker exec --env ******** --env ******** b74a4fcc99ca5e01a970176991efb25233e3349432257f5c7c7d5e18467ba3af ssh-agent -k 07:49:52 unset SSH_AUTH_SOCK; 07:49:52 unset SSH_AGENT_PID; 07:49:52 echo Agent pid 52 killed; 07:49:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:49:52 + git semver [Pipeline] } 07:49:52 $ docker stop --time=1 b74a4fcc99ca5e01a970176991efb25233e3349432257f5c7c7d5e18467ba3af 07:49:54 $ docker rm -f b74a4fcc99ca5e01a970176991efb25233e3349432257f5c7c7d5e18467ba3af [Pipeline] // withDockerContainer [Pipeline] sh 07:49:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:49:55 Stashed 1 file(s) [Pipeline] echo 07:49:55 [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 07:49:55 Running on prd-centos7-docker-4c-2g-13536 in /w/workspace/dgexfoundry_device-sdk-go_PR-659 [Pipeline] { [Pipeline] ws 07:49:55 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 07:49:58 using credential edgex-jenkins-ssh 07:49:58 Cloning the remote Git repository 07:49:58 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:49:58 > git init /w/workspace/device-sdk-go/5 # timeout=10 07:49:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:49:58 > git --version # timeout=10 07:49:58 > git --version # 'git version 2.24.3' 07:49:58 using GIT_SSH to set credentials SSH Credentials for GitHub 07:49:59 Merging remotes/origin/master commit 3d8962a40545ef0adb8ef75e097226374dd52980 into PR head commit 7e6026af999c5a4f1074bb72b7bc6b4e7cb6eaf8 07:49:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:49:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:49:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:49:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:49:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:49:58 using GIT_SSH to set credentials SSH Credentials for GitHub 07:49:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/659/head:refs/remotes/origin/PR-659 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:49:59 > git config core.sparsecheckout # timeout=10 07:49:59 > git checkout -f 7e6026af999c5a4f1074bb72b7bc6b4e7cb6eaf8 # timeout=10 07:49:59 Merge succeeded, producing 7e6026af999c5a4f1074bb72b7bc6b4e7cb6eaf8 07:49:59 Checking out Revision 7e6026af999c5a4f1074bb72b7bc6b4e7cb6eaf8 (PR-659) 07:49:59 > git remote # timeout=10 07:49:59 > git config --get remote.origin.url # timeout=10 07:49:59 using GIT_SSH to set credentials SSH Credentials for GitHub 07:49:59 > git merge 3d8962a40545ef0adb8ef75e097226374dd52980 # timeout=10 07:49:59 > git rev-parse HEAD^{commit} # timeout=10 07:49:59 > git config core.sparsecheckout # timeout=10 07:49:59 > git checkout -f 7e6026af999c5a4f1074bb72b7bc6b4e7cb6eaf8 # timeout=10 07:50:02 Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.3.0 to 2.4.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:50:04 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 07:50:04 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:50:04 + sudo service docker restart 07:50:04 + true 07:50:04 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:50:05 provisioning config files... 07:50:06 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config3945615182623841152tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:50:06 ---> docker-login.sh 07:50:06 nexus3.edgexfoundry.org:10001 07:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:50:06 Configure a credential helper to remove this warning. See 07:50:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:50:06 07:50:06 Login Succeeded 07:50:06 nexus3.edgexfoundry.org:10002 07:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:50:06 Configure a credential helper to remove this warning. See 07:50:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:50:06 07:50:06 Login Succeeded 07:50:06 nexus3.edgexfoundry.org:10003 07:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:50:07 Configure a credential helper to remove this warning. See 07:50:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:50:07 07:50:07 Login Succeeded 07:50:07 nexus3.edgexfoundry.org:10004 07:50:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:50:07 Configure a credential helper to remove this warning. See 07:50:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:50:07 07:50:07 Login Succeeded 07:50:07 docker.io 07:50:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:50:07 Configure a credential helper to remove this warning. See 07:50:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:50:07 07:50:07 Login Succeeded 07:50:07 ---> docker-login.sh ends [Pipeline] } 07:50:07 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:50:08 ========================================================= 07:50:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 07:50:08 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:50:08 + 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 . 07:50:08 Sending build context to Docker daemon 2.351MB 07:50:08 Step 1/8 : ARG BASE=golang:1.15-alpine 07:50:08 Step 2/8 : FROM ${BASE} 07:50:08 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 07:50:08 df20fa9351a1: Pulling fs layer 07:50:08 ed8968b2872e: Pulling fs layer 07:50:08 a92cc7c5fd73: Pulling fs layer 07:50:08 e871e8e8d7a9: Pulling fs layer 07:50:08 e73272ec9a57: Pulling fs layer 07:50:08 1e910a182e73: Pulling fs layer 07:50:08 4e634b169226: Pulling fs layer 07:50:08 e73272ec9a57: Waiting 07:50:08 4e634b169226: Waiting 07:50:08 e871e8e8d7a9: Waiting 07:50:08 1e910a182e73: Waiting 07:50:08 a92cc7c5fd73: Verifying Checksum 07:50:08 a92cc7c5fd73: Download complete 07:50:08 ed8968b2872e: Download complete 07:50:08 e73272ec9a57: Verifying Checksum 07:50:08 e73272ec9a57: Download complete 07:50:08 1e910a182e73: Verifying Checksum 07:50:08 1e910a182e73: Download complete 07:50:08 df20fa9351a1: Verifying Checksum 07:50:08 df20fa9351a1: Download complete 07:50:08 df20fa9351a1: Pull complete 07:50:09 ed8968b2872e: Pull complete 07:50:09 a92cc7c5fd73: Pull complete 07:50:10 4e634b169226: Verifying Checksum 07:50:10 4e634b169226: Download complete 07:50:10 Still waiting to schedule task 07:50:10 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 07:50:11 e871e8e8d7a9: Verifying Checksum 07:50:11 e871e8e8d7a9: Download complete 07:50:16 e871e8e8d7a9: Pull complete 07:50:16 e73272ec9a57: Pull complete 07:50:16 1e910a182e73: Pull complete 07:50:23 4e634b169226: Pull complete 07:50:23 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 07:50:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 07:50:23 ---> f7629b54cfaa 07:50:23 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:50:23 ---> Running in 9e0e5c2e7f61 07:50:23 Removing intermediate container 9e0e5c2e7f61 07:50:23 ---> 4cc244aefc31 07:50:23 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:50:23 ---> Running in d765c1af096d 07:50:24 Removing intermediate container d765c1af096d 07:50:24 ---> 604b36d10bb6 07:50:24 Step 5/8 : RUN apk add --no-cache make git 07:50:24 ---> Running in 3534d185fa73 07:50:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:50:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:50:26 OK: 166 MiB in 39 packages 07:50:27 Removing intermediate container 3534d185fa73 07:50:27 ---> 018af0a54600 07:50:27 Step 6/8 : WORKDIR /device-sdk-go 07:50:27 ---> Running in 0f41f0748db6 07:50:27 Removing intermediate container 0f41f0748db6 07:50:27 ---> a3aee47b5beb 07:50:27 Step 7/8 : COPY . . 07:50:28 ---> a707622d63f0 07:50:28 Step 8/8 : RUN go mod download 07:50:28 ---> Running in e9dafb8a5b29 07:53:05 Removing intermediate container e9dafb8a5b29 07:53:05 ---> 8781f5f32196 07:53:05 Successfully built 8781f5f32196 07:53:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:53:05 + docker inspect -f . ci-base-image-x86_64 07:53:05 . [Pipeline] withDockerContainer 07:53:05 prd-centos7-docker-4c-2g-13536 does not seem to be running inside a container 07:53:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** ci-base-image-x86_64 cat 07:53:06 $ docker top 99275a692d4f4cc1281e53ed133ed45bc91ad81b76f52599c6bd3a5cc4325172 -eo pid,comm [Pipeline] { [Pipeline] sh 07:53:07 + go version 07:53:07 go version go1.15.2 linux/amd64 [Pipeline] } 07:53:07 $ docker stop --time=1 99275a692d4f4cc1281e53ed133ed45bc91ad81b76f52599c6bd3a5cc4325172 07:53:08 $ docker rm -f 99275a692d4f4cc1281e53ed133ed45bc91ad81b76f52599c6bd3a5cc4325172 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:53:09 + docker inspect -f . ci-base-image-x86_64 07:53:09 . [Pipeline] withDockerContainer 07:53:09 prd-centos7-docker-4c-2g-13536 does not seem to be running inside a container 07:53:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** ci-base-image-x86_64 cat 07:53:10 $ docker top ffbf29d43004128bf2910de6b28e07b5632ed6a14ddf9667cf3ebe0752cc0c23 -eo pid,comm [Pipeline] { [Pipeline] sh 07:53:10 + make test 07:53:10 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:53:17 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:53:32 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:53:32 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:53:32 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 07:53:32 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.059s coverage: 20.6% of statements 07:53:33 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.451s coverage: 97.1% of statements 07:54:02 Running on prd-ubuntu18.04-docker-arm64-4c-16g-13540 in /w/workspace/dgexfoundry_device-sdk-go_PR-659 [Pipeline] { [Pipeline] ws 07:54:02 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 07:54:05 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.059s coverage: 9.4% of statements 07:54:05 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.060s coverage: 21.9% of statements 07:54:05 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:54:05 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.217s coverage: 42.5% of statements 07:54:05 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:54:05 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.274s coverage: 68.9% of statements 07:54:05 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:54:05 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:54:05 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:54:05 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 07:54:05 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.067s coverage: 52.6% of statements 07:54:05 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 07:54:05 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 07:54:05 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 07:54:05 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.641s coverage: 68.9% of statements 07:54:05 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.054s coverage: 4.7% of statements 07:54:05 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:54:05 GO111MODULE=on go vet ./... 07:54:07 using credential edgex-jenkins-ssh 07:54:07 Cloning the remote Git repository 07:54:07 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:54:07 > git init /w/workspace/device-sdk-go/5 # timeout=10 07:54:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:54:07 > git --version # timeout=10 07:54:07 > git --version # 'git version 2.17.1' 07:54:07 using GIT_SSH to set credentials SSH Credentials for GitHub 07:54:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:54:09 Merging remotes/origin/master commit 3d8962a40545ef0adb8ef75e097226374dd52980 into PR head commit 7e6026af999c5a4f1074bb72b7bc6b4e7cb6eaf8 07:54:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:54:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:54:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:54:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:54:09 using GIT_SSH to set credentials SSH Credentials for GitHub 07:54:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/659/head:refs/remotes/origin/PR-659 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:54:09 > git config core.sparsecheckout # timeout=10 07:54:09 > git checkout -f 7e6026af999c5a4f1074bb72b7bc6b4e7cb6eaf8 # timeout=10 07:54:09 > git remote # timeout=10 07:54:09 > git config --get remote.origin.url # timeout=10 07:54:10 using GIT_SSH to set credentials SSH Credentials for GitHub 07:54:10 > git merge 3d8962a40545ef0adb8ef75e097226374dd52980 # timeout=10 07:54:10 Merge succeeded, producing 7e6026af999c5a4f1074bb72b7bc6b4e7cb6eaf8 07:54:10 Checking out Revision 7e6026af999c5a4f1074bb72b7bc6b4e7cb6eaf8 (PR-659) 07:54:10 > git rev-parse HEAD^{commit} # timeout=10 07:54:10 > git config core.sparsecheckout # timeout=10 07:54:10 > git checkout -f 7e6026af999c5a4f1074bb72b7bc6b4e7cb6eaf8 # timeout=10 07:54:12 gofmt -l . 07:54:12 [ "`gofmt -l .`" = "" ] 07:54:12 ./bin/test-attribution-txt.sh 07:54:13 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:54:13 $ docker stop --time=1 ffbf29d43004128bf2910de6b28e07b5632ed6a14ddf9667cf3ebe0752cc0c23 07:54:14 Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.3.0 to 2.4.0" 07:54:15 $ docker rm -f ffbf29d43004128bf2910de6b28e07b5632ed6a14ddf9667cf3ebe0752cc0c23 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 07:54:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] sh 07:54:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 07:54:17 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [Pipeline] sh 07:54:18 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:54:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:54:18 + sudo service docker restart 07:54:18 + true 07:54:18 + ls -al . 07:54:18 total 208 07:54:18 drwxrwxr-x. 10 jenkins jenkins 4096 Nov 26 07:54 . 07:54:18 drwxrwxr-x. 4 jenkins jenkins 28 Nov 26 07:49 .. 07:54:18 drwxrwxr-x. 2 jenkins jenkins 64 Nov 26 07:49 bin 07:54:18 -rw-r--r--. 1 jenkins jenkins 127610 Nov 26 07:54 coverage.out 07:54:18 -rw-rw-r--. 1 jenkins jenkins 936 Nov 26 07:49 Dockerfile.build 07:54:18 -rw-rw-r--. 1 jenkins jenkins 140 Nov 26 07:49 .dockerignore 07:54:18 drwxrwxr-x. 4 jenkins jenkins 48 Nov 26 07:49 example 07:54:18 drwxrwxr-x. 8 jenkins jenkins 179 Nov 26 07:50 .git 07:54:18 drwxrwxr-x. 2 jenkins jenkins 60 Nov 26 07:49 .github 07:54:18 -rw-rw-r--. 1 jenkins jenkins 138 Nov 26 07:49 .gitignore 07:54:18 -rw-r--r--. 1 jenkins jenkins 518 Nov 26 07:54 go.mod 07:54:18 -rw-r--r--. 1 jenkins jenkins 13631 Nov 26 07:54 go.sum 07:54:18 drwxrwxr-x. 15 jenkins jenkins 211 Nov 26 07:49 internal 07:54:18 -rw-rw-r--. 1 jenkins jenkins 901 Nov 26 07:49 Jenkinsfile 07:54:18 -rw-rw-r--. 1 jenkins jenkins 11341 Nov 26 07:49 LICENSE 07:54:18 -rw-rw-r--. 1 jenkins jenkins 1013 Nov 26 07:49 Makefile 07:54:18 drwxrwxr-x. 4 jenkins jenkins 26 Nov 26 07:49 openapi 07:54:18 drwxrwxr-x. 5 jenkins jenkins 50 Nov 26 07:49 pkg 07:54:18 -rw-rw-r--. 1 jenkins jenkins 5897 Nov 26 07:49 README.md 07:54:18 -rw-rw-r--. 1 jenkins jenkins 4291 Nov 26 07:49 RELEASE-NOTES.txt 07:54:18 drwxrwxr-x. 4 jenkins jenkins 54 Nov 26 07:49 snap 07:54:18 -rw-rw-r--. 1 jenkins jenkins 5 Nov 26 07:49 VERSION 07:54:18 -rw-rw-r--. 1 jenkins jenkins 222 Nov 26 07:49 version.go [Pipeline] isUnix [Pipeline] sh 07:54:18 + 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=7e6026af999c5a4f1074bb72b7bc6b4e7cb6eaf8 --label arch=amd64 --label version=0.0.0 . 07:54:19 Sending build context to Docker daemon 2.48MB 07:54:19 Step 1/24 : ARG BASE=golang:1.15-alpine 07:54:19 Step 2/24 : FROM ${BASE} AS builder 07:54:19 ---> 8781f5f32196 07:54:19 Step 3/24 : ARG MAKE='make build' 07:54:19 ---> Running in 2e5b632b82de 07:54:19 Removing intermediate container 2e5b632b82de 07:54:19 ---> d33b6aade6b8 07:54:19 Step 4/24 : WORKDIR /device-sdk-go 07:54:19 ---> Running in 0fc08703f1c5 07:54:20 Removing intermediate container 0fc08703f1c5 07:54:20 ---> f3e7bf8f9224 07:54:20 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:54:20 ---> Running in b3eb17808f85 07:54:20 Removing intermediate container b3eb17808f85 07:54:20 ---> ab5d55d53fbc 07:54:20 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:54:20 ---> Running in 6db0caba7b28 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:54:21 provisioning config files... 07:54:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config7095722356661541871tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:54:21 Removing intermediate container 6db0caba7b28 07:54:21 ---> c1e69a0596dd 07:54:21 Step 7/24 : RUN apk add --update --no-cache make git 07:54:21 ---> Running in e181f2d63744 07:54:21 ---> docker-login.sh 07:54:21 nexus3.edgexfoundry.org:10001 07:54:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:54:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:54:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:54:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:54:22 Configure a credential helper to remove this warning. See 07:54:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:54:22 07:54:22 Login Succeeded 07:54:22 nexus3.edgexfoundry.org:10002 07:54:23 OK: 166 MiB in 39 packages 07:54:23 Removing intermediate container e181f2d63744 07:54:23 ---> 10b3b54b83eb 07:54:23 Step 8/24 : COPY . . 07:54:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:54:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:54:23 Configure a credential helper to remove this warning. See 07:54:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:54:23 07:54:23 Login Succeeded 07:54:23 nexus3.edgexfoundry.org:10003 07:54:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:54:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:54:24 Configure a credential helper to remove this warning. See 07:54:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:54:24 07:54:24 Login Succeeded 07:54:24 nexus3.edgexfoundry.org:10004 07:54:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:54:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:54:24 Configure a credential helper to remove this warning. See 07:54:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:54:24 07:54:24 Login Succeeded 07:54:24 docker.io 07:54:24 ---> c25e60a1e1fc 07:54:24 Step 9/24 : RUN ${MAKE} 07:54:24 ---> Running in c09654f716db 07:54:25 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:54:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:54:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:54:25 Configure a credential helper to remove this warning. See 07:54:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:54:25 07:54:25 Login Succeeded 07:54:25 ---> docker-login.sh ends [Pipeline] } 07:54:25 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:54:26 ========================================================= 07:54:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 07:54:26 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:54:26 + 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 . 07:54:27 Sending build context to Docker daemon 2.348MB 07:54:27 Step 1/8 : ARG BASE=golang:1.15-alpine 07:54:27 Step 2/8 : FROM ${BASE} 07:54:27 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:54:27 b538f80385f9: Pulling fs layer 07:54:27 74f711af9a0d: Pulling fs layer 07:54:27 99f96fe45779: Pulling fs layer 07:54:27 8529a6b9a6be: Pulling fs layer 07:54:27 45590311c82a: Pulling fs layer 07:54:27 69ca0ff8b7b3: Pulling fs layer 07:54:27 209524e5b208: Pulling fs layer 07:54:27 8529a6b9a6be: Waiting 07:54:27 69ca0ff8b7b3: Waiting 07:54:27 45590311c82a: Waiting 07:54:27 209524e5b208: Waiting 07:54:27 99f96fe45779: Verifying Checksum 07:54:27 99f96fe45779: Download complete 07:54:27 74f711af9a0d: Download complete 07:54:27 45590311c82a: Verifying Checksum 07:54:27 45590311c82a: Download complete 07:54:27 69ca0ff8b7b3: Verifying Checksum 07:54:27 69ca0ff8b7b3: Download complete 07:54:27 b538f80385f9: Verifying Checksum 07:54:27 b538f80385f9: Download complete 07:54:28 b538f80385f9: Pull complete 07:54:29 74f711af9a0d: Pull complete 07:54:29 99f96fe45779: Pull complete 07:54:30 209524e5b208: Verifying Checksum 07:54:30 209524e5b208: Download complete 07:54:31 8529a6b9a6be: Verifying Checksum 07:54:31 8529a6b9a6be: Download complete 07:54:35 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:54:35 Removing intermediate container c09654f716db 07:54:35 ---> 188aa05501cd 07:54:35 Step 10/24 : FROM scratch 07:54:35 ---> 07:54:35 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:54:35 ---> Running in 47626420a2f1 07:54:35 Removing intermediate container 47626420a2f1 07:54:35 ---> fb6667fcb785 07:54:35 Step 12/24 : ENV APP_PORT=49990 07:54:35 ---> Running in e1c013a9e152 07:54:36 Removing intermediate container e1c013a9e152 07:54:36 ---> da44e5b1be26 07:54:36 Step 13/24 : EXPOSE $APP_PORT 07:54:36 ---> Running in 40eefad716b8 07:54:36 Removing intermediate container 40eefad716b8 07:54:36 ---> e1f43e2a6c70 07:54:36 Step 14/24 : WORKDIR / 07:54:36 ---> Running in e257e05659ef 07:54:36 Removing intermediate container e257e05659ef 07:54:36 ---> 758b81f2d812 07:54:36 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:54:37 ---> bbc69bffb959 07:54:37 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:54:37 ---> c3beaabd66ff 07:54:37 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:54:37 ---> 5c8bac27db0f 07:54:37 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:54:37 ---> 18d30f431ed6 07:54:37 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:54:37 ---> b38dbb1b1abb 07:54:37 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:54:37 ---> Running in f790aa94e513 07:54:38 Removing intermediate container f790aa94e513 07:54:38 ---> 07e5e5a56803 07:54:38 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:54:38 ---> Running in 670e7d21c922 07:54:38 Removing intermediate container 670e7d21c922 07:54:38 ---> 9ea1786270f1 07:54:38 Step 22/24 : LABEL arch=amd64 07:54:38 ---> Running in 15e814cbea19 07:54:38 Removing intermediate container 15e814cbea19 07:54:38 ---> da0d8bfcdd13 07:54:38 Step 23/24 : LABEL git_sha=7e6026af999c5a4f1074bb72b7bc6b4e7cb6eaf8 07:54:38 ---> Running in 8338885d4e0c 07:54:38 Removing intermediate container 8338885d4e0c 07:54:38 ---> 2ee7aaa7a13f 07:54:38 Step 24/24 : LABEL version=0.0.0 07:54:38 ---> Running in 71a73fa4ecfe 07:54:38 Removing intermediate container 71a73fa4ecfe 07:54:38 ---> b180a6959b91 07:54:38 [Warning] One or more build-args [ARCH] were not consumed 07:54:38 Successfully built b180a6959b91 07:54:39 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] } 07:54:41 8529a6b9a6be: Pull complete 07:54:41 45590311c82a: Pull complete 07:54:41 69ca0ff8b7b3: Pull complete 07:54:45 209524e5b208: Pull complete 07:54:45 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 07:54:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 07:54:45 ---> 5bddaf1c2fca 07:54:45 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:54:47 ---> Running in ce16bd1d0661 07:54:48 Removing intermediate container ce16bd1d0661 07:54:48 ---> 514a0315d8df 07:54:48 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:54:48 ---> Running in b9f532d5e14e 07:54:51 Removing intermediate container b9f532d5e14e 07:54:51 ---> f3270d1a240f 07:54:51 Step 5/8 : RUN apk add --no-cache make git 07:54:51 ---> Running in e7a3878c929d 07:54:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:54:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:54:53 OK: 142 MiB in 39 packages 07:54:54 Removing intermediate container e7a3878c929d 07:54:54 ---> 1c9e6dde233d 07:54:54 Step 6/8 : WORKDIR /device-sdk-go 07:54:55 ---> Running in be47fb58264e 07:54:55 Removing intermediate container be47fb58264e 07:54:55 ---> bb93ed17548e 07:54:55 Step 7/8 : COPY . . 07:54:57 ---> 76f7d92beb6b 07:54:57 Step 8/8 : RUN go mod download 07:54:57 ---> Running in 99dc4b2e5fa7 07:58:19 Removing intermediate container 99dc4b2e5fa7 07:58:19 ---> c9e76c558b6c 07:58:19 Successfully built c9e76c558b6c 07:58:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:58:19 + docker inspect -f . ci-base-image-arm64 07:58:19 . [Pipeline] withDockerContainer 07:58:20 prd-ubuntu18.04-docker-arm64-4c-16g-13540 does not seem to be running inside a container 07:58:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** ci-base-image-arm64 cat 07:58:22 $ docker top d70289725e8d1c491a882450a768b8ac12508b0869b4f425322f976fb226ff4a -eo pid,comm [Pipeline] { [Pipeline] sh 07:58:23 + go version 07:58:23 go version go1.15.2 linux/arm64 [Pipeline] } 07:58:23 $ docker stop --time=1 d70289725e8d1c491a882450a768b8ac12508b0869b4f425322f976fb226ff4a 07:58:25 $ docker rm -f d70289725e8d1c491a882450a768b8ac12508b0869b4f425322f976fb226ff4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:58:26 + docker inspect -f . ci-base-image-arm64 07:58:26 . [Pipeline] withDockerContainer 07:58:26 prd-ubuntu18.04-docker-arm64-4c-16g-13540 does not seem to be running inside a container 07:58:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** ci-base-image-arm64 cat 07:58:28 $ docker top 624f2b3fe41d517be143c93529c288a65c8c80a6529bb1569d9c44bf496c9054 -eo pid,comm [Pipeline] { [Pipeline] sh 07:58:29 + make test 07:58:29 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:58:51 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:59:38 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:59:38 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:59:38 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 07:59:38 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.176s coverage: 20.6% of statements 07:59:40 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.371s coverage: 97.1% of statements 08:00:07 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.138s coverage: 9.4% of statements 08:00:07 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.146s coverage: 21.9% of statements 08:00:07 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 08:00:07 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.605s coverage: 42.5% of statements 08:00:07 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 08:00:07 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.885s coverage: 68.9% of statements 08:00:07 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 08:00:07 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 08:00:07 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 08:00:07 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 08:00:07 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.231s coverage: 52.6% of statements 08:00:07 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 08:00:07 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 08:00:07 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 08:00:07 ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.375s coverage: 68.9% of statements 08:00:07 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.160s coverage: 4.7% of statements 08:00:07 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 08:00:07 GO111MODULE=on go vet ./... 08:00:46 gofmt -l . 08:00:46 [ "`gofmt -l .`" = "" ] 08:00:46 ./bin/test-attribution-txt.sh 08:00:46 ./bin/test-go-mod-tidy.sh [Pipeline] } 08:00:46 $ docker stop --time=1 624f2b3fe41d517be143c93529c288a65c8c80a6529bb1569d9c44bf496c9054 08:00:48 $ docker rm -f 624f2b3fe41d517be143c93529c288a65c8c80a6529bb1569d9c44bf496c9054 [Pipeline] // withDockerContainer [Pipeline] sh 08:00:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:00:49 Warning: overwriting stash ‘coverage-report’ 08:00:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:00:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:00:52 + ls -al . 08:00:52 total 244 08:00:52 drwxrwxr-x 10 jenkins jenkins 4096 Nov 26 08:00 . 08:00:52 drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 07:54 .. 08:00:52 -rw-rw-r-- 1 jenkins jenkins 140 Nov 26 07:54 .dockerignore 08:00:52 drwxrwxr-x 8 jenkins jenkins 4096 Nov 26 07:54 .git 08:00:52 drwxrwxr-x 2 jenkins jenkins 4096 Nov 26 07:54 .github 08:00:52 -rw-rw-r-- 1 jenkins jenkins 138 Nov 26 07:54 .gitignore 08:00:52 -rw-rw-r-- 1 jenkins jenkins 936 Nov 26 07:54 Dockerfile.build 08:00:52 -rw-rw-r-- 1 jenkins jenkins 901 Nov 26 07:54 Jenkinsfile 08:00:52 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 26 07:54 LICENSE 08:00:52 -rw-rw-r-- 1 jenkins jenkins 1013 Nov 26 07:54 Makefile 08:00:52 -rw-rw-r-- 1 jenkins jenkins 5897 Nov 26 07:54 README.md 08:00:52 -rw-rw-r-- 1 jenkins jenkins 4291 Nov 26 07:54 RELEASE-NOTES.txt 08:00:52 -rw-rw-r-- 1 jenkins jenkins 5 Nov 26 07:49 VERSION 08:00:52 drwxrwxr-x 2 jenkins jenkins 4096 Nov 26 07:54 bin 08:00:52 -rw-r--r-- 1 jenkins jenkins 127610 Nov 26 08:00 coverage.out 08:00:52 drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 07:54 example 08:00:52 -rw-r--r-- 1 jenkins jenkins 518 Nov 26 08:00 go.mod 08:00:52 -rw-r--r-- 1 jenkins jenkins 13631 Nov 26 08:00 go.sum 08:00:52 drwxrwxr-x 15 jenkins jenkins 4096 Nov 26 07:54 internal 08:00:52 drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 07:54 openapi 08:00:52 drwxrwxr-x 5 jenkins jenkins 4096 Nov 26 07:54 pkg 08:00:52 drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 07:54 snap 08:00:52 -rw-rw-r-- 1 jenkins jenkins 222 Nov 26 07:54 version.go [Pipeline] isUnix [Pipeline] sh 08:00:52 + 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=7e6026af999c5a4f1074bb72b7bc6b4e7cb6eaf8 --label arch=arm64 --label version=0.0.0 . 08:00:53 Sending build context to Docker daemon 2.477MB 08:00:53 Step 1/24 : ARG BASE=golang:1.15-alpine 08:00:53 Step 2/24 : FROM ${BASE} AS builder 08:00:53 ---> c9e76c558b6c 08:00:53 Step 3/24 : ARG MAKE='make build' 08:00:53 ---> Running in d166fbceede1 08:00:54 Removing intermediate container d166fbceede1 08:00:54 ---> 100779a34e08 08:00:54 Step 4/24 : WORKDIR /device-sdk-go 08:00:54 ---> Running in 457d3b5b4f83 08:00:54 Removing intermediate container 457d3b5b4f83 08:00:54 ---> b40fa3f74c2c 08:00:54 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:00:54 ---> Running in c76138f0fedd 08:00:55 Removing intermediate container c76138f0fedd 08:00:55 ---> 92bc748bfbd8 08:00:55 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:00:55 ---> Running in 8526f535aa3d 08:00:57 Removing intermediate container 8526f535aa3d 08:00:57 ---> 488bbddfd82a 08:00:57 Step 7/24 : RUN apk add --update --no-cache make git 08:00:57 ---> Running in 99e02fc948e7 08:00:58 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:00:59 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:01:00 OK: 142 MiB in 39 packages 08:01:01 Removing intermediate container 99e02fc948e7 08:01:01 ---> e3f9e21504ea 08:01:01 Step 8/24 : COPY . . 08:01:02 ---> 3051bf04efa4 08:01:02 Step 9/24 : RUN ${MAKE} 08:01:02 ---> Running in fbb5fcff95b3 08:01:04 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 08:01:31 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:01:34 Removing intermediate container fbb5fcff95b3 08:01:34 ---> 23d3027ccd61 08:01:34 Step 10/24 : FROM scratch 08:01:34 ---> 08:01:34 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:01:34 ---> Running in beea0fbff155 08:01:34 Removing intermediate container beea0fbff155 08:01:34 ---> 03b4791cc15b 08:01:34 Step 12/24 : ENV APP_PORT=49990 08:01:34 ---> Running in 0ab57d407cf5 08:01:34 Removing intermediate container 0ab57d407cf5 08:01:34 ---> 246c4baf938b 08:01:34 Step 13/24 : EXPOSE $APP_PORT 08:01:34 ---> Running in 5367082e4da0 08:01:35 Removing intermediate container 5367082e4da0 08:01:35 ---> 74f07f8b0aba 08:01:35 Step 14/24 : WORKDIR / 08:01:35 ---> Running in fcaabd980b29 08:01:36 Removing intermediate container fcaabd980b29 08:01:36 ---> 5647e3dab2e3 08:01:36 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:01:37 ---> 64278219b3ad 08:01:37 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:01:38 ---> 6a4be3bfd8fd 08:01:38 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:01:38 ---> c5dd460c5766 08:01:38 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 08:01:39 ---> f812f87a200d 08:01:39 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 08:01:39 ---> 13c2bca1ccbc 08:01:39 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 08:01:39 ---> Running in a7a1001243a0 08:01:40 Removing intermediate container a7a1001243a0 08:01:40 ---> a5579b528c46 08:01:40 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:01:40 ---> Running in fd7dd22b5d7b 08:01:40 Removing intermediate container fd7dd22b5d7b 08:01:40 ---> 63fbe487aa24 08:01:40 Step 22/24 : LABEL arch=arm64 08:01:40 ---> Running in 090e017b9781 08:01:41 Removing intermediate container 090e017b9781 08:01:41 ---> 1307307e1872 08:01:41 Step 23/24 : LABEL git_sha=7e6026af999c5a4f1074bb72b7bc6b4e7cb6eaf8 08:01:41 ---> Running in d77e765c3855 08:01:41 Removing intermediate container d77e765c3855 08:01:41 ---> 55c03587c902 08:01:41 Step 24/24 : LABEL version=0.0.0 08:01:42 ---> Running in 78c8f6474686 08:01:42 Removing intermediate container 78c8f6474686 08:01:42 ---> 799663484945 08:01:42 [Warning] One or more build-args [ARCH] were not consumed 08:01:42 Successfully built 799663484945 08:01:42 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 08:01:44 provisioning config files... 08:01:44 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-659@tmp/config5603676489372771709tmp [Pipeline] { [Pipeline] sh 08:01:44 + set +x 08:01:44 + curl -s https://codecov.io/bash 08:01:44 + bash -s -- 08:01:45 08:01:45 _____ _ 08:01:45 / ____| | | 08:01:45 | | ___ __| | ___ ___ _____ __ 08:01:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:01:45 | |___| (_) | (_| | __/ (_| (_) \ V / 08:01:45 \_____\___/ \__,_|\___|\___\___/ \_/ 08:01:45 Bash-20201124-79cbc08 08:01:45 08:01:45 08:01:45 ==> Jenkins CI detected. 08:01:45 project root: . 08:01:45 --> token set from env 08:01:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:01:45 ==> Running gcov in . (disable via -X gcov) 08:01:45 ==> Python coveragepy not found 08:01:45 ==> Searching for coverage reports in: 08:01:45 + . 08:01:45 -> Found 1 reports 08:01:45 ==> Detecting git/mercurial file structure 08:01:45 ==> Reading reports 08:01:45 + ./coverage.out bytes=127610 08:01:45 ==> Appending adjustments 08:01:45 https://docs.codecov.io/docs/fixing-reports 08:01:45 + Found adjustments 08:01:45 ==> Gzipping contents 08:01:45 24K /tmp/codecov.zxmfn5.gz 08:01:45 ==> Uploading reports 08:01:45 url: https://codecov.io 08:01:45 query: branch=PR-659&commit=7e6026af999c5a4f1074bb72b7bc6b4e7cb6eaf8&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-659%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=659&job=&cmd_args= 08:01:45 -> Pinging Codecov 08:01:45 https://codecov.io/upload/v4?package=bash-20201124-79cbc08&token=secret&branch=PR-659&commit=7e6026af999c5a4f1074bb72b7bc6b4e7cb6eaf8&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-659%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=659&job=&cmd_args= 08:01:46 -> Uploading to 08:01:46 https://storage.googleapis.com/codecov/v4/raw/2020-11-26/7E55EF52A471D76F132DFD9A03CDDE97/7e6026af999c5a4f1074bb72b7bc6b4e7cb6eaf8/473ea990-2c30-489e-b8fa-1428ec9837e9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201126%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201126T080145Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=43f00d4c4d784155df71a645eced665f8fd7fb311b1d17c977ef3d72ed628835 08:01:46 % Total % Received % Xferd Average Speed Time Time Time Current 08:01:46 Dload Upload Total Spent Left Speed 08:01:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20914 0 0 100 20914 0 36883 --:--:-- --:--:-- --:--:-- 36885 08:01:46 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/7e6026af999c5a4f1074bb72b7bc6b4e7cb6eaf8 [Pipeline] } 08:01:46 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 08:01:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:01:49 ---> package-listing.sh 08:01:49 ++ facter osfamily 08:01:49 ++ tr '[:upper:]' '[:lower:]' 08:01:49 + OS_FAMILY=redhat 08:01:49 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-659 08:01:49 + START_PACKAGES=/tmp/packages_start.txt 08:01:49 + END_PACKAGES=/tmp/packages_end.txt 08:01:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:01:49 + PACKAGES=/tmp/packages_start.txt 08:01:49 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-659 ']' 08:01:49 + PACKAGES=/tmp/packages_end.txt 08:01:49 + case "${OS_FAMILY}" in 08:01:49 + rpm -qa 08:01:49 + sort 08:01:55 + '[' -f /tmp/packages_start.txt ']' 08:01:55 + '[' -f /tmp/packages_end.txt ']' 08:01:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:01:55 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-659 ']' 08:01:55 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-659/archives/ 08:01:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-659/archives/ [Pipeline] echo 08:01:55 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-659/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:01:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:01:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:01:55 08:01:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:01:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:01:56 alpine: Pulling from edgex-lftools-log-publisher 08:01:56 df20fa9351a1: Pulling fs layer 08:01:56 36b3adc4ff6f: Pulling fs layer 08:01:56 8ad3a11d3b57: Pulling fs layer 08:01:56 46f8f816bc3b: Pulling fs layer 08:01:56 93b61091891f: Pulling fs layer 08:01:56 93b9cdb0e59b: Pulling fs layer 08:01:56 5e14af77c1be: Pulling fs layer 08:01:56 01666e4c0597: Pulling fs layer 08:01:56 aa168da1d23b: Pulling fs layer 08:01:56 46f8f816bc3b: Waiting 08:01:56 93b61091891f: Waiting 08:01:56 01666e4c0597: Waiting 08:01:56 93b9cdb0e59b: Waiting 08:01:56 5e14af77c1be: Waiting 08:01:56 aa168da1d23b: Waiting 08:01:56 36b3adc4ff6f: Verifying Checksum 08:01:56 36b3adc4ff6f: Download complete 08:01:56 46f8f816bc3b: Verifying Checksum 08:01:56 46f8f816bc3b: Download complete 08:01:56 df20fa9351a1: Verifying Checksum 08:01:56 df20fa9351a1: Download complete 08:01:56 93b9cdb0e59b: Verifying Checksum 08:01:56 93b9cdb0e59b: Download complete 08:01:56 5e14af77c1be: Verifying Checksum 08:01:56 5e14af77c1be: Download complete 08:01:56 01666e4c0597: Verifying Checksum 08:01:56 01666e4c0597: Download complete 08:01:56 8ad3a11d3b57: Verifying Checksum 08:01:56 8ad3a11d3b57: Download complete 08:01:56 93b61091891f: Verifying Checksum 08:01:56 93b61091891f: Download complete 08:01:56 df20fa9351a1: Pull complete 08:01:56 36b3adc4ff6f: Pull complete 08:01:57 8ad3a11d3b57: Pull complete 08:01:57 46f8f816bc3b: Pull complete 08:01:57 93b61091891f: Pull complete 08:01:58 aa168da1d23b: Verifying Checksum 08:01:58 aa168da1d23b: Download complete 08:01:58 93b9cdb0e59b: Pull complete 08:01:58 5e14af77c1be: Pull complete 08:01:58 01666e4c0597: Pull complete 08:02:05 aa168da1d23b: Pull complete 08:02:05 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 08:02:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:02:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:02:05 prd-centos7-docker-4c-2g-13535 does not seem to be running inside a container 08:02:05 $ 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-659/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-659 -v /w/workspace/dgexfoundry_device-sdk-go_PR-659:/w/workspace/dgexfoundry_device-sdk-go_PR-659:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-659@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-659@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:10003/edgex-lftools-log-publisher:alpine cat 08:02:10 $ docker top dd8addabb34b72a34277f64ec0d29a78fd9f811276e659466c9fb08d5088874d -eo pid,comm [Pipeline] { [Pipeline] sh 08:02:11 + touch /tmp/pre-build-complete [Pipeline] sh 08:02:11 + mkdir -p /var/log/sa [Pipeline] sh 08:02:11 + ls /var/log/sa-host 08:02:11 + sadf -c /var/log/sa-host/sa23 08:02:11 file_magic: OK 08:02:11 HZ: Using current value: 100 08:02:11 file_header: OK 08:02:11 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 08:02:11 Statistics: 08:02:11 Hnuu...uuuununununu... 08:02:11 File successfully converted to sysstat format version 12.2.1 08:02:11 + sadf -c /var/log/sa-host/sa26 08:02:11 file_magic: OK 08:02:11 HZ: Using current value: 100 08:02:11 file_header: OK 08:02:11 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 08:02:11 Statistics: 08:02:11 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:02:11 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:02:11 provisioning config files... 08:02:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-659@tmp/config5112363047052324873tmp [Pipeline] { [Pipeline] echo 08:02:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:02:12 ---> create-netrc.sh [Pipeline] } 08:02:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 08:02:12 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 08:02:12 ---> python-tools-install.sh [Pipeline] echo 08:02:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:02:13 ---> sudo-logs.sh 08:02:13 Archiving 'sudo' log.. [Pipeline] echo 08:02:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:02:13 ---> job-cost.sh 08:02:13 lf-activate-venv: SKIPPING 08:02:13 INFO: No Stack... 08:02:14 INFO: Retrieving Pricing Info for: v1-standard-2 08:02:14 INFO: Archiving Costs [Pipeline] echo 08:02:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:02:15 ---> logs-deploy.sh 08:02:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-659/5 08:02:15 INFO: archiving workspace using pattern(s): 08:02:16 Archives upload complete. 08:02:16 INFO: archiving logs to Nexus 08:02:17 ---> uname -a: 08:02:17 Linux prd-centos7-docker-4c-2g-13535.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 08:02:17 08:02:17 08:02:17 ---> lscpu: 08:02:17 Architecture: x86_64 08:02:17 CPU op-mode(s): 32-bit, 64-bit 08:02:17 Byte Order: Little Endian 08:02:17 Address sizes: 40 bits physical, 48 bits virtual 08:02:17 CPU(s): 4 08:02:17 On-line CPU(s) list: 0-3 08:02:17 Thread(s) per core: 1 08:02:17 Core(s) per socket: 1 08:02:17 Socket(s): 4 08:02:17 NUMA node(s): 1 08:02:17 Vendor ID: GenuineIntel 08:02:17 CPU family: 6 08:02:17 Model: 44 08:02:17 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 08:02:17 Stepping: 1 08:02:17 CPU MHz: 2933.438 08:02:17 BogoMIPS: 5866.87 08:02:17 Virtualization: VT-x 08:02:17 Hypervisor vendor: KVM 08:02:17 Virtualization type: full 08:02:17 L1d cache: 128 KiB 08:02:17 L1i cache: 128 KiB 08:02:17 L2 cache: 16 MiB 08:02:17 L3 cache: 64 MiB 08:02:17 NUMA node0 CPU(s): 0-3 08:02:17 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 08:02:17 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 08:02:17 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 08:02:17 Vulnerability Meltdown: Mitigation; PTI 08:02:17 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 08:02:17 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 08:02:17 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 08:02:17 Vulnerability Srbds: Not affected 08:02:17 Vulnerability Tsx async abort: Not affected 08:02:17 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 08:02:17 08:02:17 08:02:17 ---> nproc: 08:02:17 4 08:02:17 08:02:17 08:02:17 ---> df -h: 08:02:17 Filesystem Size Used Available Use% Mounted on 08:02:17 overlay 50.0G 7.3G 42.7G 15% / 08:02:17 tmpfs 64.0M 0 64.0M 0% /dev 08:02:17 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 08:02:17 shm 64.0M 0 64.0M 0% /dev/shm 08:02:17 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 08:02:17 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 08:02:17 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 08:02:17 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 08:02:17 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-659 08:02:17 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-659@tmp 08:02:17 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 08:02:17 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 08:02:17 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 08:02:17 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 08:02:17 08:02:17 08:02:17 ---> free -m: 08:02:17 total used free shared buff/cache available 08:02:17 Mem: 1837 696 112 0 1028 1036 08:02:17 Swap: 1023 1 1022 08:02:17 08:02:17 08:02:17 ---> ip addr: 08:02:17 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 08:02:17 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 08:02:17 inet 127.0.0.1/8 scope host lo 08:02:17 valid_lft forever preferred_lft forever 08:02:17 inet6 ::1/128 scope host 08:02:17 valid_lft forever preferred_lft forever 08:02:17 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 08:02:17 link/ether fa:16:3e:71:db:51 brd ff:ff:ff:ff:ff:ff 08:02:17 inet 10.30.122.224/23 brd 10.30.123.255 scope global dynamic eth0 08:02:17 valid_lft 85607sec preferred_lft 85607sec 08:02:17 inet6 fe80::f816:3eff:fe71:db51/64 scope link 08:02:17 valid_lft forever preferred_lft forever 08:02:17 3: docker0: mtu 1500 qdisc noqueue state DOWN 08:02:17 link/ether 02:42:3e:93:7c:3b brd ff:ff:ff:ff:ff:ff 08:02:17 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 08:02:17 valid_lft forever preferred_lft forever 08:02:17 inet6 fe80::42:3eff:fe93:7c3b/64 scope link 08:02:17 valid_lft forever preferred_lft forever 08:02:17 08:02:17 08:02:17 ---> sar -b -r -n DEV: 08:02:17 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 11/26/20 _x86_64_ (4 CPU) 08:02:17 08:02:17 07:48:52 LINUX RESTART (4 CPU) 08:02:17 08:02:17 07:50:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 08:02:17 07:51:01 2.51 0.00 2.51 0.00 0.00 54.89 0.00 08:02:17 07:52:01 0.43 0.00 0.43 0.00 0.00 6.18 0.00 08:02:17 07:53:01 0.23 0.00 0.23 0.00 0.00 3.11 0.00 08:02:17 07:54:01 0.23 0.00 0.23 0.00 0.00 2.25 0.00 08:02:17 07:55:01 0.32 0.00 0.32 0.00 0.00 4.30 0.00 08:02:17 07:56:01 0.23 0.00 0.23 0.00 0.00 2.98 0.00 08:02:17 07:57:01 0.28 0.00 0.28 0.00 0.00 3.20 0.00 08:02:17 07:58:01 0.22 0.00 0.22 0.00 0.00 2.17 0.00 08:02:17 07:59:01 0.20 0.00 0.20 0.00 0.00 1.90 0.00 08:02:17 08:00:01 0.28 0.00 0.28 0.00 0.00 3.22 0.00 08:02:17 08:01:01 0.28 0.02 0.27 0.00 0.13 3.15 0.00 08:02:17 08:02:01 77.79 50.44 27.35 0.00 4123.87 8751.69 0.00 08:02:17 Average: 6.94 4.22 2.72 0.00 344.94 739.22 0.00 08:02:17 08:02:17 07:50:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 08:02:17 07:51:01 161364 0 592596 31.50 2620 1124964 1103412 37.66 390848 1131244 12 08:02:17 07:52:01 162308 0 591644 31.44 2620 1124972 1074412 36.67 405340 1115688 8 08:02:17 07:53:01 161644 0 592304 31.48 2620 1124976 1074580 36.67 408024 1113944 8 08:02:17 07:54:01 161284 0 592664 31.50 2620 1124976 1074412 36.67 413016 1109232 8 08:02:17 07:55:01 160760 0 593180 31.53 2620 1124984 1074520 36.67 411752 1111248 8 08:02:17 07:56:01 159776 0 594160 31.58 2620 1124988 1074608 36.67 419656 1104264 8 08:02:17 07:57:01 160308 0 593624 31.55 2620 1124992 1074476 36.67 418856 1104264 8 08:02:17 07:58:01 160564 0 593364 31.54 2620 1124996 1074476 36.67 418984 1104264 8 08:02:17 07:59:01 160876 0 593044 31.52 2620 1125004 1074476 36.67 418744 1104264 8 08:02:17 08:00:01 160352 0 593564 31.55 2620 1125008 1074572 36.67 419368 1104264 8 08:02:17 08:01:01 159424 0 594392 31.59 2620 1125108 1077172 36.76 419692 1104292 28 08:02:17 08:02:01 72012 0 700468 37.23 2620 1106444 1494392 51.00 566644 1016480 80420 08:02:17 Average: 153389 0 602084 32.00 2620 1123451 1112126 37.95 425910 1101954 6711 08:02:17 08:02:17 07:50:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 08:02:17 07:51:01 eth0 0.69 0.47 0.29 0.23 0.00 0.00 0.00 0.00 08:02:17 07:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:02:17 07:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:02:17 07:52:01 eth0 0.82 0.08 0.07 0.01 0.00 0.00 0.00 0.00 08:02:17 07:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:02:17 07:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:02:17 07:53:01 eth0 1.23 0.38 0.47 0.20 0.00 0.00 0.00 0.00 08:02:17 07:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:02:17 07:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:02:17 07:54:01 eth0 0.35 0.08 0.03 0.01 0.00 0.00 0.00 0.00 08:02:17 07:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:02:17 07:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:02:17 07:55:01 eth0 0.72 0.43 0.41 0.26 0.00 0.00 0.00 0.00 08:02:17 07:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:02:17 07:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:02:17 07:56:01 eth0 1.07 0.35 0.32 0.20 0.00 0.00 0.00 0.00 08:02:17 07:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:02:17 07:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:02:17 07:57:01 eth0 0.05 0.05 0.00 0.00 0.00 0.00 0.00 0.00 08:02:17 07:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:02:17 07:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:02:17 07:58:01 eth0 0.07 0.03 0.00 0.00 0.00 0.00 0.00 0.00 08:02:17 07:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:02:17 07:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:02:17 07:59:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 08:02:17 07:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:02:17 07:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:02:17 08:00:01 eth0 0.30 0.23 0.14 0.07 0.00 0.00 0.00 0.00 08:02:17 08:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:02:17 08:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:02:17 08:01:01 eth0 0.15 0.08 0.01 0.01 0.00 0.00 0.00 0.00 08:02:17 08:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:02:17 08:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:02:17 08:02:01 eth0 203.89 160.94 2166.60 17.27 0.00 0.00 0.00 0.00 08:02:17 08:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:02:17 08:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:02:17 Average: eth0 17.51 13.65 181.36 1.53 0.00 0.00 0.00 0.00 08:02:17 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:02:17 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:02:17 08:02:17 08:02:17 ---> sar -P ALL: 08:02:17 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 11/26/20 _x86_64_ (4 CPU) 08:02:17 08:02:17 07:48:52 LINUX RESTART (4 CPU) 08:02:17 08:02:17 07:50:02 CPU %user %nice %system %iowait %steal %idle 08:02:17 07:51:01 all 0.17 0.00 0.05 0.00 0.00 99.78 08:02:17 07:51:01 0 0.02 0.00 0.02 0.00 0.00 99.97 08:02:17 07:51:01 1 0.07 0.00 0.07 0.00 0.00 99.86 08:02:17 07:51:01 2 0.51 0.00 0.05 0.00 0.00 99.44 08:02:17 07:51:01 3 0.10 0.00 0.05 0.00 0.00 99.85 08:02:17 07:52:01 all 0.15 0.00 0.03 0.00 0.00 99.81 08:02:17 07:52:01 0 0.02 0.00 0.02 0.00 0.00 99.97 08:02:17 07:52:01 1 0.07 0.00 0.05 0.00 0.00 99.88 08:02:17 07:52:01 2 0.50 0.00 0.05 0.00 0.02 99.43 08:02:17 07:52:01 3 0.03 0.00 0.02 0.00 0.00 99.95 08:02:17 07:53:01 all 0.13 0.00 0.03 0.00 0.00 99.84 08:02:17 07:53:01 0 0.03 0.00 0.03 0.00 0.00 99.93 08:02:17 07:53:01 1 0.05 0.00 0.03 0.00 0.00 99.92 08:02:17 07:53:01 2 0.40 0.00 0.03 0.00 0.00 99.57 08:02:17 07:53:01 3 0.03 0.00 0.03 0.00 0.00 99.93 08:02:17 07:54:01 all 0.16 0.00 0.03 0.00 0.00 99.80 08:02:17 07:54:01 0 0.03 0.00 0.02 0.00 0.00 99.95 08:02:17 07:54:01 1 0.07 0.00 0.08 0.00 0.02 99.83 08:02:17 07:54:01 2 0.50 0.00 0.02 0.00 0.00 99.48 08:02:17 07:54:01 3 0.03 0.00 0.02 0.00 0.00 99.95 08:02:17 07:55:01 all 0.15 0.00 0.03 0.00 0.00 99.82 08:02:17 07:55:01 0 0.02 0.00 0.02 0.00 0.00 99.97 08:02:17 07:55:01 1 0.03 0.00 0.07 0.00 0.00 99.90 08:02:17 07:55:01 2 0.52 0.00 0.02 0.00 0.00 99.47 08:02:17 07:55:01 3 0.03 0.00 0.02 0.00 0.00 99.95 08:02:17 07:56:01 all 0.18 0.00 0.03 0.00 0.01 99.78 08:02:17 07:56:01 0 0.12 0.00 0.02 0.00 0.02 99.85 08:02:17 07:56:01 1 0.05 0.00 0.05 0.00 0.00 99.90 08:02:17 07:56:01 2 0.52 0.00 0.02 0.00 0.00 99.47 08:02:17 07:56:01 3 0.03 0.00 0.03 0.00 0.02 99.92 08:02:17 07:57:01 all 0.16 0.00 0.02 0.00 0.00 99.81 08:02:17 07:57:01 0 0.03 0.00 0.02 0.00 0.00 99.95 08:02:17 07:57:01 1 0.05 0.00 0.02 0.00 0.00 99.93 08:02:17 07:57:01 2 0.52 0.00 0.00 0.00 0.00 99.48 08:02:17 07:57:01 3 0.05 0.00 0.07 0.00 0.00 99.88 08:02:17 07:58:01 all 0.14 0.00 0.03 0.00 0.00 99.83 08:02:17 07:58:01 0 0.00 0.00 0.03 0.00 0.00 99.97 08:02:17 07:58:01 1 0.03 0.00 0.03 0.00 0.00 99.93 08:02:17 07:58:01 2 0.50 0.00 0.02 0.00 0.00 99.48 08:02:17 07:58:01 3 0.03 0.00 0.03 0.00 0.00 99.93 08:02:17 07:59:01 all 0.08 0.00 0.03 0.00 0.00 99.90 08:02:17 07:59:01 0 0.02 0.00 0.02 0.00 0.00 99.97 08:02:17 07:59:01 1 0.05 0.00 0.02 0.00 0.00 99.93 08:02:17 07:59:01 2 0.18 0.00 0.05 0.00 0.00 99.77 08:02:17 07:59:01 3 0.05 0.00 0.03 0.00 0.00 99.92 08:02:17 08:00:01 all 0.03 0.00 0.03 0.00 0.00 99.95 08:02:17 08:00:01 0 0.03 0.00 0.03 0.00 0.00 99.93 08:02:17 08:00:01 1 0.02 0.00 0.03 0.00 0.00 99.95 08:02:17 08:00:01 2 0.02 0.00 0.02 0.00 0.00 99.97 08:02:17 08:00:01 3 0.03 0.00 0.03 0.00 0.00 99.93 08:02:17 08:01:01 all 0.12 0.00 0.03 0.00 0.00 99.85 08:02:17 08:01:01 0 0.35 0.00 0.05 0.02 0.00 99.58 08:02:17 08:01:01 1 0.07 0.00 0.03 0.00 0.00 99.90 08:02:17 08:01:01 2 0.03 0.00 0.03 0.00 0.00 99.93 08:02:17 08:01:01 3 0.02 0.00 0.02 0.00 0.00 99.97 08:02:17 08:02:17 08:01:01 CPU %user %nice %system %iowait %steal %idle 08:02:17 08:02:01 all 4.06 0.00 1.98 1.55 0.01 92.40 08:02:17 08:02:01 0 4.07 0.00 1.82 0.15 0.00 93.96 08:02:17 08:02:01 1 4.92 0.00 2.01 3.13 0.02 89.92 08:02:17 08:02:01 2 3.39 0.00 1.76 0.47 0.02 94.37 08:02:17 08:02:01 3 3.85 0.00 2.33 2.46 0.02 91.35 08:02:17 Average: all 0.46 0.00 0.19 0.13 0.00 99.21 08:02:17 Average: 0 0.39 0.00 0.17 0.01 0.00 99.42 08:02:17 Average: 1 0.45 0.00 0.21 0.26 0.00 99.07 08:02:17 Average: 2 0.63 0.00 0.17 0.04 0.00 99.16 08:02:17 Average: 3 0.36 0.00 0.22 0.20 0.00 99.21 08:02:17 08:02:17 08:02:17