Pull request #614 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7bcdaa2791459547e8ca5f69299be28c2ef18f0d+cbcd560d226450c2fc49532ec953a0990705dfef (6b3711bdb5c94636b1e7703d8b50956fdf0df524) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 # timeout=10 Commit message: "Merge pull request #301 from ernestojeda/enable-docker-proxy" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-13543’ Running on prd-centos7-docker-4c-2g-13547 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [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-614 # 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 Merging remotes/origin/master commit cbcd560d226450c2fc49532ec953a0990705dfef into PR head commit 7bcdaa2791459547e8ca5f69299be28c2ef18f0d Merge succeeded, producing 7bcdaa2791459547e8ca5f69299be28c2ef18f0d Checking out Revision 7bcdaa2791459547e8ca5f69299be28c2ef18f0d (PR-614) > 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/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7bcdaa2791459547e8ca5f69299be28c2ef18f0d # 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 cbcd560d226450c2fc49532ec953a0990705dfef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7bcdaa2791459547e8ca5f69299be28c2ef18f0d # timeout=10 Commit message: "build(deps): bump github.com/pkg/errors from 0.8.1 to 0.9.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk 48f2a81bf6fb53ed2515b7da6151e3ec59328cdc # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:59:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:59:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:59:27 ========================================================= 08:59:27 EdgeX Global Pipelines Version Info 08:59:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:59:29 ------------------- 08:59:29 stable info: 08:59:29 ------------------- 08:59:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:59:29 Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 08:59:29 Message: update stable to v1.0.167 08:59:30 ------------------- 08:59:30 experimental info: 08:59:30 ------------------- 08:59:30 Commited By: **** collab-it+edgex@linuxfoundation.org 08:59:30 Commit SHA: 0d18be6431106a7569620da64dad388747d7ba9a 08:59:30 Message: update experimental to v1.0.168 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 08:59:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 08:59:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 08:59:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:59:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:59:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:59:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 08:59:31 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:59:31 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 08:59:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 08:59:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:59:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:59:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 08:59:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:59:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:59:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:59:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:59:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:59:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:59:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:59:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:59:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:59:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 08:59:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:59:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:59:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:59:33 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 08:59:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-614 [Pipeline] echo 08:59:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-614 [Pipeline] echo 08:59:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-614 [Pipeline] echo 08:59:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7bcdaa2791459547e8ca5f69299be28c2ef18f0d [Pipeline] echo 08:59:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7bcdaa2 [Pipeline] echo 08:59:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:59:34 provisioning config files... 08:59:34 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config5561626568463961886tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:59:34 ---> docker-login.sh 08:59:34 nexus3.edgexfoundry.org:10001 08:59:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:35 Configure a credential helper to remove this warning. See 08:59:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:35 08:59:35 Login Succeeded 08:59:35 nexus3.edgexfoundry.org:10002 08:59:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:35 Configure a credential helper to remove this warning. See 08:59:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:35 08:59:35 Login Succeeded 08:59:35 nexus3.edgexfoundry.org:10003 08:59:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:36 Configure a credential helper to remove this warning. See 08:59:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:36 08:59:36 Login Succeeded 08:59:36 nexus3.edgexfoundry.org:10004 08:59:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:36 Configure a credential helper to remove this warning. See 08:59:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:36 08:59:36 Login Succeeded 08:59:36 docker.io 08:59:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:36 Configure a credential helper to remove this warning. See 08:59:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:36 08:59:36 Login Succeeded 08:59:36 ---> docker-login.sh ends [Pipeline] } 08:59:36 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:59:37 + git log --format=format:%s -1 7bcdaa2791459547e8ca5f69299be28c2ef18f0d [Pipeline] echo 08:59:37 GIT_COMMIT: 7bcdaa2791459547e8ca5f69299be28c2ef18f0d, Commit Message: build(deps): bump github.com/pkg/errors from 0.8.1 to 0.9.1 [Pipeline] echo 08:59:37 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:59:38 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:59:38 08:59:38 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:59:38 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:59:38 latest: Pulling from edgex-devops/git-semver 08:59:38 31603596830f: Pulling fs layer 08:59:38 2a8b12db71e7: Pulling fs layer 08:59:38 6ca5941a6612: Pulling fs layer 08:59:38 ecc8261a40a4: Pulling fs layer 08:59:38 ecc8261a40a4: Waiting 08:59:38 2a8b12db71e7: Verifying Checksum 08:59:38 2a8b12db71e7: Download complete 08:59:38 31603596830f: Verifying Checksum 08:59:38 31603596830f: Download complete 08:59:38 6ca5941a6612: Verifying Checksum 08:59:38 6ca5941a6612: Download complete 08:59:38 ecc8261a40a4: Verifying Checksum 08:59:38 ecc8261a40a4: Download complete 08:59:39 31603596830f: Pull complete 08:59:39 2a8b12db71e7: Pull complete 08:59:40 6ca5941a6612: Pull complete 08:59:40 ecc8261a40a4: Pull complete 08:59:40 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:59:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:59:40 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:59:41 prd-centos7-docker-4c-2g-13547 does not seem to be running inside a container 08:59:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-614 -v /w/workspace/dgexfoundry_device-sdk-go_PR-614:/w/workspace/dgexfoundry_device-sdk-go_PR-614:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-614@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:59:43 $ docker top ec59919127196bd0330f29485abe8588d2cf30507ee9b7763ba4f93a26718472 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:59:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:59:43 [ssh-agent] Looking for ssh-agent implementation... 08:59:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:59:43 $ docker exec ec59919127196bd0330f29485abe8588d2cf30507ee9b7763ba4f93a26718472 ssh-agent 08:59:43 SSH_AUTH_SOCK=/tmp/ssh-AdkWUemqPKY0/agent.12 08:59:43 SSH_AGENT_PID=17 08:59:43 Running ssh-add (command line suppressed) 08:59:43 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_4420326274014680913.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_4420326274014680913.key) 08:59:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:59:44 + git tag --points-at HEAD [Pipeline] } 08:59:44 $ docker exec --env ******** --env ******** ec59919127196bd0330f29485abe8588d2cf30507ee9b7763ba4f93a26718472 ssh-agent -k 08:59:44 unset SSH_AUTH_SOCK; 08:59:44 unset SSH_AGENT_PID; 08:59:44 echo Agent pid 17 killed; 08:59:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:59:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:59:44 [ssh-agent] Looking for ssh-agent implementation... 08:59:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:59:44 $ docker exec ec59919127196bd0330f29485abe8588d2cf30507ee9b7763ba4f93a26718472 ssh-agent 08:59:45 SSH_AUTH_SOCK=/tmp/ssh-jB26by0sIxTs/agent.47 08:59:45 SSH_AGENT_PID=52 08:59:45 Running ssh-add (command line suppressed) 08:59:45 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_1524555387044972201.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_1524555387044972201.key) 08:59:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:59:45 + git semver init 08:59:45 # -> Open(): unable to determine branch for HEAD 08:59:45 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.git 08:59:45 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-614 08:59:45 # $SEMVER_REMOTE_NAME = origin 08:59:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:59:45 # $SEMVER_USER_NAME = edgex-jenkins 08:59:45 # $SEMVER_BRANCH = PR-614 08:59:45 # $SEMVER_TEMP = /tmp/semver-092390534 08:59:45 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 08:59:46 # '/tmp/semver-092390534' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver' 08:59:46 # -> Force: false 08:59:46 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver [Pipeline] } 08:59:46 $ docker exec --env ******** --env ******** ec59919127196bd0330f29485abe8588d2cf30507ee9b7763ba4f93a26718472 ssh-agent -k 08:59:46 unset SSH_AUTH_SOCK; 08:59:46 unset SSH_AGENT_PID; 08:59:46 echo Agent pid 52 killed; 08:59:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:59:47 + git semver [Pipeline] } 08:59:47 $ docker stop --time=1 ec59919127196bd0330f29485abe8588d2cf30507ee9b7763ba4f93a26718472 08:59:48 $ docker rm -f ec59919127196bd0330f29485abe8588d2cf30507ee9b7763ba4f93a26718472 [Pipeline] // withDockerContainer [Pipeline] sh 08:59:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:59:49 Stashed 1 file(s) [Pipeline] echo 08:59:49 [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 09:00:05 Still waiting to schedule task 09:00:05 ‘prd-centos7-docker-4c-2g-13544’ is offline; ‘prd-centos7-docker-4c-2g-13548’ is offline; ‘prd-centos7-docker-4c-2g-13551’ is offline; ‘prd-centos7-docker-4c-2g-13552’ is offline; ‘prd-centos7-docker-4c-2g-13553’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ doesn’t have label ‘centos7-docker-4c-2g’ 09:00:05 Still waiting to schedule task 09:00:05 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 09:00:15 Running on prd-centos7-docker-4c-2g-13551 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws 09:00:15 Running in /w/workspace/device-sdk-go/24 [Pipeline] { [Pipeline] checkout 09:00:17 using credential edgex-jenkins-ssh 09:00:17 Cloning the remote Git repository 09:00:17 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:00:18 > git init /w/workspace/device-sdk-go/24 # timeout=10 09:00:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:00:18 > git --version # timeout=10 09:00:18 > git --version # 'git version 2.24.3' 09:00:18 using GIT_SSH to set credentials SSH Credentials for GitHub 09:00:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:00:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:00:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:00:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:00:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:00:18 using GIT_SSH to set credentials SSH Credentials for GitHub 09:00:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:00:19 Merging remotes/origin/master commit cbcd560d226450c2fc49532ec953a0990705dfef into PR head commit 7bcdaa2791459547e8ca5f69299be28c2ef18f0d 09:00:19 Merge succeeded, producing 7bcdaa2791459547e8ca5f69299be28c2ef18f0d 09:00:19 Checking out Revision 7bcdaa2791459547e8ca5f69299be28c2ef18f0d (PR-614) 09:00:19 > git config core.sparsecheckout # timeout=10 09:00:19 > git checkout -f 7bcdaa2791459547e8ca5f69299be28c2ef18f0d # timeout=10 09:00:19 > git remote # timeout=10 09:00:19 > git config --get remote.origin.url # timeout=10 09:00:19 using GIT_SSH to set credentials SSH Credentials for GitHub 09:00:19 > git merge cbcd560d226450c2fc49532ec953a0990705dfef # timeout=10 09:00:19 > git rev-parse HEAD^{commit} # timeout=10 09:00:19 > git config core.sparsecheckout # timeout=10 09:00:19 > git checkout -f 7bcdaa2791459547e8ca5f69299be28c2ef18f0d # timeout=10 09:00:23 Commit message: "build(deps): bump github.com/pkg/errors from 0.8.1 to 0.9.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:00:24 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 09:00:24 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:00:25 + sudo service docker restart 09:00:25 + true 09:00:25 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:00:26 provisioning config files... 09:00:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/24@tmp/config1908112758022478732tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:00:27 ---> docker-login.sh 09:00:27 nexus3.edgexfoundry.org:10001 09:00:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:00:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:00:27 Configure a credential helper to remove this warning. See 09:00:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:00:27 09:00:27 Login Succeeded 09:00:27 nexus3.edgexfoundry.org:10002 09:00:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:00:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:00:27 Configure a credential helper to remove this warning. See 09:00:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:00:27 09:00:27 Login Succeeded 09:00:27 nexus3.edgexfoundry.org:10003 09:00:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:00:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:00:27 Configure a credential helper to remove this warning. See 09:00:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:00:27 09:00:27 Login Succeeded 09:00:27 nexus3.edgexfoundry.org:10004 09:00:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:00:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:00:28 Configure a credential helper to remove this warning. See 09:00:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:00:28 09:00:28 Login Succeeded 09:00:28 docker.io 09:00:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:00:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:00:28 Configure a credential helper to remove this warning. See 09:00:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:00:28 09:00:28 Login Succeeded 09:00:28 ---> docker-login.sh ends [Pipeline] } 09:00:28 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:00:28 ========================================================= 09:00:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 09:00:28 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:00:29 + 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 . 09:00:29 Sending build context to Docker daemon 2.351MB 09:00:29 Step 1/8 : ARG BASE=golang:1.15-alpine 09:00:29 Step 2/8 : FROM ${BASE} 09:00:29 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 09:00:29 df20fa9351a1: Pulling fs layer 09:00:29 ed8968b2872e: Pulling fs layer 09:00:29 a92cc7c5fd73: Pulling fs layer 09:00:29 e871e8e8d7a9: Pulling fs layer 09:00:29 e73272ec9a57: Pulling fs layer 09:00:29 1e910a182e73: Pulling fs layer 09:00:29 4e634b169226: Pulling fs layer 09:00:29 e871e8e8d7a9: Waiting 09:00:29 e73272ec9a57: Waiting 09:00:29 4e634b169226: Waiting 09:00:29 1e910a182e73: Waiting 09:00:29 ed8968b2872e: Verifying Checksum 09:00:29 ed8968b2872e: Download complete 09:00:29 a92cc7c5fd73: Download complete 09:00:29 e73272ec9a57: Verifying Checksum 09:00:29 e73272ec9a57: Download complete 09:00:29 1e910a182e73: Verifying Checksum 09:00:29 1e910a182e73: Download complete 09:00:29 df20fa9351a1: Verifying Checksum 09:00:29 df20fa9351a1: Download complete 09:00:29 df20fa9351a1: Pull complete 09:00:29 ed8968b2872e: Pull complete 09:00:29 a92cc7c5fd73: Pull complete 09:00:31 4e634b169226: Verifying Checksum 09:00:31 4e634b169226: Download complete 09:00:32 e871e8e8d7a9: Verifying Checksum 09:00:32 e871e8e8d7a9: Download complete 09:00:39 e871e8e8d7a9: Pull complete 09:00:39 e73272ec9a57: Pull complete 09:00:39 1e910a182e73: Pull complete 09:00:43 4e634b169226: Pull complete 09:00:43 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 09:00:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 09:00:43 ---> f7629b54cfaa 09:00:43 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:00:43 ---> Running in 7398ed3525eb 09:00:43 Removing intermediate container 7398ed3525eb 09:00:43 ---> 2328296e9fa7 09:00:43 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:00:44 ---> Running in 5e7e8152a4dc 09:00:44 Removing intermediate container 5e7e8152a4dc 09:00:44 ---> b607f5db3dc5 09:00:44 Step 5/8 : RUN apk add --no-cache make git 09:00:45 ---> Running in 6613f93bad48 09:00:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:00:46 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:00:47 OK: 166 MiB in 39 packages 09:00:47 Removing intermediate container 6613f93bad48 09:00:47 ---> 85ee74dd73a1 09:00:47 Step 6/8 : WORKDIR /device-sdk-go 09:00:47 ---> Running in 2f382303c13d 09:00:47 Removing intermediate container 2f382303c13d 09:00:47 ---> 63a19c7b03ab 09:00:47 Step 7/8 : COPY . . 09:00:49 ---> 56a38e6140bb 09:00:49 Step 8/8 : RUN go mod download 09:00:49 ---> Running in 43bde1dfb8b2 09:02:57 Removing intermediate container 43bde1dfb8b2 09:02:57 ---> d7b810221cdb 09:02:57 Successfully built d7b810221cdb 09:02:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:02:57 + docker inspect -f . ci-base-image-x86_64 09:02:57 . [Pipeline] withDockerContainer 09:02:57 prd-centos7-docker-4c-2g-13551 does not seem to be running inside a container 09:02:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/24 -v /w/workspace/device-sdk-go/24:/w/workspace/device-sdk-go/24:rw,z -v /w/workspace/device-sdk-go/24@tmp:/w/workspace/device-sdk-go/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:02:59 $ docker top e7820e3a9c0ebabee1ad5747c2b9c449f96843131559bbfacbc01bdea1430e08 -eo pid,comm [Pipeline] { [Pipeline] sh 09:02:59 + go version 09:02:59 go version go1.15.2 linux/amd64 [Pipeline] } 09:02:59 $ docker stop --time=1 e7820e3a9c0ebabee1ad5747c2b9c449f96843131559bbfacbc01bdea1430e08 09:03:01 $ docker rm -f e7820e3a9c0ebabee1ad5747c2b9c449f96843131559bbfacbc01bdea1430e08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:03:02 + docker inspect -f . ci-base-image-x86_64 09:03:02 . [Pipeline] withDockerContainer 09:03:02 prd-centos7-docker-4c-2g-13551 does not seem to be running inside a container 09:03:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/24 -v /w/workspace/device-sdk-go/24:/w/workspace/device-sdk-go/24:rw,z -v /w/workspace/device-sdk-go/24@tmp:/w/workspace/device-sdk-go/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:03:03 $ docker top 955f317aed821647e4833138defdc97ba56f84060978f838601c64b79dcf03e7 -eo pid,comm [Pipeline] { [Pipeline] sh 09:03:03 + make test 09:03:03 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:03:11 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:03:25 Running on prd-ubuntu18.04-docker-arm64-4c-16g-13555 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws 09:03:25 Running in /w/workspace/device-sdk-go/24 [Pipeline] { [Pipeline] checkout 09:03:30 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 09:03:30 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 09:03:30 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 09:03:30 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.049s coverage: 20.6% of statements 09:03:30 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.560s coverage: 97.1% of statements 09:03:31 using credential edgex-jenkins-ssh 09:03:31 Cloning the remote Git repository 09:03:31 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:03:31 > git init /w/workspace/device-sdk-go/24 # timeout=10 09:03:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:03:31 > git --version # timeout=10 09:03:31 > git --version # 'git version 2.17.1' 09:03:31 using GIT_SSH to set credentials SSH Credentials for GitHub 09:03:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:03:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:03:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:03:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:03:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:03:32 using GIT_SSH to set credentials SSH Credentials for GitHub 09:03:32 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:03:33 Merging remotes/origin/master commit cbcd560d226450c2fc49532ec953a0990705dfef into PR head commit 7bcdaa2791459547e8ca5f69299be28c2ef18f0d 09:03:33 Merge succeeded, producing 7bcdaa2791459547e8ca5f69299be28c2ef18f0d 09:03:33 Checking out Revision 7bcdaa2791459547e8ca5f69299be28c2ef18f0d (PR-614) 09:03:33 > git config core.sparsecheckout # timeout=10 09:03:33 > git checkout -f 7bcdaa2791459547e8ca5f69299be28c2ef18f0d # timeout=10 09:03:33 > git remote # timeout=10 09:03:33 > git config --get remote.origin.url # timeout=10 09:03:33 using GIT_SSH to set credentials SSH Credentials for GitHub 09:03:33 > git merge cbcd560d226450c2fc49532ec953a0990705dfef # timeout=10 09:03:33 > git rev-parse HEAD^{commit} # timeout=10 09:03:33 > git config core.sparsecheckout # timeout=10 09:03:33 > git checkout -f 7bcdaa2791459547e8ca5f69299be28c2ef18f0d # timeout=10 09:03:38 Commit message: "build(deps): bump github.com/pkg/errors from 0.8.1 to 0.9.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:03:40 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 09:03:40 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:03:40 + + true 09:03:40 sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:03:43 provisioning config files... 09:03:43 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/24@tmp/config7733849613048194402tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:03:43 ---> docker-login.sh 09:03:43 nexus3.edgexfoundry.org:10001 09:03:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:45 Configure a credential helper to remove this warning. See 09:03:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:45 09:03:45 Login Succeeded 09:03:45 nexus3.edgexfoundry.org:10002 09:03:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:45 Configure a credential helper to remove this warning. See 09:03:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:45 09:03:45 Login Succeeded 09:03:45 nexus3.edgexfoundry.org:10003 09:03:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:46 Configure a credential helper to remove this warning. See 09:03:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:46 09:03:46 Login Succeeded 09:03:46 nexus3.edgexfoundry.org:10004 09:03:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:46 Configure a credential helper to remove this warning. See 09:03:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:46 09:03:46 Login Succeeded 09:03:46 docker.io 09:03:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:47 Configure a credential helper to remove this warning. See 09:03:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:47 09:03:47 Login Succeeded 09:03:47 ---> docker-login.sh ends [Pipeline] } 09:03:47 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:03:47 ========================================================= 09:03:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 09:03:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:03:48 + 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 . 09:03:48 Sending build context to Docker daemon 2.348MB 09:03:48 Step 1/8 : ARG BASE=golang:1.15-alpine 09:03:48 Step 2/8 : FROM ${BASE} 09:03:48 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:03:48 b538f80385f9: Pulling fs layer 09:03:48 74f711af9a0d: Pulling fs layer 09:03:48 99f96fe45779: Pulling fs layer 09:03:48 8529a6b9a6be: Pulling fs layer 09:03:48 45590311c82a: Pulling fs layer 09:03:48 69ca0ff8b7b3: Pulling fs layer 09:03:48 8529a6b9a6be: Waiting 09:03:48 209524e5b208: Pulling fs layer 09:03:48 45590311c82a: Waiting 09:03:48 69ca0ff8b7b3: Waiting 09:03:48 209524e5b208: Waiting 09:03:48 99f96fe45779: Verifying Checksum 09:03:48 99f96fe45779: Download complete 09:03:48 74f711af9a0d: Verifying Checksum 09:03:48 74f711af9a0d: Download complete 09:03:49 45590311c82a: Download complete 09:03:49 69ca0ff8b7b3: Verifying Checksum 09:03:49 69ca0ff8b7b3: Download complete 09:03:49 b538f80385f9: Verifying Checksum 09:03:49 b538f80385f9: Download complete 09:03:50 b538f80385f9: Pull complete 09:03:50 74f711af9a0d: Pull complete 09:03:50 99f96fe45779: Pull complete 09:03:51 209524e5b208: Verifying Checksum 09:03:51 209524e5b208: Download complete 09:03:53 8529a6b9a6be: Verifying Checksum 09:03:53 8529a6b9a6be: Download complete 09:04:02 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.055s coverage: 9.4% of statements 09:04:02 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.060s coverage: 21.9% of statements 09:04:02 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 09:04:02 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.238s coverage: 42.5% of statements 09:04:02 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 09:04:02 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.322s coverage: 68.9% of statements 09:04:02 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 09:04:02 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 09:04:02 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 09:04:02 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 09:04:02 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.070s coverage: 52.6% of statements 09:04:02 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 09:04:02 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 09:04:02 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 09:04:02 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.555s coverage: 68.9% of statements 09:04:02 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.066s coverage: 4.7% of statements 09:04:02 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 09:04:02 GO111MODULE=on go vet ./... 09:04:03 8529a6b9a6be: Pull complete 09:04:03 45590311c82a: Pull complete 09:04:03 69ca0ff8b7b3: Pull complete 09:04:06 209524e5b208: Pull complete 09:04:06 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 09:04:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 09:04:06 ---> 5bddaf1c2fca 09:04:06 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:04:10 ---> Running in 0a517eb87df2 09:04:10 Removing intermediate container 0a517eb87df2 09:04:10 ---> 75b48d2983f6 09:04:10 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:04:10 ---> Running in 5977f6a2faf8 09:04:12 gofmt -l . 09:04:12 [ "`gofmt -l .`" = "" ] 09:04:12 ./bin/test-attribution-txt.sh 09:04:12 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:04:13 $ docker stop --time=1 955f317aed821647e4833138defdc97ba56f84060978f838601c64b79dcf03e7 09:04:13 Removing intermediate container 5977f6a2faf8 09:04:13 ---> f2e9b0ea62ea 09:04:13 Step 5/8 : RUN apk add --no-cache make git 09:04:13 ---> Running in 94d6db410814 09:04:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:04:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:04:15 $ docker rm -f 955f317aed821647e4833138defdc97ba56f84060978f838601c64b79dcf03e7 09:04:15 OK: 142 MiB in 39 packages [Pipeline] // withDockerContainer [Pipeline] sh 09:04:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:04:16 Removing intermediate container 94d6db410814 09:04:16 ---> 13e7cdb06aa6 09:04:16 Step 6/8 : WORKDIR /device-sdk-go 09:04:16 Stashed 1 file(s) [Pipeline] } 09:04:16 ---> Running in 2bbc0fd05625 [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 09:04:17 Removing intermediate container 2bbc0fd05625 09:04:17 ---> 413a6ed7a3e1 09:04:17 Step 7/8 : COPY . . [Pipeline] sh 09:04:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:04:18 + ls -al . 09:04:18 total 208 09:04:18 drwxrwxr-x. 10 jenkins jenkins 4096 Nov 26 09:04 . 09:04:18 drwxrwxr-x. 4 jenkins jenkins 30 Nov 26 09:00 .. 09:04:18 drwxrwxr-x. 2 jenkins jenkins 64 Nov 26 09:00 bin 09:04:18 -rw-r--r--. 1 jenkins jenkins 127610 Nov 26 09:03 coverage.out 09:04:18 -rw-rw-r--. 1 jenkins jenkins 936 Nov 26 09:00 Dockerfile.build 09:04:18 -rw-rw-r--. 1 jenkins jenkins 140 Nov 26 09:00 .dockerignore 09:04:18 drwxrwxr-x. 4 jenkins jenkins 48 Nov 26 09:00 example 09:04:18 drwxrwxr-x. 8 jenkins jenkins 179 Nov 26 09:00 .git 09:04:18 drwxrwxr-x. 2 jenkins jenkins 60 Nov 26 09:00 .github 09:04:18 -rw-rw-r--. 1 jenkins jenkins 138 Nov 26 09:00 .gitignore 09:04:18 -rw-r--r--. 1 jenkins jenkins 518 Nov 26 09:04 go.mod 09:04:18 -rw-r--r--. 1 jenkins jenkins 13715 Nov 26 09:04 go.sum 09:04:18 drwxrwxr-x. 15 jenkins jenkins 211 Nov 26 09:00 internal 09:04:18 -rw-rw-r--. 1 jenkins jenkins 901 Nov 26 09:00 Jenkinsfile 09:04:18 -rw-rw-r--. 1 jenkins jenkins 11341 Nov 26 09:00 LICENSE 09:04:18 -rw-rw-r--. 1 jenkins jenkins 1013 Nov 26 09:00 Makefile 09:04:18 drwxrwxr-x. 4 jenkins jenkins 26 Nov 26 09:00 openapi 09:04:18 drwxrwxr-x. 5 jenkins jenkins 50 Nov 26 09:00 pkg 09:04:18 -rw-rw-r--. 1 jenkins jenkins 5897 Nov 26 09:00 README.md 09:04:18 -rw-rw-r--. 1 jenkins jenkins 4291 Nov 26 09:00 RELEASE-NOTES.txt 09:04:18 drwxrwxr-x. 4 jenkins jenkins 54 Nov 26 09:00 snap 09:04:18 -rw-rw-r--. 1 jenkins jenkins 5 Nov 26 08:59 VERSION 09:04:18 -rw-rw-r--. 1 jenkins jenkins 222 Nov 26 09:00 version.go [Pipeline] isUnix [Pipeline] sh 09:04:18 + 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=7bcdaa2791459547e8ca5f69299be28c2ef18f0d --label arch=amd64 --label version=0.0.0 . 09:04:18 ---> 4a5ed7507d06 09:04:18 Step 8/8 : RUN go mod download 09:04:18 ---> Running in 1a1fcee79bbc 09:04:18 Sending build context to Docker daemon 2.479MB 09:04:18 Step 1/24 : ARG BASE=golang:1.15-alpine 09:04:18 Step 2/24 : FROM ${BASE} AS builder 09:04:18 ---> d7b810221cdb 09:04:18 Step 3/24 : ARG MAKE='make build' 09:04:19 ---> Running in 242be5d6bdc8 09:04:19 Removing intermediate container 242be5d6bdc8 09:04:19 ---> ad0e24ee7eb4 09:04:19 Step 4/24 : WORKDIR /device-sdk-go 09:04:19 ---> Running in ff691e7c24cc 09:04:19 Removing intermediate container ff691e7c24cc 09:04:19 ---> bc3ae85e3d57 09:04:19 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:04:19 ---> Running in 1ae8fa24f70b 09:04:20 Removing intermediate container 1ae8fa24f70b 09:04:20 ---> b0cc957ac587 09:04:20 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:04:20 ---> Running in f937ba47240b 09:04:21 Removing intermediate container f937ba47240b 09:04:21 ---> 038003f46c52 09:04:21 Step 7/24 : RUN apk add --update --no-cache make git 09:04:21 ---> Running in c4abd327074f 09:04:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:04:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:04:23 OK: 166 MiB in 39 packages 09:04:23 Removing intermediate container c4abd327074f 09:04:23 ---> 1cb46855489f 09:04:23 Step 8/24 : COPY . . 09:04:24 ---> 772728cb86f1 09:04:24 Step 9/24 : RUN ${MAKE} 09:04:24 ---> Running in cca1ad6c536b 09:04:25 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 09:04:37 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:04:41 Removing intermediate container cca1ad6c536b 09:04:41 ---> e91307e651e4 09:04:41 Step 10/24 : FROM scratch 09:04:41 ---> 09:04:41 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:04:41 ---> Running in 300b68b02e42 09:04:41 Removing intermediate container 300b68b02e42 09:04:41 ---> 18da45a5856b 09:04:41 Step 12/24 : ENV APP_PORT=49990 09:04:41 ---> Running in 33bdd156290d 09:04:41 Removing intermediate container 33bdd156290d 09:04:41 ---> 99557b31c165 09:04:41 Step 13/24 : EXPOSE $APP_PORT 09:04:41 ---> Running in eccbd2eddf5b 09:04:41 Removing intermediate container eccbd2eddf5b 09:04:41 ---> 7eebbd1997e1 09:04:41 Step 14/24 : WORKDIR / 09:04:41 ---> Running in 3f299482a2bb 09:04:41 Removing intermediate container 3f299482a2bb 09:04:41 ---> 0b0a06810b1b 09:04:41 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:04:42 ---> 60775eb44747 09:04:42 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:04:42 ---> 9b3c3eccfdd2 09:04:42 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:04:43 ---> 589fd5899800 09:04:43 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 09:04:43 ---> 3ab11eed1f72 09:04:43 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 09:04:43 ---> 3def424c99b0 09:04:43 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 09:04:43 ---> Running in 712231a75354 09:04:43 Removing intermediate container 712231a75354 09:04:43 ---> bb8f6a9351c1 09:04:43 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:04:44 ---> Running in d22297238cac 09:04:44 Removing intermediate container d22297238cac 09:04:44 ---> 8947f3a331ab 09:04:44 Step 22/24 : LABEL arch=amd64 09:04:44 ---> Running in ac4fdbc7c585 09:04:44 Removing intermediate container ac4fdbc7c585 09:04:44 ---> 2e5b7c78617e 09:04:44 Step 23/24 : LABEL git_sha=7bcdaa2791459547e8ca5f69299be28c2ef18f0d 09:04:44 ---> Running in 1756b97ee49a 09:04:45 Removing intermediate container 1756b97ee49a 09:04:45 ---> e47590064b1c 09:04:45 Step 24/24 : LABEL version=0.0.0 09:04:45 ---> Running in b46e6e611a5f 09:04:45 Removing intermediate container b46e6e611a5f 09:04:45 ---> 744e5cc54592 09:04:45 [Warning] One or more build-args [ARCH] were not consumed 09:04:45 Successfully built 744e5cc54592 09:04:45 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] } 09:05:40 Removing intermediate container 1a1fcee79bbc 09:05:40 ---> 797aa0eb7ba5 09:05:40 Successfully built 797aa0eb7ba5 09:05:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:05:40 + docker inspect -f . ci-base-image-arm64 09:05:40 . [Pipeline] withDockerContainer 09:05:41 prd-ubuntu18.04-docker-arm64-4c-16g-13555 does not seem to be running inside a container 09:05:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/24 -v /w/workspace/device-sdk-go/24:/w/workspace/device-sdk-go/24:rw,z -v /w/workspace/device-sdk-go/24@tmp:/w/workspace/device-sdk-go/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:05:42 $ docker top c7a9101556066d922f5715c9163dee763a5c9ce96f3b8361edff6aa015fadb88 -eo pid,comm [Pipeline] { [Pipeline] sh 09:05:44 + go version 09:05:44 go version go1.15.2 linux/arm64 [Pipeline] } 09:05:44 $ docker stop --time=1 c7a9101556066d922f5715c9163dee763a5c9ce96f3b8361edff6aa015fadb88 09:05:46 $ docker rm -f c7a9101556066d922f5715c9163dee763a5c9ce96f3b8361edff6aa015fadb88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:05:47 + docker inspect -f . ci-base-image-arm64 09:05:47 . [Pipeline] withDockerContainer 09:05:47 prd-ubuntu18.04-docker-arm64-4c-16g-13555 does not seem to be running inside a container 09:05:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/24 -v /w/workspace/device-sdk-go/24:/w/workspace/device-sdk-go/24:rw,z -v /w/workspace/device-sdk-go/24@tmp:/w/workspace/device-sdk-go/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:05:49 $ docker top c37b08cbd176187d6d088afc7b234aa229c1a3ee87a53af91b8de617fbe6d674 -eo pid,comm [Pipeline] { [Pipeline] sh 09:05:50 + make test 09:05:50 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:06:17 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:07:04 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 09:07:04 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 09:07:04 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 09:07:04 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.142s coverage: 20.6% of statements 09:07:07 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.267s coverage: 97.1% of statements 09:07:34 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.148s coverage: 9.4% of statements 09:07:34 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.119s coverage: 21.9% of statements 09:07:34 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 09:07:34 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.620s coverage: 42.5% of statements 09:07:34 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 09:07:34 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.951s coverage: 68.9% of statements 09:07:34 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 09:07:34 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 09:07:34 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 09:07:34 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 09:07:34 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.209s coverage: 52.6% of statements 09:07:34 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 09:07:34 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 09:07:34 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 09:07:34 ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.033s coverage: 68.9% of statements 09:07:34 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.146s coverage: 4.7% of statements 09:07:34 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 09:07:34 GO111MODULE=on go vet ./... 09:08:13 gofmt -l . 09:08:13 [ "`gofmt -l .`" = "" ] 09:08:13 ./bin/test-attribution-txt.sh 09:08:13 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:08:13 $ docker stop --time=1 c37b08cbd176187d6d088afc7b234aa229c1a3ee87a53af91b8de617fbe6d674 09:08:16 $ docker rm -f c37b08cbd176187d6d088afc7b234aa229c1a3ee87a53af91b8de617fbe6d674 [Pipeline] // withDockerContainer [Pipeline] sh 09:08:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:08:17 Warning: overwriting stash ‘coverage-report’ 09:08:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:08:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:08:19 + ls -al . 09:08:19 total 244 09:08:19 drwxrwxr-x 10 jenkins jenkins 4096 Nov 26 09:08 . 09:08:19 drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 09:03 .. 09:08:19 -rw-rw-r-- 1 jenkins jenkins 140 Nov 26 09:03 .dockerignore 09:08:19 drwxrwxr-x 8 jenkins jenkins 4096 Nov 26 09:03 .git 09:08:19 drwxrwxr-x 2 jenkins jenkins 4096 Nov 26 09:03 .github 09:08:19 -rw-rw-r-- 1 jenkins jenkins 138 Nov 26 09:03 .gitignore 09:08:19 -rw-rw-r-- 1 jenkins jenkins 936 Nov 26 09:03 Dockerfile.build 09:08:19 -rw-rw-r-- 1 jenkins jenkins 901 Nov 26 09:03 Jenkinsfile 09:08:19 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 26 09:03 LICENSE 09:08:19 -rw-rw-r-- 1 jenkins jenkins 1013 Nov 26 09:03 Makefile 09:08:19 -rw-rw-r-- 1 jenkins jenkins 5897 Nov 26 09:03 README.md 09:08:19 -rw-rw-r-- 1 jenkins jenkins 4291 Nov 26 09:03 RELEASE-NOTES.txt 09:08:19 -rw-rw-r-- 1 jenkins jenkins 5 Nov 26 08:59 VERSION 09:08:19 drwxrwxr-x 2 jenkins jenkins 4096 Nov 26 09:03 bin 09:08:19 -rw-r--r-- 1 jenkins jenkins 127610 Nov 26 09:07 coverage.out 09:08:19 drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 09:03 example 09:08:19 -rw-r--r-- 1 jenkins jenkins 518 Nov 26 09:08 go.mod 09:08:19 -rw-r--r-- 1 jenkins jenkins 13715 Nov 26 09:08 go.sum 09:08:19 drwxrwxr-x 15 jenkins jenkins 4096 Nov 26 09:03 internal 09:08:19 drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 09:03 openapi 09:08:19 drwxrwxr-x 5 jenkins jenkins 4096 Nov 26 09:03 pkg 09:08:19 drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 09:03 snap 09:08:19 -rw-rw-r-- 1 jenkins jenkins 222 Nov 26 09:03 version.go [Pipeline] isUnix [Pipeline] sh 09:08: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=7bcdaa2791459547e8ca5f69299be28c2ef18f0d --label arch=arm64 --label version=0.0.0 . 09:08:20 Sending build context to Docker daemon 2.476MB 09:08:20 Step 1/24 : ARG BASE=golang:1.15-alpine 09:08:20 Step 2/24 : FROM ${BASE} AS builder 09:08:20 ---> 797aa0eb7ba5 09:08:20 Step 3/24 : ARG MAKE='make build' 09:08:20 ---> Running in 63f80ee67734 09:08:20 Removing intermediate container 63f80ee67734 09:08:20 ---> 7d4baad0e975 09:08:20 Step 4/24 : WORKDIR /device-sdk-go 09:08:21 ---> Running in a3dc3bbc5ede 09:08:21 Removing intermediate container a3dc3bbc5ede 09:08:21 ---> 86edb502708e 09:08:21 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:08:21 ---> Running in cb1c96f3af67 09:08:22 Removing intermediate container cb1c96f3af67 09:08:22 ---> d91575fe1ff0 09:08:22 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:08:22 ---> Running in 1710b7783c40 09:08:25 Removing intermediate container 1710b7783c40 09:08:25 ---> 5514870ba145 09:08:25 Step 7/24 : RUN apk add --update --no-cache make git 09:08:25 ---> Running in 75c6af853775 09:08:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:08:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:08:27 OK: 142 MiB in 39 packages 09:08:29 Removing intermediate container 75c6af853775 09:08:29 ---> 634edf9c5aa1 09:08:29 Step 8/24 : COPY . . 09:08:30 ---> e98b1cb7bccd 09:08:30 Step 9/24 : RUN ${MAKE} 09:08:30 ---> Running in 563f7a50a2e4 09:08: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 09:09:04 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:09:05 Removing intermediate container 563f7a50a2e4 09:09:05 ---> 8762a5560662 09:09:05 Step 10/24 : FROM scratch 09:09:05 ---> 09:09:05 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:09:05 ---> Running in 3cc84e6399da 09:09:05 Removing intermediate container 3cc84e6399da 09:09:05 ---> 9b6d0f7babfa 09:09:05 Step 12/24 : ENV APP_PORT=49990 09:09:05 ---> Running in c1d6d9968b5c 09:09:06 Removing intermediate container c1d6d9968b5c 09:09:06 ---> 85319b1cce4d 09:09:06 Step 13/24 : EXPOSE $APP_PORT 09:09:06 ---> Running in f0569402889f 09:09:06 Removing intermediate container f0569402889f 09:09:06 ---> 23bed83e1374 09:09:06 Step 14/24 : WORKDIR / 09:09:07 ---> Running in 8b2b2a71ff99 09:09:07 Removing intermediate container 8b2b2a71ff99 09:09:07 ---> 3dc49143375d 09:09:07 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:09:08 ---> c6ceeb10c1b1 09:09:08 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:09:09 ---> 63e6e1a67041 09:09:09 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:09:10 ---> 35c95aa34d0c 09:09:10 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 09:09:11 ---> 556dc8341bdf 09:09:11 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 09:09:12 ---> 4add5850ba6b 09:09:12 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 09:09:12 ---> Running in 7ce0fe8d6940 09:09:12 Removing intermediate container 7ce0fe8d6940 09:09:12 ---> 977824aa77c4 09:09:12 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:09:12 ---> Running in f8f63f8aeea4 09:09:13 Removing intermediate container f8f63f8aeea4 09:09:13 ---> 88465350827c 09:09:13 Step 22/24 : LABEL arch=arm64 09:09:13 ---> Running in a5cc8436bb2f 09:09:14 Removing intermediate container a5cc8436bb2f 09:09:14 ---> 4f538d60d611 09:09:14 Step 23/24 : LABEL git_sha=7bcdaa2791459547e8ca5f69299be28c2ef18f0d 09:09:14 ---> Running in 38bbdabbd221 09:09:14 Removing intermediate container 38bbdabbd221 09:09:14 ---> 1dea16f79be2 09:09:14 Step 24/24 : LABEL version=0.0.0 09:09:14 ---> Running in 4fe2814dc03a 09:09:15 Removing intermediate container 4fe2814dc03a 09:09:15 ---> 569295763014 09:09:15 [Warning] One or more build-args [ARCH] were not consumed 09:09:15 Successfully built 569295763014 09:09:15 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 09:09:17 provisioning config files... 09:09:17 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config6010351213582081475tmp [Pipeline] { [Pipeline] sh 09:09:17 + set +x 09:09:17 + curl -s https://codecov.io/bash 09:09:17 + bash -s -- 09:09:17 09:09:17 _____ _ 09:09:17 / ____| | | 09:09:17 | | ___ __| | ___ ___ _____ __ 09:09:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:09:17 | |___| (_) | (_| | __/ (_| (_) \ V / 09:09:17 \_____\___/ \__,_|\___|\___\___/ \_/ 09:09:17 Bash-20201124-79cbc08 09:09:17 09:09:17 09:09:17 ==> Jenkins CI detected. 09:09:17 project root: . 09:09:17 --> token set from env 09:09:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:09:17 ==> Running gcov in . (disable via -X gcov) 09:09:17 ==> Python coveragepy not found 09:09:17 ==> Searching for coverage reports in: 09:09:17 + . 09:09:17 -> Found 1 reports 09:09:17 ==> Detecting git/mercurial file structure 09:09:17 ==> Reading reports 09:09:17 + ./coverage.out bytes=127610 09:09:17 ==> Appending adjustments 09:09:17 https://docs.codecov.io/docs/fixing-reports 09:09:18 + Found adjustments 09:09:18 ==> Gzipping contents 09:09:18 24K /tmp/codecov.sCPRU7.gz 09:09:18 ==> Uploading reports 09:09:18 url: https://codecov.io 09:09:18 query: branch=PR-614&commit=7bcdaa2791459547e8ca5f69299be28c2ef18f0d&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= 09:09:18 -> Pinging Codecov 09:09:18 https://codecov.io/upload/v4?package=bash-20201124-79cbc08&token=secret&branch=PR-614&commit=7bcdaa2791459547e8ca5f69299be28c2ef18f0d&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= 09:09:19 -> Uploading to 09:09:19 https://storage.googleapis.com/codecov/v4/raw/2020-11-26/7E55EF52A471D76F132DFD9A03CDDE97/7bcdaa2791459547e8ca5f69299be28c2ef18f0d/db5fd0af-2a9b-40f8-8b98-31361236af10.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201126%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201126T090919Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c1de0301663717cd521ab0f57e701a10417be0d1ee1a10e4704b5386d87fdcc7 09:09:19 % Total % Received % Xferd Average Speed Time Time Time Current 09:09:19 Dload Upload Total Spent Left Speed 09:09:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20882 0 0 100 20882 0 16847 0:00:01 0:00:01 --:--:-- 16840 100 20882 0 0 100 20882 0 16844 0:00:01 0:00:01 --:--:-- 16840 09:09:20 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/7bcdaa2791459547e8ca5f69299be28c2ef18f0d [Pipeline] } 09:09:20 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 09:09:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:09:24 ---> package-listing.sh 09:09:24 ++ facter osfamily 09:09:24 ++ tr '[:upper:]' '[:lower:]' 09:09:24 + OS_FAMILY=redhat 09:09:24 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-614 09:09:24 + START_PACKAGES=/tmp/packages_start.txt 09:09:24 + END_PACKAGES=/tmp/packages_end.txt 09:09:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:09:24 + PACKAGES=/tmp/packages_start.txt 09:09:24 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' 09:09:24 + PACKAGES=/tmp/packages_end.txt 09:09:24 + case "${OS_FAMILY}" in 09:09:24 + rpm -qa 09:09:24 + sort 09:09:29 + '[' -f /tmp/packages_start.txt ']' 09:09:29 + '[' -f /tmp/packages_end.txt ']' 09:09:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:09:29 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' 09:09:29 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-614/archives/ 09:09:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-614/archives/ [Pipeline] echo 09:09:29 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-614/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:09:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:09:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:09:30 09:09:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:09:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:09:30 alpine: Pulling from edgex-lftools-log-publisher 09:09:30 df20fa9351a1: Pulling fs layer 09:09:30 36b3adc4ff6f: Pulling fs layer 09:09:30 8ad3a11d3b57: Pulling fs layer 09:09:30 46f8f816bc3b: Pulling fs layer 09:09:30 93b61091891f: Pulling fs layer 09:09:30 93b9cdb0e59b: Pulling fs layer 09:09:30 5e14af77c1be: Pulling fs layer 09:09:30 01666e4c0597: Pulling fs layer 09:09:30 aa168da1d23b: Pulling fs layer 09:09:30 46f8f816bc3b: Waiting 09:09:30 93b9cdb0e59b: Waiting 09:09:30 01666e4c0597: Waiting 09:09:30 5e14af77c1be: Waiting 09:09:30 93b61091891f: Waiting 09:09:30 36b3adc4ff6f: Verifying Checksum 09:09:30 36b3adc4ff6f: Download complete 09:09:30 46f8f816bc3b: Verifying Checksum 09:09:30 46f8f816bc3b: Download complete 09:09:30 df20fa9351a1: Download complete 09:09:30 93b9cdb0e59b: Verifying Checksum 09:09:30 93b9cdb0e59b: Download complete 09:09:30 5e14af77c1be: Verifying Checksum 09:09:30 5e14af77c1be: Download complete 09:09:30 01666e4c0597: Verifying Checksum 09:09:30 01666e4c0597: Download complete 09:09:30 93b61091891f: Verifying Checksum 09:09:30 93b61091891f: Download complete 09:09:30 8ad3a11d3b57: Verifying Checksum 09:09:30 8ad3a11d3b57: Download complete 09:09:31 df20fa9351a1: Pull complete 09:09:31 36b3adc4ff6f: Pull complete 09:09:32 8ad3a11d3b57: Pull complete 09:09:32 46f8f816bc3b: Pull complete 09:09:32 93b61091891f: Pull complete 09:09:32 aa168da1d23b: Verifying Checksum 09:09:32 aa168da1d23b: Download complete 09:09:33 93b9cdb0e59b: Pull complete 09:09:33 5e14af77c1be: Pull complete 09:09:33 01666e4c0597: Pull complete 09:09:41 aa168da1d23b: Pull complete 09:09:41 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 09:09:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:09:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:09:41 prd-centos7-docker-4c-2g-13547 does not seem to be running inside a container 09:09:42 $ 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-614/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-614 -v /w/workspace/dgexfoundry_device-sdk-go_PR-614:/w/workspace/dgexfoundry_device-sdk-go_PR-614:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 09:09:45 $ docker top 097d3f9966414da5cf430d22a5539cc4f0f6622bf22c550616be8caffdcaad01 -eo pid,comm [Pipeline] { [Pipeline] sh 09:09:45 + touch /tmp/pre-build-complete [Pipeline] sh 09:09:46 + mkdir -p /var/log/sa [Pipeline] sh 09:09:46 + ls /var/log/sa-host 09:09:46 + sadf -c /var/log/sa-host/sa23 09:09:46 file_magic: OK 09:09:46 HZ: Using current value: 100 09:09:46 file_header: OK 09:09:46 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 09:09:46 Statistics: 09:09:46 Hnuu...uuuununununu... 09:09:46 File successfully converted to sysstat format version 12.2.1 09:09:46 + sadf -c /var/log/sa-host/sa26 09:09:46 file_magic: OK 09:09:46 HZ: Using current value: 100 09:09:46 file_header: OK 09:09:46 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 09:09:46 Statistics: 09:09:46 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:09:46 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:09:46 provisioning config files... 09:09:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config2030747924776577984tmp [Pipeline] { [Pipeline] echo 09:09:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:09:47 ---> create-netrc.sh [Pipeline] } 09:09:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 09:09:47 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 09:09:47 ---> python-tools-install.sh [Pipeline] echo 09:09:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:09:47 ---> sudo-logs.sh 09:09:47 Archiving 'sudo' log.. [Pipeline] echo 09:09:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:09:48 ---> job-cost.sh 09:09:48 lf-activate-venv: SKIPPING 09:09:48 INFO: No Stack... 09:09:49 INFO: Retrieving Pricing Info for: v1-standard-2 09:09:49 INFO: Archiving Costs [Pipeline] echo 09:09:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:09:50 ---> logs-deploy.sh 09:09:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-614/24 09:09:50 INFO: archiving workspace using pattern(s): 09:09:52 Archives upload complete. 09:09:52 INFO: archiving logs to Nexus 09:09:53 ---> uname -a: 09:09:53 Linux prd-centos7-docker-4c-2g-13547.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 09:09:53 09:09:53 09:09:53 ---> lscpu: 09:09:53 Architecture: x86_64 09:09:53 CPU op-mode(s): 32-bit, 64-bit 09:09:53 Byte Order: Little Endian 09:09:53 Address sizes: 40 bits physical, 48 bits virtual 09:09:53 CPU(s): 4 09:09:53 On-line CPU(s) list: 0-3 09:09:53 Thread(s) per core: 1 09:09:53 Core(s) per socket: 1 09:09:53 Socket(s): 4 09:09:53 NUMA node(s): 1 09:09:53 Vendor ID: GenuineIntel 09:09:53 CPU family: 6 09:09:53 Model: 44 09:09:53 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 09:09:53 Stepping: 1 09:09:53 CPU MHz: 2933.436 09:09:53 BogoMIPS: 5866.87 09:09:53 Virtualization: VT-x 09:09:53 Hypervisor vendor: KVM 09:09:53 Virtualization type: full 09:09:53 L1d cache: 128 KiB 09:09:53 L1i cache: 128 KiB 09:09:53 L2 cache: 16 MiB 09:09:53 L3 cache: 64 MiB 09:09:53 NUMA node0 CPU(s): 0-3 09:09:53 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 09:09:53 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 09:09:53 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 09:09:53 Vulnerability Meltdown: Mitigation; PTI 09:09:53 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:09:53 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 09:09:53 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 09:09:53 Vulnerability Srbds: Not affected 09:09:53 Vulnerability Tsx async abort: Not affected 09:09:53 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 09:09:53 09:09:53 09:09:53 ---> nproc: 09:09:53 4 09:09:53 09:09:53 09:09:53 ---> df -h: 09:09:53 Filesystem Size Used Available Use% Mounted on 09:09:53 overlay 50.0G 7.3G 42.7G 15% / 09:09:53 tmpfs 64.0M 0 64.0M 0% /dev 09:09:53 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 09:09:53 shm 64.0M 0 64.0M 0% /dev/shm 09:09:53 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 09:09:53 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 09:09:53 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 09:09:53 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 09:09:53 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 09:09:53 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 09:09:53 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 09:09:53 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-614 09:09:53 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp 09:09:53 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 09:09:53 09:09:53 09:09:53 ---> free -m: 09:09:53 total used free shared buff/cache available 09:09:53 Mem: 1837 683 96 0 1057 1049 09:09:53 Swap: 1023 1 1022 09:09:53 09:09:53 09:09:53 ---> ip addr: 09:09:53 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 09:09:53 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 09:09:53 inet 127.0.0.1/8 scope host lo 09:09:53 valid_lft forever preferred_lft forever 09:09:53 inet6 ::1/128 scope host 09:09:53 valid_lft forever preferred_lft forever 09:09:53 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 09:09:53 link/ether fa:16:3e:a0:76:a3 brd ff:ff:ff:ff:ff:ff 09:09:53 inet 10.30.123.157/23 brd 10.30.123.255 scope global dynamic eth0 09:09:53 valid_lft 85738sec preferred_lft 85738sec 09:09:53 inet6 fe80::f816:3eff:fea0:76a3/64 scope link 09:09:53 valid_lft forever preferred_lft forever 09:09:53 3: docker0: mtu 1500 qdisc noqueue state DOWN 09:09:53 link/ether 02:42:ba:ce:ed:7a brd ff:ff:ff:ff:ff:ff 09:09:53 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 09:09:53 valid_lft forever preferred_lft forever 09:09:53 inet6 fe80::42:baff:fece:ed7a/64 scope link 09:09:53 valid_lft forever preferred_lft forever 09:09:53 09:09:53 09:09:53 ---> sar -b -r -n DEV: 09:09:53 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 11/26/20 _x86_64_ (4 CPU) 09:09:53 09:09:53 08:58:39 LINUX RESTART (4 CPU) 09:09:53 09:09:53 08:59:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 09:09:53 09:00:01 136.18 50.66 85.52 0.00 7955.87 39177.17 0.00 09:09:53 09:01:01 3.71 0.08 3.63 0.00 2.26 119.89 0.00 09:09:53 09:02:01 0.60 0.08 0.52 0.00 1.60 8.69 0.00 09:09:53 09:03:01 0.23 0.00 0.23 0.00 0.00 2.83 0.00 09:09:53 09:04:01 0.23 0.00 0.23 0.00 0.00 3.00 0.00 09:09:53 09:05:01 0.22 0.00 0.22 0.00 0.00 3.60 0.00 09:09:53 09:06:01 0.30 0.00 0.30 0.00 0.00 3.88 0.00 09:09:53 09:07:02 0.22 0.00 0.22 0.00 0.00 2.56 0.00 09:09:53 09:08:01 0.20 0.00 0.20 0.00 0.00 1.66 0.00 09:09:53 09:09:01 0.22 0.00 0.22 0.00 0.00 1.90 0.00 09:09:53 Average: 14.24 5.09 9.15 0.00 797.74 3941.23 0.00 09:09:53 09:09:53 08:59:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 09:09:53 09:00:01 164876 0 575636 30.59 2620 1138412 1093940 37.33 380876 1135700 132 09:09:53 09:01:01 167896 0 572524 30.43 2620 1138504 1091084 37.24 384084 1129784 20 09:09:53 09:02:01 169808 0 570488 30.32 2620 1138628 1060640 36.20 382940 1129604 12 09:09:53 09:03:01 168852 0 571440 30.37 2620 1138632 1060808 36.20 395996 1117332 8 09:09:53 09:04:01 169544 0 570744 30.33 2620 1138636 1060772 36.20 392200 1121084 8 09:09:53 09:05:01 166212 0 574068 30.51 2620 1138644 1060872 36.21 409888 1106324 20 09:09:53 09:06:01 167280 0 573000 30.45 2620 1138644 1060960 36.21 408888 1106320 16 09:09:53 09:07:02 167488 0 572784 30.44 2620 1138652 1060960 36.21 408892 1106324 8 09:09:53 09:08:01 167156 0 573112 30.46 2620 1138656 1060960 36.21 408980 1106368 12 09:09:53 09:09:01 167420 0 572844 30.45 2620 1138660 1060960 36.21 408728 1106368 12 09:09:53 Average: 167653 0 572664 30.44 2620 1138607 1067196 36.42 398147 1116521 25 09:09:53 09:09:53 08:59:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 09:09:53 09:00:01 eth0 508.50 305.48 1091.41 103.28 0.00 0.00 0.00 0.00 09:09:53 09:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:09:53 09:00:01 docker0 9.64 7.14 1.35 20.19 0.00 0.00 0.00 0.00 09:09:53 09:01:01 eth0 1.17 0.70 0.69 0.46 0.00 0.00 0.00 0.00 09:09:53 09:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:09:53 09:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:09:53 09:02:01 eth0 0.72 0.10 0.06 0.01 0.00 0.00 0.00 0.00 09:09:53 09:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:09:53 09:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:09:53 09:03:01 eth0 1.87 0.37 0.39 0.20 0.00 0.00 0.00 0.00 09:09:53 09:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:09:53 09:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:09:53 09:04:01 eth0 2.81 0.62 0.70 0.40 0.00 0.00 0.00 0.00 09:09:53 09:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:09:53 09:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:09:53 09:05:01 eth0 1.25 0.60 0.68 0.42 0.00 0.00 0.00 0.00 09:09:53 09:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:09:53 09:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:09:53 09:06:01 eth0 0.13 0.10 0.01 0.04 0.00 0.00 0.00 0.00 09:09:53 09:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:09:53 09:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:09:53 09:07:02 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 09:09:53 09:07:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:09:53 09:07:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:09:53 09:08:01 eth0 0.14 0.08 0.01 0.01 0.00 0.00 0.00 0.00 09:09:53 09:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:09:53 09:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:09:53 09:09:01 eth0 0.17 0.08 0.01 0.01 0.00 0.00 0.00 0.00 09:09:53 09:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:09:53 09:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:09:53 Average: eth0 51.80 30.89 109.64 10.51 0.00 0.00 0.00 0.00 09:09:53 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:09:53 Average: docker0 0.97 0.72 0.13 2.02 0.00 0.00 0.00 0.00 09:09:53 09:09:53 09:09:53 ---> sar -P ALL: 09:09:53 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 11/26/20 _x86_64_ (4 CPU) 09:09:53 09:09:53 08:58:39 LINUX RESTART (4 CPU) 09:09:53 09:09:53 08:59:01 CPU %user %nice %system %iowait %steal %idle 09:09:53 09:00:01 all 15.49 0.00 7.96 5.00 0.73 70.82 09:09:53 09:00:01 0 16.78 0.00 8.03 7.05 0.67 67.47 09:09:53 09:00:01 1 16.25 0.00 8.01 5.52 0.73 69.49 09:09:53 09:00:01 2 15.44 0.00 7.16 4.79 0.77 71.85 09:09:53 09:00:01 3 13.48 0.00 8.66 2.64 0.74 74.48 09:09:53 09:01:01 all 0.16 0.00 0.08 0.00 0.02 99.73 09:09:53 09:01:01 0 0.48 0.00 0.08 0.00 0.02 99.42 09:09:53 09:01:01 1 0.07 0.00 0.08 0.00 0.03 99.82 09:09:53 09:01:01 2 0.03 0.00 0.10 0.00 0.03 99.83 09:09:53 09:01:01 3 0.07 0.00 0.07 0.00 0.02 99.85 09:09:53 09:02:01 all 0.22 0.00 0.21 0.00 0.04 99.53 09:09:53 09:02:01 0 0.52 0.00 0.15 0.00 0.05 99.28 09:09:53 09:02:01 1 0.08 0.00 0.20 0.00 0.03 99.68 09:09:53 09:02:01 2 0.13 0.00 0.30 0.02 0.03 99.52 09:09:53 09:02:01 3 0.15 0.00 0.18 0.00 0.03 99.63 09:09:53 09:03:01 all 0.15 0.00 0.07 0.00 0.02 99.76 09:09:53 09:03:01 0 0.02 0.00 0.08 0.00 0.02 99.88 09:09:53 09:03:01 1 0.42 0.00 0.05 0.00 0.02 99.52 09:09:53 09:03:01 2 0.05 0.00 0.07 0.00 0.03 99.85 09:09:53 09:03:01 3 0.13 0.00 0.07 0.00 0.02 99.78 09:09:53 09:04:01 all 0.08 0.00 0.07 0.00 0.06 99.79 09:09:53 09:04:01 0 0.03 0.00 0.03 0.00 0.07 99.87 09:09:53 09:04:01 1 0.02 0.00 0.05 0.00 0.03 99.90 09:09:53 09:04:01 2 0.10 0.00 0.10 0.00 0.10 99.70 09:09:53 09:04:01 3 0.18 0.00 0.10 0.00 0.03 99.68 09:09:53 09:05:01 all 0.14 0.00 0.07 0.00 0.02 99.77 09:09:53 09:05:01 0 0.02 0.00 0.15 0.00 0.02 99.82 09:09:53 09:05:01 1 0.10 0.00 0.05 0.00 0.02 99.83 09:09:53 09:05:01 2 0.03 0.00 0.03 0.00 0.02 99.92 09:09:53 09:05:01 3 0.42 0.00 0.03 0.00 0.02 99.53 09:09:53 09:06:01 all 0.09 0.00 0.06 0.00 0.01 99.84 09:09:53 09:06:01 0 0.03 0.00 0.10 0.00 0.00 99.87 09:09:53 09:06:01 1 0.05 0.00 0.05 0.00 0.00 99.90 09:09:53 09:06:01 2 0.05 0.00 0.07 0.00 0.02 99.87 09:09:53 09:06:01 3 0.22 0.00 0.03 0.00 0.03 99.72 09:09:53 09:07:02 all 0.13 0.00 0.05 0.00 0.05 99.77 09:09:53 09:07:02 0 0.00 0.00 0.02 0.00 0.02 99.97 09:09:53 09:07:02 1 0.05 0.00 0.07 0.00 0.08 99.80 09:09:53 09:07:02 2 0.03 0.00 0.03 0.00 0.05 99.88 09:09:53 09:07:02 3 0.45 0.00 0.08 0.00 0.03 99.43 09:09:53 09:08:01 all 0.08 0.00 0.05 0.00 0.06 99.81 09:09:53 09:08:01 0 0.00 0.00 0.00 0.00 0.03 99.97 09:09:53 09:08:01 1 0.05 0.00 0.05 0.00 0.07 99.83 09:09:53 09:08:01 2 0.02 0.00 0.03 0.00 0.05 99.90 09:09:53 09:08:01 3 0.27 0.00 0.12 0.00 0.08 99.53 09:09:53 09:09:01 all 0.10 0.00 0.04 0.00 0.03 99.83 09:09:53 09:09:01 0 0.03 0.00 0.05 0.00 0.02 99.90 09:09:53 09:09:01 1 0.03 0.00 0.05 0.00 0.07 99.85 09:09:53 09:09:01 2 0.02 0.00 0.02 0.00 0.02 99.95 09:09:53 09:09:01 3 0.30 0.00 0.05 0.00 0.02 99.63 09:09:53 Average: all 1.63 0.00 0.85 0.49 0.10 96.92 09:09:53 Average: 0 1.75 0.00 0.85 0.69 0.09 96.62 09:09:53 Average: 1 1.68 0.00 0.85 0.54 0.11 96.82 09:09:53 Average: 2 1.56 0.00 0.78 0.47 0.11 97.08 09:09:53 Average: 3 1.54 0.00 0.92 0.26 0.10 97.19 09:09:53 09:09:53 09:09:53