Pull request #584 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ea97e15d1855d258f28118b7027861f26d07af6c+cf9e8dc7bd919f9915f3ed3b96261970003b233d (d27ceef31d4f41c95cecb20607c09f1e9ac73ba1) 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-13512 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [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-584 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit cf9e8dc7bd919f9915f3ed3b96261970003b233d into PR head commit ea97e15d1855d258f28118b7027861f26d07af6c Merge succeeded, producing ea97e15d1855d258f28118b7027861f26d07af6c Checking out Revision ea97e15d1855d258f28118b7027861f26d07af6c (PR-584) > git config core.sparsecheckout # timeout=10 > git checkout -f ea97e15d1855d258f28118b7027861f26d07af6c # 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 cf9e8dc7bd919f9915f3ed3b96261970003b233d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea97e15d1855d258f28118b7027861f26d07af6c # timeout=10 Commit message: "build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.8.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:26:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:26:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:26:48 ========================================================= 07:26:48 EdgeX Global Pipelines Version Info 07:26:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 1327217935a4b81366492dd01d0c63c752111fdc # timeout=10 07:26:50 ------------------- 07:26:50 stable info: 07:26:50 ------------------- 07:26:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:26:50 Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 07:26:50 Message: update stable to v1.0.167 07:26:51 ------------------- 07:26:51 experimental info: 07:26:51 ------------------- 07:26:51 Commited By: **** collab-it+edgex@linuxfoundation.org 07:26:51 Commit SHA: 0d18be6431106a7569620da64dad388747d7ba9a 07:26:51 Message: update experimental to v1.0.168 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 07:26:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:26:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:26:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:26:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:26:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:26:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:26:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:26:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:26:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:26:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:26:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:26:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:26:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 07:26:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:26:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:26:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:26:54 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 07:26:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-584 [Pipeline] echo 07:26:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-584 [Pipeline] echo 07:26:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-584 [Pipeline] echo 07:26:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ea97e15d1855d258f28118b7027861f26d07af6c [Pipeline] echo 07:26:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ea97e15 [Pipeline] echo 07:26:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:26:54 provisioning config files... 07:26:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config2732869429764465038tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:26:55 ---> docker-login.sh 07:26:55 nexus3.edgexfoundry.org:10001 07:26:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:26:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:26:55 Configure a credential helper to remove this warning. See 07:26:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:26:55 07:26:55 Login Succeeded 07:26:55 nexus3.edgexfoundry.org:10002 07:26:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:26:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:26:55 Configure a credential helper to remove this warning. See 07:26:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:26:55 07:26:55 Login Succeeded 07:26:55 nexus3.edgexfoundry.org:10003 07:26:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:26:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:26:56 Configure a credential helper to remove this warning. See 07:26:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:26:56 07:26:56 Login Succeeded 07:26:56 nexus3.edgexfoundry.org:10004 07:26:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:26:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:26:56 Configure a credential helper to remove this warning. See 07:26:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:26:56 07:26:56 Login Succeeded 07:26:56 docker.io 07:26:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:26:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:26:56 Configure a credential helper to remove this warning. See 07:26:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:26:56 07:26:56 Login Succeeded 07:26:56 ---> docker-login.sh ends [Pipeline] } 07:26:56 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:26:57 + git log --format=format:%s -1 ea97e15d1855d258f28118b7027861f26d07af6c [Pipeline] echo 07:26:57 GIT_COMMIT: ea97e15d1855d258f28118b7027861f26d07af6c, Commit Message: build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.8.0 [Pipeline] echo 07:26:57 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:26:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:26:58 07:26:58 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:26:58 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:26:58 latest: Pulling from edgex-devops/git-semver 07:26:58 31603596830f: Pulling fs layer 07:26:58 2a8b12db71e7: Pulling fs layer 07:26:58 6ca5941a6612: Pulling fs layer 07:26:58 ecc8261a40a4: Pulling fs layer 07:26:58 ecc8261a40a4: Waiting 07:26:58 2a8b12db71e7: Download complete 07:26:58 31603596830f: Verifying Checksum 07:26:58 31603596830f: Download complete 07:26:58 ecc8261a40a4: Verifying Checksum 07:26:58 ecc8261a40a4: Download complete 07:26:58 6ca5941a6612: Verifying Checksum 07:26:58 6ca5941a6612: Download complete 07:26:58 31603596830f: Pull complete 07:26:58 2a8b12db71e7: Pull complete 07:26:59 6ca5941a6612: Pull complete 07:27:00 ecc8261a40a4: Pull complete 07:27:00 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:27:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:27:00 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:27:00 prd-centos7-docker-4c-2g-13512 does not seem to be running inside a container 07:27:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-584 -v /w/workspace/dgexfoundry_device-sdk-go_PR-584:/w/workspace/dgexfoundry_device-sdk-go_PR-584:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-584@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:27:02 $ docker top 9323c397a98c87dd798441bccea06d6b4dc9d40878e999e0a083d77bc7e365c9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:27:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:27:02 [ssh-agent] Looking for ssh-agent implementation... 07:27:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:27:02 $ docker exec 9323c397a98c87dd798441bccea06d6b4dc9d40878e999e0a083d77bc7e365c9 ssh-agent 07:27:03 SSH_AUTH_SOCK=/tmp/ssh-gJtg3CiFZ1nj/agent.13 07:27:03 SSH_AGENT_PID=18 07:27:03 Running ssh-add (command line suppressed) 07:27:03 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_5680875414899809290.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_5680875414899809290.key) 07:27:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:27:03 + git tag --points-at HEAD [Pipeline] } 07:27:03 $ docker exec --env ******** --env ******** 9323c397a98c87dd798441bccea06d6b4dc9d40878e999e0a083d77bc7e365c9 ssh-agent -k 07:27:03 unset SSH_AUTH_SOCK; 07:27:03 unset SSH_AGENT_PID; 07:27:03 echo Agent pid 18 killed; 07:27:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:27:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:27:03 [ssh-agent] Looking for ssh-agent implementation... 07:27:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:27:04 $ docker exec 9323c397a98c87dd798441bccea06d6b4dc9d40878e999e0a083d77bc7e365c9 ssh-agent 07:27:04 SSH_AUTH_SOCK=/tmp/ssh-2nFAg6pHQWRT/agent.47 07:27:04 SSH_AGENT_PID=52 07:27:04 Running ssh-add (command line suppressed) 07:27:04 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_4795555269416262558.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_4795555269416262558.key) 07:27:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:27:04 + git semver init 07:27:04 # -> Open(): unable to determine branch for HEAD 07:27:04 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.git 07:27:04 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-584 07:27:04 # $SEMVER_REMOTE_NAME = origin 07:27:04 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:27:04 # $SEMVER_USER_NAME = edgex-jenkins 07:27:04 # $SEMVER_BRANCH = PR-584 07:27:04 # $SEMVER_TEMP = /tmp/semver-390005397 07:27:04 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:27:05 # '/tmp/semver-390005397' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver' 07:27:05 # -> Force: false 07:27:05 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver [Pipeline] } 07:27:05 $ docker exec --env ******** --env ******** 9323c397a98c87dd798441bccea06d6b4dc9d40878e999e0a083d77bc7e365c9 ssh-agent -k 07:27:05 unset SSH_AUTH_SOCK; 07:27:05 unset SSH_AGENT_PID; 07:27:05 echo Agent pid 52 killed; 07:27:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:27:05 + git semver [Pipeline] } 07:27:05 $ docker stop --time=1 9323c397a98c87dd798441bccea06d6b4dc9d40878e999e0a083d77bc7e365c9 07:27:07 $ docker rm -f 9323c397a98c87dd798441bccea06d6b4dc9d40878e999e0a083d77bc7e365c9 [Pipeline] // withDockerContainer [Pipeline] sh 07:27:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:27:08 Stashed 1 file(s) [Pipeline] echo 07:27:08 [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:27:23 Still waiting to schedule task 07:27:23 Waiting for next available executor on ‘centos7-docker-4c-2g’ 07:27:23 Still waiting to schedule task 07:27:23 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 07:29:03 Running on prd-centos7-docker-4c-2g-13514 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws 07:29:04 Running in /w/workspace/device-sdk-go/36 [Pipeline] { [Pipeline] checkout 07:29:11 using credential edgex-jenkins-ssh 07:29:11 Cloning the remote Git repository 07:29:11 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:29:11 > git init /w/workspace/device-sdk-go/36 # timeout=10 07:29:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:29:11 > git --version # timeout=10 07:29:11 > git --version # 'git version 2.24.3' 07:29:11 using GIT_SSH to set credentials SSH Credentials for GitHub 07:29:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:29:13 Merging remotes/origin/master commit cf9e8dc7bd919f9915f3ed3b96261970003b233d into PR head commit ea97e15d1855d258f28118b7027861f26d07af6c 07:29:13 Merge succeeded, producing ea97e15d1855d258f28118b7027861f26d07af6c 07:29:13 Checking out Revision ea97e15d1855d258f28118b7027861f26d07af6c (PR-584) 07:29:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:29:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:29:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:29:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:29:13 using GIT_SSH to set credentials SSH Credentials for GitHub 07:29:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:29:13 > git config core.sparsecheckout # timeout=10 07:29:13 > git checkout -f ea97e15d1855d258f28118b7027861f26d07af6c # timeout=10 07:29:13 > git remote # timeout=10 07:29:13 > git config --get remote.origin.url # timeout=10 07:29:13 using GIT_SSH to set credentials SSH Credentials for GitHub 07:29:13 > git merge cf9e8dc7bd919f9915f3ed3b96261970003b233d # timeout=10 07:29:13 > git rev-parse HEAD^{commit} # timeout=10 07:29:13 > git config core.sparsecheckout # timeout=10 07:29:13 > git checkout -f ea97e15d1855d258f28118b7027861f26d07af6c # timeout=10 07:29:18 Commit message: "build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.8.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:29:19 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 07:29:20 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:29:21 + sudo service docker restart 07:29:21 + true 07:29:21 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:29:23 provisioning config files... 07:29:23 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/36@tmp/config701314785257399662tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:29:23 ---> docker-login.sh 07:29:23 nexus3.edgexfoundry.org:10001 07:29:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:29:24 Configure a credential helper to remove this warning. See 07:29:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:29:24 07:29:24 Login Succeeded 07:29:24 nexus3.edgexfoundry.org:10002 07:29:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:29:25 Configure a credential helper to remove this warning. See 07:29:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:29:25 07:29:25 Login Succeeded 07:29:25 nexus3.edgexfoundry.org:10003 07:29:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:29:25 Configure a credential helper to remove this warning. See 07:29:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:29:25 07:29:25 Login Succeeded 07:29:25 nexus3.edgexfoundry.org:10004 07:29:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:29:25 Configure a credential helper to remove this warning. See 07:29:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:29:25 07:29:25 Login Succeeded 07:29:25 docker.io 07:29:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:29:26 Configure a credential helper to remove this warning. See 07:29:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:29:26 07:29:26 Login Succeeded 07:29:26 ---> docker-login.sh ends [Pipeline] } 07:29:26 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:29:26 ========================================================= 07:29:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 07:29:26 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:29:26 + 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:29:27 Sending build context to Docker daemon 2.356MB 07:29:27 Step 1/8 : ARG BASE=golang:1.15-alpine 07:29:27 Step 2/8 : FROM ${BASE} 07:29:27 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 07:29:27 df20fa9351a1: Pulling fs layer 07:29:27 ed8968b2872e: Pulling fs layer 07:29:27 a92cc7c5fd73: Pulling fs layer 07:29:27 e871e8e8d7a9: Pulling fs layer 07:29:27 e73272ec9a57: Pulling fs layer 07:29:27 1e910a182e73: Pulling fs layer 07:29:27 4e634b169226: Pulling fs layer 07:29:27 e871e8e8d7a9: Waiting 07:29:27 e73272ec9a57: Waiting 07:29:27 1e910a182e73: Waiting 07:29:27 4e634b169226: Waiting 07:29:27 a92cc7c5fd73: Verifying Checksum 07:29:27 a92cc7c5fd73: Download complete 07:29:27 ed8968b2872e: Verifying Checksum 07:29:27 ed8968b2872e: Download complete 07:29:27 e73272ec9a57: Verifying Checksum 07:29:27 e73272ec9a57: Download complete 07:29:27 1e910a182e73: Verifying Checksum 07:29:27 1e910a182e73: Download complete 07:29:27 df20fa9351a1: Verifying Checksum 07:29:27 df20fa9351a1: Download complete 07:29:28 df20fa9351a1: Pull complete 07:29:28 ed8968b2872e: Pull complete 07:29:28 a92cc7c5fd73: Pull complete 07:29:35 4e634b169226: Verifying Checksum 07:29:35 4e634b169226: Download complete 07:29:35 e871e8e8d7a9: Verifying Checksum 07:29:35 e871e8e8d7a9: Download complete 07:29:45 e871e8e8d7a9: Pull complete 07:29:45 e73272ec9a57: Pull complete 07:29:45 1e910a182e73: Pull complete 07:29:51 4e634b169226: Pull complete 07:29:51 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 07:29:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 07:29:51 ---> f7629b54cfaa 07:29:51 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:29:51 ---> Running in 099fe3509897 07:29:51 Removing intermediate container 099fe3509897 07:29:51 ---> 257e2cfab3c5 07:29:51 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:29:51 ---> Running in 03999917c5d2 07:29:53 Removing intermediate container 03999917c5d2 07:29:53 ---> 19014f3c3fca 07:29:53 Step 5/8 : RUN apk add --no-cache make git 07:29:53 ---> Running in 53bf9cddd081 07:29:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:29:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:29:56 OK: 166 MiB in 39 packages 07:29:57 Removing intermediate container 53bf9cddd081 07:29:57 ---> a497d93746a8 07:29:57 Step 6/8 : WORKDIR /device-sdk-go 07:29:58 ---> Running in 0d5183652a8d 07:29:58 Removing intermediate container 0d5183652a8d 07:29:58 ---> 81dbf421eafc 07:29:58 Step 7/8 : COPY . . 07:30:00 ---> 051d670ca49e 07:30:00 Step 8/8 : RUN go mod download 07:30:01 ---> Running in 52242dc28e3b 07:30:34 Removing intermediate container 52242dc28e3b 07:30:34 ---> dc22f8aef9b8 07:30:34 Successfully built dc22f8aef9b8 07:30:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:30:34 + docker inspect -f . ci-base-image-x86_64 07:30:35 . [Pipeline] withDockerContainer 07:30:35 prd-centos7-docker-4c-2g-13514 does not seem to be running inside a container 07:30:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/36 -v /w/workspace/device-sdk-go/36:/w/workspace/device-sdk-go/36:rw,z -v /w/workspace/device-sdk-go/36@tmp:/w/workspace/device-sdk-go/36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:30:37 $ docker top af5361a7aee502e226433b6faff374049df74b34146203514f5de6108c8fcedf -eo pid,comm [Pipeline] { [Pipeline] sh 07:30:38 + go version 07:30:38 go version go1.15.2 linux/amd64 [Pipeline] } 07:30:38 $ docker stop --time=1 af5361a7aee502e226433b6faff374049df74b34146203514f5de6108c8fcedf 07:30:40 $ docker rm -f af5361a7aee502e226433b6faff374049df74b34146203514f5de6108c8fcedf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:30:42 + docker inspect -f . ci-base-image-x86_64 07:30:42 . [Pipeline] withDockerContainer 07:30:42 prd-centos7-docker-4c-2g-13514 does not seem to be running inside a container 07:30:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/36 -v /w/workspace/device-sdk-go/36:/w/workspace/device-sdk-go/36:rw,z -v /w/workspace/device-sdk-go/36@tmp:/w/workspace/device-sdk-go/36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:30:43 $ docker top 2a17aca2318451f6538cc8854910e64c31a0a07173b8afeb7a3aa3cb61e07d91 -eo pid,comm [Pipeline] { [Pipeline] sh 07:30:44 + make test 07:30:44 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:30:57 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:31:18 Running on prd-ubuntu18.04-docker-arm64-4c-16g-13518 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws 07:31:18 Running in /w/workspace/device-sdk-go/36 [Pipeline] { [Pipeline] checkout 07:31:24 using credential edgex-jenkins-ssh 07:31:24 Cloning the remote Git repository 07:31:24 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:31:24 > git init /w/workspace/device-sdk-go/36 # timeout=10 07:31:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:31:24 > git --version # timeout=10 07:31:24 > git --version # 'git version 2.17.1' 07:31:24 using GIT_SSH to set credentials SSH Credentials for GitHub 07:31:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:31:26 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:31:26 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:31:26 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 07:31:26 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.240s coverage: 20.6% of statements 07:31:26 Merging remotes/origin/master commit cf9e8dc7bd919f9915f3ed3b96261970003b233d into PR head commit ea97e15d1855d258f28118b7027861f26d07af6c 07:31:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:31:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:31:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:31:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:31:25 using GIT_SSH to set credentials SSH Credentials for GitHub 07:31:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:31:26 Merge succeeded, producing ea97e15d1855d258f28118b7027861f26d07af6c 07:31:26 Checking out Revision ea97e15d1855d258f28118b7027861f26d07af6c (PR-584) 07:31:26 > git config core.sparsecheckout # timeout=10 07:31:26 > git checkout -f ea97e15d1855d258f28118b7027861f26d07af6c # timeout=10 07:31:26 > git remote # timeout=10 07:31:26 > git config --get remote.origin.url # timeout=10 07:31:26 using GIT_SSH to set credentials SSH Credentials for GitHub 07:31:26 > git merge cf9e8dc7bd919f9915f3ed3b96261970003b233d # timeout=10 07:31:26 > git rev-parse HEAD^{commit} # timeout=10 07:31:26 > git config core.sparsecheckout # timeout=10 07:31:26 > git checkout -f ea97e15d1855d258f28118b7027861f26d07af6c # timeout=10 07:31:30 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.801s coverage: 97.1% of statements 07:31:31 Commit message: "build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.8.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:31:33 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 07:31:33 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:31:33 + sudo service docker restart 07:31:33 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:31:36 provisioning config files... 07:31:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/36@tmp/config4383620386967484609tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:31:37 ---> docker-login.sh 07:31:37 nexus3.edgexfoundry.org:10001 07:31:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:31:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:31:38 Configure a credential helper to remove this warning. See 07:31:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:31:38 07:31:38 Login Succeeded 07:31:38 nexus3.edgexfoundry.org:10002 07:31:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:31:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:31:38 Configure a credential helper to remove this warning. See 07:31:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:31:38 07:31:38 Login Succeeded 07:31:38 nexus3.edgexfoundry.org:10003 07:31:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:31:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:31:39 Configure a credential helper to remove this warning. See 07:31:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:31:39 07:31:39 Login Succeeded 07:31:39 nexus3.edgexfoundry.org:10004 07:31:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:31:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:31:40 Configure a credential helper to remove this warning. See 07:31:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:31:40 07:31:40 Login Succeeded 07:31:40 docker.io 07:31:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:31:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:31:40 Configure a credential helper to remove this warning. See 07:31:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:31:40 07:31:40 Login Succeeded 07:31:40 ---> docker-login.sh ends [Pipeline] } 07:31:40 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:31:41 ========================================================= 07:31:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 07:31:41 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:31:41 + 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:31:42 Sending build context to Docker daemon 2.349MB 07:31:42 Step 1/8 : ARG BASE=golang:1.15-alpine 07:31:42 Step 2/8 : FROM ${BASE} 07:31:42 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:31:42 b538f80385f9: Pulling fs layer 07:31:42 74f711af9a0d: Pulling fs layer 07:31:42 99f96fe45779: Pulling fs layer 07:31:42 8529a6b9a6be: Pulling fs layer 07:31:42 45590311c82a: Pulling fs layer 07:31:42 69ca0ff8b7b3: Pulling fs layer 07:31:42 209524e5b208: Pulling fs layer 07:31:42 209524e5b208: Waiting 07:31:42 8529a6b9a6be: Waiting 07:31:42 45590311c82a: Waiting 07:31:42 69ca0ff8b7b3: Waiting 07:31:42 99f96fe45779: Verifying Checksum 07:31:42 99f96fe45779: Download complete 07:31:42 74f711af9a0d: Verifying Checksum 07:31:42 74f711af9a0d: Download complete 07:31:42 45590311c82a: Verifying Checksum 07:31:42 45590311c82a: Download complete 07:31:42 69ca0ff8b7b3: Verifying Checksum 07:31:42 69ca0ff8b7b3: Download complete 07:31:42 b538f80385f9: Verifying Checksum 07:31:42 b538f80385f9: Download complete 07:31:43 b538f80385f9: Pull complete 07:31:43 74f711af9a0d: Pull complete 07:31:44 99f96fe45779: Pull complete 07:31:44 209524e5b208: Verifying Checksum 07:31:44 209524e5b208: Download complete 07:31:46 8529a6b9a6be: Verifying Checksum 07:31:46 8529a6b9a6be: Download complete 07:31:56 8529a6b9a6be: Pull complete 07:31:56 45590311c82a: Pull complete 07:31:56 69ca0ff8b7b3: Pull complete 07:31:58 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.081s coverage: 9.4% of statements 07:31:58 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.073s coverage: 21.9% of statements 07:31:58 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:31:58 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.323s coverage: 42.5% of statements 07:31:58 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:31:58 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.462s coverage: 68.9% of statements 07:31:58 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:31:58 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:31:58 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:31:58 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 07:31:58 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.110s coverage: 52.6% of statements 07:31:58 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 07:31:58 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 07:31:58 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 07:31:58 ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.152s coverage: 68.9% of statements 07:31:58 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.183s coverage: 4.7% of statements 07:31:58 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:31:58 GO111MODULE=on go vet ./... 07:32:01 209524e5b208: Pull complete 07:32:01 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 07:32:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 07:32:01 ---> 5bddaf1c2fca 07:32:01 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:32:03 ---> Running in f814ef2ebd16 07:32:03 Removing intermediate container f814ef2ebd16 07:32:03 ---> edd55f5ea7e1 07:32:03 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:32:04 ---> Running in 47761144edca 07:32:06 Removing intermediate container 47761144edca 07:32:06 ---> ffa90350c562 07:32:06 Step 5/8 : RUN apk add --no-cache make git 07:32:06 ---> Running in 8d7318bee4ad 07:32:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:32:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:32:09 OK: 142 MiB in 39 packages 07:32:10 Removing intermediate container 8d7318bee4ad 07:32:10 ---> 6f8b0dc3d6d5 07:32:10 Step 6/8 : WORKDIR /device-sdk-go 07:32:10 ---> Running in 96d0eb6344f3 07:32:11 Removing intermediate container 96d0eb6344f3 07:32:11 ---> ddc83c489b48 07:32:11 Step 7/8 : COPY . . 07:32:12 ---> 772b02ce2376 07:32:12 Step 8/8 : RUN go mod download 07:32:12 ---> Running in 64a122a751cf 07:32:16 gofmt -l . 07:32:16 [ "`gofmt -l .`" = "" ] 07:32:16 ./bin/test-attribution-txt.sh 07:32:18 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:32:19 $ docker stop --time=1 2a17aca2318451f6538cc8854910e64c31a0a07173b8afeb7a3aa3cb61e07d91 07:32:21 $ docker rm -f 2a17aca2318451f6538cc8854910e64c31a0a07173b8afeb7a3aa3cb61e07d91 [Pipeline] // withDockerContainer [Pipeline] sh 07:32:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:32:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:32:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:32:24 + ls -al . 07:32:24 total 208 07:32:24 drwxrwxr-x. 10 jenkins jenkins 4096 Nov 26 07:32 . 07:32:24 drwxrwxr-x. 4 jenkins jenkins 30 Nov 26 07:29 .. 07:32:24 drwxrwxr-x. 2 jenkins jenkins 64 Nov 26 07:29 bin 07:32:24 -rw-r--r--. 1 jenkins jenkins 127610 Nov 26 07:31 coverage.out 07:32:24 -rw-rw-r--. 1 jenkins jenkins 936 Nov 26 07:29 Dockerfile.build 07:32:24 -rw-rw-r--. 1 jenkins jenkins 140 Nov 26 07:29 .dockerignore 07:32:24 drwxrwxr-x. 4 jenkins jenkins 48 Nov 26 07:29 example 07:32:24 drwxrwxr-x. 8 jenkins jenkins 179 Nov 26 07:29 .git 07:32:24 drwxrwxr-x. 2 jenkins jenkins 60 Nov 26 07:29 .github 07:32:24 -rw-rw-r--. 1 jenkins jenkins 138 Nov 26 07:29 .gitignore 07:32:24 -rw-r--r--. 1 jenkins jenkins 518 Nov 26 07:32 go.mod 07:32:24 -rw-r--r--. 1 jenkins jenkins 13631 Nov 26 07:32 go.sum 07:32:24 drwxrwxr-x. 15 jenkins jenkins 211 Nov 26 07:29 internal 07:32:24 -rw-rw-r--. 1 jenkins jenkins 901 Nov 26 07:29 Jenkinsfile 07:32:24 -rw-rw-r--. 1 jenkins jenkins 11341 Nov 26 07:29 LICENSE 07:32:24 -rw-rw-r--. 1 jenkins jenkins 1013 Nov 26 07:29 Makefile 07:32:24 drwxrwxr-x. 4 jenkins jenkins 26 Nov 26 07:29 openapi 07:32:24 drwxrwxr-x. 5 jenkins jenkins 50 Nov 26 07:29 pkg 07:32:24 -rw-rw-r--. 1 jenkins jenkins 5897 Nov 26 07:29 README.md 07:32:24 -rw-rw-r--. 1 jenkins jenkins 4291 Nov 26 07:29 RELEASE-NOTES.txt 07:32:24 drwxrwxr-x. 4 jenkins jenkins 54 Nov 26 07:29 snap 07:32:24 -rw-rw-r--. 1 jenkins jenkins 5 Nov 26 07:27 VERSION 07:32:24 -rw-rw-r--. 1 jenkins jenkins 222 Nov 26 07:29 version.go [Pipeline] isUnix [Pipeline] sh 07:32:25 + 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=ea97e15d1855d258f28118b7027861f26d07af6c --label arch=amd64 --label version=0.0.0 . 07:32:25 Sending build context to Docker daemon 2.484MB 07:32:25 Step 1/24 : ARG BASE=golang:1.15-alpine 07:32:25 Step 2/24 : FROM ${BASE} AS builder 07:32:25 ---> dc22f8aef9b8 07:32:25 Step 3/24 : ARG MAKE='make build' 07:32:25 ---> Running in c642501317ed 07:32:26 Removing intermediate container c642501317ed 07:32:26 ---> c34d1f01a705 07:32:26 Step 4/24 : WORKDIR /device-sdk-go 07:32:26 ---> Running in b2c7763d04de 07:32:26 Removing intermediate container b2c7763d04de 07:32:26 ---> 0578abd34937 07:32:26 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:32:26 ---> Running in 460c15c9f819 07:32:27 Removing intermediate container 460c15c9f819 07:32:27 ---> c40890b59679 07:32:27 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:32:27 ---> Running in 7d8f653d71c2 07:32:28 Removing intermediate container 7d8f653d71c2 07:32:28 ---> 4ba20273066d 07:32:28 Step 7/24 : RUN apk add --update --no-cache make git 07:32:28 ---> Running in 9c4ccdf0f7e8 07:32:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:32:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:32:30 OK: 166 MiB in 39 packages 07:32:30 Removing intermediate container 9c4ccdf0f7e8 07:32:30 ---> fde38c6b7a33 07:32:30 Step 8/24 : COPY . . 07:32:31 ---> d8e08799f55e 07:32:31 Step 9/24 : RUN ${MAKE} 07:32:31 ---> Running in a33dc1f01010 07:32:32 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:32:45 Removing intermediate container 64a122a751cf 07:32:45 ---> c434bf4428a0 07:32:45 Successfully built c434bf4428a0 07:32:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:32:45 + docker inspect -f . ci-base-image-arm64 07:32:45 . [Pipeline] withDockerContainer 07:32:45 prd-ubuntu18.04-docker-arm64-4c-16g-13518 does not seem to be running inside a container 07:32:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/36 -v /w/workspace/device-sdk-go/36:/w/workspace/device-sdk-go/36:rw,z -v /w/workspace/device-sdk-go/36@tmp:/w/workspace/device-sdk-go/36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:32:47 $ docker top 408a3514e651714e986648b412d0e36fbee8a8e91e465518118502515da1fee7 -eo pid,comm [Pipeline] { [Pipeline] sh 07:32:48 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:32:48 + go version 07:32:48 go version go1.15.2 linux/arm64 [Pipeline] } 07:32:48 $ docker stop --time=1 408a3514e651714e986648b412d0e36fbee8a8e91e465518118502515da1fee7 07:32:50 Removing intermediate container a33dc1f01010 07:32:50 ---> d7402c3663a6 07:32:50 Step 10/24 : FROM scratch 07:32:50 ---> 07:32:50 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:32:50 $ docker rm -f 408a3514e651714e986648b412d0e36fbee8a8e91e465518118502515da1fee7 07:32:50 ---> Running in 794a2df3903f [Pipeline] // withDockerContainer 07:32:50 Removing intermediate container 794a2df3903f 07:32:50 ---> 4c3cf8dcb00f 07:32:50 Step 12/24 : ENV APP_PORT=49990 07:32:50 ---> Running in d53e9e2973ac [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 07:32:51 Removing intermediate container d53e9e2973ac 07:32:51 ---> 1241f2ca7370 07:32:51 Step 13/24 : EXPOSE $APP_PORT 07:32:51 ---> Running in 3fe7384bf160 [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:32:51 Removing intermediate container 3fe7384bf160 07:32:51 ---> e9814e57e2e2 07:32:51 Step 14/24 : WORKDIR / 07:32:51 + docker inspect -f . ci-base-image-arm64 07:32:51 . [Pipeline] withDockerContainer 07:32:51 ---> Running in 93426005e9a8 07:32:51 Removing intermediate container 93426005e9a8 07:32:51 ---> e5d2dd810e94 07:32:51 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:32:51 prd-ubuntu18.04-docker-arm64-4c-16g-13518 does not seem to be running inside a container 07:32:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/36 -v /w/workspace/device-sdk-go/36:/w/workspace/device-sdk-go/36:rw,z -v /w/workspace/device-sdk-go/36@tmp:/w/workspace/device-sdk-go/36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:32:52 ---> 57cd82170b9d 07:32:52 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:32:53 ---> 74dc27a0b7f6 07:32:53 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:32:53 $ docker top b0aff7037d8db1a760d9a653b3e9b7c6f91953f03ed510a5014ce8b3b27db911 -eo pid,comm 07:32:53 ---> e19028f7b2b3 07:32:53 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [Pipeline] { [Pipeline] sh 07:32:53 ---> 520239d60caa 07:32:53 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:32:54 ---> a0fb513e1077 07:32:54 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:32:54 ---> Running in 1b2dccb0fe8b 07:32:54 + make test 07:32:54 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:32:55 Removing intermediate container 1b2dccb0fe8b 07:32:55 ---> 1533dddea9f5 07:32:55 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:32:55 ---> Running in 0e8e1bcd84c7 07:32:55 Removing intermediate container 0e8e1bcd84c7 07:32:55 ---> e3461da0f4d3 07:32:55 Step 22/24 : LABEL arch=amd64 07:32:55 ---> Running in 8580708ce337 07:32:55 Removing intermediate container 8580708ce337 07:32:55 ---> 3b1c12ea4446 07:32:55 Step 23/24 : LABEL git_sha=ea97e15d1855d258f28118b7027861f26d07af6c 07:32:56 ---> Running in f2a5881d364c 07:32:56 Removing intermediate container f2a5881d364c 07:32:56 ---> 8ee48348914e 07:32:56 Step 24/24 : LABEL version=0.0.0 07:32:56 ---> Running in aa59b5171dfc 07:32:57 Removing intermediate container aa59b5171dfc 07:32:57 ---> 5ad5606bf0ec 07:32:57 [Warning] One or more build-args [ARCH] were not consumed 07:32:57 Successfully built 5ad5606bf0ec 07:32:57 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:33:16 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:34:03 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:34:03 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:34:03 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 07:34:03 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.145s coverage: 20.6% of statements 07:34:03 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.180s coverage: 97.1% of statements 07:34:36 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.210s coverage: 9.4% of statements 07:34:36 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.113s coverage: 21.9% of statements 07:34:36 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:34:36 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.641s coverage: 42.5% of statements 07:34:36 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:34:36 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.824s coverage: 68.9% of statements 07:34:36 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:34:36 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:34:36 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:34:36 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 07:34:36 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.184s coverage: 52.6% of statements 07:34:36 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 07:34:36 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 07:34:36 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 07:34:36 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.946s coverage: 68.9% of statements 07:34:36 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.131s coverage: 4.7% of statements 07:34:36 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:34:36 GO111MODULE=on go vet ./... 07:35:08 gofmt -l . 07:35:08 [ "`gofmt -l .`" = "" ] 07:35:08 ./bin/test-attribution-txt.sh 07:35:08 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:35:08 $ docker stop --time=1 b0aff7037d8db1a760d9a653b3e9b7c6f91953f03ed510a5014ce8b3b27db911 07:35:10 $ docker rm -f b0aff7037d8db1a760d9a653b3e9b7c6f91953f03ed510a5014ce8b3b27db911 [Pipeline] // withDockerContainer [Pipeline] sh 07:35:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:35:12 Warning: overwriting stash ‘coverage-report’ 07:35:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:35:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:35:14 + ls -al . 07:35:14 total 244 07:35:14 drwxrwxr-x 10 jenkins jenkins 4096 Nov 26 07:35 . 07:35:14 drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 07:31 .. 07:35:14 -rw-rw-r-- 1 jenkins jenkins 140 Nov 26 07:31 .dockerignore 07:35:14 drwxrwxr-x 8 jenkins jenkins 4096 Nov 26 07:31 .git 07:35:14 drwxrwxr-x 2 jenkins jenkins 4096 Nov 26 07:31 .github 07:35:14 -rw-rw-r-- 1 jenkins jenkins 138 Nov 26 07:31 .gitignore 07:35:14 -rw-rw-r-- 1 jenkins jenkins 936 Nov 26 07:31 Dockerfile.build 07:35:14 -rw-rw-r-- 1 jenkins jenkins 901 Nov 26 07:31 Jenkinsfile 07:35:14 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 26 07:31 LICENSE 07:35:14 -rw-rw-r-- 1 jenkins jenkins 1013 Nov 26 07:31 Makefile 07:35:14 -rw-rw-r-- 1 jenkins jenkins 5897 Nov 26 07:31 README.md 07:35:14 -rw-rw-r-- 1 jenkins jenkins 4291 Nov 26 07:31 RELEASE-NOTES.txt 07:35:14 -rw-rw-r-- 1 jenkins jenkins 5 Nov 26 07:27 VERSION 07:35:14 drwxrwxr-x 2 jenkins jenkins 4096 Nov 26 07:31 bin 07:35:14 -rw-r--r-- 1 jenkins jenkins 127610 Nov 26 07:34 coverage.out 07:35:14 drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 07:31 example 07:35:14 -rw-r--r-- 1 jenkins jenkins 518 Nov 26 07:35 go.mod 07:35:14 -rw-r--r-- 1 jenkins jenkins 13631 Nov 26 07:35 go.sum 07:35:14 drwxrwxr-x 15 jenkins jenkins 4096 Nov 26 07:31 internal 07:35:14 drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 07:31 openapi 07:35:14 drwxrwxr-x 5 jenkins jenkins 4096 Nov 26 07:31 pkg 07:35:14 drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 07:31 snap 07:35:14 -rw-rw-r-- 1 jenkins jenkins 222 Nov 26 07:31 version.go [Pipeline] isUnix [Pipeline] sh 07:35:14 + 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=ea97e15d1855d258f28118b7027861f26d07af6c --label arch=arm64 --label version=0.0.0 . 07:35:15 Sending build context to Docker daemon 2.478MB 07:35:15 Step 1/24 : ARG BASE=golang:1.15-alpine 07:35:15 Step 2/24 : FROM ${BASE} AS builder 07:35:15 ---> c434bf4428a0 07:35:15 Step 3/24 : ARG MAKE='make build' 07:35:15 ---> Running in 4d5c17533d37 07:35:15 Removing intermediate container 4d5c17533d37 07:35:15 ---> 871fbd661cfa 07:35:15 Step 4/24 : WORKDIR /device-sdk-go 07:35:15 ---> Running in ea14f855bb52 07:35:16 Removing intermediate container ea14f855bb52 07:35:16 ---> bdd9da8ae495 07:35:16 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:35:16 ---> Running in fec0d49394fa 07:35:17 Removing intermediate container fec0d49394fa 07:35:17 ---> 9d1d10ac9bfe 07:35:17 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:35:17 ---> Running in 11e7eaa4469a 07:35:19 Removing intermediate container 11e7eaa4469a 07:35:19 ---> 6fe2aa5a4131 07:35:19 Step 7/24 : RUN apk add --update --no-cache make git 07:35:19 ---> Running in 9c4e91c047ed 07:35:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:35:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:35:21 OK: 142 MiB in 39 packages 07:35:22 Removing intermediate container 9c4e91c047ed 07:35:22 ---> 83192aacf94d 07:35:22 Step 8/24 : COPY . . 07:35:24 ---> 04e8923539a9 07:35:24 Step 9/24 : RUN ${MAKE} 07:35:24 ---> Running in 6203b5cfd03c 07:35: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:35:52 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:35:54 Removing intermediate container 6203b5cfd03c 07:35:54 ---> 5cc5ed99154b 07:35:54 Step 10/24 : FROM scratch 07:35:54 ---> 07:35:54 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:35:54 ---> Running in 0a016140dbaf 07:35:55 Removing intermediate container 0a016140dbaf 07:35:55 ---> da0ead3cdca4 07:35:55 Step 12/24 : ENV APP_PORT=49990 07:35:55 ---> Running in 5d040339b046 07:35:55 Removing intermediate container 5d040339b046 07:35:55 ---> edb3287b59a8 07:35:55 Step 13/24 : EXPOSE $APP_PORT 07:35:55 ---> Running in a1d1a69ec2cf 07:35:56 Removing intermediate container a1d1a69ec2cf 07:35:56 ---> e44731756ae9 07:35:56 Step 14/24 : WORKDIR / 07:35:56 ---> Running in 460bb68b7e57 07:35:56 Removing intermediate container 460bb68b7e57 07:35:56 ---> 432d17aa1e46 07:35:56 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:35:57 ---> 31d983a8ee12 07:35:57 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:35:58 ---> 30b7181a0659 07:35:58 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:35:59 ---> f59661db37d3 07:35:59 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:36:00 ---> 539cbff38ba7 07:36:00 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:36:01 ---> 6b96318f6b89 07:36:01 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:36:01 ---> Running in 38375b210ebd 07:36:01 Removing intermediate container 38375b210ebd 07:36:01 ---> f62af5dcebd5 07:36:01 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:36:01 ---> Running in 92bc7393808a 07:36:02 Removing intermediate container 92bc7393808a 07:36:02 ---> 4878293cf520 07:36:02 Step 22/24 : LABEL arch=arm64 07:36:02 ---> Running in 4b8c1e1f457f 07:36:02 Removing intermediate container 4b8c1e1f457f 07:36:02 ---> de0ec9750b4e 07:36:02 Step 23/24 : LABEL git_sha=ea97e15d1855d258f28118b7027861f26d07af6c 07:36:02 ---> Running in 70409c0edbab 07:36:03 Removing intermediate container 70409c0edbab 07:36:03 ---> 1d3737ca79bf 07:36:03 Step 24/24 : LABEL version=0.0.0 07:36:03 ---> Running in 8c43b0464a22 07:36:03 Removing intermediate container 8c43b0464a22 07:36:03 ---> 200e64ef64f6 07:36:03 [Warning] One or more build-args [ARCH] were not consumed 07:36:03 Successfully built 200e64ef64f6 07:36:03 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 07:36:05 provisioning config files... 07:36:05 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config3800221530167570766tmp [Pipeline] { [Pipeline] sh 07:36:06 + set +x 07:36:06 + curl -s https://codecov.io/bash 07:36:06 + bash -s -- 07:36:06 07:36:06 _____ _ 07:36:06 / ____| | | 07:36:06 | | ___ __| | ___ ___ _____ __ 07:36:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:36:06 | |___| (_) | (_| | __/ (_| (_) \ V / 07:36:06 \_____\___/ \__,_|\___|\___\___/ \_/ 07:36:06 Bash-20201124-79cbc08 07:36:06 07:36:06 07:36:06 ==> Jenkins CI detected. 07:36:06 project root: . 07:36:06 --> token set from env 07:36:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:36:06 ==> Running gcov in . (disable via -X gcov) 07:36:06 ==> Python coveragepy not found 07:36:06 ==> Searching for coverage reports in: 07:36:06 + . 07:36:06 -> Found 1 reports 07:36:06 ==> Detecting git/mercurial file structure 07:36:06 ==> Reading reports 07:36:06 + ./coverage.out bytes=127610 07:36:06 ==> Appending adjustments 07:36:06 https://docs.codecov.io/docs/fixing-reports 07:36:07 + Found adjustments 07:36:07 ==> Gzipping contents 07:36:07 24K /tmp/codecov.fKf0iu.gz 07:36:07 ==> Uploading reports 07:36:07 url: https://codecov.io 07:36:07 query: branch=PR-584&commit=ea97e15d1855d258f28118b7027861f26d07af6c&build=36&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F36%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= 07:36:07 -> Pinging Codecov 07:36:07 https://codecov.io/upload/v4?package=bash-20201124-79cbc08&token=secret&branch=PR-584&commit=ea97e15d1855d258f28118b7027861f26d07af6c&build=36&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F36%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= 07:36:07 -> Uploading to 07:36:07 https://storage.googleapis.com/codecov/v4/raw/2020-11-26/7E55EF52A471D76F132DFD9A03CDDE97/ea97e15d1855d258f28118b7027861f26d07af6c/c572c608-e2c1-4352-b491-be8438fffe80.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201126%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201126T073607Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2573b1cb161861ba77e61347474bc4e3da74705140507e9162789dd7955bf110 07:36:07 % Total % Received % Xferd Average Speed Time Time Time Current 07:36:07 Dload Upload Total Spent Left Speed 07:36:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20870 0 0 100 20870 0 19376 0:00:01 0:00:01 --:--:-- 19395 07:36:08 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ea97e15d1855d258f28118b7027861f26d07af6c [Pipeline] } 07:36:08 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 07:36:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:36:12 ---> package-listing.sh 07:36:12 ++ facter osfamily 07:36:12 ++ tr '[:upper:]' '[:lower:]' 07:36:12 + OS_FAMILY=redhat 07:36:12 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-584 07:36:12 + START_PACKAGES=/tmp/packages_start.txt 07:36:12 + END_PACKAGES=/tmp/packages_end.txt 07:36:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:36:12 + PACKAGES=/tmp/packages_start.txt 07:36:12 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' 07:36:12 + PACKAGES=/tmp/packages_end.txt 07:36:12 + case "${OS_FAMILY}" in 07:36:12 + rpm -qa 07:36:12 + sort 07:36:17 + '[' -f /tmp/packages_start.txt ']' 07:36:17 + '[' -f /tmp/packages_end.txt ']' 07:36:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:36:17 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' 07:36:17 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ 07:36:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ [Pipeline] echo 07:36:17 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-584/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:36:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:36:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:36:18 07:36:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:36:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:36:18 alpine: Pulling from edgex-lftools-log-publisher 07:36:18 df20fa9351a1: Pulling fs layer 07:36:18 36b3adc4ff6f: Pulling fs layer 07:36:18 8ad3a11d3b57: Pulling fs layer 07:36:18 46f8f816bc3b: Pulling fs layer 07:36:18 93b61091891f: Pulling fs layer 07:36:18 93b9cdb0e59b: Pulling fs layer 07:36:18 5e14af77c1be: Pulling fs layer 07:36:18 01666e4c0597: Pulling fs layer 07:36:18 aa168da1d23b: Pulling fs layer 07:36:18 93b61091891f: Waiting 07:36:18 93b9cdb0e59b: Waiting 07:36:18 5e14af77c1be: Waiting 07:36:18 aa168da1d23b: Waiting 07:36:18 46f8f816bc3b: Waiting 07:36:18 36b3adc4ff6f: Verifying Checksum 07:36:18 36b3adc4ff6f: Download complete 07:36:18 46f8f816bc3b: Verifying Checksum 07:36:18 46f8f816bc3b: Download complete 07:36:18 df20fa9351a1: Verifying Checksum 07:36:18 df20fa9351a1: Download complete 07:36:18 93b61091891f: Verifying Checksum 07:36:18 93b61091891f: Download complete 07:36:18 5e14af77c1be: Verifying Checksum 07:36:18 5e14af77c1be: Download complete 07:36:18 01666e4c0597: Verifying Checksum 07:36:18 01666e4c0597: Download complete 07:36:18 8ad3a11d3b57: Verifying Checksum 07:36:18 8ad3a11d3b57: Download complete 07:36:19 df20fa9351a1: Pull complete 07:36:19 36b3adc4ff6f: Pull complete 07:36:19 93b9cdb0e59b: Verifying Checksum 07:36:19 93b9cdb0e59b: Download complete 07:36:19 8ad3a11d3b57: Pull complete 07:36:20 46f8f816bc3b: Pull complete 07:36:20 93b61091891f: Pull complete 07:36:20 93b9cdb0e59b: Pull complete 07:36:21 5e14af77c1be: Pull complete 07:36:21 01666e4c0597: Pull complete 07:36:21 aa168da1d23b: Verifying Checksum 07:36:21 aa168da1d23b: Download complete 07:36:28 aa168da1d23b: Pull complete 07:36:28 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:36:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:36:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:36:28 prd-centos7-docker-4c-2g-13512 does not seem to be running inside a container 07:36:28 $ 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-584/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-584 -v /w/workspace/dgexfoundry_device-sdk-go_PR-584:/w/workspace/dgexfoundry_device-sdk-go_PR-584:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-584@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 07:36:32 $ docker top a03fba944ecd5f90428e93a9906498deaaac2198d638cdb57bfbe7018b7328a5 -eo pid,comm [Pipeline] { [Pipeline] sh 07:36:33 + touch /tmp/pre-build-complete [Pipeline] sh 07:36:33 + mkdir -p /var/log/sa [Pipeline] sh 07:36:33 + ls /var/log/sa-host 07:36:33 + sadf -c /var/log/sa-host/sa23 07:36:33 file_magic: OK 07:36:33 HZ: Using current value: 100 07:36:33 file_header: OK 07:36:33 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 07:36:33 Statistics: 07:36:33 Hnuu...uuuununununu... 07:36:33 File successfully converted to sysstat format version 12.2.1 07:36:33 + sadf -c /var/log/sa-host/sa26 07:36:33 file_magic: OK 07:36:33 HZ: Using current value: 100 07:36:33 file_header: OK 07:36:33 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 07:36:33 Statistics: 07:36:33 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:36:33 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:36:34 provisioning config files... 07:36:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config406875642728993619tmp [Pipeline] { [Pipeline] echo 07:36:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:36:34 ---> create-netrc.sh [Pipeline] } 07:36:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:36:34 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:36:35 ---> python-tools-install.sh [Pipeline] echo 07:36:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:36:35 ---> sudo-logs.sh 07:36:35 Archiving 'sudo' log.. [Pipeline] echo 07:36:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:36:35 ---> job-cost.sh 07:36:35 lf-activate-venv: SKIPPING 07:36:35 INFO: No Stack... 07:36:36 INFO: Retrieving Pricing Info for: v1-standard-2 07:36:37 INFO: Archiving Costs [Pipeline] echo 07:36:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:36:37 ---> logs-deploy.sh 07:36:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-584/36 07:36:37 INFO: archiving workspace using pattern(s): 07:36:39 Archives upload complete. 07:36:40 INFO: archiving logs to Nexus 07:36:41 ---> uname -a: 07:36:41 Linux prd-centos7-docker-4c-2g-13512.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 07:36:41 07:36:41 07:36:41 ---> lscpu: 07:36:41 Architecture: x86_64 07:36:41 CPU op-mode(s): 32-bit, 64-bit 07:36:41 Byte Order: Little Endian 07:36:41 Address sizes: 40 bits physical, 48 bits virtual 07:36:41 CPU(s): 4 07:36:41 On-line CPU(s) list: 0-3 07:36:41 Thread(s) per core: 1 07:36:41 Core(s) per socket: 1 07:36:41 Socket(s): 4 07:36:41 NUMA node(s): 1 07:36:41 Vendor ID: GenuineIntel 07:36:41 CPU family: 6 07:36:41 Model: 44 07:36:41 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 07:36:41 Stepping: 1 07:36:41 CPU MHz: 2933.438 07:36:41 BogoMIPS: 5866.87 07:36:41 Virtualization: VT-x 07:36:41 Hypervisor vendor: KVM 07:36:41 Virtualization type: full 07:36:41 L1d cache: 128 KiB 07:36:41 L1i cache: 128 KiB 07:36:41 L2 cache: 16 MiB 07:36:41 L3 cache: 64 MiB 07:36:41 NUMA node0 CPU(s): 0-3 07:36:41 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 07:36:41 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 07:36:41 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 07:36:41 Vulnerability Meltdown: Mitigation; PTI 07:36:41 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 07:36:41 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 07:36:41 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 07:36:41 Vulnerability Srbds: Not affected 07:36:41 Vulnerability Tsx async abort: Not affected 07:36:41 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 07:36:41 07:36:41 07:36:41 ---> nproc: 07:36:41 4 07:36:41 07:36:41 07:36:41 ---> df -h: 07:36:41 Filesystem Size Used Available Use% Mounted on 07:36:41 overlay 50.0G 7.3G 42.7G 15% / 07:36:41 tmpfs 64.0M 0 64.0M 0% /dev 07:36:41 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 07:36:41 shm 64.0M 0 64.0M 0% /dev/shm 07:36:41 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 07:36:41 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 07:36:41 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 07:36:41 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 07:36:41 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 07:36:41 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-584 07:36:41 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp 07:36:41 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 07:36:41 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 07:36:41 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 07:36:41 07:36:41 07:36:41 ---> free -m: 07:36:41 total used free shared buff/cache available 07:36:41 Mem: 1837 679 105 0 1052 1053 07:36:41 Swap: 1023 1 1022 07:36:41 07:36:41 07:36:41 ---> ip addr: 07:36:41 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 07:36:41 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 07:36:41 inet 127.0.0.1/8 scope host lo 07:36:41 valid_lft forever preferred_lft forever 07:36:41 inet6 ::1/128 scope host 07:36:41 valid_lft forever preferred_lft forever 07:36:41 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 07:36:41 link/ether fa:16:3e:8c:29:5d brd ff:ff:ff:ff:ff:ff 07:36:41 inet 10.30.122.44/23 brd 10.30.123.255 scope global dynamic eth0 07:36:41 valid_lft 85773sec preferred_lft 85773sec 07:36:41 inet6 fe80::f816:3eff:fe8c:295d/64 scope link 07:36:41 valid_lft forever preferred_lft forever 07:36:41 3: docker0: mtu 1500 qdisc noqueue state DOWN 07:36:41 link/ether 02:42:a2:ec:ad:89 brd ff:ff:ff:ff:ff:ff 07:36:41 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 07:36:41 valid_lft forever preferred_lft forever 07:36:41 inet6 fe80::42:a2ff:feec:ad89/64 scope link 07:36:41 valid_lft forever preferred_lft forever 07:36:41 07:36:41 07:36:41 ---> sar -b -r -n DEV: 07:36:41 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) 07:36:41 07:36:41 07:26:03 LINUX RESTART (4 CPU) 07:36:41 07:36:41 07:27:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 07:36:41 07:28:01 14.83 4.11 10.72 0.00 1051.97 352.59 0.00 07:36:41 07:29:01 0.95 0.00 0.95 0.00 0.00 23.36 0.00 07:36:41 07:30:01 0.25 0.00 0.25 0.00 0.00 3.41 0.00 07:36:41 07:31:01 0.40 0.00 0.40 0.00 0.00 5.25 0.00 07:36:41 07:32:01 0.48 0.00 0.48 0.00 0.00 6.51 0.00 07:36:41 07:33:01 0.23 0.00 0.23 0.00 0.00 3.25 0.00 07:36:41 07:34:01 0.28 0.00 0.28 0.00 0.00 3.21 0.00 07:36:41 07:35:01 0.25 0.00 0.25 0.00 0.00 2.60 0.00 07:36:41 07:36:01 0.28 0.00 0.28 0.00 0.00 3.21 0.00 07:36:41 Average: 2.00 0.46 1.54 0.00 116.92 44.83 0.00 07:36:41 07:36:41 07:27:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 07:36:41 07:28:01 160612 0 579392 30.79 2620 1138920 1109700 37.87 394648 1126312 24 07:36:41 07:29:01 167616 0 572384 30.42 2620 1138924 1071972 36.58 392816 1122656 16 07:36:41 07:30:01 165496 0 574496 30.53 2620 1138932 1072008 36.59 403868 1113588 8 07:36:41 07:31:01 166476 0 573516 30.48 2620 1138932 1071816 36.58 404796 1111732 20 07:36:41 07:32:01 162240 0 577744 30.71 2620 1138940 1071924 36.58 404344 1116728 16 07:36:41 07:33:01 161708 0 578272 30.73 2620 1138944 1071996 36.59 406676 1114680 12 07:36:41 07:34:01 163212 0 576764 30.65 2620 1138948 1071816 36.58 405568 1114680 12 07:36:41 07:35:01 163484 0 576488 30.64 2620 1138952 1071816 36.58 405824 1114680 8 07:36:41 07:36:01 162352 0 577616 30.70 2620 1138956 1072036 36.59 406652 1114680 20 07:36:41 Average: 163688 0 576297 30.63 2620 1138939 1076120 36.73 402799 1116637 15 07:36:41 07:36:41 07:27:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 07:36:41 07:28:01 eth0 34.93 29.97 43.72 25.00 0.00 0.00 0.00 0.00 07:36:41 07:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:36:41 07:28:01 docker0 8.79 6.88 1.32 20.15 0.00 0.00 0.00 0.00 07:36:41 07:29:01 eth0 2.23 0.32 0.43 0.20 0.00 0.00 0.00 0.00 07:36:41 07:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:36:41 07:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:36:41 07:30:01 eth0 1.96 0.83 0.85 0.59 0.00 0.00 0.00 0.00 07:36:41 07:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:36:41 07:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:36:41 07:31:01 eth0 1.55 0.08 0.13 0.01 0.00 0.00 0.00 0.00 07:36:41 07:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:36:41 07:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:36:41 07:32:01 eth0 2.46 0.35 0.57 0.26 0.00 0.00 0.00 0.00 07:36:41 07:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:36:41 07:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:36:41 07:33:01 eth0 1.05 0.58 0.54 0.40 0.00 0.00 0.00 0.00 07:36:41 07:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:36:41 07:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:36:41 07:34:01 eth0 0.17 0.07 0.01 0.01 0.00 0.00 0.00 0.00 07:36:41 07:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:36:41 07:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:36:41 07:35:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 07:36:41 07:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:36:41 07:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:36:41 07:36:01 eth0 2.11 0.30 0.43 0.14 0.00 0.00 0.00 0.00 07:36:41 07:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:36:41 07:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:36:41 Average: eth0 5.18 3.62 5.19 2.96 0.00 0.00 0.00 0.00 07:36:41 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:36:41 Average: docker0 0.98 0.76 0.15 2.24 0.00 0.00 0.00 0.00 07:36:41 07:36:41 07:36:41 ---> sar -P ALL: 07:36:41 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) 07:36:41 07:36:41 07:26:03 LINUX RESTART (4 CPU) 07:36:41 07:36:41 07:27:01 CPU %user %nice %system %iowait %steal %idle 07:36:41 07:28:01 all 1.31 0.00 1.01 0.10 0.01 97.57 07:36:41 07:28:01 0 1.30 0.00 1.09 0.25 0.00 97.36 07:36:41 07:28:01 1 1.10 0.00 1.00 0.05 0.02 97.83 07:36:41 07:28:01 2 1.72 0.00 1.07 0.03 0.00 97.18 07:36:41 07:28:01 3 1.12 0.00 0.87 0.07 0.02 97.93 07:36:41 07:29:01 all 0.17 0.00 0.05 0.00 0.00 99.78 07:36:41 07:29:01 0 0.05 0.00 0.05 0.00 0.00 99.90 07:36:41 07:29:01 1 0.07 0.00 0.07 0.00 0.00 99.87 07:36:41 07:29:01 2 0.53 0.00 0.07 0.00 0.02 99.38 07:36:41 07:29:01 3 0.02 0.00 0.03 0.00 0.00 99.95 07:36:41 07:30:01 all 0.19 0.00 0.07 0.00 0.01 99.73 07:36:41 07:30:01 0 0.08 0.00 0.05 0.00 0.00 99.87 07:36:41 07:30:01 1 0.42 0.00 0.08 0.00 0.02 99.48 07:36:41 07:30:01 2 0.18 0.00 0.07 0.00 0.00 99.75 07:36:41 07:30:01 3 0.08 0.00 0.10 0.00 0.02 99.80 07:36:41 07:31:01 all 0.04 0.00 0.05 0.00 0.00 99.91 07:36:41 07:31:01 0 0.02 0.00 0.03 0.00 0.00 99.95 07:36:41 07:31:01 1 0.03 0.00 0.05 0.00 0.00 99.92 07:36:41 07:31:01 2 0.05 0.00 0.05 0.00 0.00 99.90 07:36:41 07:31:01 3 0.07 0.00 0.07 0.00 0.00 99.87 07:36:41 07:32:01 all 0.13 0.00 0.13 0.00 0.02 99.72 07:36:41 07:32:01 0 0.07 0.00 0.08 0.00 0.02 99.83 07:36:41 07:32:01 1 0.12 0.00 0.13 0.00 0.02 99.73 07:36:41 07:32:01 2 0.12 0.00 0.15 0.00 0.03 99.70 07:36:41 07:32:01 3 0.23 0.00 0.15 0.00 0.02 99.60 07:36:41 07:33:01 all 0.16 0.00 0.07 0.00 0.00 99.76 07:36:41 07:33:01 0 0.03 0.00 0.03 0.00 0.02 99.92 07:36:41 07:33:01 1 0.02 0.00 0.13 0.00 0.00 99.85 07:36:41 07:33:01 2 0.07 0.00 0.10 0.00 0.00 99.83 07:36:41 07:33:01 3 0.53 0.00 0.03 0.00 0.00 99.43 07:36:41 07:34:01 all 0.17 0.00 0.04 0.00 0.00 99.78 07:36:41 07:34:01 0 0.05 0.00 0.07 0.00 0.00 99.88 07:36:41 07:34:01 1 0.05 0.00 0.03 0.00 0.00 99.92 07:36:41 07:34:01 2 0.07 0.00 0.03 0.00 0.02 99.88 07:36:41 07:34:01 3 0.52 0.00 0.03 0.00 0.00 99.45 07:36:41 07:35:01 all 0.15 0.00 0.04 0.00 0.00 99.81 07:36:41 07:35:01 0 0.02 0.00 0.03 0.00 0.00 99.95 07:36:41 07:35:01 1 0.02 0.00 0.03 0.00 0.00 99.95 07:36:41 07:35:01 2 0.03 0.00 0.05 0.00 0.00 99.92 07:36:41 07:35:01 3 0.53 0.00 0.03 0.00 0.00 99.43 07:36:41 07:36:01 all 0.17 0.00 0.03 0.00 0.06 99.73 07:36:41 07:36:01 0 0.05 0.00 0.02 0.00 0.03 99.90 07:36:41 07:36:01 1 0.08 0.00 0.02 0.00 0.10 99.80 07:36:41 07:36:01 2 0.07 0.00 0.05 0.00 0.07 99.82 07:36:41 07:36:01 3 0.48 0.00 0.05 0.00 0.05 99.42 07:36:41 Average: all 0.28 0.00 0.17 0.01 0.01 99.53 07:36:41 Average: 0 0.19 0.00 0.16 0.03 0.01 99.62 07:36:41 Average: 1 0.21 0.00 0.17 0.01 0.02 99.59 07:36:41 Average: 2 0.32 0.00 0.18 0.00 0.01 99.48 07:36:41 Average: 3 0.40 0.00 0.15 0.01 0.01 99.43 07:36:41 07:36:41 07:36:41