Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of gao270615179 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 76d059c2e27a3d5d488ff0022063f09e99d334bf rather than bb3603909ab1ef3aa492044f3b646f1bb29ba67c Obtained Jenkinsfile from 76d059c2e27a3d5d488ff0022063f09e99d334bf Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-23331 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-732 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/732/head:refs/remotes/origin/PR-732 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c Merge succeeded, producing 0f2f68ce9cb22dd8229168e213abff079c05314d Checking out Revision 0f2f68ce9cb22dd8229168e213abff079c05314d (PR-732) > git config core.sparsecheckout # timeout=10 > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0f2f68ce9cb22dd8229168e213abff079c05314d # timeout=10 Commit message: "Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git rev-list --no-walk 2c6ebf06d77d34a5dd31816cd3384181c472a805 # timeout=10 [Pipeline] timeout 02:43:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:43:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:43:41 ========================================================= 02:43:41 EdgeX Global Pipelines Version Info 02:43:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:43:42 ------------------- 02:43:42 stable info: 02:43:42 ------------------- 02:43:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:42 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:43:42 Message: update stable to v1.0.179 02:43:43 ------------------- 02:43:43 experimental info: 02:43:43 ------------------- 02:43:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:43 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:43:43 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:43:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:43:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:43:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:43:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:43:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:43:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:43:44 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:43:44 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:43:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:43:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:43:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:43:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:43:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:43:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:43:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:43:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:43:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:43:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:43:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:43:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:43:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:43:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:43:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:43:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:43:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:43:46 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:43:46 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 02:43:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-732 [Pipeline] echo 02:43:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-732 [Pipeline] echo 02:43:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-732 [Pipeline] echo 02:43:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0f2f68ce9cb22dd8229168e213abff079c05314d [Pipeline] echo 02:43:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0f2f68c [Pipeline] echo 02:43:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:43:47 provisioning config files... 02:43:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config6766789743014348827tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:47 ---> docker-login.sh 02:43:47 nexus3.edgexfoundry.org:10001 02:43:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:48 Configure a credential helper to remove this warning. See 02:43:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:48 02:43:48 Login Succeeded 02:43:48 nexus3.edgexfoundry.org:10002 02:43:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:48 Configure a credential helper to remove this warning. See 02:43:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:48 02:43:48 Login Succeeded 02:43:48 nexus3.edgexfoundry.org:10003 02:43:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:48 Configure a credential helper to remove this warning. See 02:43:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:48 02:43:48 Login Succeeded 02:43:48 nexus3.edgexfoundry.org:10004 02:43:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:48 Configure a credential helper to remove this warning. See 02:43:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:48 02:43:48 Login Succeeded 02:43:48 docker.io 02:43:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:49 Configure a credential helper to remove this warning. See 02:43:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:49 02:43:49 Login Succeeded 02:43:49 ---> docker-login.sh ends [Pipeline] } 02:43:49 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:43:49 + git log --format=format:%s -1 0f2f68ce9cb22dd8229168e213abff079c05314d [Pipeline] echo 02:43:49 GIT_COMMIT: 0f2f68ce9cb22dd8229168e213abff079c05314d, Commit Message: Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD [Pipeline] echo 02:43:49 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:43:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:50 02:43:50 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:43:51 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:51 latest: Pulling from edgex-devops/git-semver 02:43:51 31603596830f: Pulling fs layer 02:43:51 2a8b12db71e7: Pulling fs layer 02:43:51 6ca5941a6612: Pulling fs layer 02:43:51 ecc8261a40a4: Pulling fs layer 02:43:51 ecc8261a40a4: Waiting 02:43:51 2a8b12db71e7: Verifying Checksum 02:43:51 2a8b12db71e7: Download complete 02:43:51 31603596830f: Verifying Checksum 02:43:51 31603596830f: Download complete 02:43:51 ecc8261a40a4: Verifying Checksum 02:43:51 ecc8261a40a4: Download complete 02:43:51 6ca5941a6612: Verifying Checksum 02:43:51 6ca5941a6612: Download complete 02:43:51 31603596830f: Pull complete 02:43:51 2a8b12db71e7: Pull complete 02:43:52 6ca5941a6612: Pull complete 02:43:52 ecc8261a40a4: Pull complete 02:43:52 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:43:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:52 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:43:52 prd-centos7-docker-4c-2g-23331 does not seem to be running inside a container 02:43:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-732 -v /w/workspace/dgexfoundry_device-sdk-go_PR-732:/w/workspace/dgexfoundry_device-sdk-go_PR-732:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:43:55 $ docker top 984f7d3adb2f97624ed88910f6bc4185ed22d1ae4d4a2ea81d4355c492ec2047 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:43:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:55 [ssh-agent] Looking for ssh-agent implementation... 02:43:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:55 $ docker exec 984f7d3adb2f97624ed88910f6bc4185ed22d1ae4d4a2ea81d4355c492ec2047 ssh-agent 02:43:55 SSH_AUTH_SOCK=/tmp/ssh-J8YDawLvUyFS/agent.12 02:43:55 SSH_AGENT_PID=17 02:43:55 Running ssh-add (command line suppressed) 02:43:55 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_5112116879526616747.key (/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_5112116879526616747.key) 02:43:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:56 + git tag --points-at HEAD [Pipeline] } 02:43:56 $ docker exec --env ******** --env ******** 984f7d3adb2f97624ed88910f6bc4185ed22d1ae4d4a2ea81d4355c492ec2047 ssh-agent -k 02:43:56 unset SSH_AUTH_SOCK; 02:43:56 unset SSH_AGENT_PID; 02:43:56 echo Agent pid 17 killed; 02:43:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:43:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:56 [ssh-agent] Looking for ssh-agent implementation... 02:43:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:56 $ docker exec 984f7d3adb2f97624ed88910f6bc4185ed22d1ae4d4a2ea81d4355c492ec2047 ssh-agent 02:43:57 SSH_AUTH_SOCK=/tmp/ssh-GqueMpiwrHxL/agent.46 02:43:57 SSH_AGENT_PID=51 02:43:57 Running ssh-add (command line suppressed) 02:43:57 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_9000195094984972710.key (/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_9000195094984972710.key) 02:43:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:57 + git semver init 02:43:57 # -> Open(): unable to determine branch for HEAD 02:43:57 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-732/.git 02:43:57 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-732 02:43:57 # $SEMVER_REMOTE_NAME = origin 02:43:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:43:57 # $SEMVER_USER_NAME = edgex-jenkins 02:43:57 # $SEMVER_BRANCH = PR-732 02:43:57 # $SEMVER_TEMP = /tmp/semver-041178036 02:43:57 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:43:58 # '/tmp/semver-041178036' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-732/.semver' 02:43:58 # -> Force: false 02:43:58 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-732/.semver [Pipeline] } 02:43:58 $ docker exec --env ******** --env ******** 984f7d3adb2f97624ed88910f6bc4185ed22d1ae4d4a2ea81d4355c492ec2047 ssh-agent -k 02:43:58 unset SSH_AUTH_SOCK; 02:43:58 unset SSH_AGENT_PID; 02:43:58 echo Agent pid 51 killed; 02:43:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:43:59 + git semver [Pipeline] } 02:43:59 $ docker stop --time=1 984f7d3adb2f97624ed88910f6bc4185ed22d1ae4d4a2ea81d4355c492ec2047 02:44:00 $ docker rm -f 984f7d3adb2f97624ed88910f6bc4185ed22d1ae4d4a2ea81d4355c492ec2047 [Pipeline] // withDockerContainer [Pipeline] sh 02:44:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:44:02 Stashed 1 file(s) [Pipeline] echo 02:44:02 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 02:44:18 Still waiting to schedule task 02:44:18 ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-23330’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-23295’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-23296’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-23297’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-23299’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23332’ doesn’t have label ‘centos7-docker-4c-2g’ 02:44:18 Still waiting to schedule task 02:44:18 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 02:45:27 Running on prd-centos7-docker-4c-2g-23340 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [Pipeline] { [Pipeline] ws 02:45:27 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 02:45:30 using credential edgex-jenkins-ssh 02:45:30 Cloning the remote Git repository 02:45:30 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:45:30 > git init /w/workspace/device-sdk-go/7 # timeout=10 02:45:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:30 > git --version # timeout=10 02:45:30 > git --version # 'git version 2.24.3' 02:45:30 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:31 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/732/head:refs/remotes/origin/PR-732 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:45:32 Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c 02:45:32 Merge succeeded, producing aae9743b0dc0131a679878a3c300da09c6c3fd6a 02:45:32 Checking out Revision aae9743b0dc0131a679878a3c300da09c6c3fd6a (PR-732) 02:45:32 > git config core.sparsecheckout # timeout=10 02:45:32 > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 02:45:32 > git remote # timeout=10 02:45:32 > git config --get remote.origin.url # timeout=10 02:45:32 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:32 > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 02:45:32 > git rev-parse HEAD^{commit} # timeout=10 02:45:32 > git config core.sparsecheckout # timeout=10 02:45:32 > git checkout -f aae9743b0dc0131a679878a3c300da09c6c3fd6a # timeout=10 02:45:36 Commit message: "Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD" 02:45:36 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:45:36 > git rev-list --no-walk 2c6ebf06d77d34a5dd31816cd3384181c472a805 # timeout=10 02:45:37 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:45:38 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:45:38 + sudo service docker restart 02:45:38 + true 02:45:38 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:45:39 provisioning config files... 02:45:39 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config6675371498575357874tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:40 ---> docker-login.sh 02:45:40 nexus3.edgexfoundry.org:10001 02:45:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:40 Configure a credential helper to remove this warning. See 02:45:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:40 02:45:40 Login Succeeded 02:45:40 nexus3.edgexfoundry.org:10002 02:45:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:41 Configure a credential helper to remove this warning. See 02:45:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:41 02:45:41 Login Succeeded 02:45:41 nexus3.edgexfoundry.org:10003 02:45:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:41 Configure a credential helper to remove this warning. See 02:45:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:41 02:45:41 Login Succeeded 02:45:41 nexus3.edgexfoundry.org:10004 02:45:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:41 Configure a credential helper to remove this warning. See 02:45:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:41 02:45:41 Login Succeeded 02:45:41 docker.io 02:45:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:42 Configure a credential helper to remove this warning. See 02:45:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:42 02:45:42 Login Succeeded 02:45:42 ---> docker-login.sh ends [Pipeline] } 02:45:42 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:45:42 ========================================================= 02:45:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:45:42 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:45:42 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 02:45:43 Sending build context to Docker daemon 2.624MB 02:45:43 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:45:43 Step 2/8 : FROM ${BASE} 02:45:43 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:45:43 188c0c94c7c5: Pulling fs layer 02:45:43 0ef7d3d256c8: Pulling fs layer 02:45:43 de9db76c5a1d: Pulling fs layer 02:45:43 bca2f99d35d6: Pulling fs layer 02:45:43 93359f2a8cfa: Pulling fs layer 02:45:43 7c6f9722023f: Pulling fs layer 02:45:43 a35cf1a2eb13: Pulling fs layer 02:45:43 93359f2a8cfa: Waiting 02:45:43 7c6f9722023f: Waiting 02:45:43 a35cf1a2eb13: Waiting 02:45:43 bca2f99d35d6: Waiting 02:45:43 de9db76c5a1d: Verifying Checksum 02:45:43 de9db76c5a1d: Download complete 02:45:43 0ef7d3d256c8: Download complete 02:45:43 93359f2a8cfa: Download complete 02:45:43 7c6f9722023f: Verifying Checksum 02:45:43 7c6f9722023f: Download complete 02:45:43 188c0c94c7c5: Verifying Checksum 02:45:43 188c0c94c7c5: Download complete 02:45:43 188c0c94c7c5: Pull complete 02:45:43 0ef7d3d256c8: Pull complete 02:45:44 de9db76c5a1d: Pull complete 02:45:46 a35cf1a2eb13: Verifying Checksum 02:45:46 a35cf1a2eb13: Download complete 02:45:46 bca2f99d35d6: Verifying Checksum 02:45:46 bca2f99d35d6: Download complete 02:45:53 bca2f99d35d6: Pull complete 02:45:53 93359f2a8cfa: Pull complete 02:45:53 7c6f9722023f: Pull complete 02:45:58 a35cf1a2eb13: Pull complete 02:45:58 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:45:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:45:58 ---> a62c8e92a672 02:45:58 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:45:58 ---> Running in 680ff8b31e7b 02:45:58 Removing intermediate container 680ff8b31e7b 02:45:58 ---> 40b4b8465bae 02:45:58 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:45:58 ---> Running in bcbdc76d11f2 02:45:59 Removing intermediate container bcbdc76d11f2 02:45:59 ---> 05556f344f0d 02:45:59 Step 5/8 : RUN apk add --update --no-cache make git 02:45:59 ---> Running in 770d7ca9a194 02:46:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:46:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:46:03 OK: 166 MiB in 39 packages 02:46:03 Removing intermediate container 770d7ca9a194 02:46:03 ---> d9343529acb1 02:46:03 Step 6/8 : WORKDIR /device-sdk-go 02:46:03 ---> Running in 6eab420446f6 02:46:03 Removing intermediate container 6eab420446f6 02:46:03 ---> b497d6481dea 02:46:03 Step 7/8 : COPY . . 02:46:05 ---> 8fc991cf214f 02:46:05 Step 8/8 : RUN go mod download 02:46:05 ---> Running in 55ce6b0657bb 02:46:23 Removing intermediate container 55ce6b0657bb 02:46:23 ---> 8733ff398672 02:46:23 Successfully built 8733ff398672 02:46:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:46:23 + docker inspect -f . ci-base-image-x86_64 02:46:23 . [Pipeline] withDockerContainer 02:46:24 prd-centos7-docker-4c-2g-23340 does not seem to be running inside a container 02:46:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:46:25 $ docker top b6b801a6e7c6058b5ecee15ef6e562241f23a4d1ffc02a0736bbfd6d0f068136 -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:25 + go version 02:46:25 go version go1.15.5 linux/amd64 [Pipeline] } 02:46:25 $ docker stop --time=1 b6b801a6e7c6058b5ecee15ef6e562241f23a4d1ffc02a0736bbfd6d0f068136 02:46:27 $ docker rm -f b6b801a6e7c6058b5ecee15ef6e562241f23a4d1ffc02a0736bbfd6d0f068136 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:46:28 + docker inspect -f . ci-base-image-x86_64 02:46:28 . [Pipeline] withDockerContainer 02:46:28 prd-centos7-docker-4c-2g-23340 does not seem to be running inside a container 02:46:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:46:29 $ docker top 49dfd15def97b687f9f28f082d302fb3f0bef7fa71ad2a8f9d37f922b45177e2 -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:30 + make test 02:46:30 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:46:40 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:46:58 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:46:58 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:46:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:46:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.077s coverage: 19.4% of statements 02:46:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.460s coverage: 97.1% of statements 02:47:25 Running on prd-ubuntu18.04-docker-arm64-4c-16g-23345 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [Pipeline] { [Pipeline] ws 02:47:25 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 02:47:31 using credential edgex-jenkins-ssh 02:47:31 Cloning the remote Git repository 02:47:31 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:47:31 > git init /w/workspace/device-sdk-go/7 # timeout=10 02:47:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.050s coverage: 9.4% of statements 02:47:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.054s coverage: 21.7% of statements 02:47:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:47:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.253s coverage: 43.2% of statements 02:47:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:47:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.277s coverage: 66.5% of statements 02:47:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:47:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:47:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:47:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:47:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.071s coverage: 53.8% of statements 02:47:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:47:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:47:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.073s coverage: 26.8% of statements 02:47:32 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.488s coverage: 83.5% of statements 02:47:32 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.2% of statements 02:47:32 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:47:32 GO111MODULE=on go vet ./... 02:47:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:47:31 > git --version # timeout=10 02:47:32 > git --version # 'git version 2.17.1' 02:47:32 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:32 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:47:34 Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c 02:47:34 Merge succeeded, producing 7a7ef4214075eadc7d70faa864302cc692798ad2 02:47:34 Checking out Revision 7a7ef4214075eadc7d70faa864302cc692798ad2 (PR-732) 02:47:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:47:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:47:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:47:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:47:33 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/732/head:refs/remotes/origin/PR-732 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:47:34 > git config core.sparsecheckout # timeout=10 02:47:34 > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 02:47:34 > git remote # timeout=10 02:47:34 > git config --get remote.origin.url # timeout=10 02:47:34 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:34 > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 02:47:34 > git rev-parse HEAD^{commit} # timeout=10 02:47:34 > git config core.sparsecheckout # timeout=10 02:47:34 > git checkout -f 7a7ef4214075eadc7d70faa864302cc692798ad2 # timeout=10 02:47:39 Commit message: "Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD" 02:47:39 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:47:40 gofmt -l . 02:47:40 [ "`gofmt -l .`" = "" ] 02:47:40 ./bin/test-attribution-txt.sh 02:47:39 > git rev-list --no-walk 2c6ebf06d77d34a5dd31816cd3384181c472a805 # timeout=10 02:47:40 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 02:47:40 ./bin/test-go-mod-tidy.sh [Pipeline] sh 02:47:41 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [Pipeline] } 02:47:41 $ docker stop --time=1 49dfd15def97b687f9f28f082d302fb3f0bef7fa71ad2a8f9d37f922b45177e2 02:47:41 + sudo service docker restart 02:47:41 + true 02:47:43 $ docker rm -f 49dfd15def97b687f9f28f082d302fb3f0bef7fa71ad2a8f9d37f922b45177e2 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:47:44 provisioning config files... 02:47:44 + sudo chown -R jenkins:jenkins . 02:47:44 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config1368387520947195547tmp [Pipeline] stash [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:47:44 Stashed 1 file(s) [Pipeline] } 02:47:45 ---> docker-login.sh 02:47:45 nexus3.edgexfoundry.org:10001 [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 02:47:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh 02:47:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:46 Configure a credential helper to remove this warning. See 02:47:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:46 02:47:46 Login Succeeded 02:47:46 nexus3.edgexfoundry.org:10002 02:47:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:47:46 + ls -al . 02:47:46 total 216 02:47:46 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 27 02:47 . 02:47:46 drwxrwxr-x. 4 jenkins jenkins 28 Jan 27 02:45 .. 02:47:46 drwxrwxr-x. 2 jenkins jenkins 64 Jan 27 02:45 bin 02:47:46 -rw-r--r--. 1 jenkins jenkins 137881 Jan 27 02:47 coverage.out 02:47:46 -rw-rw-r--. 1 jenkins jenkins 949 Jan 27 02:45 Dockerfile.build 02:47:46 -rw-rw-r--. 1 jenkins jenkins 140 Jan 27 02:45 .dockerignore 02:47:46 drwxrwxr-x. 4 jenkins jenkins 48 Jan 27 02:45 example 02:47:46 drwxrwxr-x. 8 jenkins jenkins 179 Jan 27 02:45 .git 02:47:46 drwxrwxr-x. 2 jenkins jenkins 103 Jan 27 02:45 .github 02:47:46 -rw-rw-r--. 1 jenkins jenkins 138 Jan 27 02:45 .gitignore 02:47:46 -rw-r--r--. 1 jenkins jenkins 514 Jan 27 02:47 go.mod 02:47:46 -rw-r--r--. 1 jenkins jenkins 14016 Jan 27 02:47 go.sum 02:47:46 drwxrwxr-x. 15 jenkins jenkins 211 Jan 27 02:45 internal 02:47:46 -rw-rw-r--. 1 jenkins jenkins 901 Jan 27 02:45 Jenkinsfile 02:47:46 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 27 02:45 LICENSE 02:47:46 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 27 02:45 Makefile 02:47:46 drwxrwxr-x. 4 jenkins jenkins 26 Jan 27 02:45 openapi 02:47:46 drwxrwxr-x. 5 jenkins jenkins 50 Jan 27 02:45 pkg 02:47:46 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 27 02:45 README.md 02:47:46 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 27 02:45 RELEASE-NOTES.txt 02:47:46 drwxrwxr-x. 4 jenkins jenkins 54 Jan 27 02:45 snap 02:47:46 -rw-rw-r--. 1 jenkins jenkins 5 Jan 27 02:44 VERSION 02:47:46 -rw-rw-r--. 1 jenkins jenkins 222 Jan 27 02:45 version.go [Pipeline] isUnix [Pipeline] sh 02:47:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:46 Configure a credential helper to remove this warning. See 02:47:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:46 02:47:46 Login Succeeded 02:47:46 nexus3.edgexfoundry.org:10003 02:47:47 + 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=0f2f68ce9cb22dd8229168e213abff079c05314d --label arch=amd64 --label version=0.0.0 . 02:47:47 Sending build context to Docker daemon 2.763MB 02:47:47 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:47:47 Step 2/24 : FROM ${BASE} AS builder 02:47:47 ---> 8733ff398672 02:47:47 Step 3/24 : ARG MAKE='make build' 02:47:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:47 Configure a credential helper to remove this warning. See 02:47:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:47 02:47:47 Login Succeeded 02:47:47 nexus3.edgexfoundry.org:10004 02:47:47 ---> Running in 35b37086479d 02:47:48 Removing intermediate container 35b37086479d 02:47:48 ---> 719ad3fc6b55 02:47:48 Step 4/24 : WORKDIR /device-sdk-go 02:47:48 ---> Running in 7af1474ef00e 02:47:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:48 Configure a credential helper to remove this warning. See 02:47:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:48 02:47:48 Login Succeeded 02:47:48 docker.io 02:47:48 Removing intermediate container 7af1474ef00e 02:47:48 ---> 04bca7fb3138 02:47:48 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:48 ---> Running in e4a447cd307e 02:47:48 Removing intermediate container e4a447cd307e 02:47:48 ---> c0e7e00f36f0 02:47:48 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:48 ---> Running in c59ff70ba54c 02:47:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:49 Configure a credential helper to remove this warning. See 02:47:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:49 02:47:49 Login Succeeded 02:47:49 ---> docker-login.sh ends [Pipeline] } 02:47:49 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 02:47:49 Removing intermediate container c59ff70ba54c 02:47:49 ---> 5188857b30f0 02:47:49 Step 7/24 : RUN apk add --update --no-cache make git 02:47:49 ---> Running in 6c56bfd5ddb4 [Pipeline] echo 02:47:49 ========================================================= 02:47:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:47:49 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:47:50 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 02:47:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:47:50 Sending build context to Docker daemon 2.623MB 02:47:50 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:47:50 Step 2/8 : FROM ${BASE} 02:47:50 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:47:50 5f621e34cdf4: Pulling fs layer 02:47:50 a4357932f1b6: Pulling fs layer 02:47:50 18c013af1878: Pulling fs layer 02:47:50 00ac8860ef70: Pulling fs layer 02:47:50 63d7cb157983: Pulling fs layer 02:47:50 b116817d02f9: Pulling fs layer 02:47:50 745a02a5169b: Pulling fs layer 02:47:50 63d7cb157983: Waiting 02:47:50 00ac8860ef70: Waiting 02:47:50 b116817d02f9: Waiting 02:47:50 745a02a5169b: Waiting 02:47:50 18c013af1878: Verifying Checksum 02:47:50 18c013af1878: Download complete 02:47:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:47:51 a4357932f1b6: Verifying Checksum 02:47:51 a4357932f1b6: Download complete 02:47:51 63d7cb157983: Verifying Checksum 02:47:51 63d7cb157983: Download complete 02:47:51 5f621e34cdf4: Verifying Checksum 02:47:51 5f621e34cdf4: Download complete 02:47:51 b116817d02f9: Download complete 02:47:51 OK: 166 MiB in 39 packages 02:47:51 5f621e34cdf4: Pull complete 02:47:51 Removing intermediate container 6c56bfd5ddb4 02:47:51 ---> 043c15bae040 02:47:51 Step 8/24 : COPY . . 02:47:53 a4357932f1b6: Pull complete 02:47:53 18c013af1878: Pull complete 02:47:53 ---> 8364f670f60f 02:47:53 Step 9/24 : RUN ${MAKE} 02:47:53 ---> Running in 8b04f2eeaf96 02:47:54 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:47:54 745a02a5169b: Verifying Checksum 02:47:54 745a02a5169b: Download complete 02:47:56 00ac8860ef70: Verifying Checksum 02:47:56 00ac8860ef70: Download complete 02:48:04 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:48:05 Removing intermediate container 8b04f2eeaf96 02:48:05 ---> bd8e193a2bdd 02:48:05 Step 10/24 : FROM scratch 02:48:05 ---> 02:48:05 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:05 ---> Running in 2b1c759788d5 02:48:05 Removing intermediate container 2b1c759788d5 02:48:05 ---> b4a6a06c4b99 02:48:05 Step 12/24 : ENV APP_PORT=49990 02:48:05 ---> Running in 66e3c3bd3e74 02:48:05 Removing intermediate container 66e3c3bd3e74 02:48:05 ---> 7e5b5a406635 02:48:05 Step 13/24 : EXPOSE $APP_PORT 02:48:05 ---> Running in ff2924dc0ec8 02:48:05 Removing intermediate container ff2924dc0ec8 02:48:05 ---> 49ff21e03ab7 02:48:05 Step 14/24 : WORKDIR / 02:48:05 ---> Running in 1975431d4621 02:48:05 Removing intermediate container 1975431d4621 02:48:05 ---> 9e2bcd18b8f0 02:48:05 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:48:06 ---> 1cefba7d87ae 02:48:06 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:48:06 ---> 15605cf14ed8 02:48:06 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:48:06 00ac8860ef70: Pull complete 02:48:06 63d7cb157983: Pull complete 02:48:06 b116817d02f9: Pull complete 02:48:07 ---> 7aa558d13f19 02:48:07 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:48:07 ---> 4e3d4b35afb2 02:48:07 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:48:07 ---> 027cad8e8dfa 02:48:07 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:48:07 ---> Running in 23323c9e26b4 02:48:07 Removing intermediate container 23323c9e26b4 02:48:07 ---> b867b8048bb6 02:48:07 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:48:07 ---> Running in 6e34c708dc65 02:48:08 Removing intermediate container 6e34c708dc65 02:48:08 ---> 57a34de75838 02:48:08 Step 22/24 : LABEL arch=amd64 02:48:08 ---> Running in 45532307ff97 02:48:08 Removing intermediate container 45532307ff97 02:48:08 ---> 62fae8bbd7ea 02:48:08 Step 23/24 : LABEL git_sha=0f2f68ce9cb22dd8229168e213abff079c05314d 02:48:08 ---> Running in fe9c35553c79 02:48:08 Removing intermediate container fe9c35553c79 02:48:08 ---> 5711d44d34e0 02:48:08 Step 24/24 : LABEL version=0.0.0 02:48:08 ---> Running in 8dfc9d7ebdc2 02:48:08 Removing intermediate container 8dfc9d7ebdc2 02:48:08 ---> e1a92783f7bf 02:48:08 [Warning] One or more build-args [ARCH] were not consumed 02:48:08 Successfully built e1a92783f7bf 02:48:08 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:48:11 745a02a5169b: Pull complete 02:48:11 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:48:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:48:11 ---> b7e6874047d6 02:48:11 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:13 ---> Running in 13958593e83f 02:48:14 Removing intermediate container 13958593e83f 02:48:14 ---> 2f0c8267d326 02:48:14 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:48:14 ---> Running in 262ab6ff4d3b 02:48:17 Removing intermediate container 262ab6ff4d3b 02:48:17 ---> e1c6e1f6728b 02:48:17 Step 5/8 : RUN apk add --update --no-cache make git 02:48:17 ---> Running in 64e19afc7292 02:48:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:48:20 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:48:23 OK: 142 MiB in 39 packages 02:48:24 Removing intermediate container 64e19afc7292 02:48:24 ---> f841236120a2 02:48:24 Step 6/8 : WORKDIR /device-sdk-go 02:48:24 ---> Running in ab39f1dfa764 02:48:25 Removing intermediate container ab39f1dfa764 02:48:25 ---> e52441721859 02:48:25 Step 7/8 : COPY . . 02:48:26 ---> 60a680c04669 02:48:26 Step 8/8 : RUN go mod download 02:48:26 ---> Running in 2bcb33a4e78b 02:48:53 Removing intermediate container 2bcb33a4e78b 02:48:53 ---> fce7c7721bb9 02:48:53 Successfully built fce7c7721bb9 02:48:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:48:53 + docker inspect -f . ci-base-image-arm64 02:48:53 . [Pipeline] withDockerContainer 02:48:54 prd-ubuntu18.04-docker-arm64-4c-16g-23345 does not seem to be running inside a container 02:48:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:48:55 $ docker top 07b5b6a4b4e3d28c85afd317cdeab332f371a1aae03f8f245a2280593231402f -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:56 + go version 02:48:56 go version go1.15.5 linux/arm64 [Pipeline] } 02:48:56 $ docker stop --time=1 07b5b6a4b4e3d28c85afd317cdeab332f371a1aae03f8f245a2280593231402f 02:48:58 $ docker rm -f 07b5b6a4b4e3d28c85afd317cdeab332f371a1aae03f8f245a2280593231402f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:48:59 + docker inspect -f . ci-base-image-arm64 02:48:59 . [Pipeline] withDockerContainer 02:49:00 prd-ubuntu18.04-docker-arm64-4c-16g-23345 does not seem to be running inside a container 02:49:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:49:01 $ docker top 952f074349ad750a0a1755180411f0d06c02f068350c69ba77f40a315f83e8ff -eo pid,comm [Pipeline] { [Pipeline] sh 02:49:02 + make test 02:49:02 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:49:25 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:50:12 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:50:12 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:50:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:50:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.161s coverage: 19.4% of statements 02:50:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.342s coverage: 97.1% of statements 02:50:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.135s coverage: 9.4% of statements 02:50:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.122s coverage: 21.7% of statements 02:50:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:50:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.681s coverage: 43.2% of statements 02:50:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:50:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.802s coverage: 66.5% of statements 02:50:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:50:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:50:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:50:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:50:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.208s coverage: 53.8% of statements 02:50:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:50:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:50:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.192s coverage: 26.8% of statements 02:50:46 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.006s coverage: 83.5% of statements 02:50:46 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 4.2% of statements 02:50:46 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:50:46 GO111MODULE=on go vet ./... 02:51:20 gofmt -l . 02:51:20 [ "`gofmt -l .`" = "" ] 02:51:20 ./bin/test-attribution-txt.sh 02:51:20 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:51:20 $ docker stop --time=1 952f074349ad750a0a1755180411f0d06c02f068350c69ba77f40a315f83e8ff 02:51:22 $ docker rm -f 952f074349ad750a0a1755180411f0d06c02f068350c69ba77f40a315f83e8ff [Pipeline] // withDockerContainer [Pipeline] sh 02:51:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:51:23 Warning: overwriting stash ‘coverage-report’ 02:51:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:51:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:51:25 + ls -al . 02:51:25 total 252 02:51:25 drwxrwxr-x 10 jenkins jenkins 4096 Jan 27 02:51 . 02:51:25 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:47 .. 02:51:25 -rw-rw-r-- 1 jenkins jenkins 140 Jan 27 02:47 .dockerignore 02:51:25 drwxrwxr-x 8 jenkins jenkins 4096 Jan 27 02:47 .git 02:51:25 drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 02:47 .github 02:51:25 -rw-rw-r-- 1 jenkins jenkins 138 Jan 27 02:47 .gitignore 02:51:25 -rw-rw-r-- 1 jenkins jenkins 949 Jan 27 02:47 Dockerfile.build 02:51:25 -rw-rw-r-- 1 jenkins jenkins 901 Jan 27 02:47 Jenkinsfile 02:51:25 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 27 02:47 LICENSE 02:51:25 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 27 02:47 Makefile 02:51:25 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 27 02:47 README.md 02:51:25 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 27 02:47 RELEASE-NOTES.txt 02:51:25 -rw-rw-r-- 1 jenkins jenkins 5 Jan 27 02:44 VERSION 02:51:25 drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 02:47 bin 02:51:25 -rw-r--r-- 1 jenkins jenkins 137880 Jan 27 02:50 coverage.out 02:51:25 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:47 example 02:51:25 -rw-r--r-- 1 jenkins jenkins 514 Jan 27 02:51 go.mod 02:51:25 -rw-r--r-- 1 jenkins jenkins 14016 Jan 27 02:51 go.sum 02:51:25 drwxrwxr-x 15 jenkins jenkins 4096 Jan 27 02:47 internal 02:51:25 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:47 openapi 02:51:25 drwxrwxr-x 5 jenkins jenkins 4096 Jan 27 02:47 pkg 02:51:25 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:47 snap 02:51:25 -rw-rw-r-- 1 jenkins jenkins 222 Jan 27 02:47 version.go [Pipeline] isUnix [Pipeline] sh 02:51:25 + 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=0f2f68ce9cb22dd8229168e213abff079c05314d --label arch=arm64 --label version=0.0.0 . 02:51:26 Sending build context to Docker daemon 2.762MB 02:51:26 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:51:26 Step 2/24 : FROM ${BASE} AS builder 02:51:26 ---> fce7c7721bb9 02:51:26 Step 3/24 : ARG MAKE='make build' 02:51:26 ---> Running in 37cea9a170a5 02:51:27 Removing intermediate container 37cea9a170a5 02:51:27 ---> b0e12f68e074 02:51:27 Step 4/24 : WORKDIR /device-sdk-go 02:51:27 ---> Running in 22dc1580521c 02:51:27 Removing intermediate container 22dc1580521c 02:51:27 ---> ddc463472aa2 02:51:27 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:51:27 ---> Running in 4f0b517bedde 02:51:28 Removing intermediate container 4f0b517bedde 02:51:28 ---> 15820304c9f8 02:51:28 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:51:28 ---> Running in 1593764e4b34 02:51:30 Removing intermediate container 1593764e4b34 02:51:30 ---> 7d1b449d7f5b 02:51:30 Step 7/24 : RUN apk add --update --no-cache make git 02:51:30 ---> Running in 12b23da94a99 02:51:31 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:51:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:51:34 OK: 142 MiB in 39 packages 02:51:35 Removing intermediate container 12b23da94a99 02:51:35 ---> 01cef9cfb6c6 02:51:35 Step 8/24 : COPY . . 02:51:36 ---> c9418fdc24a8 02:51:36 Step 9/24 : RUN ${MAKE} 02:51:37 ---> Running in ed7cd8317e83 02:51:38 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:52:04 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:52:04 Removing intermediate container ed7cd8317e83 02:52:04 ---> d5fecaccba0d 02:52:04 Step 10/24 : FROM scratch 02:52:04 ---> 02:52:04 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:52:04 ---> Running in 2aa41b26a0ff 02:52:05 Removing intermediate container 2aa41b26a0ff 02:52:05 ---> ae1c1b4a9d47 02:52:05 Step 12/24 : ENV APP_PORT=49990 02:52:05 ---> Running in a2db0179f243 02:52:06 Removing intermediate container a2db0179f243 02:52:06 ---> 4e9dcb4d7f8b 02:52:06 Step 13/24 : EXPOSE $APP_PORT 02:52:06 ---> Running in 1908c10d0812 02:52:06 Removing intermediate container 1908c10d0812 02:52:06 ---> bd5452236cfa 02:52:06 Step 14/24 : WORKDIR / 02:52:06 ---> Running in 66413a198f2d 02:52:06 Removing intermediate container 66413a198f2d 02:52:06 ---> 04fc8596c702 02:52:06 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:52:08 ---> b8ef43b30d9c 02:52:08 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:52:08 ---> dd65feb66855 02:52:08 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:52:09 ---> a44d95f2a2aa 02:52:09 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:52:10 ---> aee5b6814e3c 02:52:10 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:52:11 ---> 5c523ca8ebd2 02:52:11 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:52:11 ---> Running in 8f123a97307d 02:52:11 Removing intermediate container 8f123a97307d 02:52:11 ---> f215cb2ee7d6 02:52:11 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:52:11 ---> Running in e325f4d9c970 02:52:12 Removing intermediate container e325f4d9c970 02:52:12 ---> 8619ce6857ec 02:52:12 Step 22/24 : LABEL arch=arm64 02:52:12 ---> Running in 8844b1fa06cf 02:52:12 Removing intermediate container 8844b1fa06cf 02:52:12 ---> 5d20c83698eb 02:52:12 Step 23/24 : LABEL git_sha=0f2f68ce9cb22dd8229168e213abff079c05314d 02:52:12 ---> Running in cd1db44dcb35 02:52:13 Removing intermediate container cd1db44dcb35 02:52:13 ---> 1695f0f415f5 02:52:13 Step 24/24 : LABEL version=0.0.0 02:52:13 ---> Running in 73934db19a03 02:52:14 Removing intermediate container 73934db19a03 02:52:14 ---> d2a312294a3c 02:52:14 [Warning] One or more build-args [ARCH] were not consumed 02:52:14 Successfully built d2a312294a3c 02:52:14 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 02:52:15 provisioning config files... 02:52:15 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config3299504104566242503tmp [Pipeline] { [Pipeline] sh 02:52:16 + set +x 02:52:16 + curl -s https://codecov.io/bash 02:52:16 + bash -s -- 02:52:16 02:52:16 _____ _ 02:52:16 / ____| | | 02:52:16 | | ___ __| | ___ ___ _____ __ 02:52:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:52:16 | |___| (_) | (_| | __/ (_| (_) \ V / 02:52:16 \_____\___/ \__,_|\___|\___\___/ \_/ 02:52:16 Bash-20210115-cec3c92 02:52:16 02:52:16 02:52:16 ==> git version 2.24.3 found 02:52:16 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 02:52:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:52:16 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:52:16 ==> Jenkins CI detected. 02:52:16 project root: . 02:52:16 --> token set from env 02:52:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:52:16 ==> Running gcov in . (disable via -X gcov) 02:52:16 ==> Python coveragepy not found 02:52:16 ==> Searching for coverage reports in: 02:52:16 + . 02:52:16 -> Found 1 reports 02:52:16 ==> Detecting git/mercurial file structure 02:52:16 ==> Reading reports 02:52:16 + ./coverage.out bytes=137880 02:52:16 ==> Appending adjustments 02:52:16 https://docs.codecov.io/docs/fixing-reports 02:52:17 + Found adjustments 02:52:17 ==> Gzipping contents 02:52:17 24K /tmp/codecov.LSY185.gz 02:52:17 ==> Uploading reports 02:52:17 url: https://codecov.io 02:52:17 query: branch=PR-732&commit=0f2f68ce9cb22dd8229168e213abff079c05314d&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-732%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=732&job=&cmd_args= 02:52:17 -> Pinging Codecov 02:52:17 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-732&commit=0f2f68ce9cb22dd8229168e213abff079c05314d&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-732%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=732&job=&cmd_args= 02:52:17 -> Uploading to 02:52:17 https://storage.googleapis.com/codecov/v4/raw/2021-01-27/7E55EF52A471D76F132DFD9A03CDDE97/0f2f68ce9cb22dd8229168e213abff079c05314d/cc0e5e5f-9b50-4170-9d5b-35db53b996a7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210127%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210127T025217Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5b3fa8277cffea183beb7da400ae37e79b1cdfee77e0622a0c29b2c59b1b6a8f 02:52:17 % Total % Received % Xferd Average Speed Time Time Time Current 02:52:17 Dload Upload Total Spent Left Speed 02:52:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21641 0 0 100 21641 0 41894 --:--:-- --:--:-- --:--:-- 41858 100 21641 0 0 100 21641 0 41879 --:--:-- --:--:-- --:--:-- 41858 02:52:17 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0f2f68ce9cb22dd8229168e213abff079c05314d [Pipeline] } 02:52:17 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 02:52:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:52:20 ---> package-listing.sh 02:52:20 ++ facter osfamily 02:52:20 ++ tr '[:upper:]' '[:lower:]' 02:52:20 + OS_FAMILY=redhat 02:52:20 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-732 02:52:20 + START_PACKAGES=/tmp/packages_start.txt 02:52:20 + END_PACKAGES=/tmp/packages_end.txt 02:52:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:52:20 + PACKAGES=/tmp/packages_start.txt 02:52:20 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-732 ']' 02:52:20 + PACKAGES=/tmp/packages_end.txt 02:52:20 + case "${OS_FAMILY}" in 02:52:20 + rpm -qa 02:52:20 + sort 02:52:26 + '[' -f /tmp/packages_start.txt ']' 02:52:26 + '[' -f /tmp/packages_end.txt ']' 02:52:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:52:26 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-732 ']' 02:52:26 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-732/archives/ 02:52:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-732/archives/ [Pipeline] echo 02:52:26 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-732/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:52:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:52:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:52:26 02:52:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:52:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:52:27 alpine: Pulling from edgex-lftools-log-publisher 02:52:27 df20fa9351a1: Pulling fs layer 02:52:27 36b3adc4ff6f: Pulling fs layer 02:52:27 8ad3a11d3b57: Pulling fs layer 02:52:27 46f8f816bc3b: Pulling fs layer 02:52:27 93b61091891f: Pulling fs layer 02:52:27 93b9cdb0e59b: Pulling fs layer 02:52:27 5e14af77c1be: Pulling fs layer 02:52:27 01666e4c0597: Pulling fs layer 02:52:27 aa168da1d23b: Pulling fs layer 02:52:27 46f8f816bc3b: Waiting 02:52:27 93b61091891f: Waiting 02:52:27 93b9cdb0e59b: Waiting 02:52:27 5e14af77c1be: Waiting 02:52:27 01666e4c0597: Waiting 02:52:27 aa168da1d23b: Waiting 02:52:27 36b3adc4ff6f: Verifying Checksum 02:52:27 36b3adc4ff6f: Download complete 02:52:27 46f8f816bc3b: Download complete 02:52:27 df20fa9351a1: Verifying Checksum 02:52:27 df20fa9351a1: Download complete 02:52:27 93b61091891f: Download complete 02:52:27 93b9cdb0e59b: Verifying Checksum 02:52:27 93b9cdb0e59b: Download complete 02:52:27 5e14af77c1be: Verifying Checksum 02:52:27 5e14af77c1be: Download complete 02:52:27 01666e4c0597: Verifying Checksum 02:52:27 01666e4c0597: Download complete 02:52:27 df20fa9351a1: Pull complete 02:52:27 36b3adc4ff6f: Pull complete 02:52:27 8ad3a11d3b57: Verifying Checksum 02:52:27 8ad3a11d3b57: Download complete 02:52:28 8ad3a11d3b57: Pull complete 02:52:28 46f8f816bc3b: Pull complete 02:52:30 aa168da1d23b: Verifying Checksum 02:52:30 aa168da1d23b: Download complete 02:52:30 93b61091891f: Pull complete 02:52:30 93b9cdb0e59b: Pull complete 02:52:30 5e14af77c1be: Pull complete 02:52:31 01666e4c0597: Pull complete 02:52:39 aa168da1d23b: Pull complete 02:52:39 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:52:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:52:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:52:39 prd-centos7-docker-4c-2g-23331 does not seem to be running inside a container 02:52:39 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-732/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-732 -v /w/workspace/dgexfoundry_device-sdk-go_PR-732:/w/workspace/dgexfoundry_device-sdk-go_PR-732:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:52:42 $ docker top ecf018a6ba6e6643dd01a4c7fac74fbd09933319d6b19b159784de6bde7eb402 -eo pid,comm [Pipeline] { [Pipeline] sh 02:52:42 + touch /tmp/pre-build-complete [Pipeline] sh 02:52:43 + mkdir -p /var/log/sa [Pipeline] sh 02:52:43 + ls /var/log/sa-host 02:52:43 + sadf -c /var/log/sa-host/sa23 02:52:43 file_magic: OK 02:52:43 HZ: Using current value: 100 02:52:43 file_header: OK 02:52:43 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 02:52:43 Statistics: 02:52:43 Hnuu...uuuununununu... 02:52:43 File successfully converted to sysstat format version 12.2.1 02:52:43 + sadf -c /var/log/sa-host/sa27 02:52:43 file_magic: OK 02:52:43 HZ: Using current value: 100 02:52:43 file_header: OK 02:52:43 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 02:52:43 Statistics: 02:52:43 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:52:43 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:52:43 provisioning config files... 02:52:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config2741837790112933943tmp [Pipeline] { [Pipeline] echo 02:52:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:52:44 ---> create-netrc.sh [Pipeline] } 02:52:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:52:44 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:52:44 ---> python-tools-install.sh [Pipeline] echo 02:52:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:52:44 ---> sudo-logs.sh 02:52:44 Archiving 'sudo' log.. [Pipeline] echo 02:52:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:52:45 ---> job-cost.sh 02:52:45 lf-activate-venv: SKIPPING 02:52:45 INFO: No Stack... 02:52:46 INFO: Retrieving Pricing Info for: v1-standard-2 02:52:46 INFO: Archiving Costs [Pipeline] echo 02:52:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:52:47 ---> logs-deploy.sh 02:52:47 lf-activate-venv: SKIPPING 02:52:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-732/7 02:52:47 INFO: archiving workspace using pattern(s): 02:52:48 Archives upload complete. 02:52:48 INFO: archiving logs to Nexus 02:52:49 ---> uname -a: 02:52:49 Linux prd-centos7-docker-4c-2g-23331.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 02:52:49 02:52:49 02:52:49 ---> lscpu: 02:52:49 Architecture: x86_64 02:52:49 CPU op-mode(s): 32-bit, 64-bit 02:52:49 Byte Order: Little Endian 02:52:49 Address sizes: 40 bits physical, 48 bits virtual 02:52:49 CPU(s): 4 02:52:49 On-line CPU(s) list: 0-3 02:52:49 Thread(s) per core: 1 02:52:49 Core(s) per socket: 1 02:52:49 Socket(s): 4 02:52:49 NUMA node(s): 1 02:52:49 Vendor ID: GenuineIntel 02:52:49 CPU family: 6 02:52:49 Model: 44 02:52:49 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:52:49 Stepping: 1 02:52:49 CPU MHz: 2933.436 02:52:49 BogoMIPS: 5866.87 02:52:49 Virtualization: VT-x 02:52:49 Hypervisor vendor: KVM 02:52:49 Virtualization type: full 02:52:49 L1d cache: 128 KiB 02:52:49 L1i cache: 128 KiB 02:52:49 L2 cache: 16 MiB 02:52:49 L3 cache: 64 MiB 02:52:49 NUMA node0 CPU(s): 0-3 02:52:49 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:52:49 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:52:49 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:52:49 Vulnerability Meltdown: Mitigation; PTI 02:52:49 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:52:49 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:52:49 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:52:49 Vulnerability Srbds: Not affected 02:52:49 Vulnerability Tsx async abort: Not affected 02:52:49 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 02:52:49 02:52:49 02:52:49 ---> nproc: 02:52:49 4 02:52:49 02:52:49 02:52:49 ---> df -h: 02:52:49 Filesystem Size Used Available Use% Mounted on 02:52:49 overlay 50.0G 7.3G 42.7G 15% / 02:52:49 tmpfs 64.0M 0 64.0M 0% /dev 02:52:49 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:52:49 shm 64.0M 0 64.0M 0% /dev/shm 02:52:49 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 02:52:49 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 02:52:49 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 02:52:49 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 02:52:49 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 02:52:49 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 02:52:49 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-732 02:52:49 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp 02:52:49 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 02:52:49 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 02:52:49 02:52:49 02:52:49 ---> free -m: 02:52:49 total used free shared buff/cache available 02:52:49 Mem: 1837 687 109 0 1040 1045 02:52:49 Swap: 1023 1 1022 02:52:49 02:52:49 02:52:49 ---> ip addr: 02:52:49 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:52:49 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:52:49 inet 127.0.0.1/8 scope host lo 02:52:49 valid_lft forever preferred_lft forever 02:52:49 inet6 ::1/128 scope host 02:52:49 valid_lft forever preferred_lft forever 02:52:49 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:52:49 link/ether fa:16:3e:68:2f:2e brd ff:ff:ff:ff:ff:ff 02:52:49 inet 10.30.122.67/23 brd 10.30.123.255 scope global dynamic eth0 02:52:49 valid_lft 85819sec preferred_lft 85819sec 02:52:49 inet6 fe80::f816:3eff:fe68:2f2e/64 scope link 02:52:49 valid_lft forever preferred_lft forever 02:52:49 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:52:49 link/ether 02:42:60:2c:4d:e2 brd ff:ff:ff:ff:ff:ff 02:52:49 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:52:49 valid_lft forever preferred_lft forever 02:52:49 inet6 fe80::42:60ff:fe2c:4de2/64 scope link 02:52:49 valid_lft forever preferred_lft forever 02:52:49 02:52:49 02:52:49 ---> sar -b -r -n DEV: 02:52:49 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/27/21 _x86_64_ (4 CPU) 02:52:49 02:52:49 02:42:58 LINUX RESTART (4 CPU) 02:52:49 02:52:49 02:44:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:52:49 02:45:01 2.43 0.13 2.30 0.00 6.79 49.55 0.00 02:52:49 02:46:01 0.37 0.00 0.37 0.00 0.00 6.11 0.00 02:52:49 02:47:02 0.28 0.00 0.28 0.00 0.00 4.16 0.00 02:52:49 02:48:01 0.25 0.00 0.25 0.00 0.00 3.69 0.00 02:52:49 02:49:01 0.32 0.00 0.32 0.00 0.00 4.61 0.00 02:52:49 02:50:01 0.22 0.00 0.22 0.00 0.00 2.32 0.00 02:52:49 02:51:01 0.30 0.00 0.30 0.00 0.00 4.10 0.00 02:52:49 02:52:01 0.25 0.00 0.25 0.00 0.00 3.20 0.00 02:52:49 Average: 0.55 0.02 0.54 0.00 0.85 9.73 0.00 02:52:49 02:52:49 02:44:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:52:49 02:45:01 157160 0 590068 31.36 2620 1131696 1112924 37.98 407084 1117984 16 02:52:49 02:46:01 160660 0 586560 31.17 2620 1131704 1088656 37.15 414088 1107460 8 02:52:49 02:47:02 160844 0 586372 31.16 2620 1131708 1088680 37.15 414372 1107864 12 02:52:49 02:48:01 159712 0 587500 31.22 2620 1131712 1088704 37.16 418628 1105568 16 02:52:49 02:49:01 159524 0 587684 31.23 2620 1131716 1088692 37.16 424128 1099912 12 02:52:49 02:50:01 161240 0 585964 31.14 2620 1131720 1074240 36.66 423144 1099312 12 02:52:49 02:51:01 161644 0 585556 31.12 2620 1131724 1074240 36.66 423032 1099308 8 02:52:49 02:52:01 160916 0 586280 31.16 2620 1131728 1074372 36.67 423852 1099308 8 02:52:49 Average: 160212 0 586998 31.20 2620 1131714 1086314 37.07 418541 1104590 12 02:52:49 02:52:49 02:44:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:52:49 02:45:01 eth0 14.32 7.26 8.82 9.92 0.00 0.00 0.00 0.00 02:52:49 02:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:49 02:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:49 02:46:01 eth0 3.71 0.77 1.00 0.62 0.00 0.00 0.00 0.00 02:52:49 02:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:49 02:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:49 02:47:02 eth0 4.43 0.82 1.06 0.59 0.00 0.00 0.00 0.00 02:52:49 02:47:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:49 02:47:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:49 02:48:01 eth0 1.68 0.75 0.84 0.59 0.00 0.00 0.00 0.00 02:52:49 02:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:49 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:49 02:49:01 eth0 0.83 0.50 0.41 0.27 0.00 0.00 0.00 0.00 02:52:49 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:49 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:49 02:50:01 eth0 0.08 0.03 0.01 0.00 0.00 0.00 0.00 0.00 02:52:49 02:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:49 02:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:49 02:51:01 eth0 0.55 0.08 0.05 0.01 0.00 0.00 0.00 0.00 02:52:49 02:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:49 02:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:49 02:52:01 eth0 0.82 0.38 0.29 0.20 0.00 0.00 0.00 0.00 02:52:49 02:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:49 02:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:49 Average: eth0 3.31 1.32 1.56 1.53 0.00 0.00 0.00 0.00 02:52:49 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:49 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:49 02:52:49 02:52:49 ---> sar -P ALL: 02:52:49 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/27/21 _x86_64_ (4 CPU) 02:52:49 02:52:49 02:42:58 LINUX RESTART (4 CPU) 02:52:49 02:52:49 02:44:01 CPU %user %nice %system %iowait %steal %idle 02:52:49 02:45:01 all 0.35 0.00 0.10 0.00 0.01 99.54 02:52:49 02:45:01 0 0.23 0.00 0.10 0.00 0.02 99.65 02:52:49 02:45:01 1 0.25 0.00 0.15 0.00 0.00 99.60 02:52:49 02:45:01 2 0.28 0.00 0.07 0.00 0.02 99.63 02:52:49 02:45:01 3 0.62 0.00 0.10 0.00 0.00 99.28 02:52:49 02:46:01 all 0.15 0.00 0.06 0.00 0.07 99.72 02:52:49 02:46:01 0 0.40 0.00 0.05 0.00 0.05 99.50 02:52:49 02:46:01 1 0.05 0.00 0.03 0.00 0.07 99.85 02:52:49 02:46:01 2 0.07 0.00 0.13 0.00 0.10 99.70 02:52:49 02:46:01 3 0.07 0.00 0.03 0.00 0.05 99.85 02:52:49 02:47:02 all 0.15 0.00 0.05 0.00 0.13 99.68 02:52:49 02:47:02 0 0.38 0.00 0.05 0.00 0.13 99.43 02:52:49 02:47:02 1 0.05 0.00 0.03 0.00 0.13 99.78 02:52:49 02:47:02 2 0.05 0.00 0.07 0.00 0.05 99.83 02:52:49 02:47:02 3 0.10 0.00 0.03 0.00 0.20 99.67 02:52:49 02:48:01 all 0.16 0.00 0.03 0.00 0.04 99.78 02:52:49 02:48:01 0 0.03 0.00 0.02 0.00 0.05 99.90 02:52:49 02:48:01 1 0.03 0.00 0.03 0.00 0.05 99.88 02:52:49 02:48:01 2 0.53 0.00 0.05 0.00 0.02 99.41 02:52:49 02:48:01 3 0.03 0.00 0.02 0.00 0.03 99.92 02:52:49 02:49:01 all 0.15 0.00 0.06 0.00 0.00 99.79 02:52:49 02:49:01 0 0.05 0.00 0.05 0.00 0.00 99.90 02:52:49 02:49:01 1 0.03 0.00 0.05 0.00 0.00 99.92 02:52:49 02:49:01 2 0.50 0.00 0.12 0.00 0.00 99.38 02:52:49 02:49:01 3 0.02 0.00 0.03 0.00 0.00 99.95 02:52:49 02:50:01 all 0.14 0.00 0.02 0.00 0.00 99.84 02:52:49 02:50:01 0 0.03 0.00 0.05 0.00 0.00 99.92 02:52:49 02:50:01 1 0.02 0.00 0.00 0.00 0.00 99.98 02:52:49 02:50:01 2 0.50 0.00 0.02 0.00 0.00 99.48 02:52:49 02:50:01 3 0.02 0.00 0.00 0.00 0.02 99.97 02:52:49 02:51:01 all 0.06 0.00 0.04 0.00 0.00 99.90 02:52:49 02:51:01 0 0.02 0.00 0.02 0.00 0.00 99.97 02:52:49 02:51:01 1 0.05 0.00 0.03 0.00 0.00 99.92 02:52:49 02:51:01 2 0.13 0.00 0.07 0.00 0.00 99.80 02:52:49 02:51:01 3 0.03 0.00 0.03 0.00 0.00 99.93 02:52:49 02:52:01 all 0.10 0.00 0.03 0.00 0.00 99.86 02:52:49 02:52:01 0 0.03 0.00 0.03 0.00 0.00 99.93 02:52:49 02:52:01 1 0.02 0.00 0.02 0.00 0.00 99.97 02:52:49 02:52:01 2 0.33 0.00 0.07 0.00 0.02 99.58 02:52:49 02:52:01 3 0.03 0.00 0.02 0.00 0.00 99.95 02:52:49 Average: all 0.16 0.00 0.05 0.00 0.03 99.76 02:52:49 Average: 0 0.15 0.00 0.05 0.00 0.03 99.77 02:52:49 Average: 1 0.06 0.00 0.04 0.00 0.03 99.86 02:52:49 Average: 2 0.30 0.00 0.07 0.00 0.03 99.60 02:52:49 Average: 3 0.11 0.00 0.03 0.00 0.04 99.81 02:52:49 02:52:49 02:52:49