Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b+93569aefbcf2dcd4d18a31fcf2c190494ae30d88 (66526c19d831d176ac03c56de59b67318f1a44a6) 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-17162 in /w/workspace/dgexfoundry_device-sdk-go_PR-692 [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-692 # 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/692/head:refs/remotes/origin/PR-692 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 into PR head commit a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b Merge succeeded, producing 8c52c6dbefe03ddad9e683032218bb1ff7a74c6d Checking out Revision 8c52c6dbefe03ddad9e683032218bb1ff7a74c6d (PR-692) > git config core.sparsecheckout # timeout=10 > git checkout -f a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b # 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 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8c52c6dbefe03ddad9e683032218bb1ff7a74c6d # timeout=10 Commit message: "Merge commit '93569aefbcf2dcd4d18a31fcf2c190494ae30d88' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:42:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk b9f241cb05e8e81268357a29f99a221fd728e08a # timeout=10 [Pipeline] withCredentials 02:42:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:42:34 ========================================================= 02:42:34 EdgeX Global Pipelines Version Info 02:42:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:42:36 ------------------- 02:42:36 stable info: 02:42:36 ------------------- 02:42:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:36 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 02:42:36 Message: update stable to v1.0.173 02:42:37 ------------------- 02:42:37 experimental info: 02:42:37 ------------------- 02:42:37 Commited By: **** collab-it+edgex@linuxfoundation.org 02:42:37 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 02:42:37 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:42:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:42:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:42:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:42:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:42:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:42:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:42:38 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:42:38 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:42:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:42:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:42:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:42:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:42:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:42:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:42:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:42:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:42:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:42:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:42:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:42:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:42:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:42:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:42:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:42:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:42:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:42:39 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:42:40 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 02:42:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-692 [Pipeline] echo 02:42:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-692 [Pipeline] echo 02:42:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-692 [Pipeline] echo 02:42:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8c52c6dbefe03ddad9e683032218bb1ff7a74c6d [Pipeline] echo 02:42:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8c52c6d [Pipeline] echo 02:42:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:42:40 provisioning config files... 02:42:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp/config4609828133464983274tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:42:41 ---> docker-login.sh 02:42:41 nexus3.edgexfoundry.org:10001 02:42:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:41 Configure a credential helper to remove this warning. See 02:42:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:41 02:42:41 Login Succeeded 02:42:41 nexus3.edgexfoundry.org:10002 02:42:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:41 Configure a credential helper to remove this warning. See 02:42:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:41 02:42:41 Login Succeeded 02:42:41 nexus3.edgexfoundry.org:10003 02:42:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:42 Configure a credential helper to remove this warning. See 02:42:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:42 02:42:42 Login Succeeded 02:42:42 nexus3.edgexfoundry.org:10004 02:42:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:42 Configure a credential helper to remove this warning. See 02:42:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:42 02:42:42 Login Succeeded 02:42:42 docker.io 02:42:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:42 Configure a credential helper to remove this warning. See 02:42:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:42 02:42:42 Login Succeeded 02:42:42 ---> docker-login.sh ends [Pipeline] } 02:42:42 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:42:43 + git log --format=format:%s -1 8c52c6dbefe03ddad9e683032218bb1ff7a74c6d [Pipeline] echo 02:42:43 GIT_COMMIT: 8c52c6dbefe03ddad9e683032218bb1ff7a74c6d, Commit Message: Merge commit '93569aefbcf2dcd4d18a31fcf2c190494ae30d88' into HEAD [Pipeline] echo 02:42:43 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:42:44 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:44 02:42:44 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:42:44 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:44 latest: Pulling from edgex-devops/git-semver 02:42:44 31603596830f: Pulling fs layer 02:42:44 2a8b12db71e7: Pulling fs layer 02:42:44 6ca5941a6612: Pulling fs layer 02:42:44 ecc8261a40a4: Pulling fs layer 02:42:44 2a8b12db71e7: Verifying Checksum 02:42:44 2a8b12db71e7: Download complete 02:42:44 31603596830f: Verifying Checksum 02:42:44 31603596830f: Download complete 02:42:44 ecc8261a40a4: Verifying Checksum 02:42:44 ecc8261a40a4: Download complete 02:42:44 6ca5941a6612: Verifying Checksum 02:42:44 6ca5941a6612: Download complete 02:42:45 31603596830f: Pull complete 02:42:45 2a8b12db71e7: Pull complete 02:42:46 6ca5941a6612: Pull complete 02:42:46 ecc8261a40a4: Pull complete 02:42:46 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:42:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:46 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:42:46 prd-centos7-docker-4c-2g-17162 does not seem to be running inside a container 02:42:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-692 -v /w/workspace/dgexfoundry_device-sdk-go_PR-692:/w/workspace/dgexfoundry_device-sdk-go_PR-692:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:42:48 $ docker top 2718883ffea8f320c41ced1625dc1e975019b1fc5581173f9d13d0aeca2fef8f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:42:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:48 [ssh-agent] Looking for ssh-agent implementation... 02:42:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:49 $ docker exec 2718883ffea8f320c41ced1625dc1e975019b1fc5581173f9d13d0aeca2fef8f ssh-agent 02:42:49 SSH_AUTH_SOCK=/tmp/ssh-nC0iJCmmjacD/agent.11 02:42:49 SSH_AGENT_PID=16 02:42:49 Running ssh-add (command line suppressed) 02:42:49 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp/private_key_3002608700177700760.key (/w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp/private_key_3002608700177700760.key) 02:42:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:49 + git tag --points-at HEAD [Pipeline] } 02:42:49 $ docker exec --env ******** --env ******** 2718883ffea8f320c41ced1625dc1e975019b1fc5581173f9d13d0aeca2fef8f ssh-agent -k 02:42:49 unset SSH_AUTH_SOCK; 02:42:49 unset SSH_AGENT_PID; 02:42:49 echo Agent pid 16 killed; 02:42:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:42:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:50 [ssh-agent] Looking for ssh-agent implementation... 02:42:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:50 $ docker exec 2718883ffea8f320c41ced1625dc1e975019b1fc5581173f9d13d0aeca2fef8f ssh-agent 02:42:50 SSH_AUTH_SOCK=/tmp/ssh-9EPL0vRM7F1i/agent.46 02:42:50 SSH_AGENT_PID=51 02:42:50 Running ssh-add (command line suppressed) 02:42:50 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp/private_key_8607567076112878069.key (/w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp/private_key_8607567076112878069.key) 02:42:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:51 + git semver init 02:42:51 # -> Open(): unable to determine branch for HEAD 02:42:51 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-692/.git 02:42:51 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-692 02:42:51 # $SEMVER_REMOTE_NAME = origin 02:42:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:42:51 # $SEMVER_USER_NAME = edgex-jenkins 02:42:51 # $SEMVER_BRANCH = PR-692 02:42:51 # $SEMVER_TEMP = /tmp/semver-193601234 02:42:51 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:42:52 # '/tmp/semver-193601234' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-692/.semver' 02:42:52 # -> Force: false 02:42:52 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-692/.semver [Pipeline] } 02:42:52 $ docker exec --env ******** --env ******** 2718883ffea8f320c41ced1625dc1e975019b1fc5581173f9d13d0aeca2fef8f ssh-agent -k 02:42:52 unset SSH_AUTH_SOCK; 02:42:52 unset SSH_AGENT_PID; 02:42:52 echo Agent pid 51 killed; 02:42:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:42:52 + git semver [Pipeline] } 02:42:52 $ docker stop --time=1 2718883ffea8f320c41ced1625dc1e975019b1fc5581173f9d13d0aeca2fef8f 02:42:54 $ docker rm -f 2718883ffea8f320c41ced1625dc1e975019b1fc5581173f9d13d0aeca2fef8f [Pipeline] // withDockerContainer [Pipeline] sh 02:42:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:42:55 Stashed 1 file(s) [Pipeline] echo 02:42:55 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 02:43:10 Still waiting to schedule task 02:43:10 ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-17163’ is offline; ‘prd-centos7-docker-4c-2g-17164’ is offline; ‘prd-centos7-docker-4c-2g-17165’ is offline 02:43:10 Still waiting to schedule task 02:43:10 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 02:44:08 Running on prd-centos7-docker-4c-2g-17167 in /w/workspace/dgexfoundry_device-sdk-go_PR-692 [Pipeline] { [Pipeline] ws 02:44:09 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 02:44:11 using credential edgex-jenkins-ssh 02:44:11 Cloning the remote Git repository 02:44:11 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:44:11 > git init /w/workspace/device-sdk-go/7 # timeout=10 02:44:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:11 > git --version # timeout=10 02:44:11 > git --version # 'git version 2.24.3' 02:44:11 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:12 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/692/head:refs/remotes/origin/PR-692 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:44:12 Merging remotes/origin/master commit 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 into PR head commit a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b 02:44:13 Merge succeeded, producing 6c3c617f2eec90d9b1fb40aac0d15379db1914ec 02:44:13 Checking out Revision 6c3c617f2eec90d9b1fb40aac0d15379db1914ec (PR-692) 02:44:12 > git config core.sparsecheckout # timeout=10 02:44:12 > git checkout -f a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b # timeout=10 02:44:13 > git remote # timeout=10 02:44:13 > git config --get remote.origin.url # timeout=10 02:44:13 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:13 > git merge 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 # timeout=10 02:44:13 > git rev-parse HEAD^{commit} # timeout=10 02:44:13 > git config core.sparsecheckout # timeout=10 02:44:13 > git checkout -f 6c3c617f2eec90d9b1fb40aac0d15379db1914ec # timeout=10 02:44:16 Commit message: "Merge commit '93569aefbcf2dcd4d18a31fcf2c190494ae30d88' into HEAD" 02:44:16 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:44:16 > git rev-list --no-walk b9f241cb05e8e81268357a29f99a221fd728e08a # timeout=10 02:44:17 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:44:18 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:44:18 + sudo service docker restart 02:44:18 + true 02:44:18 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:44:20 provisioning config files... 02:44:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config6421754701740147602tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:20 ---> docker-login.sh 02:44:20 nexus3.edgexfoundry.org:10001 02:44:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:21 Configure a credential helper to remove this warning. See 02:44:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:21 02:44:21 Login Succeeded 02:44:21 nexus3.edgexfoundry.org:10002 02:44:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:21 Configure a credential helper to remove this warning. See 02:44:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:21 02:44:21 Login Succeeded 02:44:21 nexus3.edgexfoundry.org:10003 02:44:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:21 Configure a credential helper to remove this warning. See 02:44:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:21 02:44:21 Login Succeeded 02:44:21 nexus3.edgexfoundry.org:10004 02:44:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:21 Configure a credential helper to remove this warning. See 02:44:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:21 02:44:21 Login Succeeded 02:44:21 docker.io 02:44:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:22 Configure a credential helper to remove this warning. See 02:44:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:22 02:44:22 Login Succeeded 02:44:22 ---> docker-login.sh ends [Pipeline] } 02:44:22 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:44:22 ========================================================= 02:44:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:44:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:44:22 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 02:44:22 Sending build context to Docker daemon 2.426MB 02:44:23 Step 1/8 : ARG BASE=golang:1.15-alpine 02:44:23 Step 2/8 : FROM ${BASE} 02:44:23 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:44:23 188c0c94c7c5: Pulling fs layer 02:44:23 0ef7d3d256c8: Pulling fs layer 02:44:23 de9db76c5a1d: Pulling fs layer 02:44:23 bca2f99d35d6: Pulling fs layer 02:44:23 93359f2a8cfa: Pulling fs layer 02:44:23 7c6f9722023f: Pulling fs layer 02:44:23 a35cf1a2eb13: Pulling fs layer 02:44:23 a35cf1a2eb13: Waiting 02:44:23 93359f2a8cfa: Waiting 02:44:23 7c6f9722023f: Waiting 02:44:23 bca2f99d35d6: Waiting 02:44:23 de9db76c5a1d: Verifying Checksum 02:44:23 de9db76c5a1d: Download complete 02:44:23 0ef7d3d256c8: Verifying Checksum 02:44:23 0ef7d3d256c8: Download complete 02:44:23 93359f2a8cfa: Verifying Checksum 02:44:23 7c6f9722023f: Verifying Checksum 02:44:23 7c6f9722023f: Download complete 02:44:23 188c0c94c7c5: Verifying Checksum 02:44:23 188c0c94c7c5: Download complete 02:44:23 188c0c94c7c5: Pull complete 02:44:23 0ef7d3d256c8: Pull complete 02:44:23 de9db76c5a1d: Pull complete 02:44:25 a35cf1a2eb13: Verifying Checksum 02:44:25 a35cf1a2eb13: Download complete 02:44:26 bca2f99d35d6: Verifying Checksum 02:44:26 bca2f99d35d6: Download complete 02:44:31 bca2f99d35d6: Pull complete 02:44:31 93359f2a8cfa: Pull complete 02:44:31 7c6f9722023f: Pull complete 02:44:35 a35cf1a2eb13: Pull complete 02:44:35 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:44:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:44:35 ---> a62c8e92a672 02:44:35 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:44:35 ---> Running in 4e629f711365 02:44:35 Removing intermediate container 4e629f711365 02:44:35 ---> 09b3be7a9c10 02:44:35 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:44:36 ---> Running in 67315f093c4d 02:44:37 Removing intermediate container 67315f093c4d 02:44:37 ---> 6d490bb5cf65 02:44:37 Step 5/8 : RUN apk add --no-cache make git 02:44:37 ---> Running in a38e52994cec 02:44:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:44:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:44:39 OK: 166 MiB in 39 packages 02:44:40 Removing intermediate container a38e52994cec 02:44:40 ---> a3379869c815 02:44:40 Step 6/8 : WORKDIR /device-sdk-go 02:44:40 ---> Running in 5beb46577e2d 02:44:40 Removing intermediate container 5beb46577e2d 02:44:40 ---> fea31230fd17 02:44:40 Step 7/8 : COPY . . 02:44:41 ---> 4bb2acd5ae27 02:44:41 Step 8/8 : RUN go mod download 02:44:41 ---> Running in 49ca01656a43 02:44:59 Removing intermediate container 49ca01656a43 02:44:59 ---> d67248797b4c 02:44:59 Successfully built d67248797b4c 02:44:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:45:00 + docker inspect -f . ci-base-image-x86_64 02:45:00 . [Pipeline] withDockerContainer 02:45:00 prd-centos7-docker-4c-2g-17167 does not seem to be running inside a container 02:45: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 ******** ci-base-image-x86_64 cat 02:45:01 $ docker top ad57f6e14d6dacf90af10175f4c83e51aef73c18e6c8ec7c96fe647c8af34075 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:02 + go version 02:45:02 go version go1.15.5 linux/amd64 [Pipeline] } 02:45:02 $ docker stop --time=1 ad57f6e14d6dacf90af10175f4c83e51aef73c18e6c8ec7c96fe647c8af34075 02:45:03 $ docker rm -f ad57f6e14d6dacf90af10175f4c83e51aef73c18e6c8ec7c96fe647c8af34075 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:45:04 + docker inspect -f . ci-base-image-x86_64 02:45:04 . [Pipeline] withDockerContainer 02:45:04 prd-centos7-docker-4c-2g-17167 does not seem to be running inside a container 02:45:04 $ 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 ******** ci-base-image-x86_64 cat 02:45:05 $ docker top 3d075c55b390f17a6d108438cb8db27893d72cf5c818708dca7cff2c11339461 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:05 + make test 02:45:05 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:45:14 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:45:29 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:45:29 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:45:29 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:45:29 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.057s coverage: 19.4% of statements 02:45:31 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.491s coverage: 97.1% of statements 02:45:41 Running on prd-ubuntu18.04-docker-arm64-4c-16g-17169 in /w/workspace/dgexfoundry_device-sdk-go_PR-692 [Pipeline] { [Pipeline] ws 02:45:41 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 02:45:46 using credential edgex-jenkins-ssh 02:45:46 Cloning the remote Git repository 02:45:46 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:45:46 > git init /w/workspace/device-sdk-go/7 # timeout=10 02:45:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:46 > git --version # timeout=10 02:45:46 > git --version # 'git version 2.17.1' 02:45:46 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:46 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:48 Merging remotes/origin/master commit 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 into PR head commit a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b 02:45:48 Merge succeeded, producing ca586711ed23e17bc5912144e844e1d788609bd3 02:45:48 Checking out Revision ca586711ed23e17bc5912144e844e1d788609bd3 (PR-692) 02:45:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:48 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:48 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/692/head:refs/remotes/origin/PR-692 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:45:48 > git config core.sparsecheckout # timeout=10 02:45:48 > git checkout -f a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b # timeout=10 02:45:48 > git remote # timeout=10 02:45:48 > git config --get remote.origin.url # timeout=10 02:45:48 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:48 > git merge 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 # timeout=10 02:45:48 > git rev-parse HEAD^{commit} # timeout=10 02:45:49 > git config core.sparsecheckout # timeout=10 02:45:49 > git checkout -f ca586711ed23e17bc5912144e844e1d788609bd3 # timeout=10 02:45:55 Commit message: "Merge commit '93569aefbcf2dcd4d18a31fcf2c190494ae30d88' into HEAD" 02:45:55 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:45:55 > git rev-list --no-walk b9f241cb05e8e81268357a29f99a221fd728e08a # timeout=10 02:45:56 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:45:57 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:45:57 + sudo service docker restart 02:45:57 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:46:00 provisioning config files... 02:46:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config3075886927692283469tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:46:00 ---> docker-login.sh 02:46:00 nexus3.edgexfoundry.org:10001 02:46:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:02 Configure a credential helper to remove this warning. See 02:46:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:02 02:46:02 Login Succeeded 02:46:02 nexus3.edgexfoundry.org:10002 02:46:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:02 Configure a credential helper to remove this warning. See 02:46:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:02 02:46:02 Login Succeeded 02:46:02 nexus3.edgexfoundry.org:10003 02:46:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:03 Configure a credential helper to remove this warning. See 02:46:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:03 02:46:03 Login Succeeded 02:46:03 nexus3.edgexfoundry.org:10004 02:46:03 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.063s coverage: 9.4% of statements 02:46:03 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.059s coverage: 21.9% of statements 02:46:03 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:46:03 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.239s coverage: 42.5% of statements 02:46:03 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:46:03 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.303s coverage: 68.9% of statements 02:46:03 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:46:03 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:46:03 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:46:03 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:46:03 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.069s coverage: 53.8% of statements 02:46:03 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:46:03 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:46:03 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:46:03 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.307s coverage: 68.9% of statements 02:46:03 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.054s coverage: 4.2% of statements 02:46:03 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:46:03 GO111MODULE=on go vet ./... 02:46:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:03 Configure a credential helper to remove this warning. See 02:46:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:03 02:46:03 Login Succeeded 02:46:03 docker.io 02:46:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:04 Configure a credential helper to remove this warning. See 02:46:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:04 02:46:04 Login Succeeded 02:46:04 ---> docker-login.sh ends [Pipeline] } 02:46:04 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:46:05 ========================================================= 02:46:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:46:05 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:46:05 + 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:46:05 Sending build context to Docker daemon 2.424MB 02:46:06 Step 1/8 : ARG BASE=golang:1.15-alpine 02:46:06 Step 2/8 : FROM ${BASE} 02:46:06 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:46:06 5f621e34cdf4: Pulling fs layer 02:46:06 a4357932f1b6: Pulling fs layer 02:46:06 18c013af1878: Pulling fs layer 02:46:06 00ac8860ef70: Pulling fs layer 02:46:06 63d7cb157983: Pulling fs layer 02:46:06 b116817d02f9: Pulling fs layer 02:46:06 745a02a5169b: Pulling fs layer 02:46:06 00ac8860ef70: Waiting 02:46:06 63d7cb157983: Waiting 02:46:06 b116817d02f9: Waiting 02:46:06 745a02a5169b: Waiting 02:46:06 18c013af1878: Verifying Checksum 02:46:06 a4357932f1b6: Download complete 02:46:06 63d7cb157983: Download complete 02:46:06 b116817d02f9: Download complete 02:46:06 5f621e34cdf4: Verifying Checksum 02:46:06 5f621e34cdf4: Download complete 02:46:07 5f621e34cdf4: Pull complete 02:46:07 a4357932f1b6: Pull complete 02:46:08 18c013af1878: Pull complete 02:46:08 745a02a5169b: Verifying Checksum 02:46:08 745a02a5169b: Download complete 02:46:09 00ac8860ef70: Verifying Checksum 02:46:09 00ac8860ef70: Download complete 02:46:09 gofmt -l . 02:46:09 [ "`gofmt -l .`" = "" ] 02:46:09 ./bin/test-attribution-txt.sh 02:46:09 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:46:09 $ docker stop --time=1 3d075c55b390f17a6d108438cb8db27893d72cf5c818708dca7cff2c11339461 02:46:11 $ docker rm -f 3d075c55b390f17a6d108438cb8db27893d72cf5c818708dca7cff2c11339461 [Pipeline] // withDockerContainer [Pipeline] sh 02:46:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:46:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:46:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:46:15 + ls -al . 02:46:15 total 208 02:46:15 drwxrwxr-x. 10 jenkins jenkins 4096 Dec 22 02:46 . 02:46:15 drwxrwxr-x. 4 jenkins jenkins 28 Dec 22 02:44 .. 02:46:15 drwxrwxr-x. 2 jenkins jenkins 64 Dec 22 02:44 bin 02:46:15 -rw-r--r--. 1 jenkins jenkins 130526 Dec 22 02:45 coverage.out 02:46:15 -rw-rw-r--. 1 jenkins jenkins 936 Dec 22 02:44 Dockerfile.build 02:46:15 -rw-rw-r--. 1 jenkins jenkins 140 Dec 22 02:44 .dockerignore 02:46:15 drwxrwxr-x. 4 jenkins jenkins 48 Dec 22 02:44 example 02:46:15 drwxrwxr-x. 8 jenkins jenkins 179 Dec 22 02:44 .git 02:46:15 drwxrwxr-x. 2 jenkins jenkins 103 Dec 22 02:44 .github 02:46:15 -rw-rw-r--. 1 jenkins jenkins 138 Dec 22 02:44 .gitignore 02:46:15 -rw-r--r--. 1 jenkins jenkins 488 Dec 22 02:46 go.mod 02:46:15 -rw-r--r--. 1 jenkins jenkins 13734 Dec 22 02:46 go.sum 02:46:15 drwxrwxr-x. 15 jenkins jenkins 211 Dec 22 02:44 internal 02:46:15 -rw-rw-r--. 1 jenkins jenkins 901 Dec 22 02:44 Jenkinsfile 02:46:15 -rw-rw-r--. 1 jenkins jenkins 11341 Dec 22 02:44 LICENSE 02:46:15 -rw-rw-r--. 1 jenkins jenkins 1013 Dec 22 02:44 Makefile 02:46:15 drwxrwxr-x. 4 jenkins jenkins 26 Dec 22 02:44 openapi 02:46:15 drwxrwxr-x. 5 jenkins jenkins 50 Dec 22 02:44 pkg 02:46:15 -rw-rw-r--. 1 jenkins jenkins 5897 Dec 22 02:44 README.md 02:46:15 -rw-rw-r--. 1 jenkins jenkins 6616 Dec 22 02:44 RELEASE-NOTES.txt 02:46:15 drwxrwxr-x. 4 jenkins jenkins 54 Dec 22 02:44 snap 02:46:15 -rw-rw-r--. 1 jenkins jenkins 5 Dec 22 02:42 VERSION 02:46:15 -rw-rw-r--. 1 jenkins jenkins 222 Dec 22 02:44 version.go [Pipeline] isUnix [Pipeline] sh 02:46:16 + 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=8c52c6dbefe03ddad9e683032218bb1ff7a74c6d --label arch=amd64 --label version=0.0.0 . 02:46:16 Sending build context to Docker daemon 2.557MB 02:46:16 Step 1/24 : ARG BASE=golang:1.15-alpine 02:46:16 Step 2/24 : FROM ${BASE} AS builder 02:46:16 ---> d67248797b4c 02:46:16 Step 3/24 : ARG MAKE='make build' 02:46:17 ---> Running in aa35a8858351 02:46:17 Removing intermediate container aa35a8858351 02:46:17 ---> c67879a97cf8 02:46:17 Step 4/24 : WORKDIR /device-sdk-go 02:46:17 ---> Running in cc202a7b5228 02:46:17 Removing intermediate container cc202a7b5228 02:46:17 ---> 6489dc83fd2e 02:46:17 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:17 ---> Running in b3fe7fa5912f 02:46:17 Removing intermediate container b3fe7fa5912f 02:46:17 ---> bd2fee63a12f 02:46:17 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:17 ---> Running in d627f5ca2a4d 02:46:18 Removing intermediate container d627f5ca2a4d 02:46:18 ---> dad01a0613f6 02:46:18 Step 7/24 : RUN apk add --update --no-cache make git 02:46:18 ---> Running in a23465ab033c 02:46:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:46:19 00ac8860ef70: Pull complete 02:46:19 63d7cb157983: Pull complete 02:46:19 b116817d02f9: Pull complete 02:46:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:46:23 745a02a5169b: Pull complete 02:46:23 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:46:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:46:23 ---> b7e6874047d6 02:46:23 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:23 OK: 166 MiB in 39 packages 02:46:24 Removing intermediate container a23465ab033c 02:46:24 ---> fbe501d3f612 02:46:24 Step 8/24 : COPY . . 02:46:25 ---> 5b4c0cc390a3 02:46:25 Step 9/24 : RUN ${MAKE} 02:46:25 ---> Running in cad62e1678f7 02:46:25 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:46:26 ---> Running in 0f9bff0ce717 02:46:27 Removing intermediate container 0f9bff0ce717 02:46:27 ---> 1911cdbd7dbc 02:46:27 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:27 ---> Running in 15ab2209cf08 02:46:29 Removing intermediate container 15ab2209cf08 02:46:29 ---> 2f7d4d70fcd0 02:46:29 Step 5/8 : RUN apk add --no-cache make git 02:46:29 ---> Running in bb9e147aa0f9 02:46:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:46:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:46:34 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:46:34 OK: 142 MiB in 39 packages 02:46:35 Removing intermediate container bb9e147aa0f9 02:46:35 ---> c19b701bae72 02:46:35 Step 6/8 : WORKDIR /device-sdk-go 02:46:35 ---> Running in 78bf64bc356e 02:46:36 Removing intermediate container 78bf64bc356e 02:46:36 ---> 860230c2e3a4 02:46:36 Step 7/8 : COPY . . 02:46:36 Removing intermediate container cad62e1678f7 02:46:36 ---> 5955d674baed 02:46:36 Step 10/24 : FROM scratch 02:46:36 ---> 02:46:36 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:36 ---> Running in 42b0ef119c05 02:46:36 Removing intermediate container 42b0ef119c05 02:46:36 ---> 32cc3603c598 02:46:36 Step 12/24 : ENV APP_PORT=49990 02:46:36 ---> Running in 761f96cc86fa 02:46:37 Removing intermediate container 761f96cc86fa 02:46:37 ---> 9936a6271e91 02:46:37 Step 13/24 : EXPOSE $APP_PORT 02:46:37 ---> Running in a29eff369b73 02:46:37 Removing intermediate container a29eff369b73 02:46:37 ---> cb9cfd2ff55e 02:46:37 Step 14/24 : WORKDIR / 02:46:37 ---> Running in a5a792d38a80 02:46:37 Removing intermediate container a5a792d38a80 02:46:37 ---> 5afc8f3f6f52 02:46:37 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:46:37 ---> a72f5b9a1aad 02:46:37 Step 8/8 : RUN go mod download 02:46:37 ---> c279f4762a99 02:46:37 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:46:38 ---> c5bc718f4dd3 02:46:38 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:46:38 ---> 74b93bdf381c 02:46:38 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:46:38 ---> Running in 0a016a68b913 02:46:38 ---> 7e6ff1512722 02:46:38 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:46:38 ---> d6d6b95aab3f 02:46:38 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:46:38 ---> Running in 8ca359849cc3 02:46:38 Removing intermediate container 8ca359849cc3 02:46:38 ---> 7cd4c650e818 02:46:38 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:46:38 ---> Running in 4bc001c781ae 02:46:39 Removing intermediate container 4bc001c781ae 02:46:39 ---> 4bfd15e3ebca 02:46:39 Step 22/24 : LABEL arch=amd64 02:46:39 ---> Running in 9d0937e54944 02:46:39 Removing intermediate container 9d0937e54944 02:46:39 ---> 25ca2fff862a 02:46:39 Step 23/24 : LABEL git_sha=8c52c6dbefe03ddad9e683032218bb1ff7a74c6d 02:46:39 ---> Running in bb12c0b42820 02:46:39 Removing intermediate container bb12c0b42820 02:46:39 ---> 843a3895b06d 02:46:39 Step 24/24 : LABEL version=0.0.0 02:46:39 ---> Running in 48591ca63722 02:46:39 Removing intermediate container 48591ca63722 02:46:39 ---> 4780a637cbc4 02:46:39 [Warning] One or more build-args [ARCH] were not consumed 02:46:39 Successfully built 4780a637cbc4 02:46:39 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:47:00 Removing intermediate container 0a016a68b913 02:47:00 ---> befb7016856f 02:47:00 Successfully built befb7016856f 02:47:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:47:00 + docker inspect -f . ci-base-image-arm64 02:47:00 . [Pipeline] withDockerContainer 02:47:00 prd-ubuntu18.04-docker-arm64-4c-16g-17169 does not seem to be running inside a container 02:47:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/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 ******** ci-base-image-arm64 cat 02:47:02 $ docker top 01971746433df3bd8fdd40c6f4e22d9474f5cb7eb3757e8ad3f2648cb268d190 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:03 + go version 02:47:03 go version go1.15.5 linux/arm64 [Pipeline] } 02:47:03 $ docker stop --time=1 01971746433df3bd8fdd40c6f4e22d9474f5cb7eb3757e8ad3f2648cb268d190 02:47:05 $ docker rm -f 01971746433df3bd8fdd40c6f4e22d9474f5cb7eb3757e8ad3f2648cb268d190 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:47:06 + docker inspect -f . ci-base-image-arm64 02:47:06 . [Pipeline] withDockerContainer 02:47:07 prd-ubuntu18.04-docker-arm64-4c-16g-17169 does not seem to be running inside a container 02:47:07 $ 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 ******** ci-base-image-arm64 cat 02:47:08 $ docker top 0b5ce5adf8ee4efd4e22ac9b34dbc8aa1828ddb8e42658220049fdf92b9fb15e -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:09 + make test 02:47:09 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:47:36 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:48:23 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:48:23 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:48:23 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:48:23 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.199s coverage: 19.4% of statements 02:48:24 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.339s coverage: 97.1% of statements 02:48:51 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.148s coverage: 9.4% of statements 02:48:51 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.123s coverage: 21.9% of statements 02:48:51 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:48:51 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.656s coverage: 42.5% of statements 02:48:51 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:48:51 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.872s coverage: 68.9% of statements 02:48:51 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:48:51 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:48:51 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:48:51 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:48:51 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.210s coverage: 53.8% of statements 02:48:51 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:48:51 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:48:51 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:48:51 ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.327s coverage: 68.9% of statements 02:48:51 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.153s coverage: 4.2% of statements 02:48:51 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:48:51 GO111MODULE=on go vet ./... 02:49:23 gofmt -l . 02:49:23 [ "`gofmt -l .`" = "" ] 02:49:24 ./bin/test-attribution-txt.sh 02:49:25 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:49:25 $ docker stop --time=1 0b5ce5adf8ee4efd4e22ac9b34dbc8aa1828ddb8e42658220049fdf92b9fb15e 02:49:27 $ docker rm -f 0b5ce5adf8ee4efd4e22ac9b34dbc8aa1828ddb8e42658220049fdf92b9fb15e [Pipeline] // withDockerContainer [Pipeline] sh 02:49:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:49:28 Warning: overwriting stash ‘coverage-report’ 02:49:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:49:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:49:30 + ls -al . 02:49:30 total 244 02:49:30 drwxrwxr-x 10 jenkins jenkins 4096 Dec 22 02:49 . 02:49:30 drwxrwxr-x 4 jenkins jenkins 4096 Dec 22 02:45 .. 02:49:30 -rw-rw-r-- 1 jenkins jenkins 140 Dec 22 02:45 .dockerignore 02:49:30 drwxrwxr-x 8 jenkins jenkins 4096 Dec 22 02:45 .git 02:49:30 drwxrwxr-x 2 jenkins jenkins 4096 Dec 22 02:45 .github 02:49:30 -rw-rw-r-- 1 jenkins jenkins 138 Dec 22 02:45 .gitignore 02:49:30 -rw-rw-r-- 1 jenkins jenkins 936 Dec 22 02:45 Dockerfile.build 02:49:30 -rw-rw-r-- 1 jenkins jenkins 901 Dec 22 02:45 Jenkinsfile 02:49:30 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 22 02:45 LICENSE 02:49:30 -rw-rw-r-- 1 jenkins jenkins 1013 Dec 22 02:45 Makefile 02:49:30 -rw-rw-r-- 1 jenkins jenkins 5897 Dec 22 02:45 README.md 02:49:30 -rw-rw-r-- 1 jenkins jenkins 6616 Dec 22 02:45 RELEASE-NOTES.txt 02:49:30 -rw-rw-r-- 1 jenkins jenkins 5 Dec 22 02:42 VERSION 02:49:30 drwxrwxr-x 2 jenkins jenkins 4096 Dec 22 02:45 bin 02:49:30 -rw-r--r-- 1 jenkins jenkins 130526 Dec 22 02:48 coverage.out 02:49:30 drwxrwxr-x 4 jenkins jenkins 4096 Dec 22 02:45 example 02:49:30 -rw-r--r-- 1 jenkins jenkins 488 Dec 22 02:49 go.mod 02:49:30 -rw-r--r-- 1 jenkins jenkins 13734 Dec 22 02:49 go.sum 02:49:30 drwxrwxr-x 15 jenkins jenkins 4096 Dec 22 02:45 internal 02:49:30 drwxrwxr-x 4 jenkins jenkins 4096 Dec 22 02:45 openapi 02:49:30 drwxrwxr-x 5 jenkins jenkins 4096 Dec 22 02:45 pkg 02:49:30 drwxrwxr-x 4 jenkins jenkins 4096 Dec 22 02:45 snap 02:49:30 -rw-rw-r-- 1 jenkins jenkins 222 Dec 22 02:45 version.go [Pipeline] isUnix [Pipeline] sh 02:49:31 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=8c52c6dbefe03ddad9e683032218bb1ff7a74c6d --label arch=arm64 --label version=0.0.0 . 02:49:31 Sending build context to Docker daemon 2.555MB 02:49:31 Step 1/24 : ARG BASE=golang:1.15-alpine 02:49:31 Step 2/24 : FROM ${BASE} AS builder 02:49:31 ---> befb7016856f 02:49:31 Step 3/24 : ARG MAKE='make build' 02:49:32 ---> Running in 42b7674d8a3a 02:49:32 Removing intermediate container 42b7674d8a3a 02:49:32 ---> f0516f6b7a8d 02:49:32 Step 4/24 : WORKDIR /device-sdk-go 02:49:32 ---> Running in a84b0119ea26 02:49:33 Removing intermediate container a84b0119ea26 02:49:33 ---> 58508b6e9f49 02:49:33 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:33 ---> Running in 58b35a027827 02:49:33 Removing intermediate container 58b35a027827 02:49:33 ---> 6a7fed9c841c 02:49:33 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:49:33 ---> Running in 20e8344bd62b 02:49:36 Removing intermediate container 20e8344bd62b 02:49:36 ---> 9d63aee0a7f3 02:49:36 Step 7/24 : RUN apk add --update --no-cache make git 02:49:36 ---> Running in c1e36b419e39 02:49:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:49:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:49:39 OK: 142 MiB in 39 packages 02:49:40 Removing intermediate container c1e36b419e39 02:49:40 ---> c713b6ec3508 02:49:40 Step 8/24 : COPY . . 02:49:41 ---> 5fd098e405cc 02:49:41 Step 9/24 : RUN ${MAKE} 02:49:41 ---> Running in 772ae640fcd6 02:49:43 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:50:10 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:50:12 Removing intermediate container 772ae640fcd6 02:50:12 ---> 6175e2c985d1 02:50:12 Step 10/24 : FROM scratch 02:50:12 ---> 02:50:12 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:12 ---> Running in cc8aee0b23b5 02:50:12 Removing intermediate container cc8aee0b23b5 02:50:12 ---> dcfb5e738615 02:50:12 Step 12/24 : ENV APP_PORT=49990 02:50:12 ---> Running in 3a6a22ccd346 02:50:12 Removing intermediate container 3a6a22ccd346 02:50:12 ---> 8e115169db27 02:50:12 Step 13/24 : EXPOSE $APP_PORT 02:50:12 ---> Running in 26a97ddacc0a 02:50:13 Removing intermediate container 26a97ddacc0a 02:50:13 ---> 9c7b6da6bf68 02:50:13 Step 14/24 : WORKDIR / 02:50:13 ---> Running in ee4653adbf60 02:50:13 Removing intermediate container ee4653adbf60 02:50:13 ---> ba6dee8d5630 02:50:13 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:50:15 ---> a2fbfa07a301 02:50:15 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:50:15 ---> 52e58319e8ad 02:50:15 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:50:16 ---> 0f2be83c4212 02:50:16 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:50:16 ---> 074073a53f21 02:50:16 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:50:17 ---> 15cf23409e89 02:50:17 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:50:17 ---> Running in b9a88158c037 02:50:18 Removing intermediate container b9a88158c037 02:50:18 ---> 233f215f83bc 02:50:18 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:50:18 ---> Running in 167b95674557 02:50:18 Removing intermediate container 167b95674557 02:50:18 ---> bd8104717933 02:50:18 Step 22/24 : LABEL arch=arm64 02:50:19 ---> Running in 04dc1ebd4fa5 02:50:19 Removing intermediate container 04dc1ebd4fa5 02:50:19 ---> 90d31c34de7c 02:50:19 Step 23/24 : LABEL git_sha=8c52c6dbefe03ddad9e683032218bb1ff7a74c6d 02:50:19 ---> Running in b1dd813f72a1 02:50:19 Removing intermediate container b1dd813f72a1 02:50:19 ---> 32709e4701b4 02:50:19 Step 24/24 : LABEL version=0.0.0 02:50:20 ---> Running in 733d6a36ee32 02:50:20 Removing intermediate container 733d6a36ee32 02:50:20 ---> 1283202c0874 02:50:20 [Warning] One or more build-args [ARCH] were not consumed 02:50:20 Successfully built 1283202c0874 02:50:20 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:50:22 provisioning config files... 02:50:22 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp/config881491250937530469tmp [Pipeline] { [Pipeline] sh 02:50:22 + set +x 02:50:22 + curl -s https://codecov.io/bash 02:50:22 + bash -s -- 02:50:23 02:50:23 _____ _ 02:50:23 / ____| | | 02:50:23 | | ___ __| | ___ ___ _____ __ 02:50:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:50:23 | |___| (_) | (_| | __/ (_| (_) \ V / 02:50:23 \_____\___/ \__,_|\___|\___\___/ \_/ 02:50:23 Bash-20201217-3d3df35 02:50:23 02:50:23 02:50:23 git version 2.24.3 found 02:50:23 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:50:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:50:23 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets found 02:50:23 ==> Jenkins CI detected. 02:50:23 project root: . 02:50:23 --> token set from env 02:50:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:50:23 ==> Running gcov in . (disable via -X gcov) 02:50:23 ==> Python coveragepy not found 02:50:23 ==> Searching for coverage reports in: 02:50:23 + . 02:50:23 -> Found 1 reports 02:50:23 ==> Detecting git/mercurial file structure 02:50:23 ==> Reading reports 02:50:23 + ./coverage.out bytes=130526 02:50:23 ==> Appending adjustments 02:50:23 https://docs.codecov.io/docs/fixing-reports 02:50:23 + Found adjustments 02:50:23 ==> Gzipping contents 02:50:23 24K /tmp/codecov.nQrHta.gz 02:50:23 ==> Uploading reports 02:50:23 url: https://codecov.io 02:50:23 query: branch=PR-692&commit=8c52c6dbefe03ddad9e683032218bb1ff7a74c6d&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-692%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=692&job=&cmd_args= 02:50:23 -> Pinging Codecov 02:50:23 https://codecov.io/upload/v4?package=bash-20201217-3d3df35&token=secret&branch=PR-692&commit=8c52c6dbefe03ddad9e683032218bb1ff7a74c6d&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-692%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=692&job=&cmd_args= 02:50:23 -> Uploading to 02:50:23 https://storage.googleapis.com/codecov/v4/raw/2020-12-22/7E55EF52A471D76F132DFD9A03CDDE97/8c52c6dbefe03ddad9e683032218bb1ff7a74c6d/b95ca47f-e51d-4c2b-bb4d-9ae59a9a4240.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201222%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201222T025023Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6439c36a8088fb12e263c737ab1ebeed81bf513212b517ed63a9d16b1610166a 02:50:23 % Total % Received % Xferd Average Speed Time Time Time Current 02:50:23 Dload Upload Total Spent Left Speed 02:50:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21252 0 0 100 21252 0 52262 --:--:-- --:--:-- --:--:-- 52344 02:50:24 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/8c52c6dbefe03ddad9e683032218bb1ff7a74c6d [Pipeline] } 02:50:24 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:50:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:50:27 ---> package-listing.sh 02:50:27 ++ tr '[:upper:]' '[:lower:]' 02:50:27 ++ facter osfamily 02:50:27 + OS_FAMILY=redhat 02:50:27 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-692 02:50:27 + START_PACKAGES=/tmp/packages_start.txt 02:50:27 + END_PACKAGES=/tmp/packages_end.txt 02:50:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:50:27 + PACKAGES=/tmp/packages_start.txt 02:50:27 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-692 ']' 02:50:27 + PACKAGES=/tmp/packages_end.txt 02:50:27 + case "${OS_FAMILY}" in 02:50:27 + rpm -qa 02:50:27 + sort 02:50:32 + '[' -f /tmp/packages_start.txt ']' 02:50:32 + '[' -f /tmp/packages_end.txt ']' 02:50:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:50:32 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-692 ']' 02:50:32 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-692/archives/ 02:50:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-692/archives/ [Pipeline] echo 02:50:32 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-692/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:50:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:50:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:33 02:50:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:50:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:33 alpine: Pulling from edgex-lftools-log-publisher 02:50:33 df20fa9351a1: Pulling fs layer 02:50:33 36b3adc4ff6f: Pulling fs layer 02:50:33 8ad3a11d3b57: Pulling fs layer 02:50:33 46f8f816bc3b: Pulling fs layer 02:50:33 93b61091891f: Pulling fs layer 02:50:33 93b9cdb0e59b: Pulling fs layer 02:50:33 5e14af77c1be: Pulling fs layer 02:50:33 01666e4c0597: Pulling fs layer 02:50:33 aa168da1d23b: Pulling fs layer 02:50:33 46f8f816bc3b: Waiting 02:50:33 93b61091891f: Waiting 02:50:33 93b9cdb0e59b: Waiting 02:50:33 5e14af77c1be: Waiting 02:50:33 aa168da1d23b: Waiting 02:50:33 01666e4c0597: Waiting 02:50:33 36b3adc4ff6f: Verifying Checksum 02:50:33 36b3adc4ff6f: Download complete 02:50:33 46f8f816bc3b: Verifying Checksum 02:50:33 46f8f816bc3b: Download complete 02:50:33 df20fa9351a1: Download complete 02:50:33 93b9cdb0e59b: Verifying Checksum 02:50:33 93b9cdb0e59b: Download complete 02:50:33 5e14af77c1be: Verifying Checksum 02:50:33 5e14af77c1be: Download complete 02:50:33 93b61091891f: Verifying Checksum 02:50:33 93b61091891f: Download complete 02:50:33 01666e4c0597: Verifying Checksum 02:50:33 01666e4c0597: Download complete 02:50:34 df20fa9351a1: Pull complete 02:50:34 8ad3a11d3b57: Verifying Checksum 02:50:34 8ad3a11d3b57: Download complete 02:50:34 36b3adc4ff6f: Pull complete 02:50:34 8ad3a11d3b57: Pull complete 02:50:34 46f8f816bc3b: Pull complete 02:50:35 93b61091891f: Pull complete 02:50:35 93b9cdb0e59b: Pull complete 02:50:36 5e14af77c1be: Pull complete 02:50:37 01666e4c0597: Pull complete 02:50:37 aa168da1d23b: Download complete 02:50:43 aa168da1d23b: Pull complete 02:50:43 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:50:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:50:44 prd-centos7-docker-4c-2g-17162 does not seem to be running inside a container 02:50:44 $ 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-692/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-692 -v /w/workspace/dgexfoundry_device-sdk-go_PR-692:/w/workspace/dgexfoundry_device-sdk-go_PR-692:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:50:47 $ docker top 1c828b28a362cbe68f7767fe213230b5f824d4c32be62f076a113005f4aae4bb -eo pid,comm [Pipeline] { [Pipeline] sh 02:50:47 + touch /tmp/pre-build-complete [Pipeline] sh 02:50:47 + mkdir -p /var/log/sa [Pipeline] sh 02:50:48 + ls /var/log/sa-host 02:50:48 + sadf -c /var/log/sa-host/sa22 02:50:48 file_magic: OK 02:50:48 HZ: Using current value: 100 02:50:48 file_header: OK 02:50:48 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:50:48 Statistics: 02:50:48 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:50:48 File successfully converted to sysstat format version 12.2.1 02:50:48 + sadf -c /var/log/sa-host/sa23 02:50:48 file_magic: OK 02:50:48 HZ: Using current value: 100 02:50:48 file_header: OK 02:50:48 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:50:48 Statistics: 02:50:48 Hnuu...uuuununununu... 02:50:48 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:50:48 provisioning config files... 02:50:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp/config3258620006282072745tmp [Pipeline] { [Pipeline] echo 02:50:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:50:48 ---> create-netrc.sh [Pipeline] } 02:50:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:50:48 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:50:49 ---> python-tools-install.sh [Pipeline] echo 02:50:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:50:49 ---> sudo-logs.sh 02:50:49 Archiving 'sudo' log.. [Pipeline] echo 02:50:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:50:49 ---> job-cost.sh 02:50:49 lf-activate-venv: SKIPPING 02:50:49 INFO: No Stack... 02:50:51 INFO: Retrieving Pricing Info for: v1-standard-2 02:50:51 INFO: Archiving Costs [Pipeline] echo 02:50:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:50:52 ---> logs-deploy.sh 02:50:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-692/7 02:50:52 INFO: archiving workspace using pattern(s): 02:50:53 Archives upload complete. 02:50:53 INFO: archiving logs to Nexus 02:50:54 ---> uname -a: 02:50:54 Linux prd-centos7-docker-4c-2g-17162.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:50:54 02:50:54 02:50:54 ---> lscpu: 02:50:54 Architecture: x86_64 02:50:54 CPU op-mode(s): 32-bit, 64-bit 02:50:54 Byte Order: Little Endian 02:50:54 Address sizes: 40 bits physical, 48 bits virtual 02:50:54 CPU(s): 4 02:50:54 On-line CPU(s) list: 0-3 02:50:54 Thread(s) per core: 1 02:50:54 Core(s) per socket: 1 02:50:54 Socket(s): 4 02:50:54 NUMA node(s): 1 02:50:54 Vendor ID: GenuineIntel 02:50:54 CPU family: 6 02:50:54 Model: 44 02:50:54 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:50:54 Stepping: 1 02:50:54 CPU MHz: 2933.442 02:50:54 BogoMIPS: 5866.88 02:50:54 Virtualization: VT-x 02:50:54 Hypervisor vendor: KVM 02:50:54 Virtualization type: full 02:50:54 L1d cache: 128 KiB 02:50:54 L1i cache: 128 KiB 02:50:54 L2 cache: 16 MiB 02:50:54 L3 cache: 64 MiB 02:50:54 NUMA node0 CPU(s): 0-3 02:50:54 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:50:54 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:50:54 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:50:54 Vulnerability Meltdown: Mitigation; PTI 02:50:54 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:50:54 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:50:54 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:50:54 Vulnerability Srbds: Not affected 02:50:54 Vulnerability Tsx async abort: Not affected 02:50:54 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:50:54 02:50:54 02:50:54 ---> nproc: 02:50:54 4 02:50:54 02:50:54 02:50:54 ---> df -h: 02:50:54 Filesystem Size Used Available Use% Mounted on 02:50:54 overlay 50.0G 7.3G 42.7G 15% / 02:50:54 tmpfs 64.0M 0 64.0M 0% /dev 02:50:54 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:50:54 shm 64.0M 0 64.0M 0% /dev/shm 02:50:54 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 02:50:54 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 02:50:54 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 02:50:54 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 02:50:54 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp 02:50:54 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 02:50:54 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 02:50:54 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 02:50:54 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 02:50:54 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-692 02:50:54 02:50:54 02:50:54 ---> free -m: 02:50:54 total used free shared buff/cache available 02:50:54 Mem: 1837 725 119 0 992 1007 02:50:54 Swap: 1023 1 1022 02:50:54 02:50:54 02:50:54 ---> ip addr: 02:50:54 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:50:54 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:50:54 inet 127.0.0.1/8 scope host lo 02:50:54 valid_lft forever preferred_lft forever 02:50:54 inet6 ::1/128 scope host 02:50:54 valid_lft forever preferred_lft forever 02:50:54 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:50:54 link/ether fa:16:3e:04:73:0a brd ff:ff:ff:ff:ff:ff 02:50:54 inet 10.30.122.83/23 brd 10.30.123.255 scope global dynamic eth0 02:50:54 valid_lft 85868sec preferred_lft 85868sec 02:50:54 inet6 fe80::f816:3eff:fe04:730a/64 scope link 02:50:54 valid_lft forever preferred_lft forever 02:50:54 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:50:54 link/ether 02:42:2e:b8:d1:f8 brd ff:ff:ff:ff:ff:ff 02:50:54 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:50:54 valid_lft forever preferred_lft forever 02:50:54 inet6 fe80::42:2eff:feb8:d1f8/64 scope link 02:50:54 valid_lft forever preferred_lft forever 02:50:54 02:50:54 02:50:54 ---> sar -b -r -n DEV: 02:50:54 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/22/20 _x86_64_ (4 CPU) 02:50:54 02:50:54 02:41:51 LINUX RESTART (4 CPU) 02:50:54 02:50:54 02:43:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:50:54 02:44:01 2.61 0.00 2.61 0.00 0.00 59.41 0.00 02:50:54 02:45:01 0.45 0.00 0.45 0.00 0.00 6.59 0.00 02:50:54 02:46:01 0.23 0.00 0.23 0.00 0.00 3.00 0.00 02:50:54 02:47:01 0.28 0.00 0.28 0.00 0.00 3.33 0.00 02:50:54 02:48:01 0.52 0.00 0.52 0.00 0.00 8.23 0.00 02:50:54 02:49:01 0.23 0.00 0.23 0.00 0.00 3.53 0.00 02:50:54 02:50:01 0.27 0.00 0.27 0.00 0.00 3.46 0.00 02:50:54 Average: 0.66 0.00 0.66 0.00 0.00 12.51 0.00 02:50:54 02:50:54 02:43:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:50:54 02:44:01 142796 0 618888 32.89 2620 1117240 1094692 37.36 436204 1103716 12 02:50:54 02:45:01 138540 0 623136 33.12 2620 1117248 1094752 37.36 449652 1094172 12 02:50:54 02:46:01 138956 0 622716 33.10 2620 1117252 1094728 37.36 452508 1091236 8 02:50:54 02:47:01 138064 0 623608 33.14 2620 1117252 1090592 37.22 456144 1088420 20 02:50:54 02:48:01 138284 0 623380 33.13 2620 1117260 1090692 37.22 461728 1082996 8 02:50:54 02:49:01 139764 0 621896 33.05 2620 1117264 1081176 36.90 460664 1082800 8 02:50:54 02:50:01 139764 0 621892 33.05 2620 1117268 1081176 36.90 460664 1082800 8 02:50:54 Average: 139453 0 622217 33.07 2620 1117255 1089687 37.19 453938 1089449 11 02:50:54 02:50:54 02:43:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:50:54 02:44:01 eth0 1.88 0.35 0.39 0.23 0.00 0.00 0.00 0.00 02:50:54 02:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:54 02:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:54 02:45:01 eth0 3.61 0.72 0.83 0.38 0.00 0.00 0.00 0.00 02:50:54 02:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:54 02:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:54 02:46:01 eth0 2.50 0.55 0.71 0.43 0.00 0.00 0.00 0.00 02:50:54 02:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:54 02:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:54 02:47:01 eth0 1.85 0.63 0.62 0.37 0.00 0.00 0.00 0.00 02:50:54 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:54 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:54 02:48:01 eth0 1.22 0.70 0.67 0.49 0.00 0.00 0.00 0.00 02:50:54 02:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:54 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:54 02:49:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 02:50:54 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:54 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:54 02:50:01 eth0 0.15 0.07 0.01 0.01 0.00 0.00 0.00 0.00 02:50:54 02:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:54 02:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:54 Average: eth0 1.62 0.44 0.46 0.27 0.00 0.00 0.00 0.00 02:50:54 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:54 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:54 02:50:54 02:50:54 ---> sar -P ALL: 02:50:54 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/22/20 _x86_64_ (4 CPU) 02:50:54 02:50:54 02:41:51 LINUX RESTART (4 CPU) 02:50:54 02:50:54 02:43:01 CPU %user %nice %system %iowait %steal %idle 02:50:54 02:44:01 all 0.17 0.00 0.07 0.00 0.00 99.76 02:50:54 02:44:01 0 0.05 0.00 0.07 0.00 0.00 99.88 02:50:54 02:44:01 1 0.53 0.00 0.05 0.00 0.00 99.42 02:50:54 02:44:01 2 0.08 0.00 0.08 0.00 0.00 99.83 02:50:54 02:44:01 3 0.03 0.00 0.07 0.00 0.00 99.90 02:50:54 02:45:01 all 0.19 0.00 0.20 0.00 0.00 99.60 02:50:54 02:45:01 0 0.07 0.00 0.07 0.00 0.00 99.87 02:50:54 02:45:01 1 0.48 0.00 0.28 0.00 0.00 99.23 02:50:54 02:45:01 2 0.08 0.00 0.22 0.00 0.02 99.68 02:50:54 02:45:01 3 0.12 0.00 0.25 0.00 0.00 99.63 02:50:54 02:46:01 all 0.19 0.00 0.03 0.00 0.00 99.78 02:50:54 02:46:01 0 0.05 0.00 0.02 0.00 0.00 99.93 02:50:54 02:46:01 1 0.15 0.00 0.03 0.00 0.00 99.82 02:50:54 02:46:01 2 0.43 0.00 0.03 0.00 0.00 99.53 02:50:54 02:46:01 3 0.12 0.00 0.05 0.00 0.00 99.83 02:50:54 02:47:01 all 0.16 0.00 0.05 0.00 0.00 99.78 02:50:54 02:47:01 0 0.03 0.00 0.05 0.00 0.00 99.92 02:50:54 02:47:01 1 0.52 0.00 0.03 0.00 0.00 99.45 02:50:54 02:47:01 2 0.07 0.00 0.07 0.00 0.00 99.87 02:50:54 02:47:01 3 0.03 0.00 0.07 0.00 0.00 99.90 02:50:54 02:48:01 all 0.19 0.00 0.09 0.00 0.00 99.72 02:50:54 02:48:01 0 0.07 0.00 0.13 0.00 0.00 99.80 02:50:54 02:48:01 1 0.57 0.00 0.05 0.00 0.00 99.38 02:50:54 02:48:01 2 0.10 0.00 0.10 0.00 0.00 99.80 02:50:54 02:48:01 3 0.03 0.00 0.08 0.00 0.00 99.88 02:50:54 02:49:01 all 0.15 0.00 0.03 0.00 0.00 99.82 02:50:54 02:49:01 0 0.03 0.00 0.03 0.00 0.00 99.93 02:50:54 02:49:01 1 0.52 0.00 0.00 0.00 0.02 99.47 02:50:54 02:49:01 2 0.03 0.00 0.05 0.00 0.00 99.92 02:50:54 02:49:01 3 0.02 0.00 0.02 0.00 0.00 99.97 02:50:54 02:50:01 all 0.16 0.00 0.05 0.00 0.00 99.79 02:50:54 02:50:01 0 0.52 0.00 0.02 0.00 0.00 99.47 02:50:54 02:50:01 1 0.02 0.00 0.05 0.00 0.00 99.93 02:50:54 02:50:01 2 0.10 0.00 0.10 0.00 0.00 99.80 02:50:54 02:50:01 3 0.02 0.00 0.02 0.00 0.00 99.97 02:50:54 Average: all 0.17 0.00 0.07 0.00 0.00 99.75 02:50:54 Average: 0 0.12 0.00 0.05 0.00 0.00 99.83 02:50:54 Average: 1 0.40 0.00 0.07 0.00 0.00 99.53 02:50:54 Average: 2 0.13 0.00 0.09 0.00 0.00 99.78 02:50:54 Average: 3 0.05 0.00 0.08 0.00 0.00 99.87 02:50:54 02:50:54 02:50:54