Pull request #661 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at c21ff6277396b81a1001baea71274dd2dd19f737 rather than a1efd3b5f5051e75bcd403a2d3463c22f1729ba5 Obtained Jenkinsfile from c21ff6277396b81a1001baea71274dd2dd19f737 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > 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 Running on prd-centos7-docker-4c-2g-15345 in /w/workspace/dgexfoundry_device-sdk-go_PR-661 [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-661 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/661/head:refs/remotes/origin/PR-661 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit a1efd3b5f5051e75bcd403a2d3463c22f1729ba5 Merge succeeded, producing a1efd3b5f5051e75bcd403a2d3463c22f1729ba5 Checking out Revision a1efd3b5f5051e75bcd403a2d3463c22f1729ba5 (PR-661) > git config core.sparsecheckout # timeout=10 > git checkout -f a1efd3b5f5051e75bcd403a2d3463c22f1729ba5 # 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 c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a1efd3b5f5051e75bcd403a2d3463c22f1729ba5 # timeout=10 Commit message: "feat: add a comment to explain why use buffer for sending event" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk 02761826d13a242f4f05e5d183ea2f44098b7bfd # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:52:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:52:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:52:34 ========================================================= 06:52:34 EdgeX Global Pipelines Version Info 06:52:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:52:35 ------------------- 06:52:35 stable info: 06:52:35 ------------------- 06:52:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:52:35 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 06:52:35 Message: update stable to v1.0.172 06:52:36 ------------------- 06:52:36 experimental info: 06:52:36 ------------------- 06:52:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:52:36 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 06:52:36 Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:52:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:52:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:52:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:52:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:52:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:52:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:52:37 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:52:37 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:52:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:52:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:52:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:52:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:52:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:52:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:52:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:52:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:52:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:52:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:52:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:52:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:52:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:52:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:52:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:52:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:52:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:52:39 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:52:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-661 [Pipeline] echo 06:52:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-661 [Pipeline] echo 06:52:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-661 [Pipeline] echo 06:52:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a1efd3b5f5051e75bcd403a2d3463c22f1729ba5 [Pipeline] echo 06:52:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a1efd3b [Pipeline] echo 06:52:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:52:40 provisioning config files... 06:52:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/config1741745981217471330tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:52:41 ---> docker-login.sh 06:52:41 nexus3.edgexfoundry.org:10001 06:52:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:52:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:52:41 Configure a credential helper to remove this warning. See 06:52:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:52:41 06:52:41 Login Succeeded 06:52:41 nexus3.edgexfoundry.org:10002 06:52:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:52:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:52:41 Configure a credential helper to remove this warning. See 06:52:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:52:41 06:52:41 Login Succeeded 06:52:41 nexus3.edgexfoundry.org:10003 06:52:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:52:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:52:41 Configure a credential helper to remove this warning. See 06:52:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:52:41 06:52:41 Login Succeeded 06:52:41 nexus3.edgexfoundry.org:10004 06:52:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:52:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:52:42 Configure a credential helper to remove this warning. See 06:52:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:52:42 06:52:42 Login Succeeded 06:52:42 docker.io 06:52:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:52:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:52:42 Configure a credential helper to remove this warning. See 06:52:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:52:42 06:52:42 Login Succeeded 06:52:42 ---> docker-login.sh ends [Pipeline] } 06:52:42 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:52:43 + git log --format=format:%s -1 a1efd3b5f5051e75bcd403a2d3463c22f1729ba5 [Pipeline] echo 06:52:43 GIT_COMMIT: a1efd3b5f5051e75bcd403a2d3463c22f1729ba5, Commit Message: feat: add a comment to explain why use buffer for sending event [Pipeline] echo 06:52:43 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:52:44 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:52:44 06:52:44 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:52:45 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:52:45 latest: Pulling from edgex-devops/git-semver 06:52:45 31603596830f: Pulling fs layer 06:52:45 2a8b12db71e7: Pulling fs layer 06:52:45 6ca5941a6612: Pulling fs layer 06:52:45 ecc8261a40a4: Pulling fs layer 06:52:45 2a8b12db71e7: Download complete 06:52:45 31603596830f: Verifying Checksum 06:52:45 31603596830f: Download complete 06:52:45 ecc8261a40a4: Verifying Checksum 06:52:45 ecc8261a40a4: Download complete 06:52:45 6ca5941a6612: Verifying Checksum 06:52:45 6ca5941a6612: Download complete 06:52:45 31603596830f: Pull complete 06:52:45 2a8b12db71e7: Pull complete 06:52:46 6ca5941a6612: Pull complete 06:52:46 ecc8261a40a4: Pull complete 06:52:46 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:52:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:52:47 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:52:47 prd-centos7-docker-4c-2g-15345 does not seem to be running inside a container 06:52:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-661 -v /w/workspace/dgexfoundry_device-sdk-go_PR-661:/w/workspace/dgexfoundry_device-sdk-go_PR-661:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:52:49 $ docker top 3d390e3d0ceedbeaeba0a52e096e56eb1e22602459ab1490f1012a6f697250ad -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:52:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:52:50 [ssh-agent] Looking for ssh-agent implementation... 06:52:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:52:50 $ docker exec 3d390e3d0ceedbeaeba0a52e096e56eb1e22602459ab1490f1012a6f697250ad ssh-agent 06:52:50 SSH_AUTH_SOCK=/tmp/ssh-TPvVbUIzl0yk/agent.11 06:52:50 SSH_AGENT_PID=16 06:52:50 Running ssh-add (command line suppressed) 06:52:50 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_6207055656506882822.key (/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_6207055656506882822.key) 06:52:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:52:51 + git tag --points-at HEAD [Pipeline] } 06:52:51 $ docker exec --env ******** --env ******** 3d390e3d0ceedbeaeba0a52e096e56eb1e22602459ab1490f1012a6f697250ad ssh-agent -k 06:52:51 unset SSH_AUTH_SOCK; 06:52:51 unset SSH_AGENT_PID; 06:52:51 echo Agent pid 16 killed; 06:52:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:52:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:52:51 [ssh-agent] Looking for ssh-agent implementation... 06:52:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:52:51 $ docker exec 3d390e3d0ceedbeaeba0a52e096e56eb1e22602459ab1490f1012a6f697250ad ssh-agent 06:52:51 SSH_AUTH_SOCK=/tmp/ssh-4LWWrzbI7XQR/agent.46 06:52:51 SSH_AGENT_PID=51 06:52:51 Running ssh-add (command line suppressed) 06:52:51 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_3313745771962179672.key (/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_3313745771962179672.key) 06:52:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:52:52 + git semver init 06:52:52 # -> Open(): unable to determine branch for HEAD 06:52:52 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-661/.git 06:52:52 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-661 06:52:52 # $SEMVER_REMOTE_NAME = origin 06:52:52 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:52:52 # $SEMVER_USER_NAME = edgex-jenkins 06:52:52 # $SEMVER_BRANCH = PR-661 06:52:52 # $SEMVER_TEMP = /tmp/semver-062905403 06:52:52 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:52:53 # '/tmp/semver-062905403' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-661/.semver' 06:52:53 # -> Force: false 06:52:53 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-661/.semver [Pipeline] } 06:52:53 $ docker exec --env ******** --env ******** 3d390e3d0ceedbeaeba0a52e096e56eb1e22602459ab1490f1012a6f697250ad ssh-agent -k 06:52:53 unset SSH_AUTH_SOCK; 06:52:53 unset SSH_AGENT_PID; 06:52:53 echo Agent pid 51 killed; 06:52:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:52:53 + git semver [Pipeline] } 06:52:53 $ docker stop --time=1 3d390e3d0ceedbeaeba0a52e096e56eb1e22602459ab1490f1012a6f697250ad 06:52:55 $ docker rm -f 3d390e3d0ceedbeaeba0a52e096e56eb1e22602459ab1490f1012a6f697250ad [Pipeline] // withDockerContainer [Pipeline] sh 06:52:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:52:56 Stashed 1 file(s) [Pipeline] echo 06:52:56 [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 06:53:12 Still waiting to schedule task 06:53:12 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-15345’ 06:53:12 Still waiting to schedule task 06:53:12 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 06:55:02 Running on prd-ubuntu18.04-docker-arm64-4c-16g-15346 in /w/workspace/dgexfoundry_device-sdk-go_PR-661 [Pipeline] { [Pipeline] ws 06:55:02 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 06:55:07 using credential edgex-jenkins-ssh 06:55:08 Cloning the remote Git repository 06:55:08 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:55:08 > git init /w/workspace/device-sdk-go/7 # timeout=10 06:55:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:55:08 > git --version # timeout=10 06:55:08 > git --version # 'git version 2.17.1' 06:55:08 using GIT_SSH to set credentials SSH Credentials for GitHub 06:55:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:55:10 Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit a1efd3b5f5051e75bcd403a2d3463c22f1729ba5 06:55:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:55:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:55:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:55:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:55:09 using GIT_SSH to set credentials SSH Credentials for GitHub 06:55:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/661/head:refs/remotes/origin/PR-661 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:55:10 > git config core.sparsecheckout # timeout=10 06:55:10 > git checkout -f a1efd3b5f5051e75bcd403a2d3463c22f1729ba5 # timeout=10 06:55:10 Merge succeeded, producing a1efd3b5f5051e75bcd403a2d3463c22f1729ba5 06:55:10 Checking out Revision a1efd3b5f5051e75bcd403a2d3463c22f1729ba5 (PR-661) 06:55:10 > git remote # timeout=10 06:55:10 > git config --get remote.origin.url # timeout=10 06:55:10 using GIT_SSH to set credentials SSH Credentials for GitHub 06:55:10 > git merge c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 06:55:10 > git rev-parse HEAD^{commit} # timeout=10 06:55:10 > git config core.sparsecheckout # timeout=10 06:55:10 > git checkout -f a1efd3b5f5051e75bcd403a2d3463c22f1729ba5 # timeout=10 06:55:14 Commit message: "feat: add a comment to explain why use buffer for sending event" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:55:16 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:55:16 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:55:17 + sudo service docker restart 06:55:17 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:55:20 provisioning config files... 06:55:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config1389845876744352611tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:55:20 ---> docker-login.sh 06:55:20 nexus3.edgexfoundry.org:10001 06:55:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:55:21 Configure a credential helper to remove this warning. See 06:55:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:55:21 06:55:21 Login Succeeded 06:55:21 nexus3.edgexfoundry.org:10002 06:55:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:55:22 Configure a credential helper to remove this warning. See 06:55:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:55:22 06:55:22 Login Succeeded 06:55:22 nexus3.edgexfoundry.org:10003 06:55:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:55:22 Configure a credential helper to remove this warning. See 06:55:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:55:22 06:55:22 Login Succeeded 06:55:22 nexus3.edgexfoundry.org:10004 06:55:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:55:23 Configure a credential helper to remove this warning. See 06:55:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:55:23 06:55:23 Login Succeeded 06:55:23 docker.io 06:55:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:55:23 Configure a credential helper to remove this warning. See 06:55:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:55:23 06:55:23 Login Succeeded 06:55:23 ---> docker-login.sh ends [Pipeline] } 06:55:23 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:55:24 ========================================================= 06:55:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:55:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:55:24 + 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 . 06:55:25 Sending build context to Docker daemon 2.4MB 06:55:25 Step 1/8 : ARG BASE=golang:1.15-alpine 06:55:25 Step 2/8 : FROM ${BASE} 06:55:25 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:55:25 5f621e34cdf4: Pulling fs layer 06:55:25 a4357932f1b6: Pulling fs layer 06:55:25 18c013af1878: Pulling fs layer 06:55:25 00ac8860ef70: Pulling fs layer 06:55:25 63d7cb157983: Pulling fs layer 06:55:25 b116817d02f9: Pulling fs layer 06:55:25 745a02a5169b: Pulling fs layer 06:55:25 00ac8860ef70: Waiting 06:55:25 63d7cb157983: Waiting 06:55:25 b116817d02f9: Waiting 06:55:25 745a02a5169b: Waiting 06:55:25 18c013af1878: Download complete 06:55:25 a4357932f1b6: Download complete 06:55:25 63d7cb157983: Verifying Checksum 06:55:25 63d7cb157983: Download complete 06:55:25 5f621e34cdf4: Download complete 06:55:25 b116817d02f9: Verifying Checksum 06:55:25 b116817d02f9: Download complete 06:55:25 5f621e34cdf4: Pull complete 06:55:26 a4357932f1b6: Pull complete 06:55:26 18c013af1878: Pull complete 06:55:28 745a02a5169b: Verifying Checksum 06:55:28 745a02a5169b: Download complete 06:55:29 00ac8860ef70: Verifying Checksum 06:55:29 00ac8860ef70: Download complete 06:55:39 00ac8860ef70: Pull complete 06:55:39 63d7cb157983: Pull complete 06:55:39 b116817d02f9: Pull complete 06:55:41 Running on prd-centos7-docker-4c-2g-15347 in /w/workspace/dgexfoundry_device-sdk-go_PR-661 [Pipeline] { [Pipeline] ws 06:55:41 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 06:55:43 using credential edgex-jenkins-ssh 06:55:44 Cloning the remote Git repository 06:55:44 745a02a5169b: Pull complete 06:55:44 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:55:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:55:44 ---> b7e6874047d6 06:55:44 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:55:43 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:55:43 > git init /w/workspace/device-sdk-go/7 # timeout=10 06:55:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:55:43 > git --version # timeout=10 06:55:43 > git --version # 'git version 2.24.3' 06:55:43 using GIT_SSH to set credentials SSH Credentials for GitHub 06:55:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:55:45 Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit a1efd3b5f5051e75bcd403a2d3463c22f1729ba5 06:55:45 Merge succeeded, producing a1efd3b5f5051e75bcd403a2d3463c22f1729ba5 06:55:45 Checking out Revision a1efd3b5f5051e75bcd403a2d3463c22f1729ba5 (PR-661) 06:55:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:55:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:55:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:55:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:55:44 using GIT_SSH to set credentials SSH Credentials for GitHub 06:55:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/661/head:refs/remotes/origin/PR-661 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:55:45 > git config core.sparsecheckout # timeout=10 06:55:45 > git checkout -f a1efd3b5f5051e75bcd403a2d3463c22f1729ba5 # timeout=10 06:55:45 > git remote # timeout=10 06:55:45 > git config --get remote.origin.url # timeout=10 06:55:45 using GIT_SSH to set credentials SSH Credentials for GitHub 06:55:45 > git merge c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 06:55:45 > git rev-parse HEAD^{commit} # timeout=10 06:55:45 > git config core.sparsecheckout # timeout=10 06:55:45 > git checkout -f a1efd3b5f5051e75bcd403a2d3463c22f1729ba5 # timeout=10 06:55:47 ---> Running in 2a8731ba3555 06:55:47 Removing intermediate container 2a8731ba3555 06:55:47 ---> 9af7ed9f3b8b 06:55:47 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:55:47 ---> Running in d0a84bbb32b3 06:55:49 Removing intermediate container d0a84bbb32b3 06:55:49 ---> a82d224c3f97 06:55:49 Step 5/8 : RUN apk add --no-cache make git 06:55:49 ---> Running in 188f3a1feb2f 06:55:50 Commit message: "feat: add a comment to explain why use buffer for sending event" 06:55:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:55:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:55:51 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:55:51 OK: 142 MiB in 39 packages 06:55:52 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:55:52 + true 06:55:52 + sudo service docker restart 06:55:52 Redirecting to /bin/systemctl restart docker.service 06:55:53 Removing intermediate container 188f3a1feb2f 06:55:53 ---> 74d5ffdf04e9 06:55:53 Step 6/8 : WORKDIR /device-sdk-go 06:55:53 ---> Running in f6fe562f9a09 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:55:53 provisioning config files... 06:55:53 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config500991227887425017tmp [Pipeline] { 06:55:53 Removing intermediate container f6fe562f9a09 06:55:53 ---> da521c3d28b4 06:55:53 Step 7/8 : COPY . . [Pipeline] libraryResource [Pipeline] sh 06:55:53 ---> docker-login.sh 06:55:53 nexus3.edgexfoundry.org:10001 06:55:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:55:54 Configure a credential helper to remove this warning. See 06:55:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:55:54 06:55:54 Login Succeeded 06:55:54 nexus3.edgexfoundry.org:10002 06:55:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:55:54 Configure a credential helper to remove this warning. See 06:55:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:55:54 06:55:54 Login Succeeded 06:55:54 nexus3.edgexfoundry.org:10003 06:55:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:55:54 Configure a credential helper to remove this warning. See 06:55:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:55:54 06:55:54 Login Succeeded 06:55:54 nexus3.edgexfoundry.org:10004 06:55:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:55:54 Configure a credential helper to remove this warning. See 06:55:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:55:54 06:55:54 Login Succeeded 06:55:54 docker.io 06:55:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:55 ---> 5a476a899429 06:55:55 Step 8/8 : RUN go mod download 06:55:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:55:55 Configure a credential helper to remove this warning. See 06:55:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:55:55 06:55:55 Login Succeeded 06:55:55 ---> docker-login.sh ends [Pipeline] } 06:55:55 Deleting 1 temporary files [Pipeline] // wrap 06:55:55 ---> Running in be48cf8fc6fe [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:55:55 ========================================================= 06:55:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:55:55 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:55:55 + 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 . 06:55:56 Sending build context to Docker daemon 2.401MB 06:55:56 Step 1/8 : ARG BASE=golang:1.15-alpine 06:55:56 Step 2/8 : FROM ${BASE} 06:55:56 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:55:56 188c0c94c7c5: Pulling fs layer 06:55:56 0ef7d3d256c8: Pulling fs layer 06:55:56 de9db76c5a1d: Pulling fs layer 06:55:56 bca2f99d35d6: Pulling fs layer 06:55:56 93359f2a8cfa: Pulling fs layer 06:55:56 7c6f9722023f: Pulling fs layer 06:55:56 a35cf1a2eb13: Pulling fs layer 06:55:56 93359f2a8cfa: Waiting 06:55:56 bca2f99d35d6: Waiting 06:55:56 7c6f9722023f: Waiting 06:55:56 a35cf1a2eb13: Waiting 06:55:56 de9db76c5a1d: Download complete 06:55:56 0ef7d3d256c8: Verifying Checksum 06:55:56 0ef7d3d256c8: Download complete 06:55:56 93359f2a8cfa: Verifying Checksum 06:55:56 93359f2a8cfa: Download complete 06:55:56 188c0c94c7c5: Verifying Checksum 06:55:56 188c0c94c7c5: Download complete 06:55:56 7c6f9722023f: Verifying Checksum 06:55:56 7c6f9722023f: Download complete 06:55:56 188c0c94c7c5: Pull complete 06:55:56 0ef7d3d256c8: Pull complete 06:55:56 de9db76c5a1d: Pull complete 06:55:58 a35cf1a2eb13: Verifying Checksum 06:55:58 a35cf1a2eb13: Download complete 06:55:59 bca2f99d35d6: Verifying Checksum 06:55:59 bca2f99d35d6: Download complete 06:56:04 bca2f99d35d6: Pull complete 06:56:04 93359f2a8cfa: Pull complete 06:56:04 7c6f9722023f: Pull complete 06:56:11 a35cf1a2eb13: Pull complete 06:56:11 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:56:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:56:11 ---> a62c8e92a672 06:56:11 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:56:12 ---> Running in 3d20baae2c0e 06:56:12 Removing intermediate container 3d20baae2c0e 06:56:12 ---> 5e6073016bab 06:56:12 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:56:12 ---> Running in 12ea80d3cbce 06:56:13 Removing intermediate container 12ea80d3cbce 06:56:13 ---> 020d6ecb1f4e 06:56:13 Step 5/8 : RUN apk add --no-cache make git 06:56:13 ---> Running in 4b5d8ff69e83 06:56:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:56:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:56:15 OK: 166 MiB in 39 packages 06:56:15 Removing intermediate container 4b5d8ff69e83 06:56:15 ---> e982adca38b7 06:56:15 Step 6/8 : WORKDIR /device-sdk-go 06:56:15 ---> Running in 68af573430cf 06:56:15 Removing intermediate container 68af573430cf 06:56:15 ---> 1c2a6546f8e2 06:56:15 Step 7/8 : COPY . . 06:56:16 ---> a4e60617574a 06:56:16 Step 8/8 : RUN go mod download 06:56:16 ---> Running in d2093d84cca5 06:56:17 Removing intermediate container be48cf8fc6fe 06:56:17 ---> 06dbe2b9746f 06:56:17 Successfully built 06dbe2b9746f 06:56:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:56:17 + docker inspect -f . ci-base-image-arm64 06:56:17 . [Pipeline] withDockerContainer 06:56:18 prd-ubuntu18.04-docker-arm64-4c-16g-15346 does not seem to be running inside a container 06:56:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:56:19 $ docker top 069b2c99ede243ece9320e3e12976e85afe1e5d9c14c772a43efb707939a33d4 -eo pid,comm [Pipeline] { [Pipeline] sh 06:56:20 + go version 06:56:20 go version go1.15.5 linux/arm64 [Pipeline] } 06:56:20 $ docker stop --time=1 069b2c99ede243ece9320e3e12976e85afe1e5d9c14c772a43efb707939a33d4 06:56:22 $ docker rm -f 069b2c99ede243ece9320e3e12976e85afe1e5d9c14c772a43efb707939a33d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:56:23 + docker inspect -f . ci-base-image-arm64 06:56:23 . [Pipeline] withDockerContainer 06:56:24 prd-ubuntu18.04-docker-arm64-4c-16g-15346 does not seem to be running inside a container 06:56:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:56:25 $ docker top 7461e274f4b9a3ecae792bea1c73f7551c4119083a4606e9f5cd1cb4303e1047 -eo pid,comm [Pipeline] { [Pipeline] sh 06:56:26 + make test 06:56:26 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:56:35 Removing intermediate container d2093d84cca5 06:56:35 ---> d98182118bf5 06:56:35 Successfully built d98182118bf5 06:56:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:56:35 + docker inspect -f . ci-base-image-x86_64 06:56:35 . [Pipeline] withDockerContainer 06:56:35 prd-centos7-docker-4c-2g-15347 does not seem to be running inside a container 06:56:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:56:36 $ docker top e3a3473462185888e179a38940727e3681f529f15f23a7519fe24db4cf207933 -eo pid,comm [Pipeline] { [Pipeline] sh 06:56:36 + go version 06:56:36 go version go1.15.5 linux/amd64 [Pipeline] } 06:56:37 $ docker stop --time=1 e3a3473462185888e179a38940727e3681f529f15f23a7519fe24db4cf207933 06:56:38 $ docker rm -f e3a3473462185888e179a38940727e3681f529f15f23a7519fe24db4cf207933 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:56:39 + docker inspect -f . ci-base-image-x86_64 06:56:39 . [Pipeline] withDockerContainer 06:56:39 prd-centos7-docker-4c-2g-15347 does not seem to be running inside a container 06:56:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:56:40 $ docker top ba76a75e0ce0044256ca963a600dd0b78235a2067a1dd329e1885edd01cb6631 -eo pid,comm [Pipeline] { [Pipeline] sh 06:56:40 + make test 06:56:40 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:56:48 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:56:48 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:57:03 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:57:03 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:57:03 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:57:03 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.071s coverage: 20.0% of statements 06:57:04 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.460s coverage: 97.1% of statements 06:57:27 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:57:27 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:57:27 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:57:27 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.123s coverage: 20.0% of statements 06:57:32 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.176s coverage: 97.1% of statements 06:57:36 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.064s coverage: 9.4% of statements 06:57:36 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.057s coverage: 21.9% of statements 06:57:36 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:57:36 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.213s coverage: 42.5% of statements 06:57:36 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:57:36 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.297s coverage: 68.9% of statements 06:57:36 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:57:36 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:57:36 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:57:36 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:57:36 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.080s coverage: 52.6% of statements 06:57:36 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 06:57:36 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 06:57:36 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:57:36 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.369s coverage: 68.9% of statements 06:57:36 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.060s coverage: 4.7% of statements 06:57:36 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:57:36 GO111MODULE=on go vet ./... 06:57:43 gofmt -l . 06:57:43 [ "`gofmt -l .`" = "" ] 06:57:43 ./bin/test-attribution-txt.sh 06:57:43 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:57:44 $ docker stop --time=1 ba76a75e0ce0044256ca963a600dd0b78235a2067a1dd329e1885edd01cb6631 06:57:46 $ docker rm -f ba76a75e0ce0044256ca963a600dd0b78235a2067a1dd329e1885edd01cb6631 [Pipeline] // withDockerContainer [Pipeline] sh 06:57:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:57:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:57:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:57:50 + ls -al . 06:57:50 total 208 06:57:50 drwxrwxr-x. 10 jenkins jenkins 4096 Dec 10 06:57 . 06:57:50 drwxrwxr-x. 4 jenkins jenkins 28 Dec 10 06:55 .. 06:57:50 drwxrwxr-x. 2 jenkins jenkins 64 Dec 10 06:55 bin 06:57:50 -rw-r--r--. 1 jenkins jenkins 127698 Dec 10 06:57 coverage.out 06:57:50 -rw-rw-r--. 1 jenkins jenkins 936 Dec 10 06:55 Dockerfile.build 06:57:50 -rw-rw-r--. 1 jenkins jenkins 140 Dec 10 06:55 .dockerignore 06:57:50 drwxrwxr-x. 4 jenkins jenkins 48 Dec 10 06:55 example 06:57:50 drwxrwxr-x. 8 jenkins jenkins 179 Dec 10 06:55 .git 06:57:50 drwxrwxr-x. 2 jenkins jenkins 103 Dec 10 06:55 .github 06:57:50 -rw-rw-r--. 1 jenkins jenkins 138 Dec 10 06:55 .gitignore 06:57:50 -rw-r--r--. 1 jenkins jenkins 518 Dec 10 06:57 go.mod 06:57:50 -rw-r--r--. 1 jenkins jenkins 13631 Dec 10 06:57 go.sum 06:57:50 drwxrwxr-x. 15 jenkins jenkins 211 Dec 10 06:55 internal 06:57:50 -rw-rw-r--. 1 jenkins jenkins 901 Dec 10 06:55 Jenkinsfile 06:57:50 -rw-rw-r--. 1 jenkins jenkins 11341 Dec 10 06:55 LICENSE 06:57:50 -rw-rw-r--. 1 jenkins jenkins 1013 Dec 10 06:55 Makefile 06:57:50 drwxrwxr-x. 4 jenkins jenkins 26 Dec 10 06:55 openapi 06:57:50 drwxrwxr-x. 5 jenkins jenkins 50 Dec 10 06:55 pkg 06:57:50 -rw-rw-r--. 1 jenkins jenkins 5897 Dec 10 06:55 README.md 06:57:50 -rw-rw-r--. 1 jenkins jenkins 4291 Dec 10 06:55 RELEASE-NOTES.txt 06:57:50 drwxrwxr-x. 4 jenkins jenkins 54 Dec 10 06:55 snap 06:57:50 -rw-rw-r--. 1 jenkins jenkins 5 Dec 10 06:52 VERSION 06:57:50 -rw-rw-r--. 1 jenkins jenkins 222 Dec 10 06:55 version.go [Pipeline] isUnix [Pipeline] sh 06:57:50 + 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=a1efd3b5f5051e75bcd403a2d3463c22f1729ba5 --label arch=amd64 --label version=0.0.0 . 06:57:50 Sending build context to Docker daemon 2.529MB 06:57:50 Step 1/24 : ARG BASE=golang:1.15-alpine 06:57:50 Step 2/24 : FROM ${BASE} AS builder 06:57:50 ---> d98182118bf5 06:57:50 Step 3/24 : ARG MAKE='make build' 06:57:51 ---> Running in e2e12605941e 06:57:51 Removing intermediate container e2e12605941e 06:57:51 ---> a5cef860dd1d 06:57:51 Step 4/24 : WORKDIR /device-sdk-go 06:57:51 ---> Running in 021b3ff431bc 06:57:51 Removing intermediate container 021b3ff431bc 06:57:51 ---> 6cd04d386fd6 06:57:51 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:57:51 ---> Running in 7e9764cf7605 06:57:52 Removing intermediate container 7e9764cf7605 06:57:52 ---> 284b0d2634bc 06:57:52 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:57:52 ---> Running in 9f2cc1ebbeec 06:57:53 Removing intermediate container 9f2cc1ebbeec 06:57:53 ---> 3dabbce3d2d6 06:57:53 Step 7/24 : RUN apk add --update --no-cache make git 06:57:53 ---> Running in f04b6a9061fb 06:57:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:57:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:57:54 OK: 166 MiB in 39 packages 06:57:55 Removing intermediate container f04b6a9061fb 06:57:55 ---> b3ce0ab4c39e 06:57:55 Step 8/24 : COPY . . 06:57:56 ---> f1c80a4336a9 06:57:56 Step 9/24 : RUN ${MAKE} 06:57:56 ---> Running in 1800f39688a6 06:57:56 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 06:58:04 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.151s coverage: 9.4% of statements 06:58:04 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.128s coverage: 21.9% of statements 06:58:04 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:58:04 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.566s coverage: 42.5% of statements 06:58:04 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:58:04 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.773s coverage: 68.9% of statements 06:58:04 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:58:04 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:58:04 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:58:04 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:58:04 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.188s coverage: 52.6% of statements 06:58:04 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 06:58:04 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 06:58:04 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:58:04 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.963s coverage: 68.9% of statements 06:58:04 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.133s coverage: 4.7% of statements 06:58:04 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:58:04 GO111MODULE=on go vet ./... 06:58:04 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:58:07 Removing intermediate container 1800f39688a6 06:58:07 ---> a4860a54f118 06:58:07 Step 10/24 : FROM scratch 06:58:07 ---> 06:58:07 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:58:07 ---> Running in 29db56121a90 06:58:07 Removing intermediate container 29db56121a90 06:58:07 ---> 86045d40e2a1 06:58:07 Step 12/24 : ENV APP_PORT=49990 06:58:07 ---> Running in 38a6f849c679 06:58:07 Removing intermediate container 38a6f849c679 06:58:07 ---> efab17a83620 06:58:07 Step 13/24 : EXPOSE $APP_PORT 06:58:07 ---> Running in d290c2a98d37 06:58:07 Removing intermediate container d290c2a98d37 06:58:07 ---> 3b97e93e7d54 06:58:07 Step 14/24 : WORKDIR / 06:58:07 ---> Running in 1f48b66e0ce2 06:58:07 Removing intermediate container 1f48b66e0ce2 06:58:07 ---> 359254206f50 06:58:07 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:58:08 ---> d21a4e8ed290 06:58:08 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:58:08 ---> 1e7f3676d114 06:58:08 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:58:08 ---> 7c33b69af339 06:58:08 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:58:09 ---> fc8db4a4aa73 06:58:09 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:58:09 ---> 3f7dd7fdfe91 06:58:09 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:58:09 ---> Running in 4d076a1c85a4 06:58:09 Removing intermediate container 4d076a1c85a4 06:58:09 ---> 1899a505f388 06:58:09 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:58:09 ---> Running in b06cd62e56b6 06:58:09 Removing intermediate container b06cd62e56b6 06:58:09 ---> e05e0df03158 06:58:09 Step 22/24 : LABEL arch=amd64 06:58:09 ---> Running in 7f06f7301fea 06:58:09 Removing intermediate container 7f06f7301fea 06:58:09 ---> a091fcd180f4 06:58:09 Step 23/24 : LABEL git_sha=a1efd3b5f5051e75bcd403a2d3463c22f1729ba5 06:58:09 ---> Running in fba53455a747 06:58:10 Removing intermediate container fba53455a747 06:58:10 ---> 8bc8f5e25195 06:58:10 Step 24/24 : LABEL version=0.0.0 06:58:10 ---> Running in 744af86a9edb 06:58:10 Removing intermediate container 744af86a9edb 06:58:10 ---> 355e5a311e38 06:58:10 [Warning] One or more build-args [ARCH] were not consumed 06:58:10 Successfully built 355e5a311e38 06:58:10 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] } 06:58:31 gofmt -l . 06:58:31 [ "`gofmt -l .`" = "" ] 06:58:31 ./bin/test-attribution-txt.sh 06:58:31 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:58:32 $ docker stop --time=1 7461e274f4b9a3ecae792bea1c73f7551c4119083a4606e9f5cd1cb4303e1047 06:58:34 $ docker rm -f 7461e274f4b9a3ecae792bea1c73f7551c4119083a4606e9f5cd1cb4303e1047 [Pipeline] // withDockerContainer [Pipeline] sh 06:58:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:58:35 Warning: overwriting stash ‘coverage-report’ 06:58:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:58:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:58:37 + ls -al . 06:58:37 total 244 06:58:37 drwxrwxr-x 10 jenkins jenkins 4096 Dec 10 06:58 . 06:58:37 drwxrwxr-x 4 jenkins jenkins 4096 Dec 10 06:55 .. 06:58:37 -rw-rw-r-- 1 jenkins jenkins 140 Dec 10 06:55 .dockerignore 06:58:37 drwxrwxr-x 8 jenkins jenkins 4096 Dec 10 06:55 .git 06:58:37 drwxrwxr-x 2 jenkins jenkins 4096 Dec 10 06:55 .github 06:58:37 -rw-rw-r-- 1 jenkins jenkins 138 Dec 10 06:55 .gitignore 06:58:37 -rw-rw-r-- 1 jenkins jenkins 936 Dec 10 06:55 Dockerfile.build 06:58:37 -rw-rw-r-- 1 jenkins jenkins 901 Dec 10 06:55 Jenkinsfile 06:58:37 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 10 06:55 LICENSE 06:58:37 -rw-rw-r-- 1 jenkins jenkins 1013 Dec 10 06:55 Makefile 06:58:37 -rw-rw-r-- 1 jenkins jenkins 5897 Dec 10 06:55 README.md 06:58:37 -rw-rw-r-- 1 jenkins jenkins 4291 Dec 10 06:55 RELEASE-NOTES.txt 06:58:37 -rw-rw-r-- 1 jenkins jenkins 5 Dec 10 06:52 VERSION 06:58:37 drwxrwxr-x 2 jenkins jenkins 4096 Dec 10 06:55 bin 06:58:37 -rw-r--r-- 1 jenkins jenkins 127698 Dec 10 06:57 coverage.out 06:58:37 drwxrwxr-x 4 jenkins jenkins 4096 Dec 10 06:55 example 06:58:37 -rw-r--r-- 1 jenkins jenkins 518 Dec 10 06:58 go.mod 06:58:37 -rw-r--r-- 1 jenkins jenkins 13631 Dec 10 06:58 go.sum 06:58:37 drwxrwxr-x 15 jenkins jenkins 4096 Dec 10 06:55 internal 06:58:37 drwxrwxr-x 4 jenkins jenkins 4096 Dec 10 06:55 openapi 06:58:37 drwxrwxr-x 5 jenkins jenkins 4096 Dec 10 06:55 pkg 06:58:37 drwxrwxr-x 4 jenkins jenkins 4096 Dec 10 06:55 snap 06:58:37 -rw-rw-r-- 1 jenkins jenkins 222 Dec 10 06:55 version.go [Pipeline] isUnix [Pipeline] sh 06:58:38 + 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=a1efd3b5f5051e75bcd403a2d3463c22f1729ba5 --label arch=arm64 --label version=0.0.0 . 06:58:38 Sending build context to Docker daemon 2.528MB 06:58:38 Step 1/24 : ARG BASE=golang:1.15-alpine 06:58:38 Step 2/24 : FROM ${BASE} AS builder 06:58:38 ---> 06dbe2b9746f 06:58:38 Step 3/24 : ARG MAKE='make build' 06:58:39 ---> Running in 5955b85f1ae0 06:58:39 Removing intermediate container 5955b85f1ae0 06:58:39 ---> 04a380fcbf2b 06:58:39 Step 4/24 : WORKDIR /device-sdk-go 06:58:39 ---> Running in 534adde0b501 06:58:40 Removing intermediate container 534adde0b501 06:58:40 ---> efd9cf69c54c 06:58:40 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:58:40 ---> Running in b791fe42d2bf 06:58:40 Removing intermediate container b791fe42d2bf 06:58:40 ---> c07dbc812cad 06:58:40 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:58:40 ---> Running in fbba33729270 06:58:42 Removing intermediate container fbba33729270 06:58:42 ---> 93253f378373 06:58:42 Step 7/24 : RUN apk add --update --no-cache make git 06:58:43 ---> Running in fa2bae12006e 06:58:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:58:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:58:45 OK: 142 MiB in 39 packages 06:58:46 Removing intermediate container fa2bae12006e 06:58:46 ---> d0cc0aa65776 06:58:46 Step 8/24 : COPY . . 06:58:47 ---> 75c9f1fb25d1 06:58:47 Step 9/24 : RUN ${MAKE} 06:58:47 ---> Running in 0bcb427e28be 06:58:48 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 06:59:15 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:59:15 Removing intermediate container 0bcb427e28be 06:59:15 ---> 50fa7c6df34f 06:59:15 Step 10/24 : FROM scratch 06:59:15 ---> 06:59:15 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:59:15 ---> Running in 771e1682a774 06:59:16 Removing intermediate container 771e1682a774 06:59:16 ---> f8cf65fd9a30 06:59:16 Step 12/24 : ENV APP_PORT=49990 06:59:16 ---> Running in 3ac57d69e3fa 06:59:16 Removing intermediate container 3ac57d69e3fa 06:59:16 ---> 7518cd3bfa58 06:59:16 Step 13/24 : EXPOSE $APP_PORT 06:59:16 ---> Running in df00a0c67029 06:59:17 Removing intermediate container df00a0c67029 06:59:17 ---> 370b78bb1a2d 06:59:17 Step 14/24 : WORKDIR / 06:59:17 ---> Running in 4828b37df09d 06:59:17 Removing intermediate container 4828b37df09d 06:59:17 ---> f29eb81b7f62 06:59:17 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:59:18 ---> c58dc17ef813 06:59:18 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:59:19 ---> 1eddfa5948fd 06:59:19 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:59:20 ---> e59d216260d2 06:59:20 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:59:20 ---> afd54d19b15e 06:59:20 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:59:21 ---> 1bc0d6e9c3de 06:59:21 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:59:21 ---> Running in c07ad5c99bd0 06:59:22 Removing intermediate container c07ad5c99bd0 06:59:22 ---> 5f7bcd36e02e 06:59:22 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:59:22 ---> Running in e93dc7a727c6 06:59:22 Removing intermediate container e93dc7a727c6 06:59:22 ---> 1498c029e5cc 06:59:22 Step 22/24 : LABEL arch=arm64 06:59:22 ---> Running in d9cbeb35e401 06:59:23 Removing intermediate container d9cbeb35e401 06:59:23 ---> 6768e08dc3b4 06:59:23 Step 23/24 : LABEL git_sha=a1efd3b5f5051e75bcd403a2d3463c22f1729ba5 06:59:23 ---> Running in fff87d2546fd 06:59:23 Removing intermediate container fff87d2546fd 06:59:23 ---> 525d3e342a46 06:59:23 Step 24/24 : LABEL version=0.0.0 06:59:23 ---> Running in 77678e91b558 06:59:24 Removing intermediate container 77678e91b558 06:59:24 ---> 42299f375b98 06:59:24 [Warning] One or more build-args [ARCH] were not consumed 06:59:24 Successfully built 42299f375b98 06:59:24 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 06:59:26 provisioning config files... 06:59:26 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/config4007448882589388475tmp [Pipeline] { [Pipeline] sh 06:59:26 + set +x 06:59:26 + curl -s https://codecov.io/bash 06:59:26 + bash -s -- 06:59:26 06:59:26 _____ _ 06:59:26 / ____| | | 06:59:26 | | ___ __| | ___ ___ _____ __ 06:59:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:59:26 | |___| (_) | (_| | __/ (_| (_) \ V / 06:59:26 \_____\___/ \__,_|\___|\___\___/ \_/ 06:59:26 Bash-20201130-cc6d3fe 06:59:26 06:59:26 06:59:26 ==> Jenkins CI detected. 06:59:26 project root: . 06:59:26 --> token set from env 06:59:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:59:26 ==> Running gcov in . (disable via -X gcov) 06:59:26 ==> Python coveragepy not found 06:59:26 ==> Searching for coverage reports in: 06:59:26 + . 06:59:26 -> Found 1 reports 06:59:26 ==> Detecting git/mercurial file structure 06:59:26 ==> Reading reports 06:59:26 + ./coverage.out bytes=127698 06:59:26 ==> Appending adjustments 06:59:26 https://docs.codecov.io/docs/fixing-reports 06:59:27 + Found adjustments 06:59:27 ==> Gzipping contents 06:59:27 24K /tmp/codecov.GNq6Fe.gz 06:59:27 ==> Uploading reports 06:59:27 url: https://codecov.io 06:59:27 query: branch=PR-661&commit=a1efd3b5f5051e75bcd403a2d3463c22f1729ba5&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-661%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=661&job=&cmd_args= 06:59:27 -> Pinging Codecov 06:59:27 https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-661&commit=a1efd3b5f5051e75bcd403a2d3463c22f1729ba5&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-661%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=661&job=&cmd_args= 06:59:28 -> Uploading to 06:59:28 https://storage.googleapis.com/codecov/v4/raw/2020-12-10/7E55EF52A471D76F132DFD9A03CDDE97/a1efd3b5f5051e75bcd403a2d3463c22f1729ba5/d4c4fbd3-7656-49c4-af2e-755a1b30ab82.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201210%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201210T065927Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5af33e07534d60712c87ca4880e74c5ca247f3d6417addda7878fb3542d95a8c 06:59:28 % Total % Received % Xferd Average Speed Time Time Time Current 06:59:28 Dload Upload Total Spent Left Speed 06:59:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20861 0 0 100 20861 0 41258 --:--:-- --:--:-- --:--:-- 41227 06:59:28 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a1efd3b5f5051e75bcd403a2d3463c22f1729ba5 [Pipeline] } 06:59:28 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 06:59:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:59:32 ---> package-listing.sh 06:59:32 ++ facter osfamily 06:59:32 ++ tr '[:upper:]' '[:lower:]' 06:59:32 + OS_FAMILY=redhat 06:59:32 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-661 06:59:32 + START_PACKAGES=/tmp/packages_start.txt 06:59:32 + END_PACKAGES=/tmp/packages_end.txt 06:59:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:59:32 + PACKAGES=/tmp/packages_start.txt 06:59:32 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-661 ']' 06:59:32 + PACKAGES=/tmp/packages_end.txt 06:59:32 + case "${OS_FAMILY}" in 06:59:32 + rpm -qa 06:59:32 + sort 06:59:37 + '[' -f /tmp/packages_start.txt ']' 06:59:37 + '[' -f /tmp/packages_end.txt ']' 06:59:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:59:37 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-661 ']' 06:59:37 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-661/archives/ 06:59:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-661/archives/ [Pipeline] echo 06:59:37 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-661/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:59:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:59:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:59:38 06:59:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:59:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:59:38 alpine: Pulling from edgex-lftools-log-publisher 06:59:38 df20fa9351a1: Pulling fs layer 06:59:38 36b3adc4ff6f: Pulling fs layer 06:59:38 8ad3a11d3b57: Pulling fs layer 06:59:38 46f8f816bc3b: Pulling fs layer 06:59:38 93b61091891f: Pulling fs layer 06:59:38 93b9cdb0e59b: Pulling fs layer 06:59:38 5e14af77c1be: Pulling fs layer 06:59:38 01666e4c0597: Pulling fs layer 06:59:38 aa168da1d23b: Pulling fs layer 06:59:38 46f8f816bc3b: Waiting 06:59:38 93b61091891f: Waiting 06:59:38 93b9cdb0e59b: Waiting 06:59:38 5e14af77c1be: Waiting 06:59:38 01666e4c0597: Waiting 06:59:38 aa168da1d23b: Waiting 06:59:38 36b3adc4ff6f: Verifying Checksum 06:59:38 36b3adc4ff6f: Download complete 06:59:39 46f8f816bc3b: Verifying Checksum 06:59:39 46f8f816bc3b: Download complete 06:59:39 df20fa9351a1: Verifying Checksum 06:59:39 df20fa9351a1: Download complete 06:59:39 93b9cdb0e59b: Verifying Checksum 06:59:39 93b9cdb0e59b: Download complete 06:59:39 93b61091891f: Verifying Checksum 06:59:39 93b61091891f: Download complete 06:59:39 5e14af77c1be: Verifying Checksum 06:59:39 5e14af77c1be: Download complete 06:59:39 01666e4c0597: Verifying Checksum 06:59:39 01666e4c0597: Download complete 06:59:39 df20fa9351a1: Pull complete 06:59:39 8ad3a11d3b57: Verifying Checksum 06:59:39 8ad3a11d3b57: Download complete 06:59:39 36b3adc4ff6f: Pull complete 06:59:40 8ad3a11d3b57: Pull complete 06:59:40 46f8f816bc3b: Pull complete 06:59:41 aa168da1d23b: Verifying Checksum 06:59:41 aa168da1d23b: Download complete 06:59:41 93b61091891f: Pull complete 06:59:42 93b9cdb0e59b: Pull complete 06:59:42 5e14af77c1be: Pull complete 06:59:42 01666e4c0597: Pull complete 06:59:48 aa168da1d23b: Pull complete 06:59:48 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:59:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:59:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:59:49 prd-centos7-docker-4c-2g-15345 does not seem to be running inside a container 06:59:49 $ 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-661/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-661 -v /w/workspace/dgexfoundry_device-sdk-go_PR-661:/w/workspace/dgexfoundry_device-sdk-go_PR-661:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:59:53 $ docker top bb456bfdb906dd33a7583e3c8eefedd0ab4782af825adf885fec99f86149d116 -eo pid,comm [Pipeline] { [Pipeline] sh 06:59:54 + touch /tmp/pre-build-complete [Pipeline] sh 06:59:54 + mkdir -p /var/log/sa [Pipeline] sh 06:59:54 + ls /var/log/sa-host 06:59:54 + sadf -c /var/log/sa-host/sa10 06:59:54 file_magic: OK 06:59:54 HZ: Using current value: 100 06:59:54 file_header: OK 06:59:54 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 06:59:54 Statistics: 06:59:54 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:59:54 File successfully converted to sysstat format version 12.2.1 06:59:54 + sadf -c /var/log/sa-host/sa23 06:59:54 file_magic: OK 06:59:54 HZ: Using current value: 100 06:59:54 file_header: OK 06:59:54 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 06:59:54 Statistics: 06:59:54 Hnuu...uuuununununu... 06:59:54 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:59:55 provisioning config files... 06:59:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/config4587470857578989459tmp [Pipeline] { [Pipeline] echo 06:59:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:59:56 ---> create-netrc.sh [Pipeline] } 06:59:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:59:56 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:59:56 ---> python-tools-install.sh [Pipeline] echo 06:59:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:59:56 ---> sudo-logs.sh 06:59:56 Archiving 'sudo' log.. [Pipeline] echo 06:59:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:59:57 ---> job-cost.sh 06:59:57 lf-activate-venv: SKIPPING 06:59:57 INFO: No Stack... 06:59:58 INFO: Retrieving Pricing Info for: v1-standard-2 06:59:58 INFO: Archiving Costs [Pipeline] echo 06:59:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:59:59 ---> logs-deploy.sh 06:59:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-661/7 06:59:59 INFO: archiving workspace using pattern(s): 07:00:00 Archives upload complete. 07:00:00 INFO: archiving logs to Nexus 07:00:02 ---> uname -a: 07:00:02 Linux prd-centos7-docker-4c-2g-15345.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 07:00:02 07:00:02 07:00:02 ---> lscpu: 07:00:02 Architecture: x86_64 07:00:02 CPU op-mode(s): 32-bit, 64-bit 07:00:02 Byte Order: Little Endian 07:00:02 Address sizes: 40 bits physical, 48 bits virtual 07:00:02 CPU(s): 4 07:00:02 On-line CPU(s) list: 0-3 07:00:02 Thread(s) per core: 1 07:00:02 Core(s) per socket: 1 07:00:02 Socket(s): 4 07:00:02 NUMA node(s): 1 07:00:02 Vendor ID: GenuineIntel 07:00:02 CPU family: 6 07:00:02 Model: 44 07:00:02 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 07:00:02 Stepping: 1 07:00:02 CPU MHz: 2933.442 07:00:02 BogoMIPS: 5866.88 07:00:02 Virtualization: VT-x 07:00:02 Hypervisor vendor: KVM 07:00:02 Virtualization type: full 07:00:02 L1d cache: 128 KiB 07:00:02 L1i cache: 128 KiB 07:00:02 L2 cache: 16 MiB 07:00:02 L3 cache: 64 MiB 07:00:02 NUMA node0 CPU(s): 0-3 07:00:02 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 07:00:02 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 07:00:02 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 07:00:02 Vulnerability Meltdown: Mitigation; PTI 07:00:02 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 07:00:02 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 07:00:02 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 07:00:02 Vulnerability Srbds: Not affected 07:00:02 Vulnerability Tsx async abort: Not affected 07:00:02 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 07:00:02 07:00:02 07:00:02 ---> nproc: 07:00:02 4 07:00:02 07:00:02 07:00:02 ---> df -h: 07:00:02 Filesystem Size Used Available Use% Mounted on 07:00:02 overlay 50.0G 7.3G 42.7G 15% / 07:00:02 tmpfs 64.0M 0 64.0M 0% /dev 07:00:02 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 07:00:02 shm 64.0M 0 64.0M 0% /dev/shm 07:00:02 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 07:00:02 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 07:00:02 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 07:00:02 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 07:00:02 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp 07:00:02 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 07:00:02 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 07:00:02 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 07:00:02 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 07:00:02 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-661 07:00:02 07:00:02 07:00:02 ---> free -m: 07:00:02 total used free shared buff/cache available 07:00:02 Mem: 1837 704 110 0 1021 1027 07:00:02 Swap: 1023 0 1023 07:00:02 07:00:02 07:00:02 ---> ip addr: 07:00:02 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 07:00:02 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 07:00:02 inet 127.0.0.1/8 scope host lo 07:00:02 valid_lft forever preferred_lft forever 07:00:02 inet6 ::1/128 scope host 07:00:02 valid_lft forever preferred_lft forever 07:00:02 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 07:00:02 link/ether fa:16:3e:84:22:74 brd ff:ff:ff:ff:ff:ff 07:00:02 inet 10.30.123.67/23 brd 10.30.123.255 scope global dynamic eth0 07:00:02 valid_lft 85918sec preferred_lft 85918sec 07:00:02 inet6 fe80::f816:3eff:fe84:2274/64 scope link 07:00:02 valid_lft forever preferred_lft forever 07:00:02 3: docker0: mtu 1500 qdisc noqueue state DOWN 07:00:02 link/ether 02:42:75:21:1c:d0 brd ff:ff:ff:ff:ff:ff 07:00:02 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 07:00:02 valid_lft forever preferred_lft forever 07:00:02 inet6 fe80::42:75ff:fe21:1cd0/64 scope link 07:00:02 valid_lft forever preferred_lft forever 07:00:02 07:00:02 07:00:02 ---> sar -b -r -n DEV: 07:00:02 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/10/20 _x86_64_ (4 CPU) 07:00:02 07:00:02 06:51:47 LINUX RESTART (4 CPU) 07:00:02 07:00:02 06:53:03 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 07:00:02 06:54:01 2.81 0.03 2.77 0.00 1.10 100.19 0.00 07:00:02 06:55:01 0.50 0.00 0.50 0.00 0.00 7.56 0.00 07:00:02 06:56:01 0.25 0.00 0.25 0.00 0.00 3.46 0.00 07:00:02 06:57:01 0.23 0.00 0.23 0.00 0.00 2.83 0.00 07:00:02 06:58:01 0.32 0.00 0.32 0.00 0.00 4.61 0.00 07:00:02 06:59:01 0.28 0.00 0.28 0.00 0.00 2.86 0.00 07:00:02 Average: 0.72 0.01 0.71 0.00 0.18 19.81 0.00 07:00:02 07:00:02 06:53:03 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 07:00:02 06:54:01 151268 0 598528 31.81 2620 1129128 1086052 37.07 427416 1104100 16 07:00:02 06:55:01 151344 0 598444 31.81 2620 1129136 1083052 36.96 425632 1106036 20 07:00:02 06:56:01 148940 0 600844 31.93 2620 1129140 1083160 36.97 430324 1103848 16 07:00:02 06:57:01 150180 0 599604 31.87 2620 1129140 1082968 36.96 439412 1093728 12 07:00:02 06:58:01 145992 0 603784 32.09 2620 1129148 1083028 36.96 440908 1096256 8 07:00:02 06:59:01 146584 0 603188 32.06 2620 1129152 1082968 36.96 442772 1094204 12 07:00:02 Average: 149051 0 600732 31.93 2620 1129141 1083538 36.98 434411 1099695 14 07:00:02 07:00:02 06:53:03 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 07:00:02 06:54:01 eth0 0.41 0.12 0.02 0.02 0.00 0.00 0.00 0.00 07:00:02 06:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:00:02 06:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:00:02 06:55:01 eth0 3.88 1.90 3.05 0.12 0.00 0.00 0.00 0.00 07:00:02 06:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:00:02 06:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:00:02 06:56:01 eth0 1.38 0.82 0.68 0.41 0.00 0.00 0.00 0.00 07:00:02 06:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:00:02 06:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:00:02 06:57:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 07:00:02 06:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:00:02 06:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:00:02 06:58:01 eth0 0.27 0.20 0.14 0.07 0.00 0.00 0.00 0.00 07:00:02 06:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:00:02 06:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:00:02 06:59:01 eth0 0.07 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:00:02 06:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:00:02 06:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:00:02 Average: eth0 1.02 0.54 0.65 0.11 0.00 0.00 0.00 0.00 07:00:02 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:00:02 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:00:02 07:00:02 07:00:02 ---> sar -P ALL: 07:00:02 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/10/20 _x86_64_ (4 CPU) 07:00:02 07:00:02 06:51:47 LINUX RESTART (4 CPU) 07:00:02 07:00:02 06:53:03 CPU %user %nice %system %iowait %steal %idle 07:00:02 06:54:01 all 0.18 0.00 0.06 0.00 0.00 99.76 07:00:02 06:54:01 0 0.09 0.00 0.03 0.00 0.00 99.88 07:00:02 06:54:01 1 0.53 0.00 0.07 0.00 0.00 99.40 07:00:02 06:54:01 2 0.05 0.00 0.03 0.00 0.00 99.91 07:00:02 06:54:01 3 0.03 0.00 0.10 0.00 0.00 99.86 07:00:02 06:55:01 all 0.18 0.00 0.11 0.00 0.00 99.70 07:00:02 06:55:01 0 0.07 0.00 0.05 0.00 0.00 99.88 07:00:02 06:55:01 1 0.50 0.00 0.05 0.00 0.00 99.45 07:00:02 06:55:01 2 0.13 0.00 0.28 0.00 0.00 99.58 07:00:02 06:55:01 3 0.03 0.00 0.07 0.00 0.00 99.90 07:00:02 06:56:01 all 0.08 0.00 0.04 0.00 0.00 99.88 07:00:02 06:56:01 0 0.05 0.00 0.05 0.00 0.00 99.90 07:00:02 06:56:01 1 0.12 0.00 0.03 0.00 0.02 99.83 07:00:02 06:56:01 2 0.12 0.00 0.05 0.00 0.00 99.83 07:00:02 06:56:01 3 0.02 0.00 0.03 0.00 0.00 99.95 07:00:02 06:57:01 all 0.16 0.00 0.04 0.00 0.00 99.80 07:00:02 06:57:01 0 0.02 0.00 0.03 0.00 0.02 99.93 07:00:02 06:57:01 1 0.52 0.00 0.00 0.00 0.00 99.48 07:00:02 06:57:01 2 0.08 0.00 0.07 0.00 0.00 99.85 07:00:02 06:57:01 3 0.02 0.00 0.07 0.00 0.00 99.92 07:00:02 06:58:01 all 0.17 0.00 0.05 0.00 0.01 99.77 07:00:02 06:58:01 0 0.05 0.00 0.03 0.00 0.00 99.92 07:00:02 06:58:01 1 0.52 0.00 0.07 0.00 0.00 99.42 07:00:02 06:58:01 2 0.05 0.00 0.02 0.00 0.02 99.92 07:00:02 06:58:01 3 0.07 0.00 0.08 0.00 0.02 99.83 07:00:02 06:59:01 all 0.15 0.00 0.04 0.00 0.00 99.81 07:00:02 06:59:01 0 0.03 0.00 0.07 0.00 0.00 99.90 07:00:02 06:59:01 1 0.53 0.00 0.02 0.00 0.00 99.45 07:00:02 06:59:01 2 0.03 0.00 0.03 0.00 0.00 99.93 07:00:02 06:59:01 3 0.02 0.00 0.03 0.00 0.00 99.95 07:00:02 Average: all 0.15 0.00 0.06 0.00 0.00 99.79 07:00:02 Average: 0 0.05 0.00 0.04 0.00 0.00 99.90 07:00:02 Average: 1 0.45 0.00 0.04 0.00 0.00 99.51 07:00:02 Average: 2 0.08 0.00 0.08 0.00 0.00 99.84 07:00:02 Average: 3 0.03 0.00 0.06 0.00 0.00 99.90 07:00:02 07:00:02 07:00:02