Pull request #699 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 ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 46826221d8f689806f16db9f39a794e758c3a709+42e5a1ea61e0adb23423a933a3224d1395f33e87 (022fc98138b86763d09add1d6cb1241ee981f25d) 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-18186 in /w/workspace/dgexfoundry_device-sdk-go_PR-699 [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-699 # 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/699/head:refs/remotes/origin/PR-699 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 42e5a1ea61e0adb23423a933a3224d1395f33e87 into PR head commit 46826221d8f689806f16db9f39a794e758c3a709 Merge succeeded, producing 46826221d8f689806f16db9f39a794e758c3a709 Checking out Revision 46826221d8f689806f16db9f39a794e758c3a709 (PR-699) > git config core.sparsecheckout # timeout=10 > git checkout -f 46826221d8f689806f16db9f39a794e758c3a709 # 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 42e5a1ea61e0adb23423a933a3224d1395f33e87 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 46826221d8f689806f16db9f39a794e758c3a709 # timeout=10 Commit message: "ci: standardize dockerfiles" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:32:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk cb8b740659a7fba2ac5e869b496da7a05930bcd5 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:32:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:32:27 ========================================================= 16:32:27 EdgeX Global Pipelines Version Info 16:32:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:32:29 ------------------- 16:32:29 stable info: 16:32:29 ------------------- 16:32:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:32:29 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 16:32:29 Message: update stable to v1.0.173 16:32:30 ------------------- 16:32:30 experimental info: 16:32:30 ------------------- 16:32:30 Commited By: **** collab-it+edgex@linuxfoundation.org 16:32:30 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 16:32:30 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:32:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 16:32:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 16:32:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:32:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:32:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:32:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 16:32:31 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 16:32:31 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 16:32:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 16:32:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:32:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:32:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 16:32:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:32:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:32:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:32:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:32:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:32:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:32:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:32:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:32:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:32:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 16:32:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:32:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:32:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:32:33 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 16:32:33 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 16:32:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-699 [Pipeline] echo 16:32:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-699 [Pipeline] echo 16:32:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-699 [Pipeline] echo 16:32:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 46826221d8f689806f16db9f39a794e758c3a709 [Pipeline] echo 16:32:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4682622 [Pipeline] echo 16:32:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:32:34 provisioning config files... 16:32:34 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp/config6672648956801613591tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:32:34 ---> docker-login.sh 16:32:34 nexus3.edgexfoundry.org:10001 16:32:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:32:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:32:34 Configure a credential helper to remove this warning. See 16:32:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:32:34 16:32:34 Login Succeeded 16:32:34 nexus3.edgexfoundry.org:10002 16:32:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:32:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:32:34 Configure a credential helper to remove this warning. See 16:32:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:32:34 16:32:34 Login Succeeded 16:32:34 nexus3.edgexfoundry.org:10003 16:32:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:32:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:32:35 Configure a credential helper to remove this warning. See 16:32:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:32:35 16:32:35 Login Succeeded 16:32:35 nexus3.edgexfoundry.org:10004 16:32:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:32:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:32:35 Configure a credential helper to remove this warning. See 16:32:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:32:35 16:32:35 Login Succeeded 16:32:35 docker.io 16:32:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:32:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:32:35 Configure a credential helper to remove this warning. See 16:32:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:32:35 16:32:35 Login Succeeded 16:32:35 ---> docker-login.sh ends [Pipeline] } 16:32:35 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 16:32:36 + git log --format=format:%s -1 46826221d8f689806f16db9f39a794e758c3a709 [Pipeline] echo 16:32:36 GIT_COMMIT: 46826221d8f689806f16db9f39a794e758c3a709, Commit Message: ci: standardize dockerfiles [Pipeline] echo 16:32:36 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 16:32:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:32:37 16:32:37 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:32:37 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:32:37 latest: Pulling from edgex-devops/git-semver 16:32:37 31603596830f: Pulling fs layer 16:32:37 2a8b12db71e7: Pulling fs layer 16:32:37 6ca5941a6612: Pulling fs layer 16:32:37 ecc8261a40a4: Pulling fs layer 16:32:37 ecc8261a40a4: Waiting 16:32:37 2a8b12db71e7: Download complete 16:32:37 31603596830f: Verifying Checksum 16:32:37 31603596830f: Download complete 16:32:37 ecc8261a40a4: Verifying Checksum 16:32:37 ecc8261a40a4: Download complete 16:32:37 6ca5941a6612: Verifying Checksum 16:32:37 6ca5941a6612: Download complete 16:32:38 31603596830f: Pull complete 16:32:38 2a8b12db71e7: Pull complete 16:32:39 6ca5941a6612: Pull complete 16:32:39 ecc8261a40a4: Pull complete 16:32:39 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 16:32:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:32:39 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:32:39 prd-centos7-docker-4c-2g-18186 does not seem to be running inside a container 16:32:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-699 -v /w/workspace/dgexfoundry_device-sdk-go_PR-699:/w/workspace/dgexfoundry_device-sdk-go_PR-699:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-699@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:10004/edgex-devops/git-semver:latest cat 16:32:41 $ docker top 7e2f8a949f830e146926453ef8d2386e707569366d3be5a6c2dbc3fbd12151d4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:32:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:32:41 [ssh-agent] Looking for ssh-agent implementation... 16:32:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:32:42 $ docker exec 7e2f8a949f830e146926453ef8d2386e707569366d3be5a6c2dbc3fbd12151d4 ssh-agent 16:32:42 SSH_AUTH_SOCK=/tmp/ssh-MdVprvazten6/agent.13 16:32:42 SSH_AGENT_PID=18 16:32:42 Running ssh-add (command line suppressed) 16:32:42 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp/private_key_4009041208665681792.key (/w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp/private_key_4009041208665681792.key) 16:32:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:32:42 + git tag --points-at HEAD [Pipeline] } 16:32:42 $ docker exec --env ******** --env ******** 7e2f8a949f830e146926453ef8d2386e707569366d3be5a6c2dbc3fbd12151d4 ssh-agent -k 16:32:43 unset SSH_AUTH_SOCK; 16:32:43 unset SSH_AGENT_PID; 16:32:43 echo Agent pid 18 killed; 16:32:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:32:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:32:43 [ssh-agent] Looking for ssh-agent implementation... 16:32:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:32:43 $ docker exec 7e2f8a949f830e146926453ef8d2386e707569366d3be5a6c2dbc3fbd12151d4 ssh-agent 16:32:43 SSH_AUTH_SOCK=/tmp/ssh-7y46n7hnqBJS/agent.49 16:32:43 SSH_AGENT_PID=55 16:32:43 Running ssh-add (command line suppressed) 16:32:43 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp/private_key_6225495119029823948.key (/w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp/private_key_6225495119029823948.key) 16:32:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:32:44 + git semver init 16:32:44 # -> Open(): unable to determine branch for HEAD 16:32:44 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-699/.git 16:32:44 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-699 16:32:44 # $SEMVER_REMOTE_NAME = origin 16:32:44 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:32:44 # $SEMVER_USER_NAME = edgex-jenkins 16:32:44 # $SEMVER_BRANCH = PR-699 16:32:44 # $SEMVER_TEMP = /tmp/semver-307400506 16:32:44 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 16:32:45 # '/tmp/semver-307400506' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-699/.semver' 16:32:45 # -> Force: false 16:32:45 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-699/.semver [Pipeline] } 16:32:45 $ docker exec --env ******** --env ******** 7e2f8a949f830e146926453ef8d2386e707569366d3be5a6c2dbc3fbd12151d4 ssh-agent -k 16:32:45 unset SSH_AUTH_SOCK; 16:32:45 unset SSH_AGENT_PID; 16:32:45 echo Agent pid 55 killed; 16:32:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:32:45 + git semver [Pipeline] } 16:32:45 $ docker stop --time=1 7e2f8a949f830e146926453ef8d2386e707569366d3be5a6c2dbc3fbd12151d4 16:32:47 $ docker rm -f 7e2f8a949f830e146926453ef8d2386e707569366d3be5a6c2dbc3fbd12151d4 [Pipeline] // withDockerContainer [Pipeline] sh 16:32:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:32:48 Stashed 1 file(s) [Pipeline] echo 16:32:48 [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 16:33:04 Still waiting to schedule task 16:33:04 ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-18188’ is offline; ‘prd-centos7-docker-4c-2g-18189’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18180’ doesn’t have label ‘centos7-docker-4c-2g’ 16:33:04 Still waiting to schedule task 16:33:04 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 16:33:15 Running on prd-centos7-docker-4c-2g-18189 in /w/workspace/dgexfoundry_device-sdk-go_PR-699 [Pipeline] { [Pipeline] ws 16:33:15 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 16:33:17 using credential edgex-jenkins-ssh 16:33:17 Cloning the remote Git repository 16:33:17 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 16:33:17 > git init /w/workspace/device-sdk-go/5 # timeout=10 16:33:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:33:17 > git --version # timeout=10 16:33:17 > git --version # 'git version 2.24.3' 16:33:17 using GIT_SSH to set credentials SSH Credentials for GitHub 16:33:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:33:19 Merging remotes/origin/master commit 42e5a1ea61e0adb23423a933a3224d1395f33e87 into PR head commit 46826221d8f689806f16db9f39a794e758c3a709 16:33:19 Merge succeeded, producing 46826221d8f689806f16db9f39a794e758c3a709 16:33:19 Checking out Revision 46826221d8f689806f16db9f39a794e758c3a709 (PR-699) 16:33:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:33:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:33:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:33:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:33:18 using GIT_SSH to set credentials SSH Credentials for GitHub 16:33:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/699/head:refs/remotes/origin/PR-699 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:33:18 > git config core.sparsecheckout # timeout=10 16:33:18 > git checkout -f 46826221d8f689806f16db9f39a794e758c3a709 # timeout=10 16:33:18 > git remote # timeout=10 16:33:18 > git config --get remote.origin.url # timeout=10 16:33:18 using GIT_SSH to set credentials SSH Credentials for GitHub 16:33:18 > git merge 42e5a1ea61e0adb23423a933a3224d1395f33e87 # timeout=10 16:33:19 > git rev-parse HEAD^{commit} # timeout=10 16:33:19 > git config core.sparsecheckout # timeout=10 16:33:19 > git checkout -f 46826221d8f689806f16db9f39a794e758c3a709 # timeout=10 16:33:22 Commit message: "ci: standardize dockerfiles" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:33:24 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 16:33:24 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:33:25 + true 16:33:25 + sudo service docker restart 16:33:25 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:33:26 provisioning config files... 16:33:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config1963763050178113727tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:33:26 ---> docker-login.sh 16:33:26 nexus3.edgexfoundry.org:10001 16:33:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:33:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:33:26 Configure a credential helper to remove this warning. See 16:33:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:33:26 16:33:26 Login Succeeded 16:33:26 nexus3.edgexfoundry.org:10002 16:33:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:33:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:33:27 Configure a credential helper to remove this warning. See 16:33:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:33:27 16:33:27 Login Succeeded 16:33:27 nexus3.edgexfoundry.org:10003 16:33:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:33:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:33:27 Configure a credential helper to remove this warning. See 16:33:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:33:27 16:33:27 Login Succeeded 16:33:27 nexus3.edgexfoundry.org:10004 16:33:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:33:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:33:27 Configure a credential helper to remove this warning. See 16:33:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:33:27 16:33:27 Login Succeeded 16:33:27 docker.io 16:33:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:33:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:33:28 Configure a credential helper to remove this warning. See 16:33:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:33:28 16:33:28 Login Succeeded 16:33:28 ---> docker-login.sh ends [Pipeline] } 16:33:28 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:33:28 ========================================================= 16:33:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 16:33:28 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:33:28 + 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 . 16:33:28 Sending build context to Docker daemon 2.438MB 16:33:28 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 16:33:28 Step 2/8 : FROM ${BASE} 16:33:29 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 16:33:29 188c0c94c7c5: Pulling fs layer 16:33:29 0ef7d3d256c8: Pulling fs layer 16:33:29 de9db76c5a1d: Pulling fs layer 16:33:29 bca2f99d35d6: Pulling fs layer 16:33:29 93359f2a8cfa: Pulling fs layer 16:33:29 7c6f9722023f: Pulling fs layer 16:33:29 a35cf1a2eb13: Pulling fs layer 16:33:29 bca2f99d35d6: Waiting 16:33:29 93359f2a8cfa: Waiting 16:33:29 7c6f9722023f: Waiting 16:33:29 a35cf1a2eb13: Waiting 16:33:29 de9db76c5a1d: Verifying Checksum 16:33:29 de9db76c5a1d: Download complete 16:33:29 0ef7d3d256c8: Verifying Checksum 16:33:29 0ef7d3d256c8: Download complete 16:33:29 93359f2a8cfa: Verifying Checksum 16:33:29 93359f2a8cfa: Download complete 16:33:29 7c6f9722023f: Verifying Checksum 16:33:29 7c6f9722023f: Download complete 16:33:29 188c0c94c7c5: Verifying Checksum 16:33:29 188c0c94c7c5: Download complete 16:33:29 188c0c94c7c5: Pull complete 16:33:29 0ef7d3d256c8: Pull complete 16:33:29 de9db76c5a1d: Pull complete 16:33:31 a35cf1a2eb13: Verifying Checksum 16:33:31 a35cf1a2eb13: Download complete 16:33:31 bca2f99d35d6: Verifying Checksum 16:33:31 bca2f99d35d6: Download complete 16:33:37 bca2f99d35d6: Pull complete 16:33:37 93359f2a8cfa: Pull complete 16:33:37 7c6f9722023f: Pull complete 16:33:42 a35cf1a2eb13: Pull complete 16:33:42 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 16:33:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 16:33:42 ---> a62c8e92a672 16:33:42 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:33:42 ---> Running in b76d5c2ebaa5 16:33:42 Removing intermediate container b76d5c2ebaa5 16:33:42 ---> 6713383565c3 16:33:42 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:33:42 ---> Running in 490356809d4f 16:33:43 Removing intermediate container 490356809d4f 16:33:43 ---> f9a4b6661ca9 16:33:43 Step 5/8 : RUN apk add --update --no-cache make git 16:33:43 ---> Running in 9c1d086c4562 16:33:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:33:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:33:47 OK: 166 MiB in 39 packages 16:33:47 Removing intermediate container 9c1d086c4562 16:33:47 ---> 78fdecc8901c 16:33:47 Step 6/8 : WORKDIR /device-sdk-go 16:33:47 ---> Running in a7ea1e7d4573 16:33:47 Removing intermediate container a7ea1e7d4573 16:33:47 ---> e600e359e0d1 16:33:47 Step 7/8 : COPY . . 16:33:48 ---> c57a3d020a37 16:33:48 Step 8/8 : RUN go mod download 16:33:48 ---> Running in f439d52324b9 16:34:07 Removing intermediate container f439d52324b9 16:34:07 ---> cf24e0645eda 16:34:07 Successfully built cf24e0645eda 16:34:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:34:07 + docker inspect -f . ci-base-image-x86_64 16:34:07 . [Pipeline] withDockerContainer 16:34:07 prd-centos7-docker-4c-2g-18189 does not seem to be running inside a container 16:34:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:34:08 $ docker top f06f74880fd33a7e96034dcb739fdfe7e84f713d11c7f084a95f6cc772f67c73 -eo pid,comm [Pipeline] { [Pipeline] sh 16:34:09 + go version 16:34:09 go version go1.15.5 linux/amd64 [Pipeline] } 16:34:09 $ docker stop --time=1 f06f74880fd33a7e96034dcb739fdfe7e84f713d11c7f084a95f6cc772f67c73 16:34:10 $ docker rm -f f06f74880fd33a7e96034dcb739fdfe7e84f713d11c7f084a95f6cc772f67c73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:34:11 + docker inspect -f . ci-base-image-x86_64 16:34:11 . [Pipeline] withDockerContainer 16:34:11 prd-centos7-docker-4c-2g-18189 does not seem to be running inside a container 16:34:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:34:12 $ docker top 5fafa778a4c59cd9761806ab5ad9d98b7fac9fab7f9ced80a935c8789ac2bf81 -eo pid,comm [Pipeline] { [Pipeline] sh 16:34:13 + make test 16:34:13 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:34:21 ? github.com/edgexfoundry/device-sdk-go [no test files] 16:34:36 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 16:34:36 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 16:34:36 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 16:34:36 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.059s coverage: 19.4% of statements 16:34:37 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.473s coverage: 97.1% of statements 16:35:09 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.081s coverage: 9.4% of statements 16:35:09 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.053s coverage: 21.9% of statements 16:35:09 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 16:35:09 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.241s coverage: 42.5% of statements 16:35:09 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 16:35:09 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.307s coverage: 68.9% of statements 16:35:09 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 16:35:09 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 16:35:09 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 16:35:09 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 16:35:09 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.079s coverage: 53.8% of statements 16:35:09 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 16:35:09 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 16:35:09 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 16:35:09 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.587s coverage: 68.9% of statements 16:35:09 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.053s coverage: 4.2% of statements 16:35:09 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 16:35:09 GO111MODULE=on go vet ./... 16:35:17 Running on prd-ubuntu18.04-docker-arm64-4c-16g-18190 in /w/workspace/dgexfoundry_device-sdk-go_PR-699 [Pipeline] { [Pipeline] ws 16:35:17 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 16:35:18 gofmt -l . 16:35:18 [ "`gofmt -l .`" = "" ] 16:35:18 ./bin/test-attribution-txt.sh 16:35:19 ./bin/test-go-mod-tidy.sh [Pipeline] } 16:35:19 $ docker stop --time=1 5fafa778a4c59cd9761806ab5ad9d98b7fac9fab7f9ced80a935c8789ac2bf81 16:35:21 $ docker rm -f 5fafa778a4c59cd9761806ab5ad9d98b7fac9fab7f9ced80a935c8789ac2bf81 [Pipeline] // withDockerContainer [Pipeline] sh 16:35:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:35:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 16:35:23 using credential edgex-jenkins-ssh 16:35:23 Cloning the remote Git repository [Pipeline] sh 16:35:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:35:23 + ls -al . 16:35:23 total 208 16:35:23 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 4 16:35 . 16:35:23 drwxrwxr-x. 4 jenkins jenkins 28 Jan 4 16:33 .. 16:35:23 drwxrwxr-x. 2 jenkins jenkins 64 Jan 4 16:33 bin 16:35:23 -rw-r--r--. 1 jenkins jenkins 130526 Jan 4 16:35 coverage.out 16:35:23 -rw-rw-r--. 1 jenkins jenkins 949 Jan 4 16:33 Dockerfile.build 16:35:23 -rw-rw-r--. 1 jenkins jenkins 140 Jan 4 16:33 .dockerignore 16:35:23 drwxrwxr-x. 4 jenkins jenkins 48 Jan 4 16:33 example 16:35:23 drwxrwxr-x. 8 jenkins jenkins 179 Jan 4 16:33 .git 16:35:23 drwxrwxr-x. 2 jenkins jenkins 103 Jan 4 16:33 .github 16:35:23 -rw-rw-r--. 1 jenkins jenkins 138 Jan 4 16:33 .gitignore 16:35:23 -rw-r--r--. 1 jenkins jenkins 488 Jan 4 16:35 go.mod 16:35:23 -rw-r--r--. 1 jenkins jenkins 13631 Jan 4 16:35 go.sum 16:35:23 drwxrwxr-x. 15 jenkins jenkins 211 Jan 4 16:33 internal 16:35:23 -rw-rw-r--. 1 jenkins jenkins 901 Jan 4 16:33 Jenkinsfile 16:35:23 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 4 16:33 LICENSE 16:35:23 -rw-rw-r--. 1 jenkins jenkins 1013 Jan 4 16:33 Makefile 16:35:23 drwxrwxr-x. 4 jenkins jenkins 26 Jan 4 16:33 openapi 16:35:23 drwxrwxr-x. 5 jenkins jenkins 50 Jan 4 16:33 pkg 16:35:23 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 4 16:33 README.md 16:35:23 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 4 16:33 RELEASE-NOTES.txt 16:35:23 drwxrwxr-x. 4 jenkins jenkins 54 Jan 4 16:33 snap 16:35:23 -rw-rw-r--. 1 jenkins jenkins 5 Jan 4 16:32 VERSION 16:35:23 -rw-rw-r--. 1 jenkins jenkins 222 Jan 4 16:33 version.go [Pipeline] isUnix [Pipeline] sh 16:35:23 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 16:35:23 > git init /w/workspace/device-sdk-go/5 # timeout=10 16:35:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:35:23 > git --version # timeout=10 16:35:23 > git --version # 'git version 2.17.1' 16:35:23 using GIT_SSH to set credentials SSH Credentials for GitHub 16:35:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:35:24 + 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=46826221d8f689806f16db9f39a794e758c3a709 --label arch=amd64 --label version=0.0.0 . 16:35:24 Sending build context to Docker daemon 2.569MB 16:35:24 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 16:35:24 Step 2/24 : FROM ${BASE} AS builder 16:35:24 ---> cf24e0645eda 16:35:24 Step 3/24 : ARG MAKE='make build' 16:35:25 ---> Running in 2f43a47c2025 16:35:25 Removing intermediate container 2f43a47c2025 16:35:25 ---> 675fad7a5ab1 16:35:25 Step 4/24 : WORKDIR /device-sdk-go 16:35:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:35:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:35:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:35:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:35:24 using GIT_SSH to set credentials SSH Credentials for GitHub 16:35:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/699/head:refs/remotes/origin/PR-699 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:35:25 ---> Running in 8241fd4c9cd2 16:35:25 Removing intermediate container 8241fd4c9cd2 16:35:25 ---> 0c8e7ee6a0b0 16:35:25 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:35:25 Merging remotes/origin/master commit 42e5a1ea61e0adb23423a933a3224d1395f33e87 into PR head commit 46826221d8f689806f16db9f39a794e758c3a709 16:35:25 ---> Running in 7d831e2461d8 16:35:25 Removing intermediate container 7d831e2461d8 16:35:25 ---> c721754de0b1 16:35:25 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:35:25 Merge succeeded, producing 46826221d8f689806f16db9f39a794e758c3a709 16:35:25 Checking out Revision 46826221d8f689806f16db9f39a794e758c3a709 (PR-699) 16:35:25 ---> Running in 4ec9cb6b7be0 16:35:25 > git config core.sparsecheckout # timeout=10 16:35:25 > git checkout -f 46826221d8f689806f16db9f39a794e758c3a709 # timeout=10 16:35:25 > git remote # timeout=10 16:35:25 > git config --get remote.origin.url # timeout=10 16:35:25 using GIT_SSH to set credentials SSH Credentials for GitHub 16:35:25 > git merge 42e5a1ea61e0adb23423a933a3224d1395f33e87 # timeout=10 16:35:25 > git rev-parse HEAD^{commit} # timeout=10 16:35:25 > git config core.sparsecheckout # timeout=10 16:35:25 > git checkout -f 46826221d8f689806f16db9f39a794e758c3a709 # timeout=10 16:35:26 Removing intermediate container 4ec9cb6b7be0 16:35:26 ---> 3a80a5ca3607 16:35:26 Step 7/24 : RUN apk add --update --no-cache make git 16:35:26 ---> Running in c2dd4196717f 16:35:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:35:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:35:30 Commit message: "ci: standardize dockerfiles" 16:35:30 OK: 166 MiB in 39 packages [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 16:35:30 Removing intermediate container c2dd4196717f 16:35:30 ---> b85b1d4eca37 16:35:30 Step 8/24 : COPY . . [Pipeline] script [Pipeline] { [Pipeline] sh 16:35:31 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 16:35:31 ---> c2a076a64da3 16:35:31 Step 9/24 : RUN ${MAKE} 16:35:31 ---> Running in d17b840b55ff 16:35:32 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:35:32 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 16:35:32 + + sudo service docker restart 16:35:32 true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:35:35 provisioning config files... 16:35:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config1721122626385426527tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:35:35 ---> docker-login.sh 16:35:35 nexus3.edgexfoundry.org:10001 16:35:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:36 Configure a credential helper to remove this warning. See 16:35:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:36 16:35:36 Login Succeeded 16:35:36 nexus3.edgexfoundry.org:10002 16:35:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:37 Configure a credential helper to remove this warning. See 16:35:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:37 16:35:37 Login Succeeded 16:35:37 nexus3.edgexfoundry.org:10003 16:35:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:37 Configure a credential helper to remove this warning. See 16:35:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:37 16:35:37 Login Succeeded 16:35:37 nexus3.edgexfoundry.org:10004 16:35:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:38 Configure a credential helper to remove this warning. See 16:35:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:38 16:35:38 Login Succeeded 16:35:38 docker.io 16:35:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:39 Configure a credential helper to remove this warning. See 16:35:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:39 16:35:39 Login Succeeded 16:35:39 ---> docker-login.sh ends [Pipeline] } 16:35:39 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:35:39 ========================================================= 16:35:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 16:35:39 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:35:39 + 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 . 16:35:40 Sending build context to Docker daemon 2.434MB 16:35:40 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 16:35:40 Step 2/8 : FROM ${BASE} 16:35:40 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:35:40 5f621e34cdf4: Pulling fs layer 16:35:40 a4357932f1b6: Pulling fs layer 16:35:40 18c013af1878: Pulling fs layer 16:35:40 00ac8860ef70: Pulling fs layer 16:35:40 63d7cb157983: Pulling fs layer 16:35:40 b116817d02f9: Pulling fs layer 16:35:40 745a02a5169b: Pulling fs layer 16:35:40 63d7cb157983: Waiting 16:35:40 b116817d02f9: Waiting 16:35:40 745a02a5169b: Waiting 16:35:40 00ac8860ef70: Waiting 16:35:40 18c013af1878: Verifying Checksum 16:35:40 18c013af1878: Download complete 16:35:40 a4357932f1b6: Verifying Checksum 16:35:40 a4357932f1b6: Download complete 16:35:40 63d7cb157983: Verifying Checksum 16:35:40 63d7cb157983: Download complete 16:35:40 b116817d02f9: Verifying Checksum 16:35:40 b116817d02f9: Download complete 16:35:40 5f621e34cdf4: Verifying Checksum 16:35:40 5f621e34cdf4: Download complete 16:35:41 5f621e34cdf4: Pull complete 16:35:41 a4357932f1b6: Pull complete 16:35:42 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 16:35:42 18c013af1878: Pull complete 16:35:43 745a02a5169b: Verifying Checksum 16:35:43 745a02a5169b: Download complete 16:35:43 Removing intermediate container d17b840b55ff 16:35:43 ---> 01cd8b698bb5 16:35:43 Step 10/24 : FROM scratch 16:35:43 ---> 16:35:43 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:35:44 ---> Running in 94406161024c 16:35:44 Removing intermediate container 94406161024c 16:35:44 ---> 4e5e822f7db0 16:35:44 Step 12/24 : ENV APP_PORT=49990 16:35:44 ---> Running in 019b8b0593c3 16:35:44 Removing intermediate container 019b8b0593c3 16:35:44 ---> e5444a88440b 16:35:44 Step 13/24 : EXPOSE $APP_PORT 16:35:44 ---> Running in 3fa49682b08c 16:35:44 00ac8860ef70: Verifying Checksum 16:35:44 00ac8860ef70: Download complete 16:35:44 Removing intermediate container 3fa49682b08c 16:35:44 ---> 38803cbbe6ed 16:35:44 Step 14/24 : WORKDIR / 16:35:44 ---> Running in c61651928b9f 16:35:44 Removing intermediate container c61651928b9f 16:35:44 ---> 5c4d08d7567b 16:35:44 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 16:35:45 ---> c9a957cda3e6 16:35:45 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 16:35:45 ---> 626be504b436 16:35:45 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 16:35:45 ---> b274c2083009 16:35:45 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 16:35:45 ---> 4cdd94c7dcdb 16:35:45 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 16:35:46 ---> 469e0b865e4b 16:35:46 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 16:35:46 ---> Running in 88def977d97b 16:35:46 Removing intermediate container 88def977d97b 16:35:46 ---> c6ea635abf5d 16:35:46 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:35:46 ---> Running in 5c8cb0a93a63 16:35:46 Removing intermediate container 5c8cb0a93a63 16:35:46 ---> 302345c875ae 16:35:46 Step 22/24 : LABEL arch=amd64 16:35:46 ---> Running in 332a07587008 16:35:46 Removing intermediate container 332a07587008 16:35:46 ---> 5ac3fe143dc8 16:35:46 Step 23/24 : LABEL git_sha=46826221d8f689806f16db9f39a794e758c3a709 16:35:46 ---> Running in 9a3dcd1892ef 16:35:46 Removing intermediate container 9a3dcd1892ef 16:35:46 ---> 9a43ce8ce1b7 16:35:46 Step 24/24 : LABEL version=0.0.0 16:35:47 ---> Running in 07eb5da87ecd 16:35:47 Removing intermediate container 07eb5da87ecd 16:35:47 ---> 0c144fe5c8b7 16:35:47 [Warning] One or more build-args [ARCH] were not consumed 16:35:47 Successfully built 0c144fe5c8b7 16:35:47 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] } 16:35:54 00ac8860ef70: Pull complete 16:35:54 63d7cb157983: Pull complete 16:35:54 b116817d02f9: Pull complete 16:35:58 745a02a5169b: Pull complete 16:35:58 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 16:35:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 16:35:58 ---> b7e6874047d6 16:35:58 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:36:01 ---> Running in 76872618cf90 16:36:01 Removing intermediate container 76872618cf90 16:36:01 ---> 9410018a1c10 16:36:01 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:36:01 ---> Running in f710751f89fb 16:36:04 Removing intermediate container f710751f89fb 16:36:04 ---> a5854301b5aa 16:36:04 Step 5/8 : RUN apk add --update --no-cache make git 16:36:04 ---> Running in 9f7decb5b8c5 16:36:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:36:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:36:08 OK: 142 MiB in 39 packages 16:36:09 Removing intermediate container 9f7decb5b8c5 16:36:09 ---> 10bcb33e2aa8 16:36:09 Step 6/8 : WORKDIR /device-sdk-go 16:36:09 ---> Running in 80fa8380b091 16:36:10 Removing intermediate container 80fa8380b091 16:36:10 ---> d9d81d512363 16:36:10 Step 7/8 : COPY . . 16:36:11 ---> a0d75c6f825a 16:36:11 Step 8/8 : RUN go mod download 16:36:11 ---> Running in 729dec7135be 16:36:34 Removing intermediate container 729dec7135be 16:36:34 ---> b6aebc6d896b 16:36:34 Successfully built b6aebc6d896b 16:36:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:36:34 + docker inspect -f . ci-base-image-arm64 16:36:34 . [Pipeline] withDockerContainer 16:36:34 prd-ubuntu18.04-docker-arm64-4c-16g-18190 does not seem to be running inside a container 16:36:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:36:36 $ docker top 12cb8693ea787bb8407a38660a4dae3be9ef1bf3f012f4944b5469f08df05f17 -eo pid,comm [Pipeline] { [Pipeline] sh 16:36:37 + go version 16:36:37 go version go1.15.5 linux/arm64 [Pipeline] } 16:36:37 $ docker stop --time=1 12cb8693ea787bb8407a38660a4dae3be9ef1bf3f012f4944b5469f08df05f17 16:36:39 $ docker rm -f 12cb8693ea787bb8407a38660a4dae3be9ef1bf3f012f4944b5469f08df05f17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:36:40 + docker inspect -f . ci-base-image-arm64 16:36:40 . [Pipeline] withDockerContainer 16:36:41 prd-ubuntu18.04-docker-arm64-4c-16g-18190 does not seem to be running inside a container 16:36:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:36:42 $ docker top 376da3089ef334e2be8f71433a76f7ee207b73308315b97322218ba8d6af98ad -eo pid,comm [Pipeline] { [Pipeline] sh 16:36:43 + make test 16:36:43 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:37:06 ? github.com/edgexfoundry/device-sdk-go [no test files] 16:37:45 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 16:37:45 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 16:37:45 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 16:37:47 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.131s coverage: 19.4% of statements 16:37:52 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.273s coverage: 97.1% of statements 16:38:19 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.124s coverage: 9.4% of statements 16:38:19 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.142s coverage: 21.9% of statements 16:38:19 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 16:38:19 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.717s coverage: 42.5% of statements 16:38:19 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 16:38:19 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.781s coverage: 68.9% of statements 16:38:19 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 16:38:19 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 16:38:19 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 16:38:19 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 16:38:19 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.207s coverage: 53.8% of statements 16:38:19 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 16:38:19 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 16:38:19 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 16:38:19 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.925s coverage: 68.9% of statements 16:38:19 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.146s coverage: 4.2% of statements 16:38:19 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 16:38:19 GO111MODULE=on go vet ./... 16:38:58 gofmt -l . 16:38:58 [ "`gofmt -l .`" = "" ] 16:38:58 ./bin/test-attribution-txt.sh 16:38:58 ./bin/test-go-mod-tidy.sh [Pipeline] } 16:38:58 $ docker stop --time=1 376da3089ef334e2be8f71433a76f7ee207b73308315b97322218ba8d6af98ad 16:39:00 $ docker rm -f 376da3089ef334e2be8f71433a76f7ee207b73308315b97322218ba8d6af98ad [Pipeline] // withDockerContainer [Pipeline] sh 16:39:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:39:02 Warning: overwriting stash ‘coverage-report’ 16:39:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:39:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:39:04 + ls -al . 16:39:04 total 244 16:39:04 drwxrwxr-x 10 jenkins jenkins 4096 Jan 4 16:38 . 16:39:04 drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 16:35 .. 16:39:04 -rw-rw-r-- 1 jenkins jenkins 140 Jan 4 16:35 .dockerignore 16:39:04 drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 16:35 .git 16:39:04 drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 16:35 .github 16:39:04 -rw-rw-r-- 1 jenkins jenkins 138 Jan 4 16:35 .gitignore 16:39:04 -rw-rw-r-- 1 jenkins jenkins 949 Jan 4 16:35 Dockerfile.build 16:39:04 -rw-rw-r-- 1 jenkins jenkins 901 Jan 4 16:35 Jenkinsfile 16:39:04 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 4 16:35 LICENSE 16:39:04 -rw-rw-r-- 1 jenkins jenkins 1013 Jan 4 16:35 Makefile 16:39:04 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 4 16:35 README.md 16:39:04 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 4 16:35 RELEASE-NOTES.txt 16:39:04 -rw-rw-r-- 1 jenkins jenkins 5 Jan 4 16:32 VERSION 16:39:04 drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 16:35 bin 16:39:04 -rw-r--r-- 1 jenkins jenkins 130526 Jan 4 16:38 coverage.out 16:39:04 drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 16:35 example 16:39:04 -rw-r--r-- 1 jenkins jenkins 488 Jan 4 16:38 go.mod 16:39:04 -rw-r--r-- 1 jenkins jenkins 13631 Jan 4 16:38 go.sum 16:39:04 drwxrwxr-x 15 jenkins jenkins 4096 Jan 4 16:35 internal 16:39:04 drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 16:35 openapi 16:39:04 drwxrwxr-x 5 jenkins jenkins 4096 Jan 4 16:35 pkg 16:39:04 drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 16:35 snap 16:39:04 -rw-rw-r-- 1 jenkins jenkins 222 Jan 4 16:35 version.go [Pipeline] isUnix [Pipeline] sh 16:39:04 + 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=46826221d8f689806f16db9f39a794e758c3a709 --label arch=arm64 --label version=0.0.0 . 16:39:06 Sending build context to Docker daemon 2.565MB 16:39:06 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 16:39:06 Step 2/24 : FROM ${BASE} AS builder 16:39:06 ---> b6aebc6d896b 16:39:06 Step 3/24 : ARG MAKE='make build' 16:39:06 ---> Running in b0d4640cbcff 16:39:06 Removing intermediate container b0d4640cbcff 16:39:06 ---> 11eaebb26ab4 16:39:06 Step 4/24 : WORKDIR /device-sdk-go 16:39:06 ---> Running in eb66a33d26c9 16:39:06 Removing intermediate container eb66a33d26c9 16:39:06 ---> c9d077c0bec3 16:39:06 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:39:06 ---> Running in d19555945f65 16:39:06 Removing intermediate container d19555945f65 16:39:06 ---> 4de792605892 16:39:06 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:39:07 ---> Running in af721b5b2dfd 16:39:09 Removing intermediate container af721b5b2dfd 16:39:09 ---> a0181251c0b1 16:39:09 Step 7/24 : RUN apk add --update --no-cache make git 16:39:09 ---> Running in 008ecc35a977 16:39:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:39:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:39:12 OK: 142 MiB in 39 packages 16:39:13 Removing intermediate container 008ecc35a977 16:39:13 ---> 7cfcc5f15ae9 16:39:13 Step 8/24 : COPY . . 16:39:14 ---> c38317b6d79d 16:39:14 Step 9/24 : RUN ${MAKE} 16:39:14 ---> Running in 000bfd17e4f2 16:39:15 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 16:39:42 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 16:39:44 Removing intermediate container 000bfd17e4f2 16:39:44 ---> c5e582063c3a 16:39:44 Step 10/24 : FROM scratch 16:39:44 ---> 16:39:44 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:39:44 ---> Running in f59c98dc5e01 16:39:44 Removing intermediate container f59c98dc5e01 16:39:44 ---> 38f406c7ebc2 16:39:44 Step 12/24 : ENV APP_PORT=49990 16:39:44 ---> Running in 8f99714d9325 16:39:45 Removing intermediate container 8f99714d9325 16:39:45 ---> 0b58ace806ac 16:39:45 Step 13/24 : EXPOSE $APP_PORT 16:39:45 ---> Running in 7362ad5e3f86 16:39:45 Removing intermediate container 7362ad5e3f86 16:39:45 ---> 35a5a025d83a 16:39:45 Step 14/24 : WORKDIR / 16:39:45 ---> Running in 94d05f40fe2d 16:39:46 Removing intermediate container 94d05f40fe2d 16:39:46 ---> c6e49061eceb 16:39:46 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 16:39:47 ---> b1d7d44d2951 16:39:47 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 16:39:48 ---> 76f798331fe1 16:39:48 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 16:39:48 ---> 2d7a3114733d 16:39:48 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 16:39:49 ---> a4cb9abf776e 16:39:49 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 16:39:50 ---> 141f2690c75a 16:39:50 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 16:39:50 ---> Running in c8f98eac3b4d 16:39:50 Removing intermediate container c8f98eac3b4d 16:39:50 ---> 4259d506b0f3 16:39:50 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:39:50 ---> Running in 98b84ba7bef2 16:39:51 Removing intermediate container 98b84ba7bef2 16:39:51 ---> 9a1e26f1a3a1 16:39:51 Step 22/24 : LABEL arch=arm64 16:39:51 ---> Running in 7e38ed84aadc 16:39:51 Removing intermediate container 7e38ed84aadc 16:39:51 ---> e58c7db4037a 16:39:51 Step 23/24 : LABEL git_sha=46826221d8f689806f16db9f39a794e758c3a709 16:39:51 ---> Running in a31c89561173 16:39:52 Removing intermediate container a31c89561173 16:39:52 ---> 0da86dbff306 16:39:52 Step 24/24 : LABEL version=0.0.0 16:39:52 ---> Running in 799319c8426b 16:39:53 Removing intermediate container 799319c8426b 16:39:53 ---> 6fc8f6532026 16:39:53 [Warning] One or more build-args [ARCH] were not consumed 16:39:53 Successfully built 6fc8f6532026 16:39:53 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 16:39:55 provisioning config files... 16:39:55 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp/config4107639878729980546tmp [Pipeline] { [Pipeline] sh 16:39:55 + set +x 16:39:55 + curl -s https://codecov.io/bash 16:39:55 + bash -s -- 16:39:55 16:39:55 _____ _ 16:39:55 / ____| | | 16:39:55 | | ___ __| | ___ ___ _____ __ 16:39:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:39:55 | |___| (_) | (_| | __/ (_| (_) \ V / 16:39:55 \_____\___/ \__,_|\___|\___\___/ \_/ 16:39:55 Bash-20201231-23d4836 16:39:55 16:39:55 16:39:55 ==> git version 2.24.3 found 16:39:55 ==> 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 16:39:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 16:39:55 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 16:39:55 ==> Jenkins CI detected. 16:39:55 project root: . 16:39:55 --> token set from env 16:39:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:39:55 ==> Running gcov in . (disable via -X gcov) 16:39:55 ==> Python coveragepy not found 16:39:55 ==> Searching for coverage reports in: 16:39:55 + . 16:39:55 -> Found 1 reports 16:39:55 ==> Detecting git/mercurial file structure 16:39:55 ==> Reading reports 16:39:55 + ./coverage.out bytes=130526 16:39:55 ==> Appending adjustments 16:39:55 https://docs.codecov.io/docs/fixing-reports 16:39:56 + Found adjustments 16:39:56 ==> Gzipping contents 16:39:56 24K /tmp/codecov.v2gggt.gz 16:39:56 ==> Uploading reports 16:39:56 url: https://codecov.io 16:39:56 query: branch=PR-699&commit=46826221d8f689806f16db9f39a794e758c3a709&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-699%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=699&job=&cmd_args= 16:39:56 -> Pinging Codecov 16:39:56 https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-699&commit=46826221d8f689806f16db9f39a794e758c3a709&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-699%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=699&job=&cmd_args= 16:39:57 -> Uploading to 16:39:57 https://storage.googleapis.com/codecov/v4/raw/2021-01-04/7E55EF52A471D76F132DFD9A03CDDE97/46826221d8f689806f16db9f39a794e758c3a709/89db3fc7-0ff2-40ad-9f83-261afca5f0ca.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210104%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210104T163956Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=be259537bd9f1f4da4b727451c1be0a4c59c2473a6973c7f2514e89f1bc00717 16:39:57 % Total % Received % Xferd Average Speed Time Time Time Current 16:39:57 Dload Upload Total Spent Left Speed 16:39:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21244 0 0 100 21244 0 38946 --:--:-- --:--:-- --:--:-- 38979 16:39:57 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/46826221d8f689806f16db9f39a794e758c3a709 [Pipeline] } 16:39:57 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 16:39:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:40:00 ---> package-listing.sh 16:40:00 ++ facter osfamily 16:40:00 ++ tr '[:upper:]' '[:lower:]' 16:40:00 + OS_FAMILY=redhat 16:40:00 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-699 16:40:00 + START_PACKAGES=/tmp/packages_start.txt 16:40:00 + END_PACKAGES=/tmp/packages_end.txt 16:40:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:40:00 + PACKAGES=/tmp/packages_start.txt 16:40:00 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-699 ']' 16:40:00 + PACKAGES=/tmp/packages_end.txt 16:40:00 + case "${OS_FAMILY}" in 16:40:00 + rpm -qa 16:40:00 + sort 16:40:05 + '[' -f /tmp/packages_start.txt ']' 16:40:05 + '[' -f /tmp/packages_end.txt ']' 16:40:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:40:05 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-699 ']' 16:40:05 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-699/archives/ 16:40:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-699/archives/ [Pipeline] echo 16:40:05 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-699/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:40:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:40:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:40:06 16:40:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 16:40:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:40:06 alpine: Pulling from edgex-lftools-log-publisher 16:40:06 df20fa9351a1: Pulling fs layer 16:40:06 36b3adc4ff6f: Pulling fs layer 16:40:06 8ad3a11d3b57: Pulling fs layer 16:40:06 46f8f816bc3b: Pulling fs layer 16:40:06 93b61091891f: Pulling fs layer 16:40:06 93b9cdb0e59b: Pulling fs layer 16:40:06 5e14af77c1be: Pulling fs layer 16:40:06 01666e4c0597: Pulling fs layer 16:40:06 aa168da1d23b: Pulling fs layer 16:40:06 46f8f816bc3b: Waiting 16:40:06 01666e4c0597: Waiting 16:40:06 aa168da1d23b: Waiting 16:40:06 93b61091891f: Waiting 16:40:06 5e14af77c1be: Waiting 16:40:06 93b9cdb0e59b: Waiting 16:40:06 36b3adc4ff6f: Verifying Checksum 16:40:06 36b3adc4ff6f: Download complete 16:40:07 46f8f816bc3b: Verifying Checksum 16:40:07 46f8f816bc3b: Download complete 16:40:07 df20fa9351a1: Verifying Checksum 16:40:07 df20fa9351a1: Download complete 16:40:07 93b9cdb0e59b: Verifying Checksum 16:40:07 93b9cdb0e59b: Download complete 16:40:07 5e14af77c1be: Verifying Checksum 16:40:07 5e14af77c1be: Download complete 16:40:07 93b61091891f: Verifying Checksum 16:40:07 93b61091891f: Download complete 16:40:07 01666e4c0597: Verifying Checksum 16:40:07 01666e4c0597: Download complete 16:40:07 8ad3a11d3b57: Verifying Checksum 16:40:07 8ad3a11d3b57: Download complete 16:40:07 df20fa9351a1: Pull complete 16:40:07 36b3adc4ff6f: Pull complete 16:40:08 8ad3a11d3b57: Pull complete 16:40:08 46f8f816bc3b: Pull complete 16:40:08 93b61091891f: Pull complete 16:40:09 93b9cdb0e59b: Pull complete 16:40:09 5e14af77c1be: Pull complete 16:40:10 aa168da1d23b: Download complete 16:40:10 01666e4c0597: Pull complete 16:40:17 aa168da1d23b: Pull complete 16:40:17 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 16:40:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:40:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 16:40:17 prd-centos7-docker-4c-2g-18186 does not seem to be running inside a container 16:40:17 $ 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-699/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-699 -v /w/workspace/dgexfoundry_device-sdk-go_PR-699:/w/workspace/dgexfoundry_device-sdk-go_PR-699:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-699@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 16:40:21 $ docker top 9030bcde6888ac306db98d9392cacc7aebffe2057fd80b8ec494a1b0f6e3d2da -eo pid,comm [Pipeline] { [Pipeline] sh 16:40:22 + touch /tmp/pre-build-complete [Pipeline] sh 16:40:22 + mkdir -p /var/log/sa [Pipeline] sh 16:40:23 + ls /var/log/sa-host 16:40:23 + sadf -c /var/log/sa-host/sa04 16:40:23 file_magic: OK 16:40:23 HZ: Using current value: 100 16:40:23 file_header: OK 16:40:23 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 16:40:23 Statistics: 16:40:23 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:40:23 File successfully converted to sysstat format version 12.2.1 16:40:23 + sadf -c /var/log/sa-host/sa23 16:40:23 file_magic: OK 16:40:23 HZ: Using current value: 100 16:40:23 file_header: OK 16:40:23 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 16:40:23 Statistics: 16:40:23 Hnuu...uuuununununu... 16:40:23 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:40:23 provisioning config files... 16:40:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp/config3176808424608004634tmp [Pipeline] { [Pipeline] echo 16:40:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:40:23 ---> create-netrc.sh [Pipeline] } 16:40:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 16:40:23 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 16:40:24 ---> python-tools-install.sh [Pipeline] echo 16:40:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:40:24 ---> sudo-logs.sh 16:40:24 Archiving 'sudo' log.. [Pipeline] echo 16:40:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:40:24 ---> job-cost.sh 16:40:24 lf-activate-venv: SKIPPING 16:40:24 INFO: No Stack... 16:40:26 INFO: Retrieving Pricing Info for: v1-standard-2 16:40:26 INFO: Archiving Costs [Pipeline] echo 16:40:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:40:26 ---> logs-deploy.sh 16:40:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-699/5 16:40:26 INFO: archiving workspace using pattern(s): 16:40:28 Archives upload complete. 16:40:28 INFO: archiving logs to Nexus 16:40:29 ---> uname -a: 16:40:29 Linux prd-centos7-docker-4c-2g-18186.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 16:40:29 16:40:29 16:40:29 ---> lscpu: 16:40:29 Architecture: x86_64 16:40:29 CPU op-mode(s): 32-bit, 64-bit 16:40:29 Byte Order: Little Endian 16:40:29 Address sizes: 40 bits physical, 48 bits virtual 16:40:29 CPU(s): 4 16:40:29 On-line CPU(s) list: 0-3 16:40:29 Thread(s) per core: 1 16:40:29 Core(s) per socket: 1 16:40:29 Socket(s): 4 16:40:29 NUMA node(s): 1 16:40:29 Vendor ID: GenuineIntel 16:40:29 CPU family: 6 16:40:29 Model: 44 16:40:29 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 16:40:29 Stepping: 1 16:40:29 CPU MHz: 2933.438 16:40:29 BogoMIPS: 5866.87 16:40:29 Virtualization: VT-x 16:40:29 Hypervisor vendor: KVM 16:40:29 Virtualization type: full 16:40:29 L1d cache: 128 KiB 16:40:29 L1i cache: 128 KiB 16:40:29 L2 cache: 16 MiB 16:40:29 L3 cache: 64 MiB 16:40:29 NUMA node0 CPU(s): 0-3 16:40:29 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 16:40:29 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 16:40:29 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 16:40:29 Vulnerability Meltdown: Mitigation; PTI 16:40:29 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:40:29 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 16:40:29 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 16:40:29 Vulnerability Srbds: Not affected 16:40:29 Vulnerability Tsx async abort: Not affected 16:40:29 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 16:40:29 16:40:29 16:40:29 ---> nproc: 16:40:29 4 16:40:29 16:40:29 16:40:29 ---> df -h: 16:40:29 Filesystem Size Used Available Use% Mounted on 16:40:29 overlay 50.0G 7.3G 42.7G 15% / 16:40:29 tmpfs 64.0M 0 64.0M 0% /dev 16:40:29 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 16:40:29 shm 64.0M 0 64.0M 0% /dev/shm 16:40:29 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 16:40:29 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 16:40:29 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 16:40:29 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 16:40:29 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 16:40:29 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 16:40:29 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 16:40:29 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 16:40:29 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-699 16:40:29 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp 16:40:29 16:40:29 16:40:29 ---> free -m: 16:40:29 total used free shared buff/cache available 16:40:29 Mem: 1837 684 104 0 1048 1049 16:40:29 Swap: 1023 0 1023 16:40:29 16:40:29 16:40:29 ---> ip addr: 16:40:29 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 16:40:29 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 16:40:29 inet 127.0.0.1/8 scope host lo 16:40:29 valid_lft forever preferred_lft forever 16:40:29 inet6 ::1/128 scope host 16:40:29 valid_lft forever preferred_lft forever 16:40:29 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 16:40:29 link/ether fa:16:3e:e9:a8:6c brd ff:ff:ff:ff:ff:ff 16:40:29 inet 10.30.123.134/23 brd 10.30.123.255 scope global dynamic eth0 16:40:29 valid_lft 85882sec preferred_lft 85882sec 16:40:29 inet6 fe80::f816:3eff:fee9:a86c/64 scope link 16:40:29 valid_lft forever preferred_lft forever 16:40:29 3: docker0: mtu 1500 qdisc noqueue state DOWN 16:40:29 link/ether 02:42:d8:04:ee:0c brd ff:ff:ff:ff:ff:ff 16:40:29 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 16:40:29 valid_lft forever preferred_lft forever 16:40:29 inet6 fe80::42:d8ff:fe04:ee0c/64 scope link 16:40:29 valid_lft forever preferred_lft forever 16:40:29 16:40:29 16:40:29 ---> sar -b -r -n DEV: 16:40:29 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) 16:40:29 16:40:29 16:31:39 LINUX RESTART (4 CPU) 16:40:29 16:40:29 16:32:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 16:40:29 16:33:01 130.00 45.92 84.08 0.00 7835.91 39154.91 0.00 16:40:29 16:34:01 3.45 0.02 3.43 0.00 0.53 112.82 0.00 16:40:29 16:35:01 0.83 0.00 0.83 0.00 0.00 10.62 0.00 16:40:29 16:36:01 0.47 0.00 0.47 0.00 0.00 6.33 0.00 16:40:29 16:37:01 0.13 0.00 0.13 0.00 0.00 2.28 0.00 16:40:29 16:38:01 0.33 0.00 0.33 0.00 0.00 5.21 0.00 16:40:29 16:39:01 0.28 0.00 0.28 0.00 0.00 3.21 0.00 16:40:29 16:40:01 17.77 17.50 0.27 0.00 2309.29 8.18 0.00 16:40:29 Average: 19.17 7.93 11.23 0.00 1268.84 4916.10 0.00 16:40:29 16:40:29 16:32:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:40:29 16:33:01 145336 0 576652 30.65 2620 1156936 1102848 37.64 426668 1108932 132 16:40:29 16:34:01 152064 0 569804 30.28 2620 1157056 1072392 36.60 424540 1105224 20 16:40:29 16:35:01 151652 0 570212 30.31 2620 1157060 1062112 36.25 420536 1110184 8 16:40:29 16:36:01 150248 0 571616 30.38 2620 1157060 1062292 36.25 431132 1100432 8 16:40:29 16:37:01 150384 0 571472 30.37 2620 1157068 1062316 36.26 427912 1103888 8 16:40:29 16:38:01 149132 0 572720 30.44 2620 1157072 1062268 36.25 433156 1100196 8 16:40:29 16:39:01 149388 0 572460 30.43 2620 1157076 1062308 36.25 433024 1100276 16 16:40:29 16:40:01 74280 0 597168 31.74 2620 1207476 1098832 37.50 451508 1154884 80 16:40:29 Average: 140310 0 575263 30.57 2620 1163350 1073171 36.63 431060 1110502 35 16:40:29 16:40:29 16:32:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:40:29 16:33:01 eth0 538.74 347.45 1094.60 105.01 0.00 0.00 0.00 0.00 16:40:29 16:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:40:29 16:33:01 docker0 8.30 5.49 1.31 20.69 0.00 0.00 0.00 0.00 16:40:29 16:34:01 eth0 1.13 0.57 0.65 0.42 0.00 0.00 0.00 0.00 16:40:29 16:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:40:29 16:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:40:29 16:35:01 eth0 0.87 0.08 0.07 0.01 0.00 0.00 0.00 0.00 16:40:29 16:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:40:29 16:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:40:29 16:36:01 eth0 2.28 0.48 0.43 0.21 0.00 0.00 0.00 0.00 16:40:29 16:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:40:29 16:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:40:29 16:37:01 eth0 1.98 0.77 0.85 0.56 0.00 0.00 0.00 0.00 16:40:29 16:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:40:29 16:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:40:29 16:38:01 eth0 0.73 0.40 0.41 0.30 0.00 0.00 0.00 0.00 16:40:29 16:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:40:29 16:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:40:29 16:39:01 eth0 1.03 0.33 0.32 0.17 0.00 0.00 0.00 0.00 16:40:29 16:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:40:29 16:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:40:29 16:40:01 eth0 10.26 6.24 9.33 3.71 0.00 0.00 0.00 0.00 16:40:29 16:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:40:29 16:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:40:29 Average: eth0 69.67 44.57 138.42 13.81 0.00 0.00 0.00 0.00 16:40:29 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:40:29 Average: docker0 1.04 0.69 0.16 2.59 0.00 0.00 0.00 0.00 16:40:29 16:40:29 16:40:29 ---> sar -P ALL: 16:40:29 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) 16:40:29 16:40:29 16:31:39 LINUX RESTART (4 CPU) 16:40:29 16:40:29 16:32:01 CPU %user %nice %system %iowait %steal %idle 16:40:29 16:33:01 all 14.31 0.00 7.62 4.55 0.19 73.32 16:40:29 16:33:01 0 13.59 0.00 7.67 4.25 0.17 74.32 16:40:29 16:33:01 1 14.47 0.00 9.04 3.86 0.20 72.44 16:40:29 16:33:01 2 15.67 0.00 6.21 5.48 0.20 72.44 16:40:29 16:33:01 3 13.51 0.00 7.57 4.63 0.20 74.08 16:40:29 16:34:01 all 0.19 0.00 0.07 0.00 0.02 99.72 16:40:29 16:34:01 0 0.08 0.00 0.05 0.00 0.00 99.87 16:40:29 16:34:01 1 0.53 0.00 0.08 0.00 0.02 99.37 16:40:29 16:34:01 2 0.12 0.00 0.10 0.00 0.05 99.73 16:40:29 16:34:01 3 0.03 0.00 0.03 0.00 0.02 99.92 16:40:29 16:35:01 all 0.15 0.00 0.05 0.00 0.01 99.78 16:40:29 16:35:01 0 0.03 0.00 0.05 0.00 0.00 99.92 16:40:29 16:35:01 1 0.47 0.00 0.07 0.00 0.00 99.47 16:40:29 16:35:01 2 0.07 0.00 0.07 0.00 0.03 99.83 16:40:29 16:35:01 3 0.03 0.00 0.03 0.00 0.02 99.92 16:40:29 16:36:01 all 0.13 0.00 0.04 0.00 0.08 99.75 16:40:29 16:36:01 0 0.02 0.00 0.02 0.00 0.02 99.95 16:40:29 16:36:01 1 0.45 0.00 0.08 0.02 0.17 99.28 16:40:29 16:36:01 2 0.05 0.00 0.05 0.00 0.12 99.78 16:40:29 16:36:01 3 0.02 0.00 0.00 0.00 0.02 99.97 16:40:29 16:37:01 all 0.18 0.00 0.06 0.00 0.01 99.75 16:40:29 16:37:01 0 0.13 0.00 0.08 0.00 0.00 99.78 16:40:29 16:37:01 1 0.48 0.00 0.03 0.00 0.02 99.47 16:40:29 16:37:01 2 0.05 0.00 0.07 0.00 0.03 99.85 16:40:29 16:37:01 3 0.05 0.00 0.05 0.00 0.00 99.90 16:40:29 16:38:01 all 0.16 0.00 0.05 0.00 0.01 99.78 16:40:29 16:38:01 0 0.03 0.00 0.05 0.00 0.02 99.90 16:40:29 16:38:01 1 0.52 0.00 0.07 0.00 0.00 99.42 16:40:29 16:38:01 2 0.07 0.00 0.05 0.00 0.02 99.87 16:40:29 16:38:01 3 0.02 0.00 0.03 0.00 0.02 99.93 16:40:29 16:39:01 all 0.16 0.00 0.03 0.00 0.00 99.81 16:40:29 16:39:01 0 0.02 0.00 0.02 0.00 0.00 99.97 16:40:29 16:39:01 1 0.53 0.00 0.03 0.00 0.00 99.43 16:40:29 16:39:01 2 0.07 0.00 0.03 0.00 0.00 99.90 16:40:29 16:39:01 3 0.03 0.00 0.03 0.00 0.00 99.93 16:40:29 16:40:01 all 0.98 0.00 0.49 0.38 0.00 98.14 16:40:29 16:40:01 0 1.27 0.00 0.72 0.97 0.00 97.04 16:40:29 16:40:01 1 1.15 0.00 0.38 0.02 0.00 98.45 16:40:29 16:40:01 2 0.67 0.00 0.35 0.52 0.02 98.45 16:40:29 16:40:01 3 0.82 0.00 0.52 0.03 0.00 98.63 16:40:29 Average: all 2.01 0.00 1.04 0.61 0.04 96.30 16:40:29 Average: 0 1.87 0.00 1.07 0.65 0.03 96.39 16:40:29 Average: 1 2.30 0.00 1.21 0.48 0.05 95.96 16:40:29 Average: 2 2.07 0.00 0.85 0.74 0.06 96.28 16:40:29 Average: 3 1.79 0.00 1.02 0.57 0.03 96.59 16:40:29 16:40:29 16:40:29