Pull request #746 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 07b961917e91b3d2569542fb92a1bc995bd117a1+1c2f003b09666c9aca7d142d934c7ec3af9c247b (94e9110480903be301f3ef5089a4453d488459e4) 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-21894 in /w/workspace/dgexfoundry_device-sdk-go_PR-746 [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-746 # 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 Merging remotes/origin/master commit 1c2f003b09666c9aca7d142d934c7ec3af9c247b into PR head commit 07b961917e91b3d2569542fb92a1bc995bd117a1 Merge succeeded, producing 07b961917e91b3d2569542fb92a1bc995bd117a1 Checking out Revision 07b961917e91b3d2569542fb92a1bc995bd117a1 (PR-746) 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/746/head:refs/remotes/origin/PR-746 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 07b961917e91b3d2569542fb92a1bc995bd117a1 # 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 1c2f003b09666c9aca7d142d934c7ec3af9c247b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 07b961917e91b3d2569542fb92a1bc995bd117a1 # timeout=10 Commit message: "refactor: refactor autoevent package for v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:48:36 Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk 85d163331c1d3a26042463e63600e55946f7f2d2 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:48:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:48:36 ========================================================= 08:48:36 EdgeX Global Pipelines Version Info 08:48:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:48:38 ------------------- 08:48:38 stable info: 08:48:38 ------------------- 08:48:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:48:38 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 08:48:38 Message: update stable to v1.0.179 08:48:39 ------------------- 08:48:39 experimental info: 08:48:39 ------------------- 08:48:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:48:39 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 08:48:39 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:48:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 08:48:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 08:48:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:48:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:48:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:48:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 08:48:39 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:48:39 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 08:48:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 08:48:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:48:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:48:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 08:48:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:48:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:48:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:48:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:48:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:48:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:48:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:48:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:48:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:48:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 08:48:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:48:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:48:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:48:42 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 08:48:42 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 08:48:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-746 [Pipeline] echo 08:48:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-746 [Pipeline] echo 08:48:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-746 [Pipeline] echo 08:48:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 07b961917e91b3d2569542fb92a1bc995bd117a1 [Pipeline] echo 08:48:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 07b9619 [Pipeline] echo 08:48:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:48:42 provisioning config files... 08:48:42 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/config938613854913828071tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:48:43 ---> docker-login.sh 08:48:43 nexus3.edgexfoundry.org:10001 08:48:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:48:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:48:43 Configure a credential helper to remove this warning. See 08:48:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:48:43 08:48:43 Login Succeeded 08:48:43 nexus3.edgexfoundry.org:10002 08:48:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:48:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:48:43 Configure a credential helper to remove this warning. See 08:48:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:48:43 08:48:43 Login Succeeded 08:48:43 nexus3.edgexfoundry.org:10003 08:48:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:48:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:48:44 Configure a credential helper to remove this warning. See 08:48:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:48:44 08:48:44 Login Succeeded 08:48:44 nexus3.edgexfoundry.org:10004 08:48:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:48:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:48:44 Configure a credential helper to remove this warning. See 08:48:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:48:44 08:48:44 Login Succeeded 08:48:44 docker.io 08:48:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:48:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:48:44 Configure a credential helper to remove this warning. See 08:48:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:48:44 08:48:44 Login Succeeded 08:48:44 ---> docker-login.sh ends [Pipeline] } 08:48:44 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 08:48:45 + git log --format=format:%s -1 07b961917e91b3d2569542fb92a1bc995bd117a1 [Pipeline] echo 08:48:45 GIT_COMMIT: 07b961917e91b3d2569542fb92a1bc995bd117a1, Commit Message: refactor: refactor autoevent package for v2 [Pipeline] echo 08:48:45 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:48:46 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:48:46 08:48:46 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:48:46 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:48:46 latest: Pulling from edgex-devops/git-semver 08:48:46 31603596830f: Pulling fs layer 08:48:46 2a8b12db71e7: Pulling fs layer 08:48:46 6ca5941a6612: Pulling fs layer 08:48:46 ecc8261a40a4: Pulling fs layer 08:48:46 ecc8261a40a4: Waiting 08:48:46 2a8b12db71e7: Download complete 08:48:46 31603596830f: Verifying Checksum 08:48:46 31603596830f: Download complete 08:48:46 ecc8261a40a4: Verifying Checksum 08:48:46 ecc8261a40a4: Download complete 08:48:46 6ca5941a6612: Verifying Checksum 08:48:46 6ca5941a6612: Download complete 08:48:47 31603596830f: Pull complete 08:48:47 2a8b12db71e7: Pull complete 08:48:48 6ca5941a6612: Pull complete 08:48:48 ecc8261a40a4: Pull complete 08:48:48 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:48:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:48:48 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:48:48 prd-centos7-docker-4c-2g-21894 does not seem to be running inside a container 08:48:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-746 -v /w/workspace/dgexfoundry_device-sdk-go_PR-746:/w/workspace/dgexfoundry_device-sdk-go_PR-746:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:48:50 $ docker top 0ddad1e4c1d39f8b0d3d352e1308cc6816081fcb5262d64733b39ed94c22d0e4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:48:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:48:51 [ssh-agent] Looking for ssh-agent implementation... 08:48:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:48:51 $ docker exec 0ddad1e4c1d39f8b0d3d352e1308cc6816081fcb5262d64733b39ed94c22d0e4 ssh-agent 08:48:51 SSH_AUTH_SOCK=/tmp/ssh-IYvejvAjG5zf/agent.12 08:48:51 SSH_AGENT_PID=17 08:48:51 Running ssh-add (command line suppressed) 08:48:51 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_1360761809095973624.key (/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_1360761809095973624.key) 08:48:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:48:52 + git tag --points-at HEAD [Pipeline] } 08:48:52 $ docker exec --env ******** --env ******** 0ddad1e4c1d39f8b0d3d352e1308cc6816081fcb5262d64733b39ed94c22d0e4 ssh-agent -k 08:48:52 unset SSH_AUTH_SOCK; 08:48:52 unset SSH_AGENT_PID; 08:48:52 echo Agent pid 17 killed; 08:48:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:48:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:48:52 [ssh-agent] Looking for ssh-agent implementation... 08:48:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:48:52 $ docker exec 0ddad1e4c1d39f8b0d3d352e1308cc6816081fcb5262d64733b39ed94c22d0e4 ssh-agent 08:48:52 SSH_AUTH_SOCK=/tmp/ssh-ETkE6ibmp9Jd/agent.45 08:48:52 SSH_AGENT_PID=50 08:48:52 Running ssh-add (command line suppressed) 08:48:53 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_782589336797409199.key (/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_782589336797409199.key) 08:48:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:48:53 + git semver init 08:48:53 # -> Open(): unable to determine branch for HEAD 08:48:53 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-746/.git 08:48:53 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-746 08:48:53 # $SEMVER_REMOTE_NAME = origin 08:48:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:48:53 # $SEMVER_USER_NAME = edgex-jenkins 08:48:53 # $SEMVER_BRANCH = PR-746 08:48:53 # $SEMVER_TEMP = /tmp/semver-021249350 08:48:53 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 08:48:53 # '/tmp/semver-021249350' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-746/.semver' 08:48:53 # -> Force: false 08:48:53 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-746/.semver [Pipeline] } 08:48:54 $ docker exec --env ******** --env ******** 0ddad1e4c1d39f8b0d3d352e1308cc6816081fcb5262d64733b39ed94c22d0e4 ssh-agent -k 08:48:54 unset SSH_AUTH_SOCK; 08:48:54 unset SSH_AGENT_PID; 08:48:54 echo Agent pid 50 killed; 08:48:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:48:54 + git semver [Pipeline] } 08:48:54 $ docker stop --time=1 0ddad1e4c1d39f8b0d3d352e1308cc6816081fcb5262d64733b39ed94c22d0e4 08:48:56 $ docker rm -f 0ddad1e4c1d39f8b0d3d352e1308cc6816081fcb5262d64733b39ed94c22d0e4 [Pipeline] // withDockerContainer [Pipeline] sh 08:48:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:48:56 Stashed 1 file(s) [Pipeline] echo 08:48: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 08:49:12 Still waiting to schedule task 08:49:12 Waiting for next available executor on ‘centos7-docker-4c-2g’ 08:49:12 Still waiting to schedule task 08:49:12 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 08:50:57 Running on prd-ubuntu18.04-docker-arm64-4c-16g-21895 in /w/workspace/dgexfoundry_device-sdk-go_PR-746 [Pipeline] { [Pipeline] ws 08:50:58 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 08:51:03 using credential edgex-jenkins-ssh 08:51:03 Cloning the remote Git repository 08:51:03 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:51:03 > git init /w/workspace/device-sdk-go/3 # timeout=10 08:51:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:51:03 > git --version # timeout=10 08:51:03 > git --version # 'git version 2.17.1' 08:51:03 using GIT_SSH to set credentials SSH Credentials for GitHub 08:51:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:51:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:51:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:51:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:51:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:51:05 using GIT_SSH to set credentials SSH Credentials for GitHub 08:51:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/746/head:refs/remotes/origin/PR-746 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:51:05 Merging remotes/origin/master commit 1c2f003b09666c9aca7d142d934c7ec3af9c247b into PR head commit 07b961917e91b3d2569542fb92a1bc995bd117a1 08:51:06 Merge succeeded, producing 07b961917e91b3d2569542fb92a1bc995bd117a1 08:51:06 Checking out Revision 07b961917e91b3d2569542fb92a1bc995bd117a1 (PR-746) 08:51:05 > git config core.sparsecheckout # timeout=10 08:51:05 > git checkout -f 07b961917e91b3d2569542fb92a1bc995bd117a1 # timeout=10 08:51:06 > git remote # timeout=10 08:51:06 > git config --get remote.origin.url # timeout=10 08:51:06 using GIT_SSH to set credentials SSH Credentials for GitHub 08:51:06 > git merge 1c2f003b09666c9aca7d142d934c7ec3af9c247b # timeout=10 08:51:06 > git rev-parse HEAD^{commit} # timeout=10 08:51:06 > git config core.sparsecheckout # timeout=10 08:51:06 > git checkout -f 07b961917e91b3d2569542fb92a1bc995bd117a1 # timeout=10 08:51:10 Commit message: "refactor: refactor autoevent package for v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:51:12 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 08:51:12 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:51:13 + true 08:51:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:51:15 provisioning config files... 08:51:15 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config1569095864618460061tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:51:16 ---> docker-login.sh 08:51:16 nexus3.edgexfoundry.org:10001 08:51:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:17 Configure a credential helper to remove this warning. See 08:51:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:17 08:51:17 Login Succeeded 08:51:17 nexus3.edgexfoundry.org:10002 08:51:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:17 Configure a credential helper to remove this warning. See 08:51:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:17 08:51:17 Login Succeeded 08:51:17 nexus3.edgexfoundry.org:10003 08:51:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:18 Configure a credential helper to remove this warning. See 08:51:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:18 08:51:18 Login Succeeded 08:51:18 nexus3.edgexfoundry.org:10004 08:51:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:18 Configure a credential helper to remove this warning. See 08:51:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:18 08:51:18 Login Succeeded 08:51:18 docker.io 08:51:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:19 Configure a credential helper to remove this warning. See 08:51:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:19 08:51:19 Login Succeeded 08:51:19 ---> docker-login.sh ends [Pipeline] } 08:51:19 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:51:20 ========================================================= 08:51:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 08:51:20 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:51:20 + 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 . 08:51:21 Sending build context to Docker daemon 2.384MB 08:51:21 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 08:51:21 Step 2/8 : FROM ${BASE} 08:51:21 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:51:21 5f621e34cdf4: Pulling fs layer 08:51:21 a4357932f1b6: Pulling fs layer 08:51:21 18c013af1878: Pulling fs layer 08:51:21 00ac8860ef70: Pulling fs layer 08:51:21 63d7cb157983: Pulling fs layer 08:51:21 b116817d02f9: Pulling fs layer 08:51:21 745a02a5169b: Pulling fs layer 08:51:21 63d7cb157983: Waiting 08:51:21 b116817d02f9: Waiting 08:51:21 745a02a5169b: Waiting 08:51:21 00ac8860ef70: Waiting 08:51:21 18c013af1878: Verifying Checksum 08:51:21 18c013af1878: Download complete 08:51:21 a4357932f1b6: Verifying Checksum 08:51:21 a4357932f1b6: Download complete 08:51:21 63d7cb157983: Verifying Checksum 08:51:21 63d7cb157983: Download complete 08:51:21 b116817d02f9: Verifying Checksum 08:51:21 b116817d02f9: Download complete 08:51:21 5f621e34cdf4: Verifying Checksum 08:51:21 5f621e34cdf4: Download complete 08:51:22 5f621e34cdf4: Pull complete 08:51:23 a4357932f1b6: Pull complete 08:51:23 18c013af1878: Pull complete 08:51:24 745a02a5169b: Verifying Checksum 08:51:24 745a02a5169b: Download complete 08:51:25 00ac8860ef70: Verifying Checksum 08:51:25 00ac8860ef70: Download complete 08:51:34 Running on prd-centos7-docker-4c-2g-21896 in /w/workspace/dgexfoundry_device-sdk-go_PR-746 [Pipeline] { [Pipeline] ws 08:51:34 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 08:51:35 00ac8860ef70: Pull complete 08:51:35 63d7cb157983: Pull complete 08:51:35 b116817d02f9: Pull complete 08:51:37 using credential edgex-jenkins-ssh 08:51:37 Cloning the remote Git repository 08:51:37 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:51:37 > git init /w/workspace/device-sdk-go/3 # timeout=10 08:51:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:51:37 > git --version # timeout=10 08:51:37 > git --version # 'git version 2.24.3' 08:51:37 using GIT_SSH to set credentials SSH Credentials for GitHub 08:51:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:51:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:51:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:51:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:51:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:51:38 using GIT_SSH to set credentials SSH Credentials for GitHub 08:51:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/746/head:refs/remotes/origin/PR-746 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:51:38 Merging remotes/origin/master commit 1c2f003b09666c9aca7d142d934c7ec3af9c247b into PR head commit 07b961917e91b3d2569542fb92a1bc995bd117a1 08:51:38 Merge succeeded, producing 07b961917e91b3d2569542fb92a1bc995bd117a1 08:51:38 Checking out Revision 07b961917e91b3d2569542fb92a1bc995bd117a1 (PR-746) 08:51:38 > git config core.sparsecheckout # timeout=10 08:51:38 > git checkout -f 07b961917e91b3d2569542fb92a1bc995bd117a1 # timeout=10 08:51:38 > git remote # timeout=10 08:51:38 > git config --get remote.origin.url # timeout=10 08:51:38 using GIT_SSH to set credentials SSH Credentials for GitHub 08:51:38 > git merge 1c2f003b09666c9aca7d142d934c7ec3af9c247b # timeout=10 08:51:38 > git rev-parse HEAD^{commit} # timeout=10 08:51:38 > git config core.sparsecheckout # timeout=10 08:51:38 > git checkout -f 07b961917e91b3d2569542fb92a1bc995bd117a1 # timeout=10 08:51:40 745a02a5169b: Pull complete 08:51:40 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 08:51:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 08:51:40 ---> b7e6874047d6 08:51:40 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:51:42 Commit message: "refactor: refactor autoevent package for v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 08:51:42 ---> Running in 6b8ac31c22fc 08:51:42 Removing intermediate container 6b8ac31c22fc 08:51:42 ---> 968a8d7b19b4 08:51:42 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:51:42 ---> Running in 0e29d0b33065 [Pipeline] script [Pipeline] { [Pipeline] sh 08:51:43 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 08:51:43 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:51:44 + sudo service docker restart 08:51:44 + true 08:51:44 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:51:45 provisioning config files... 08:51:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config4366195907557450374tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:51:45 Removing intermediate container 0e29d0b33065 08:51:45 ---> 43ca6c9e80b6 08:51:45 Step 5/8 : RUN apk add --update --no-cache make git 08:51:45 ---> Running in 713718141ac3 08:51:45 ---> docker-login.sh 08:51:45 nexus3.edgexfoundry.org:10001 08:51:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:45 Configure a credential helper to remove this warning. See 08:51:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:45 08:51:45 Login Succeeded 08:51:45 nexus3.edgexfoundry.org:10002 08:51:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:46 Configure a credential helper to remove this warning. See 08:51:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:46 08:51:46 Login Succeeded 08:51:46 nexus3.edgexfoundry.org:10003 08:51:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:46 Configure a credential helper to remove this warning. See 08:51:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:46 08:51:46 Login Succeeded 08:51:46 nexus3.edgexfoundry.org:10004 08:51:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:46 Configure a credential helper to remove this warning. See 08:51:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:46 08:51:46 Login Succeeded 08:51:46 docker.io 08:51:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:51:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:46 Configure a credential helper to remove this warning. See 08:51:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:46 08:51:46 Login Succeeded 08:51:46 ---> docker-login.sh ends [Pipeline] } 08:51:46 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 08:51:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] echo 08:51:47 ========================================================= 08:51:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 08:51:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:51:47 + 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 . 08:51:47 Sending build context to Docker daemon 2.385MB 08:51:47 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 08:51:47 Step 2/8 : FROM ${BASE} 08:51:47 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 08:51:47 188c0c94c7c5: Pulling fs layer 08:51:47 0ef7d3d256c8: Pulling fs layer 08:51:47 de9db76c5a1d: Pulling fs layer 08:51:47 bca2f99d35d6: Pulling fs layer 08:51:47 93359f2a8cfa: Pulling fs layer 08:51:47 7c6f9722023f: Pulling fs layer 08:51:47 a35cf1a2eb13: Pulling fs layer 08:51:47 93359f2a8cfa: Waiting 08:51:47 7c6f9722023f: Waiting 08:51:47 a35cf1a2eb13: Waiting 08:51:47 bca2f99d35d6: Waiting 08:51:48 OK: 142 MiB in 39 packages 08:51:48 de9db76c5a1d: Verifying Checksum 08:51:48 de9db76c5a1d: Download complete 08:51:48 0ef7d3d256c8: Verifying Checksum 08:51:48 0ef7d3d256c8: Download complete 08:51:48 93359f2a8cfa: Verifying Checksum 08:51:48 93359f2a8cfa: Download complete 08:51:48 7c6f9722023f: Verifying Checksum 08:51:48 7c6f9722023f: Download complete 08:51:48 188c0c94c7c5: Verifying Checksum 08:51:48 188c0c94c7c5: Download complete 08:51:48 188c0c94c7c5: Pull complete 08:51:49 Removing intermediate container 713718141ac3 08:51:49 ---> 3970de73c056 08:51:49 Step 6/8 : WORKDIR /device-sdk-go 08:51:49 ---> Running in 4771f5d31056 08:51:49 0ef7d3d256c8: Pull complete 08:51:49 de9db76c5a1d: Pull complete 08:51:49 Removing intermediate container 4771f5d31056 08:51:49 ---> e0e18531c630 08:51:49 Step 7/8 : COPY . . 08:51:49 a35cf1a2eb13: Verifying Checksum 08:51:49 a35cf1a2eb13: Download complete 08:51:50 bca2f99d35d6: Verifying Checksum 08:51:50 bca2f99d35d6: Download complete 08:51:51 ---> 49e72dc85c19 08:51:51 Step 8/8 : RUN go mod download 08:51:51 ---> Running in 7adf7eefd04c 08:51:56 bca2f99d35d6: Pull complete 08:51:56 93359f2a8cfa: Pull complete 08:51:56 7c6f9722023f: Pull complete 08:52:02 a35cf1a2eb13: Pull complete 08:52:02 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 08:52:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 08:52:02 ---> a62c8e92a672 08:52:02 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:52:03 ---> Running in 3f4afa691e31 08:52:03 Removing intermediate container 3f4afa691e31 08:52:03 ---> 36914e5ccee7 08:52:03 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:52:03 ---> Running in d42491523ff6 08:52:04 Removing intermediate container d42491523ff6 08:52:04 ---> a6bc473d562f 08:52:04 Step 5/8 : RUN apk add --update --no-cache make git 08:52:04 ---> Running in 8844010fb4ab 08:52:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:52:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:52:06 OK: 166 MiB in 39 packages 08:52:06 Removing intermediate container 8844010fb4ab 08:52:06 ---> b0a64f4c0f9d 08:52:06 Step 6/8 : WORKDIR /device-sdk-go 08:52:06 ---> Running in 7e0b5a1f891e 08:52:06 Removing intermediate container 7e0b5a1f891e 08:52:06 ---> bd79c8b1ead6 08:52:06 Step 7/8 : COPY . . 08:52:08 ---> c71074865162 08:52:08 Step 8/8 : RUN go mod download 08:52:08 ---> Running in 575d59347763 08:52:13 Removing intermediate container 7adf7eefd04c 08:52:13 ---> e58466460b51 08:52:13 Successfully built e58466460b51 08:52:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:52:13 + docker inspect -f . ci-base-image-arm64 08:52:13 . [Pipeline] withDockerContainer 08:52:13 prd-ubuntu18.04-docker-arm64-4c-16g-21895 does not seem to be running inside a container 08:52:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:52:15 $ docker top 191e0a570ad6ae9ac5980d71ddf2c08b5a80b5a4bd258f778fdfdb7530578e33 -eo pid,comm [Pipeline] { [Pipeline] sh 08:52:16 + go version 08:52:16 go version go1.15.5 linux/arm64 [Pipeline] } 08:52:16 $ docker stop --time=1 191e0a570ad6ae9ac5980d71ddf2c08b5a80b5a4bd258f778fdfdb7530578e33 08:52:18 $ docker rm -f 191e0a570ad6ae9ac5980d71ddf2c08b5a80b5a4bd258f778fdfdb7530578e33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:52:19 + docker inspect -f . ci-base-image-arm64 08:52:19 . [Pipeline] withDockerContainer 08:52:19 prd-ubuntu18.04-docker-arm64-4c-16g-21895 does not seem to be running inside a container 08:52:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:52:21 $ docker top daefced62d463c394bf532b93aad60acc769859b2076313cbf47d38010bb3b96 -eo pid,comm [Pipeline] { [Pipeline] sh 08:52:22 + make test 08:52:22 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:52:26 Removing intermediate container 575d59347763 08:52:26 ---> 06a24cffe070 08:52:26 Successfully built 06a24cffe070 08:52:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:52:26 + docker inspect -f . ci-base-image-x86_64 08:52:26 . [Pipeline] withDockerContainer 08:52:27 prd-centos7-docker-4c-2g-21896 does not seem to be running inside a container 08:52:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:52:27 $ docker top 4d1c95993e0c0bab7b28443d52cd6f95c2d4e223f92df6e5a4f01a169c377265 -eo pid,comm [Pipeline] { [Pipeline] sh 08:52:28 + go version 08:52:28 go version go1.15.5 linux/amd64 [Pipeline] } 08:52:28 $ docker stop --time=1 4d1c95993e0c0bab7b28443d52cd6f95c2d4e223f92df6e5a4f01a169c377265 08:52:29 $ docker rm -f 4d1c95993e0c0bab7b28443d52cd6f95c2d4e223f92df6e5a4f01a169c377265 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:52:30 + docker inspect -f . ci-base-image-x86_64 08:52:30 . [Pipeline] withDockerContainer 08:52:30 prd-centos7-docker-4c-2g-21896 does not seem to be running inside a container 08:52:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:52:31 $ docker top 34c052d73a5921aac7b6eeea2049f2c22e63a047bb4a972d312411066f1e8222 -eo pid,comm [Pipeline] { [Pipeline] sh 08:52:31 + make test 08:52:31 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:52:40 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 08:52:44 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 08:52:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 08:52:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 08:52:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 08:52:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 15.2% of statements 08:52:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.458s coverage: 97.1% of statements 08:53:23 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 08:53:23 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 08:53:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 08:53:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.113s coverage: 15.2% of statements 08:53:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.258s coverage: 97.1% of statements 08:53:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.078s coverage: 9.4% of statements 08:53:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.055s coverage: 22.9% of statements 08:53:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 08:53:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.063s coverage: 84.8% of statements 08:53:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 08:53:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 08:53:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 08:53:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 08:53:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.068s coverage: 53.8% of statements 08:53:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 08:53:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 08:53:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.067s coverage: 26.8% of statements 08:53:27 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.362s coverage: 83.5% of statements 08:53:27 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 4.2% of statements 08:53:27 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 08:53:27 GO111MODULE=on go vet ./... 08:53:36 gofmt -l . 08:53:36 internal/container/deviceservice.go 08:53:36 [ "`gofmt -l .`" = "" ] 08:53:36 make: *** [Makefile:35: test] Error 1 [Pipeline] } 08:53:36 $ docker stop --time=1 34c052d73a5921aac7b6eeea2049f2c22e63a047bb4a972d312411066f1e8222 08:53:38 $ docker rm -f 34c052d73a5921aac7b6eeea2049f2c22e63a047bb4a972d312411066f1e8222 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:53:40 Failed in branch amd64 08:53:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.198s coverage: 9.4% of statements 08:53:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.135s coverage: 22.9% of statements 08:53:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 08:53:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.177s coverage: 84.8% of statements 08:53:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 08:53:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 08:53:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 08:53:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 08:53:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.270s coverage: 53.8% of statements 08:53:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 08:53:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 08:53:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.162s coverage: 26.8% of statements 08:53:58 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.949s coverage: 83.5% of statements 08:53:58 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.139s coverage: 4.2% of statements 08:53:58 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 08:53:58 GO111MODULE=on go vet ./... 08:54:25 gofmt -l . 08:54:25 internal/container/deviceservice.go 08:54:25 [ "`gofmt -l .`" = "" ] 08:54:26 make: *** [Makefile:35: test] Error 1 [Pipeline] } 08:54:26 $ docker stop --time=1 daefced62d463c394bf532b93aad60acc769859b2076313cbf47d38010bb3b96 08:54:28 $ docker rm -f daefced62d463c394bf532b93aad60acc769859b2076313cbf47d38010bb3b96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:54:30 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 08:54:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:54:34 ---> package-listing.sh 08:54:34 ++ facter osfamily 08:54:34 ++ tr '[:upper:]' '[:lower:]' 08:54:34 + OS_FAMILY=redhat 08:54:34 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-746 08:54:34 + START_PACKAGES=/tmp/packages_start.txt 08:54:34 + END_PACKAGES=/tmp/packages_end.txt 08:54:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:54:34 + PACKAGES=/tmp/packages_start.txt 08:54:34 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-746 ']' 08:54:34 + PACKAGES=/tmp/packages_end.txt 08:54:34 + case "${OS_FAMILY}" in 08:54:34 + rpm -qa 08:54:34 + sort 08:54:39 + '[' -f /tmp/packages_start.txt ']' 08:54:39 + '[' -f /tmp/packages_end.txt ']' 08:54:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:54:39 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-746 ']' 08:54:39 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-746/archives/ 08:54:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-746/archives/ [Pipeline] echo 08:54:39 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-746/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:54:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:54:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:54:40 08:54:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:54:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:54:40 alpine: Pulling from edgex-lftools-log-publisher 08:54:40 df20fa9351a1: Pulling fs layer 08:54:40 36b3adc4ff6f: Pulling fs layer 08:54:40 8ad3a11d3b57: Pulling fs layer 08:54:40 46f8f816bc3b: Pulling fs layer 08:54:40 93b61091891f: Pulling fs layer 08:54:40 93b9cdb0e59b: Pulling fs layer 08:54:40 5e14af77c1be: Pulling fs layer 08:54:40 01666e4c0597: Pulling fs layer 08:54:40 aa168da1d23b: Pulling fs layer 08:54:40 93b9cdb0e59b: Waiting 08:54:40 5e14af77c1be: Waiting 08:54:40 46f8f816bc3b: Waiting 08:54:40 93b61091891f: Waiting 08:54:40 aa168da1d23b: Waiting 08:54:40 36b3adc4ff6f: Verifying Checksum 08:54:40 36b3adc4ff6f: Download complete 08:54:40 46f8f816bc3b: Verifying Checksum 08:54:40 46f8f816bc3b: Download complete 08:54:40 df20fa9351a1: Download complete 08:54:40 93b9cdb0e59b: Verifying Checksum 08:54:40 93b9cdb0e59b: Download complete 08:54:40 93b61091891f: Verifying Checksum 08:54:40 93b61091891f: Download complete 08:54:40 5e14af77c1be: Download complete 08:54:40 01666e4c0597: Verifying Checksum 08:54:40 01666e4c0597: Download complete 08:54:40 8ad3a11d3b57: Verifying Checksum 08:54:40 8ad3a11d3b57: Download complete 08:54:41 df20fa9351a1: Pull complete 08:54:41 36b3adc4ff6f: Pull complete 08:54:42 8ad3a11d3b57: Pull complete 08:54:42 46f8f816bc3b: Pull complete 08:54:42 93b61091891f: Pull complete 08:54:43 93b9cdb0e59b: Pull complete 08:54:43 aa168da1d23b: Verifying Checksum 08:54:43 aa168da1d23b: Download complete 08:54:43 5e14af77c1be: Pull complete 08:54:43 01666e4c0597: Pull complete 08:54:50 aa168da1d23b: Pull complete 08:54:50 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 08:54:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:54:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:54:50 prd-centos7-docker-4c-2g-21894 does not seem to be running inside a container 08:54:50 $ 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-746/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-746 -v /w/workspace/dgexfoundry_device-sdk-go_PR-746:/w/workspace/dgexfoundry_device-sdk-go_PR-746:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 08:54:54 $ docker top 4b3f3c5e0c9931bfdb079f1d765d03aa55ada0c91256ebd114948bb0fd342411 -eo pid,comm [Pipeline] { [Pipeline] sh 08:54:54 + touch /tmp/pre-build-complete [Pipeline] sh 08:54:55 + mkdir -p /var/log/sa [Pipeline] sh 08:54:55 + ls /var/log/sa-host 08:54:55 + sadf -c /var/log/sa-host/sa21 08:54:55 file_magic: OK 08:54:55 HZ: Using current value: 100 08:54:55 file_header: OK 08:54:55 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 08:54:55 Statistics: 08:54:55 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:54:55 File successfully converted to sysstat format version 12.2.1 08:54:55 + sadf -c /var/log/sa-host/sa23 08:54:55 file_magic: OK 08:54:55 HZ: Using current value: 100 08:54:55 file_header: OK 08:54:55 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 08:54:55 Statistics: 08:54:55 Hnuu...uuuununununu... 08:54:55 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:54:55 provisioning config files... 08:54:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/config5548891220134065855tmp [Pipeline] { [Pipeline] echo 08:54:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:54:55 ---> create-netrc.sh [Pipeline] } 08:54:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 08:54:56 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 08:54:56 ---> python-tools-install.sh [Pipeline] echo 08:54:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:54:56 ---> sudo-logs.sh 08:54:56 Archiving 'sudo' log.. [Pipeline] echo 08:54:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:54:57 ---> job-cost.sh 08:54:57 lf-activate-venv: SKIPPING 08:54:57 INFO: No Stack... 08:54:58 INFO: Retrieving Pricing Info for: v1-standard-2 08:54:58 INFO: Archiving Costs [Pipeline] echo 08:54:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:54:59 ---> logs-deploy.sh 08:54:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-746/3 08:54:59 INFO: archiving workspace using pattern(s): 08:55:01 Archives upload complete. 08:55:01 INFO: archiving logs to Nexus 08:55:02 ---> uname -a: 08:55:02 Linux prd-centos7-docker-4c-2g-21894.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 08:55:02 08:55:02 08:55:02 ---> lscpu: 08:55:02 Architecture: x86_64 08:55:02 CPU op-mode(s): 32-bit, 64-bit 08:55:02 Byte Order: Little Endian 08:55:02 Address sizes: 40 bits physical, 48 bits virtual 08:55:02 CPU(s): 4 08:55:02 On-line CPU(s) list: 0-3 08:55:02 Thread(s) per core: 1 08:55:02 Core(s) per socket: 1 08:55:02 Socket(s): 4 08:55:02 NUMA node(s): 1 08:55:02 Vendor ID: GenuineIntel 08:55:02 CPU family: 6 08:55:02 Model: 44 08:55:02 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 08:55:02 Stepping: 1 08:55:02 CPU MHz: 2933.438 08:55:02 BogoMIPS: 5866.87 08:55:02 Virtualization: VT-x 08:55:02 Hypervisor vendor: KVM 08:55:02 Virtualization type: full 08:55:02 L1d cache: 128 KiB 08:55:02 L1i cache: 128 KiB 08:55:02 L2 cache: 16 MiB 08:55:02 L3 cache: 64 MiB 08:55:02 NUMA node0 CPU(s): 0-3 08:55:02 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 08:55:02 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 08:55:02 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 08:55:02 Vulnerability Meltdown: Mitigation; PTI 08:55:02 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 08:55:02 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 08:55:02 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 08:55:02 Vulnerability Srbds: Not affected 08:55:02 Vulnerability Tsx async abort: Not affected 08:55: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 08:55:02 08:55:02 08:55:02 ---> nproc: 08:55:02 4 08:55:02 08:55:02 08:55:02 ---> df -h: 08:55:02 Filesystem Size Used Available Use% Mounted on 08:55:02 overlay 50.0G 7.3G 42.7G 15% / 08:55:02 tmpfs 64.0M 0 64.0M 0% /dev 08:55:02 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 08:55:02 shm 64.0M 0 64.0M 0% /dev/shm 08:55:02 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 08:55:02 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 08:55:02 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 08:55:02 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 08:55:02 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 08:55:02 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 08:55:02 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 08:55:02 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 08:55:02 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-746 08:55:02 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp 08:55:02 08:55:02 08:55:02 ---> free -m: 08:55:02 total used free shared buff/cache available 08:55:02 Mem: 1837 688 110 0 1038 1044 08:55:02 Swap: 1023 1 1022 08:55:02 08:55:02 08:55:02 ---> ip addr: 08:55:02 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 08:55:02 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 08:55:02 inet 127.0.0.1/8 scope host lo 08:55:02 valid_lft forever preferred_lft forever 08:55:02 inet6 ::1/128 scope host 08:55:02 valid_lft forever preferred_lft forever 08:55:02 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 08:55:02 link/ether fa:16:3e:c4:8a:5f brd ff:ff:ff:ff:ff:ff 08:55:02 inet 10.30.122.33/23 brd 10.30.123.255 scope global dynamic eth0 08:55:02 valid_lft 85979sec preferred_lft 85979sec 08:55:02 inet6 fe80::f816:3eff:fec4:8a5f/64 scope link 08:55:02 valid_lft forever preferred_lft forever 08:55:02 3: docker0: mtu 1500 qdisc noqueue state DOWN 08:55:02 link/ether 02:42:6e:61:f8:d1 brd ff:ff:ff:ff:ff:ff 08:55:02 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 08:55:02 valid_lft forever preferred_lft forever 08:55:02 inet6 fe80::42:6eff:fe61:f8d1/64 scope link 08:55:02 valid_lft forever preferred_lft forever 08:55:02 08:55:02 08:55:02 ---> sar -b -r -n DEV: 08:55:02 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/21/21 _x86_64_ (4 CPU) 08:55:02 08:55:02 08:47:50 LINUX RESTART (4 CPU) 08:55:02 08:55:02 08:49:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 08:55:02 08:50:01 3.15 0.05 3.10 0.00 1.60 105.06 0.00 08:55:02 08:51:01 0.40 0.00 0.40 0.00 0.00 6.36 0.00 08:55:02 08:52:01 0.20 0.00 0.20 0.00 0.00 2.07 0.00 08:55:02 08:53:01 0.35 0.00 0.35 0.00 0.00 5.51 0.00 08:55:02 08:54:01 0.30 0.00 0.30 0.00 0.00 3.83 0.00 08:55:02 Average: 0.88 0.01 0.87 0.00 0.32 24.65 0.00 08:55:02 08:55:02 08:49:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 08:55:02 08:50:01 168164 0 585196 31.10 2620 1125564 1073872 36.65 403408 1111592 20 08:55:02 08:51:01 167800 0 585552 31.12 2620 1125572 1074040 36.66 402988 1113152 16 08:55:02 08:52:01 165452 0 587896 31.25 2620 1125576 1074040 36.66 414740 1103356 8 08:55:02 08:53:01 166004 0 587340 31.22 2620 1125580 1073872 36.65 412772 1104392 8 08:55:02 08:54:01 164676 0 588664 31.29 2620 1125584 1073968 36.65 412800 1105904 8 08:55:02 Average: 166419 0 586930 31.19 2620 1125575 1073958 36.65 409342 1107679 12 08:55:02 08:55:02 08:49:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 08:55:02 08:50:01 eth0 0.55 0.08 0.04 0.01 0.00 0.00 0.00 0.00 08:55:02 08:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:55:02 08:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:55:02 08:51:01 eth0 2.66 1.97 1.79 0.27 0.00 0.00 0.00 0.00 08:55:02 08:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:55:02 08:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:55:02 08:52:01 eth0 0.75 0.41 0.30 0.24 0.00 0.00 0.00 0.00 08:55:02 08:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:55:02 08:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:55:02 08:53:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 08:55:02 08:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:55:02 08:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:55:02 08:54:01 eth0 0.28 0.25 0.14 0.07 0.00 0.00 0.00 0.00 08:55:02 08:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:55:02 08:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:55:02 Average: eth0 0.87 0.56 0.46 0.12 0.00 0.00 0.00 0.00 08:55:02 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:55:02 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:55:02 08:55:02 08:55:02 ---> sar -P ALL: 08:55:02 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/21/21 _x86_64_ (4 CPU) 08:55:02 08:55:02 08:47:50 LINUX RESTART (4 CPU) 08:55:02 08:55:02 08:49:01 CPU %user %nice %system %iowait %steal %idle 08:55:02 08:50:01 all 0.16 0.00 0.05 0.00 0.00 99.79 08:55:02 08:50:01 0 0.47 0.00 0.05 0.00 0.00 99.48 08:55:02 08:50:01 1 0.07 0.00 0.05 0.00 0.00 99.88 08:55:02 08:50:01 2 0.07 0.00 0.05 0.00 0.00 99.88 08:55:02 08:50:01 3 0.05 0.00 0.05 0.00 0.00 99.90 08:55:02 08:51:01 all 0.18 0.00 0.04 0.00 0.00 99.78 08:55:02 08:51:01 0 0.52 0.00 0.03 0.00 0.02 99.43 08:55:02 08:51:01 1 0.05 0.00 0.02 0.00 0.00 99.93 08:55:02 08:51:01 2 0.10 0.00 0.08 0.00 0.00 99.82 08:55:02 08:51:01 3 0.05 0.00 0.02 0.00 0.00 99.93 08:55:02 08:52:01 all 0.12 0.00 0.06 0.00 0.01 99.80 08:55:02 08:52:01 0 0.03 0.00 0.03 0.00 0.02 99.92 08:55:02 08:52:01 1 0.37 0.00 0.12 0.00 0.02 99.49 08:55:02 08:52:01 2 0.03 0.00 0.05 0.00 0.00 99.92 08:55:02 08:52:01 3 0.05 0.00 0.05 0.00 0.02 99.88 08:55:02 08:53:01 all 0.15 0.00 0.05 0.00 0.01 99.78 08:55:02 08:53:01 0 0.05 0.00 0.07 0.00 0.02 99.87 08:55:02 08:53:01 1 0.52 0.00 0.03 0.00 0.00 99.45 08:55:02 08:53:01 2 0.03 0.00 0.07 0.00 0.02 99.88 08:55:02 08:53:01 3 0.02 0.00 0.05 0.00 0.00 99.93 08:55:02 08:54:01 all 0.17 0.00 0.04 0.00 0.00 99.79 08:55:02 08:54:01 0 0.05 0.00 0.03 0.00 0.00 99.92 08:55:02 08:54:01 1 0.53 0.00 0.07 0.00 0.00 99.40 08:55:02 08:54:01 2 0.07 0.00 0.03 0.00 0.00 99.90 08:55:02 08:54:01 3 0.03 0.00 0.03 0.00 0.00 99.93 08:55:02 Average: all 0.16 0.00 0.05 0.00 0.01 99.79 08:55:02 Average: 0 0.22 0.00 0.04 0.00 0.01 99.72 08:55:02 Average: 1 0.31 0.00 0.06 0.00 0.00 99.63 08:55:02 Average: 2 0.06 0.00 0.06 0.00 0.00 99.88 08:55:02 Average: 3 0.04 0.00 0.04 0.00 0.00 99.92 08:55:02 08:55:02 08:55:02