Pull request #707 updated 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 lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 592832d8bc4009cb89794f6cc340ee2846e2c28f+372098887a6a7d5d9395bdaf9d03a023308f69fd (48b24cb9c9bfe74dce3cc9331a8255c3001f6e8d) 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-18227 in /w/workspace/dgexfoundry_device-sdk-go_PR-707 [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-707 # 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/707/head:refs/remotes/origin/PR-707 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 372098887a6a7d5d9395bdaf9d03a023308f69fd into PR head commit 592832d8bc4009cb89794f6cc340ee2846e2c28f Merge succeeded, producing 1daa9d280e2cecd45d00b52ea95bc76d17849c91 Checking out Revision 1daa9d280e2cecd45d00b52ea95bc76d17849c91 (PR-707) > git config core.sparsecheckout # timeout=10 > git checkout -f 592832d8bc4009cb89794f6cc340ee2846e2c28f # 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 372098887a6a7d5d9395bdaf9d03a023308f69fd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1daa9d280e2cecd45d00b52ea95bc76d17849c91 # timeout=10 Commit message: "Merge commit '372098887a6a7d5d9395bdaf9d03a023308f69fd' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:03:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk 5ab4d4691831940b2e426fea2790b571b8dd4481 # timeout=10 18:03:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:03:17 ========================================================= 18:03:17 EdgeX Global Pipelines Version Info 18:03:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:03:18 ------------------- 18:03:18 stable info: 18:03:18 ------------------- 18:03:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:03:18 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 18:03:18 Message: update stable to v1.0.173 18:03:19 ------------------- 18:03:19 experimental info: 18:03:19 ------------------- 18:03:19 Commited By: **** collab-it+edgex@linuxfoundation.org 18:03:19 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 18:03:19 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:03:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:03:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:03:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:03:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:03:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:03:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 18:03:20 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:03:20 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 18:03:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:03:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:03:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:03:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 18:03:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:03:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:03:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:03:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:03:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:03:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:03:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:03:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:03:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:03:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 18:03:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:03:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:03:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:03:22 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 18:03:22 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 18:03:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-707 [Pipeline] echo 18:03:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-707 [Pipeline] echo 18:03:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-707 [Pipeline] echo 18:03:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1daa9d280e2cecd45d00b52ea95bc76d17849c91 [Pipeline] echo 18:03:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1daa9d2 [Pipeline] echo 18:03:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 18:03:23 provisioning config files... 18:03:23 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp/config4386331260206128238tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:03:23 ---> docker-login.sh 18:03:23 nexus3.edgexfoundry.org:10001 18:03:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:24 Configure a credential helper to remove this warning. See 18:03:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:24 18:03:24 Login Succeeded 18:03:24 nexus3.edgexfoundry.org:10002 18:03:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:24 Configure a credential helper to remove this warning. See 18:03:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:24 18:03:24 Login Succeeded 18:03:24 nexus3.edgexfoundry.org:10003 18:03:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:24 Configure a credential helper to remove this warning. See 18:03:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:24 18:03:24 Login Succeeded 18:03:24 nexus3.edgexfoundry.org:10004 18:03:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:24 Configure a credential helper to remove this warning. See 18:03:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:24 18:03:24 Login Succeeded 18:03:24 docker.io 18:03:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:25 Configure a credential helper to remove this warning. See 18:03:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:25 18:03:25 Login Succeeded 18:03:25 ---> docker-login.sh ends [Pipeline] } 18:03:25 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:03:25 + git log --format=format:%s -1 1daa9d280e2cecd45d00b52ea95bc76d17849c91 [Pipeline] echo 18:03:26 GIT_COMMIT: 1daa9d280e2cecd45d00b52ea95bc76d17849c91, Commit Message: Merge commit '372098887a6a7d5d9395bdaf9d03a023308f69fd' into HEAD [Pipeline] echo 18:03:26 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:03:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:03:26 18:03:26 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:03:27 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:03:27 latest: Pulling from edgex-devops/git-semver 18:03:27 31603596830f: Pulling fs layer 18:03:27 2a8b12db71e7: Pulling fs layer 18:03:27 6ca5941a6612: Pulling fs layer 18:03:27 ecc8261a40a4: Pulling fs layer 18:03:27 ecc8261a40a4: Waiting 18:03:27 31603596830f: Verifying Checksum 18:03:27 31603596830f: Download complete 18:03:27 ecc8261a40a4: Verifying Checksum 18:03:27 ecc8261a40a4: Download complete 18:03:27 6ca5941a6612: Verifying Checksum 18:03:27 6ca5941a6612: Download complete 18:03:27 31603596830f: Pull complete 18:03:27 2a8b12db71e7: Pull complete 18:03:28 6ca5941a6612: Pull complete 18:03:28 ecc8261a40a4: Pull complete 18:03:28 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 18:03:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:03:28 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:03:28 prd-centos7-docker-4c-2g-18227 does not seem to be running inside a container 18:03:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-707 -v /w/workspace/dgexfoundry_device-sdk-go_PR-707:/w/workspace/dgexfoundry_device-sdk-go_PR-707:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-707@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 18:03:31 $ docker top 39e30e29e461b0b1d172470fa60e6964041396e7e8f35cc39662f53f7a74bfb0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:03:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:03:31 [ssh-agent] Looking for ssh-agent implementation... 18:03:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:03:32 $ docker exec 39e30e29e461b0b1d172470fa60e6964041396e7e8f35cc39662f53f7a74bfb0 ssh-agent 18:03:32 SSH_AUTH_SOCK=/tmp/ssh-vfKhxcwbpyft/agent.11 18:03:32 SSH_AGENT_PID=16 18:03:32 Running ssh-add (command line suppressed) 18:03:32 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp/private_key_8517168492700511911.key (/w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp/private_key_8517168492700511911.key) 18:03:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:03:32 + git tag --points-at HEAD [Pipeline] } 18:03:32 $ docker exec --env ******** --env ******** 39e30e29e461b0b1d172470fa60e6964041396e7e8f35cc39662f53f7a74bfb0 ssh-agent -k 18:03:32 unset SSH_AUTH_SOCK; 18:03:32 unset SSH_AGENT_PID; 18:03:32 echo Agent pid 16 killed; 18:03:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:03:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:03:33 [ssh-agent] Looking for ssh-agent implementation... 18:03:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:03:33 $ docker exec 39e30e29e461b0b1d172470fa60e6964041396e7e8f35cc39662f53f7a74bfb0 ssh-agent 18:03:33 SSH_AUTH_SOCK=/tmp/ssh-kjlokc9xWOTX/agent.44 18:03:33 SSH_AGENT_PID=49 18:03:33 Running ssh-add (command line suppressed) 18:03:33 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp/private_key_867555943422398630.key (/w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp/private_key_867555943422398630.key) 18:03:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:03:33 + git semver init 18:03:33 # -> Open(): unable to determine branch for HEAD 18:03:33 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-707/.git 18:03:33 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-707 18:03:33 # $SEMVER_REMOTE_NAME = origin 18:03:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:03:33 # $SEMVER_USER_NAME = edgex-jenkins 18:03:33 # $SEMVER_BRANCH = PR-707 18:03:33 # $SEMVER_TEMP = /tmp/semver-031790069 18:03:33 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 18:03:34 # '/tmp/semver-031790069' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-707/.semver' 18:03:34 # -> Force: false 18:03:34 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-707/.semver [Pipeline] } 18:03:34 $ docker exec --env ******** --env ******** 39e30e29e461b0b1d172470fa60e6964041396e7e8f35cc39662f53f7a74bfb0 ssh-agent -k 18:03:34 unset SSH_AUTH_SOCK; 18:03:34 unset SSH_AGENT_PID; 18:03:34 echo Agent pid 49 killed; 18:03:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:03:35 + git semver [Pipeline] } 18:03:35 $ docker stop --time=1 39e30e29e461b0b1d172470fa60e6964041396e7e8f35cc39662f53f7a74bfb0 18:03:36 $ docker rm -f 39e30e29e461b0b1d172470fa60e6964041396e7e8f35cc39662f53f7a74bfb0 [Pipeline] // withDockerContainer [Pipeline] sh 18:03:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:03:37 Stashed 1 file(s) [Pipeline] echo 18:03:37 [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 18:03:53 Still waiting to schedule task 18:03:53 Waiting for next available executor on ‘centos7-docker-4c-2g’ 18:03:53 Still waiting to schedule task 18:03:53 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 18:06:28 Running on prd-centos7-docker-4c-2g-18230 in /w/workspace/dgexfoundry_device-sdk-go_PR-707 [Pipeline] { [Pipeline] ws 18:06:28 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 18:06:30 using credential edgex-jenkins-ssh 18:06:30 Cloning the remote Git repository 18:06:30 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:06:30 > git init /w/workspace/device-sdk-go/4 # timeout=10 18:06:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:06:30 > git --version # timeout=10 18:06:30 > git --version # 'git version 2.24.3' 18:06:30 using GIT_SSH to set credentials SSH Credentials for GitHub 18:06:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:06:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:06:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:06:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:06:31 Merging remotes/origin/master commit 372098887a6a7d5d9395bdaf9d03a023308f69fd into PR head commit 592832d8bc4009cb89794f6cc340ee2846e2c28f 18:06:32 Merge succeeded, producing b528a569a73bc4e3d0f2a2db13d3983a693d7cc8 18:06:32 Checking out Revision b528a569a73bc4e3d0f2a2db13d3983a693d7cc8 (PR-707) 18:06:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:06:31 using GIT_SSH to set credentials SSH Credentials for GitHub 18:06:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/707/head:refs/remotes/origin/PR-707 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:06:31 > git config core.sparsecheckout # timeout=10 18:06:31 > git checkout -f 592832d8bc4009cb89794f6cc340ee2846e2c28f # timeout=10 18:06:32 > git remote # timeout=10 18:06:32 > git config --get remote.origin.url # timeout=10 18:06:32 using GIT_SSH to set credentials SSH Credentials for GitHub 18:06:32 > git merge 372098887a6a7d5d9395bdaf9d03a023308f69fd # timeout=10 18:06:32 > git rev-parse HEAD^{commit} # timeout=10 18:06:32 > git config core.sparsecheckout # timeout=10 18:06:32 > git checkout -f b528a569a73bc4e3d0f2a2db13d3983a693d7cc8 # timeout=10 18:06:35 Commit message: "Merge commit '372098887a6a7d5d9395bdaf9d03a023308f69fd' into HEAD" 18:06:35 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 18:06:35 > git rev-list --no-walk 5ab4d4691831940b2e426fea2790b571b8dd4481 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh 18:06:37 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 18:06:37 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:06:37 + sudo service docker restart 18:06:37 + true 18:06:37 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 18:06:39 provisioning config files... 18:06:39 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config3192903131563485387tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:06:39 ---> docker-login.sh 18:06:39 nexus3.edgexfoundry.org:10001 18:06:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:39 Configure a credential helper to remove this warning. See 18:06:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:39 18:06:39 Login Succeeded 18:06:39 nexus3.edgexfoundry.org:10002 18:06:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:40 Configure a credential helper to remove this warning. See 18:06:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:40 18:06:40 Login Succeeded 18:06:40 nexus3.edgexfoundry.org:10003 18:06:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:40 Configure a credential helper to remove this warning. See 18:06:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:40 18:06:40 Login Succeeded 18:06:40 nexus3.edgexfoundry.org:10004 18:06:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:40 Configure a credential helper to remove this warning. See 18:06:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:40 18:06:40 Login Succeeded 18:06:40 docker.io 18:06:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:40 Configure a credential helper to remove this warning. See 18:06:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:40 18:06:40 Login Succeeded 18:06:40 ---> docker-login.sh ends [Pipeline] } 18:06:40 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:06:41 ========================================================= 18:06:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 18:06:41 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:06:41 + 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 . 18:06:41 Sending build context to Docker daemon 2.516MB 18:06:41 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 18:06:41 Step 2/8 : FROM ${BASE} 18:06:41 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 18:06:41 188c0c94c7c5: Pulling fs layer 18:06:41 0ef7d3d256c8: Pulling fs layer 18:06:41 de9db76c5a1d: Pulling fs layer 18:06:41 bca2f99d35d6: Pulling fs layer 18:06:41 93359f2a8cfa: Pulling fs layer 18:06:41 7c6f9722023f: Pulling fs layer 18:06:41 a35cf1a2eb13: Pulling fs layer 18:06:41 bca2f99d35d6: Waiting 18:06:41 93359f2a8cfa: Waiting 18:06:41 7c6f9722023f: Waiting 18:06:41 a35cf1a2eb13: Waiting 18:06:41 de9db76c5a1d: Verifying Checksum 18:06:41 de9db76c5a1d: Download complete 18:06:41 0ef7d3d256c8: Verifying Checksum 18:06:41 0ef7d3d256c8: Download complete 18:06:41 93359f2a8cfa: Verifying Checksum 18:06:41 93359f2a8cfa: Download complete 18:06:41 7c6f9722023f: Verifying Checksum 18:06:41 7c6f9722023f: Download complete 18:06:42 188c0c94c7c5: Verifying Checksum 18:06:42 188c0c94c7c5: Download complete 18:06:43 188c0c94c7c5: Pull complete 18:06:43 0ef7d3d256c8: Pull complete 18:06:43 de9db76c5a1d: Pull complete 18:06:44 a35cf1a2eb13: Verifying Checksum 18:06:44 a35cf1a2eb13: Download complete 18:06:45 bca2f99d35d6: Verifying Checksum 18:06:45 bca2f99d35d6: Download complete 18:06:50 bca2f99d35d6: Pull complete 18:06:50 93359f2a8cfa: Pull complete 18:06:50 7c6f9722023f: Pull complete 18:06:57 a35cf1a2eb13: Pull complete 18:06:57 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 18:06:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 18:06:57 ---> a62c8e92a672 18:06:57 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:06:57 ---> Running in ccc5523729cd 18:06:57 Removing intermediate container ccc5523729cd 18:06:57 ---> 2c32048113e7 18:06:57 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:06:57 ---> Running in 8b3a55762207 18:06:58 Removing intermediate container 8b3a55762207 18:06:58 ---> ecf4905c9d4b 18:06:58 Step 5/8 : RUN apk add --update --no-cache make git 18:06:58 ---> Running in 3da415bb97b0 18:06:59 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:07:00 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:07:01 OK: 166 MiB in 39 packages 18:07:01 Removing intermediate container 3da415bb97b0 18:07:01 ---> e3f9f9efff34 18:07:01 Step 6/8 : WORKDIR /device-sdk-go 18:07:01 ---> Running in 9eadd9aef2d7 18:07:01 Removing intermediate container 9eadd9aef2d7 18:07:01 ---> 7ae30c7ac71b 18:07:01 Step 7/8 : COPY . . 18:07:02 ---> 6b376e75f2f1 18:07:02 Step 8/8 : RUN go mod download 18:07:02 ---> Running in 62287c6f7f76 18:07:24 Removing intermediate container 62287c6f7f76 18:07:24 ---> 615a9b38e4ea 18:07:24 Successfully built 615a9b38e4ea 18:07:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:07:25 + docker inspect -f . ci-base-image-x86_64 18:07:25 . [Pipeline] withDockerContainer 18:07:25 prd-centos7-docker-4c-2g-18230 does not seem to be running inside a container 18:07:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-x86_64 cat 18:07:27 $ docker top 4b7256fe31af3d6da8d362a0a01bfca47bd0316dd85bc3a375e3e6cd11220692 -eo pid,comm [Pipeline] { [Pipeline] sh 18:07:27 + go version 18:07:27 go version go1.15.5 linux/amd64 [Pipeline] } 18:07:27 $ docker stop --time=1 4b7256fe31af3d6da8d362a0a01bfca47bd0316dd85bc3a375e3e6cd11220692 18:07:29 $ docker rm -f 4b7256fe31af3d6da8d362a0a01bfca47bd0316dd85bc3a375e3e6cd11220692 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:07:29 + docker inspect -f . ci-base-image-x86_64 18:07:29 . [Pipeline] withDockerContainer 18:07:29 prd-centos7-docker-4c-2g-18230 does not seem to be running inside a container 18:07:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-x86_64 cat 18:07:30 $ docker top 8e6478076b9f9149bef2ec81df3dc62065a9bd43282d37aaf01bb36cb603732a -eo pid,comm [Pipeline] { [Pipeline] sh 18:07:31 + make test 18:07:31 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:07:39 ? github.com/edgexfoundry/device-sdk-go [no test files] 18:07:41 Running on prd-ubuntu18.04-docker-arm64-4c-16g-18231 in /w/workspace/dgexfoundry_device-sdk-go_PR-707 [Pipeline] { [Pipeline] ws 18:07:41 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 18:07:46 using credential edgex-jenkins-ssh 18:07:46 Cloning the remote Git repository 18:07:46 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:07:46 > git init /w/workspace/device-sdk-go/4 # timeout=10 18:07:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:07:46 > git --version # timeout=10 18:07:46 > git --version # 'git version 2.17.1' 18:07:46 using GIT_SSH to set credentials SSH Credentials for GitHub 18:07:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:07:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:07:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:07:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:07:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:07:48 using GIT_SSH to set credentials SSH Credentials for GitHub 18:07:48 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/707/head:refs/remotes/origin/PR-707 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:07:49 Merging remotes/origin/master commit 372098887a6a7d5d9395bdaf9d03a023308f69fd into PR head commit 592832d8bc4009cb89794f6cc340ee2846e2c28f 18:07:49 Merge succeeded, producing 1615987e50c9ceaa3091b2fb952e975a4c35cbea 18:07:49 Checking out Revision 1615987e50c9ceaa3091b2fb952e975a4c35cbea (PR-707) 18:07:49 > git config core.sparsecheckout # timeout=10 18:07:49 > git checkout -f 592832d8bc4009cb89794f6cc340ee2846e2c28f # timeout=10 18:07:49 > git remote # timeout=10 18:07:49 > git config --get remote.origin.url # timeout=10 18:07:49 using GIT_SSH to set credentials SSH Credentials for GitHub 18:07:49 > git merge 372098887a6a7d5d9395bdaf9d03a023308f69fd # timeout=10 18:07:49 > git rev-parse HEAD^{commit} # timeout=10 18:07:49 > git config core.sparsecheckout # timeout=10 18:07:49 > git checkout -f 1615987e50c9ceaa3091b2fb952e975a4c35cbea # timeout=10 18:07:53 Commit message: "Merge commit '372098887a6a7d5d9395bdaf9d03a023308f69fd' into HEAD" 18:07:53 First time build. Skipping changelog. 18:07:54 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 18:07:54 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 18:07:54 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 18:07:54 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.063s coverage: 19.4% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:07:53 > git rev-list --no-walk 5ab4d4691831940b2e426fea2790b571b8dd4481 # timeout=10 18:07:55 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 18:07:56 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:07:56 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.494s coverage: 97.1% of statements 18:07:56 + true 18:07:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 18:07:58 provisioning config files... 18:07:58 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config6794724921489290280tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:07:58 ---> docker-login.sh 18:07:58 nexus3.edgexfoundry.org:10001 18:07:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:00 Configure a credential helper to remove this warning. See 18:08:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:00 18:08:00 Login Succeeded 18:08:00 nexus3.edgexfoundry.org:10002 18:08:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:00 Configure a credential helper to remove this warning. See 18:08:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:00 18:08:00 Login Succeeded 18:08:00 nexus3.edgexfoundry.org:10003 18:08:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:01 Configure a credential helper to remove this warning. See 18:08:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:01 18:08:01 Login Succeeded 18:08:01 nexus3.edgexfoundry.org:10004 18:08:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:01 Configure a credential helper to remove this warning. See 18:08:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:01 18:08:01 Login Succeeded 18:08:01 docker.io 18:08:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:02 Configure a credential helper to remove this warning. See 18:08:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:02 18:08:02 Login Succeeded 18:08:02 ---> docker-login.sh ends [Pipeline] } 18:08:02 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:08:03 ========================================================= 18:08:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 18:08:03 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:08:03 + 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 . 18:08:04 Sending build context to Docker daemon 2.516MB 18:08:04 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 18:08:04 Step 2/8 : FROM ${BASE} 18:08:04 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:08:04 5f621e34cdf4: Pulling fs layer 18:08:04 a4357932f1b6: Pulling fs layer 18:08:04 18c013af1878: Pulling fs layer 18:08:04 00ac8860ef70: Pulling fs layer 18:08:04 63d7cb157983: Pulling fs layer 18:08:04 b116817d02f9: Pulling fs layer 18:08:04 745a02a5169b: Pulling fs layer 18:08:04 00ac8860ef70: Waiting 18:08:04 63d7cb157983: Waiting 18:08:04 b116817d02f9: Waiting 18:08:04 745a02a5169b: Waiting 18:08:04 18c013af1878: Verifying Checksum 18:08:04 18c013af1878: Download complete 18:08:04 a4357932f1b6: Verifying Checksum 18:08:04 a4357932f1b6: Download complete 18:08:04 63d7cb157983: Download complete 18:08:04 b116817d02f9: Verifying Checksum 18:08:04 b116817d02f9: Download complete 18:08:04 5f621e34cdf4: Download complete 18:08:05 5f621e34cdf4: Pull complete 18:08:06 a4357932f1b6: Pull complete 18:08:06 18c013af1878: Pull complete 18:08:07 745a02a5169b: Verifying Checksum 18:08:07 745a02a5169b: Download complete 18:08:09 00ac8860ef70: Verifying Checksum 18:08:09 00ac8860ef70: Download complete 18:08:19 00ac8860ef70: Pull complete 18:08:19 63d7cb157983: Pull complete 18:08:19 b116817d02f9: Pull complete 18:08:23 745a02a5169b: Pull complete 18:08:23 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 18:08:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 18:08:23 ---> b7e6874047d6 18:08:23 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:08:26 ---> Running in 9e9da4c56e2c 18:08:26 Removing intermediate container 9e9da4c56e2c 18:08:26 ---> 6c03ed2d4a12 18:08:26 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:08:26 ---> Running in 380d72b09766 18:08:28 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.057s coverage: 9.4% of statements 18:08:28 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.049s coverage: 21.7% of statements 18:08:28 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 18:08:28 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.212s coverage: 42.5% of statements 18:08:28 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 18:08:28 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.304s coverage: 68.9% of statements 18:08:28 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 18:08:28 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 18:08:28 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 18:08:28 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 18:08:28 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.068s coverage: 53.8% of statements 18:08:28 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 18:08:28 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 18:08:28 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 18:08:28 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.366s coverage: 68.9% of statements 18:08:28 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.058s coverage: 4.2% of statements 18:08:28 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 18:08:28 GO111MODULE=on go vet ./... 18:08:29 Removing intermediate container 380d72b09766 18:08:29 ---> e94da664e1a2 18:08:29 Step 5/8 : RUN apk add --update --no-cache make git 18:08:29 ---> Running in 13095b00fa8e 18:08:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:08:31 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:08:32 OK: 142 MiB in 39 packages 18:08:33 Removing intermediate container 13095b00fa8e 18:08:33 ---> ad240a8912c4 18:08:33 Step 6/8 : WORKDIR /device-sdk-go 18:08:33 ---> Running in 5371100bd20e 18:08:33 gofmt -l . 18:08:33 [ "`gofmt -l .`" = "" ] 18:08:33 ./bin/test-attribution-txt.sh 18:08:33 Removing intermediate container 5371100bd20e 18:08:33 ---> 3ad1dbcc291c 18:08:33 Step 7/8 : COPY . . 18:08:34 ./bin/test-go-mod-tidy.sh [Pipeline] } 18:08:34 $ docker stop --time=1 8e6478076b9f9149bef2ec81df3dc62065a9bd43282d37aaf01bb36cb603732a 18:08:35 ---> 4e5b2bc48ac4 18:08:35 Step 8/8 : RUN go mod download 18:08:35 ---> Running in 7fbc76fe4821 18:08:36 $ docker rm -f 8e6478076b9f9149bef2ec81df3dc62065a9bd43282d37aaf01bb36cb603732a [Pipeline] // withDockerContainer [Pipeline] sh 18:08:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:08:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:08:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:08:40 + ls -al . 18:08:40 total 208 18:08:40 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 4 18:08 . 18:08:40 drwxrwxr-x. 4 jenkins jenkins 28 Jan 4 18:06 .. 18:08:40 drwxrwxr-x. 2 jenkins jenkins 64 Jan 4 18:06 bin 18:08:40 -rw-r--r--. 1 jenkins jenkins 130605 Jan 4 18:08 coverage.out 18:08:40 -rw-rw-r--. 1 jenkins jenkins 949 Jan 4 18:06 Dockerfile.build 18:08:40 -rw-rw-r--. 1 jenkins jenkins 140 Jan 4 18:06 .dockerignore 18:08:40 drwxrwxr-x. 4 jenkins jenkins 48 Jan 4 18:06 example 18:08:40 drwxrwxr-x. 8 jenkins jenkins 179 Jan 4 18:06 .git 18:08:40 drwxrwxr-x. 2 jenkins jenkins 103 Jan 4 18:06 .github 18:08:40 -rw-rw-r--. 1 jenkins jenkins 138 Jan 4 18:06 .gitignore 18:08:40 -rw-r--r--. 1 jenkins jenkins 488 Jan 4 18:08 go.mod 18:08:40 -rw-r--r--. 1 jenkins jenkins 13929 Jan 4 18:08 go.sum 18:08:40 drwxrwxr-x. 15 jenkins jenkins 211 Jan 4 18:06 internal 18:08:40 -rw-rw-r--. 1 jenkins jenkins 901 Jan 4 18:06 Jenkinsfile 18:08:40 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 4 18:06 LICENSE 18:08:40 -rw-rw-r--. 1 jenkins jenkins 1013 Jan 4 18:06 Makefile 18:08:40 drwxrwxr-x. 4 jenkins jenkins 26 Jan 4 18:06 openapi 18:08:40 drwxrwxr-x. 5 jenkins jenkins 50 Jan 4 18:06 pkg 18:08:40 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 4 18:06 README.md 18:08:40 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 4 18:06 RELEASE-NOTES.txt 18:08:40 drwxrwxr-x. 4 jenkins jenkins 54 Jan 4 18:06 snap 18:08:40 -rw-rw-r--. 1 jenkins jenkins 5 Jan 4 18:03 VERSION 18:08:40 -rw-rw-r--. 1 jenkins jenkins 222 Jan 4 18:06 version.go [Pipeline] isUnix [Pipeline] sh 18:08:40 + 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=1daa9d280e2cecd45d00b52ea95bc76d17849c91 --label arch=amd64 --label version=0.0.0 . 18:08:41 Sending build context to Docker daemon 2.648MB 18:08:41 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 18:08:41 Step 2/24 : FROM ${BASE} AS builder 18:08:41 ---> 615a9b38e4ea 18:08:41 Step 3/24 : ARG MAKE='make build' 18:08:41 ---> Running in 5b60afa256df 18:08:41 Removing intermediate container 5b60afa256df 18:08:41 ---> 3677432f44df 18:08:41 Step 4/24 : WORKDIR /device-sdk-go 18:08:41 ---> Running in c8f1094a8c3d 18:08:42 Removing intermediate container c8f1094a8c3d 18:08:42 ---> 1968a2f53b3c 18:08:42 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:08:42 ---> Running in cb9cc95f412d 18:08:42 Removing intermediate container cb9cc95f412d 18:08:42 ---> d708cc938b2a 18:08:42 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:08:42 ---> Running in fd608785639e 18:08:43 Removing intermediate container fd608785639e 18:08:43 ---> 0767f4f38018 18:08:43 Step 7/24 : RUN apk add --update --no-cache make git 18:08:43 ---> Running in a2cde9239b36 18:08:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:08:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:08:45 OK: 166 MiB in 39 packages 18:08:45 Removing intermediate container a2cde9239b36 18:08:45 ---> 30ab196609a4 18:08:45 Step 8/24 : COPY . . 18:08:46 ---> 23de523642a1 18:08:46 Step 9/24 : RUN ${MAKE} 18:08:46 ---> Running in e75c5f24dfb7 18:08:47 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 18:08:55 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 18:08:57 Removing intermediate container 7fbc76fe4821 18:08:57 ---> 899b57c53338 18:08:57 Successfully built 899b57c53338 18:08:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:08:58 Removing intermediate container e75c5f24dfb7 18:08:58 ---> f15a33ca693d 18:08:58 Step 10/24 : FROM scratch 18:08:58 ---> 18:08:58 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:08:58 ---> Running in 94ca9770abd8 18:08:58 Removing intermediate container 94ca9770abd8 18:08:58 ---> f136c65be1e3 18:08:58 Step 12/24 : ENV APP_PORT=49990 18:08:58 ---> Running in 04494f573d1d 18:08:58 + docker inspect -f . ci-base-image-arm64 18:08:58 . [Pipeline] withDockerContainer 18:08:58 Removing intermediate container 04494f573d1d 18:08:58 ---> 2a9f7bc1e26c 18:08:58 Step 13/24 : EXPOSE $APP_PORT 18:08:58 ---> Running in 30599122c2fd 18:08:58 prd-ubuntu18.04-docker-arm64-4c-16g-18231 does not seem to be running inside a container 18:08:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 18:08:58 Removing intermediate container 30599122c2fd 18:08:58 ---> 6d890a3b7902 18:08:58 Step 14/24 : WORKDIR / 18:08:58 ---> Running in 28ca41fbc884 18:08:58 Removing intermediate container 28ca41fbc884 18:08:58 ---> c4e130c48e9b 18:08:58 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 18:08:59 ---> abecb2a4e108 18:08:59 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 18:08:59 ---> d472b2deec18 18:08:59 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 18:08:59 ---> f0e3a05b247b 18:08:59 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 18:08:59 ---> de5faef6c317 18:08:59 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 18:08:59 $ docker top a91e488c9347138e0c3701fa2177c9a9e12ae5a5b229b64cad7e10cb82e92730 -eo pid,comm 18:09:00 ---> 4520f15d52f4 18:09:00 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 18:09:00 ---> Running in e18b3492d153 [Pipeline] { [Pipeline] sh 18:09:00 Removing intermediate container e18b3492d153 18:09:00 ---> ef35b8a9adec 18:09:00 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:09:00 ---> Running in dca3794e4dc5 18:09:00 Removing intermediate container dca3794e4dc5 18:09:00 ---> 9300a2c3ea85 18:09:00 Step 22/24 : LABEL arch=amd64 18:09:00 ---> Running in 8a69d6cd03d2 18:09:00 Removing intermediate container 8a69d6cd03d2 18:09:00 ---> 6b5ca732fc83 18:09:00 Step 23/24 : LABEL git_sha=1daa9d280e2cecd45d00b52ea95bc76d17849c91 18:09:00 ---> Running in fcd361439289 18:09:00 Removing intermediate container fcd361439289 18:09:00 ---> d8bb68128140 18:09:00 Step 24/24 : LABEL version=0.0.0 18:09:00 + go version 18:09:00 go version go1.15.5 linux/arm64 [Pipeline] } 18:09:00 $ docker stop --time=1 a91e488c9347138e0c3701fa2177c9a9e12ae5a5b229b64cad7e10cb82e92730 18:09:01 ---> Running in a12182b9e1a6 18:09:01 Removing intermediate container a12182b9e1a6 18:09:01 ---> 38d49ddd6708 18:09:01 [Warning] One or more build-args [ARCH] were not consumed 18:09:01 Successfully built 38d49ddd6708 18:09:01 Successfully tagged docker-device-sdk-simple:latest 18:09:02 $ docker rm -f a91e488c9347138e0c3701fa2177c9a9e12ae5a5b229b64cad7e10cb82e92730 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Test) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] script [Pipeline] { [Pipeline] stage [Pipeline] { (Snap) [Pipeline] isUnix [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv 18:09:04 + docker inspect -f . ci-base-image-arm64 18:09:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] withDockerContainer 18:09:04 prd-ubuntu18.04-docker-arm64-4c-16g-18231 does not seem to be running inside a container 18:09:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 18:09:06 $ docker top a8a1f2308bee1e90eba57c7c04e15c882aa0a6297fd71df01782ae712f7719a1 -eo pid,comm [Pipeline] { [Pipeline] // ws [Pipeline] } [Pipeline] sh [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:09:07 + make test 18:09:07 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:09:29 ? github.com/edgexfoundry/device-sdk-go [no test files] 18:10:08 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 18:10:08 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 18:10:08 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 18:10:08 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.139s coverage: 19.4% of statements 18:10:13 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.163s coverage: 97.1% of statements 18:10:40 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.136s coverage: 9.4% of statements 18:10:40 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.114s coverage: 21.7% of statements 18:10:40 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 18:10:40 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.595s coverage: 42.5% of statements 18:10:40 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 18:10:40 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.732s coverage: 68.9% of statements 18:10:40 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 18:10:40 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 18:10:40 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 18:10:40 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 18:10:40 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.220s coverage: 53.8% of statements 18:10:40 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 18:10:40 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 18:10:40 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 18:10:40 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.958s coverage: 68.9% of statements 18:10:40 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.138s coverage: 4.2% of statements 18:10:40 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 18:10:40 GO111MODULE=on go vet ./... 18:11:13 gofmt -l . 18:11:13 [ "`gofmt -l .`" = "" ] 18:11:13 ./bin/test-attribution-txt.sh 18:11:13 ./bin/test-go-mod-tidy.sh [Pipeline] } 18:11:14 $ docker stop --time=1 a8a1f2308bee1e90eba57c7c04e15c882aa0a6297fd71df01782ae712f7719a1 18:11:16 $ docker rm -f a8a1f2308bee1e90eba57c7c04e15c882aa0a6297fd71df01782ae712f7719a1 [Pipeline] // withDockerContainer [Pipeline] sh 18:11:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:11:17 Warning: overwriting stash ‘coverage-report’ 18:11:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:11:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:11:19 + ls -al . 18:11:19 total 244 18:11:19 drwxrwxr-x 10 jenkins jenkins 4096 Jan 4 18:11 . 18:11:19 drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 18:07 .. 18:11:19 -rw-rw-r-- 1 jenkins jenkins 140 Jan 4 18:07 .dockerignore 18:11:19 drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 18:07 .git 18:11:19 drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 18:07 .github 18:11:19 -rw-rw-r-- 1 jenkins jenkins 138 Jan 4 18:07 .gitignore 18:11:19 -rw-rw-r-- 1 jenkins jenkins 949 Jan 4 18:07 Dockerfile.build 18:11:19 -rw-rw-r-- 1 jenkins jenkins 901 Jan 4 18:07 Jenkinsfile 18:11:19 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 4 18:07 LICENSE 18:11:19 -rw-rw-r-- 1 jenkins jenkins 1013 Jan 4 18:07 Makefile 18:11:19 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 4 18:07 README.md 18:11:19 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 4 18:07 RELEASE-NOTES.txt 18:11:19 -rw-rw-r-- 1 jenkins jenkins 5 Jan 4 18:03 VERSION 18:11:19 drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 18:07 bin 18:11:19 -rw-r--r-- 1 jenkins jenkins 130605 Jan 4 18:10 coverage.out 18:11:19 drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 18:07 example 18:11:19 -rw-r--r-- 1 jenkins jenkins 488 Jan 4 18:11 go.mod 18:11:19 -rw-r--r-- 1 jenkins jenkins 13929 Jan 4 18:11 go.sum 18:11:19 drwxrwxr-x 15 jenkins jenkins 4096 Jan 4 18:07 internal 18:11:19 drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 18:07 openapi 18:11:19 drwxrwxr-x 5 jenkins jenkins 4096 Jan 4 18:07 pkg 18:11:19 drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 18:07 snap 18:11:19 -rw-rw-r-- 1 jenkins jenkins 222 Jan 4 18:07 version.go [Pipeline] isUnix [Pipeline] sh 18:11:19 + 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=1daa9d280e2cecd45d00b52ea95bc76d17849c91 --label arch=arm64 --label version=0.0.0 . 18:11:20 Sending build context to Docker daemon 2.648MB 18:11:20 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 18:11:20 Step 2/24 : FROM ${BASE} AS builder 18:11:20 ---> 899b57c53338 18:11:20 Step 3/24 : ARG MAKE='make build' 18:11:20 ---> Running in 07120af17be8 18:11:20 Removing intermediate container 07120af17be8 18:11:20 ---> e6c8911cd2fe 18:11:20 Step 4/24 : WORKDIR /device-sdk-go 18:11:21 ---> Running in 390a806230a5 18:11:21 Removing intermediate container 390a806230a5 18:11:21 ---> 5f7b4734ed9f 18:11:21 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:11:21 ---> Running in da8896683900 18:11:22 Removing intermediate container da8896683900 18:11:22 ---> 74d4e3d3a148 18:11:22 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:11:22 ---> Running in 0ed4099fd057 18:11:24 Removing intermediate container 0ed4099fd057 18:11:24 ---> da604b67f217 18:11:24 Step 7/24 : RUN apk add --update --no-cache make git 18:11:24 ---> Running in 553751fbc199 18:11:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:11:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:11:27 OK: 142 MiB in 39 packages 18:11:28 Removing intermediate container 553751fbc199 18:11:28 ---> edaddcf60862 18:11:28 Step 8/24 : COPY . . 18:11:29 ---> 09f4d7341f92 18:11:29 Step 9/24 : RUN ${MAKE} 18:11:30 ---> Running in 1b5411115b0f 18:11:31 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 18:11:58 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 18:11:58 Removing intermediate container 1b5411115b0f 18:11:58 ---> 94bc6f8e73c8 18:11:58 Step 10/24 : FROM scratch 18:11:58 ---> 18:11:58 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:11:58 ---> Running in 3f704dc741d6 18:11:58 Removing intermediate container 3f704dc741d6 18:11:58 ---> a3579d2fcefe 18:11:58 Step 12/24 : ENV APP_PORT=49990 18:11:58 ---> Running in 83989a6610af 18:11:59 Removing intermediate container 83989a6610af 18:11:59 ---> 34b62445530f 18:11:59 Step 13/24 : EXPOSE $APP_PORT 18:11:59 ---> Running in 6b296c607ffe 18:11:59 Removing intermediate container 6b296c607ffe 18:11:59 ---> 8140da37e9d1 18:11:59 Step 14/24 : WORKDIR / 18:12:00 ---> Running in 619fdf7f4550 18:12:00 Removing intermediate container 619fdf7f4550 18:12:00 ---> 322b87bd89f4 18:12:00 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 18:12:01 ---> 4dcc06d9b0bf 18:12:01 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 18:12:02 ---> c9a4de4e8947 18:12:02 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 18:12:02 ---> 8a844526bca5 18:12:02 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 18:12:03 ---> 6e203db848ca 18:12:03 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 18:12:04 ---> 6f4e886d3d36 18:12:04 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 18:12:04 ---> Running in c37a61753c19 18:12:05 Removing intermediate container c37a61753c19 18:12:05 ---> a79ba65be45a 18:12:05 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:12:05 ---> Running in b6cf92008836 18:12:05 Removing intermediate container b6cf92008836 18:12:05 ---> b9737193dc76 18:12:05 Step 22/24 : LABEL arch=arm64 18:12:05 ---> Running in 5e99bf3beba8 18:12:06 Removing intermediate container 5e99bf3beba8 18:12:06 ---> 4453131e67b5 18:12:06 Step 23/24 : LABEL git_sha=1daa9d280e2cecd45d00b52ea95bc76d17849c91 18:12:06 ---> Running in cc8b27022c7b 18:12:06 Removing intermediate container cc8b27022c7b 18:12:06 ---> 4e7796fde530 18:12:06 Step 24/24 : LABEL version=0.0.0 18:12:06 ---> Running in 32d83d0ae8ba 18:12:07 Removing intermediate container 32d83d0ae8ba 18:12:07 ---> 18e015c68c92 18:12:07 [Warning] One or more build-args [ARCH] were not consumed 18:12:07 Successfully built 18e015c68c92 18:12:07 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 18:12:09 provisioning config files... 18:12:09 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp/config2496653413993486080tmp [Pipeline] { [Pipeline] sh 18:12:09 + set +x 18:12:09 + curl -s https://codecov.io/bash 18:12:09 + bash -s -- 18:12:09 18:12:09 _____ _ 18:12:09 / ____| | | 18:12:09 | | ___ __| | ___ ___ _____ __ 18:12:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:12:09 | |___| (_) | (_| | __/ (_| (_) \ V / 18:12:09 \_____\___/ \__,_|\___|\___\___/ \_/ 18:12:09 Bash-20201231-23d4836 18:12:09 18:12:09 18:12:09 ==> git version 2.24.3 found 18:12:09 ==> 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 18:12:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 18:12:09 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 18:12:09 ==> Jenkins CI detected. 18:12:09 project root: . 18:12:09 --> token set from env 18:12:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:12:09 ==> Running gcov in . (disable via -X gcov) 18:12:09 ==> Python coveragepy not found 18:12:09 ==> Searching for coverage reports in: 18:12:09 + . 18:12:09 -> Found 1 reports 18:12:09 ==> Detecting git/mercurial file structure 18:12:09 ==> Reading reports 18:12:09 + ./coverage.out bytes=130605 18:12:09 ==> Appending adjustments 18:12:09 https://docs.codecov.io/docs/fixing-reports 18:12:10 + Found adjustments 18:12:10 ==> Gzipping contents 18:12:10 24K /tmp/codecov.LTnIUF.gz 18:12:10 ==> Uploading reports 18:12:10 url: https://codecov.io 18:12:10 query: branch=PR-707&commit=1daa9d280e2cecd45d00b52ea95bc76d17849c91&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-707%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=707&job=&cmd_args= 18:12:10 -> Pinging Codecov 18:12:10 https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-707&commit=1daa9d280e2cecd45d00b52ea95bc76d17849c91&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-707%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=707&job=&cmd_args= 18:12:10 -> Uploading to 18:12:10 https://storage.googleapis.com/codecov/v4/raw/2021-01-04/7E55EF52A471D76F132DFD9A03CDDE97/1daa9d280e2cecd45d00b52ea95bc76d17849c91/b8c3a1e9-566f-4848-90a3-19a3dad37b6b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210104%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210104T181210Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d7e184a145db8355017bddb6028390f524c9cdb7bd48c57737f01f0786b8ccba 18:12:10 % Total % Received % Xferd Average Speed Time Time Time Current 18:12:10 Dload Upload Total Spent Left Speed 18:12:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21268 0 0 100 21268 0 36945 --:--:-- --:--:-- --:--:-- 36987 18:12:11 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1daa9d280e2cecd45d00b52ea95bc76d17849c91 [Pipeline] } 18:12:11 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 18:12:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:12:14 ---> package-listing.sh 18:12:14 ++ tr '[:upper:]' '[:lower:]' 18:12:14 ++ facter osfamily 18:12:14 + OS_FAMILY=redhat 18:12:14 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-707 18:12:14 + START_PACKAGES=/tmp/packages_start.txt 18:12:14 + END_PACKAGES=/tmp/packages_end.txt 18:12:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:12:14 + PACKAGES=/tmp/packages_start.txt 18:12:14 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-707 ']' 18:12:14 + PACKAGES=/tmp/packages_end.txt 18:12:14 + case "${OS_FAMILY}" in 18:12:14 + rpm -qa 18:12:14 + sort 18:12:19 + '[' -f /tmp/packages_start.txt ']' 18:12:19 + '[' -f /tmp/packages_end.txt ']' 18:12:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:12:19 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-707 ']' 18:12:19 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-707/archives/ 18:12:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-707/archives/ [Pipeline] echo 18:12:19 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-707/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:12:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:12:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:12:20 18:12:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:12:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:12:20 alpine: Pulling from edgex-lftools-log-publisher 18:12:20 df20fa9351a1: Pulling fs layer 18:12:20 36b3adc4ff6f: Pulling fs layer 18:12:20 8ad3a11d3b57: Pulling fs layer 18:12:20 46f8f816bc3b: Pulling fs layer 18:12:20 93b61091891f: Pulling fs layer 18:12:20 93b9cdb0e59b: Pulling fs layer 18:12:20 5e14af77c1be: Pulling fs layer 18:12:20 01666e4c0597: Pulling fs layer 18:12:20 aa168da1d23b: Pulling fs layer 18:12:20 93b61091891f: Waiting 18:12:20 5e14af77c1be: Waiting 18:12:20 01666e4c0597: Waiting 18:12:20 93b9cdb0e59b: Waiting 18:12:20 aa168da1d23b: Waiting 18:12:20 36b3adc4ff6f: Verifying Checksum 18:12:20 36b3adc4ff6f: Download complete 18:12:20 46f8f816bc3b: Verifying Checksum 18:12:20 46f8f816bc3b: Download complete 18:12:20 df20fa9351a1: Verifying Checksum 18:12:20 df20fa9351a1: Download complete 18:12:20 93b9cdb0e59b: Verifying Checksum 18:12:20 93b9cdb0e59b: Download complete 18:12:20 5e14af77c1be: Verifying Checksum 18:12:20 5e14af77c1be: Download complete 18:12:20 01666e4c0597: Verifying Checksum 18:12:20 01666e4c0597: Download complete 18:12:20 8ad3a11d3b57: Verifying Checksum 18:12:20 df20fa9351a1: Pull complete 18:12:21 36b3adc4ff6f: Pull complete 18:12:21 93b61091891f: Verifying Checksum 18:12:21 93b61091891f: Download complete 18:12:21 8ad3a11d3b57: Pull complete 18:12:22 46f8f816bc3b: Pull complete 18:12:22 93b61091891f: Pull complete 18:12:22 93b9cdb0e59b: Pull complete 18:12:23 aa168da1d23b: Verifying Checksum 18:12:23 aa168da1d23b: Download complete 18:12:23 5e14af77c1be: Pull complete 18:12:23 01666e4c0597: Pull complete 18:12:30 aa168da1d23b: Pull complete 18:12:30 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 18:12:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:12:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:12:30 prd-centos7-docker-4c-2g-18227 does not seem to be running inside a container 18:12:30 $ 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-707/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-707 -v /w/workspace/dgexfoundry_device-sdk-go_PR-707:/w/workspace/dgexfoundry_device-sdk-go_PR-707:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-707@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 18:12:34 $ docker top d57ef960c7165567f3685939477460f9fde09a93c1ccd42311758b543e0656b6 -eo pid,comm [Pipeline] { [Pipeline] sh 18:12:35 + touch /tmp/pre-build-complete [Pipeline] sh 18:12:35 + mkdir -p /var/log/sa [Pipeline] sh 18:12:35 + ls /var/log/sa-host 18:12:35 + sadf -c /var/log/sa-host/sa04 18:12:35 file_magic: OK 18:12:35 HZ: Using current value: 100 18:12:35 file_header: OK 18:12:35 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 18:12:35 Statistics: 18:12:35 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:12:35 File successfully converted to sysstat format version 12.2.1 18:12:35 + sadf -c /var/log/sa-host/sa23 18:12:35 file_magic: OK 18:12:35 HZ: Using current value: 100 18:12:35 file_header: OK 18:12:35 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 18:12:35 Statistics: 18:12:35 Hnuu...uuuununununu... 18:12:35 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:12:35 provisioning config files... 18:12:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp/config5915214682131047309tmp [Pipeline] { [Pipeline] echo 18:12:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:12:36 ---> create-netrc.sh [Pipeline] } 18:12:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 18:12:36 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 18:12:36 ---> python-tools-install.sh [Pipeline] echo 18:12:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:12:37 ---> sudo-logs.sh 18:12:37 Archiving 'sudo' log.. [Pipeline] echo 18:12:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:12:37 ---> job-cost.sh 18:12:37 lf-activate-venv: SKIPPING 18:12:37 INFO: No Stack... 18:12:38 INFO: Retrieving Pricing Info for: v1-standard-2 18:12:39 INFO: Archiving Costs [Pipeline] echo 18:12:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:12:39 ---> logs-deploy.sh 18:12:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-707/4 18:12:39 INFO: archiving workspace using pattern(s): 18:12:41 Archives upload complete. 18:12:41 INFO: archiving logs to Nexus 18:12:42 ---> uname -a: 18:12:42 Linux prd-centos7-docker-4c-2g-18227.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 18:12:42 18:12:42 18:12:42 ---> lscpu: 18:12:42 Architecture: x86_64 18:12:42 CPU op-mode(s): 32-bit, 64-bit 18:12:42 Byte Order: Little Endian 18:12:42 Address sizes: 40 bits physical, 48 bits virtual 18:12:42 CPU(s): 4 18:12:42 On-line CPU(s) list: 0-3 18:12:42 Thread(s) per core: 1 18:12:42 Core(s) per socket: 1 18:12:42 Socket(s): 4 18:12:42 NUMA node(s): 1 18:12:42 Vendor ID: GenuineIntel 18:12:42 CPU family: 6 18:12:42 Model: 44 18:12:42 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 18:12:42 Stepping: 1 18:12:42 CPU MHz: 2933.442 18:12:42 BogoMIPS: 5866.88 18:12:42 Virtualization: VT-x 18:12:42 Hypervisor vendor: KVM 18:12:42 Virtualization type: full 18:12:42 L1d cache: 128 KiB 18:12:42 L1i cache: 128 KiB 18:12:42 L2 cache: 16 MiB 18:12:42 L3 cache: 64 MiB 18:12:42 NUMA node0 CPU(s): 0-3 18:12:42 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 18:12:42 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 18:12:42 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 18:12:42 Vulnerability Meltdown: Mitigation; PTI 18:12:42 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:12:42 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 18:12:42 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 18:12:42 Vulnerability Srbds: Not affected 18:12:42 Vulnerability Tsx async abort: Not affected 18:12:42 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 18:12:42 18:12:42 18:12:42 ---> nproc: 18:12:42 4 18:12:42 18:12:42 18:12:42 ---> df -h: 18:12:42 Filesystem Size Used Available Use% Mounted on 18:12:42 overlay 50.0G 7.3G 42.7G 15% / 18:12:42 tmpfs 64.0M 0 64.0M 0% /dev 18:12:42 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 18:12:42 shm 64.0M 0 64.0M 0% /dev/shm 18:12:42 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 18:12:42 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 18:12:42 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 18:12:42 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 18:12:42 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 18:12:42 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 18:12:42 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 18:12:42 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-707 18:12:42 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp 18:12:42 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 18:12:42 18:12:42 18:12:42 ---> free -m: 18:12:42 total used free shared buff/cache available 18:12:42 Mem: 1837 706 108 0 1022 1026 18:12:42 Swap: 1023 0 1023 18:12:42 18:12:42 18:12:42 ---> ip addr: 18:12:42 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 18:12:42 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 18:12:42 inet 127.0.0.1/8 scope host lo 18:12:42 valid_lft forever preferred_lft forever 18:12:42 inet6 ::1/128 scope host 18:12:42 valid_lft forever preferred_lft forever 18:12:42 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 18:12:42 link/ether fa:16:3e:d2:34:57 brd ff:ff:ff:ff:ff:ff 18:12:42 inet 10.30.123.195/23 brd 10.30.123.255 scope global dynamic eth0 18:12:42 valid_lft 85800sec preferred_lft 85800sec 18:12:42 inet6 fe80::f816:3eff:fed2:3457/64 scope link 18:12:42 valid_lft forever preferred_lft forever 18:12:42 3: docker0: mtu 1500 qdisc noqueue state DOWN 18:12:42 link/ether 02:42:f4:5d:be:59 brd ff:ff:ff:ff:ff:ff 18:12:42 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 18:12:42 valid_lft forever preferred_lft forever 18:12:42 inet6 fe80::42:f4ff:fe5d:be59/64 scope link 18:12:42 valid_lft forever preferred_lft forever 18:12:42 18:12:42 18:12:42 ---> sar -b -r -n DEV: 18:12:42 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/04/21 _x86_64_ (4 CPU) 18:12:42 18:12:42 18:02:31 LINUX RESTART (4 CPU) 18:12:42 18:12:42 18:03:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 18:12:42 18:04:01 71.69 28.04 43.65 0.00 6965.37 3881.35 0.00 18:12:42 18:05:01 1.65 0.00 1.65 0.00 0.00 28.12 0.00 18:12:42 18:06:01 0.15 0.00 0.15 0.00 0.00 2.02 0.00 18:12:42 18:07:01 0.35 0.00 0.35 0.00 0.00 5.38 0.00 18:12:42 18:08:01 0.20 0.00 0.20 0.00 0.00 2.76 0.00 18:12:42 18:09:01 0.35 0.00 0.35 0.00 0.00 4.83 0.00 18:12:42 18:10:01 0.32 0.00 0.32 0.00 0.00 4.26 0.00 18:12:42 18:11:01 0.25 0.00 0.25 0.00 0.00 3.23 0.00 18:12:42 18:12:01 0.35 0.00 0.35 0.00 0.00 5.04 0.00 18:12:42 Average: 8.25 3.07 5.18 0.00 762.93 431.32 0.00 18:12:42 18:12:42 18:03:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:12:42 18:04:01 154180 0 605212 32.17 2620 1119532 1101648 37.60 424160 1103880 136 18:12:42 18:05:01 155476 0 603904 32.10 2620 1119544 1101456 37.59 427452 1099480 20 18:12:42 18:06:01 157812 0 601564 31.97 2620 1119548 1078308 36.80 424572 1100152 20 18:12:42 18:07:01 157004 0 602368 32.01 2620 1119552 1078540 36.81 439360 1086248 12 18:12:42 18:08:01 156404 0 602964 32.05 2620 1119556 1078480 36.81 434740 1091600 16 18:12:42 18:09:01 156388 0 602976 32.05 2620 1119560 1078480 36.81 449348 1077120 8 18:12:42 18:10:01 157348 0 602012 32.00 2620 1119564 1078360 36.80 448704 1077228 8 18:12:42 18:11:01 157044 0 602312 32.01 2620 1119568 1078360 36.80 448584 1077228 8 18:12:42 18:12:01 157588 0 601760 31.98 2620 1119576 1078360 36.80 448468 1077228 8 18:12:42 Average: 156583 0 602786 32.04 2620 1119556 1083555 36.98 438376 1087796 26 18:12:42 18:12:42 18:03:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:12:42 18:04:01 eth0 594.13 360.28 1115.37 105.50 0.00 0.00 0.00 0.00 18:12:42 18:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:42 18:04:01 docker0 9.04 6.58 1.39 21.15 0.00 0.00 0.00 0.00 18:12:42 18:05:01 eth0 0.63 0.33 0.29 0.20 0.00 0.00 0.00 0.00 18:12:42 18:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:42 18:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:42 18:06:01 eth0 0.82 0.08 0.08 0.01 0.00 0.00 0.00 0.00 18:12:42 18:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:42 18:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:42 18:07:01 eth0 1.88 0.72 0.67 0.41 0.00 0.00 0.00 0.00 18:12:42 18:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:42 18:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:42 18:08:01 eth0 0.60 0.35 0.28 0.20 0.00 0.00 0.00 0.00 18:12:42 18:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:42 18:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:42 18:09:01 eth0 0.35 0.32 0.15 0.08 0.00 0.00 0.00 0.00 18:12:42 18:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:42 18:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:42 18:10:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 18:12:42 18:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:42 18:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:42 18:11:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 18:12:42 18:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:42 18:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:42 18:12:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 18:12:42 18:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:42 18:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:42 Average: eth0 65.59 39.69 122.33 11.66 0.00 0.00 0.00 0.00 18:12:42 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:42 Average: docker0 0.99 0.72 0.15 2.32 0.00 0.00 0.00 0.00 18:12:42 18:12:42 18:12:42 ---> sar -P ALL: 18:12:42 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/04/21 _x86_64_ (4 CPU) 18:12:42 18:12:42 18:02:31 LINUX RESTART (4 CPU) 18:12:42 18:12:42 18:03:02 CPU %user %nice %system %iowait %steal %idle 18:12:42 18:04:01 all 12.07 0.00 3.72 1.92 0.03 82.27 18:12:42 18:04:01 0 13.68 0.00 4.39 2.48 0.02 79.44 18:12:42 18:04:01 1 10.99 0.00 3.18 0.86 0.03 84.94 18:12:42 18:04:01 2 13.61 0.00 3.17 0.41 0.03 82.77 18:12:42 18:04:01 3 9.99 0.00 4.14 3.92 0.03 81.92 18:12:42 18:05:01 all 0.16 0.00 0.05 0.00 0.00 99.79 18:12:42 18:05:01 0 0.03 0.00 0.07 0.00 0.00 99.90 18:12:42 18:05:01 1 0.08 0.00 0.02 0.00 0.00 99.90 18:12:42 18:05:01 2 0.10 0.00 0.07 0.00 0.00 99.83 18:12:42 18:05:01 3 0.43 0.00 0.05 0.00 0.00 99.52 18:12:42 18:06:01 all 0.17 0.00 0.04 0.00 0.00 99.79 18:12:42 18:06:01 0 0.02 0.00 0.02 0.00 0.00 99.97 18:12:42 18:06:01 1 0.05 0.00 0.03 0.00 0.00 99.92 18:12:42 18:06:01 2 0.08 0.00 0.08 0.00 0.00 99.83 18:12:42 18:06:01 3 0.53 0.00 0.03 0.00 0.00 99.43 18:12:42 18:07:01 all 0.16 0.00 0.05 0.00 0.00 99.79 18:12:42 18:07:01 0 0.02 0.00 0.08 0.00 0.00 99.90 18:12:42 18:07:01 1 0.05 0.00 0.02 0.00 0.00 99.93 18:12:42 18:07:01 2 0.07 0.00 0.08 0.00 0.00 99.85 18:12:42 18:07:01 3 0.50 0.00 0.02 0.00 0.00 99.48 18:12:42 18:08:01 all 0.17 0.00 0.03 0.00 0.00 99.80 18:12:42 18:08:01 0 0.03 0.00 0.02 0.00 0.00 99.95 18:12:42 18:08:01 1 0.05 0.00 0.02 0.00 0.00 99.93 18:12:42 18:08:01 2 0.07 0.00 0.07 0.00 0.00 99.87 18:12:42 18:08:01 3 0.52 0.00 0.02 0.00 0.00 99.47 18:12:42 18:09:01 all 0.16 0.00 0.06 0.00 0.00 99.78 18:12:42 18:09:01 0 0.02 0.00 0.10 0.00 0.00 99.88 18:12:42 18:09:01 1 0.07 0.00 0.07 0.00 0.00 99.87 18:12:42 18:09:01 2 0.03 0.00 0.07 0.00 0.02 99.88 18:12:42 18:09:01 3 0.52 0.00 0.02 0.00 0.00 99.47 18:12:42 18:10:01 all 0.16 0.00 0.03 0.00 0.00 99.81 18:12:42 18:10:01 0 0.03 0.00 0.03 0.00 0.00 99.93 18:12:42 18:10:01 1 0.05 0.00 0.05 0.00 0.00 99.90 18:12:42 18:10:01 2 0.02 0.00 0.03 0.00 0.00 99.95 18:12:42 18:10:01 3 0.53 0.00 0.02 0.00 0.00 99.45 18:12:42 18:11:01 all 0.16 0.00 0.02 0.00 0.00 99.81 18:12:42 18:11:01 0 0.02 0.00 0.00 0.00 0.00 99.98 18:12:42 18:11:01 1 0.07 0.00 0.07 0.00 0.02 99.85 18:12:42 18:11:01 2 0.03 0.00 0.02 0.00 0.00 99.95 18:12:42 18:11:01 3 0.52 0.00 0.02 0.00 0.00 99.47 18:12:42 18:12:01 all 0.17 0.00 0.03 0.00 0.00 99.80 18:12:42 18:12:01 0 0.03 0.00 0.02 0.00 0.00 99.95 18:12:42 18:12:01 1 0.08 0.00 0.07 0.00 0.00 99.85 18:12:42 18:12:01 2 0.03 0.00 0.03 0.00 0.00 99.93 18:12:42 18:12:01 3 0.52 0.00 0.02 0.00 0.00 99.47 18:12:42 Average: all 1.45 0.00 0.44 0.21 0.00 97.90 18:12:42 Average: 0 1.50 0.00 0.51 0.27 0.00 97.72 18:12:42 Average: 1 1.25 0.00 0.38 0.09 0.01 98.27 18:12:42 Average: 2 1.52 0.00 0.39 0.04 0.01 98.03 18:12:42 Average: 3 1.53 0.00 0.47 0.42 0.00 97.57 18:12:42 18:12:42 18:12:42